CN112311591A - Power communication protocol configuration method, system, server and readable storage medium - Google Patents

Power communication protocol configuration method, system, server and readable storage medium Download PDF

Info

Publication number
CN112311591A
CN112311591A CN202011035927.0A CN202011035927A CN112311591A CN 112311591 A CN112311591 A CN 112311591A CN 202011035927 A CN202011035927 A CN 202011035927A CN 112311591 A CN112311591 A CN 112311591A
Authority
CN
China
Prior art keywords
communication protocol
power communication
power
protocol
equipment
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.)
Granted
Application number
CN202011035927.0A
Other languages
Chinese (zh)
Other versions
CN112311591B (en
Inventor
刘海涛
管仁成
孙晓飞
刘浩
高杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Shandong Electric Power Co Juxian Power Supply Co
State Grid Corp of China SGCC
Original Assignee
State Grid Shandong Electric Power Co Juxian Power Supply Co
State Grid Corp of China SGCC
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Shandong Electric Power Co Juxian Power Supply Co, State Grid Corp of China SGCC filed Critical State Grid Shandong Electric Power Co Juxian Power Supply Co
Priority to CN202011035927.0A priority Critical patent/CN112311591B/en
Publication of CN112311591A publication Critical patent/CN112311591A/en
Application granted granted Critical
Publication of CN112311591B publication Critical patent/CN112311591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events

Abstract

The invention provides a power communication protocol configuration method, a system, a server and a readable storage medium, wherein the server receives an equipment ID and a target power communication protocol identification sent by a target power device; the server identifies according to the equipment ID, the target power communication protocol identifier and a matched protocol device identifier corresponding to at least one preset power communication protocol; and the server sends the matched protocol device identifier to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identifier. The electric power communication protocol can be dynamically configured on line, the number of the devices using the to-be-power communication protocol needs to be gradually increased in the process of configuring the electric power communication protocol until all the devices use the new electric power communication protocol, and the electric power communication protocol for controlling the number of the devices using the electric power communication protocol needs to be gradually configured so as to ensure the stable operation of the system.

Description

Power communication protocol configuration method, system, server and readable storage medium
Technical Field
The invention relates to the technical field of power communication protocols, in particular to a power communication protocol configuration method, a power communication protocol configuration system, a server and a readable storage medium.
Background
The electric power system relates to various types of electric power equipment, multi-purpose electric power equipment and the like, and the electric power system needs data communication and control instruction transmission in the operation process, which are based on wired or wireless communication among the equipment, so that the functions of remote and near end control, operation process control and the like are realized.
Communication protocols are generally set in the communication process, and the communication protocols are communication protocols which are followed by mutual communication between two devices. In the operation process of the power system, the communication protocol is updated or reconfigured according to the use environment or the operation requirement sometimes, so that when the communication protocol is reconfigured, the equipment in the power system needs to be reconfigured, and if one or more of the equipment cannot be configured in time, the communication of power data is influenced due to the fact that normal communication cannot be carried out, and the normal operation of the power system is further influenced. In addition, the equipment needs to be reconfigured one by one in the configuration process, so that the configuration process is complicated, errors or omissions are easy to occur, and the normal operation of the power system is influenced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a power communication protocol configuration method, which comprises the following steps:
the method comprises the following steps that firstly, a server receives an equipment ID and a target power communication protocol identification which are sent by a target power device;
secondly, the server identifies according to the equipment ID, the target power communication protocol identifier and a matched protocol device identifier corresponding to at least one preset power communication protocol;
and step three, the server sends the matched protocol device identifier to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identifier.
Preferably, step two further comprises: the server determines a target power communication protocol according to the target power communication protocol identifier and at least one preset power communication protocol;
the target power communication protocol comprises at least one communication protocol and/or power communication protocol communication range; and the server determines the matched protocol device identifier corresponding to the equipment ID according to the equipment ID and the target power communication protocol.
Preferably, the determining, by the server, the configured protocol device identifier corresponding to the device ID according to the device ID and the target power communication protocol further includes:
the server traverses a communication protocol in the target power communication protocol and determines whether the equipment ID meets the communication protocol;
if the equipment ID meets the condition that the number of the communication protocols is larger than or equal to the preset number and/or the equipment ID is successfully matched in the electric power communication protocol communication range, determining that the matched protocol device identifier is the electric power communication protocol identifier, and otherwise, determining that the matched protocol device identifier is a non-electric power communication protocol identifier.
Preferably, the determining, by the server, the configured protocol device identifier corresponding to the device ID according to the device ID and the target power communication protocol further includes:
the server matches the equipment ID in the power communication protocol communication range; and if the matching is successful, adding the matched protocol device identifier into the power communication protocol, otherwise, configuring the equipment ID into a non-power communication protocol identifier in the power communication protocol.
Preferably, step three further comprises: if the matched protocol device identifier is an electric power communication protocol identifier, determining that an electric power communication protocol corresponding to the equipment ID is an updated electric power communication protocol; and if the configured protocol device identifier is a non-power communication protocol identifier, determining that the power communication protocol corresponding to the equipment ID is a prior power communication protocol.
Preferably, the method further comprises:
when a target power communication protocol relates to a power communication protocol communication range, if network resources occupied by batch communication data in one or more power communication protocol communication ranges exceed a preset threshold value, a server acquires a communication range of each power device based on the power communication protocol in real time according to a power communication protocol identification;
the communication range of each power communication protocol corresponds to a preset communication channel and a communication cache, and a communication time period is configured;
when the power device communicates, communicating the communication data through the communication channel, and storing the communication data through the communication cache;
and if the communication time period is exceeded, the communication channel and the communication are slowly withdrawn, an idle state is changed, and data is cleared.
Preferably, the method further comprises: when the requested power communication instruction in the communication request received by the power device corresponds to a function other than a power communication protocol configuration function, the power device indicates that the power device does not perform power communication protocol configuration on the function corresponding to the requested power communication instruction, and at the moment, the power device directly executes the function corresponding to the requested power communication instruction;
if the power communication protocol corresponding to the request power communication instruction is upgraded, but the power communication protocol configuration is not needed, the power device executes the upgraded new power communication protocol, and if the power communication protocol corresponding to the request power communication instruction is not upgraded, the power device executes the prior power communication protocol.
The invention also provides a power communication protocol configuration system, which comprises: a server and a plurality of power devices;
each power device is in communication connection with the server and is used for sending the equipment ID and the power communication protocol identification to the server and determining a power communication protocol corresponding to the equipment ID according to the received configured protocol device identification;
the server is used for configuring the electric power communication protocols corresponding to the electric power devices and configuring the electric power communication protocols in the system in real time.
The invention also provides a server for realizing the configuration method of the power communication protocol, which comprises the following steps:
the storage is used for storing a computer program and a power communication protocol configuration method;
and the processor is used for executing the computer program and the power communication protocol configuration method so as to realize the steps of the power communication protocol configuration method.
The invention also provides a readable storage medium with the power communication protocol configuration method, wherein the readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the power communication protocol configuration method.
According to the technical scheme, the invention has the following advantages:
the invention relates to a power communication protocol configuration method.A server receives an equipment ID and a target power communication protocol identification sent by a target power device; the server identifies according to the equipment ID, the target power communication protocol identifier and a matched protocol device identifier corresponding to at least one preset power communication protocol; and the server sends the matched protocol device identifier to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identifier. The electric power communication protocol can be dynamically configured on line, the number of the devices using the to-be-power communication protocol needs to be gradually increased in the process of configuring the electric power communication protocol until all the devices use the new electric power communication protocol, and the electric power communication protocol for controlling the number of the devices using the electric power communication protocol needs to be gradually configured so as to ensure the stable operation of the system.
When the power communication protocol is configured, the server generates a power communication protocol configuration instruction according to the configured power communication protocol identifier, and sends the power communication protocol configuration instruction to the server so as to inform the server to reload the power communication protocol, and the corresponding power communication protocol in the server is updated, so that the server determines the corresponding configured protocol device identifier according to the configured power communication protocol. The configuration version does not need to be modified in the configuration of the power communication protocol, so that the configuration efficiency of the power communication protocol is improved.
When finding that the updated power communication protocol is wrong to execute or when a problem occurs in the use process of the new power communication protocol configured by the power communication protocol, the configured protocol device identifications corresponding to all equipment IDs can be non-power communication protocol identifications through configuring the power communication protocol, so that all power devices execute the prior power communication protocol, and the function withdrawal is realized. In the process of withdrawing the version, new power communication protocols which are not used for power communication protocol configuration cannot be withdrawn, so that the problem that all new power communication protocols are withdrawn when the new version is withdrawn in the prior art is solved.
The power communication protocol configuration system in this embodiment can support dynamic configuration and dynamically withdraw, and power communication protocol configuration can take effect in real time, thereby optimizing the power communication protocol configuration process. The defect that a new version of the power communication protocol needs to be reconfigured every time of configuration in the prior art is overcome, and therefore configuration efficiency is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a power communication protocol configuration method;
fig. 2 is a schematic diagram of a power communication protocol configuration system.
Detailed Description
The present invention provides a power communication protocol configuration method, as shown in fig. 1, and as will be appreciated by those skilled in the art, the elements and algorithm steps of the examples described in the embodiments disclosed in the power communication protocol configuration method can be implemented in electronic hardware, computer software, or a combination of both, and in the above description, the components and steps of the examples have been generally described in terms of functions in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The features, structures, or characteristics described for the power communication protocol configuration methods and systems may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The method provided by the invention can be applied to the configuration of the power communication protocol of each power device in the system, and can be executed by a server in the power communication protocol configuration system, and the server receives the power communication protocol set by a user or an updated power communication protocol and then configures each power device in the system. The power device may be a power device in a power system, or a corresponding terminal device, etc.
Specifically, S11, the server receives the device ID and the target power communication protocol identifier sent by the target power device.
The power device refers to a device in a power device or a power system which needs to communicate by using power communication protocol configuration. The power device may be an existing device in the power system or a new device.
The server in this embodiment can access a plurality of power devices at the same time. The target power device is any power device that currently transmits the device ID and the target power communication protocol identifier to the server. Every power device all stores electric power communication stipulations in advance, and electric power communication stipulations sign has been configured to the electric power communication stipulations correspondence that has configured. When the target power device receives a communication request sent by other power devices, a power communication protocol identifier corresponding to the request power communication instruction is determined according to the request power communication instruction in the communication request, wherein the request power communication instruction can include but is not limited to a control request, a login request, a data transmission request and the like.
If the request power communication instruction in the communication request corresponds to the unconfigured new power communication protocol, determining a target power communication protocol identifier corresponding to the request power communication instruction, sending the equipment ID and the unconfigured new power communication protocol identifier in the communication request to a server by the target power device, and requesting to acquire the unconfigured new power communication protocol so as to satisfy the current communication process. If the target power device does not have the new power communication protocol configured, it will not be able to communicate with the power device having the new power communication protocol.
If the request power communication command in the communication request corresponds to a new power communication protocol which is not configured, the power device determines that the communication request does not have the new power communication protocol which is not configured, and the power device does not send the request to the server at the moment.
S12, the server determines a matched protocol device identifier corresponding to the equipment ID according to the equipment ID, the target power communication protocol identifier and at least one preset power communication protocol;
the power communication protocol is preset according to the needs and the use environment of the power devices or other conditions and is used for realizing power data communication and limiting the communication range and the number of the power devices communicated with the power data communication protocol. Here, in order to facilitate identification of each power communication protocol corresponding to a currently configured power device, a configured protocol device identification is configured in the system, that is, a power device having a configured protocol device identification is provided with a power communication protocol corresponding to a configured protocol device identification,
so that each power communication protocol is known to be configured to those several, or those power devices.
As an embodiment of the present invention, a method of manufacturing,
the server determines a power communication protocol of the target power device according to the target power communication protocol identification, wherein the target power communication protocol comprises at least one communication protocol and/or a power communication protocol communication range.
Here, the server determines the power communication protocol of the target power device according to the received target power communication protocol identification.
The communication protocol in the present invention refers to a protocol that requires communication between power devices.
The server in this embodiment may set the power communication protocols existing in the system in the form of a list. The configured protocol device identifier may include an electric power communication protocol identifier and a non-electric power communication protocol identifier, where the electric power communication protocol identifier indicates that the electric power device is equipped with a related electric power communication protocol, and the non-electric power communication protocol identifier indicates that the electric power device does not fully satisfy or satisfy the current electric power communication protocol, and of course, may also be represented by a logic bit "0" or "1", where "1" represents the electric power communication protocol identifier and "0" represents the non-electric power communication protocol identifier. Power devices may be equipped with multiple power communication protocols.
The server determines the configured protocol device identifier corresponding to the equipment ID according to the equipment ID and the target power communication protocol, and the method comprises the following steps: the server traverses the power communication protocol in the power device and determines whether the power device has the related power communication protocol; if the number of the power devices meeting the power communication protocols is larger than or equal to the preset number, determining that the matched protocol device identifier is a power communication protocol identifier; and if the electric power device meets the condition that the number of the electric power communication protocols is less than the preset number, determining that the matched protocol device identifier is a non-electric power communication protocol identifier.
When the target power device is identified by the non-power communication protocol, the server can load the required power communication protocol to the target power device, so that the configuration speed of the power communication protocol is increased, and the configuration efficiency of the power communication protocol is improved.
The power device may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a Personal Digital Assistant (PDA), a tablet computer (PAD), and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
The power device may include a wireless communication unit, an audio/video (a/V) input unit, a device input unit, a sensing unit, an output unit, a memory, an interface unit, a controller, and a power supply unit, and the like. It is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The power device and the server may communicate based on radio signals, and the specific related Wireless internet Access technology may include Wireless Local Area network (Wi-Fi, WLAN), Wireless broadband (Wibro), worldwide interoperability for microwave Access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
In this embodiment, the server determines whether the target power device satisfies the configuration requirement of the power communication protocol according to the required power communication protocol. The decision result may be represented by a logical operator of the comparison control script stream. The fact that the power device meets the power communication protocol is represented by True, and the fact that the power device does not meet the power communication protocol is represented by False. The configuration requirement can be whether the power distribution network has the configuration authority or not, whether the power distribution network is in a power distribution area in the power supply network or not, and the like, and the configuration is carried out based on actual needs.
When a preset target power device is arranged in the device identifier of the configured protocol corresponding to the power communication protocol, the target power device can be judged to be True. Otherwise, the judgment is False.
In the embodiment provided by the present invention, the determining, by a server, a configured protocol device identifier corresponding to an equipment ID according to the equipment ID and a target power communication protocol includes: the server matches the equipment ID in the power communication protocol communication range; and if the matching is successful, adding the matched protocol device identifier into the power communication protocol, otherwise, configuring the equipment ID into a non-power communication protocol identifier in the power communication protocol.
When the target power communication protocol relates to the power communication protocol communication range, if batch communication data in one or more power communication protocol communication ranges occupy larger network resources, data communication processing is not convenient, and communication is prevented from being influenced due to reduction of communication speed. The server can obtain the communication range of each power device based on the power communication protocol in real time according to the power communication protocol identification.
The communication range of each power communication protocol corresponds to a preset communication channel and a communication cache, and a communication time period is configured.
When the power devices communicate, the communication data can be communicated through the communication channel, and the communication data can be stored through the communication buffer. The communication period may be based on a communication period in which the server presets each power device to perform communication. Or the power device may reserve the communication channel and the communication buffer corresponding to the communication both ends in one communication time period. And if the communication time period is exceeded, the communication channel and the communication are slowly withdrawn, an idle state is changed, and data is cleared. The communication speed and the communication efficiency are improved.
Wherein the communication time period may be preset according to actual demand of the power device. And the server searches and matches the batch power communication protocol equipment IDs of the equipment IDs in the power communication protocol communication range.
And if the power communication protocol communication range is a plurality of equipment IDs, searching the equipment IDs in the power communication protocol communication range.
If the matching is successful, the power device corresponding to the equipment ID is matched with the corresponding power communication protocol, namely the matched protocol device identifier, and the matched protocol device identifier corresponding to the equipment ID is determined to be the power communication protocol identifier;
if the matching fails, the device ID is not in the power communication protocol communication range, namely, the power device corresponding to the device ID is a non-power communication protocol device, and at the moment, the configured protocol device identifier corresponding to the device ID is determined to be a non-power communication protocol identifier.
It should be further noted that the target power communication protocol according to the present invention includes at least one communication protocol and a power communication protocol communication range, where if the number of device IDs satisfies that the number of communication protocols is greater than or equal to the preset number, and/or the device IDs are successfully matched in the power communication protocol communication range, it is determined that the matched protocol device identifier is the power communication protocol identifier, and otherwise, it is determined that the matched protocol device identifier is the non-power communication protocol identifier.
S130, the server sends the matched protocol device identification to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identification.
And after determining the matched protocol device identifier corresponding to the received equipment ID, the server returns the matched protocol device identifier to the target power device. The target power device can determine whether the equipment corresponding to the equipment ID in the communication request is the power communication protocol equipment or not according to the received configured protocol equipment identifier, so that the power communication protocol corresponding to the communication request is determined, and power communication protocol configuration is realized.
It should be further explained that the electric power communication protocol can include electric power communication protocol and the preceding electric power communication protocol after the update, wherein the electric power communication protocol after the update means treats that the electric power communication protocol configuration function corresponds the new electric power communication protocol, and the preceding electric power communication protocol means treats that the electric power communication protocol configuration function corresponds existing.
The server is the function of power communication protocol configuration to the update to the power communication protocol is upgraded, satisfies the communication requirement.
It should be further noted that, the determining, by the target power device, the power communication protocol corresponding to the device ID according to the configured protocol device identifier includes:
if the matched protocol device identifier is an electric power communication protocol identifier, determining that an electric power communication protocol corresponding to the equipment ID is an updated electric power communication protocol; and if the configured protocol device identifier is a non-power communication protocol identifier, determining that the power communication protocol corresponding to the equipment ID is a prior power communication protocol.
It should be further noted that, if the already-assigned protocol device identifier is an electric power communication protocol identifier, it indicates that the device corresponding to the communication request received by the target electric power device is an electric power communication protocol device, and at this time, the electric power device executes the updated electric power communication protocol, so that the device uses the new electric power communication protocol. If the configured protocol device identifier is a non-power communication protocol identifier, it indicates that the device corresponding to the communication request received by the power device is a non-power communication protocol device, and at this moment, the power device executes a previous power communication protocol, so that the device uses the original function. Thereby realizing the configuration of the power communication protocol of the function.
It should be further noted that, when a request power communication instruction in a communication request received by the power device does not correspond to a power communication protocol configuration power communication protocol, it indicates that the power device does not perform power communication protocol configuration on a function corresponding to the request power communication instruction, and at this time, the power device directly executes the power communication protocol corresponding to the request power communication instruction.
If the function corresponding to the power communication request instruction is upgraded but the power communication protocol configuration is not needed, the power device executes the upgraded new power communication protocol, and if the function corresponding to the power communication request instruction is not upgraded, the power device executes the previous power communication protocol.
Only treat that the new electric power communication stipulation of electric power communication stipulation configuration has carried out the electric power communication stipulation restriction in this embodiment, do not carry out the electric power communication stipulation restriction to other new electric power communication stipulations, so when treating that the new electric power communication stipulation of electric power communication stipulation configuration goes wrong and need withdraw to preceding electric power communication stipulation, the state that only needs to dispose the electric power communication stipulation in the server is invalid state, can realize treating the withdrawal of the new electric power communication stipulation of electric power communication stipulation configuration, and the new electric power communication stipulation that is not used for the electric power communication stipulation configuration can not be withdrawn, all new electric power communication stipulations all are all withdrawn when having avoided new electric power communication stipulations.
It is further noted that the method further comprises:
the method comprises the steps that a server receives an electric power communication protocol configuration instruction, and an electric power communication protocol identifier to be configured is determined according to the electric power communication protocol configuration instruction, wherein the electric power communication protocol configuration instruction is sent when the server is configured according to a preset electric power communication protocol; and the server updates the corresponding power communication protocol in the server according to the power communication protocol identifier to be configured.
Wherein, in the configuration of electric power communication stipulation in-process, need progressively increase the equipment quantity that uses the electric power communication stipulation of treating, all use this new electric power communication stipulation until all equipment, the electric power communication stipulation of control electric power communication stipulation equipment quantity need progressively dispose to guarantee system steady operation.
And configuring the power communication protocol on line in the server according to the demand of the power device, thereby changing the number of power communication protocol equipment.
In this embodiment, when the electric power communication protocol takes place the configuration, the server generates electric power communication protocol configuration instruction according to the electric power communication protocol sign of configuration to in sending this electric power communication protocol configuration instruction to the server, with the notice server reload electric power communication protocol, the electric power communication protocol that corresponds in the update server, and then make the server confirm the corresponding protocol device sign that has configured according to the electric power communication protocol after the configuration. The configuration version does not need to be modified in the configuration of the power communication protocol, so that the configuration efficiency of the power communication protocol is improved.
When finding that the updated power communication protocol is wrong to execute or when a problem occurs in the use process of the new power communication protocol configured by the power communication protocol, the configured protocol device identifications corresponding to all equipment IDs can be non-power communication protocol identifications through configuring the power communication protocol, so that all power devices execute the prior power communication protocol, and the function withdrawal is realized. In the process of withdrawing the version, new power communication protocols which are not used for power communication protocol configuration cannot be withdrawn, so that the problem that all new power communication protocols are withdrawn when the new version is withdrawn in the prior art is solved.
The power communication protocol configuration system in this embodiment can support dynamic configuration and dynamically withdraw, and power communication protocol configuration can take effect in real time, thereby optimizing the power communication protocol configuration process.
According to the embodiment of the invention, a server receives an equipment ID and a target power communication protocol identification sent by a target power device; the server determines a matched protocol device identifier corresponding to the equipment ID according to the equipment ID, the target power communication protocol identifier and at least one preset power communication protocol; and the server sends the matched protocol device identifier to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identifier. The power communication protocol in the embodiment can be dynamically configured to further realize configuration of the power communication protocol, so that the defect that the power communication protocol needs to be reconfigured every time in the prior art is overcome, and the configuration efficiency is improved.
The present invention also provides a power communication protocol configuration system, as shown in fig. 2, including: a server 1 and a plurality of power devices 2.
Each power device 2 is in communication connection with the server 1, and each power device 2 is used for sending the equipment ID and the power communication protocol identifier to the server 1 and determining a power communication protocol corresponding to the equipment ID according to the received configured protocol device identifier;
the server is used for configuring the power communication protocols corresponding to the power devices 2 and configuring the power communication protocols in the system in real time.
In the embodiment provided by the invention, when any power device 2 receives a communication request input by a user or generated according to operation needs of a system, the power device 2 determines a target power communication protocol identifier corresponding to a request power communication instruction according to the request power communication instruction in the received communication request, and transmits a device ID and the target power communication protocol identifier in the communication request to the server 1.
The server 1 determines a configured protocol device identifier corresponding to the device ID according to the received device ID, the target power communication protocol identifier and at least one preset power communication protocol, and sends the configured protocol device identifier to the power device 2.
And the power device 2 determines the power communication protocol corresponding to the equipment ID in the communication request according to the received configured protocol device identifier, so that power communication protocol configuration is realized. When configuring the power communication protocol corresponding to each power device 2, the server generates a power communication protocol configuration instruction according to the power communication protocol identifier to be configured, and sends the power communication protocol configuration instruction to the power device 2.
It should be further noted that, in the power device 2, if the already-assigned protocol device identifier is the power communication protocol identifier, it is determined that the power communication protocol corresponding to the device ID is the updated power communication protocol; and if the configured protocol device identifier is a non-power communication protocol identifier, determining that the power communication protocol corresponding to the equipment ID is a prior power communication protocol.
In this embodiment, if the server 1 accesses a new power device based on an existing power device, it allocates a power communication protocol to the new power device, and configures a power communication protocol identifier corresponding to the new power communication protocol.
According to the power communication protocol configuration system, the server dynamically configures the power communication protocol on line according to the use environment, the communication condition or the control mode input by the user, and the server is informed to update the power communication protocol during power communication protocol configuration, so that the system can support addition, deletion, modification and check of flexible and variable power communication protocols, the power communication protocol configuration process is optimized, and the communication performance and the power communication protocol configuration efficiency of the system are improved.
The invention also provides a server for realizing the configuration method of the power communication protocol, which comprises the following steps: the storage is used for storing a computer program and a power communication protocol configuration method; and the processor is used for executing the computer program and the power communication protocol configuration method so as to realize the steps of the power communication protocol configuration method.
The invention also provides a readable storage medium with the power communication protocol configuration method, wherein the readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the power communication protocol configuration method.
The server implementing the power communication protocol configuration method is the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein, and can be implemented in electronic hardware, computer software, or a combination of both, the components and steps of the examples having been generally described in terms of functionality in the foregoing description for clarity of illustrating the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Readable storage medium is used as storage medium of server, and it is easily understood by those skilled in the art from the above description of the embodiments that the above method and system can be stored in a non-volatile storage medium (which may be CD-ROM, U-disk, removable hard disk, etc.) or on a network, and include several instructions to make a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the indexing method according to the embodiments of the present disclosure.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A power communication protocol configuration method is characterized by comprising the following steps:
the method comprises the following steps that firstly, a server receives an equipment ID and a target power communication protocol identification which are sent by a target power device;
secondly, the server identifies according to the equipment ID, the target power communication protocol identifier and a matched protocol device identifier corresponding to at least one preset power communication protocol;
and step three, the server sends the matched protocol device identifier to the target power device, so that the target power device determines the power communication protocol corresponding to the equipment ID according to the matched protocol device identifier.
2. The power communication protocol configuration method according to claim 1,
the second step further comprises: the server determines a target power communication protocol according to the target power communication protocol identifier and at least one preset power communication protocol;
the target power communication protocol comprises at least one communication protocol and/or power communication protocol communication range; and the server determines the matched protocol device identifier corresponding to the equipment ID according to the equipment ID and the target power communication protocol.
3. The power communication protocol configuration method according to claim 2,
the server determines the configured protocol device identifier corresponding to the equipment ID according to the equipment ID and the target power communication protocol, and further comprises:
the server traverses a communication protocol in the target power communication protocol and determines whether the equipment ID meets the communication protocol;
if the equipment ID meets the condition that the number of the communication protocols is larger than or equal to the preset number and/or the equipment ID is successfully matched in the electric power communication protocol communication range, determining that the matched protocol device identifier is the electric power communication protocol identifier, and otherwise, determining that the matched protocol device identifier is a non-electric power communication protocol identifier.
4. The power communication protocol configuration method according to claim 2,
the server determines the configured protocol device identifier corresponding to the equipment ID according to the equipment ID and the target power communication protocol, and further comprises:
the server matches the equipment ID in the power communication protocol communication range; and if the matching is successful, adding the matched protocol device identifier into the power communication protocol, otherwise, configuring the equipment ID into a non-power communication protocol identifier in the power communication protocol.
5. The power communication protocol configuration method according to claim 1,
the third step also comprises: if the matched protocol device identifier is an electric power communication protocol identifier, determining that an electric power communication protocol corresponding to the equipment ID is an updated electric power communication protocol; and if the configured protocol device identifier is a non-power communication protocol identifier, determining that the power communication protocol corresponding to the equipment ID is a prior power communication protocol.
6. The power communication protocol configuration method according to claim 1,
the method further comprises the following steps:
when a target power communication protocol relates to a power communication protocol communication range, if network resources occupied by batch communication data in one or more power communication protocol communication ranges exceed a preset threshold value, a server acquires a communication range of each power device based on the power communication protocol in real time according to a power communication protocol identification;
the communication range of each power communication protocol corresponds to a preset communication channel and a communication cache, and a communication time period is configured;
when the power device communicates, communicating the communication data through the communication channel, and storing the communication data through the communication cache;
and if the communication time period is exceeded, the communication channel and the communication are slowly withdrawn, an idle state is changed, and data is cleared.
7. The power communication protocol configuration method according to claim 1,
the method further comprises the following steps: when the requested power communication instruction in the communication request received by the power device corresponds to a function other than a power communication protocol configuration function, the power device indicates that the power device does not perform power communication protocol configuration on the function corresponding to the requested power communication instruction, and at the moment, the power device directly executes the function corresponding to the requested power communication instruction;
if the power communication protocol corresponding to the request power communication instruction is upgraded, but the power communication protocol configuration is not needed, the power device executes the upgraded new power communication protocol, and if the power communication protocol corresponding to the request power communication instruction is not upgraded, the power device executes the prior power communication protocol.
8. A power communication protocol configuration system, comprising: a server and a plurality of power devices;
each power device is in communication connection with the server and is used for sending the equipment ID and the power communication protocol identification to the server and determining a power communication protocol corresponding to the equipment ID according to the received configured protocol device identification;
the server is used for configuring the electric power communication protocols corresponding to the electric power devices and configuring the electric power communication protocols in the system in real time.
9. A server for implementing a power communication protocol configuration method is characterized by comprising the following steps:
the storage is used for storing a computer program and a power communication protocol configuration method;
a processor for executing a computer program and a power communication protocol configuration method to implement the steps of the power communication protocol configuration method according to any one of claims 1 to 7.
10. A readable storage medium having a power communication protocol configuration method, wherein the readable storage medium has a computer program stored thereon, the computer program being executed by a processor to implement the steps of the power communication protocol configuration method according to any one of claims 1 to 7.
CN202011035927.0A 2020-09-27 2020-09-27 Power communication protocol configuration method, system, server and readable storage medium Active CN112311591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011035927.0A CN112311591B (en) 2020-09-27 2020-09-27 Power communication protocol configuration method, system, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011035927.0A CN112311591B (en) 2020-09-27 2020-09-27 Power communication protocol configuration method, system, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN112311591A true CN112311591A (en) 2021-02-02
CN112311591B CN112311591B (en) 2023-01-24

Family

ID=74488894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011035927.0A Active CN112311591B (en) 2020-09-27 2020-09-27 Power communication protocol configuration method, system, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN112311591B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115864661A (en) * 2023-03-02 2023-03-28 国网山东省电力公司新泰市供电公司 Remote monitoring method for operating data of power equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077549A1 (en) * 2007-09-17 2009-03-19 Sony Corporation System, Apparatus, and Method for an Upgrader Module
US20130006400A1 (en) * 2011-06-30 2013-01-03 Ayla Networks, Inc. Communicating Through a Server Between Appliances and Applications
CN105635146A (en) * 2015-12-28 2016-06-01 美的集团股份有限公司 Method and system for configuring protocol dynamically
CN108184170A (en) * 2017-11-27 2018-06-19 北京奇艺世纪科技有限公司 A kind of data processing method and device
CN110838936A (en) * 2019-02-21 2020-02-25 南方电网科学研究院有限责任公司 Power distribution communication network management device and method
CN111510476A (en) * 2020-04-03 2020-08-07 金蝶软件(中国)有限公司 Communication method, communication apparatus, computer device, and computer-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077549A1 (en) * 2007-09-17 2009-03-19 Sony Corporation System, Apparatus, and Method for an Upgrader Module
US20130006400A1 (en) * 2011-06-30 2013-01-03 Ayla Networks, Inc. Communicating Through a Server Between Appliances and Applications
CN105635146A (en) * 2015-12-28 2016-06-01 美的集团股份有限公司 Method and system for configuring protocol dynamically
CN108184170A (en) * 2017-11-27 2018-06-19 北京奇艺世纪科技有限公司 A kind of data processing method and device
CN110838936A (en) * 2019-02-21 2020-02-25 南方电网科学研究院有限责任公司 Power distribution communication network management device and method
CN111510476A (en) * 2020-04-03 2020-08-07 金蝶软件(中国)有限公司 Communication method, communication apparatus, computer device, and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115864661A (en) * 2023-03-02 2023-03-28 国网山东省电力公司新泰市供电公司 Remote monitoring method for operating data of power equipment

Also Published As

Publication number Publication date
CN112311591B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
US10735554B1 (en) System for controlling use of a network
CN109891830B (en) Function scheduling method, device and system
CN109428839B (en) CDN scheduling method, device and system
US20160308824A1 (en) Method for determining gre tunnel, gateway device, and access site
KR20140010206A (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
EP4161143A1 (en) Network slice allocation method, terminal, and storage medium
CN104427275B (en) The method and electronic equipment of apparatus interconnection control
CN112311591B (en) Power communication protocol configuration method, system, server and readable storage medium
JP7066734B2 (en) Control plane connection management method and equipment
CN107534917B (en) Switching method, master device, slave device and system in master-slave network
CN104243089A (en) System and method for dynamically adjusting data transmission rate
US9043618B2 (en) Drawing power over network cable
CN105684478A (en) Discovery of wi-fi direct services via discovery probe
KR20090076712A (en) Firmware upgrade system
US20050257212A1 (en) System and method for autonomic software delivery for personal area networks
CN112433480B (en) Intelligent household system and control method and device thereof
JP5679316B2 (en) Information processing apparatus and information processing program
CN105722192A (en) Network connection method, electronic device and system
CN110868759B (en) Interference coordination method and device, and base station
CN110012535B (en) Tracking area update period determination method, user equipment and network side equipment
CN105760770A (en) Information processing method and electronic device
JP2019110589A (en) Radio network access control method, device, and system
US10225176B2 (en) Method, apparatus and non-transitory computer-readable medium for delivering packets
US20230345361A1 (en) Power management scheme for wireless devices

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