CN112491566A - Resource management method, resource management system, and computer-readable storage medium - Google Patents

Resource management method, resource management system, and computer-readable storage medium Download PDF

Info

Publication number
CN112491566A
CN112491566A CN202011274940.1A CN202011274940A CN112491566A CN 112491566 A CN112491566 A CN 112491566A CN 202011274940 A CN202011274940 A CN 202011274940A CN 112491566 A CN112491566 A CN 112491566A
Authority
CN
China
Prior art keywords
conference
resources
resource
determining
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011274940.1A
Other languages
Chinese (zh)
Other versions
CN112491566B (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.)
Beijing Rongxun Technology Co ltd
Original Assignee
Beijing Rongxun 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 Beijing Rongxun Technology Co ltd filed Critical Beijing Rongxun Technology Co ltd
Priority to CN202011274940.1A priority Critical patent/CN112491566B/en
Publication of CN112491566A publication Critical patent/CN112491566A/en
Application granted granted Critical
Publication of CN112491566B publication Critical patent/CN112491566B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1818Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1827Network arrangements for conference optimisation or adaptation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Abstract

The application discloses a resource management method, a resource management system and a computer readable storage medium, wherein the method comprises the following steps: determining access resources and media resources in the resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources; acquiring conference resources occupied by a current conference user group in a resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources; and responding the conference reservation request, determining user information of a reservation conference user group corresponding to the conference reservation request, and distributing corresponding conference resources for the reservation conference user group based on the user information, the conference reservation request and the residual conference resources. According to the conference reservation method and the conference reservation system, the conference resources of the system are determined according to the access resources and the media resources, and then the corresponding conference resources are distributed for the reserved conference user group according to the user information, the conference reservation request and the residual conference resources, so that the utilization rate of the conference resources is improved.

Description

Resource management method, resource management system, and computer-readable storage medium
Technical Field
The present application relates to the field of data processing and data communication technologies, and in particular, to a resource management method, a resource management system, and a computer-readable storage medium.
Background
With the development of video services, the requirements for conference resources are higher and higher. The main method at present is to perform resource expansion on the video service. However, due to resource limitations such as hardware, the extent of resource expansion is restricted, resulting in insufficient conference resources. Meanwhile, the video service is started at variable time, so that conference resources are wasted.
Disclosure of Invention
The present application mainly aims to provide a resource management method, a resource management system and a computer-readable storage medium, which aim to improve the utilization rate of conference resources.
In order to achieve the above object, an embodiment of the present application provides a resource management method, where the resource management method includes:
determining access resources and media resources in a resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources;
determining conference resources occupied by a current conference user group in the resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources;
responding a conference reservation request, determining user information of a reserved conference user group corresponding to the conference reservation request, and allocating corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request and the remaining conference resources.
Optionally, the step of determining user information of a conference user group reserved corresponding to the conference reservation request, and allocating a corresponding conference resource to the conference user group reserved based on the user information, the conference reservation request, and the remaining conference resource includes:
determining a user license corresponding to the reserved conference user group, and detecting whether the user license is matched with a preset license;
if the user license is detected to be matched with the preset license, determining the user priority corresponding to the reserved conference user group;
and distributing corresponding conference resources for the reserved conference user group based on the user priority, the conference reservation request and the residual conference resources.
Optionally, the step of allocating corresponding conference resources for the reserved group of conference users based on the user priorities, the conference reservation request, and the remaining conference resources includes:
when the user priority is detected to be matched with a preset priority, determining reservation information in the conference reservation request, and determining a corresponding first reserved conference resource based on the user priority and the reservation information;
when the remaining conference resources are detected to be larger than the first reserved conference resources, determining a first system safety factor corresponding to the first reserved conference resources;
and if the safety factor of the first system is determined to be smaller than or equal to a preset safety threshold value, allocating the first reserved conference resource for the reserved conference user group.
Optionally, after the step of determining the first system safety factor corresponding to the first reserved conference resource when it is detected that the remaining conference resource is greater than the reserved conference resource, the method further includes:
and if the safety factor of the first system is determined to be greater than the preset safety threshold, closing the conference reservation request and sending corresponding first prompt information.
Optionally, the step of allocating corresponding conference resources for the reserved group of conference users based on the user priorities, the conference reservation request, and the remaining conference resources includes:
when the user priority is detected to be not matched with the preset priority, determining a corresponding second reserved conference resource based on the user priority and the conference reservation request;
and distributing corresponding conference resources for the reserved conference user group based on the second reserved conference resources, the rest conference resources and a second system safety coefficient corresponding to the second reserved conference resources.
Optionally, after the step of determining the user license corresponding to the reserved conference user group and detecting whether the user license is matched with a preset license, the method further includes:
and if the user license is detected not to be matched with the preset license, closing the conference reservation request and sending corresponding second prompt information.
Optionally, the step of determining system conference resources of the resource scheduling system based on the access resources and media resources includes:
determining the number of devices and the types of the access devices, and determining corresponding access capability and coding and decoding capability based on the number of the devices and the types of the devices;
determining a codec format and fluency, and determining corresponding media processing capacity based on the codec format and the fluency;
and determining the access capability, the coding and decoding capability and the media processing capability as system conference resources of the resource scheduling system.
Optionally, after the step of responding to the conference reservation request, determining user information of a reserved conference user group corresponding to the conference reservation request, and allocating corresponding conference resources to the reserved conference user group based on the user information, the conference reservation request, and the remaining conference resources, the method further includes:
determining the starting time and the ending time in the conference reservation request, and determining the corresponding reservation duration based on the starting time and the ending time;
determining the time granularity of the resource scheduling system, dividing the reservation duration based on the time granularity to obtain disposable conference resources corresponding to each time point, and allocating corresponding conference resources to other conference reservation requests according to the disposable conference resources;
and responding to the conference ending request corresponding to the reserved conference user group, and releasing the conference resource corresponding to the reserved conference user group based on the conference ending request.
An embodiment of the present application further provides a resource management system, where the resource management system includes a memory, a processor, and a resource management program stored in the memory and running on the processor, and the resource management program implements the steps of the resource management method when executed by the processor.
An embodiment of the present application further provides a computer-readable storage medium, where a resource management program is stored on the computer-readable storage medium, and when executed by a processor, the resource management program implements the steps of the resource management method described above.
According to the resource management method, the resource management system and the computer readable storage medium provided by the embodiment of the application, the access resource and the media resource in the resource scheduling system are determined, and the system conference resource of the resource scheduling system is determined based on the access resource and the media resource; acquiring conference resources occupied by a current conference user group in a resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources; and responding the conference reservation request, determining user information of a reservation conference user group corresponding to the conference reservation request, and distributing corresponding conference resources for the reservation conference user group based on the user information, the conference reservation request and the residual conference resources. Therefore, the conference resource of the system of the resource scheduling system is determined according to the calculation model of the access resource and the media resource, the influence of the limitation of hardware equipment on the conference resource is reduced, and the corresponding conference resource is distributed for the reserved conference user group according to the user information, the conference reservation request and the rest conference resource, so that the corresponding conference resource is distributed for the reserved conference user group according to different user information, the conference resource is reasonably distributed, and the utilization rate of the conference resource is improved.
Drawings
FIG. 1 is a schematic diagram of a resource management system of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of a first embodiment of a resource management method according to the present application;
FIG. 3 is a detailed flowchart of step S10 in the first embodiment of the resource management method of the present application;
FIG. 4 is a detailed flowchart of step S30 in the first embodiment of the resource management method of the present application;
FIG. 5 is a detailed flowchart of step S303 in the first embodiment of the resource management method of the present application;
FIG. 6 is a flowchart illustrating a resource management method according to a second embodiment of the present application;
FIG. 7 is a flow chart illustrating an implementation of the resource management method of the present application;
the implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: determining access resources and media resources in the resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources; acquiring conference resources occupied by a current conference user group in a resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources; and responding the conference reservation request, determining user information of a reservation conference user group corresponding to the conference reservation request, and distributing corresponding conference resources for the reservation conference user group based on the user information, the conference reservation request and the residual conference resources. Therefore, the conference resource of the system of the resource scheduling system is determined according to the calculation model of the access resource and the media resource, the influence of the limitation of hardware equipment on the conference resource is reduced, and the corresponding conference resource is distributed for the reserved conference user group according to the user information, the conference reservation request and the rest conference resource, so that the corresponding conference resource is distributed for the reserved conference user group according to different user information, the conference resource is reasonably distributed, and the utilization rate of the conference resource is improved.
Specifically, referring to fig. 1, fig. 1 is a schematic structural diagram of a resource management system of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the resource management system according to the embodiment of the present application may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally include a standard wired interface (e.g., a USB (Universal Serial Bus) interface), and a wireless interface (e.g., a bluetooth interface). The network interface 1004 may include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the resource management system architecture shown in FIG. 1 does not constitute a limitation of the resource management system and may include more or fewer components than shown, or some of the components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating device, a network communication module, a user interface module, and a resource management program. The operating device is a program for managing and controlling hardware and software resources of the resource management system, and supports the running of the resource management program and other software or programs.
In the resource management system shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; among other things, the processor 1001 may be configured to call a resource management program stored in the memory 1005, and perform the following operations:
determining access resources and media resources in a resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources;
determining conference resources occupied by a current conference user group in the resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources;
responding a conference reservation request, determining user information of a reserved conference user group corresponding to the conference reservation request, and allocating corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request and the remaining conference resources.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
determining a user license corresponding to the reserved conference user group, and detecting whether the user license is matched with a preset license;
if the user license is detected to be matched with the preset license, determining the user priority corresponding to the reserved conference user group;
and distributing corresponding conference resources for the reserved conference user group based on the user priority, the conference reservation request and the residual conference resources.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
when the user priority is detected to be matched with a preset priority, determining reservation information in the conference reservation request, and determining a corresponding first reserved conference resource based on the user priority and the reservation information;
when the remaining conference resources are detected to be larger than the first reserved conference resources, determining a first system safety factor corresponding to the first reserved conference resources;
and if the safety factor of the first system is determined to be smaller than or equal to a preset safety threshold value, allocating the first reserved conference resource for the reserved conference user group.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
and if the safety factor of the first system is determined to be greater than the preset safety threshold, closing the conference reservation request and sending corresponding first prompt information.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
when the user priority is detected to be not matched with the preset priority, determining a corresponding second reserved conference resource based on the user priority and the conference reservation request;
and distributing corresponding conference resources for the reserved conference user group based on the second reserved conference resources, the rest conference resources and a second system safety coefficient corresponding to the second reserved conference resources.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
and if the user license is detected not to be matched with the preset license, closing the conference reservation request and sending corresponding second prompt information.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
determining the number of devices and the types of the access devices, and determining corresponding access capability and coding and decoding capability based on the number of the devices and the types of the devices;
determining a codec format and fluency, and determining corresponding media processing capacity based on the codec format and the fluency;
and determining the access capability, the coding and decoding capability and the media processing capability as system conference resources of the resource scheduling system.
Further, the processor 1001 may call a resource manager stored in the memory 1005, and also perform the following operations:
determining the starting time and the ending time in the conference reservation request, and determining the corresponding reservation duration based on the starting time and the ending time;
determining the time granularity of the resource scheduling system, dividing the reservation duration based on the time granularity to obtain disposable conference resources corresponding to each time point, and allocating corresponding conference resources to other conference reservation requests according to the disposable conference resources;
and responding to the conference ending request corresponding to the reserved conference user group, and releasing the conference resource corresponding to the reserved conference user group based on the conference ending request.
The method comprises the steps of determining access resources and media resources in a resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources; acquiring conference resources occupied by a current conference user group in a resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources; and responding the conference reservation request, determining user information of a reservation conference user group corresponding to the conference reservation request, and distributing corresponding conference resources for the reservation conference user group based on the user information, the conference reservation request and the residual conference resources. Therefore, the conference resource of the system of the resource scheduling system is determined according to the calculation model of the access resource and the media resource, the influence of the limitation of hardware equipment on the conference resource is reduced, and the corresponding conference resource is distributed for the reserved conference user group according to the user information, the conference reservation request and the rest conference resource, so that the corresponding conference resource is distributed for the reserved conference user group according to different user information, the conference resource is reasonably distributed, and the utilization rate of the conference resource is improved.
Based on the above resource management system architecture, but not limited to the above architecture, the embodiments of the present application provide an embodiment of a resource management method, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown or described here.
The execution subject of the method in this embodiment of the present application may be a resource management device, or may also be a resource management system, and this embodiment takes the resource management system as the execution subject for example.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the resource management method of the present application. The resource management method comprises the following steps:
step S10, determining access resources and media resources in the resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources.
The resource management System obtains all access devices, soft/hard MCUs (Micro Controller units), DNS (Domain Name System) distribution servers, and signaling access gateways that have been registered in the resource scheduling System. Then, the resource management system determines the total bandwidth of the resource scheduling system, i.e. the access capability, according to the total number of the devices of the access device, the number of the soft/hard MCUs, the number of the DNS distribution servers and the number of the signaling access gateways. And then, the resource management system determines the coding and decoding capacity of the resource scheduling system according to the number and the type of the internal memories in the soft MCU, the number and the type of the CPUs in the soft MCU and the number of various codecs in the hard MCU, wherein the total bandwidth and the coding and decoding capacity are the access resources of the resource scheduling system. The resource management system determines the media resources, i.e. the media processing capacity, of the resource scheduling system according to the codec format and the fluency. And finally, the resource scheduling system determines the access resources and the media resources as system conference resources of the resource scheduling system, namely determines the total bandwidth, the coding and decoding capacity and the media resources of the resource scheduling system.
Step S20, determining the conference resources occupied by the current conference user group in the resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources.
After the resource scheduling system determines the conference resources of the system, the conference resources occupied by the current conference user group are determined according to the number of the terminals accessed by the current conference user group in the resource scheduling system, the number of the used bandwidths, the occupied CPU and the occupied memory in the soft MCU, the number of the used codecs in the hard MCU and the used codec capability. And then, the resource scheduling system calculates the remaining conference resources of the resource scheduling system, namely the number of the remaining bandwidth in the resource scheduling system, the remaining CPU and memory in the soft MCU, the remaining codec number in the hard MCU and the remaining codec capacity according to the occupied conference resources and the system conference resources of the resource scheduling system.
Step S30, responding to the conference reservation request, determining the user information of the reserved conference user group corresponding to the conference reservation request, and allocating the corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request and the remaining conference resources.
And after determining the residual conference resources of the resource scheduling system, the resource scheduling system detects whether a conference reservation request sent by a user exists, and if the resource scheduling system detects that the conference reservation request sent by the user exists, the resource scheduling system responds to the conference reservation request and acquires a user license and a user priority of a reservation conference user group corresponding to the conference reservation request.
And the resource scheduling system determines whether to accept the conference reservation request according to the user license, and if the resource scheduling system determines to reject the conference reservation request through the user license, the resource scheduling system closes the conference reservation request and sends corresponding prompt information to the user terminal. If the resource scheduling system determines to accept the conference reservation request through the user license, the resource scheduling system calculates reservation conference resources required by the reservation conference user group according to reservation information in the conference reservation request and determines whether the remaining conference resources are larger than the reservation conference resources.
And if the resource scheduling system determines that the remaining conference resources are smaller than or reserve the conference resources, closing the conference reservation request and sending corresponding prompt information to the user terminal. And if the resource scheduling system determines that the residual conference resources are larger than the reserved conference resources and determines that the user priority meets the preset requirement, wherein the preset requirement is set according to the user requirement, and the resource scheduling system allocates the reserved conference resources for the reserved conference user group in full. And if the resource scheduling system determines that the user priority does not meet the preset requirement, the resource scheduling system decrementally allocates the reserved conference resources for the reserved conference user group. The full-amount distribution is a full-amount distribution, and the reduced-amount distribution is a partial-amount distribution.
In the embodiment, system conference resources of the resource scheduling system are determined based on access resources and media resources by determining the access resources and the media resources in the resource scheduling system; acquiring conference resources occupied by a current conference user group in a resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources; and responding the conference reservation request, determining user information of a reservation conference user group corresponding to the conference reservation request, and distributing corresponding conference resources for the reservation conference user group based on the user information, the conference reservation request and the residual conference resources. Therefore, the conference resource of the system of the resource scheduling system is determined according to the calculation model of the access resource and the media resource, the influence of the limitation of hardware equipment on the conference resource is reduced, and the corresponding conference resource is distributed for the reserved conference user group according to the user information, the conference reservation request and the rest conference resource, so that the corresponding conference resource is distributed for the reserved conference user group according to different user information, the conference resource is reasonably distributed, and the utilization rate of the conference resource is improved.
Referring to fig. 3, fig. 3 is a detailed flowchart of step S10 in the first embodiment of the resource management method of the present application. The step S10 includes:
step S101, determining the equipment number and the equipment type of access equipment, and determining corresponding access capability and coding and decoding capability based on the equipment number and the equipment type;
step S102, determining a codec format and fluency, and determining corresponding media processing capacity based on the codec format and the fluency;
step S103, determining the access capability, the coding and decoding capability and the media processing capability as system conference resources of the resource scheduling system.
Specifically, the resource management system acquires all the access devices, soft/hard MCUs, DNS distribution servers, and signaling access gateways that have been registered in the resource scheduling system. And then, the resource management system determines the maximum access capability of the resource scheduling system according to the total number of the access devices, the total number of the soft/hard MCUs, the total number of the DNS distribution servers and the total number of the signaling access gateways. And then, the resource management system determines the maximum coding and decoding processing channel, namely the maximum coding and decoding capacity, of the resource scheduling system according to the total amount and the total type of the internal memory in the soft MCU, the total amount and the total type of the CPU in the soft MCU and the total amount of various codecs in the hard MCU, and determines the maximum access capacity and the maximum coding and decoding capacity as the maximum access resource of the resource scheduling system. And the resource management system determines the maximum media processing capacity of the resource scheduling system according to the maximum interpretable format and the maximum fluency. And finally, the resource scheduling system determines the maximum access capacity, the maximum coding and decoding capacity and the maximum media processing capacity as the system conference resources of the resource scheduling system.
In the embodiment, the corresponding access capability and the coding and decoding capabilities are determined based on the number of the access devices and the types of the access devices; determining a compiling and decoding format and fluency, and determining corresponding media processing capacity based on the compiling and decoding format and the fluency; and determining the access capability, the coding and decoding capability and the media processing capability as system conference resources of the resource scheduling system. Therefore, in the embodiment, the system conference resources of the resource scheduling system are determined through the calculation strategies of the maximum access capability, the maximum coding and decoding capability and the maximum media processing capability, and the influence of the limitation of hardware equipment on the conference resources is reduced, so that the utilization rate of the conference resources is improved.
Referring to fig. 4, fig. 4 is a detailed flowchart of step S20 in the first embodiment of the resource management method of the present application. The step S30 includes:
step S301, determining a user license corresponding to the reserved conference user group, and detecting whether the user license is matched with a preset license;
step S302, if the user license is detected to be matched with the preset license, determining the user priority corresponding to the reserved conference user group;
step S304, distributing corresponding conference resources for the reserved conference user group based on the user priority, the conference reservation request and the remaining conference resources.
Specifically, the resource scheduling system determines a user license corresponding to the conference user group to be reserved, and detects whether the user license is matched with a preset license, where the preset license is set according to a user requirement, which is not limited in this embodiment. And if the resource scheduling system detects that the user license is matched with the preset license, the resource scheduling system receives a conference reservation request sent by the reservation conference user group, namely the resource scheduling system agrees to allocate corresponding conference resources to the reservation conference user group. And meanwhile, the resource scheduling system determines the corresponding conference reservation resource according to the reservation information in the conference reservation request, determines the user priority corresponding to the conference reservation user group, and allocates the corresponding conference resource for the conference reservation user group according to the user priority, the conference reservation resource and the rest conference resources.
Further, after the step S301, the method further includes:
step S303, if the user license is not matched with the preset license, closing the conference reservation request and sending corresponding second prompt information.
Specifically, if the resource scheduling system detects that the user license is not matched with the preset license, the resource scheduling system refuses the conference reservation request sent by the reserved conference user group, that is, the resource scheduling system does not mean to allocate the corresponding conference resource to the reserved conference user group, and sends the corresponding prompt information to the user terminal corresponding to the reserved conference user group.
The embodiment determines the user license corresponding to the conference user group to be reserved, and detects whether the user license is matched with the preset license; if the user license is detected to be matched with the preset license, determining the user priority corresponding to the reserved conference user group; and distributing corresponding conference resources for the reserved conference user group based on the user priority, the conference reservation request and the residual conference resources. Therefore, in the embodiment, whether the conference reservation request sent by the conference reservation user group is accepted or not is determined by the user license corresponding to the conference reservation user group, and the access request is controlled and restricted by the access policy of the user license, so that the waste of conference resources is reduced, and the utilization rate of the conference resources is improved.
Referring to fig. 5, fig. 5 is a schematic detailed flow chart of step S303 in the first embodiment of the resource management method of the present application. The step S303 includes:
step S3031, when detecting that the user priority is matched with a preset priority, determining reservation information in the conference reservation request, and determining a corresponding first reserved conference resource based on the user priority and the reservation information;
step S3032, when detecting that the residual conference resource is larger than the first reserved conference resource, determining a first system safety coefficient corresponding to the first reserved conference resource;
step S3033, if the first system safety factor is determined to be smaller than or equal to a preset safety threshold, allocating the first reserved conference resource to the reserved conference user group.
Specifically, after determining that the user license corresponding to the reserved conference user group matches the preset license, the resource scheduling system determines the user priority corresponding to the reserved conference user group, and detects whether the user priority matches the preset priority, where the preset priority is set by the user, and this embodiment is not limited.
If the resource scheduling system detects that the user priority is matched with the preset priority, the resource scheduling system determines reservation information in the conference reservation request, wherein the reservation information comprises but is not limited to the number of conference users in the conference, the number of pictures, the number of access devices and the number of auxiliary videos, and whether audio and call bandwidth are allowed to be switched on or not. Then, the resource scheduling system determines the corresponding reserved video coding and decoding capacity according to the number of conference users, the number of pictures, the number of access devices and the number of auxiliary videos, and determines the corresponding reserved audio coding and decoding capacity according to whether audio starting is allowed or not and whether wheat starting is allowed or not. And then, the resource scheduling system determines the corresponding reserved bandwidth number according to the call bandwidth. And finally, the resource scheduling system determines the reserved video coding and decoding capacity, the reserved audio coding and decoding capacity and the reserved bandwidth number as reserved conference resources corresponding to the reserved conference user group.
The resource scheduling system detects whether the remaining conference resource is larger than the reserved conference resource, if the resource scheduling system detects that the remaining conference resource is smaller than or equal to the reserved conference resource, the resource scheduling system determines that the remaining conference resource is insufficient to support the reserved conference resource, namely, the resource scheduling system determines that a system safety factor corresponding to the reserved conference resource is smaller than or equal to a preset safety threshold value in the resource scheduling system, then, the resource scheduling system closes the conference reservation request, and sends corresponding prompt information to a user terminal corresponding to the reserved conference user group. The preset safety threshold is set by a user, and this embodiment is not limited. It should be noted that, if the resource scheduling system overuses the conference resources in the resource scheduling system, the conference system may be unstable, for example, the processing of the conference system may be delayed due to an excessive access number of the access gateway; the excessive occupation of the bandwidth can cause packet loss when the media stream fluctuates; the soft MCU media resources are excessively occupied, so that the CPU occupancy rate is too high, and the conference system is restarted; the hard codec media resources are excessively used, so that the chip is overheated, and the conference system is halted or restarted.
And when the resource scheduling system detects that the residual conference resource is larger than the reserved conference resource, determining that the residual conference resource supports the reserved conference resource, and determining a system safety coefficient corresponding to the reserved conference resource. And then, the resource scheduling system detects whether the system safety factor is smaller than or equal to a preset safety threshold value, if the resource scheduling system determines that the system safety factor is smaller than or equal to the preset safety threshold value, the resource scheduling system allocates the corresponding conference resources for the reserved conference user group in full, namely allocates all conference resources of the reserved conference resources for the reserved conference user group in the residual conference resources.
The first reservation conference resource
Further, after the step S3032, the method further includes:
step S3034, if the first system safety factor is determined to be larger than the preset safety threshold, closing the conference reservation request and sending corresponding first prompt information.
Specifically, if the resource scheduling system determines that the system safety factor is greater than the preset safety threshold, it is determined that the conference resource reservation will cause the resource scheduling system, and the conference reservation request is closed. And then, the resource scheduling system sends the corresponding prompt information to the user terminal corresponding to the reserved conference user group.
Further, the step S303 further includes:
step S3035, when the user priority is detected to be not matched with the preset priority, determining a corresponding second reserved conference resource based on the user priority and the conference reservation request;
step S3036, distributing corresponding conference resources for the reserved conference user group based on the second reserved conference resources, the residual conference resources and the second system safety factor corresponding to the second reserved conference resources.
Specifically, the principle that the resource scheduling system determines the second conference resource reserved corresponding to the second conference reservation request is the same as the principle that determines the first conference resource reserved corresponding to the first conference reservation request, and the embodiment is not described redundantly. And when detecting that the user priority is not matched with the preset priority, the resource scheduling system reduces and allocates the corresponding conference resources for the reserved conference user group, namely allocates part of the conference resources corresponding to the reserved conference resources for the reserved conference user group in the residual conference resources.
In this embodiment, for example, if the reserved conference resource is "720P for video codec and 4K for audio codec", the resource scheduling system detects that the remaining conference resource is greater than the reserved conference resource, determines that the system safety factor corresponding to the conference reservation request is less than or equal to the preset safety threshold, and detects that the user priority is not matched with the preset priority, the conference resource allocated to the reserved conference user group by the resource scheduling system is "480P for video codec and 2K for audio codec".
In the embodiment, when the user priority is detected to be matched with the preset priority, the reservation information in the conference reservation request is determined, and the corresponding first reservation conference resource is determined based on the user priority and the reservation information; when detecting that the remaining conference resources are larger than the first reserved conference resources, determining a first system safety factor corresponding to the first reserved conference resources; and if the safety coefficient of the first system is determined to be smaller than or equal to the preset safety threshold, allocating first reserved conference resources for the reserved conference user group. Therefore, according to the embodiment, the occupation of conference resources by the reserved conference user group is restricted through the access strategy of the user priority so as to avoid excessive consumption of limited conference resources, and when a plurality of conference reservation requests of different reserved conference user groups are requested, the conference resources are distributed according to the priority strategy in a gradient manner, so that the reasonable use of the limited conference resources is ensured. In addition, through the access strategy of the system safety factor, overuse is avoided, and stable operation of the conference system is ensured. Meanwhile, conference resources are distributed according to the actual situation according to the size relation between the residual conference resources and the reserved conference resources, and the stable operation of the conference system is ensured.
Referring to fig. 6, fig. 6 is a flowchart illustrating a resource management method according to a second embodiment of the present application. Based on the embodiment shown in fig. 7, in this embodiment, after step S30, the method further includes:
step S40, determining the starting time and the ending time in the conference reservation request, and determining the corresponding reservation duration based on the starting time and the ending time;
step S50, determining the time granularity of the resource scheduling system, dividing the reservation duration based on the time granularity to obtain the disposable conference resources corresponding to each time point, and allocating the corresponding conference resources for other conference reservation requests according to the disposable conference resources;
and step S60, responding to the meeting ending request corresponding to the reserved meeting user group, and releasing meeting resources corresponding to the reserved meeting user group based on the meeting ending request.
Specifically, the resource scheduling system determines the starting time and the ending time in the conference reservation request after distributing the corresponding conference resources for the reservation conference user group, and determines the reservation duration of the reservation conference resources occupied by the reservation conference user group according to the starting time and the ending time. Then, the resource scheduling system determines the shortest time allowed to be occupied by the conference resource as the time granularity of the resource scheduling system, divides the reserved time length according to the time granularity to obtain the disposable conference resource corresponding to each time point in the reserved time length, records the disposable conference resource corresponding to each time point into a user group resource registration table and a conference system resource registration table of the resource scheduling system, and allocates the corresponding conference resource for other conference reservation requests according to the disposable conference resource corresponding to each time point. And after receiving a conference ending request or a reservation canceling request sent by a reservation conference user group, the resource scheduling system releases reservation conference resources distributed for the reservation conference user group by the resource scheduling system and updates a user group resource registration table and a conference system resource registration table in the resource scheduling system.
The embodiment determines the starting time and the ending time in the conference reservation request, and determines the corresponding reservation duration based on the starting time and the ending time; determining the time granularity of a resource scheduling system, dividing reservation duration based on the time granularity to obtain disposable conference resources corresponding to each time point, and allocating corresponding conference resources for other conference reservation requests according to the disposable conference resources; and responding a conference ending request corresponding to the reserved conference user group, and releasing conference resources corresponding to the reserved conference user group based on the conference ending request. Therefore, in the embodiment, the commandable conference resources corresponding to each time point are determined by reserving the time length and the time granularity, and then the commandable conference resources corresponding to each time point are redistributed to control the reasonable distribution and the reasonable utilization of the conference resources, so that the utilization rate of the conference resources is improved. Meanwhile, the stable operation of the conference system is ensured.
Further, as shown in fig. 7, fig. 7 is a schematic flow chart of an implementation of the resource management method of the present application. The resource management system retrieves all access devices, soft/hard MCUs, DNS distribution servers and signalling access gateways that have been registered in the resource scheduling system. And then, the resource management system determines the maximum access capability of the resource scheduling system according to the total number of the access devices, the total number of the soft/hard MCUs, the total number of the DNS distribution servers and the total number of the signaling access gateways. And then, the resource management system determines the maximum coding and decoding processing channel, namely the maximum coding and decoding capacity, of the resource scheduling system according to the total amount and the total type of the internal memory in the soft MCU, the total amount and the total type of the CPU in the soft MCU and the total amount of various codecs in the hard MCU, and determines the maximum access capacity and the maximum coding and decoding capacity as the maximum access resource of the resource scheduling system. And the resource management system determines the maximum media processing capacity of the resource scheduling system according to the maximum interpretable format and the maximum fluency.
The resource management system determines the access occupation capacity and the media occupation processing capacity of the current conference user group according to the number of the accessed terminals, the used bandwidth number, the occupied CPU and the memory in the soft MCU, the used codec number and the used codec capacity in the hard MCU in the resource scheduling system. And then, determining the residual access capacity of the resource management system according to the maximum access capacity and the occupied access capacity, and determining the residual media processing capacity of the resource management system according to the maximum media processing capacity and the occupied media processing capacity.
The resource management system detects whether a new reservation conference (conference reservation request) exists, and if the resource management system has the new reservation conference, the resource management system determines reservation access capacity and reservation media processing capacity (conference reservation resources) according to the number of access devices occupied by reservation in the new reservation conference, the number of soft/hard MCUs, the number of DNS distribution servers and the number of signaling access gateways. Then, the resource management system detects whether the user group corresponding to the new reservation conference exceeds the user group limit (i.e. the user license and the user priority corresponding to the user group), detects whether the reservation conference resource exceeds the system resource limit (i.e. whether the reservation access capability exceeds the remaining access capability and the reservation media processing capability exceeds the remaining media processing capability), detects whether the reservation conference resource exceeds the security policy limit (i.e. whether the system security coefficient corresponding to the reservation conference resource exceeds the preset security threshold), and if the resource management system detects that the new reservation conference meets the above requirements, the resource management system determines that the reservation is successful (i.e. the conference resource corresponding to the new reservation conference is allocated), and recalculates the new remaining access capability and the new remaining media processing capability in the resource management system. And when detecting that the new reservation conference is ended, the resource management system releases the user group and the system resource (reservation conference resource) of the new reservation conference.
The present invention also provides a resource management apparatus, including:
the system comprises a determining module, a resource scheduling module and a resource scheduling module, wherein the determining module is used for determining access resources and media resources in a resource scheduling system and determining system conference resources of the resource scheduling system based on the access resources and the media resources;
the determining module is further configured to determine conference resources occupied by the current conference user group in the resource scheduling system;
the determining module is further configured to determine remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources;
and the distribution module is used for responding to the conference reservation request, determining the user information of the reserved conference user group corresponding to the conference reservation request, and distributing the corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request and the residual conference resources.
The specific embodiment of the resource management apparatus of the present invention is basically the same as the embodiments of the resource management method described above, and will not be described herein again.
The present invention also provides a computer readable storage medium having stored thereon a resource management program, which when executed by a processor implements the steps of the resource management method according to any of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the resource management method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on such understanding, the technical solution of the present application may be essentially or partially embodied in the form of software cargo stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) and including instructions for causing an asset management system to complete the method according to the embodiments of the present application.

Claims (10)

1. A resource management method, characterized in that the resource management method comprises the steps of:
determining access resources and media resources in a resource scheduling system, and determining system conference resources of the resource scheduling system based on the access resources and the media resources;
determining conference resources occupied by a current conference user group in the resource scheduling system, and determining the remaining conference resources of the resource scheduling system based on the system conference resources and the occupied conference resources;
responding a conference reservation request, determining user information of a reserved conference user group corresponding to the conference reservation request, and allocating corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request and the remaining conference resources.
2. The resource management method of claim 1, wherein the step of determining user information of a reserved conference user group corresponding to the conference reservation request, and allocating corresponding conference resources for the reserved conference user group based on the user information, the conference reservation request, and the remaining conference resources comprises:
determining a user license corresponding to the reserved conference user group, and detecting whether the user license is matched with a preset license;
if the user license is detected to be matched with the preset license, determining the user priority corresponding to the reserved conference user group;
and distributing corresponding conference resources for the reserved conference user group based on the user priority, the conference reservation request and the residual conference resources.
3. The method of claim 2, wherein the step of assigning corresponding conference resources to the group of reserved conference users based on the user priorities, the conference reservation request, and the remaining conference resources comprises:
when the user priority is detected to be matched with a preset priority, determining reservation information in the conference reservation request, and determining a corresponding first reserved conference resource based on the user priority and the reservation information;
when the remaining conference resources are detected to be larger than the first reserved conference resources, determining a first system safety factor corresponding to the first reserved conference resources;
and if the safety factor of the first system is determined to be smaller than or equal to a preset safety threshold value, allocating the first reserved conference resource for the reserved conference user group.
4. The resource management method according to claim 3, wherein after the step of determining the first system security factor corresponding to the first reserved conference resource when it is detected that the remaining conference resource is greater than the reserved conference resource, the method further comprises:
and if the safety factor of the first system is determined to be greater than the preset safety threshold, closing the conference reservation request and sending corresponding first prompt information.
5. The method of claim 2, wherein the step of assigning corresponding conference resources to the group of reserved conference users based on the user priorities, the conference reservation request, and the remaining conference resources comprises:
when the user priority is detected to be not matched with the preset priority, determining a corresponding second reserved conference resource based on the user priority and the conference reservation request;
and distributing corresponding conference resources for the reserved conference user group based on the second reserved conference resources, the rest conference resources and a second system safety coefficient corresponding to the second reserved conference resources.
6. The resource management method according to claim 2, wherein after the step of determining the user license corresponding to the reserved conference user group and detecting whether the user license matches a preset license, the method further comprises:
and if the user license is detected not to be matched with the preset license, closing the conference reservation request and sending corresponding second prompt information.
7. The method of resource management according to claim 1, wherein the step of determining system conference resources of the resource scheduling system based on the access resources and media resources comprises:
determining the number of devices and the types of the access devices, and determining corresponding access capability and coding and decoding capability based on the number of the devices and the types of the devices;
determining a codec format and fluency, and determining corresponding media processing capacity based on the codec format and the fluency;
and determining the access capability, the coding and decoding capability and the media processing capability as system conference resources of the resource scheduling system.
8. The resource management method according to any one of claims 1 to 7, wherein, after the step of responding to the conference reservation request and determining the user information of the reserved conference user group corresponding to the conference reservation request, allocating the corresponding conference resource for the reserved conference user group based on the user information, the conference reservation request and the remaining conference resources, further comprises:
determining the starting time and the ending time in the conference reservation request, and determining the corresponding reservation duration based on the starting time and the ending time;
determining the time granularity of the resource scheduling system, dividing the reservation duration based on the time granularity to obtain disposable conference resources corresponding to each time point, and allocating corresponding conference resources to other conference reservation requests according to the disposable conference resources;
and responding to the conference ending request corresponding to the reserved conference user group, and releasing the conference resource corresponding to the reserved conference user group based on the conference ending request.
9. A resource management system comprising a memory, a processor and a resource manager stored on the memory and running on the processor, the resource manager when executed by the processor implementing the steps of the resource management method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a resource management program which, when executed by a processor, performs the steps of the resource management method according to any one of claims 1 to 8.
CN202011274940.1A 2020-11-13 2020-11-13 Resource management method, resource management system, and computer-readable storage medium Active CN112491566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011274940.1A CN112491566B (en) 2020-11-13 2020-11-13 Resource management method, resource management system, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011274940.1A CN112491566B (en) 2020-11-13 2020-11-13 Resource management method, resource management system, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112491566A true CN112491566A (en) 2021-03-12
CN112491566B CN112491566B (en) 2022-09-23

Family

ID=74930633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011274940.1A Active CN112491566B (en) 2020-11-13 2020-11-13 Resource management method, resource management system, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112491566B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995424A (en) * 2021-04-19 2021-06-18 南京仁高隆软件科技有限公司 Data transfer system and method for conference call
CN117649164A (en) * 2024-01-30 2024-03-05 四川宽窄智慧物流有限责任公司 Gradient distribution method and system for overall cargo management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580879A (en) * 2012-08-02 2014-02-12 华为技术有限公司 Conference resource allocation method and device
CN103593753A (en) * 2012-08-17 2014-02-19 中兴通讯股份有限公司 Conference reservation method and device
CN110097200A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Meeting room preordering method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580879A (en) * 2012-08-02 2014-02-12 华为技术有限公司 Conference resource allocation method and device
CN103593753A (en) * 2012-08-17 2014-02-19 中兴通讯股份有限公司 Conference reservation method and device
CN110097200A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Meeting room preordering method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995424A (en) * 2021-04-19 2021-06-18 南京仁高隆软件科技有限公司 Data transfer system and method for conference call
CN112995424B (en) * 2021-04-19 2021-07-27 南京仁高隆软件科技有限公司 Data transfer system and method for conference call
CN117649164A (en) * 2024-01-30 2024-03-05 四川宽窄智慧物流有限责任公司 Gradient distribution method and system for overall cargo management
CN117649164B (en) * 2024-01-30 2024-04-16 四川宽窄智慧物流有限责任公司 Gradient distribution method and system for overall cargo management

Also Published As

Publication number Publication date
CN112491566B (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
US8782240B2 (en) Resource allocation using shared resource pools
KR101432303B1 (en) Bandwidth requesting device, client device, bandwidth requesting method, and recording medium
US8429666B2 (en) Computing platform with resource constraint negotiation
CN112491566B (en) Resource management method, resource management system, and computer-readable storage medium
US8356110B2 (en) Adaptive bandwidth resource management for media streams
CN110417676B (en) Scheduling method, device and scheduling network
US20140280764A1 (en) Bandwidth management for over-the-top adaptive streaming
WO2016197628A1 (en) Method of terminal-based conference load-balancing, and device and system utilizing same
US20100011090A1 (en) Network-aware download manager
WO2010139244A1 (en) Method, apparatus and device for adjusting resource delegation in network
CN110661894A (en) User IP address allocation method, network device and storage medium
CN110661654B (en) Network bandwidth resource allocation method, device, equipment and readable storage medium
US8484349B2 (en) Dynamic DSL line bandwidth management with the subscriber's consent
CN114385370B (en) Memory allocation method, system, device and medium
KR102494603B1 (en) Distribution of bandwidth in the network
KR20150074531A (en) Apparatus and method for providing bandwidth on demand service
CN114640630B (en) Flow control method, device, equipment and readable storage medium
CN115794396A (en) Resource allocation method, system and electronic equipment
WO2021254325A1 (en) License assignment method, apparatus and device, and storage medium
JP2007267106A (en) Base station device and radio resource allocating method
US9667562B2 (en) Method and apparatus for supporting variable bit-rate reservations
CN117478722B (en) P2P identifier allocation method, system, electronic equipment and storage medium
KR101380176B1 (en) System and method for contents download service, and apparatus applied to the same
CN115311123B (en) Pixel stream GPU resource scheduling method and device

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Resource management methods, resource management systems, and computer-readable storage media

Effective date of registration: 20230718

Granted publication date: 20220923

Pledgee: Haidian Beijing science and technology enterprise financing Company limited by guarantee

Pledgor: Beijing Rongxun Technology Co.,Ltd.

Registration number: Y2023110000296