Method, device and system for determining resource strategy in conference, equipment and medium
By introducing real-time policy units and meeting control units in the video conferencing system, separating business processing and policy processing, and using RETE algorithms and rules engines, the problem of poor flexibility in resource management strategies in the existing technology is solved, and the flexibility of resource management is achieved and dynamic improvement, improving the resource management efficiency of video conferencing systems.
Patent Information
- Application Number
- CN202311754286.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-12-06
AI Technical Summary
The resource management and control strategies of the existing video conferencing servers are poorly flexible and difficult to dynamically adjust and optimize, resulting in unscientific resource allocation, and the confusion of strategy processing and business processing leads to difficulty in positioning and maintaining problems.
By introducing real-time policy units and control units in the video conferencing system, the service processing and policy processing are separated, and the resource management strategy calculation is used to use RETE algorithm and rule engine to support dynamic changes and complex rule processing, improving the flexibility and ability of resource strategies Vision.
It has achieved the flexibility and dynamic improvement of resource strategies, simplified policy updates and problem positioning, and improved the resource management efficiency and scalability of video conferencing systems.
Smart Images

Figure CN119094687A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of online video conferencing, and in particular, to a method, apparatus, system, device and medium for determining a resource strategy in a conference. Background Art
[0002] With the development and progress of society, video conferencing has become an important form of communication in people's daily life or work. Since video conferencing does not limit the location and space of the communicators, the number and distribution of terminals participating in the video conference may vary according to different communication scenarios and needs, which puts higher and higher requirements on the performance and stability of video conferencing services. The capacity that the video conferencing service can carry is the key to the overall service. Due to the limitations of the CPU, memory, bandwidth, hard disk IO, etc. of a single server in reality, as well as the production and consumption bandwidth of the client, how to manage and control resources such as expansion or reduction has become an important indicator of video conferencing.
[0003] The existing resource control strategy is integrated in the signaling server, and the signaling server determines the resource control plan according to the influencing factors. However, this resource control method has the problem of poor flexibility. Summary of the invention
[0004] An embodiment of the present application aims to provide a method, apparatus, system, device and medium for determining a resource policy in a conference. The technical solution of the embodiment of the present application can improve the flexibility of the resource policy.
[0005] In the first aspect, an embodiment of the present application provides a method for determining a resource strategy in a conference, the method being applied to a real-time strategy unit in a video conferencing system, the video conferencing system comprising the real-time strategy unit, a conference control unit and a selective forwarding unit, the method comprising: obtaining business processing information sent by the conference control unit, the business processing information being generated by the conference control unit according to a conference control instruction of a user terminal; performing resource management strategy calculation according to the business processing information and status information of the selective forwarding unit to obtain a policy decision result; and sending the policy decision result to the conference control unit so that the conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
[0006] The embodiments of the present application separate business processing from policy processing, thereby decoupling business processing from policy processing, thereby improving the flexibility of resource policies.
[0007] In one embodiment, the resource management policy is calculated based on the business processing information and the status information of the selected forwarding unit to obtain the policy decision result, including: using the RETE algorithm to match a preset decision table based on the business processing information and the status information of the selected forwarding unit to obtain the policy decision result.
[0008] In one embodiment, before calculating the resource management policy based on the business processing information and the status information of the selected forwarding unit, the method also includes: obtaining the status information of the selected forwarding unit from a database, wherein the status information of the selected forwarding unit is periodically written into the database by the selected forwarding unit.
[0009] In one implementation, the policy decision result includes conference expansion, conference reduction, conference transfer, channel establishment, or bandwidth optimization.
[0010] In one implementation, the service processing information is generated by the conference control unit according to an instruction affecting a resource policy in a conference control instruction of the user terminal.
[0011] In the second aspect, an embodiment of the present application provides a method for determining resource strategy in a conference, and the method is applied to a video conferencing system, wherein the video conferencing system includes a real-time strategy unit, a conference control unit and a selective forwarding unit, and the method includes: the conference control unit sends business processing information to the real-time strategy unit, and the business processing information is generated by the conference control unit according to the conference control instructions of the user terminal; the real-time strategy unit calculates the resource management strategy according to the business processing information and the status information of the selective forwarding unit to obtain a policy decision result; the real-time strategy unit sends the policy decision result to the conference control unit; the conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
[0012] In the third aspect, an embodiment of the present application provides a device for determining a resource strategy in a conference, wherein the device is applied to a real-time strategy unit in a video conferencing system, wherein the video conferencing system includes the real-time strategy unit, a conference control unit, and a selection forwarding unit, and the device includes: an acquisition unit, for acquiring business processing information sent by the conference control unit, wherein the business processing information is generated by the conference control unit according to a conference control instruction of a user terminal; a determination unit, for performing resource management strategy calculation based on the business processing information and status information of the selection forwarding unit to obtain a policy decision result; and a sending unit, for sending the policy decision result to the conference control unit, so that the conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
[0013] In the fourth aspect, an embodiment of the present application provides a video conferencing system, which includes a real-time policy unit, a conference control unit and a selective forwarding unit; the conference control unit is used to send business processing information to the real-time policy unit, and the business processing information is generated by the conference control unit according to the conference control instructions of the user terminal; the real-time policy unit is used to perform resource management policy calculation based on the business processing information and the status information of the selective forwarding unit to obtain a policy decision result; the real-time policy unit is used to send the policy decision result to the conference control unit; the conference control unit is used to control the forwarding unit to manage and control conference resources according to the policy decision result.
[0014] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method described in the first aspect and any one of the embodiments of the first aspect can be implemented.
[0015] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect and any one of the embodiments of the first aspect can be implemented.
[0016] In the seventh aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, wherein when the computer program is executed by a processor, it can implement the method described in the first aspect and any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of an embodiment of the present application, the drawings required for use in an embodiment of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A schematic diagram of a video conferencing system provided for one embodiment of the present application;
[0019] Figure 2 A flow chart of a method for determining a resource strategy in a video conferencing system provided in accordance with an embodiment of the present application;
[0020] Figure 3 A schematic diagram of a device for determining a resource strategy in a video conferencing system provided by one embodiment of the present application;
[0021] Figure 4A schematic diagram of an electronic device is provided for one embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0023] In a video conferencing system, the capacity that the server can carry is the key to the overall service. Due to the limitations of the CPU, memory, bandwidth, hard disk IO, etc. of a single server in reality, as well as the constraints of factors such as the production and consumption bandwidth of the client, in order to support video conferencing needs of various scales, for example, when the scale is large, multiple servers need to be cascaded to handle the service of a conference; when the scale is small, the number of servers needs to be reduced accordingly. Therefore, how to manage resources such as expansion or reduction has become an important indicator of video conferencing.
[0024] The existing resource management strategy is integrated in the signaling server, which determines the resource management plan based on the influencing factors. That is, the signaling server decides whether to expand capacity and other resource management. However, this resource management method has the problem of poor flexibility.
[0025] Specifically, there are many factors that affect policies, and these factors are constantly changing. At the same time, the policy model also needs to change with the changes in scale, region, time, infrastructure, and business model. In addition to the poor flexibility of the current solutions due to the concentration in the signaling server, there are also the following problems: All policies are hard-coded and difficult to change. New policy applications require a lot of time to test and reproduce problems. At the same time, business processing and policy processing are mixed together, making it difficult to locate problems. Strategies are developed and implemented by developers based on their understanding of policies. The specific implementation of the policies is difficult to communicate and does not support the understanding of non-developers. The policies are too simple, resulting in unscientific allocation of conference processing. The policies require not only real-time data, but also statistical data for a period of time. The existing mechanism is difficult to store statistical analysis data, and it is also difficult to reproduce the problem.
[0026] In view of the above problems, the embodiments of the present application decouple business processing from policy processing by separating business processing from policy processing. Through independent policy processing, that is, the present application performs policy processing by adding an independent real-time policy unit, and cooperates with the business processing of the conference control unit, thereby improving the flexibility, dynamism, and visibility of the policy. A rule engine is introduced into policy processing to support visualization, dynamic changes, and processing of complex rules.
[0027] In the following, for the sake of ease of understanding and explanation, the execution process and actions of the real-time communication method of the present application in a video conferencing system are explained as an example rather than a limitation.
[0028] The following is combined with Figure 1 A schematic diagram of a video conferencing system provided by an embodiment of the present application is exemplarily described.
[0029] like Figure 1 As shown, a conference system provided by an embodiment of the present application includes: a real-time strategy unit, a conference control unit and a selection forwarding unit. Optionally, Figure 1 The video conference system shown may also include a database. Optionally, the video conference system may also include multiple clients participating in the video conference (not shown).
[0030] In an embodiment of the present application, the conference control unit is used to send business processing information to the real-time policy unit, and the business processing information is generated by the conference control unit according to the conference control instructions of the user terminal; the real-time policy unit is used to perform resource management policy calculation based on the business processing information and the status information of the selected forwarding unit to obtain a policy decision result; the real-time policy unit is used to send the policy decision result to the conference control unit; the conference control unit is used to control the forwarding unit to manage and control conference resources according to the policy decision result.
[0031] Specifically, in an embodiment of the present application, the meeting control unit (Meeting Controller) can receive conference control related instructions from the client. After receiving the instructions, the meeting controller will call the relevant real-time strategy unit and entrust the operation logic that needs to be judged and executed to the real-time strategy unit.
[0032] The real-time strategy unit (Realtime Strategy) can include functions such as rule engine, fact calculation, and decision table import. It can separate the management and calculation of real-time strategies. The real-time strategy unit can only focus on completing strategy calculations without worrying about specific business.
[0033] The Selective Forwarding Unit (SFU) can be a server unit that actually processes audio and video. It can not mix audio and video. After receiving the audio and video stream produced by a terminal, it forwards the audio and video stream to other terminals in the conference according to the subscription relationship. SFU can be regarded as an audio and video routing forwarder.
[0034] The database can store information related to the meeting, accept the results of fact calculations, and store the running status information of SFU. This information will eventually be used by the rule engine to calculate the meeting strategy. At the same time, the database data can also be exported for later strategy deduction. Optionally, the database can be a database in various forms, for example, a memory database such as Redis, or other existing databases.
[0035] The functions of each unit of the conference system in the embodiment of the present application are as follows: Figure 2-Figure 3 For details, please refer to the following Figure 2-Figure 3 Description in .
[0036] It should be understood that in the embodiment of the present application, the conference control unit can also be called a control terminal, a management terminal or a signaling server. The conference control unit is used to perform signaling interaction with the client to transmit the necessary information required for establishing a connection between the clients. At the same time, the conference control unit is used to obtain the signaling request of the client, and based on the signaling request of the client, to generate business processing information and send it to the real-time strategy unit. In the embodiment of the present application, the communication method between the conference control unit and the client, the selection forwarding unit and the real-time strategy unit can use any method, for example, a network socket (WebSocket) or an extensible markup language hypertext transfer protocol request (XMLHttpRequest), etc. to exchange each other's token information. The embodiment of the present application is not limited to this.
[0037] In the real-time example of the present application, the forwarding unit SFU server can be Mediasoup, Janus, Jitsi, Kurento or Medooze, etc. The embodiments of the present application are not limited to this. The following only takes SFU as Mediasoup as an example for explanation. The SFU server can accept instructions from the control end to manage and control resources. It should be understood that the SFU server can also be called SFU or forwarding server or media forwarding server. If there is no special explanation below, the several names of the SFU server can be interchangeable, and the embodiments of the present application do not limit this. It should be understood that in the present application, the control end and the SFU can be two independent devices or integrated into one device.
[0038] The Selective Forwarding Unit (SFU) does not mix audio and video. After receiving the audio and video stream shared by a terminal, it directly forwards the audio and video stream to other terminals. It is actually an audio and video routing forwarder. Taking SFU as Mediasoup as an example, its core function is to forward Real-time Transport Protocol (RTP) data packets between producers and consumers. It exposes a set of application programming interfaces (APIs) to manage workers, routers, transport channels, producers, and consumers, etc. In this application, SFU manages multiple workers, and usually one SFU represents a server. Worker usually runs under one CPU and is a subprocess of the server operating system. Worker directly manages Router. Worker represents a Mediasoup C++ subprocess running in a single CPU core. It can handle multiple Routers. The Router operates the producers and consumers to transmit audio and video between the Routers. It is usually understood that a Router is a multi-party conference room. The client connects to the Router through the producer and consumer through the Transport to participate in the conference.
[0039] The client in the embodiment of the present application may also be referred to as a user terminal, a user end, a user device, or a terminal device. In the real-time example of the present application, the terminal device may be installed with a browser, and real-time communication may be performed through the browser, or an APP or a small program may be installed, and real-time communication may be performed through the APP or the small program. The terminal device in the present application may include a smart phone, a tablet computer, (personal digital assistant, PDA personal digital assistant), a computer, a game console, a wearable device, a tablet computer (portable android device, PAD), etc., and the embodiment of the present application is not limited thereto.
[0040] It should be understood that the operating system running on the client can be a mobile version of Android, Ubuntu mobile version, Tizen and other Linux kernel-based operating systems as well as desktop operating systems such as Windows, Mac OS, Linux, etc., but the present invention is not limited to this.
[0041] In the embodiments of the present application, the terminal device may refer to an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc.
[0042] The following is combined with Figure 2 A flowchart of a method for determining a resource strategy in a video conferencing system provided by an embodiment of the present application is exemplified.
[0043] like Figure 2 The method shown is applied to Figure 1 In the video conferencing system shown, Figure 2 The methods shown include:
[0044] 210. The conference control unit sends service processing information to the real-time strategy unit.
[0045] The service processing information is generated by the conference control unit according to the conference control instruction of the user terminal.
[0046] Correspondingly, the real-time strategy unit obtains the service processing information sent by the conference control unit.
[0047] Optionally, as another embodiment, the service processing information is generated by the conference control unit according to an instruction affecting a resource policy in a conference control instruction of the user terminal.
[0048] For example, when a user raises his hand, turns on the microphone, adds a person, turns on the camera, etc., the client will send the corresponding conference control instructions to the control unit, and the conference control unit will generate business processing information based on the conference control instructions that affect the resource policy. For example, the instructions sent by the client to obtain the current conference information do not affect resource management and control (for example, resource expansion), so the conference control unit will not send this information to the policy unit. For example, when the client turns on the camera, the instructions that produce the above data stream affect the resource policy, and the conference control unit will convert the signaling into business processing information.
[0049] 220. The real-time policy unit calculates the resource management policy according to the service processing information and the state information of the selected forwarding unit to obtain a policy decision result.
[0050] Optionally, the state information of the forwarding unit may include at least one of a plurality of information, for example, the plurality of information may include CPU usage, memory usage, etc. The state information of the forwarding unit may also include real-time bandwidth, bandwidth average, input and output IO, number of people in the conference carried by the SFU, importance of the conference, urgency of the conference, etc. The real-time strategy unit real-time strategy may perform strategy calculation according to the state information of the SFU and the business processing information fed back by the conference control.
[0051] It should be understood that the status information of the SFU obtained by the real-time policy unit may be reported to the real-time policy unit by the SFU after the real-time policy unit requests the SFU after obtaining the business processing information. Optionally, the SFU may send the status information to the real-time policy unit periodically. Specifically, the status information of the SFU obtained by the real-time policy unit may be obtained directly from the SFU or through a third-party device.
[0052] Correspondingly, when the status information of the SFU is obtained through a third-party device, as another optional embodiment, before step 220, the method further includes:
[0053] The real-time strategy unit obtains the state information of the selection and forwarding unit from a database, wherein the state information of the selection and forwarding unit is periodically written into the database by the selection and forwarding unit.
[0054] Specifically, the SFU can write its own status information into the database periodically, for example, every one minute or every half minute. After obtaining the business information sent by the conference control unit, the real-time strategy obtains the latest SFU status information from the database and performs strategy calculations based on the obtained information.
[0055] Optionally, the policy decision result includes conference expansion, conference reduction, conference transfer, channel establishment or bandwidth optimization, etc., but the embodiments of the present application are not limited thereto.
[0056] It should be understood that in the embodiments of the present application, the real-time policy server may determine the policy based on a variety of methods.
[0057] For example, the resource policy can be determined based on summation or weighted summation. For example, each influencing factor corresponds to a resource parameter. When the influencing factor value is different, the corresponding resource parameter can take different values. When the influencing factors corresponding to the same resource parameter exist at the same time, the resource parameters corresponding to the two factors can be summed or weighted to determine the parameter value of the corresponding resource, wherein the weight values corresponding to different factors can be pre-set. The real-time policy unit can determine the value of the corresponding resource parameter according to the value of the influencing factor based on the acquired information, the status information of the SFU and the business processing information sent by the conference control unit, and determine the set of final values of the resource parameters corresponding to all influencing factors as the policy decision result.
[0058] For another example, the corresponding resource strategy can be determined based on the acquired information based on the neural network model. For example, the input of the model can be SFU status information and business information, and the output is the corresponding resource strategy. The model can be pre-trained, can be an acquired trained model, or can be trained before use. The specific training process can be to first train the initial model through some sample data, for example, the sample data includes SFU status information and business information, and the corresponding resource strategy results, compare the output results of the initial model with the resource strategy results corresponding to the sample, and optimize the model parameters according to the comparison results.
[0059] For another example, the real-time policy unit may also use other methods to determine the policy decision result, for example, using the RETE algorithm to determine. Correspondingly, as another embodiment, the real-time policy unit performs resource management policy calculation based on the service processing information and the state information of the selected forwarding unit to obtain a policy decision result, including:
[0060] The policy decision result is obtained by matching a preset decision table using a RETE algorithm according to the service processing information and the state information of the selected forwarding unit.
[0061] It should be understood that the RETE algorithm is an efficient method for comparing a large number of pattern sets and a large number of object sets, and finds all objects and rules that match each pattern through network screening. Its core idea is to construct a matching network with separated matching items, cache intermediate results, trade space for time, rule compilation and runtime execution.
[0062] Specifically, the real-time strategy unit may use the RETE algorithm to match preset decision tables to determine the final vehicle decision result.
[0063] Table 1
[0064]
[0065] In the real-time example of the present application, the decision table can be visualized to show the rules of the rule engine in the real-time strategy unit, and can be updated and adjusted according to the actual situation, and can flexibly adapt to different needs and flexibly update the decision table. The decision table can be edited by business or architecture personnel, and the facts, rule logic and conclusions are recorded in the decision table. The decision table is very friendly and easy to understand for natural persons. The edited decision table can be reprinted into the real-time strategy unit by importing, so as to realize the dynamic update of the rules. As shown in Table 1, a decision table of a rule of whether to expand capacity is shown. Among them, the execution order represents the order in which the real-time strategy unit matches when making decisions, and matches in order. If the previous rules match, the subsequent matching is stopped. The description column records the corresponding conditions and results. Information items 1 to 4 record the value of the specific influencing factor, which is obtained from the business information obtained by the real-time strategy unit or the status information of the SFU, and information item 5 records the corresponding policy decision results when the value of information items 1 to 4 is met. It should be understood that when the policy decision result is that the current node Worker node joins, it means that the current worker can support the current meeting without expansion. When the current decision result is that other nodes join, it means that the current worker cannot participate in the current meeting and needs to add other workers to expand the capacity. When the result is refusing to join, it means that the current resources are insufficient and the capacity cannot be expanded.
[0066] 230. The real-time strategy unit sends the strategy decision result to the conference control unit.
[0067] 240. The conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
[0068] Specifically, after obtaining the policy decision result, the conference control unit controls the SFU to manage and control the corresponding conference resources according to the decision result.
[0069] In the embodiment of the present application, by adding a real-time policy unit, the business processing and policy calculation of the control unit are separated. The policy unit is specially executed by the real-time policy unit. By isolating the policy calculation from the business processing, the flexibility of the policy calculation can be increased.
[0070] Specifically, the embodiment of the present application separates the policy calculation system of the SFU in the meeting control from the meeting control service, thereby completing the decoupling of the meeting control and policy calculation, completing completely different functions in two independent services, and achieving the effects of improving efficiency, independent evolution, independent deployment, and smaller impact return of policy updates. Furthermore, in the embodiment of the present application, a new real-time policy service is created in the system, including functions such as rule engine, fact calculation, and decision table import, which meets the requirements of dynamic replacement of rules, rule visualization, statistical fact calculation, and easy-to-change rules, thereby making the cascading of SFU simpler and more effective.
[0071] In addition, the embodiments of the present application can use the Rete algorithm to calculate resource policies. Since the Rete algorithm itself is extremely efficient and has nothing to do with the number of facts, it does not rely on hard code to edit rules overall, and is more efficient. At the same time, there will be a bypass thread to perform statistical fact calculations, so that the facts used in the rules are simpler and are only result values, thereby accelerating the generation of results.
[0072] Furthermore, the real-time policy unit rule engine in the embodiment of the present application can infinitely expand the rules according to the rule logic. As long as the facts support the calculation of the logic, theoretically, no matter how complex the scenario is, there is no need to change the application architecture. As the correlation analysis becomes more and more detailed, the infrastructure environment changes more and more, the business requirements become higher and higher, and the needs become more and more complex, the overall policy calculation is also under more and more complex rules. The solution of the embodiment of the present application only needs to change the rules, without changing the logic code, and can flexibly meet the needs of different scenarios.
[0073] In addition, the embodiments of the present application can use decision tables to import rules, so that the role of editing rules can be changed from programmers to product designers or architects, so that the rules can be changed simply and quickly when the business and rules change. At the same time, the decision table is also easy for testers to understand, and has advantages in locating logical problems and discovering test problems, which can achieve the effect of simple testing and easier adaptation to changes.
[0074] Please refer to Figure 3 , Figure 3 A schematic diagram of a device for determining a resource strategy in a video conferencing system provided by an embodiment of the present application is shown. Figure 3 The device 300 shown can be a real-time strategy unit. It should be understood that the device 300 corresponds to the real-time strategy unit in the above-mentioned method embodiment, and can execute each step performed by the real-time strategy unit involved in the above-mentioned method embodiment. The specific functions of the device 300 can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here.
[0075] Figure 3The device 300 shown includes at least one software function module that can be stored in a memory or fixed in the device in the form of software or firmware. Figure 3 The device 300 shown includes: an acquisition unit 310, used to acquire business processing information sent by the conference control unit, wherein the business processing information is generated by the conference control unit according to the conference control instructions of the user terminal; a determination unit 320, used to calculate the resource management strategy according to the business processing information and the status information of the selected forwarding unit to obtain a policy decision result; a sending unit 330, used to send the policy decision result to the conference control unit, so that the conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0077] like Figure 4 As shown, an embodiment of the present application provides an electronic device 400, which includes: a memory 410, a processor 420, and a computer program stored in the memory 410 and executable on the processor 420, wherein the processor 420 reads the program from the memory 410 through a bus 430 and executes the program to implement the method executed by the real-time strategy unit in any of the above embodiments. Optionally, Figure 4 The device shown may also include a transceiver, which may be used to send and / or receive data streams. Figure 4 The device shown may also include other hardware devices, but the embodiments of the present application are not limited thereto.
[0078] Processor 420 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 420 can be a microprocessor.
[0079] The memory 410 may be used to store instructions executed by the processor 420 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 420 of the disclosed embodiment may be used to execute instructions in the memory 410 to implement the method performed by the real-time strategy unit shown above. The memory 410 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0080] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the method performed by the real-time strategy unit in any of the above methods provided in the above embodiments.
[0081] An embodiment of the present application further provides a computer program product, which includes a computer program, wherein when the computer program is executed by a processor, it can implement the method performed by the real-time strategy unit in any of the above methods provided in the above embodiments.
[0082] It should be noted that the processor in the embodiment of the present invention (eg, Figure 4 The processor in the embodiment of the present invention may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in software form. The above processor may be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general processor may be a microprocessor or the processor may be any conventional processor, etc. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0083] It can be understood that the memory in the embodiment of the present invention (for example, Figure 4The memory in the memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0084] The application programs involved in the embodiments of the present application include any application installed on the requesting end, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management, voice recognition, voice replication, positioning (such as functions provided by the global positioning system), music playback, etc.
[0085] It should be understood that the transceiver unit or transceiver in the embodiment of the present invention may also be referred to as a communication unit.
[0086] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0087] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).
[0088] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0089] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0090] It should be understood that in the embodiment of the present invention, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0091] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0093] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0096] In short, the above is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining resource strategy in a conference, characterized in that: The method is applied to a real-time strategy unit in a video conferencing system, wherein the video conferencing system includes the real-time strategy unit, a conference control unit, and a selection and forwarding unit. The method includes: Acquire service processing information sent by the conference control unit, where the service processing information is generated by the conference control unit according to a conference control instruction of a user terminal; Calculating a resource management policy based on the service processing information and the state information of the selected forwarding unit to obtain a policy decision result; The policy decision result is sent to the conference control unit so that the conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
2. The method according to claim 1, characterized in that The performing resource management policy calculation according to the service processing information and the state information of the selected forwarding unit to obtain a policy decision result includes: The policy decision result is obtained by matching a preset decision table using a RETE algorithm according to the service processing information and the state information of the selected forwarding unit.
3. The method according to claim 1 or 2, characterized in that Before calculating the resource management policy based on the service processing information and the state information of the selected forwarding unit, the method further includes: The state information of the selected forwarding unit is acquired from a database, wherein the state information of the selected forwarding unit is periodically written into the database by the selected forwarding unit.
4. The method according to claim 1 or 2, characterized in that The policy decision results include conference expansion, conference reduction, conference transfer, channel establishment or bandwidth optimization.
5. The method according to claim 1 or 2, characterized in that The service processing information is generated by the conference control unit according to an instruction affecting resource policy in the conference control instruction of the user terminal.
6. A method for determining resource strategy in a meeting, characterized in that: The method is applied to a video conferencing system, which includes a real-time strategy unit, a conference control unit, and a selection and forwarding unit. The method includes: The conference control unit sends service processing information to the real-time policy unit, where the service processing information is generated by the conference control unit according to the conference control instruction of the user terminal; The real-time policy unit calculates the resource management policy according to the service processing information and the state information of the selection forwarding unit to obtain a policy decision result; The real-time strategy unit sends the strategy decision result to the conference control unit; The conference control unit controls the forwarding unit to manage and control conference resources according to the policy decision result.
7. A device for determining resource strategy in a conference, characterized in that: The device is applied to a real-time strategy unit in a video conferencing system, wherein the video conferencing system includes the real-time strategy unit, a conference control unit, and a selection and forwarding unit. The device includes: an acquiring unit, configured to acquire the service processing information sent by the conference control unit, wherein the service processing information is generated by the conference control unit according to the conference control instruction of the user terminal; a determination unit, configured to calculate a resource management policy based on the service processing information and the state information of the selected forwarding unit to obtain a policy decision result; The sending unit is used to send the policy decision result to the conference control unit, so that the conference control unit can control the forwarding unit to manage and control conference resources according to the policy decision result.
8. A video conferencing system, characterized in that: The conference system includes a real-time strategy unit, a conference control unit and a selection and forwarding unit; The conference control unit is used to send business processing information to the real-time strategy unit, where the business processing information is generated by the conference control unit according to the conference control instruction of the user terminal; The real-time policy unit is used to calculate the resource management policy according to the service processing information and the state information of the selection forwarding unit to obtain a policy decision result; The real-time strategy unit is used to send the strategy decision result to the conference control unit; The conference control unit is used to control the forwarding unit to manage and control conference resources according to the policy decision result.
9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program executes the method according to any one of claims 1 to 5 when run by the processor.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor to perform the method according to any one of claims 1 to 5.
