CN111294231B - Resource management method and system - Google Patents

Resource management method and system Download PDF

Info

Publication number
CN111294231B
CN111294231B CN201910679030.2A CN201910679030A CN111294231B CN 111294231 B CN111294231 B CN 111294231B CN 201910679030 A CN201910679030 A CN 201910679030A CN 111294231 B CN111294231 B CN 111294231B
Authority
CN
China
Prior art keywords
information
resource
server
system domain
signaling
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
CN201910679030.2A
Other languages
Chinese (zh)
Other versions
CN111294231A (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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology 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 Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Publication of CN111294231A publication Critical patent/CN111294231A/en
Application granted granted Critical
Publication of CN111294231B publication Critical patent/CN111294231B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Abstract

The disclosure relates to a resource management method and a resource management system, and belongs to the technical field of resource management. The method is applied to a first system domain, the first system domain manages at least one lower level system domain, and the first system domain comprises: a management server, a database server, a first proxy server, and a plurality of signaling gateways, the method comprising: the first proxy server receives first resource information sent by the lower system domain and distributes the first resource information to a first signaling gateway in the multiple signaling gateways; the first signaling gateway analyzes the received first resource information; the management server determines resource directory information of the subordinate system domain based on an analysis result of the first signaling gateway on the first resource information; and the database server correspondingly stores the resource directory information and the first resource information. The method and the device reduce the probability of system crash caused by high concurrency of data.

Description

Resource management method and system
The present application claims priority of chinese patent application having application number 201811498073.2, entitled "resource information management method and monitoring system, computer device, and storage medium", filed on 2018, 12/07/2018, the entire contents of which are incorporated herein by reference.
Technical Field
The present disclosure relates to the field of resource management, and in particular, to a resource management method and system.
Background
Large systems usually have a plurality of data processing devices for data acquisition and/or data processing. The information related to the data processing equipment is effectively managed, and the efficiency of managing the system can be improved. In this case, each subsystem may be referred to as a system domain, and information related to the data processing device in each subsystem is effectively managed, so that the management efficiency of the system can be improved.
Generally, in the multi-level multi-domain system, a system domain of a high level may manage a system domain of a low level. And the system domain of the low level can acquire the resource information of the data processing device in the system domain of the current level and send the resource information to the system domain of the higher level, so that the system domain of the higher level manages the system domain of the low level. The resource information is used for reflecting the operation state, the configuration state and the like of the data processing equipment in the system domain.
However, when the data volume of the resource information sent by the system domain of the lower level to the system domain of the higher level is large, the performance of the system domain of the higher level may be degraded or even crashed.
Disclosure of Invention
The present disclosure provides a resource management method and system, which can solve the problem in the related art that when the data size of resource information sent by a low-level system domain to a high-level system domain is large, the performance of the high-level system domain is reduced and even crashes. The technical scheme is as follows:
in a first aspect, a resource management method is provided, which is applied to a first system domain, where the first system domain manages at least one subordinate system domain, and the first system domain includes: a management server, a database server, a first proxy server, and a plurality of signaling gateways, the method comprising:
the first proxy server receives first resource information sent by the lower system domain and distributes the first resource information to a first signaling gateway in the multiple signaling gateways;
the first signaling gateway analyzes the received first resource information;
the management server determines resource directory information of the subordinate system domain based on an analysis result of the first signaling gateway on the first resource information;
and the database server correspondingly stores the resource directory information and the first resource information.
Optionally, the first system domain further includes: a cache server, after the management server determines the resource directory information of the lower system domain based on the analysis result of the first signaling gateway on the first resource information, the method further includes:
and the cache server stores the resource directory information, and the resource directory information stored by the cache server is used for other equipment in the first system domain to access.
Optionally, the first system domain further includes: a cache server, the lower system domain comprising at least one data processing device, after the first proxy server receives the first resource information sent by the lower system domain, the method further comprising:
the management server determines first data processing equipment corresponding to the first resource information;
when the updating frequency of the resource information of the first data processing equipment in a specified time period is greater than a specified frequency, the management server sends the first resource information to the cache server;
the cache server stores the received first resource information, and the first resource information stored by the cache server is used for other devices in the first system domain to access.
Optionally, the method further includes:
the database server detects whether the resource information stored in the cache server is updated;
and when the resource information stored in the cache server is updated, the database server updates the corresponding resource information in the database server based on the updated resource information in the cache server.
Optionally, after the database server correspondingly stores the resource directory information and the first resource information, the method further includes:
the first proxy server receives resource updating information sent by the lower system domain and distributes the resource updating information to a second signaling gateway in the multiple signaling gateways;
the second signaling gateway analyzes the received resource updating information;
and the management server updates the information stored in the database server based on the analysis result of the second signaling gateway on the resource updating information.
Optionally, the resource update information includes: changed resource information; or, changed resource information and changed directory information.
Optionally, the first system domain further includes: a second proxy server, after the management server updates the information stored by the database server based on the analysis result of the second signaling gateway on the resource update information, the method further includes:
the second signaling gateway sends the resource updating information to the second proxy server;
and the second proxy server sends the resource updating information to a superior system domain so as to update the information of the superior system domain based on the resource updating information.
Optionally, the first system domain further includes: a load balancing server, the method further comprising:
and the load balancing server screens the plurality of signaling gateways to obtain the signaling gateways for information analysis.
Optionally, the screening, by the load balancing server, of the multiple signaling gateways to obtain a signaling gateway for information analysis includes:
the load balancing server acquires the running state information of each signaling gateway;
the load balancing server determines n signaling gateways for information analysis in the multiple signaling gateways based on the running state information, wherein the running state information is used for reflecting the running state of the signaling gateways, and n is a positive integer.
In a second aspect, a resource management system is provided, where the resource management system includes: a first system domain and at least one lower level system domain managed by the first system domain, the first system domain including: the system comprises a management server, a database server, a first proxy server and a plurality of signaling gateways;
the first proxy server is used for receiving first resource information sent by the lower system domain and distributing the first resource information to a first signaling gateway in the multiple signaling gateways;
the first signaling gateway is used for analyzing the received first resource information;
the management server is used for determining the resource directory information of the subordinate system domain based on the analysis result of the first signaling gateway on the first resource information;
the database server is used for correspondingly storing the resource directory information and the first resource information.
Optionally, the first system domain further includes: a cache server;
the cache server is configured to store the resource directory information, and the resource directory information stored by the cache server is used for other devices in the first system domain to access.
Optionally, the first system domain further includes: a cache server, the lower level system domain comprising at least one data processing device;
the management server determines first data processing equipment corresponding to the first resource information;
when the update frequency of the resource information of the first data processing device in a specified time period is greater than a specified frequency, the management server is used for controlling the first proxy server to send the first resource information to the cache server;
the cache server is configured to store the received first resource information, and the first resource information stored by the cache server is used for other devices in the first system domain to access.
Optionally, the database server is further configured to detect whether resource information stored in the cache server is updated;
and when the resource information stored in the cache server is updated, the database server is used for updating the corresponding resource information in the database server based on the updated resource information in the cache server.
Optionally, the first proxy server is further configured to receive resource update information sent by the lower system domain, and distribute the resource update information to a second signaling gateway in the multiple signaling gateways;
the second signaling gateway is used for analyzing the received resource updating information;
the management server is further configured to update the information stored in the database server based on an analysis result of the second signaling gateway on the resource update information.
Optionally, the resource update information includes: changed resource information; or, changed resource information and changed directory information.
Optionally, the resource management system further includes: a superior system domain, the first system domain further comprising: a second proxy server;
the second signaling gateway is further configured to send the resource update information to the second proxy server;
the second proxy server is used for sending the resource updating information to a superior system domain so as to update information of the superior system domain based on the resource updating information.
Optionally, the first system domain further includes: a load balancing server;
and the load balancing server is used for screening the plurality of signaling gateways to obtain the signaling gateways for information analysis.
Optionally, the load balancing server is specifically configured to obtain operation state information of each signaling gateway;
the load balancing server is specifically configured to determine n signaling gateways for information analysis in the multiple signaling gateways based on the operation state information, where the operation state information is used to reflect an operation state of the signaling gateway, and n is a positive integer.
The technical scheme provided by the disclosure has the following beneficial effects:
according to the resource management method and system provided by the embodiment of the disclosure, the first proxy server receives the first resource information sent by the subordinate system domain, and the first signaling gateway analyzes the received first resource information. Moreover, when the scale of the resource information in the monitoring system is tens of millions of scales or even larger, the effect of improving the system performance and the server performance is particularly obvious.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a resource management system provided in an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of another resource management system provided in the embodiments of the present disclosure;
FIG. 3 is a flow chart of a resource management method provided by the embodiments of the present disclosure;
FIG. 4 is a flow chart of another resource management method provided by the embodiments of the present disclosure;
fig. 5 is a schematic diagram of a correspondence between resource directory information and resource information provided in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
In a multi-level multi-domain system, different system domains can be connected through a network. For example, in a multi-level multi-domain system, a high-level system domain may manage a plurality of low-level system domains, and the upper-level system domain and the lower-level system domain having a management and managed relationship may be further connected through a network, so as to implement sharing of resource information between system domains.
For example, a multi-level multi-domain monitoring system for a country may include a country-level monitoring subsystem, a plurality of provincial monitoring subsystems, and a plurality of city-level monitoring subsystems. The state level monitoring subsystem can be an upper level system domain, each provincial level monitoring subsystem can be a lower level system domain of the state level monitoring subsystem, and each city level monitoring subsystem can be a lower level system domain of the provincial level monitoring subsystem corresponding to the province. Each provincial monitoring subsystem and the national monitoring subsystem can be connected through a network, and resource information of monitoring equipment in the system domain can be sent to the national monitoring subsystem through each provincial monitoring subsystem of the network, so that the national monitoring subsystem can manage each provincial monitoring subsystem. Each city monitoring subsystem and the provincial monitoring subsystem of the corresponding province can be connected through a network, and each city monitoring subsystem can send resource information of monitoring equipment in the system domain of the city monitoring subsystem to the provincial monitoring subsystem of the city monitoring subsystem through the network, so that the provincial monitoring subsystem can manage each city monitoring subsystem in the province.
The monitoring system domain is a subsystem consisting of monitoring equipment with a monitoring range covering a certain area and management equipment for managing the monitoring equipment. The system domains in the multi-level multi-domain monitoring system may be divided according to geographical locations, or may be divided according to a logic principle of system deployment, which is not specifically limited in this embodiment of the disclosure.
In the related art, signaling gateways are deployed in system domains, an upper level system domain and a lower level system domain are connected through the signaling gateways in the upper level system domain and the signaling gateways in the lower level system domain, in general, a plurality of lower level system domains correspond to a plurality of signaling gateways in the upper level system domain one to one, and each lower level system domain can perform signaling interaction with the upper level system domain through the corresponding signaling gateway. However, usually, the signaling gateway not only needs to perform signaling interaction operation, but also needs to process the received signaling, and the information reading speed of the signaling gateway is slow, so that when the data volume of the resource information sent by the lower system domain to the upper system domain is large, the performance of the signaling gateway is reduced, and even crashes, and further the performance of the upper system domain is reduced, and even crashes.
Therefore, the embodiment of the disclosure provides a resource management method and system, which can improve the information reading capability of the system, reduce the pressure on the system caused by high data concurrence, and improve the performance of the system. Fig. 1 is a schematic structural diagram of a resource management system according to an embodiment of the present disclosure.
As shown in fig. 1, the resource management system includes: a first system domain 11 and at least one lower level system domain 12 managed by the first system domain 11. The first system domain 11 and each subordinate system domain 12 may be connected via a network. The first system domain 11 may include: a management server 111, a database server 112, a first proxy server 113, and a plurality of signaling gateways 114.
The first proxy server 113 may be connected to at least one proxy server (not shown in fig. 1) in the lower system domain 12 through a network, so as to realize the connection between the first system domain 11 and the lower system domain 12. In the embodiment of the present disclosure, the first proxy server 113 is mainly responsible for transmitting and receiving information, and performs fewer actions than a signaling gateway for transmitting and receiving information and processing signaling, so that the information transmission and reception speed is faster (usually much faster) than that of the signaling gateway. Therefore, the first proxy server is used for undertaking the task of information receiving and sending, the blocking probability in the process of receiving and sending the resource information can be reduced, the information reading capacity of the first system domain can be improved, the pressure of high data concurrency on the first system domain is reduced, and the performance of the first system domain is improved.
The plurality of signaling gateways 114 form a signaling gateway cluster for providing services such as signaling analysis. The management server 111 and the database server 112, the management server 111 and each signaling gateway 114, and the first proxy server 113 and each signaling gateway 114 may be connected through a network. And the management server 111, the database server 112, the first proxy server 113 and each signaling gateway 114 may be a server, or a server cluster composed of several servers, or a cloud computing service center.
The lower system domain 12 may include: the first system domain 11 may also comprise at least one data processing device (not shown in fig. 1) for data acquisition and/or data analysis. For example, when the first system domain 11 and the lower system domain 12 are monitoring system domains, the data processing devices in the respective system domains may be monitoring devices. Also, the monitoring devices in each system domain may be: a Video camera, a Network Video Recorder (NVR), a Digital Video Recorder (DVR), or an alarm channel. Furthermore, a management device may be disposed in each of the lower system domain and the first system domain, and the management device is configured to manage the data processing device in the system domain where the management device is located. As an example, the management device may be a management server of the aforementioned first system domain.
Fig. 2 is a schematic diagram of another resource management system provided in an embodiment of the present disclosure. As shown in fig. 2, the resource management system may further include: an upper level system domain 13 for managing the first system domain 11. The upper level system domain 13 may include at least one data processing device. For example, when the upper system domain 13 is a monitoring system domain, the upper system domain 13 may include at least one monitoring device. In addition, a management device for managing the data processing device in the upper system domain may be disposed in the upper system domain 12. As an example, the management device may be a management server of the aforementioned upper system domain.
As shown in fig. 2, the first system domain 11 may further include: a cache server 115, a load balancing server 116, and a second proxy server 117. Also, when the resource management system includes at least four levels of system domains, the first system domain 11 may be any system domain except for a lowest level system domain and a highest level system domain in the resource management system.
The second proxy server 117 may be connected to the upper system domain 13 (not shown in fig. 2) through a network to realize the connection between the first system domain 11 and the upper system domain 13. The information transmission/reception speed of the second proxy server 117 is high, and for example, the information transmission/reception speed of the second proxy server 117 is higher than the information transmission/reception speed of the signaling gateway 114. At this time, the probability of blocking in the process of receiving and sending the resource information can be reduced, the information reading capability of the first system domain can be improved, the pressure of high data concurrency on the first system domain is reduced, and the performance of the first system domain is improved.
Furthermore, the management server 111 and the database server 112, the management server 111 and each signaling gateway 114, the first proxy server 113 and each signaling gateway 114, the cache server 115 and the management server 111, the cache server 115 and the database server 112, the second proxy server 117 and each signaling gateway 114, the second proxy server 117 and the load balancing server 116, and the first proxy server 113 and the load balancing server 116 may be connected through a network.
The management server 111, the database server 112, the first proxy server 113, each signaling gateway 114, the cache server 115, the load balancing server 116, and the second proxy server 117 may be a single server, or a server cluster composed of several servers, or a cloud computing service center.
It should be noted that, in fig. 1 and fig. 2, both the upper system domain and the lower system domain are relative to the first system domain being the current system domain, and if the current system domain is another system domain, the corresponding upper system domain and lower system domain will change.
The following describes the role and working process of each server in the resource management system, and the resource management method provided by the embodiment of the present disclosure. In addition, the resource management system provided by the embodiment of the present disclosure may support multiple signaling protocol versions, for example, support a national standard GB/T28181 signaling protocol, which is not limited in this disclosure. As shown in fig. 3, the resource management method may include:
step 201, the first proxy server receives the first resource information sent by the lower system domain, and distributes the first resource information to a first signaling gateway in the multiple signaling gateways.
The information transceiving speed of the first proxy server can be greater than that of the signaling gateway. The first resource information is used for reflecting the operation state, the configuration state and the like of the data processing equipment in the system domain.
Step 202, the first signaling gateway analyzes the received first resource information.
Step 203, the management server determines the resource directory information of the lower system domain based on the analysis result of the first signaling gateway on the first resource information.
The resource directory information is used for reflecting the affiliation among the system domains, the organization structure of the system domains and the like. The organizational structure is used to reflect the deployment structure of all data processing devices in the lower system domain. For example, the resource directory information in the monitoring system may include: and the device code, the display name, the address code, the authority function code, the father node address code, the activity state and the like of the monitoring device are used for reflecting the information of the deployment structure of the monitoring device.
And step 204, the database server correspondingly stores the matched resource directory information and the first resource information.
To sum up, in the resource management method provided in this embodiment of the present disclosure, the first proxy server receives the first resource information sent by the lower system domain, and the first signaling gateway analyzes the received first resource information, so that the first proxy server replaces the signaling gateway to perform resource information of the lower system domain, and the first proxy server distributes the resource information, and the signaling gateway does not need to perform receiving and sending of the resource information of the lower system domain, and each signaling gateway does not correspond to the lower system domain one to one, that is, unbind from the lower system domain, and only needs to analyze the resource information sent by the first proxy server. Compared with the related art, the method and the device do not need the signaling gateway to transmit and receive the resource information of the subordinate system domain, reduce the load of the signaling gateway for transmitting and receiving the resource information, improve the data processing efficiency of the first system domain, ensure the performance of the first system domain, and further reduce the probability of system breakdown caused by high data concurrency.
Generally, the process of resource information management may include: an initial management process of the resource information and an update process of the resource information. The initial management process of the resource information is a process of acquiring resource directory information according to the resource information in the system for the first time after the resource management system is established. The resource information updating process is a process of updating the resource directory information according to the resource change information after the resource management system is established. Taking the resource management system shown in fig. 2 as an example, the implementation processes of the two processes are described below, where steps 401 to 409 may be regarded as an initial management process of resource information, and steps 410 to 414 may be regarded as an update process of resource information. As shown in fig. 4, the method may include the steps of:
step 401, the first proxy server receives the first resource information sent by the subordinate system domain, and sends a first signaling gateway recommendation request to the load balancing server.
The first system domain may receive first resource information transmitted by the subordinate system domain to manage the subordinate system domain according to the first resource information. For example, the first system domain may obtain resource directory information of the lower system domain according to the first resource information, and display the resource directory information to the user when the user logs in the first system domain through the client, so that the user can intuitively know the organization structure of the lower system domain, and information such as the name, number, and operating state of the data processing device in the lower system domain, so as to perform operations such as adjustment on the organization structure of the lower system domain as needed.
The first proxy server is used for being responsible for information interaction between the first system domain and the lower system domain. Therefore, the first proxy server can receive the first resource information and send the first resource information to the signaling gateway, so that the signaling gateway processes the first resource information. Also, when multiple signaling gateways are included in the first system domain, the multiple signaling gateways may be in a flat relationship, i.e., each signaling gateway is used to provide signaling services. Since each signaling gateway has different real-time processing capability, in order to ensure the processing efficiency of the signaling gateway on the first resource information, the first resource information may be distributed to one or more first signaling gateways of the multiple signaling gateways, and the first signaling gateway generally has better performance (e.g., better analysis performance) than other signaling networks. Therefore, after the first proxy server receives the first resource information, a first signaling gateway recommendation request may be sent to the load balancing server to request the load balancing server to determine the first signaling gateway.
The first resource information is used for reflecting the operation state, the attribute parameters, the configuration state and the like of the data processing equipment in the lower system domain. For example, when the lower-level system domain is a monitoring system, the first resource information may include: the monitoring system monitors information such as attribute parameters of equipment and configuration parameters of the equipment.
The attribute parameter is used for reflecting the deployment situation of the data processing equipment. For example, when the data processing device is a monitoring device, the attribute parameter may reflect parameters of a monitoring service domain to which the monitoring device belongs, a root node to which the monitoring device belongs in the monitoring service domain, a leaf node to which the monitoring device belongs, and the like. Accordingly, the format of the attribute parameter may be: the monitoring service domain to which it belongs-root node-first level leaf node- … … -nth level leaf node-monitoring device.
For example, referring to fig. 2, the attribute parameter of the infrared camera P1 may reflect that the monitoring service domain to which the infrared camera P1 belongs is a lower system domain, the root node of the infrared camera P1 in the lower system domain is a camera, the first-level leaf node of the infrared camera P1 is an infrared camera, and accordingly, the format of the attribute parameter of the infrared camera P1 may be: lower system domain-camera-infrared camera P1.
The configuration parameters are used for reflecting the configuration condition of the data processing equipment. For example, the configuration parameter may reflect a hardware configuration parameter such as a memory size and a resolution of the data processing device, or a system performance parameter such as a temperature or a use duration of the data processing device, where the data processing device is in an offline or online state. For example, the configuration parameters may reflect that the ir camera P1 is online, that the ir camera P1 has a memory of 1 gigabit, and that the ir camera P1 has a resolution of 1080P (Progressive scan).
Also, the first proxy server generally has a fast information transceiving speed. For example, the first proxy server may have a messaging speed greater than a signaling gateway. The first proxy server receives the resource information, so that the probability of blocking the resource information in the process of receiving the resource information can be reduced.
The operation of the lower system domain transmitting the resource information to the first system domain may be triggered under an instruction of the management device in the lower system domain; or periodically triggered based on a preset period; or, when the first system domain needs to use the resource information in the subordinate system domain, the first system domain may send a resource information acquisition request to the subordinate system domain, and the subordinate system domain triggers an action of sending the resource information according to the resource information acquisition request; alternatively, the action of sending the resource information may also be triggered under other trigger mechanisms, and this embodiment of the present disclosure does not specifically limit this.
Step 402, the load balancing server screens a plurality of signaling gateways to obtain a signaling gateway for information analysis, and sends first recommendation information to the first proxy server.
The load balancing server can obtain the operation state information of each signaling gateway, compare the operation states of the signaling gateways, determine n first signaling gateways in the signaling gateways according to the comparison result, and send first recommendation information carrying gateway identifiers of the n signaling gateways to the first proxy server.
Wherein, the n is a positive integer, and the value of the n can be determined according to actual needs. For example, the value of n may be less than or equal to the total number of the first resource information received by the first proxy server. The operation state information is used for reflecting the operation state of the signaling gateway. For example, the operation state information of the signaling gateway may carry an occupancy rate of a Central Processing Unit (CPU) of the signaling gateway, and/or an operation parameter such as a memory occupancy rate.
Optionally, the load balancing server may also determine n signaling gateways among the multiple signaling gateways by polling or in another manner, which is not specifically limited in this embodiment of the disclosure.
Through adopting the load balancing server to screen the servers in the signaling gateways, on one hand, the processing capacity of the signaling gateways for processing the signaling of the resource information can be ensured, and the efficiency of processing the resource information is ensured, on the other hand, the running risk caused by sending the resource information to the signaling gateway for processing when a certain signaling gateway breaks down can be avoided, and the system performance can be further ensured.
Step 403, the first proxy server distributes the first resource information to the first signaling gateway indicated by the first recommendation information.
The first signaling gateway may be one signaling gateway or multiple signaling gateways, which is not specifically limited in this disclosure.
Optionally, after the first proxy server distributes the first resource information to the first signaling gateway indicated by the first recommendation information, the first proxy server may further record an information identifier of the first resource information sent to each signaling gateway and a gateway identifier of the first signaling gateway, so as to provide a basis for later data maintenance. For example, when a certain piece of resource information is lost, a signaling gateway processing the resource information may be determined according to a corresponding relationship between a gateway identifier and an information identifier, so as to check whether the resource information is lost due to a failure of the signaling gateway.
Because the first proxy server has a faster information reading speed, the first proxy server bears the function of receiving and sending resource information, the load of the signaling gateway can be reduced, the information reading capability of the first system domain can be improved, the pressure of high data concurrency on the first system domain is reduced, and the performance of the first system domain is improved.
Step 404, the first signaling gateway analyzes the received first resource information and sends an analysis result to the management server.
After receiving the first resource information, the first signaling gateway may parse the first resource information to determine attribute information in the first resource information. The attribute information is used to reflect the attributes of the system domain itself, for example, to indicate the operating state and configuration state of the data processing device in the system domain.
When the lower system domain sends the resource information to the first system domain, the resource information is usually sent in a message manner, and the lower system domain and the first system domain may agree in advance on the content carried by each byte in the message, so that when the lower system domain sends the resource information to the first system domain, the corresponding content may be carried in the corresponding byte of the message according to the agreement. And after the signaling gateway receives the resource information, the content carried in each byte can be read according to the pre-agreement so as to analyze the attribute information carried in the resource information.
The first resource information is received through the first proxy server, so that the signaling gateway does not need to bear the load of receiving and sending the resource information, more resources can be applied to analyzing the resource information, and the data processing efficiency of the signaling gateway can be improved. And the first signaling gateway used for analyzing the first resource information is determined by using the load balancing server, so that the first resource information can be processed by using the signaling gateway with relatively better performance, the efficiency of processing the first resource information can be further ensured, the pressure on the system caused by high data transmission is further reduced, the running performance of the system is ensured, and the effect is particularly obvious when the scale of the resource information in the resource management system is in the ten-million scale or even larger scale.
The attribute information is information of attribute parameters that reflect attributes of the system domain. For example, the first signaling gateway reads the message corresponding to the first resource information, please refer to table 1 according to the attribute information of the first resource information obtained by convention, and according to the attribute information, it may be determined that the monitoring service domain to which the infrared camera P1 belongs is a lower system domain, the root node to which the infrared camera belongs is a camera, the first-level leaf node to which the infrared camera P1 belongs is an infrared camera, the infrared camera P1 has a memory size of 1 gigabit, and the resolution of the infrared camera P1 is 1080P.
TABLE 1
Figure BDA0002144196330000131
It should be noted that, after obtaining the analysis result, the first signaling gateway may send the analysis result to the management server, so that the management server obtains the resource directory information according to the analysis result. Or, the analysis result may be sent to the cache server first, or even both the first resource information and the analysis result may be sent to the cache server, the management server may send an acquisition request to the cache server when the first resource information and/or the analysis result needs to be acquired, and the cache server may send the data requested to be acquired to the management server based on the acquisition request. And after the cache server receives the data sent by the first signaling gateway, the cache server can send a notification to the management server, so that the management server can obtain the corresponding data in time.
The cache server has a higher information reading speed, so that the first resource information and/or the analysis result are cached in the cache server, other servers can conveniently and quickly read the first resource information and/or the analysis result from the cache server, and the quick access of data is realized.
Step 405, the management server determines the resource directory information of the subordinate system domain based on the analysis result of the first signaling gateway on the first resource information, and sends the resource directory information and the first resource information to the database server, and sends the resource directory information to the cache server.
After the management server obtains the analysis result of the first signaling gateway on the first resource information, the management server can obtain the position of each data processing device in the system, further determine an organization structure of a lower system domain comprising the plurality of data processing devices to obtain resource directory information of the lower system domain, then send the resource directory information and the first resource information to the database server, and send the resource directory information to the cache server. The process of acquiring the resource directory information is similar to that of: and a process of acquiring the directory information of a book according to the logical relationship between the characters for a plurality of disordered character paragraphs belonging to the book.
In addition, the management server may also obtain the first resource information, and after obtaining the resource directory information, the management server may match the first resource information with the resource directory information to establish a corresponding relationship between the first resource information and the resource directory information. And then, sending the first resource information and the resource directory information which establish the corresponding relation to a database server so as to be convenient for the database server to correspondingly store the resource directory information and the first resource information. The process of matching the first resource information and the resource directory information is similar to: and a process of determining the position of each text field in the plurality of disordered text paragraphs in the book according to the meaning expressed by each text paragraph and the directory after acquiring the directory information of the book.
Because the cache server has a higher read-write speed, the resource directory information is sent to the cache server, so that other servers in the first system domain can conveniently and quickly read the resource directory information from the cache server, and quick access to data is realized. Optionally, the management server may further determine whether the first resource information needs to be sent to the cache server according to actual needs, or determine whether the matched first resource information and resource directory information need to be sent to the cache server.
For example, the management server may further determine a first data processing device to which the first resource information relates, and when the update frequency of the resource information of the first data processing device in a specified time period is greater than a specified frequency, the management server may send the first resource information to the cache server, so that the other servers can quickly acquire the first resource information from the cache server, so as to ensure the validity of the acquired data and improve the resource information synchronization efficiency of the individual device.
The update frequency may be characterized by the total number of times the resource information is changed in the specified time period, that is, the update frequency r (c) of the resource information in the specified time period T of the first data processing apparatus r is (1/T) × Σ c, where Σ c is the total number of times the resource information is changed in the specified time period. The duration of the designated time period may be determined according to actual needs, for example, the designated time period may be one hour or one day.
For example, in the resource management system, the resource information such as the geographic position information of the individual device may frequently change, and if the resource information of the individual device is frequently searched for in the database server through the management server, the synchronization efficiency of the resource directory information related to the individual device may be low, at this time, because the cache server has a fast read-write speed, if the resource information of the individual device is stored in the cache server, when the resource information of the individual device needs to be acquired, the resource information of the individual device may be quickly read from the cache server, and the rate of acquiring the resource information of the individual device may be increased, so as to ensure the validity of the data acquired from the cache server, and improve the resource information synchronization efficiency of the individual device.
And after the matched resource information and resource directory information are sent to the database memory and/or the cache server, the resource information cached in the management server can be deleted, so that the resource directory information is stored in the management server, and the running performance of the management server is ensured.
By way of example, with continued reference to fig. 2, the subordinate system domain includes: infrared camera P1, infrared camera P2, and listener P3. As shown in table 2, according to the attribute parameters in the resource information of the infrared camera P1, the first signaling gateway may determine that the monitoring service domain to which the infrared camera P1 belongs is a lower system domain, the root node of the infrared camera P1 in the lower system domain is a camera, the first-level leaf node to which the infrared camera P1 belongs is an infrared camera, and accordingly, the format of the attribute parameters may be: lower system domain-camera-infrared camera P1.
As shown in table 2, according to the attribute parameters in the resource information of the infrared camera P2, the first signaling gateway may determine that the monitoring service domain to which the infrared camera P2 belongs is a lower system domain, the root node of the infrared camera P2 in the lower system domain is a camera, the first-level leaf node to which the infrared camera P2 belongs is an infrared camera, and accordingly, the format of the attribute parameters may be: lower system domain-camera-infrared camera P2.
As shown in table 2, the first signaling gateway may determine, according to the attribute parameter in the resource information of the listener P3, that the monitoring service domain to which the listener P3 belongs is a lower system domain, and that the root node to which the listener P3 belongs in the lower system domain is a listening device. Accordingly, the format of the attribute parameter may be: lower system domain-listener device-listener P3.
After the management server determines the resource directory information of the lower system domain as follows according to the analysis result of the first signaling gateway on the infrared camera P1, the infrared camera P2 and the listener P3: the infrared camera P1 and the infrared camera P2 both belong to a root node "camera", and both belong to a first-level leaf node "infrared camera", the listener P3 belongs to a root node "monitoring device", and the listener P3 does not belong to any leaf node. After matching the resource information with the resource directory information, please refer to fig. 5 for the established corresponding relationship between the resource directory information and the resource information.
TABLE 2
Figure BDA0002144196330000161
Step 406, the cache server stores the resource directory information.
The cache server has a higher read-write speed, and the resource directory information is stored in the cache server, so that other servers in the first system domain can conveniently and quickly read the resource directory information from the cache server.
It should be noted that, when the management server sends the first resource information to the cache server, the cache server needs to store the first resource information. Or, when the management server sends the matched first resource information and resource directory information to the cache server, the cache server further needs to correspondingly store the first resource information and resource directory information.
Step 407, the database server correspondingly stores the resource directory information and the first resource information.
In an implementation manner, after obtaining the resource directory information corresponding to the first resource information, the management server may send both the resource directory information and the first resource information to the database server, and the database server may match the first resource information with the resource directory information to establish a corresponding relationship between the first resource information and the resource directory information, and then correspondingly store the first resource information and the resource directory information having the corresponding relationship.
In another implementation manner, if the management server determines the corresponding relationship between the first resource information and the resource directory information, the management server may send the first resource information and the resource directory information having the corresponding relationship to the database server, and the database server may correspondingly store the first resource information and the resource directory information having the corresponding relationship.
In another implementation manner, the management server may also send the first resource information to the database server, and the database server may monitor the cache server, and when the resource directory information in the cache server is updated, the database server obtains the resource directory information from the cache server, then establishes a corresponding relationship between the first resource information and the resource directory information, and correspondingly stores the first resource information and the resource directory information having the corresponding relationship.
The database server may be configured with a reliable backup policy, for example, the database server may be configured with a hot backup mechanism, so as to reduce the probability of information loss caused by a failure or power failure of the server, and improve the reliability of data storage.
And step 408, the third signaling gateway acquires the resource directory information and sends the resource directory information to the second proxy server.
After determining the resource directory information of the lower system domain, the first system domain may send the resource directory information to the upper system domain. The implementation mode can comprise the following implementation modes:
in a first implementation manner, after the management server determines the resource directory information, the first system domain may immediately or periodically send the resource directory information to the third signaling gateway, and at this time, the third signaling gateway may obtain the resource directory information from the management server and send the resource directory information to the second proxy server, so as to send the resource directory information to the upper system domain through the second proxy server.
Before sending the resource directory information to the third signaling gateway, the management server may send a third signaling gateway recommendation request to the load balancing server, so that the load balancing server recommends the third signaling gateway to the load balancing server, where the performance of the third signaling gateway is better than that of other signaling gateways, and the management server sends the resource directory information to the third signaling gateway determined by the load balancing server, where the implementation process refers to the foregoing steps 401 to 403, and is not described here again.
In a second implementation manner, the superior system domain may send a resource directory information query request to the first system domain, where the request is used to request to query the resource directory information in the first system domain, and the first system domain may send the resource directory information to the superior system domain based on the resource directory information query request.
Because the second proxy server is used for information interaction with the superior system domain, the second proxy server can receive a resource directory information query request sent by the superior system domain, and then send the resource directory information query request to the third signaling gateway, and the third signaling gateway can acquire resource directory information from the first system domain based on the resource directory information query request, and send the acquired resource directory information to the second proxy server, so as to send the resource directory information to the superior system domain through the second proxy server. It should be noted that the third signaling gateway may further process the resource directory information into a message form, so that the second proxy server sends the resource directory information in the message form to the upper system domain.
Before sending the resource directory information to the third signaling gateway, the second proxy server may send a third signaling gateway recommendation request to the load balancing server, so that the load balancing server recommends the third signaling gateway to the third signaling gateway, where the performance of the third signaling gateway is better than that of other signaling gateways, and the management server sends the resource directory information to the third signaling gateway recommended by the load balancing server, where the implementation process refers to the foregoing steps 401 to 403, and is not described here again.
Moreover, the resource directory information query request may be a request that is periodically sent to the first system domain by the upper system domain, or may also be a request that is sent by the upper system domain when the resource directory information needs to be used.
It should be noted that, when the server in the first system domain manages the lower system domain, the server may also query the resource directory information to implement association with the lower system domain based on the resource directory information, so that the server in the first system domain may also generate a resource directory information query request, obtain the resource directory information by the third signaling gateway, and send the resource directory information to the corresponding server by the third signaling gateway or the second proxy server, where the process may refer to the process in step 408.
Further, since the cache server has a faster information reading speed, when acquiring the resource directory information from the first system domain based on the resource directory information query request, the third signaling gateway may preferentially query the cache server to determine whether the cache server stores the resource directory information requested by the upper system domain, and when the cache server does not store the acquired resource directory information, query the cache server to acquire the acquired resource directory information.
Step 409, the second proxy server sends the resource directory information to the superior system domain.
And step 410, the first proxy server receives the resource updating information sent by the lower system domain, and distributes the resource updating information to a second signaling gateway in the multiple signaling gateways.
When the resources in the lower system domain are updated, the resource directory information in the first system domain and the upper system domain need to be updated synchronously, so as to ensure the validity of the information. Optionally, the resource update information includes: changed resource information. Or, the resource update information includes: changed resource information and changed directory information. Alternatively, the resource update information includes: and after the resources are updated, all the resource information in the lower system domain. Or, the resource update information includes: and after the resources are updated, all the resource information and the directory information in the lower system domain. In addition, for the implementation process in which the first proxy server distributes the resource update information to the second signaling gateway in the multiple signaling gateways, reference may be made to steps 401 to 403, and for the convenience of the reader, shown in fig. 4 is a schematic diagram in which the first proxy server directly distributes the resource update information to the second signaling gateway.
Optionally, the resource update information may be identified by using an update indicator, that is, when the information carries the update indicator, it may be determined that the information is the resource update information. Alternatively, since the signaling gateway usually stores a log file in which the generation time of the information from the lower system domain is recorded, after the first system domain newly receives the information from the lower system domain, the generation time of the newly received information may be compared with the generation time of the information described in the log file, and when the generation time of the newly received information is later than the generation time of the information described in the log file, the information may be determined as the resource update information.
Step 411, the second signaling gateway analyzes the received resource update information.
In an implementation manner, the second signaling gateway may directly obtain the attribute information of the resource update information and send the attribute information to the management server. And the second signaling gateway can also send the resource updating information to the cache server, the management server and the database server so as to update the resource information in each server. Also, the resource update information may be transmitted to the second proxy server to synchronize the resource update information to the upper system domain.
In another implementation manner, the second signaling gateway may first acquire, in the first system domain, historical resource information related to the same data processing device as the resource update information, then acquire incremental information of the resource update information relative to the historical resource information, acquire attribute information of the incremental information, and send the attribute information to the management server, so that the management server performs incremental update on the resource directory information according to the attribute information of the incremental information.
Optionally, after obtaining the incremental information, the second signaling gateway may further send the incremental information to the cache server, the management server, and the database server, so as to perform incremental update on the resource information in each server. And, the delta information may also be sent to a second proxy server to synchronize the delta information to the upper level system domain.
Moreover, since the cache server has a faster information reading speed, the implementation process of obtaining the historical resource information may include: and when determining that the cache server stores the resource information related to the same data processing equipment as the resource updating information, the second signaling gateway determines the resource information related to the same data processing equipment as the resource updating information as historical resource information. And when the second signaling gateway determines that the cache server does not store the resource information which relates to the same data processing equipment as the resource updating information, the second signaling gateway determines the resource information which relates to the same data processing equipment as the resource updating information and is stored in the database server as historical resource information.
Step 412, the management server updates the information stored in the database server based on the analysis result of the second signaling gateway on the resource update information.
Corresponding to the first implementable manner in step 411, the management server may obtain the resource directory information based on the analysis result of the second signaling gateway on the resource update information, replace the resource directory information related to the same data processing device as the resource update information with the resource directory information, implement the update of the resource directory information, and then update the information stored in the database server according to the updated resource directory information, and its implementation process may refer to step 405 and step 407, respectively.
Corresponding to the second implementation manner in step 411, the management server may update the resource directory information of the historical resource information based on the attribute information of the incremental information, and then update the information stored in the database server according to the updated resource directory information, and the implementation process may refer to step 405 and step 407.
And 413, the second signaling gateway sends the resource updating information to the second proxy server.
The implementation of step 413 may refer to step 408 accordingly.
And 414, the second proxy server sends the resource updating information to the superior system domain so that the superior system domain updates the information based on the resource updating information.
Optionally, the first system domain may further send the updated resource directory information to the upper system domain through the second proxy server.
It should be noted that, in the initial management process of the resource information, the resource directory information obtained in step 408 is actually updated with respect to the history information, so that the resource directory information may be sent to the upper-level system domain by executing the resource updating process, that is, the second signaling gateway sends the resource updating information to the second proxy server, and the second proxy server sends the resource updating information to the upper-level system domain, so that the upper-level system domain performs information updating based on the resource updating information. Therefore, in practical implementation, the present disclosure may not perform steps 408 and 409 after step 407, and directly perform the aforementioned steps 413 and 414.
It should be noted that each server may be configured with a hot backup mechanism, so as to reduce the probability of information loss caused by server failure or power failure, and ensure the stability of system operation.
In addition, when the resource management method provided by the embodiment of the present disclosure is described, the resource information of the data processing device in the lower system domain is processed as an example, but the resource management method provided by the embodiment of the present disclosure is also applicable to managing the resource information of the data processing device in the first system domain, and the embodiment of the present disclosure is not particularly limited to this. And the implementation process of managing the resource information of the data processing device in the first system domain refers to the implementation process of managing the resource information of the data processing device in the lower system domain. Meanwhile, for the convenience of the reader, the first signaling gateway, the second signaling gateway and the third signaling gateway are not distinguished in fig. 4.
To sum up, in the resource management method provided in the embodiment of the present disclosure, the first proxy server receives the first resource information sent by the lower system domain, and the first signaling gateway analyzes the received first resource information, which reduces a load of the signaling gateway for receiving and sending the resource information, improves data processing efficiency of the first system domain, ensures performance of the first system domain, and further reduces a probability of system crash caused by high data concurrence. Moreover, when the scale of the resource information in the resource management system is tens of millions of scales or even larger, the effect of improving the system performance and the server performance is particularly obvious.
The following describes the resource management system provided in the embodiments of the present disclosure in detail.
With continued reference to fig. 1, the resource management system may include: a first system domain 11 and at least one subordinate system domain 12 managed by the first system domain 11, the subordinate system domain 12 may include: the first system domain 11 may include at least one data processing device: a management server 111, a database server 112, a first proxy server 113, and a plurality of signaling gateways 114. Each signaling gateway 114 may analyze the signaling when the received information comes from the lower system domain (at this time, the signaling is usually in a message form), and encapsulate the signaling when the sent information is a message that needs to be reported to the upper system domain.
Optionally, the information reading speed of the first proxy server 113 is greater than the information reading speed of the signaling gateway 114.
The first proxy server 113 is configured to receive the first resource information sent by the lower system domain 12, and distribute the first resource information to a first signaling gateway 114 in the plurality of signaling gateways 114.
The first signaling gateway 114 is configured to analyze the received first resource information.
The management server 111 is configured to determine resource directory information of the lower system domain 12 based on an analysis result of the first resource information from the first signaling gateway 114.
The database server 112 is configured to store the resource directory information and the first resource information correspondingly.
To sum up, in the resource management system provided in the embodiment of the present disclosure, the first proxy server receives the first resource information sent by the lower system domain, and the first signaling gateway analyzes the received first resource information, which reduces a load of the signaling gateway for receiving and sending the resource information, improves data processing efficiency of the first system domain, ensures performance of the first system domain, and further reduces a probability of system crash caused by high data concurrence.
Optionally, with continuing reference to fig. 2, the resource management system may further include: a cache server 115.
In one implementation, the cache server 115 is configured to store resource directory information, and the cache server 115 stores the resource directory information for access by other devices in the first system domain 11.
In another implementation manner, the management server 111 may determine a first data processing device corresponding to the first resource information, and when the update frequency of the resource information of the first data processing device in a specified time period is greater than a specified frequency, the management server 111 is configured to control the first proxy server 113 to send the first resource information to the cache server 115, at this time, the cache server 115 is further configured to store the received first resource information, and the first resource information stored by the cache server 115 is also used for other devices in the first system domain 11 to access.
Optionally, the database server 112 is further configured to detect whether the resource information stored in the cache server 115 is updated; and when the resource information stored in the cache server 115 is updated, the database server 112 is configured to update the corresponding resource information in the database server 112 based on the updated resource information in the cache server 115.
Optionally, the first proxy server 113 is further configured to receive resource update information sent by the lower system domain 12, and distribute the resource update information to a second signaling gateway 114 in the multiple signaling gateways 114; the second signaling gateway 114 is configured to analyze the received resource update information; the management server 111 is further configured to update the information stored in the database server 112 based on the analysis result of the resource update information by the second signaling gateway 114.
Wherein the resource update information includes: changed resource information; or, changed resource information and changed directory information.
Optionally, with continuing reference to fig. 2, the resource management system may further include: a superior system domain 13 for managing the first system domain 11, the first system domain 11 may further include: the second proxy server 117.
At this time, the second signaling gateway 114 is also configured to send the resource update information to the second proxy server 117; the second proxy server 117 is configured to send the resource update information to the upper system domain 13, so that the upper system domain 13 can update information based on the resource update information.
Optionally, with continuing reference to fig. 2, the resource management system may further include: a load balancing server 116. The load balancing server 116 is configured to screen the signaling gateways 114 from the multiple signaling gateways 114 for information analysis.
The load balancing server 116 is specifically configured to obtain operation state information of each signaling gateway 114, and determine n signaling gateways 114 used for information analysis in the multiple signaling gateways 114 based on the operation state information. Wherein, the operation status information is used to reflect the operation status of the signaling gateway 114, and n is a positive integer.
To sum up, in the resource management system provided in the embodiment of the present disclosure, the first proxy server receives the first resource information sent by the lower system domain, and the first signaling gateway analyzes the received first resource information, which reduces a load of the signaling gateway for receiving and sending the resource information, improves data processing efficiency of the first system domain, ensures performance of the first system domain, and further reduces a probability of system crash caused by high data concurrence. Moreover, when the scale of the resource information in the monitoring system is tens of millions of scales or even larger, the effect of improving the system performance and the server performance is particularly obvious.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the server described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The disclosed embodiment provides a computer device, comprising a processor and a memory; the functions of any server in the resource management system provided by the embodiments of the present disclosure are implemented when the processor executes the computer program stored in the memory.
Alternatively, the computer device may be a server. The server may be any server in the monitoring system provided by the embodiment of the disclosure. Fig. 6 is a schematic diagram illustrating a configuration of a server according to an example embodiment. The server 700 includes a Central Processing Unit (CPU)701, a system memory 704 including a Random Access Memory (RAM)702 and a Read Only Memory (ROM)703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The server 700 also includes a basic input/output system (I/O system) 706, which facilitates transfer of information between devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 includes a display 708 for displaying information and an input device 709, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 708 and input device 709 are connected to the central processing unit 701 through an input output controller 710 connected to the system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 710 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer-readable media provide non-volatile storage for the server 700. That is, the mass storage device 707 may include a computer-readable medium (not shown), such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
The server 700 may also operate as a remote computer connected to a network through a network, such as the internet, according to various embodiments of the present disclosure. That is, the server 700 may be connected to the network 712 through a network interface unit 711 connected to the system bus 705, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 711.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 701 implements the functions of any server in the resource management system provided by the embodiment of the present disclosure by executing the one or more programs.
The disclosed embodiments also provide a storage medium, which may be a non-volatile computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a server, the server is enabled to implement the functions of any server in the resource management system provided by the disclosed embodiments.
The embodiment of the present disclosure further provides a computer program product including instructions, which, when the computer program product runs on a server, enables the server to implement the functions of any server in the resource management system provided by the embodiment of the present disclosure.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, which is to be construed in any way as imposing limitations thereon, such as the appended claims, and all changes and equivalents that fall within the true spirit and scope of the present disclosure.

Claims (18)

1. A resource management method applied to a first system domain, the first system domain managing at least one lower system domain, the first system domain comprising: a management server, a database server, a first proxy server, and a plurality of signaling gateways, the method comprising:
the first proxy server receives first resource information sent by the lower system domain and distributes the first resource information to a first signaling gateway in the multiple signaling gateways;
the first signaling gateway analyzes the received first resource information;
the management server determines resource directory information of the subordinate system domain based on an analysis result of the first signaling gateway on the first resource information;
and the database server correspondingly stores the resource directory information and the first resource information.
2. The method of claim 1, wherein the first system domain further comprises: a cache server, after the management server determines the resource directory information of the lower system domain based on the analysis result of the first signaling gateway on the first resource information, the method further includes:
and the cache server stores the resource directory information, and the resource directory information stored by the cache server is used for other equipment in the first system domain to access.
3. The method of claim 1, wherein the first system domain further comprises: a cache server, the lower system domain comprising at least one data processing device, after the first proxy server receives the first resource information sent by the lower system domain, the method further comprising:
the management server determines first data processing equipment corresponding to the first resource information;
when the updating frequency of the resource information of the first data processing equipment in a specified time period is greater than a specified frequency, the management server sends the first resource information to the cache server;
the cache server stores the received first resource information, and the first resource information stored by the cache server is used for other devices in the first system domain to access.
4. The method of claim 3, further comprising:
the database server detects whether the resource information stored in the cache server is updated;
and when the resource information stored in the cache server is updated, the database server updates the corresponding resource information in the database server based on the updated resource information in the cache server.
5. The method of claim 1, wherein after the database server stores the resource directory information and the first resource information, the method further comprises:
the first proxy server receives resource updating information sent by the lower system domain and distributes the resource updating information to a second signaling gateway in the multiple signaling gateways;
the second signaling gateway analyzes the received resource updating information;
and the management server updates the information stored in the database server based on the analysis result of the second signaling gateway on the resource updating information.
6. The method of claim 5, wherein the resource update information comprises: changed resource information; or, changed resource information and changed directory information.
7. The method of claim 5, wherein the first system domain further comprises: a second proxy server, after the management server updates the information stored by the database server based on the analysis result of the second signaling gateway on the resource update information, the method further includes:
the second signaling gateway sends the resource updating information to the second proxy server;
and the second proxy server sends the resource updating information to a superior system domain so as to update the information of the superior system domain based on the resource updating information.
8. The method of claim 1 or 5, wherein the first system domain further comprises: a load balancing server, the method further comprising:
and the load balancing server screens the plurality of signaling gateways to obtain the signaling gateways for information analysis.
9. The method of claim 8, wherein the load balancing server screens the plurality of signaling gateways for information analysis, comprising:
the load balancing server acquires the running state information of each signaling gateway;
the load balancing server determines n signaling gateways for information analysis in the multiple signaling gateways based on the running state information, wherein the running state information is used for reflecting the running state of the signaling gateways, and n is a positive integer.
10. A resource management system, characterized in that the resource management system comprises: a first system domain and at least one lower level system domain managed by the first system domain, the first system domain including: the system comprises a management server, a database server, a first proxy server and a plurality of signaling gateways;
the first proxy server is used for receiving first resource information sent by the lower system domain and distributing the first resource information to a first signaling gateway in the multiple signaling gateways;
the first signaling gateway is used for analyzing the received first resource information;
the management server is used for determining the resource directory information of the subordinate system domain based on the analysis result of the first signaling gateway on the first resource information;
the database server is used for correspondingly storing the resource directory information and the first resource information.
11. The system of claim 10, wherein the first system domain further comprises: a cache server;
the cache server is configured to store the resource directory information, and the resource directory information stored by the cache server is used for other devices in the first system domain to access.
12. The system of claim 10, wherein the first system domain further comprises: a cache server, the lower level system domain comprising at least one data processing device;
the management server determines first data processing equipment corresponding to the first resource information;
when the update frequency of the resource information of the first data processing device in a specified time period is greater than a specified frequency, the management server is used for controlling the first proxy server to send the first resource information to the cache server;
the cache server is configured to store the received first resource information, and the first resource information stored by the cache server is used for other devices in the first system domain to access.
13. The system of claim 12,
the database server is also used for detecting whether the resource information stored in the cache server is updated or not;
and when the resource information stored in the cache server is updated, the database server is used for updating the corresponding resource information in the database server based on the updated resource information in the cache server.
14. The system of claim 10,
the first proxy server is further configured to receive resource update information sent by the lower system domain, and distribute the resource update information to a second signaling gateway of the multiple signaling gateways;
the second signaling gateway is used for analyzing the received resource updating information;
the management server is further configured to update the information stored in the database server based on an analysis result of the second signaling gateway on the resource update information.
15. The system of claim 14, wherein the resource update information comprises: changed resource information; or, changed resource information and changed directory information.
16. The system of claim 14, wherein the resource management system further comprises: a superior system domain, the first system domain further comprising: a second proxy server;
the second signaling gateway is further used for sending the resource updating information to the second proxy server;
the second proxy server is used for sending the resource updating information to a superior system domain so as to update information of the superior system domain based on the resource updating information.
17. The system of claim 10 or 14, wherein the first system domain further comprises: a load balancing server;
and the load balancing server is used for screening the plurality of signaling gateways to obtain the signaling gateways for information analysis.
18. The system of claim 17,
the load balancing server is specifically configured to obtain operating state information of each signaling gateway;
the load balancing server is specifically configured to determine n signaling gateways for information analysis in the multiple signaling gateways based on the operation state information, where the operation state information is used to reflect an operation state of the signaling gateways, and n is a positive integer.
CN201910679030.2A 2018-12-07 2019-07-25 Resource management method and system Active CN111294231B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811498073 2018-12-07
CN2018114980732 2018-12-07

Publications (2)

Publication Number Publication Date
CN111294231A CN111294231A (en) 2020-06-16
CN111294231B true CN111294231B (en) 2022-05-20

Family

ID=71024106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910679030.2A Active CN111294231B (en) 2018-12-07 2019-07-25 Resource management method and system

Country Status (1)

Country Link
CN (1) CN111294231B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726835B (en) * 2022-03-28 2022-12-02 慧之安信息技术股份有限公司 Gateway directory information sending method and device based on caching technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380777A (en) * 2001-04-11 2002-11-20 日本电气株式会社 Gateway system and total management method
CN101170730A (en) * 2006-10-27 2008-04-30 华为技术有限公司 Multicast and broadcast service system and multicast and broadcast service domain classification method
CN101959220A (en) * 2009-07-15 2011-01-26 中兴通讯股份有限公司 Management method and management system of centralized mobile agent server
CN102783172A (en) * 2010-01-13 2012-11-14 高通股份有限公司 Notification of interactivity event asset delivery sources in a mobile broadcast communication system
CN106161598A (en) * 2016-06-28 2016-11-23 济南中维世纪科技有限公司 A kind of system and method acting on behalf of keep-alive
CN107016069A (en) * 2017-03-22 2017-08-04 南京理工大学 Towards the metadata interchange system of intelligent transportation
CN107710695A (en) * 2016-03-30 2018-02-16 华为技术有限公司 A kind of method, corresponding intrument and system for accessing family's NAS device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373898C (en) * 2003-08-06 2008-03-05 中兴通讯股份有限公司 Method for realizing signaling agency based on MEGACO protocol
US9860346B2 (en) * 2015-10-14 2018-01-02 Adp, Llc Dynamic application programming interface builder

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380777A (en) * 2001-04-11 2002-11-20 日本电气株式会社 Gateway system and total management method
CN101170730A (en) * 2006-10-27 2008-04-30 华为技术有限公司 Multicast and broadcast service system and multicast and broadcast service domain classification method
CN101959220A (en) * 2009-07-15 2011-01-26 中兴通讯股份有限公司 Management method and management system of centralized mobile agent server
CN102783172A (en) * 2010-01-13 2012-11-14 高通股份有限公司 Notification of interactivity event asset delivery sources in a mobile broadcast communication system
CN107710695A (en) * 2016-03-30 2018-02-16 华为技术有限公司 A kind of method, corresponding intrument and system for accessing family's NAS device
CN106161598A (en) * 2016-06-28 2016-11-23 济南中维世纪科技有限公司 A kind of system and method acting on behalf of keep-alive
CN107016069A (en) * 2017-03-22 2017-08-04 南京理工大学 Towards the metadata interchange system of intelligent transportation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
视频监控系统互联网关设计与实现;赵荣辉等;《电视技术》;20170617(第06期);全文 *

Also Published As

Publication number Publication date
CN111294231A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
US11394625B2 (en) Service level agreement based storage access
US11392416B2 (en) Automated reconfiguration of real time data stream processing
US10560465B2 (en) Real time anomaly detection for data streams
US9817703B1 (en) Distributed lock management using conditional updates to a distributed key value data store
US20160292249A1 (en) Dynamic replica failure detection and healing
US10860604B1 (en) Scalable tracking for database udpates according to a secondary index
US20070174417A1 (en) Integrated two-way communications between database client users and administrators
CN112565415B (en) Cross-region resource management system and method based on cloud edge cooperation
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
CN113127732B (en) Service data acquisition method, device, computer equipment and storage medium
CN110837423A (en) Method and device for automatically acquiring data of guided transport vehicle
US20190028501A1 (en) Anomaly detection on live data streams with extremely low latencies
CN112328448A (en) Zookeeper-based monitoring method, monitoring device, equipment and storage medium
US20070174395A1 (en) Systems, methods, and media for communication with database client users
CN111338834B (en) Data storage method and device
CN108205468A (en) A kind of distributed system and implementation method towards massive video image
CN111294231B (en) Resource management method and system
CN112865927B (en) Message delivery verification method, device, computer equipment and storage medium
US11388109B2 (en) Hierarchical capacity management in a virtualization environment
CN113965538B (en) Equipment state message processing method, device and storage medium
WO2021212493A1 (en) Data synchronization method and device, data storage system and computer-readable medium
US10348596B1 (en) Data integrity monitoring for a usage analysis system
US11259169B2 (en) Highly scalable home subscriber server
CN114402577A (en) Caching capabilities for single-page applications
CN115134377A (en) OOS storage method based on cloud computing technology

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