CN109560835B - Power communication multi-channel monitoring method and device, computer equipment and storage medium - Google Patents
Power communication multi-channel monitoring method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109560835B CN109560835B CN201910031412.4A CN201910031412A CN109560835B CN 109560835 B CN109560835 B CN 109560835B CN 201910031412 A CN201910031412 A CN 201910031412A CN 109560835 B CN109560835 B CN 109560835B
- Authority
- CN
- China
- Prior art keywords
- communication channel
- communication
- configuration information
- channel
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to a power communication multichannel monitoring method, a power communication multichannel monitoring device, computer equipment and a storage medium. The method comprises the following steps: detecting and acquiring a service state of a first communication channel; when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel; transmitting the communication status information of the first communication channel through a second communication channel. When one communication channel transmits the service data, the other communication channel transmits the communication state information of the communication channel, so that the service data and the monitoring information can be transmitted by different communication channels respectively, the service data is effectively prevented from being influenced by the communication state information, and the dual-channel network is more stable in operation.
Description
Technical Field
The present application relates to the field of power data transmission technologies, and in particular, to a power communication multichannel monitoring method, device, computer device, and storage medium.
Background
In the power service system, the wireless communication device is mainly used for a remote data transmission channel. The general service data types include an acquisition class, an event class, a control class and a configuration class, and the service grades of different classes are different, so that the requirements on the communication capability are different.
In the power distribution network, wireless communication devices are used as a channel for remote transmission of service data. The stability and the reliability of the wireless communication under various complex environments cannot meet the requirements of various power services, and the reliability can be improved in a multi-channel combined working mode.
At present, the problem of unstable wireless signals is solved by gradually adopting a wireless multi-channel mode in the power service, so as to further improve the reliability guarantee of the power service. The parameter configuration and the working state monitoring of the communication device in the power service are usually obtained through a network management platform provided by a third-party operator or a network management platform without a special power network.
However, this approach has the following problems: when the communication terminal is used for transmitting the state management data, the priority problem of the service data and the terminal state management data is not fully considered, and the transmission of the service data is influenced by the transmission of the management data in some cases. Resulting in loss of service data and inefficient transmission of service data.
Disclosure of Invention
Based on this, there is a need to provide a power communication multi-channel monitoring method, apparatus, computer device and storage medium.
A power communication multi-channel monitoring method, the method comprising:
detecting and acquiring a service state of a first communication channel;
when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel;
transmitting the communication status information of the first communication channel through a second communication channel.
In one embodiment, the method further comprises:
acquiring configuration information of the first communication channel;
transmitting the configuration information of the first communication channel through the second communication channel.
In one embodiment, the step of sending the configuration information of the first communication channel through the second communication channel further comprises:
detecting whether the configuration information of the first communication channel is correct;
when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel.
In one embodiment, the step of obtaining the configuration information of the first communication channel further includes:
detecting and acquiring current configuration information of the first communication channel;
saving the current configuration information of the first communication channel as historical configuration information;
when the configuration information of the first communication channel is incorrect, the step of restoring the configuration information of the first communication channel comprises the following steps:
and when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
In one embodiment, the step of detecting and acquiring the traffic status of the first communication channel includes:
detecting and acquiring service states of the first communication channel and the second communication channel;
the method further comprises the following steps:
when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of communication state information of the first communication channel and the second communication channel;
and after the transmission of the service data of the first communication channel and/or the second communication channel is finished, acquiring the communication state information of the first communication channel and/or the second communication channel.
A power communication multichannel monitoring device, the device comprising:
the service state acquisition module is used for detecting and acquiring the service state of the first communication channel;
a communication state obtaining module, configured to obtain communication state information of the first communication channel when the first communication channel is in a transmission state of service data;
and the communication state sending module is used for sending the communication state information of the first communication channel through a second communication channel.
In one embodiment, the apparatus further comprises:
a configuration information obtaining module, configured to obtain configuration information of the first communication channel;
a configuration information sending module, configured to send the configuration information of the first communication channel through the second communication channel.
In one embodiment, the apparatus further comprises:
the configuration information detection module is used for detecting whether the configuration information of the first communication channel is correct or not;
and the configuration restoration module is used for restoring the configuration information of the first communication channel when the configuration information of the first communication channel is incorrect.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: detecting and acquiring a service state of a first communication channel;
when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel;
transmitting the communication status information of the first communication channel through a second communication channel.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
detecting and acquiring a service state of a first communication channel;
when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel;
transmitting the communication status information of the first communication channel through a second communication channel.
According to the electric power communication multi-channel monitoring method, the electric power communication multi-channel monitoring device, the computer equipment and the storage medium, when one communication channel transmits the service data, the other communication channel transmits the communication state information of the communication channel, so that the service data and the monitoring information can be transmitted by different communication channels respectively, the service data is effectively prevented from being influenced by the communication state information, and the operation of a two-channel network is more stable.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a multi-channel monitoring method for power communication;
FIG. 2 is a flow diagram of a multi-channel power communication monitoring method according to an embodiment;
FIG. 3 is a block diagram of a power communication multi-channel monitoring device according to an embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 5 is a diagram showing an internal structure of a computer device in another embodiment;
FIG. 6A is a diagram illustrating an internal connection of a wireless dual channel communication terminal according to an embodiment;
fig. 6B is a schematic diagram of a network connection structure of the power communication multi-channel monitoring device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The power communication multi-channel monitoring method provided by the application can be applied to the application environment shown in fig. 1. The wireless communication terminal 102 and the server 104 communicate with each other through a first communication channel and a second communication channel. The server 104 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers. The wireless communication terminal 102 detects and acquires a service state of the first communication channel; when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel; transmitting the communication status information of the first communication channel through a second communication channel.
In one embodiment, as shown in fig. 2, a power communication multi-channel monitoring method is provided, which is described by taking the method as an example applied to the terminal and the server in fig. 1, and includes the following steps:
Specifically, the first communication channel is used for being in communication connection with a server, which is a communication management master station or a service master station in this embodiment. The first communication channel is a communication channel or a network channel. It should be noted that the communication channel is a logical channel implemented based on a physical connection between the devices, and in one embodiment, the communication channel is implemented based on a wireless network of the physical connection, in one embodiment, the wireless network is a wireless public network, and in one embodiment, the wireless network is a power wireless private network.
In one embodiment, the wireless communication terminal is provided with at least two wireless communication modules, wherein one wireless communication module is accessed into the first communication channel and is in communication connection with the server.
In one embodiment, the server is provided with at least two wireless communication modules, wherein one wireless communication module is accessed into the first communication channel and is in communication connection with the terminal.
In this step, the service state of the first communication channel is detected, and the service state of the first communication channel is obtained. The traffic state refers to a transmission state of traffic data. Service data is understood to be application data, which is data transmitted based on a certain application or a certain service.
In this step, when the first communication channel is in a sending state or a receiving state of the service data, the communication state information of the first communication channel is acquired.
Specifically, the detection of the service state may be detected by detecting data of the processing module or the communication module of the local terminal, and the communication state information is obtained by detecting the network to which the communication module and the communication module are connected. The communication state information is connection state information of the communication channel. The communication state information is used for feeding back whether the communication channel is communicated or not, feeding back whether the communication channel is connected with a server or not, feeding back whether the sent service data is reachable or not, feeding back whether the service data can be received or not, and feeding back the communication parameters of the communication channel. It should be understood that the communication state information may also be referred to as communication management data. By obtaining the communication management data, the communication management master station can find the abnormity of the communication channel in time, and carry out configuration change or repair on the communication channel, so that the communication channel can normally operate. In one embodiment, the communication parameters include communication delay, whether a target is reachable, routing path, number of communication hops, and the like.
In this embodiment, when the first communication channel is in a state of sending or receiving service data, that is, when the terminal sends or receives service data through the first communication channel, the communication state of the first communication channel is detected, and the communication state information of the first communication channel is obtained.
In one embodiment, the communication status information of the first communication channel is sent to a server through a second communication channel.
In one embodiment, the communication status information of the first communication channel is sent to a terminal through a second communication channel.
Specifically, the second communication channel is a communication channel independent of the first communication channel, and the second communication channel and the first communication channel are two different communication channels, it can be understood that the terminal has at least two communication modules, and the terminal is accessed to the wireless network through the two different communication modules, so that the terminal is connected to the server through the two different communication channels. Specifically, the first communication channel and the second communication channel are connected with a wireless network based on different communication modules, and the two communication modules are respectively connected with different wireless networks, so that the terminal is connected with the server through the two different communication channels. One embodiment is that the first communication channel is based on a wireless public network and the second communication channel is based on a power wireless private network.
In this embodiment, because the first communication channel is in the transmission state of the service data, the first communication channel does not need to send the communication state information, but sends the communication state information of the first communication channel through the second communication channel, so that it is avoided that the service data and the communication state information are transmitted in the same communication channel, the transmission of the service data is prevented from being influenced by the transmission of the communication state information, the transmission of the service data is effectively ensured, and the transmission efficiency of the first communication channel and the transmission efficiency of the second communication channel can be effectively improved.
It is worth mentioning that, in an embodiment, the terminal is connected to the server of the service master station through the first communication channel, and is connected to the server of the communication management master station through the second communication channel, and the terminal performs transmission of service data with the service master station through the first communication channel, and performs transmission of communication management data with the communication management master station through the second communication channel, so that the service data and the communication management data are separately transmitted, which not only can avoid affecting transmission of the service data, but also can effectively improve transmission efficiency.
In the above embodiment, when one communication channel transmits the service data, the other communication channel transmits the communication state information of the communication channel, so that the service data and the monitoring information can be respectively transmitted through different communication channels, thereby effectively avoiding the service data from being affected by the communication state information, and enabling the dual-channel network to operate more stably.
In one embodiment, the power communication multi-channel monitoring method further comprises: acquiring configuration information of the first communication channel; transmitting the configuration information of the first communication channel through the second communication channel. In one embodiment, the configuration information of the first communication channel is obtained; and sending the configuration information of the first communication channel through the second communication channel, and configuring the first communication channel according to the configuration information.
Specifically, the configuration information is network configuration information of the communication channel, and the configuration information may also be referred to as configuration parameters. The configuration information is used to configure various parameters of the communication channel, and in one embodiment, the configuration information includes an operator code, a network dialing parameter, a network access user name, a network access password, and a name of an Access Point (APN). One embodiment is that the parameters include next hop node, network bandwidth, network latency, maximum unreachable hop count, etc. The communication channels are configured, so that the communication channels can operate according to the configuration to communicate, and the communication channels configured with different configuration information have different network characteristics.
In this embodiment, a server obtains configuration information of a first communication channel; and issuing the configuration information of the first communication channel through the second communication channel, and configuring the first communication channel according to the configuration information of the first communication channel issued by the second communication channel, so that the configuration information of the first communication channel is the configuration information issued by the second communication channel. Since the configuration information of one communication channel is transmitted through the other communication channel, when the configuration information of one communication channel is wrong or fails to be configured, the configuration can be recovered by the other communication channel. The stable operation of communication channel can be effectively guaranteed.
In one embodiment, the power communication multi-channel monitoring method further comprises: acquiring configuration information of the second communication channel; sending the configuration information of the second communication channel through the first communication channel.
In this embodiment, the two communication channels can send the configuration information of the other party to each other, so that the configuration information of the two communication channels can be sent independently of the two communication channels for configuration, and thus, the stable operation of the communication channels can be further effectively ensured.
In one embodiment, the step of sending the configuration information of the first communication channel through the second communication channel further comprises: detecting whether the configuration information of the first communication channel is correct; when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel. In one embodiment, whether the configuration information of the first communication channel is matched with preset configuration information is detected; and when the configuration information of the first communication channel is not matched with the preset configuration information, restoring the configuration information of the first communication channel. In one embodiment, the configuration information of the first communication channel is restored based on preset configuration information, and the configuration information of the first communication channel is restored to the preset configuration information.
In this embodiment, the first communication channel is configured based on the configuration information sent by the second communication channel, so that the configuration parameter of the first communication channel is the configuration information, and then it is detected whether the first communication channel operates normally, when the first communication channel operates abnormally, it is determined that the configuration information of the first communication channel is incorrect, and at this time, the configuration information of the first communication channel is restored, so that the first communication channel operates normally.
In one embodiment, detecting whether the first communication channel is operating normally includes detecting whether data of the first communication channel is reachable. In one embodiment, detecting whether the first communication channel is operating normally includes detecting whether the first communication channel receives traffic data. In one embodiment, detecting whether the first communication channel operates normally includes detecting whether a delay of receiving data of the first communication channel is greater than a preset delay value.
In one embodiment, detecting whether the first communication channel is operating normally includes detecting whether configuration information of the first communication channel matches preset configuration information. The preset configuration information is pre-stored and effective configuration information, and the first communication channel can normally operate based on the preset configuration information. Therefore, in this embodiment, with reference to the preset configuration information, it is compared whether the current configuration information of the first communication channel is the same as the preset configuration information, so as to detect whether the current configuration information of the first communication channel is correct.
It should be noted that, in order to enable the first communication channel to be restored, in this embodiment, preset configuration information is pre-stored, so that when the first communication channel needs to be restored, the first communication channel can be restored based on the preset configuration information, so that the configuration information of the first communication channel is restored to the preset configuration information, and the first communication channel normally operates.
In one embodiment, the step of obtaining the configuration information of the first communication channel further comprises: detecting and acquiring current configuration information of the first communication channel; saving the current configuration information of the first communication channel as historical configuration information; when the configuration information of the first communication channel is incorrect, the restoring the configuration information of the first communication channel comprises: and when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
One embodiment is that the current configuration information of the first communication channel is detected and acquired; saving the current configuration information of the first communication channel as historical configuration information; acquiring information to be configured of the first communication channel; sending information to be configured of the first communication channel through the second communication channel, and configuring the first communication channel according to the information to be configured; detecting the configuration information of the first communication channel after configuration, and when the configuration information of the first communication channel after configuration is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
In this embodiment, before configuring the first communication channel, first, the configuration information of the first communication channel before configuration is obtained, that is, the configuration information is current configuration information, and the current configuration information is stored as historical configuration information, so that after the first communication channel is configured, whether the configuration-based configuration information of the configured first communication channel can normally operate is detected, and when the configuration-based configuration information of the first communication channel abnormally operates, the first communication channel is restored according to the historical configuration information that has been previously stored, so that the configuration information of the first communication channel is restored to the historical configuration information, that is, the configuration information of the first communication channel is restored to the configuration information before configuration. In this embodiment, the historical configuration information may be regarded as the preset configuration information in the previous embodiment.
In this embodiment, since the configuration information of one communication channel is sent through another communication channel, when the configuration information of one communication channel is faulty or fails to be configured, the configuration can be recovered by another communication channel. The stable operation of communication channel can be effectively guaranteed.
In one embodiment, the step of detecting and acquiring the traffic status of the first communication channel includes: detecting and acquiring service states of the first communication channel and the second communication channel; the method further comprises the following steps: when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of communication state information of the first communication channel and the second communication channel; and after the transmission of the service data of the first communication channel and/or the second communication channel is finished, acquiring the communication state information of the first communication channel and/or the second communication channel.
One embodiment is that the service states of the first communication channel and the second communication channel are detected and obtained; when the first communication channel and the second communication channel are both in a transmission state of service data, reducing the priority of obtaining and transmitting the communication state information of the first communication channel and the second communication channel; and after the service data of the first communication channel and/or the second communication channel is transmitted, recovering the acquiring and transmitting priorities of the communication state information of the first communication channel and the second communication channel.
One embodiment is that the service states of the first communication channel and the second communication channel are detected and obtained; when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of communication state information of the first communication channel and the second communication channel; after the first communication channel and the second communication channel are simultaneously in the transmission state of the service data, when the service data of the first communication channel is transmitted, the communication state information of the first communication channel is acquired, the communication state information of the first communication channel is sent through the second communication channel, when the service data of the second communication channel is transmitted, the communication state information of the second communication channel is acquired, and the communication state information of the first communication channel is sent through the first communication channel.
In this embodiment, the service states of the first communication channel and the second communication channel are detected simultaneously, and when the service states of the first communication channel and the second communication channel are both in the sending state or the receiving state of the service data, the obtaining of the communication state information of the first communication channel and the second communication channel is respectively suspended, so that the communication state information of the first communication channel does not need to be sent through the second communication channel, and the communication state information of the second communication channel does not need to be sent through the first communication channel, so that the first communication channel and the second communication channel do not need to send the communication state information, so that the service data can be transmitted at a higher priority, the influence of the communication state information on the transmission of the service data is avoided, the transmission of the service data is effectively ensured, and the transmission of the service data is more accurate, the transmission efficiency is higher.
After the service data transmission is completed, the communication state information of the first communication channel and the second communication channel is recovered, so that when the first communication channel and the second communication channel are not in the transmission state of the service data at the same time, when the first communication channel transmits the service data, the communication state information of the first communication channel is sent by the second communication channel, and when the second communication channel transmits the service data, the communication state information of the second communication channel is sent by the first communication channel, thereby effectively avoiding the influence of the communication state information of a certain communication channel on the transmission of the service data, effectively ensuring the transmission of the service data, ensuring more accurate transmission of the service data and higher transmission efficiency.
In the embodiments, the state of the communication device and the state of the communication network are obtained by the multi-channel terminal and provided to the communication management supervisor, so that the real-time online management of the terminal is realized. The management mode does not depend on the parameters provided by an operator and a core network, and provides the real-time state monitoring capability in an end-to-end mode. In addition, by using the two-channel cross configuration method, when one channel needs to be configured with parameters, the other channel is used for configuration, so that when configuration is wrong or configuration fails, the configuration can be recovered by the other channel. In addition, the state of one channel is uploaded to the communication management master station through the other channel in the dual-channel state monitoring process, so that the influence of communication state monitoring data on service data is avoided when the service data and the communication management data are uploaded simultaneously.
In one embodiment, the power communication multichannel monitoring device comprises a control module, a first communication module and a second communication module, wherein the control module is connected with the first communication module and the second communication module respectively; the control module is used for sending service data through the first communication module and/or the second communication module; the control module is further configured to detect and acquire a communication state of the first communication module when the service data is sent by the first communication module, and send the communication state of the first communication module by the second communication module.
In an embodiment, the control module is further configured to detect and acquire a communication state of the second communication module when the service data is sent by the second communication module, and send the communication state of the second communication module by the first communication module.
In one embodiment, the control module is further configured to receive, via the first communication module, configuration information of the second communication module. The control module is further configured to configure the second communication module according to the configuration information of the second communication module received by the first communication module.
In one embodiment, the control module is further configured to reduce the priority of detection of the communication state of the first communication module and the communication state of the second communication module when both the first communication module and the second communication module are transmitting traffic data; and after the service data is sent, the communication state of the first communication module and/or the second communication module is obtained again.
In an embodiment, the method further comprises: detecting and acquiring a service state of a first communication channel; and when the first communication channel is in the transmission state of the service data, stopping the transmission of the service data of the second communication channel. In this embodiment, at the same time, only one communication channel is used for transmitting the service data, the first communication channel is used for transmitting the service data, and the second communication channel is used as the standby channel.
In an embodiment, the method further comprises: detecting and acquiring a service state of a first communication channel; and when the first communication channel is in the transmission state of the first service data, transmitting second service data through a second communication channel. In the embodiment, two different service data are transmitted by selecting different channels, so that the transmission efficiency of the service data is effectively improved, and the mutual influence between the service data is avoided.
In one embodiment, as shown in fig. 3, there is provided a power communication multi-channel monitoring device, including: a service status acquiring module 310, a communication status acquiring module 320 and a communication status sending module 330, wherein:
the service status acquiring module 310 is configured to detect and acquire a service status of the first communication channel.
The communication state obtaining module 320 is configured to obtain the communication state information of the first communication channel when the first communication channel is in a transmission state of service data.
The communication status sending module 330 is configured to send the communication status information of the first communication channel through a second communication channel.
In one embodiment, the power communication multi-channel monitoring device further comprises:
and the configuration information acquisition module is used for acquiring the configuration information of the first communication channel.
A configuration information sending module, configured to send the configuration information of the first communication channel through the second communication channel.
In one embodiment, the power communication multi-channel monitoring device further comprises:
and the configuration information detection module is used for detecting whether the configuration information of the first communication channel is correct or not.
And the configuration restoration module is used for restoring the configuration information of the first communication channel when the configuration information of the first communication channel is incorrect.
In one embodiment, the power communication multi-channel monitoring device further comprises:
and the current configuration information detection module is used for detecting and acquiring the current configuration information of the first communication channel.
And the historical configuration information storage module is used for storing the current configuration information of the first communication channel as historical configuration information.
The configuration restoration module comprises a historical configuration restoration submodule and is used for restoring the configuration information of the first communication channel according to the historical configuration information when the configuration information of the first communication channel is incorrect.
In an embodiment, the service status acquiring module is further configured to detect and acquire service statuses of the first communication channel and the second communication channel.
The power communication multichannel monitoring devices still includes:
a communication state suspension obtaining module, configured to suspend obtaining communication state information of the first communication channel and the second communication channel when the first communication channel and the second communication channel are both in a transmission state of service data.
A communication state recovery obtaining module, configured to obtain communication state information of the first communication channel and/or the second communication channel after the service data transmission of the first communication channel and/or the second communication channel is completed.
For specific limitations of the power communication multi-channel monitoring device, reference may be made to the above limitations of the power communication multi-channel monitoring method, which are not described herein again. All or part of the modules in the power communication multi-channel monitoring device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing the power communication multichannel monitoring data. The data interface of the computer device is used for connecting with an external terminal and realizing communication, for example, the data interface is a network interface, and the network interface is a wireless network interface. The computer program is executed by a processor to implement a power communication multi-channel monitoring method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer program is executed by a processor to implement a power communication multi-channel monitoring method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, as shown in fig. 6A, the terminal is a wireless dual-channel communication terminal as an example, two MiniPCI-E interfaces, that is, a MiniPCI-E interface 1 and a MiniPCI-E interface 2, are extended from the inside of a processor (CPU) of the terminal through a USB (Universal Serial Bus), where the two MiniPCI-E interfaces are respectively connected to a wireless communication module, the MiniPCI-E interface 1 is connected to the wireless communication module 1, the MiniPCI-E interface 2 is connected to the wireless communication module 2, and the wireless communication module may be a wireless public network supporting the internet or an electric power wireless private network; the MiniPCI-E interface of the wireless communication module is provided with a TTL serial communication interface, and the CPU is connected to the MiniPCI-E interface of the wireless communication module through the TTL serial interface. As shown in fig. 6B, the wireless multi-channel communication terminal 602 is connected to the server 604 of the communication management master station through two communication channels.
In this embodiment, the wireless multi-channel communication terminal 602 transmits data back to the service master station and the communication master station through two wireless networks.
In this embodiment, the transmission modes of the service data include the following: (1) only one channel is selected for data transmission, and the other channel is used as a standby channel; (2) different channels are selected for transmitting different service data; (3) both channels transmit all traffic data simultaneously.
In this embodiment, a method for monitoring and testing states of a multi-channel wireless communication terminal and a communication network is provided:
the multi-channel wireless communication terminal CPU obtains the running state of the device, such as CPU occupancy rate, memory occupancy rate, power state and the like.
The multi-channel wireless communication terminal sends an AT instruction from the serial interface through the CPU to acquire the states of the wireless communication module and the wireless communication network.
When the service data transmission of the dual-channel wireless network is in the main and standby working states, the standby channel is used for transmitting the state monitoring data so as to avoid the influence on the service data transmission of the main channel.
When the service data transmission of the dual-channel wireless network is in a dual-channel simultaneous working state, the priority of the state monitoring data is set to be the lowest in a mode of reducing the priority of the state monitoring data, the wireless channel with the optimal state is selected to send out the state monitoring data after all the service data are transmitted, and therefore the influence of the wireless channel on the service data transmission is reduced.
The parameter configuration method of the multi-channel wireless communication terminal comprises the following steps:
generally, when a wireless communication terminal works, some parameters, such as an operator code, a network dialing parameter, a network access user name, a network access password, a name of an Access Point (APN), and the like, need to be configured. It should be understood that the parameters of the conventional wireless communication terminal are usually manually pre-configured, and when the configuration parameters need to be modified, the parameters are modified from manual to on-site or sent down remotely. But there is a possibility that the configuration of the delivered parameters is wrong or fails. Remote configuration, once failed, requires manual on-site processing.
In the wireless communication terminal with dual channels provided in this embodiment, the parameters of the current channel can be remotely configured through another channel. As shown in fig. 6B, when the communication module corresponding to the wireless network 1 needs to modify the configuration parameters, the communication management master station first stores the historical configuration parameters, and then the wireless network 2 issues new configuration parameters. After the configuration is completed, the communication management master station verifies whether the parameter configuration of the wireless network 1 is correct, and if so, the historical configuration parameters are updated; if not, the wireless network 2 issues the historical configuration parameters to recover the normal communication state of the wireless communication network 1. And vice versa.
In the embodiments, the power communication multi-channel monitoring method and device utilize the multi-channel terminal to obtain the state of the communication device and the state of the communication network of the multi-channel terminal and provide the state to the communication management supervisor to realize real-time online management of the terminal. The management mode does not depend on the parameters provided by an operator and a core network, and provides the real-time state monitoring capability in an end-to-end mode. In addition, by using the two-channel cross configuration method, when one channel needs to be configured with parameters, the other channel is used for configuration, so that when configuration is wrong or configuration fails, the configuration can be recovered by the other channel. In addition, the state of one channel is uploaded to the communication management master station through the other channel in the dual-channel state monitoring process, so that the influence of communication state monitoring data on service data is avoided when the service data and the communication management data are uploaded simultaneously. Finally, in the aspect of hardware structure design, the state monitoring of the wireless communication module is realized by utilizing an independent serial communication interface of the wireless communication module, so that the influence of the state monitoring on data transmission is avoided, and the reliability of service data transmission is improved. Meanwhile, the independent serial communication interface is used for monitoring the state, and the performance and the reliability of state monitoring can be improved.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
and detecting and acquiring the service state of the first communication channel.
And when the first communication channel is in a transmission state of service data, acquiring the communication state information of the first communication channel.
Transmitting the communication status information of the first communication channel through a second communication channel.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring the configuration information of the first communication channel.
Transmitting the configuration information of the first communication channel through the second communication channel.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and detecting whether the configuration information of the first communication channel is correct.
When the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and detecting and acquiring the current configuration information of the first communication channel.
And saving the current configuration information of the first communication channel as historical configuration information.
When the configuration information of the first communication channel is incorrect, the step of restoring the configuration information of the first communication channel comprises the following steps:
and when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and detecting and acquiring the service states of the first communication channel and the second communication channel.
The method further comprises the following steps:
and when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of the communication state information of the first communication channel and the second communication channel.
And after the transmission of the service data of the first communication channel and/or the second communication channel is finished, acquiring the communication state information of the first communication channel and/or the second communication channel.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
and detecting and acquiring the service state of the first communication channel.
And when the first communication channel is in a transmission state of service data, acquiring the communication state information of the first communication channel.
Transmitting the communication status information of the first communication channel through a second communication channel.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring the configuration information of the first communication channel.
Transmitting the configuration information of the first communication channel through the second communication channel.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and detecting whether the configuration information of the first communication channel is correct.
When the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and detecting and acquiring the current configuration information of the first communication channel.
And saving the current configuration information of the first communication channel as historical configuration information.
When the configuration information of the first communication channel is incorrect, the step of restoring the configuration information of the first communication channel comprises the following steps:
and when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and detecting and acquiring the service states of the first communication channel and the second communication channel.
The method further comprises the following steps:
and when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of the communication state information of the first communication channel and the second communication channel.
And after the transmission of the service data of the first communication channel and/or the second communication channel is finished, acquiring the communication state information of the first communication channel and/or the second communication channel.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (9)
1. A power communication multi-channel monitoring method is characterized by comprising the following steps:
detecting and acquiring a service state of a first communication channel;
when the first communication channel is in a transmission state of service data, acquiring communication state information of the first communication channel;
transmitting the communication state information of the first communication channel through a second communication channel;
acquiring configuration information of the first communication channel;
sending the configuration information of the first communication channel through the second communication channel;
detecting whether the configuration information of the first communication channel is correct;
when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel.
2. The method of claim 1, further comprising: acquiring configuration information of the second communication channel;
sending the configuration information of the second communication channel through the first communication channel.
3. The method of claim 1, wherein the step of obtaining the configuration information of the first communication channel is preceded by the step of:
detecting and acquiring current configuration information of the first communication channel; saving the current configuration information of the first communication channel as historical configuration information;
when the configuration information of the first communication channel is incorrect, the step of restoring the configuration information of the first communication channel comprises the following steps:
and when the configuration information of the first communication channel is incorrect, restoring the configuration information of the first communication channel according to the historical configuration information.
4. The method of claim 1, wherein the step of detecting and acquiring the traffic status of the first communication channel comprises:
detecting and acquiring service states of the first communication channel and the second communication channel;
the method further comprises the following steps:
when the first communication channel and the second communication channel are both in a transmission state of service data, suspending obtaining of communication state information of the first communication channel and the second communication channel;
and after the transmission of the service data of the first communication channel and/or the second communication channel is finished, acquiring the communication state information of the first communication channel and/or the second communication channel.
5. A power communication multichannel monitoring device, characterized in that the device comprises:
the service state acquisition module is used for detecting and acquiring the service state of the first communication channel;
a communication state obtaining module, configured to obtain communication state information of the first communication channel when the first communication channel is in a transmission state of service data;
a communication state sending module, configured to send the communication state information of the first communication channel through a second communication channel;
a configuration information obtaining module, configured to obtain configuration information of the first communication channel;
a configuration information sending module, configured to send the configuration information of the first communication channel through the second communication channel;
the configuration information detection module is used for detecting whether the configuration information of the first communication channel is correct or not;
and the configuration restoration module is used for restoring the configuration information of the first communication channel when the configuration information of the first communication channel is incorrect.
6. The apparatus of claim 5, further comprising:
the current configuration information detection module is used for detecting and acquiring the current configuration information of the first communication channel;
a historical configuration information storage module, configured to store the current configuration information of the first communication channel as historical configuration information;
the configuration restoration module comprises a historical configuration restoration submodule and is used for restoring the configuration information of the first communication channel according to the historical configuration information when the configuration information of the first communication channel is incorrect.
7. The apparatus of claim 5, wherein the traffic status obtaining module is further configured to detect and obtain traffic statuses of the first communication channel and the second communication channel;
the power communication multichannel monitoring devices still includes:
a communication state suspension obtaining module, configured to suspend obtaining communication state information of the first communication channel and the second communication channel when the first communication channel and the second communication channel are both in a transmission state of service data;
a communication state recovery obtaining module, configured to obtain communication state information of the first communication channel and/or the second communication channel after the service data transmission of the first communication channel and/or the second communication channel is completed.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910031412.4A CN109560835B (en) | 2019-01-14 | 2019-01-14 | Power communication multi-channel monitoring method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910031412.4A CN109560835B (en) | 2019-01-14 | 2019-01-14 | Power communication multi-channel monitoring method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109560835A CN109560835A (en) | 2019-04-02 |
CN109560835B true CN109560835B (en) | 2020-02-18 |
Family
ID=65872888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910031412.4A Active CN109560835B (en) | 2019-01-14 | 2019-01-14 | Power communication multi-channel monitoring method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109560835B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266819A (en) * | 2019-07-16 | 2019-09-20 | 东北电力大学 | A kind of communicating for power information system |
CN111146863A (en) * | 2019-12-13 | 2020-05-12 | 西安锐驰电器有限公司 | Power safety detection method for transformer substation |
CN113407403B (en) * | 2020-03-16 | 2023-04-25 | 顺丰科技有限公司 | Cloud host management method and device, computer equipment and storage medium |
CN114268338A (en) * | 2021-12-02 | 2022-04-01 | 南方电网数字电网研究院有限公司 | Electric power telecommunication module with double 4G channels |
CN116847303B (en) * | 2023-07-18 | 2024-10-08 | 古桥信息科技(郑州)有限公司 | 5G technology-based power data transmission and processing method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102711160A (en) * | 2012-05-21 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for information configuration |
CN108011758A (en) * | 2017-12-01 | 2018-05-08 | 广东电网有限责任公司东莞供电局 | Remote wireless channel monitoring method of electric power remote centralized meter reading system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634932B (en) * | 2012-08-27 | 2018-02-27 | 联想(北京)有限公司 | A kind of data transmission method and electronic equipment |
CN204089848U (en) * | 2014-08-11 | 2015-01-07 | 鸿合科技有限公司 | A kind of television teaching system based on NFC |
EP3261393B1 (en) * | 2015-06-30 | 2024-08-07 | Huawei Technologies Co., Ltd. | Method and device for transmitting channel state information |
-
2019
- 2019-01-14 CN CN201910031412.4A patent/CN109560835B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102711160A (en) * | 2012-05-21 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for information configuration |
CN108011758A (en) * | 2017-12-01 | 2018-05-08 | 广东电网有限责任公司东莞供电局 | Remote wireless channel monitoring method of electric power remote centralized meter reading system |
Also Published As
Publication number | Publication date |
---|---|
CN109560835A (en) | 2019-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109560835B (en) | Power communication multi-channel monitoring method and device, computer equipment and storage medium | |
CN110740460B (en) | Network access method and device of equipment, network equipment and storage medium | |
US20210119870A1 (en) | Network optimization method, network optimization system, and network device | |
CN109120386B (en) | Wireless communication device, system and method | |
CN115152192B (en) | PCE controlled network reliability | |
CN113746733A (en) | Table item synchronization method, gateway equipment, networking system and storage medium | |
CN113261249A (en) | Data transmission method, related equipment and computer storage medium | |
CN112019378A (en) | Troubleshooting method and device | |
CN113872799A (en) | Method, node and system for managing node | |
US20200213878A1 (en) | Method and apparatus for controlling network sensors | |
CN108667640B (en) | Communication method and device, and network access system | |
CN107968718B (en) | Method, device and equipment for confirming main standby state | |
CN102868945A (en) | Upgrading method optical network unit (ONU) in Ethernet passive optical network (EPON) | |
EP3537671B1 (en) | Protection switching method and system, and nodes | |
CN104869118A (en) | Method and system for achieving DDoS defense based on technology of dynamic tunnels | |
CN105681187A (en) | VRRP (Virtual Router Redundancy Protocol) backup set management method and related device | |
CN115333983A (en) | Heartbeat management method and node | |
CN115733729A (en) | Communication fault processing method, system and equipment | |
CN104869582B (en) | A kind of wireless network backup method and system | |
CN113872955A (en) | Network connection method, device, computer equipment and storage medium | |
KR20120128031A (en) | System and method for providing push service | |
CN106992878B (en) | Multicast detection method and device | |
CN107113230A (en) | Determine the method, apparatus and system of generic route encapsulation gre tunneling mark | |
CN110489272A (en) | The operating system recovery method, apparatus and web camera of web camera | |
CN111492682A (en) | Channel establishing method and base station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200924 Address after: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No. Patentee after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd. Address before: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No. Patentee before: GUANGZHOU POWER SUPPLY Co.,Ltd. |