CN112738291B - Resource management method, device, system, electronic equipment and storage medium - Google Patents

Resource management method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112738291B
CN112738291B CN202011568966.7A CN202011568966A CN112738291B CN 112738291 B CN112738291 B CN 112738291B CN 202011568966 A CN202011568966 A CN 202011568966A CN 112738291 B CN112738291 B CN 112738291B
Authority
CN
China
Prior art keywords
port
communication protocol
monitoring unit
resource
queried
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
Application number
CN202011568966.7A
Other languages
Chinese (zh)
Other versions
CN112738291A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011568966.7A priority Critical patent/CN112738291B/en
Publication of CN112738291A publication Critical patent/CN112738291A/en
Application granted granted Critical
Publication of CN112738291B publication Critical patent/CN112738291B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/663Transport layer addresses, e.g. aspects of transmission control protocol [TCP] or user datagram protocol [UDP] ports
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a resource management method, a device, a system, electronic equipment and a storage medium. The method comprises the following steps: receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried; determining port information data according to the port information type to be queried; and feeding back a port resource query result, wherein the port resource query result comprises resource management codes of the target monitoring unit and the port information data. The monitoring center sends a port resource query request to the target monitoring unit, and the target monitoring unit queries port state information according to the request and feeds back the port state information to the monitoring center. The query and management of the monitoring center to the port resources of the monitoring unit are realized, and the monitoring management efficiency of the whole monitoring system can be further improved.

Description

Resource management method, device, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to communication technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for resource management.
Background
The communication power supply and machine room environment monitoring system (called as a movable ring monitoring system for short) is a computer control system which carries out remote measurement, remote signaling, remote regulation and remote control on various parameters of various power equipment such as a power cabinet, an uninterruptible power supply (Uninterruptible Power Supply, UPS), an air conditioner, a storage battery and the like distributed in each machine room and machine room environments such as door magnetism, infrared, window breaking, water immersion, temperature and humidity, smoke feeling and the like, monitors operation parameters in real time, diagnoses and processes faults, records and analyzes related data, and carries out centralized monitoring and centralized maintenance on equipment. The ring monitoring system (Supervision System, SS) typically monitors and manages monitoring units (SU) in the jurisdiction through a monitoring center (Supervision Center, SC). The monitoring unit generally consists of several monitoring modules and other auxiliary equipment (e.g., field monitoring acquisition units, monitoring modules, network communication devices, various types of sensors, transmitters, etc.).
In order to better realize the monitoring and maintenance of the equipment to be monitored based on the dynamic ring monitoring system, a plurality of related technical specifications exist in the communication industry at present. However, these specifications merely set forth the management standard of the information of the device to be monitored, and do not pay attention to the resource management of the monitoring system itself. The performance of the dynamic ring monitoring system is limited, and the monitoring management efficiency is low.
Disclosure of Invention
The application provides a resource management method, a device, a system, electronic equipment and a storage medium. And the port resources of the monitoring system are managed, so that the monitoring management efficiency of the whole system is further improved.
In a first aspect, the present application provides a resource management method, including:
receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
determining port information data according to the port information type to be queried;
and feeding back a port resource query result, wherein the port resource query result comprises resource management codes of the target monitoring unit and the port information data.
Optionally, the type of the port information to be queried includes at least one of the following:
a port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
Port parameters for representing port status, comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
Optionally, the type of the port information to be queried includes a port number, a port use state, a down-hanging device communication protocol, and a down-hanging device communication protocol version;
the method further comprises the steps of:
receiving a communication protocol to be updated sent by a monitoring center, wherein the communication protocol to be updated is sent by the monitoring center when the communication protocol to be updated is determined according to the received port information data;
and updating the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
In a second aspect, the present application provides a resource management method, including:
Sending a port resource query request, wherein the port resource query request comprises resource management codes of a target monitoring unit and port information types to be queried;
receiving a port resource query result, wherein the port resource query result is fed back after a target monitoring unit determines port information data according to the port information type to be queried, and the port resource query result comprises resource encoding of the target monitoring unit and the port information data;
and managing the equipment to be monitored of the target monitoring unit according to the port resource query result.
Optionally, the type of the port information to be queried includes at least one of the following:
a port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
port parameters for representing port status, comprising: serial port baud rate, IP address;
The communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
Optionally, the type of the port information to be queried includes a port number, a port use state, a down-hanging device communication protocol, and a down-hanging device communication protocol version;
the device to be monitored of the management target monitoring unit according to the port resource query result comprises:
determining whether a communication protocol to be updated exists according to the received port information data;
and if the communication protocol to be updated exists, sending the communication protocol to be updated to the target monitoring unit according to port number data corresponding to the communication protocol to be updated, so that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
Optionally, the port information type to be queried includes a port type, a port number, a port name, and a port use state;
The device to be monitored of the management target monitoring unit according to the port resource query result comprises:
determining whether an idle port of a target type exists according to the received port information data;
if the idle port of the target type exists, outputting prompt information supporting to increase the equipment of the target type according to port number data and port name data of the target type.
Optionally, the method further comprises:
and generating a port resource report according to the port resource query result.
In a third aspect, the present application provides a resource management device, including:
the receiving module is used for receiving a port resource query request sent by the monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
the port information data determining module is used for determining port information data according to the port information type to be queried;
and the sending module is used for feeding back a port resource query result, wherein the port resource query result comprises resource management codes of the target monitoring unit and the port information data.
In a fourth aspect, the present application provides a resource management device, including:
the sending module is used for sending a port resource query request, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
The receiving module is used for receiving a port resource query result, wherein the port resource query result is fed back after the target monitoring unit determines port information data according to the port information type to be queried, and the port resource query result comprises resource management codes of the target monitoring unit and the port information data;
and the management module is used for managing the equipment to be monitored of the target monitoring unit according to the port resource query result.
In a fifth aspect, the present application provides an electronic device, comprising: a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling and executing the program instructions in the memory and executing the method of the first aspect.
In a sixth aspect, the present application provides an electronic device, including: a memory and a processor;
a memory for storing program instructions;
and a processor for calling and executing program instructions in the memory to perform the method of the second aspect.
In a seventh aspect, the present application provides a resource management system, including: the system comprises a monitoring center, a plurality of monitoring units and a plurality of terminal devices; the monitoring center monitors a plurality of terminal devices through a plurality of monitoring units;
Wherein the monitoring center performs the method of the second aspect; the plurality of monitoring units performs the method of the first aspect.
In an eighth aspect, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as described in the first aspect.
In a ninth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method according to the second aspect.
In a tenth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect.
In an eleventh aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of the second aspect.
The application provides a resource management method, a device, a system, electronic equipment and a storage medium. The method comprises the following steps: receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried; determining port information data according to the port information type to be queried; and feeding back a port resource query result, wherein the port resource query result comprises resource management codes of the target monitoring unit and the port information data. The monitoring center sends a port resource query request to the target monitoring unit, and the target monitoring unit queries port state information according to the request and feeds back the port state information to the monitoring center. The query and management of the monitoring center to the port resources of the monitoring unit are realized, and the monitoring management efficiency of the whole monitoring system can be further improved.
Drawings
For a clearer description of the technical solutions of the present application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the present application, and that other drawings can be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario provided in the present application;
FIG. 2 is a flowchart of a method for resource management according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another resource management method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a resource management device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another resource management device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a resource management system according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
For SU resource access cases (i.e., device port usage), none of the relevant technical specifications are involved. The SU manufacturer may have a relevant statistical approach but is not disclosed externally. Therefore, a unified specification cannot be formed in the related field, the state of the SU resource cannot be known in time, and the state information of the SU resource can be determined only by carrying out detailed record or field check on the state of the resource by operation and maintenance personnel, so that the monitoring and management efficiency of the SU resource is lower.
Accordingly, the application proposes a resource management method, apparatus, system, electronic device and storage medium. The method aims at forming a general SU resource management scheme, realizing interface standardization, being beneficial to grasping the resource utilization condition of SU and counting resource information and improving the monitoring management efficiency of SU resources.
Fig. 1 is a schematic diagram of an application scenario provided in the present application. As shown in fig. 1, the monitoring center is in communication connection with a plurality of monitoring units (3 are shown as examples in the figure) through a B interface protocol, and each monitoring unit is connected with a variable number of terminal devices (3 are shown as examples in the figure) through an a interface protocol, so as to form a dynamic ring monitoring system. The monitoring unit collects the relevant state information of each terminal device and reports the relevant state information to the monitoring center, so that the monitoring management of each terminal device is realized. The terminal device may be a related device in a power system, for example, a switching power supply, an uninterruptible power supply UPS, and the like. Meanwhile, the monitoring center can monitor and manage the interface resources of the monitoring unit by requesting the interface state information of the monitoring unit.
For a specific implementation manner of interface resource monitoring management, reference may be made to any of the following embodiments.
Fig. 2 is a flowchart of a resource management method according to an embodiment of the present application. The execution body of the embodiment may be a monitoring unit, as shown in fig. 2, and the method of the embodiment may include:
s201, receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises resource management codes of a target monitoring unit and port information types to be queried.
Wherein the asset management code is a unique code formulated for each device resource to facilitate asset management. SU and SU-down devices, such as switching power supplies, UPS, etc., can be defined as device resources, and their corresponding asset codes are generated by the SC platform. The asset code may be a 32-bit string, e.g., an asset code of a device is "d39b37b98606404cad9077ae29884330". And when the SC generates the resource pipe codes, the SC can ensure the unification of the whole network of the codes based on the fault-tolerant error correction function.
When the monitoring center sends a port resource query request, the resource management code of the queried target monitoring unit is added into the request so that the request can be sent to the corresponding target monitoring unit. At the same time, the type of port information to be queried is marked in the request, for example, certain information of a certain port is queried.
In some embodiments, the monitoring center directly sends the port resource query request to each monitoring unit in jurisdiction, each monitoring unit compares the resource encoding in the request with the resource encoding of the monitoring unit after receiving the request information, and determines whether the monitoring unit is a target monitoring unit or not, if so, the subsequent steps are sequentially executed, otherwise, the request information is ignored.
In other embodiments, the monitoring center queries its communication address based on the asset code of the target monitoring unit and sends a port resource query request to the target monitoring unit.
In other embodiments, the monitoring center sends the port resource query request to an intermediate device for forwarding, the intermediate device parses the request, queries the communication address of the corresponding monitoring unit according to the resource management code therein, and forwards the request to the corresponding monitoring unit.
In addition, the same port resource inquiry request can contain a plurality of resource codes so as to inquire the port information of a plurality of target monitoring units at the same time.
S202, determining port information data according to the type of the port information to be queried.
After receiving the port resource query request, the target monitoring unit can obtain the port information type to be queried contained in the port resource query request through analysis.
In some embodiments, the target monitoring unit may determine the corresponding port information data in a targeted manner according to the type of port information to be queried.
In other embodiments, the target monitoring unit may determine port information data of each port, and then select corresponding port information data from the port information data according to the type of port information to be queried.
S203, feeding back a port resource query result, wherein the port resource query result comprises resource management codes and port information data of the target monitoring unit.
And the target monitoring unit feeds back the determined port information data and resource management codes to the monitoring center. Correspondingly, the monitoring center receives the port resource query result. It is possible to determine to which monitoring unit the received port information data belongs according to the asset coding. In addition, the port resource state of the target monitoring unit can be determined according to the port information data, so that corresponding management operation can be performed.
The resource management method provided by the embodiment comprises the following steps: receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried; determining port information data according to the type of the port information to be queried; and feeding back a port resource query result, wherein the port resource query result comprises resource encoding and port information data of the target monitoring unit. The monitoring center sends a port resource query request to the target monitoring unit, and the target monitoring unit queries port state information according to the request and feeds back the port state information to the monitoring center. The query and management of the monitoring center to the port resources of the monitoring unit are realized, and the monitoring management efficiency of the whole monitoring system can be further improved.
In some embodiments, the above-mentioned port information types to be queried may include at least one of the following: port type, port number, port name, port usage status, port parameters, on-hook device communication address, on-hook device communication protocol version, on-hook device access time, etc.
The port type is used for representing the type of the equipment to be monitored of the connection supported by the port, and comprises the following steps: serial port, this board interface, battery monitor board interface, net port, etc.; port number for indicating port number; port name, for representing the name of a port, comprising: serial port, home board, battery monitoring board, network port, etc.; port usage status for indicating whether a port is used, comprising: a use state, an idle state; port parameters for representing port status, comprising: serial port baud rate, IP address; the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port; the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port; the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port; and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
The above are just some of the port information types listed, and other types may be added according to the actual situation. When the monitoring center issues a port resource query request, the port information type to be queried can be determined according to a specific resource management target.
In some embodiments, if the resource management target of the monitoring center is to update the port communication protocol version of the target monitoring unit, the port information type to be queried may be determined as the port number, the port use state, the on-hook device communication protocol version, and the like, so as to implement the query of the port communication protocol version of the target monitoring unit. And then whether the communication protocol to be updated exists or not can be determined, and if the communication protocol to be updated exists, the communication protocol to be updated is sent to the target monitoring unit according to the port number data corresponding to the communication protocol to be updated. Correspondingly, the target monitoring unit receives the communication protocol to be updated sent by the monitoring center, and updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
Therefore, the remote updating of the communication protocol version of the port and the equipment can be realized, the workload of operation and maintenance personnel is reduced, and the overall management efficiency is improved.
In addition, when the port-connected equipment is replaced, the method can also be used for judging whether the communication protocol needs to be changed or not, and meanwhile, when the communication protocol needs to be changed, remote updating can be directly carried out.
In other embodiments, if the resource management target of the monitoring center is to determine whether the target monitoring unit supports the device resource of the extended target type, the port information type to be queried may be determined as the port type, the port number, the port name, the port usage status, etc. so as to implement the query on the usage status of the port resource of the target monitoring unit. And then whether the idle ports of the target type exist or not can be determined, if the idle ports of the target type exist, prompt information supporting the increase of the target type equipment is output according to the port number data and the port name data of the target type. Otherwise, a prompt message that does not support adding the target type device may be output.
Under the condition that the expansion equipment is required, whether an idle port exists or not can be determined by the method, and an operator does not need to arrive at the site to check port information, so that the overall management efficiency is improved.
So that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
In addition, the monitoring center can also generate a report according to the query result, display the report through an interactive interface or send the report to the operation and maintenance personnel terminal. The port state of the target monitoring unit is conveniently analyzed by operation and maintenance personnel according to report information.
Fig. 3 is a flowchart of another resource management method according to an embodiment of the present application. The execution body of the embodiment may be a monitoring center, as shown in fig. 3, and the method of the embodiment may include:
s301, sending a port resource query request, wherein the port resource query request comprises resource management codes of a target monitoring unit and port information types to be queried.
S302, receiving a port resource query result, wherein the port resource query result is fed back after the target monitoring unit determines port information data according to the port information type to be queried, and the port resource query result comprises resource management codes and port information data of the target monitoring unit.
S303, managing the equipment to be monitored of the target monitoring unit according to the port resource query result.
Optionally, the type of the port information to be queried includes at least one of the following:
a port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
Port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
port parameters for representing port status, comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
Optionally, the port information type to be queried includes a port number, a port use state, a down-hanging device communication protocol, and a down-hanging device communication protocol version;
according to the port resource query result, the device to be monitored of the target monitoring unit is managed, including:
determining whether a communication protocol to be updated exists according to the received port information data;
and if the communication protocol to be updated exists, sending the communication protocol to be updated to the target monitoring unit according to port number data corresponding to the communication protocol to be updated, so that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
Optionally, the port information types to be queried include port types, port numbers, port names and port use states;
according to the port resource query result, the device to be monitored of the target monitoring unit is managed, including:
determining whether an idle port of a target type exists according to the received port information data;
if the idle port of the target type exists, outputting prompt information supporting to increase the equipment of the target type according to port number data and port name data of the target type.
Optionally, the method further comprises:
and generating a port resource report according to the port resource query result.
The method of the present embodiment corresponds to the method of the foregoing embodiment, has the same technical features, and can achieve the same technical effects, and will not be described herein again.
In a specific embodiment, asset management is finally achieved by suspending all device resources under SU statistics.
First, the asset management code of the SU is determined, facilitating asset management.
The resource management method is used for defining what equipment is mounted on the SU, so that the statistics of resources is convenient, further, the port utilization condition of the SU is defined, more beneficial basis is provided for project expansion, bid-inviting and the like, and the waste of equipment and resources is avoided.
Specifically, the SC platform initiates a port resource query request, and the SU feeds back a port resource query result to the platform after receiving the request. The basic flow is as follows:
the request information of the SC should at least contain the resource management code of the SU, and the corresponding SU responds after receiving the request information. The response information of the SU should include the resource encoding of the SU, and at the same time, the port information is reported as if the port information is reported, and if the port is not connected with a device, the port information is represented by an empty character.
The port information type for the response of SU is defined in order as follows:
the field PortType, i.e. port type, is first defined. SU shall specify the hardware interface type, if serial, it shall further specify the port type as either smart device (Intelligent analysis, abbreviated and transmitted as IA) or transparent port (Transparent channel, abbreviated and transmitted as TC); if the current analog quantity AI/voltage analog quantity DI/state quantity DO/IIC is the current board, the port type is further required to be described; if the battery monitoring board is used, the field content can be the total voltage; in the case of a portal, further explanation of network transport protocols (e.g., transmission control protocol (Transmission Control Protocol, TCP), user datagram protocol (User Datagram Protocol, UDP), hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP), simple network management protocol (Simple Network Management Protocol, SNMP), etc.) is required. The port type and transmission character are specified here.
The field PortNo, i.e. port number, is further defined. For example, a number that may begin with 01 indicates a number of ports. The port start numbers are defined, so that all factories are unified, and confusion caused by different start numbers is avoided.
The field PortName, i.e. port name, is further defined. Including a local (Board) Port, a Serial Port (Serial Port, battery monitoring Board (Battery monitoring Board, network), and a Network Port. Where the plate represents the interface where the SU accesses its own signals. Other names may be added depending on the actual situation.
The field PortUsed, i.e. port usage status, is further defined. Whether the port is used or not is determined, and after the SC obtains the information, a detailed report can be formed, so that basis is provided for engineering capacity expansion, transformation and bid-inviting.
The field Settings, i.e. the port parameter, is further defined. If the port type is serial port, the baud rate of the serial port needs to be determined; if the port type is a network device, an explicit IP address is required.
The field Address, i.e. the smart device communication Address, is further defined. For non-intelligent devices, such as the present board sensor type, this field is not enabled.
The field Protocol, i.e. the Protocol used by the port down-hanging intelligent device, is further defined. For non-intelligent devices, such as the present board sensor type, this field is not enabled. The protocol version of the intelligent equipment is defined, unified management and upgrading of the protocol are facilitated, and meanwhile, the detailed information of the intelligent equipment can be obtained.
The field Version, i.e. the protocol Version used by the port down intelligent device, is further defined. For non-intelligent devices, such as the present board sensor type, this field is not enabled. And the method is used in combination with a field Protocol to form a unified report form at the SC, so that the unified management and upgrading of the Protocol are facilitated.
The field UpdateTime, i.e. the time when the device is suspended from the port, i.e. the time when the device is monitored for access, is further defined.
Fig. 4 is a schematic structural diagram of a resource management device according to an embodiment of the present application, and as shown in fig. 4, a model management device 400 according to the present embodiment may include: a receiving module 401, a port information data determining module 402, and a transmitting module 403.
The receiving module 401 is configured to receive a port resource query request sent by the monitoring center, where the port resource query request includes a resource management code of the target monitoring unit and a port information type to be queried;
A port information data determining module 402, configured to determine port information data according to a type of port information to be queried;
and the sending module 403 is configured to feed back a port resource query result, where the port resource query result includes resource management codes and port information data of the target monitoring unit.
Optionally, the type of the port information to be queried includes at least one of the following:
a port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
port parameters for representing port status, comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
And the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
Optionally, the port information type to be queried includes a port number, a port use state, a down-hanging device communication protocol, and a down-hanging device communication protocol version;
the receiving module 401 is further configured to receive a communication protocol to be updated sent by the monitoring center, where the communication protocol to be updated is sent by the monitoring center when determining, according to the received port information data, that the communication protocol to be updated is to be updated;
the apparatus 400 further comprises: and the updating module 404 is configured to update the communication protocol of the corresponding port and the communication protocol of the device to be monitored connected to the corresponding port according to the communication protocol to be updated.
The device of the present embodiment may be used to execute the method executed by the monitoring unit in any of the foregoing embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 5 is a schematic structural diagram of a resource management device according to an embodiment of the present application, and as shown in fig. 5, a model management device 500 according to the present embodiment may include: a transmitting module 501, a receiving module 502 and a managing module 503.
A sending module 501, configured to send a port resource query request, where the port resource query request includes a resource management code of a target monitoring unit and a port information type to be queried;
The receiving module 502 is configured to receive a port resource query result, where the port resource query result is fed back after the port information data is determined by the target monitoring unit according to the port information type to be queried, and the port resource query result includes resource encoding and port information data of the target monitoring unit;
and the management module 503 is configured to manage the device to be monitored of the target monitoring unit according to the port resource query result.
Optionally, the type of the port information to be queried includes at least one of the following:
a port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
port parameters for representing port status, comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
The communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
Optionally, the port information type to be queried includes a port number, a port use state, a down-hanging device communication protocol, and a down-hanging device communication protocol version;
the management module 503 specifically is configured to:
determining whether a communication protocol to be updated exists according to the received port information data;
and if the communication protocol to be updated exists, sending the communication protocol to be updated to the target monitoring unit according to port number data corresponding to the communication protocol to be updated, so that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
Optionally, the port information types to be queried include port types, port numbers, port names and port use states;
the management module 503 specifically is configured to:
determining whether an idle port of a target type exists according to the received port information data;
if the idle port of the target type exists, outputting prompt information supporting to increase the equipment of the target type according to port number data and port name data of the target type.
Optionally, the apparatus 500 further includes: report generation module 504 for: and generating a port resource report according to the port resource query result.
The device of the present embodiment may be used to execute the method executed by the monitoring center in any of the foregoing embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 6, an electronic device 600 according to the present embodiment may include: memory 601, and processor 602.
A memory 601 for storing program instructions.
The processor 602 is configured to call and execute the program instructions in the memory 601, and perform the method of any of the above embodiments, and its implementation principle and technical effects are similar, and will not be described herein again.
Specifically, the electronic device in this embodiment may be a monitoring center device or a monitoring unit device.
Fig. 7 is a schematic structural diagram of a resource management system according to an embodiment of the present application, as shown in fig. 7, a resource management system 700 of the present application includes: a monitoring center 701, a plurality of monitoring units 702, a plurality of terminal devices 703; the monitoring center monitors a plurality of terminal devices 703 through a plurality of monitoring units 702;
Wherein the monitoring center 701 performs the method of the monitoring center in the above embodiment; the plurality of monitoring units 702 perform the method of monitoring units in the above-described embodiment. The implementation principle and technical effect are similar, and are not repeated here.
The present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in any of the above embodiments.
The present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method of any of the embodiments above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A resource management method applied to a monitoring unit, comprising:
receiving a port resource query request sent by a monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
determining port information data according to the port information type to be queried;
feeding back a port resource query result, wherein the port resource query result comprises resource management codes of a target monitoring unit and the port information data;
the port information types to be queried comprise port numbers, port use states, a hanging-down device communication protocol and a hanging-down device communication protocol version;
the method further comprises the steps of:
receiving a communication protocol to be updated sent by the monitoring center, wherein the communication protocol to be updated is sent by the monitoring center when the communication protocol to be updated is determined according to the received port information data;
and updating the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
2. The method of claim 1, wherein the type of port information to be queried comprises at least one of:
The port type is used for representing the type of the device to be monitored of the connection supported by the port, and the port type comprises: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
a port name for representing a name of a port, the port name comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, the port usage status including: a use state, an idle state;
a port parameter for representing a port state, the port parameter comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
3. A resource management method applied to a monitoring center, comprising:
sending a port resource query request, wherein the port resource query request comprises resource management codes of a target monitoring unit and port information types to be queried;
Receiving a port resource query result, wherein the port resource query result is fed back after a target monitoring unit determines port information data according to the port information type to be queried, and the port resource query result comprises resource encoding of the target monitoring unit and the port information data;
according to the port resource query result, managing the equipment to be monitored of the target monitoring unit;
the port information types to be queried comprise port numbers, port use states, a hanging-down device communication protocol and a hanging-down device communication protocol version;
the device to be monitored of the management target monitoring unit according to the port resource query result comprises:
determining whether a communication protocol to be updated exists according to the received port information data;
and if the communication protocol to be updated exists, sending the communication protocol to be updated to the target monitoring unit according to the port number data corresponding to the communication protocol to be updated, so that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
4. A method according to claim 3, wherein the type of port information to be queried comprises at least one of:
A port type for representing a type of a device to be monitored for which a port supports a connection, comprising: the system comprises a serial port, a local board interface, a battery monitoring board interface and a network port;
port number for indicating port number;
port name, for representing the name of a port, comprising: serial port, local board, battery monitoring board and network port;
port usage status for indicating whether a port is used, comprising: a use state, an idle state;
port parameters for representing port status, comprising: serial port baud rate, IP address;
the communication address of the down-hanging device is used for representing the communication address of the device to be monitored connected with the port;
the communication protocol of the equipment is hung down and is used for representing the communication protocol name of the equipment to be monitored connected with the port;
the communication protocol version of the down-hanging device is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the down-hanging equipment is used for indicating the access time of the equipment to be monitored of the port connection.
5. The method of claim 3, wherein the step of,
the port information types to be queried comprise port types, port numbers, port names and port use states;
the device to be monitored of the management target monitoring unit according to the port resource query result comprises:
Determining whether an idle port of a target type exists according to the received port information data;
if the idle port of the target type exists, outputting prompt information supporting to increase the equipment of the target type according to port number data and port name data of the target type.
6. A method according to claim 3, further comprising:
and generating a port resource report according to the port resource query result.
7. A resource management device provided in a monitoring unit, comprising:
the receiving module is used for receiving a port resource query request sent by the monitoring center, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
the port information data determining module is used for determining port information data according to the port information type to be queried;
the sending module is used for feeding back a port resource query result, wherein the port resource query result comprises resource management codes of the target monitoring unit and the port information data;
the port information types to be queried comprise port numbers, port use states, a hanging-down device communication protocol and a hanging-down device communication protocol version;
The receiving module is further configured to receive a communication protocol to be updated sent by the monitoring center, where the communication protocol to be updated is sent by the monitoring center when determining the communication protocol to be updated according to the received port information data;
and the updating module is used for updating the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
8. A resource management device provided in a monitoring center, comprising:
the sending module is used for sending a port resource query request, wherein the port resource query request comprises a resource management code of a target monitoring unit and a port information type to be queried;
the receiving module is used for receiving a port resource query result, wherein the port resource query result is fed back after the target monitoring unit determines port information data according to the port information type to be queried, and the port resource query result comprises resource management codes of the target monitoring unit and the port information data;
the management module is used for managing the equipment to be monitored of the target monitoring unit according to the port resource query result;
The port information types to be queried comprise port numbers, port use states, a hanging-down device communication protocol and a hanging-down device communication protocol version;
the management module is specifically configured to determine whether a communication protocol to be updated exists according to the received port information data; and if the communication protocol to be updated exists, sending the communication protocol to be updated to the target monitoring unit according to port number data corresponding to the communication protocol to be updated, so that the target monitoring unit updates the communication protocol of the corresponding port and the communication protocol of the equipment to be monitored connected with the corresponding port according to the communication protocol to be updated.
9. An electronic device, comprising:
a memory for storing program instructions;
a processor for invoking and executing program instructions in said memory to perform the method of any of claims 1-6.
10. A resource management system, comprising: the system comprises a monitoring center, a plurality of monitoring units and a plurality of terminal devices; the monitoring center monitors a plurality of terminal devices through a plurality of monitoring units;
wherein the monitoring center performs the method of any of claims 3-6; the plurality of monitoring units performs the method of any one of claims 1 or 2.
11. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
CN202011568966.7A 2020-12-25 2020-12-25 Resource management method, device, system, electronic equipment and storage medium Active CN112738291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011568966.7A CN112738291B (en) 2020-12-25 2020-12-25 Resource management method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011568966.7A CN112738291B (en) 2020-12-25 2020-12-25 Resource management method, device, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112738291A CN112738291A (en) 2021-04-30
CN112738291B true CN112738291B (en) 2023-06-30

Family

ID=75616708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011568966.7A Active CN112738291B (en) 2020-12-25 2020-12-25 Resource management method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112738291B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909486A (en) * 2006-08-09 2007-02-07 艾默生网络能源有限公司 Monitoring system and its dynamic self-configuration method
CN103747061A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 Power environment monitoring system allowing multiple networks to access and operation method thereof
KR101582211B1 (en) * 2015-08-24 2016-01-11 대진 시스템(주) Protocol update method of the Multi-channel Distribution Unit of the communication system
CN109388417A (en) * 2018-09-30 2019-02-26 深圳市酷达通讯有限公司 A kind of update method of communication protocol, system and terminal device
CN111885119A (en) * 2020-07-02 2020-11-03 天筑科技股份有限公司 Data transmission method and device of monitoring unit
CN112115318A (en) * 2020-08-28 2020-12-22 湖南三湘银行股份有限公司 Computer room wiring resource management method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909486A (en) * 2006-08-09 2007-02-07 艾默生网络能源有限公司 Monitoring system and its dynamic self-configuration method
CN103747061A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 Power environment monitoring system allowing multiple networks to access and operation method thereof
KR101582211B1 (en) * 2015-08-24 2016-01-11 대진 시스템(주) Protocol update method of the Multi-channel Distribution Unit of the communication system
CN109388417A (en) * 2018-09-30 2019-02-26 深圳市酷达通讯有限公司 A kind of update method of communication protocol, system and terminal device
CN111885119A (en) * 2020-07-02 2020-11-03 天筑科技股份有限公司 Data transmission method and device of monitoring unit
CN112115318A (en) * 2020-08-28 2020-12-22 湖南三湘银行股份有限公司 Computer room wiring resource management method and device

Also Published As

Publication number Publication date
CN112738291A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN109450704B (en) Plug-and-play intelligent distribution transformer terminal and distribution data communication system
CN100531056C (en) Data storage system of the information home electrical appliance and the data processing method
CN110049014B (en) OpenAPI conversion system and method based on multiple Modbus bus protocols
CN110659109B (en) System and method for monitoring openstack virtual machine
KR20040103357A (en) Home network system
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
CN103236960A (en) Method and system for data interaction between home server and plurality of terminals
US20200174435A1 (en) Energy Information System, and Method and Device for Processing Energy Information
US9170579B1 (en) System, method and computer program product for monitoring and controlling industrial energy equipment
JP2023506239A (en) Systems and methods for autonomous monitoring and recovery in hybrid energy management
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
CN104936202A (en) CoAP protocol based 6LoWPAN wireless sensor network management system
CN112738291B (en) Resource management method, device, system, electronic equipment and storage medium
CN103023668A (en) Method, device and system for discovering and controlling embedded access network device
CN110677303A (en) Network management system
CN111726335B (en) Conversion system of OPC UA protocol based on CAN bus communication protocol
KR101740236B1 (en) A remote management system for apparatus having mqtt and dds client module
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN112068451A (en) Household electrical appliance intelligent control system based on Aliyun Internet of things
CN106254122A (en) A kind of snmp agent implementation method based on EOC equipment
CN110662200B (en) Data reporting method and device
CN104079616B (en) A kind of electrical equipment monitoring method and system
KR20130110442A (en) Method and system for managing centralized programable logic controller using simple network management protocol
CN116266845B (en) Data transmission method and device
CN109814397A (en) A kind of interactive mode Intelligent household system

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