CN112738291A - 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
CN112738291A
CN112738291A CN202011568966.7A CN202011568966A CN112738291A CN 112738291 A CN112738291 A CN 112738291A CN 202011568966 A CN202011568966 A CN 202011568966A CN 112738291 A CN112738291 A CN 112738291A
Authority
CN
China
Prior art keywords
port
communication protocol
type
resource
monitoring unit
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
CN202011568966.7A
Other languages
Chinese (zh)
Other versions
CN112738291B (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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a resource management method, device, system, electronic equipment and 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 type of the port information to be inquired; and feeding back a port resource query result, wherein the port resource query result comprises the resource management code 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 the port state information back to the monitoring center. Therefore, the monitoring center can inquire and manage the port resources of the monitoring units, 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 application relates to communications technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for resource management.
Background
A communication Power Supply and machine room environment monitoring system (referred to as a dynamic loop monitoring system for short) is a computer control system which carries out remote measurement, remote signaling, remote regulation and remote control on various Power equipment such as a Power cabinet, an Uninterruptible Power Supply (UPS), an air conditioner, a storage battery and the like distributed in each machine room and various parameters of machine room environments such as a door magnet, infrared rays, window breakage, water immersion, temperature and humidity, smoke sensation and the like, monitors the operation parameters of the equipment in real time, diagnoses and processes faults, records and analyzes related data, and carries out centralized monitoring and centralized maintenance on the equipment. A dynamic ring monitoring System (SS) generally monitors and manages monitoring units (SU) in a managed area through a monitoring Center (SC). The monitoring unit generally comprises a plurality of monitoring modules and other auxiliary equipment (such as an on-site monitoring acquisition unit, a monitoring module, network communication equipment, various types of sensors, a transmitter and the like).
In order to better realize monitoring and maintenance of equipment to be monitored based on a dynamic loop monitoring system, some relevant technical specifications exist in the communication industry at present. However, these specifications only provide management standards for information of devices to be monitored, and do not pay attention to resource management of the monitoring system itself. The performance of the dynamic loop monitoring system is limited, and the monitoring management efficiency is low.
Disclosure of Invention
The application provides a resource management method, device, system, electronic equipment and 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 type of the port information to be inquired;
and feeding back a port resource query result, wherein the port resource query result comprises the resource management code 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 port type is used for representing the type of the device to be monitored of the connection supported by the port, and comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
Optionally, the type of the port information to be queried includes a port number, a port use state, a drop device communication protocol, and a drop device communication protocol version;
the method further comprises the following steps:
receiving a communication protocol to be updated sent by a monitoring center, wherein the communication protocol to be updated is sent when the monitoring center determines the communication protocol to be updated according to 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 a resource management code of a target monitoring unit and a port information type 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 type of the port information to be queried, and the port resource query result comprises a resource management code 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 port type is used for representing the type of the device to be monitored of the connection supported by the port, and comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
Optionally, the type of the port information to be queried includes a port number, a port use state, a drop device communication protocol, and a drop device communication protocol version;
the method for managing the equipment to be monitored of the target monitoring unit according to the port resource query result comprises the following steps:
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.
Optionally, the type of the port information to be queried includes a port type, a port number, a port name, and a port use state;
the method for managing the equipment to be monitored of the target monitoring unit according to the port resource query result comprises the following steps:
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 the increase of the target type equipment according to the port number data and the port name data of the target type.
Optionally, the method further includes:
and generating a port resource report according to the port resource query result.
In a third aspect, the present application provides a resource management apparatus, including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a port resource query request sent by a monitoring center, and 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 the port information data according to the type of the port information to be inquired;
and the sending module is used for feeding back a port resource query result, and the port resource query result comprises the resource management code of the target monitoring unit and the port information data.
In a fourth aspect, the present application provides a resource management apparatus, including:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a port resource query request, and 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, the port resource query result is fed back after the target monitoring unit determines port information data according to the type of the port information to be queried, and the port resource query result comprises a resource management code 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;
a processor for calling and executing the program instructions in the memory to perform the method of the first aspect.
In a sixth 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 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 the terminal devices through the monitoring units;
wherein the monitoring center performs the method of the second aspect; the plurality of monitoring units perform 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 the method according to 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 of 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, device, system, electronic equipment and 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 type of the port information to be inquired; and feeding back a port resource query result, wherein the port resource query result comprises the resource management code 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 the port state information back to the monitoring center. Therefore, the monitoring center can inquire and manage the port resources of the monitoring units, and the monitoring management efficiency of the whole monitoring system can be further improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an application scenario provided in the present application;
fig. 2 is a flowchart of a resource management method according to an embodiment of the present application;
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 apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another resource management apparatus according to an embodiment of the present application;
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
To make the purpose, technical solutions and advantages of the present application clearer, 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 obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For SU resource access cases (i.e. device port usage cases), none of the relevant technical specifications are involved. The SU manufacturers may have relevant statistical methods, but are not open to the outside. Therefore, a unified standard cannot be formed in the related field, the SU resource state cannot be known in time, and the SU resource state information can be determined only by detailed recording or field checking of the resource state by operation and maintenance personnel, so that the monitoring and management efficiency of the SU resource is low.
Therefore, the present application proposes a resource management method, apparatus, system, electronic device, and storage medium. The method aims to form a general SU resource management scheme, realizes interface standardization, is beneficial to mastering the SU resource utilization condition and counting resource information, and improves the monitoring management efficiency of the 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 communicatively connected to a plurality of monitoring units via a B interface protocol (3 are shown as an example in the figure), and each monitoring unit is connected to a variable number of terminal devices via an a interface protocol (3 are shown as an example in the figure), so as to form a moving loop monitoring system. The monitoring unit collects relevant state information of each terminal device and reports the relevant state information to the monitoring center, and monitoring management of each terminal device is achieved. The terminal device may be a related device in a power system, such as a switching power supply, an uninterruptible power supply UPS, and the like. Meanwhile, the monitoring center can also monitor and manage the interface resources of the monitoring unit by requesting the interface state information of the monitoring unit.
The following embodiments may be referred to for a specific implementation of the interface resource monitoring management.
Fig. 2 is a flowchart of a resource management method according to an embodiment of the present application. The execution main body of this embodiment may be a monitoring unit, as shown in fig. 2, the method of this embodiment may include:
s201, 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.
The resource management code is a unique code established for each device resource for the convenience of asset management. The SU and the equipment hung down by the SU, such as a switching power supply, a UPS and the like, can be defined as equipment resources, and the corresponding resource management codes are generated by the SC platform. The resource code may be a 32-bit string, for example, the resource code of a device is "d 39b37b98606404cad9077ae 29884330". When the SC generates the asset management code, the code can be ensured to be unified in the whole network based on the fault-tolerant error-correcting function.
When the monitoring center sends a port resource query request, the resource management code of the queried target monitoring unit is added in the request, so that the request can be sent to the corresponding target monitoring unit. Meanwhile, the type of port information to be queried is indicated in the request, for example, some information of a certain port is queried.
In some embodiments, the monitoring center directly sends the port resource query request to each monitoring unit managed by the monitoring center, and after each monitoring unit receives the request information, the monitoring unit compares the resource management code in the request with the resource management code of the monitoring unit to determine whether the monitoring unit is the target monitoring unit, if so, the subsequent steps are sequentially executed, otherwise, the request information is ignored.
In other embodiments, the monitoring center queries the communication address of the target monitoring unit according to the resource management code of the target monitoring unit, and sends the 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 query request may include a plurality of resource codes, so as to query 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 inquired.
After receiving the port resource query request, the target monitoring unit can obtain the type of the port information 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 the 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 according to the type of the port information to be queried.
S203, feeding back a port resource query result, wherein the port resource query result comprises the resource management code and the port information data of the target monitoring unit.
And the target monitoring unit feeds back the determined port information data and the resource management code 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 based on the asset coding. In addition, the port resource state of the target monitoring unit can be determined according to the port information data, and then corresponding management operation is carried out.
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 inquired; and feeding back a port resource query result, wherein the port resource query result comprises the resource management code and the 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 the port state information back to the monitoring center. Therefore, the monitoring center can inquire and manage the port resources of the monitoring units, and the monitoring management efficiency of the whole monitoring system can be further improved.
In some embodiments, the port information type to be queried may include at least one of: the method comprises the following steps of port type, port number, port name, port use state, port parameter, communication address of the drop-off device, communication protocol of the drop-off device, version of the communication protocol of the drop-off device, access time of the drop-off device and the like.
The port type is used for representing the type of the device to be monitored connected and supported by the port, and comprises the following steps: a serial port, a board interface, a battery monitoring board interface, a network port and the like; a port number for indicating the number of the port; a port name for representing a name of a port, comprising: a serial port, a main board, a battery monitoring board, a network port and the like; the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state; a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address; the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port; the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port; the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port; and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
The above are just some of the port information types listed, and other types may be added according to practical situations. When the monitoring center issues the port resource query request, the type of the port information 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 type of the port information to be queried may be determined as a port number, a port use state, a drop device communication protocol version, and the like, so as to query the port communication protocol version of the target monitoring unit. And further determining whether the communication protocol to be updated exists, 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. 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, 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 equipment connected with the port is replaced, whether the communication protocol needs to be changed or not can be judged by adopting the method, and when the communication protocol needs to be changed, remote updating is 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 a port type, a port number, a port name, a port use state, and the like, so as to query the use state of the port resource of the target monitoring unit. And further determining whether an idle port of the target type exists, and if the idle port of the target type exists, outputting prompt information supporting the target type adding equipment according to the port number data and the port name data of the target type. Otherwise, a prompt may be output that does not support adding a target type device.
Under the condition that the requirement of the expansion equipment exists, whether the idle port exists can be determined through the method, operation and maintenance personnel do not need to arrive at the site to check the port information, and 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, and the report is displayed through an interactive interface or sent to the operation and maintenance personnel terminal. And operation and maintenance personnel can conveniently analyze the port state of the target monitoring unit according to the report information.
Fig. 3 is a flowchart of another resource management method according to an embodiment of the present application. The execution subject of this embodiment may be a monitoring center, as shown in fig. 3, the method of this embodiment may include:
s301, sending a port resource query request, wherein the port resource query request comprises the resource management code of the target monitoring unit and the type of the port information 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 type of the port information to be queried, and the port resource query result comprises the resource management code and the port information data of the target monitoring unit.
And 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 port type is used for representing the type of the device to be monitored of the connection supported by the port, and comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
Optionally, the type of the port information to be queried includes a port number, a port use state, a drop device communication protocol, and a drop device communication protocol version;
according to the port resource query result, managing the equipment to be monitored of the target monitoring unit comprises the following steps:
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.
Optionally, the type of the port information to be queried includes a port type, a port number, a port name, and a port use state;
according to the port resource query result, managing the equipment to be monitored of the target monitoring unit comprises the following steps:
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 the increase of the target type equipment according to the port number data and the 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 above embodiment, has the same technical features, and can achieve the same technical effects, which are not described herein again.
In a specific embodiment, asset management is finally achieved by SU statistics to download all device resources.
The asset management code of the SU is first determined to facilitate asset management.
The resource management method is used for determining the equipment mounted by the SU, so that resource statistics is facilitated, further, the port utilization condition of the SU is determined, a more favorable basis is provided for project capacity expansion, bidding and the like, and equipment and resource waste 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 at least comprises the information 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 management code of the SU, and report the port information faithfully, and if the port is not connected with the device, the port information is represented by a null character'.
The port information type for the response of the SU is defined in turn as follows:
first, a field PortType, i.e., a port type, is defined. The SU shall specify the hardware interface type, and if the port type is a serial port, it further specifies that the port type is an Intelligent device (IA) or a Transparent port (TC); if the board is the main board, the port type is further explained to be current analog quantity AI/voltage analog quantity DI/state quantity DO/IIC; if the battery monitoring board is used, the field content can be the total voltage; if the Network interface is a Network interface, a Network Transmission Protocol (for example, Transmission Control Protocol (TCP), User Datagram Protocol (UDP), hypertext Transfer Protocol (HTTP), Simple Network Management Protocol (SNMP), etc.) needs to be further described. Here the port type and the transport characters are specified.
The field PortNo, i.e. the port number, is further defined. For example, a numerical representation starting with 01 may be used as a number of ports. The initial numbers of the ports are determined, the manufacturers are unified, and confusion caused by different initial numbers is avoided.
The field PortName, i.e. the port name, is further defined. The system comprises a Board with local, abbreviated and transmitted as Board, a Serial Port, a Battery monitoring Board (abbreviated and transmitted as Battery), a Network Port (abbreviated and transmitted as Net), and the like. Where the board represents the interface through which the SU accesses its own signals. Other names may be added according to the actual situation.
The field PortUsed, i.e. the port usage status, is further defined. And if the port is used, the SC can form a detailed report after acquiring the information, thereby providing a basis for engineering capacity expansion, reconstruction and bid recruitment.
The field Settings, i.e. the port parameters, is further defined. If the port type is a 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.
Further defined is a field Address, i.e. the smart device communication Address. For non-smart devices, this field is not enabled as is the native sensor type.
Further defines the field Protocol, i.e. the Protocol used by the intelligent device under the port. For non-smart devices, this field is not enabled as is the native sensor type. The protocol version of the intelligent equipment is determined, so that the protocol is convenient to manage and upgrade in a unified mode, and meanwhile, detailed information of the intelligent equipment can be obtained.
Further defined is field Version, i.e. the protocol Version used by the port-down-hanging smart device. For non-smart devices, this field is not enabled as is the native sensor type. And the method is used together with the field Protocol to form a uniform report on the SC, so that the Protocol is conveniently and uniformly managed and upgraded.
A field UpdateTime is further defined, that is, the time when the port hangs down the device, that is, the time when the device accesses the monitoring.
Fig. 4 is a schematic structural diagram of a resource management apparatus according to an embodiment of the present application, and as shown in fig. 4, a model management apparatus 400 of the embodiment may include: a receiving module 401, a port information data determining module 402, and a sending module 403.
A receiving module 401, configured to receive a port resource query request sent by a monitoring center, where the port resource query request includes a resource management code of a target monitoring unit and a type of port information 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;
the sending module 403 is configured to feed back a port resource query result, where the port resource query result includes the resource management code and the port information data of the target monitoring unit.
Optionally, the type of the port information to be queried includes 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 comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
Optionally, the type of the port information to be queried includes a port number, a port use state, a drop device communication protocol, and a drop device communication protocol version;
the receiving module 401 is further configured to receive a communication protocol to be updated, which is sent by the monitoring center, where the communication protocol to be updated is sent when the monitoring center determines the communication protocol to be updated according to the received port information data;
the apparatus 400 further comprises: and an updating module 404, 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 apparatus of this embodiment may be configured to execute the method executed by the monitoring unit in any of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of a resource management apparatus according to an embodiment of the present application, and as shown in fig. 5, a model management apparatus 500 of the embodiment may include: a sending module 501, a receiving module 502 and a management 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 type of port information to be queried;
a receiving module 502, configured to receive a port resource query result, where the port resource query result is fed back after the target monitoring unit determines port information data according to a port information type to be queried, and the port resource query result includes a resource management code and port information data of the target monitoring unit;
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 port type is used for representing the type of the device to be monitored of the connection supported by the port, and comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
Optionally, the type of the port information to be queried includes a port number, a port use state, a drop device communication protocol, and a drop device communication protocol version;
the management module 503 is specifically 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 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.
Optionally, the type of the port information to be queried includes a port type, a port number, a port name, and a port use state;
the management module 503 is specifically 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 the increase of the target type equipment according to the port number data and the port name data of the target type.
Optionally, the apparatus 500 further comprises: a report generation module 504, configured to: and generating a port resource report according to the port resource query result.
The apparatus of this embodiment may be configured to execute the method executed by the monitoring center in any of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an electronic device 600 according to the embodiment may include: memory 601, 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 to perform the method according to any of the embodiments described above, which achieves similar principles and technical effects, and is not described herein again.
Specifically, the electronic device of 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, and 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, and a plurality of terminal devices 703; the monitoring center monitors the plurality of terminal devices 703 through the plurality of monitoring units 702;
wherein, the monitoring center 701 executes 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 embodiments. The implementation principle and the technical effect are similar, and the detailed description is omitted here.
The present application also provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the method of 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 above embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions 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 solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (14)

1. A method for resource management, 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 type of the port information to be inquired;
and feeding back a port resource query result, wherein the port resource query result comprises the resource management code of the target monitoring unit and the port information data.
2. The method according to claim 1, wherein the type of port information to be queried includes 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 board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, the port name comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
a port use state for indicating whether a port is used, the port use state including: a use state, an idle state;
a port parameter for representing a parameter of a port status, the port parameter comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
3. The method of claim 1,
the port information type to be inquired comprises a port number, a port use state, a hanging-down device communication protocol and a hanging-down device communication protocol version;
the method further comprises the following steps:
receiving a communication protocol to be updated sent by a monitoring center, wherein the communication protocol to be updated is sent when the monitoring center determines the communication protocol to be updated according to 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.
4. A method for resource management, comprising:
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;
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 type of the port information to be queried, and the port resource query result comprises a resource management code 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.
5. The method according to claim 4, wherein the type of port information to be queried includes 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 comprises the following steps: the system comprises a serial port, a board interface, a battery monitoring board interface and a network port;
a port number for indicating the number of the port;
a port name for representing a name of a port, comprising: the device comprises a serial port, a main board, a battery monitoring board and a network port;
the port use state is used for indicating whether the port is used or not, and comprises the following steps: a use state, an idle state;
a port parameter, a parameter for representing a port state, comprising: serial port baud rate and IP address;
the device communication address of the lower hanging device is used for representing the communication address of the device to be monitored connected with the port;
the hanging-down device communication protocol is used for representing the communication protocol name of the device to be monitored connected with the port;
the hanging-down device communication protocol version is used for representing the communication protocol version of the device to be monitored connected with the port;
and the access time of the lower hanging device is used for representing the access time of the device to be monitored connected with the port.
6. The method of claim 4,
the port information type to be inquired comprises a port number, a port use state, a hanging-down device communication protocol and a hanging-down device communication protocol version;
the method for managing the equipment to be monitored of the target monitoring unit according to the port resource query result comprises the following steps:
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.
7. The method of claim 4,
the port information type to be inquired comprises a port type, a port number, a port name and a port use state;
the method for managing the equipment to be monitored of the target monitoring unit according to the port resource query result comprises the following steps:
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 the increase of the target type equipment according to the port number data and the port name data of the target type.
8. The method of claim 4, further comprising:
and generating a port resource report according to the port resource query result.
9. A resource management apparatus, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a port resource query request sent by a monitoring center, and 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 the port information data according to the type of the port information to be inquired;
and the sending module is used for feeding back a port resource query result, and the port resource query result comprises the resource management code of the target monitoring unit and the port information data.
10. A resource management apparatus, comprising:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a port resource query request, and 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, the port resource query result is fed back after the target monitoring unit determines port information data according to the type of the port information to be queried, and the port resource query result comprises a resource management code 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.
11. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling and executing program instructions in said memory, performing the method of any of claims 1-8.
12. 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 the terminal devices through the monitoring units;
wherein the monitoring center performs the method of any one of claims 4-8; the plurality of monitoring units performing the method of any one of claims 1-3.
13. 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 one of claims 1-8.
14. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1-8 when executed by a processor.
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 true CN112738291A (en) 2021-04-30
CN112738291B 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
CN112738291B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN108667807B (en) Protocol self-adaption method and system based on monitoring cloud platform and gateway
CN103236960B (en) Method and system for data interaction between home server and plurality of terminals
CN103117879B (en) A kind of computer hardware operational factor network monitoring system
CN110659109B (en) System and method for monitoring openstack virtual machine
CN110908879A (en) Method, device, terminal and storage medium for reporting buried point data
CN104126182A (en) Systems and methods of remote communication
CN105389249B (en) Abnormal log generates configuration method and abnormal log generates configuration device
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
CN108156222A (en) A kind of gateway system and method based on cultivation Internet of Things
CN112055062B (en) Data communication method, device, equipment and readable storage medium
CN115412602A (en) Data parsing and transferring method, device, equipment and medium for digital twin
CN202094932U (en) GSM network based remote monitoring terminal
CN114745448A (en) Multichannel protocol adaptation processing method, system and device
CN105959174A (en) Testing method and testing device for intelligent equipment platform
CN103746836A (en) Embedded network management agent system based on ARM
CN112738291A (en) Resource management method, device, system, electronic equipment and storage medium
CN111092774A (en) Configuration method and equipment of acquisition gateway
CN113824801B (en) Intelligent integration terminal unified access management component system
CN113348778B (en) Generalized satellite comprehensive test system based on DDS system
CN112637370B (en) Data processing method, device, equipment and storage medium
CN115291658A (en) Intelligent Internet of things environment control system based on Android system
CN114390093A (en) Virtual gateway simulation system
CN213581775U (en) Intelligent home system
KR102101897B1 (en) Method And Apparatus for Providing Smart-Home Service for Providing Statistical Use of Home Equipment
CN208924267U (en) A kind of energy gateway apparatus

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