CN110621084B - Method and device for establishing pre-established session, electronic equipment and storage medium - Google Patents

Method and device for establishing pre-established session, electronic equipment and storage medium Download PDF

Info

Publication number
CN110621084B
CN110621084B CN201810638235.1A CN201810638235A CN110621084B CN 110621084 B CN110621084 B CN 110621084B CN 201810638235 A CN201810638235 A CN 201810638235A CN 110621084 B CN110621084 B CN 110621084B
Authority
CN
China
Prior art keywords
group
preset time
time period
established session
preset
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.)
Expired - Fee Related
Application number
CN201810638235.1A
Other languages
Chinese (zh)
Other versions
CN110621084A (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.)
Potevio Information Technology Co Ltd
Original Assignee
Potevio Information 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 Potevio Information Technology Co Ltd filed Critical Potevio Information Technology Co Ltd
Priority to CN201810638235.1A priority Critical patent/CN110621084B/en
Publication of CN110621084A publication Critical patent/CN110621084A/en
Application granted granted Critical
Publication of CN110621084B publication Critical patent/CN110621084B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • H04W76/45Connection management for selective distribution or broadcast for Push-to-Talk [PTT] or Push-to-Talk over cellular [PoC] services

Abstract

The embodiment of the invention provides a method and a device for establishing a pre-established session, electronic equipment and a storage medium, wherein the method comprises the following steps: aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period; determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period; and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session. The embodiment of the invention realizes the dynamic management process of the media resources and the pre-established session and improves the utilization rate of the media resources.

Description

Method and device for establishing pre-established session, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for establishing a pre-established session, an electronic device, and a storage medium.
Background
The LTE system has the advantages of high peak rate, low time delay, large system capacity, simple network architecture, low operation cost and the like. An LTE-based broadband trunking key task Push-To-Talk (MCPTT) system is based on an LTE network architecture, and achieves trunking communication functions of group calling, single calling, broadcast calling and the like through an MCPTT application server and MCPTT client application software of a terminal on an application layer through an IP Multimedia Subsystem (IMS) network.
In the broadband cluster system, after the user completes service authorization, a pre-established session can be performed between the terminal client and the cluster server as required, media parameters (including an IP address, a port number, an audio/video coding/decoding format and the like) required by media bearer establishment between the terminal and the server are negotiated, and corresponding media bearer resources are reserved. After the pre-established session is completed, the media bearer used for the talk right control by the terminal user is in an activated state; the media bearer for carrying voice or data services may be activated immediately, or the application server may activate the media bearer resources and media parameters allocated by the pre-established Session through Session Initiation Protocol (SIP) signaling when the terminal user performs voice or data services.
However, in the above-mentioned process of establishing a session, although the media bearer resource is negotiated in advance between the terminal user and the application server through the process of pre-establishing a session, the call establishment delay is reduced. However, the existing session pre-establishment process usually adopts a static parameter configuration mode or a priority-based mode to pre-establish a session for an emergency task or a special user, which results in that the utilization efficiency of the system media resources is inevitably reduced by a mode of statically occupying the media resources under the conditions of busy network service and deficient system media resources, and the lower system resource utilization efficiency affects the performance of the system performance and the user service experience.
In summary, there is a problem in the prior art that the utilization efficiency of system media resources is low when a pre-established session is established.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for establishing a pre-established session, an electronic device, and a storage medium, so as to solve a problem in the prior art that a utilization efficiency of system media resources is low when a pre-established session is established.
In view of the foregoing problems, in a first aspect, an embodiment of the present invention provides a method for establishing a pre-established session, where the method includes:
aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period;
determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period;
and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session.
In a second aspect, an embodiment of the present invention provides an apparatus for establishing a pre-established session, where the apparatus includes:
the acquisition module is used for acquiring a group calling traffic typical value of each group in each preset period in a preset statistical period aiming at least one group;
the determining module is used for determining a pre-established session weight value of each group in each preset time period according to the pre-configured group priority of each group and the typical group call traffic value of each group in each preset time period;
and the distribution module is used for distributing media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period so as to establish a pre-established session.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for establishing a pre-established session when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for establishing a pre-established session.
The method, the device, the electronic device and the storage medium for establishing a pre-established session provided by the embodiments of the present invention determine a pre-established session weight value of each group in each preset period by obtaining a group call traffic typical value of each group in each preset period in a preset statistical cycle, and according to a group priority of each group configured in advance and the group call traffic typical value of each group in each preset period, and finally allocate media resources to the groups in each preset period according to the pre-established session weight value of each group in each preset period to establish the pre-established session, so that the media resources required to be allocated to the groups in each period can be determined according to the group priority and the group call traffic typical value of the groups in each period, and since the group call traffic is obtained in real time and is a dynamic value, a dynamic management process of the media resources and the pre-established session process is realized, the situation that the utilization rate of the media resources is low due to the fact that the users statically occupy the media resources when the pre-established session is established based on the static parameter configuration mode or the user priority in the prior art is avoided, and the utilization efficiency of the media resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for establishing a pre-established session according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for establishing a pre-established session according to an embodiment of the present invention;
fig. 3 shows a block diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart illustrating a method for establishing a pre-established session according to an embodiment of the present invention, the method includes:
step 101: and aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period.
In this step, specifically, for at least one group, the server may obtain the group call traffic representative value of each group in each preset time period in the preset statistical cycle, so as to obtain the group call condition in each preset time period according to the group call traffic representative value of each group, thereby providing a basis for the establishment process of the pre-established session.
In particular, typical values refer to parameters that are representative and can demonstrate population characteristics.
This will be exemplified below.
For example, it is assumed that at least one group includes three groups, i.e., group a, group B, and group C, the preset statistical period is 30 days, and the preset time periods are 12 time periods in each day, respectively, and the 12 time periods may be 0:00-2:00, 2:00-4:00, 4:00-6:00, and 6:00-8:00 in each day, and so on, for 12 time periods. At this time, the server may first acquire the group call traffic representative value of group a, the group call traffic representative value of group B, and the group call traffic representative value of group C in each period of 30 days. Therefore, the server can definitely know the group calling condition of at least one group in each preset time period in the preset statistical period.
Step 102: and determining a pre-established session weight value of each group in each preset time period according to the pre-configured group priority of each group and the typical group call traffic value of each group in each preset time period.
In this step, specifically, after the group call traffic representative value of each group in each preset period in the preset statistical cycle is obtained, the pre-established session weight value of each group in each preset period may be determined according to the pre-configured group priority of each group and the group call traffic representative value of each group in each preset period.
Therefore, the pre-established session weight value of each group can be related to the priority of the group and the typical group call traffic value of the group at the same time, so that when the pre-established session is carried out according to the pre-established session weight value, the pre-established session process is related to the group call traffic of the group, and at the moment, the group call traffic is the data volume acquired in real time, thereby realizing the dynamic establishment process of the pre-established session and avoiding the problem of low utilization efficiency of media resources caused by static occupation of the media resources when the pre-established session is carried out in a static configuration mode.
Step 103: and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session.
In this step, specifically, the server may allocate media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period, so as to establish the pre-established session. In this way, the pre-established session weight value is simultaneously obtained according to the group preset group priority and the group call traffic typical value, and is obtained in real time based on the group call traffic and is a dynamic value, so that the distribution process of the media resources is a dynamic process, and the problem of reducing the utilization efficiency of the media resources when the group statically occupies the media resources is solved.
Specifically, the server may pre-configure media resources corresponding to the pre-established session, so that when the pre-established session is established for the group, the required media resources can be allocated to the group.
It should be noted that, only when it is detected that there is a pre-established session media resource available in each preset time period and there is a group in each preset time period, media resources are allocated to the group in each preset time period according to the pre-established session weight value of each group in each preset time period, so as to establish a pre-established session.
Thus, the embodiment of the invention determines the pre-established session weight value of each group in each preset time period by acquiring the group call traffic typical value of each group in each preset time period, according to the group priority of each group configured in advance and the group call traffic typical value of each group in each preset time period, and finally establishes the pre-established session for each group in each preset time period according to the pre-established session weight value of each group in each preset time period, so that the media resources required by the group in each time period can be determined simultaneously according to the group priority and the group call traffic typical value of each group in each time period, because the group call traffic is acquired in real time and has dynamics, the dynamic management process of the media resources and the pre-established session process is realized, and the condition that when the pre-established session is established based on a static parameter configuration mode or user priority in the prior art is avoided, the user statically occupies the media resource, which causes the condition of low utilization rate of the media resource, and improves the utilization rate of the media resource.
In addition, specifically, after allocating media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period, the server may update the groups in each preset time period and update the available media resources in each preset time period, so as to ensure the utilization efficiency of the available media resources of the pre-established session to the maximum extent.
Further, when obtaining the typical value of the group call traffic of each group in each preset period in the preset statistical period, the group call traffic of the group in all the preset periods in the preset statistical period may be obtained for each group and each preset period; then, according to the group calling traffic of the group in all the preset time periods, analyzing and obtaining the typical value of the group calling traffic of the group in the preset time period.
In particular, each preset period of the preset statistical cycle has repeatability, i.e. the number of each preset period within the preset statistical cycle is at least one.
In addition, specifically, when acquiring the group call traffic of the group in the preset time period for each group and each preset time period, the group call times of the group in the preset time period may be acquired first, the group call average duration of the group in the preset time period may be acquired, then the product of the group call times of the group in the preset time period and the group call average duration of the group in the preset time period may be calculated, and the product may be determined as the group call traffic of the group in the preset time period.
Of course, the average duration of the group call in the preset time period is the quotient of all the group call times and the group call times in the preset time period.
In addition, specifically, when the typical value of the group call traffic in the preset time period is obtained through analysis according to the group call traffic of the group in all the preset time periods, a distribution diagram may be used to obtain an optimal representative value reflecting a trend in a data set or a representative value with the most frequent occurrence of data, that is, the typical value is obtained through analysis. It should be noted that, the specific manner of analyzing the typical group call traffic value of the group in the preset time period is not specifically limited herein.
Next, the typical value of the group call traffic of each group in each preset time period is obtained by way of example.
For example, it is assumed that at least one group includes three groups, i.e., group a, group B, and group C, the preset statistical period is 30 days, and the preset time periods are 12 time periods in each day, respectively, and the 12 time periods may be 0:00-2:00, 2:00-4:00, 4:00-6:00, and 6:00-8:00 in each day, and so on, for 12 time periods. Group a and the predetermined time period 6:00-8:00 are now exemplified.
Aiming at the group A and the preset time period 6:00-8:00, the server can acquire the group calling traffic of the group A in the preset time period 6:00-8:00 every day in 30 days respectively, and when the group calling traffic of the group A in the preset time period 6:00-8:00 every day in 30 days is acquired, the server can perform centralized quantity analysis on all (30) acquired group calling traffic, and analyze to obtain the group calling traffic typical value of the group A in the preset time period 6:00-8:00 in 30 days.
Thus, for each group and each preset period, the group calling traffic of the group in all the preset periods in the preset statistical cycle is acquired, and the group calling traffic typical value of the group in the preset period is analyzed and obtained according to the group calling traffic of the group in all the preset periods, so that the accuracy of the acquired group calling traffic typical value is ensured, and the accuracy of the pre-established session establishment process is ensured when the pre-established session is carried out according to the group calling traffic typical value.
Furthermore, when determining the pre-established session weight value of each group in each preset time period according to the pre-configured group priority of each group and the group call traffic typical value of each group in each preset time period, calculating the product of the group call traffic typical value of the group in the preset time period and the first preset weight factor for each preset time period and each group, and determining the group call traffic weight value corresponding to the group in the preset time period; calculating the product of the group priority of the group and a second preset weight factor, and determining the priority weight value corresponding to the group; and calculating the sum of the group call traffic weight value corresponding to the group in the preset time period and the priority weight value corresponding to the group, and determining the sum as the pre-established session weight value of the group in the preset time period.
Specifically, the server needs to pre-configure a first weight factor corresponding to the group call traffic representative value, so that the proportion of the group call traffic representative value in calculating the pre-established session weight value is appropriate. Wherein the first predetermined weighting factor is a value between 0 and 1.
In addition, specifically, the server needs to pre-configure a group priority of each group in the at least one group, and pre-configure a second weight factor corresponding to the group priority, so that a specific gravity of the group priority in calculating the pre-established session weight value is appropriate. Wherein the second predetermined weighting factor is a value between 0 and 1.
In addition, specifically, for the above expression process of determining the pre-established session weight value of each group in each preset time period, the pre-established session weight value of each group in each preset time period may be calculated by the following formula:
Pi,j=a*Gi+b*Vi,j
wherein, Pi,jRepresenting a pre-established session weight value, G, for the ith group during the jth predetermined time periodiIndicating group priority, V, of the ith groupi,jThe group calling traffic typical value of the ith group in the jth preset period is represented, a represents a second preset weight factor configured in advance by the system, b represents a first preset weight factor configured in advance by the system, wherein a and b are both values between 0 and 1.
Thus, for each preset time interval and each group, the sum of the group calling traffic weight value corresponding to the group in the preset time interval and the priority weight value corresponding to the group is determined as the pre-established session weight value of the group in the preset time interval, so that the pre-established session weight value is related to the group priority and the group calling traffic of the group at the same time, and at the moment, the group calling traffic is obtained in real time and is a dynamic value, so that the pre-established session weight value of each group is also a dynamic value, namely, the dynamic management process of media resources and pre-established sessions is realized when media resources are distributed and pre-established sessions are established according to the pre-established session weight value, and the utilization rate of the system media resources is improved.
Furthermore, when allocating media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period, a group queue in each preset time period may be determined according to the pre-established session weight value of each group in each preset time period, where in the group queue, the higher the pre-established session weight value corresponding to a group is, the higher the establishment priority of the pre-established session is; and allocating media resources to the groups in the group queue in each preset time period in sequence according to the establishment priority sequence of the pre-established session corresponding to the groups in the group queue.
Specifically, it is determined that in a group queue within a preset time period, the higher the weight value of a pre-established session corresponding to a group is, the higher the establishment priority of the pre-established session corresponding to the group is, that is, the establishment priority of the pre-established session is positively correlated with the weight value of the pre-established session; in addition, when media resources are sequentially allocated to the groups in the group queue within each preset time period according to the established priority sequence of the pre-established session corresponding to the groups in the group queue, the media resources are sequentially allocated to the groups in the group queue within each preset time period according to the established priority sequence from high to low in the group queue.
In this way, media resources are sequentially allocated to the groups in the group queue within each preset time period according to the established priority sequence of the pre-established session corresponding to the groups in the group queue, and based on the positive correlation relationship between the established priority and the group calling service volume, the media resources are preferentially allocated to the groups with higher group priority and larger group calling service volume to perform the pre-established session, so that the effective utilization of the media resources is realized, and the utilization rate of the media resources is improved.
In addition, further, when allocating media resources to the groups in the group queue in each preset time period in sequence according to the order of priority for establishing a pre-established session corresponding to the groups in the group queue, group information of a first group in each preset time period may be obtained, where the first group is a group to be established with the pre-established session in the group queue in each preset time period, and the group information includes the number of group members, a group member list, and user priorities of the group members; when detecting that the number of group members in the first group is larger than the preset minimum number of users required for establishing the group call, sequentially allocating media resources to the group members in the group member list according to the user priority of the group members; wherein the user priority of the group member that must participate in the group call is higher than the user priority of the other group members.
Specifically, when the server allocates media resources to a first group in each preset time period to establish a pre-established session, it may be detected whether the number of group members in the first group is greater than the minimum number of users required for establishing a preset group call. Then, when it is detected that the number of group members in the first group is greater than the preset minimum number of users required for establishing the group call, media resources can be preferentially allocated to the group members who must participate in the group call according to the user priorities of the group members, and then the media resources can be allocated to other group members.
Of course, it should be noted here that the group member list includes the group members that must participate in the group call.
In addition, specifically, after media resources are sequentially allocated to the group members in the group member list according to the user priorities of the group members, the group member list may be updated, and the available media resources in each preset time period may be updated, so as to ensure the utilization efficiency of the available media resources for the pre-established session to the maximum extent.
Therefore, media resources are preferentially allocated to group members needing to participate in the group call in the group with higher group priority and larger group call traffic, so that the group call establishment delay is effectively reduced, and the use efficiency of the system media resources is effectively improved.
Thus, the embodiment of the invention determines the pre-established session weight value of each group in each preset period by acquiring the group calling traffic typical value of each group in each preset period in the preset statistical period, and according to the group priority of each group configured in advance and the group calling traffic typical value of each group in each preset period, and finally allocates media resources for the groups in each preset period according to the pre-established session weight value of each group in each preset period to establish the pre-established session, so that the media resources required to be allocated for the groups in each period can be determined according to the group priority and the group calling traffic typical value of each group in each period, because the group calling traffic is acquired in real time and is a dynamic value, the dynamic management process of the media resources and the pre-established session process is realized, and the situation that when the pre-established session is established based on a static parameter configuration mode or user priority in the prior art is avoided, the user statically occupies the media resource, which causes the condition of low utilization rate of the media resource, and improves the utilization rate of the media resource.
In addition, as shown in fig. 2, an apparatus for establishing a pre-established session in an embodiment of the present invention includes:
an obtaining module 201, configured to obtain, for at least one group, a typical group call traffic value of each group in each preset time period in a preset statistical period;
a determining module 202, configured to determine a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period;
the allocating module 203 is configured to allocate media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period, so as to establish a pre-established session.
Optionally, the obtaining module 201 includes:
a first obtaining unit, configured to obtain, for each group and each preset time period, group call traffic of the group in all the preset time periods in a preset statistical cycle;
and the second obtaining unit is used for analyzing and obtaining the typical value of the group calling traffic of the group in the preset time period according to the group calling traffic of the group in all the preset time periods respectively.
Optionally, the determining module 202 includes:
the first calculation unit is used for calculating the product of the typical group call traffic value of the group in the preset time period and a first preset weight factor aiming at each preset time period and each group, and determining the group call traffic weight value corresponding to the group in the preset time period;
the second calculating unit is used for calculating the product of the group priority of the group and a second preset weight factor and determining the priority weight value corresponding to the group;
and the third calculating unit is used for calculating the sum of the group call traffic weight value corresponding to the group in the preset time period and the priority weight value corresponding to the group, and determining the sum as the pre-established session weight value of the group in the preset time period.
Optionally, the allocating module 203 comprises:
a determining unit, configured to determine a group queue in each preset time period according to a pre-established session weight value of each group in each preset time period, where in the group queue, a higher pre-established session weight value corresponding to a group is, a higher pre-established session establishment priority is;
and the allocating unit is used for sequentially allocating media resources to the groups in the group queue in each preset time period according to the establishing priority sequence of the pre-established session corresponding to the groups in the group queue.
Optionally, the allocation unit comprises:
an obtaining subunit, configured to obtain group information of a first group in each preset time period, where the first group is a group to be established with a pre-established session in a group queue in each preset time period, and the group information includes a group member number, a group member list, and a user priority of a group member;
the allocation subunit is configured to, when it is detected that the number of group members in the first group is greater than a preset minimum number of users required for establishing a group call, sequentially allocate media resources to the group members in the group member list according to user priorities of the group members; wherein the user priority of the group member that must participate in the group call is higher than the user priority of the other group members.
The device for establishing a pre-established session provided in the embodiments of the present invention determines a pre-established session weight value for each group in each preset period by obtaining a group call traffic typical value for each group in each preset period in a preset statistical period, and according to a group priority for each group configured in advance and the group call traffic typical value for each group in each preset period, and finally allocates media resources to the groups in each preset period according to the pre-established session weight value for each group in each preset period to establish a pre-established session, so that media resources to be allocated to the groups in each period can be determined according to the group priority and the group call traffic typical value for the groups in each period, and since the group call traffic is obtained in real time, a dynamic management process of the media resources and the pre-established session process is realized for a dynamic value, the situation that the utilization rate of the media resources is low due to the fact that the users statically occupy the media resources when the pre-established session is established based on the static parameter configuration mode or the user priority in the prior art is avoided, and the utilization efficiency of the media resources is improved.
It should be noted that, in the embodiment of the present invention, the related functional modules may be implemented by a hardware processor (hardware processor), and the same technical effect can be achieved, which is not described herein again.
In yet another embodiment of the present invention, an electronic device is provided, as shown in fig. 3, which includes a memory (memory)301, a processor (processor)302, and a computer program stored on the memory 301 and executable on the processor 302. The memory 301 and the processor 302 complete communication with each other through the bus 303. The processor 302 is configured to call program instructions in the memory 301 to perform the following method: aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period; determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period; and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session.
The electronic device provided by the embodiment of the invention can execute the specific steps in the method for establishing the pre-established session, and can achieve the same technical effect, and the specific description is not provided herein.
Further, the program instructions in the memory 301 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In a further embodiment of the invention, a non-transitory computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, is operative to perform the method of: aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period; determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period; and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session.
The non-transitory computer-readable storage medium provided in the embodiment of the present invention may perform specific steps in the method for establishing a pre-established session, and may achieve the same technical effects, which will not be described in detail herein.
In yet another embodiment of the present invention, a computer program product is provided, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that when executed by a computer perform the method of: aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period; determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period; and distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session.
The computer program product provided by the embodiment of the present invention can execute specific steps in the method for establishing a pre-established session, and can achieve the same technical effect, which is not described in detail herein.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for establishing a pre-established session, the method comprising:
aiming at least one group, acquiring a typical group call traffic value of each group in each preset period in a preset statistical period;
determining a pre-established session weight value of each group in each preset time period according to a pre-configured group priority of each group and a typical group call traffic value of each group in each preset time period;
distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session;
wherein the allocating media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period comprises:
determining a group queue in each preset time period according to the weight value of the pre-established session of each group in each preset time period, wherein in the group queue, the higher the weight value of the pre-established session corresponding to the group is, the higher the establishment priority of the pre-established session is;
according to the establishing priority sequence of the pre-established session corresponding to the group in the group queue, media resources are sequentially allocated to the group in the group queue in each preset time period;
wherein, the allocating media resources to the groups in the group queue in each preset time period in sequence according to the establishment priority order of the pre-established sessions corresponding to the groups in the group queue includes:
acquiring group information of a first group in each preset time period, wherein the first group is a group to be established with a pre-established session in a group queue in each preset time period, and the group information comprises the number of group members, a group member list and user priorities of the group members;
when detecting that the number of group members in the first group is larger than the preset minimum number of users required for establishing the group call, sequentially allocating media resources to the group members in the group member list according to the user priority of the group members; wherein the user priority of the group member that must participate in the group call is higher than the user priority of the other group members.
2. The method of claim 1, wherein the obtaining group call traffic representative values for each group in each of the predetermined statistical periods comprises:
aiming at each group and each preset time interval, acquiring the group calling traffic of the group in all the preset time intervals in a preset statistical cycle respectively;
and analyzing and obtaining the typical value of the group calling traffic of the group in the preset time period according to the group calling traffic of the group in all the preset time periods.
3. The method of claim 1, wherein determining the pre-established session weight value for each group within each preset time period according to the pre-configured group priority for each group and the group call traffic representative value for each group within each preset time period comprises:
aiming at each preset time interval and each group, calculating the product of the typical value of the group calling traffic of the group in the preset time interval and a first preset weight factor, and determining the weight value of the group calling traffic corresponding to the group in the preset time interval;
calculating the product of the group priority of the group and a second preset weight factor, and determining the priority weight value corresponding to the group;
and calculating the sum of the group call traffic weight value corresponding to the group in the preset time period and the priority weight value corresponding to the group, and determining the sum as the pre-established session weight value of the group in the preset time period.
4. An apparatus for establishing a pre-established session, the apparatus comprising:
the acquisition module is used for acquiring a group calling traffic typical value of each group in each preset period in a preset statistical period aiming at least one group;
the determining module is used for determining a pre-established session weight value of each group in each preset time period according to the pre-configured group priority of each group and the typical group call traffic value of each group in each preset time period;
the distribution module is used for distributing media resources to the groups in each preset time period according to the weight value of the pre-established session of each group in each preset time period so as to establish the pre-established session;
wherein the allocating media resources to the groups in each preset time period according to the pre-established session weight value of each group in each preset time period comprises:
determining a group queue in each preset time period according to the weight value of the pre-established session of each group in each preset time period, wherein in the group queue, the higher the weight value of the pre-established session corresponding to the group is, the higher the establishment priority of the pre-established session is;
according to the establishing priority sequence of the pre-established session corresponding to the group in the group queue, media resources are sequentially allocated to the group in the group queue in each preset time period;
wherein, the allocating media resources to the groups in the group queue in each preset time period in sequence according to the establishment priority order of the pre-established sessions corresponding to the groups in the group queue includes:
acquiring group information of a first group in each preset time period, wherein the first group is a group to be established with a pre-established session in a group queue in each preset time period, and the group information comprises the number of group members, a group member list and user priorities of the group members;
when detecting that the number of group members in the first group is larger than the preset minimum number of users required for establishing the group call, sequentially allocating media resources to the group members in the group member list according to the user priority of the group members; wherein the user priority of the group member that must participate in the group call is higher than the user priority of the other group members.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for establishing a pre-established session according to any of claims 1 to 3 when executing the computer program.
6. A non-transitory computer readable storage medium, having stored thereon a computer program, which, when being executed by a processor, carries out the steps of the method of establishing a pre-established session according to any one of claims 1 to 3.
CN201810638235.1A 2018-06-20 2018-06-20 Method and device for establishing pre-established session, electronic equipment and storage medium Expired - Fee Related CN110621084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810638235.1A CN110621084B (en) 2018-06-20 2018-06-20 Method and device for establishing pre-established session, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810638235.1A CN110621084B (en) 2018-06-20 2018-06-20 Method and device for establishing pre-established session, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110621084A CN110621084A (en) 2019-12-27
CN110621084B true CN110621084B (en) 2021-05-25

Family

ID=68920970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810638235.1A Expired - Fee Related CN110621084B (en) 2018-06-20 2018-06-20 Method and device for establishing pre-established session, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110621084B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177363B (en) * 2019-12-30 2023-07-11 广州市百果园网络科技有限公司 Writing method and device of group message, server and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699014A (en) * 2017-10-20 2019-04-30 普天信息技术有限公司 A kind of MBMS carries pre-established method and apparatus
CN109698848A (en) * 2017-10-20 2019-04-30 普天信息技术有限公司 A kind of pre-established method and apparatus of session

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699014A (en) * 2017-10-20 2019-04-30 普天信息技术有限公司 A kind of MBMS carries pre-established method and apparatus
CN109698848A (en) * 2017-10-20 2019-04-30 普天信息技术有限公司 A kind of pre-established method and apparatus of session

Also Published As

Publication number Publication date
CN110621084A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US20210218842A1 (en) Method, device, server and storage medium of agent allocation
US9647956B2 (en) Method and systems for dynamic allocation of network resources
WO2014080994A1 (en) Congestion control system, control device, congestion control method and program
KR20090084975A (en) Method and apparatus for allocating network resources in a group communication system
EP2404412A1 (en) Method and system for a multitenancy telephone network
EP2472840A2 (en) Title: method and device of arranging calling center seats
CN106921613B (en) Method and system for signaling transmission
CN105099778A (en) Bandwidth allocation method and device
CN110621084B (en) Method and device for establishing pre-established session, electronic equipment and storage medium
CN106101468B (en) Method and device for determining transmission link
CN108076438B (en) Dynamic distribution method and system for bearing service in multi-user group communication system
CN109699014B (en) Method and device for pre-establishing MBMS (multimedia broadcast multicast service) bearer
CN107370895B (en) Number hiding device, number hiding method and number hiding system
CN101977442A (en) Method and system for allocating circuit resources in call priority accessing
US11540348B2 (en) Method and apparatus for prioritizing mission critical push to talk traffic during an emergency
CN109698848B (en) Session pre-establishment method and device
JP6020088B2 (en) Load balancing control method and system
CN109429335B (en) Method and equipment for seizing cluster voice users across operators
CN112911678A (en) Network slice selection method and device, electronic equipment and storage medium
CN106982112B (en) Call link switching control method and system based on mobile terminal
CN115914466B (en) Voice interaction method and device based on voice stream robot and storage medium
US11108656B1 (en) Techniques for allocating and managing telecommunication resources
CN113905132B (en) Video color ring playing method, device and computer readable storage medium
CN102550104B (en) Method and device for allocating resources in a mobile communication system
CN110784930B (en) Call resource allocation 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210525