WO2023124674A1 - Media channel configuration method and apparatus, electronic device, and storage medium - Google Patents
Media channel configuration method and apparatus, electronic device, and storage medium Download PDFInfo
- Publication number
- WO2023124674A1 WO2023124674A1 PCT/CN2022/134129 CN2022134129W WO2023124674A1 WO 2023124674 A1 WO2023124674 A1 WO 2023124674A1 CN 2022134129 W CN2022134129 W CN 2022134129W WO 2023124674 A1 WO2023124674 A1 WO 2023124674A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media channel
- group chat
- media
- instant message
- channels
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004891 communication Methods 0.000 claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 11
- 230000004044 response Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Definitions
- the embodiments of the present application relate to the technical field of 5G communication, and in particular to a method, device, electronic device, and storage medium for setting a media channel.
- the fifth-generation mobile communication technology (5th-Generation, 5G) is an enhanced information service based on the technology of the converged communication (Rich Communication Suite, RCS). direction of evolution. Compared with traditional message services, 5G messages not only support the transmission of richer media content, but also support group chat services.
- the group chat service is based on the session mode, and it is necessary to create a Message Session Relay Protocol (MSRP) media channel between the user and the instant message server (IM-AS), and between the IM-AS and the group chat server (GC-AS). , you can send and receive group chat messages.
- MSRP Message Session Relay Protocol
- the main purpose of the embodiment of the present application is to provide a media channel setting method, device, electronic equipment and storage medium, which can improve the utilization rate of a single media channel and reduce the consumption of link resources.
- an embodiment of the present application provides a method for setting a group chat session media channel, including: creating at least one media channel between an instant message server and a group chat server, and the media channel is used to carry multiple group chat sessions session; in the case of detecting the media channel application initiated by the instant message server based on the current user's group chat request, assigning a media channel to the instant message server according to the number of group chat sessions carried by each of the current media channels channel, the allocated media channel is used to carry the group chat session initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset bearing threshold; the allocated media channel is notified to the instant message server, and update the number of group chat sessions currently carried on the allocated media channel.
- an embodiment of the present application also provides a device for setting a group chat session media channel, including: a creation module, configured to create at least one media channel between an instant message server and a group chat server, and the media channel is used for carrying a plurality of group chat sessions; the distribution module is used to detect the media channel application initiated by the instant message server based on the current user's group chat request, according to the current number of group chat sessions carried by each of the media channels , allocating a media channel for the instant message server, the allocated media channel is used to carry the group chat session initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset load Threshold; an update module, configured to notify the instant message server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
- a creation module configured to create at least one media channel between an instant message server and a group chat server, and the media channel is used for carrying a plurality of group chat sessions
- the distribution module is used to detect
- an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned method for setting up a group chat session media channel.
- an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for setting a group chat session media channel is implemented.
- the setting method of the media channel proposed by this application by creating at least one media channel between the instant message server and the group chat server, one media channel can carry multiple group chat sessions, and when the instant message server detects that the group chat session based on the current user
- a media channel application initiated by the request according to the number of group chat sessions carried by each media channel, a media channel is allocated to the instant messaging server to carry the group chat session initiated by the current user, and the allocated media channel is currently
- the number of group chat sessions carried is less than the preset threshold, and then the allocated media channel is notified to the instant message server, and the number of group chat sessions on the allocated media channel is updated, so that the utilization rate of a single media channel is improved and the overall media is reduced.
- the usage of the channel reduces the consumption of link resources, and updates the number of group chat sessions carried on the media channel in real time, which facilitates the allocation of media channels according to the load of the media channel and realizes the load balancing of network equipment.
- Fig. 1 is the application structural diagram of media channel in the prior art
- FIG. 2 is an application structure diagram of a method for setting a media channel according to an embodiment of the present application
- FIG. 3 is a first schematic diagram of a media channel deployment provided according to an embodiment of the present application.
- Fig. 4 is a second schematic diagram of a media channel deployment provided according to an embodiment of the present application.
- FIG. 5 is a flowchart of a method for setting a media channel according to an embodiment of the present application
- FIG. 6 is an interaction diagram for implementing step 501 according to an embodiment of the present application.
- FIG. 7 is an interaction diagram for implementing step 502 and step 503 according to an embodiment of the present application.
- FIG. 8 is a flowchart of a method for setting a media channel according to another embodiment of the present application.
- FIG. 9 is a schematic diagram of a device for setting a media channel according to another embodiment of the present application.
- Fig. 10 is a schematic structural diagram of an electronic device provided according to another embodiment of the present application.
- An embodiment of the present application relates to a method for setting a media channel, which is applied to the structure shown in FIG. 2 , including: a session management module 201 , a plurality of link communication modules 202 and a media channel resource pool 203 .
- the session management module 201 is used to manage the media channel resource pool 203.
- the instant message server detects the media channel application initiated by the group chat request of the current user, according to the number of group chat sessions carried by each current media channel, it is The instant message server allocates a media channel, and the allocated media channel is used to carry the group chat sessions initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset carrying threshold; the allocated media channel is notified to the instant message server and update the number of group chat sessions currently hosted on the assigned media channel.
- the link communication module 202 is configured to create or close at least one media channel between the instant message server and the group chat server, and the media channel is used to carry multiple group chat sessions.
- the link communication module 202 does not participate in complex processing logic, is easy to expand, and can be deployed in multiples.
- the media channel resource pool 203 is used to store the media channel created by the link communication module 202 .
- the session management module 201 and the link communication module 202 in this embodiment are logical network elements, which can be deployed together with the instant message server, as shown in FIG. 3 , or can be deployed independently, as shown in FIG. 4 .
- Step 501 create at least one media channel between an instant message server and a group chat server.
- step 502 when it is detected that the instant message server initiates a media channel application based on the current user's group chat request, allocate a media channel to the instant message server according to the number of group chat sessions carried by the current media channels.
- Step 503 Notify the instant messaging server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
- one media channel can carry multiple group chat sessions.
- the number of group chat sessions carried by the current media channels allocate a media channel for the instant messaging server to carry the group chat sessions initiated by the current user, and the group chat sessions currently carried by the allocated media channel If the number is less than the preset threshold, then the allocated media channel is notified to the instant messaging server, and the number of group chat sessions on the allocated media channel is updated, so that the utilization rate of a single media channel is improved and the usage of the overall media channel is reduced.
- the consumption of link resources is reduced, and the number of group chat sessions carried on the media channel is updated in real time, which facilitates the allocation of media channels according to the load of the media channel, and realizes the load balance of network equipment.
- N media channels between the instant messaging server and the group chat server are created according to the preset minimum reserved number N of media channels, wherein N is a natural number greater than 1, and the media channels are used to carry multiple group chats session.
- the session management module will pre-set the minimum reserved number N of media channels, and then create N media channels through multiple link communication modules according to the preset minimum reserved number N of media channels, and each link communication module creates at least one For media channels, the total number of media channels created by each link communication module is said N.
- the minimum reserved number N of media channels is N Set according to user scale and actual usage.
- step 501 may be implemented through an interaction diagram as shown in FIG. 6, specifically including:
- the session management module starts and loads the configuration.
- the loaded configuration includes: the minimum reserved number N of media channels, the maximum number of media channels, the number of group chat sessions that can be carried by a single media channel, the low availability threshold of the media channel resource pool, and the new channel added in a single expansion of the media channel resource pool number, media channel resource pool scan cycle, group chat server address and service port, etc.
- the session management module initiates a media channel pre-creation request to the link communication module.
- the media channel creation request carries the minimum reserved number N of media channels, the address of the group chat server and the service port for the link communication module to create the media channel.
- the link communication module initiates a TCP connection to the group chat server to create a media channel.
- the link communication module returns a response message indicating that the media channel is created successfully to the session management module.
- the response message carries information about the established media channel, for example, the link communication module to which the media channel belongs, its internal number, and usage.
- the session management module updates the media channel resource pool.
- the session management module After receiving the response message that the media channel is created successfully, the session management module updates the media channel resource pool by recording the information of the media channel in the response message.
- the session management module selects the minimum number of group chat sessions currently carried by the created N media channels media channel, and assign the selected media channel to the instant messaging server.
- the allocated media channel is used to carry the group chat session initiated by the current user, and the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold.
- the session management module will select a target link communication module that meets the first preset condition among multiple link communication modules, and select the one that currently carries the smallest number of group chat sessions among all media channels created by the target link communication module media channel, and then assign the selected media channel to the instant messaging server.
- the first preset condition includes: the total number of group chat sessions currently carried by all media channels created by the link communication module is the smallest.
- the target link communication module By selecting the media channel with the minimum number of group chat sessions currently carried by the target link communication module with the minimum total number of group chat sessions currently carried, the total number of the media channel with the minimum number of group chat sessions carried and the total number of group chat sessions carried.
- the smallest link communication module is fully utilized to avoid the situation that some devices have many media channels, send and receive large amounts of data, and have high loads, while some devices have low loads and transmit less data, that is, unbalanced network device loads.
- the session management module notifies the instant message server of the allocated media channel to transmit group chat messages, and updates the number of group chat sessions currently carried on the allocated media channel. For example, one is added to the number of group chat sessions currently carried on the allocated media channel in the media channel resource pool.
- step 503 and step 503 can be implemented through an interaction diagram as shown in FIG. 7 , specifically including:
- a user creates a group chat session, that is, a session is established between the user and an instant messaging server.
- the instant message server applies for a media channel from the session management module, and the instant message server applies for establishing a session with the group chat server.
- the session management module allocates a media channel.
- the session management module allocates a media channel to the instant messaging server according to the number of group chat sessions currently carried by each media channel.
- the session management module returns a response message of the media channel to the instant message server, that is, notifies the instant message server of the allocated media channel.
- the instant message server requests the group chat server to establish a session. Wherein, the request message carries the information of the allocated media channel.
- the group chat server agrees to establish a session, that is, the media channel is successfully bound and can be used to transmit group chat messages.
- a media channel is allocated to the instant message server
- the instant message server when it is detected that the instant message server initiates a media channel release request based on the current user's withdrawal from the group chat, it is detected that the user has withdrawn from the group chat, Or the group chat session ended due to being removed by the group administrator, then obtain the media channel requested to be released by the instant message server, then reserve the media channel requested to be released, and update the number of group chat sessions currently carried on the media channel requested to be released. For example, the number of group chat sessions currently carried on the allocated media channel in the media channel resource pool is reduced by one. By releasing the media channel at the end of the group chat session, invalid occupation of the media channel is avoided.
- Step 801 create at least one media channel between the instant message server and the group chat server.
- step 801 is substantially the same as step 501 and will not be repeated here.
- Step 802 according to the number of created media channels and the preset maximum number of group chat sessions carried by a single media channel, obtain the available amount of the media channel resource pool.
- the available amount of the media channel resource pool the number of created media channels * the maximum number of group chat sessions carried by a single media channel.
- step 803 when it is detected that the instant message server initiates a media channel application based on the current user's group chat request, allocate a media channel to the instant message server according to the number of group chat sessions carried by the current media channels.
- step 803 is substantially the same as step 502, and will not be repeated here.
- Step 804 update the available amount of the media channel resource pool.
- the maximum number of group chat sessions carried on the currently allocated media channel will be reduced by one, then according to the allocated The maximum number of group chat sessions carried by a single media channel and the number of created media channels, and the available amount of the media channel resource pool is updated.
- Step 805 regularly check whether the current available amount of the media channel resource pool is less than a preset available threshold, that is, the low available threshold of the media channel resource pool. If yes, go to step 806.
- the session management module notifies the instant message server of the allocated media channel to transmit group chat messages, that is, after each media channel is allocated for a group chat session, the available amount of the current media channel resource pool is checked. If it is detected that the available amount of the media channel resource pool is less than the preset available threshold, go to step 806 .
- Step 806 when the available amount of the current media channel resource pool is less than the available threshold, create L media channels again, where L is the preset number of channels for single expansion, which is determined according to the actual usage status. Expansion of the media channel resource pool is realized by periodically detecting whether the current available amount of the media channel resource pool is less than a preset available threshold.
- the session management module also regularly detects whether the number T of the current media channel is greater than the preset maximum number of media channels; when T is greater than the maximum number of media channels, release the media that satisfies the second preset condition channel; wherein, the second preset condition includes: the number of group chat sessions currently carried is zero. Release the number of currently hosted group chat sessions to zero to avoid system consumption.
- the intelligent adjustment of the number of media channels in the system is performed by periodically detecting the usage of the media channels in the system.
- step division of the above various methods is only for the sake of clarity of description. During implementation, it can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
- FIG. 9 is a schematic diagram of an apparatus for setting a media channel according to this embodiment, including: a creation module 901 , an allocation module 902 and an update module 903 .
- the creating module 901 is configured to create at least one media channel between the instant message server and the group chat server, where the media channel is used to carry multiple group chat sessions.
- the creation module 901 is further configured to create N media channels according to the preset minimum reserved number N of media channels, where N is a natural number greater than 1.
- the creation module 901 is also used to create media channels through multiple link communication modules according to the preset minimum reserved number N of media channels, where N is a natural number greater than 1; wherein each link communication module creates At least one media channel, the total number of media channels created by each link communication module is said N.
- the creating module 901 is further configured to re-create L media channels when the available amount of the current media channel resource pool is less than the available threshold, where L is the preset number of single expansion channels.
- the assignment module 902 is configured to allocate a media channel for the instant message server according to the number of group chat sessions carried by the current media channels when detecting the media channel application initiated by the instant message server based on the group chat request of the current user,
- the allocated media channel is used to carry the group chat sessions initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold.
- the assigning module 902 is further configured to select, among the N media channels, the media channel currently carrying the smallest number of group chat sessions; and assign the selected media channel to the instant message server.
- the allocation module 902 is further configured to select a target link communication module that satisfies a first preset condition among multiple link communication modules; wherein, the first preset condition includes: all links created by the link communication module The total number of group chat sessions currently carried by the media channel is the smallest; among all media channels created by the target link communication module, select the media channel with the smallest number of group chat sessions currently carried; the selected media channel is assigned to the Instant messaging server.
- the update module 903 is configured to notify the instant message server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
- This embodiment is an apparatus embodiment corresponding to the foregoing method embodiments, and this embodiment may be implemented in cooperation with the foregoing method embodiments.
- the relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition.
- the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
- modules involved in this embodiment are logical modules.
- a logical unit may be a physical unit, or a part of a physical unit, or may be realized by a combination of multiple physical units.
- units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
- FIG. 10 Another embodiment of the present application relates to an electronic device, as shown in FIG. 10 , including: at least one processor 1001; and a memory 1002 communicatively connected to the at least one processor 1001; wherein, the memory 1002 stores Instructions that can be executed by the at least one processor 1001, the instructions are executed by the at least one processor 1001, so that the at least one processor 1001 can execute the media channel setting methods in the foregoing embodiments.
- the memory and the processor are connected by a bus
- the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together.
- the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
- the bus interface provides an interface between the bus and the transceivers.
- a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
- the data processed by the processor is transmitted on the wireless medium through the antenna, further, the antenna also receives the data and transmits the data to the processor.
- the processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory can be used to store data that the processor uses when performing operations.
- Another embodiment of the present application relates to a computer-readable storage medium storing a computer program.
- the above method embodiments are implemented when the computer program is executed by the processor.
- a storage medium includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
embodiments of the present application relate to the technical field of 5G communication and disclose a media channel configuration method and apparatus, an electronic device, and a storage medium. The media channel configuration method comprises: creating at least one media channel between an instant message server and a group chat server, the media channel being used for carrying a plurality of group chat sessions; when a media channel application initiated by the instant message server on the basis of a group chat request of a current user is detected, allocating a media channel to the instant message server according to the number of group chat sessions carried by each current media channel, the allocated media channel being used for carrying a group chat session initiated by the current user, wherein the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold; notifying the instant message server of the allocated media channel, and updating the number of group chat sessions currently carried on the allocated media channel.
Description
相关申请related application
本申请要求于2021年12月27日申请的、申请号为202111617038.X的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111617038.X filed on December 27, 2021, the entire contents of which are incorporated herein by reference.
本申请实施例涉及5G通信技术领域,特别涉及一种媒体通道的设置方法、装置、电子设备及存储介质。The embodiments of the present application relate to the technical field of 5G communication, and in particular to a method, device, electronic device, and storage medium for setting a media channel.
第五代移动通信技术(5th-Generation,5G)是基于融合通信(Rich Communication Suite,RCS)技术基础上的一种增强信息服务,是对传统短消息业务的升级,也是未来运营商消息类业务的演进方向。相较于传统消息业务,5G消息除了支持传输更丰富的媒体内容外,还支持群聊业务。The fifth-generation mobile communication technology (5th-Generation, 5G) is an enhanced information service based on the technology of the converged communication (Rich Communication Suite, RCS). direction of evolution. Compared with traditional message services, 5G messages not only support the transmission of richer media content, but also support group chat services.
群聊业务基于会话模式,需要先创建用户到即时消息服务器(IM-AS),IM-AS到群聊服务器(GC-AS)之间的消息会话传输协议(Message Session Relay Protocol,MSRP)媒体通道,才可以进行群聊消息的收发。The group chat service is based on the session mode, and it is necessary to create a Message Session Relay Protocol (MSRP) media channel between the user and the instant message server (IM-AS), and between the IM-AS and the group chat server (GC-AS). , you can send and receive group chat messages.
目前的群聊业务中,一个媒体通道仅用于收发单个用户在单个群聊中的消息,参见图1,当有N个用户进行群聊聊天,且每个用户平均在M个群活跃时,共需要2*N*M个媒体通道,存在以下问题:In the current group chat service, a media channel is only used to send and receive messages of a single user in a single group chat. See Figure 1. When there are N users chatting in a group chat, and each user is active in M groups on average, A total of 2*N*M media channels are required, and the following problems exist:
(1)单个媒体通道的利用率太低,需要的媒体通道数过多;(1) The utilization rate of a single media channel is too low, and the number of media channels required is too large;
(2)媒体通道的占用,会造成链路资源的大量消耗;(2) The occupation of the media channel will cause a large consumption of link resources;
(3)在群聊业务高峰期,需要创建大量媒体通道,造成网络设备短时间内的高负载,媒体通道创建出现延时甚至失败,导致用户无法正常收发群聊消息,体验下降;(3) During the peak period of group chat business, a large number of media channels need to be created, resulting in a high load on network equipment in a short period of time, and the creation of media channels is delayed or even fails, resulting in users being unable to send and receive group chat messages normally, and experience degradation;
(4)网络设备负载不均。(4) Uneven load of network equipment.
发明内容Contents of the invention
本申请实施例的主要目的在于提出一种媒体通道的设置方法、装置、电子设备及存储介质,可以提升单个媒体通道的利用率,减少链路资源的消耗。The main purpose of the embodiment of the present application is to provide a media channel setting method, device, electronic equipment and storage medium, which can improve the utilization rate of a single media channel and reduce the consumption of link resources.
为至少实现上述目的,本申请实施例提供了一种群聊会话媒体通道的设置方法,包括:创建即时消息服务器与群聊服务器间的至少一个媒体通道,所述媒体通道用于承载多个群聊会话;在检测到所述即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道,所述分配的媒体通道用于承载所述当前用户发起的群聊会话;其中,所述分配的媒体通道当前承载的群聊会话数量小于预设承载门限;将所述分配的媒体通道通知给所述即时消息服务器,并更新所述分配的媒体通道上当前承载的群聊会话数量。In order to at least achieve the above purpose, an embodiment of the present application provides a method for setting a group chat session media channel, including: creating at least one media channel between an instant message server and a group chat server, and the media channel is used to carry multiple group chat sessions session; in the case of detecting the media channel application initiated by the instant message server based on the current user's group chat request, assigning a media channel to the instant message server according to the number of group chat sessions carried by each of the current media channels channel, the allocated media channel is used to carry the group chat session initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset bearing threshold; the allocated media channel is notified to the instant message server, and update the number of group chat sessions currently carried on the allocated media channel.
为至少实现上述目的,本申请实施例还提供一种群聊会话媒体通道的设置装置,包括: 创建模块,用于创建即时消息服务器与群聊服务器间的至少一个媒体通道,所述媒体通道用于承载多个群聊会话;分配模块,用于在检测到所述即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道,所述分配的媒体通道用于承载所述当前用户发起的群聊会话;其中,所述分配的媒体通道当前承载的群聊会话数量小于预设承载门限;更新模块,用于将所述分配的媒体通道通知给所述即时消息服务器,并更新所述分配的媒体通道上当前承载的群聊会话数量。In order to at least achieve the above purpose, an embodiment of the present application also provides a device for setting a group chat session media channel, including: a creation module, configured to create at least one media channel between an instant message server and a group chat server, and the media channel is used for carrying a plurality of group chat sessions; the distribution module is used to detect the media channel application initiated by the instant message server based on the current user's group chat request, according to the current number of group chat sessions carried by each of the media channels , allocating a media channel for the instant message server, the allocated media channel is used to carry the group chat session initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset load Threshold; an update module, configured to notify the instant message server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
为至少实现上述目的,本申请实施例还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的群聊会话媒体通道的设置方法。In order to at least achieve the above purpose, an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned method for setting up a group chat session media channel.
为至少实现上述目的,本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述的群聊会话媒体通道的设置方法。In order to at least achieve the above purpose, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for setting a group chat session media channel is implemented.
本申请提出的媒体通道的设置方法,通过创建即时消息服务器与群聊服务器之间的至少一个媒体通道,一个媒体通道可以承载多个群聊会话,在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道,用于承载当前用户发起的群聊会话,并且,分配的媒体通道当前承载的群聊会话数量小于预设门限,然后将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道上的群聊会话数量,使得单个媒体通道的利用率得到提升,降低了整体媒体通道的使用量,减少了链路资源的消耗,并实时更新媒体通道上承载的群聊会话数量,便于根据媒体通道的负载情况进行而媒体通道的分配,实现了网络设备负载的均衡。The setting method of the media channel proposed by this application, by creating at least one media channel between the instant message server and the group chat server, one media channel can carry multiple group chat sessions, and when the instant message server detects that the group chat session based on the current user In the case of a media channel application initiated by the request, according to the number of group chat sessions carried by each media channel, a media channel is allocated to the instant messaging server to carry the group chat session initiated by the current user, and the allocated media channel is currently The number of group chat sessions carried is less than the preset threshold, and then the allocated media channel is notified to the instant message server, and the number of group chat sessions on the allocated media channel is updated, so that the utilization rate of a single media channel is improved and the overall media is reduced. The usage of the channel reduces the consumption of link resources, and updates the number of group chat sessions carried on the media channel in real time, which facilitates the allocation of media channels according to the load of the media channel and realizes the load balancing of network equipment.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标识的元件表示为类似的元件,除非有特别的申明,附图中的图不构成比例限制。One or more embodiments are exemplified by corresponding pictures in the drawings, and these exemplifications do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings represent similar elements, Unless otherwise stated, the drawings in the drawings are not limited to scale.
图1是现有技术中媒体通道的应用结构图;Fig. 1 is the application structural diagram of media channel in the prior art;
图2是根据本申请一个实施例提供的一种媒体通道的设置方法的应用结构图;FIG. 2 is an application structure diagram of a method for setting a media channel according to an embodiment of the present application;
图3是根据本申请一个实施例提供的一种媒体通道的部署示意图一;FIG. 3 is a first schematic diagram of a media channel deployment provided according to an embodiment of the present application;
图4是根据本申请一个实施例提供的一种媒体通道的部署示意图二;Fig. 4 is a second schematic diagram of a media channel deployment provided according to an embodiment of the present application;
图5是根据本申请一个实施例提供的一种媒体通道的设置方法的流程图;FIG. 5 is a flowchart of a method for setting a media channel according to an embodiment of the present application;
图6是根据本申请一个实施例提供的一种实现步骤501的交互图;FIG. 6 is an interaction diagram for implementing step 501 according to an embodiment of the present application;
图7是根据本申请一个实施例提供的一种实现步骤502和步骤503的交互图;FIG. 7 is an interaction diagram for implementing step 502 and step 503 according to an embodiment of the present application;
图8是根据本申请另一个实施例提供的一种媒体通道的设置方法的流程图;FIG. 8 is a flowchart of a method for setting a media channel according to another embodiment of the present application;
图9是根据本申请另一个实施例提供的一种媒体通道的设置装置的示意图;FIG. 9 is a schematic diagram of a device for setting a media channel according to another embodiment of the present application;
图10是根据本申请另一个实施例提供的一种电子设备的结构示意图。Fig. 10 is a schematic structural diagram of an electronic device provided according to another embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实 施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will describe each embodiment of the present application in detail with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that in each embodiment of the application, many technical details are provided for readers to better understand the application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present application, and the embodiments can be combined and referred to each other on the premise of no contradiction.
本申请的一个实施例涉及一种媒体通道的设置方法,应用于如图2所示的结构中,包括:会话管理模块201,多个链路通信模块202和媒体通道资源池203。An embodiment of the present application relates to a method for setting a media channel, which is applied to the structure shown in FIG. 2 , including: a session management module 201 , a plurality of link communication modules 202 and a media channel resource pool 203 .
会话管理模块201,用于管理媒体通道资源池203,在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道,分配的媒体通道用于承载当前用户发起的群聊会话;其中,分配的媒体通道当前承载的群聊会话数量小于预设承载门限;将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道上当前承载的群聊会话数量。The session management module 201 is used to manage the media channel resource pool 203. When the instant message server detects the media channel application initiated by the group chat request of the current user, according to the number of group chat sessions carried by each current media channel, it is The instant message server allocates a media channel, and the allocated media channel is used to carry the group chat sessions initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset carrying threshold; the allocated media channel is notified to the instant message server and update the number of group chat sessions currently hosted on the assigned media channel.
链路通信模块202,用于创建或关闭即时消息服务器与群聊服务器间的至少一个媒体通道,媒体通道用于承载多个群聊会话。The link communication module 202 is configured to create or close at least one media channel between the instant message server and the group chat server, and the media channel is used to carry multiple group chat sessions.
其中,链路通信模块202不参与复杂处理逻辑,易于扩充,可以部署多个。Among them, the link communication module 202 does not participate in complex processing logic, is easy to expand, and can be deployed in multiples.
媒体通道资源池203用于存储链路通信模块202创建的媒体通道。The media channel resource pool 203 is used to store the media channel created by the link communication module 202 .
本实施例中的会话管理模块201和链路通信模块202为逻辑网元,可以与即时消息服务器合并部署,参见图3,也可以独立部署,参见图4。The session management module 201 and the link communication module 202 in this embodiment are logical network elements, which can be deployed together with the instant message server, as shown in FIG. 3 , or can be deployed independently, as shown in FIG. 4 .
本实施例的媒体通道的设置方法的具体实现流程图如图5所示,包括:The specific implementation flowchart of the setting method of the media channel of the present embodiment is shown in Figure 5, including:
步骤501,创建即时消息服务器与群聊服务器间的至少一个媒体通道。 Step 501, create at least one media channel between an instant message server and a group chat server.
步骤502,在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道。In step 502, when it is detected that the instant message server initiates a media channel application based on the current user's group chat request, allocate a media channel to the instant message server according to the number of group chat sessions carried by the current media channels.
步骤503,将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道上当前承载的群聊会话数量。Step 503: Notify the instant messaging server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
本实施例中,通过创建即时消息服务器与群聊服务器之间的至少一个媒体通道,一个媒体通道可以承载多个群聊会话,在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道,用于承载当前用户发起的群聊会话,并且,分配的媒体通道当前承载的群聊会话数量小于预设门限,然后将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道上的群聊会话数量,使得单个媒体通道的利用率得到提升,降低了整体媒体通道的使用量,减少了链路资源的消耗,并实时更新媒体通道上承载的群聊会话数量,便于根据媒体通道的负载情况进行而媒体通道的分配,实现了网络设备负载的均衡。In this embodiment, by creating at least one media channel between the instant message server and the group chat server, one media channel can carry multiple group chat sessions. In the case of application, according to the number of group chat sessions carried by the current media channels, allocate a media channel for the instant messaging server to carry the group chat sessions initiated by the current user, and the group chat sessions currently carried by the allocated media channel If the number is less than the preset threshold, then the allocated media channel is notified to the instant messaging server, and the number of group chat sessions on the allocated media channel is updated, so that the utilization rate of a single media channel is improved and the usage of the overall media channel is reduced. The consumption of link resources is reduced, and the number of group chat sessions carried on the media channel is updated in real time, which facilitates the allocation of media channels according to the load of the media channel, and realizes the load balance of network equipment.
下面对本实施例的媒体通道的设置方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The implementation details of the media channel setting method of this embodiment are described in detail below, and the following content is only implementation details provided for easy understanding, and is not necessary for implementing this solution.
在步骤501中,根据预设的媒体通道最小保留个数N,创建即时消息服务器与群聊服务器间的N个媒体通道,其中,N为大于1的自然数,媒体通道用于承载多个群聊会话。In step 501, N media channels between the instant messaging server and the group chat server are created according to the preset minimum reserved number N of media channels, wherein N is a natural number greater than 1, and the media channels are used to carry multiple group chats session.
会话管理模块会预先设置媒体通道最小保留个数N,然后根据预设的媒体通道最小保留个数N,通过多个链路通信模块创建N个媒体通道,并且,各链路通信模块创建至少一个媒体通道,各链路通信模块创建的媒体通道总数为所述N。通过预先设置媒体通道最小保留个 数N,然后创建N个媒体通道,可以减少群聊消息传输时临时创建媒体通道的操作,平滑业务繁忙期带来的冲击,其中,媒体通道最小保留个数N根据用户规模和实际使用情况设定。The session management module will pre-set the minimum reserved number N of media channels, and then create N media channels through multiple link communication modules according to the preset minimum reserved number N of media channels, and each link communication module creates at least one For media channels, the total number of media channels created by each link communication module is said N. By setting the minimum reserved number N of media channels in advance, and then creating N media channels, the operation of temporarily creating media channels during group chat message transmission can be reduced, and the impact brought by the busy business period can be smoothed. Among them, the minimum reserved number of media channels is N Set according to user scale and actual usage.
在一个例子中,步骤501可以通过如图6所示的交互图实现,具体包括:In an example, step 501 may be implemented through an interaction diagram as shown in FIG. 6, specifically including:
S601,会话管理模块启动,并加载配置。S601, the session management module starts and loads the configuration.
其中,加载的配置包括:媒体通道最小保留个数N,媒体通道最大个数,单个媒体通道可承载的群聊会话数,媒体通道资源池低可用阈值,媒体通道资源池单次扩容新增通道个数,媒体通道资源池扫描周期,群聊服务器地址和服务端口等。Among them, the loaded configuration includes: the minimum reserved number N of media channels, the maximum number of media channels, the number of group chat sessions that can be carried by a single media channel, the low availability threshold of the media channel resource pool, and the new channel added in a single expansion of the media channel resource pool number, media channel resource pool scan cycle, group chat server address and service port, etc.
S602,会话管理模块向链路通信模块发起预创建媒体通道请求。S602. The session management module initiates a media channel pre-creation request to the link communication module.
其中,媒体通道创建请求中携带媒体通道最小保留个数N,群聊服务器地址和服务端口,供链路通信模块创建媒体通道。Wherein, the media channel creation request carries the minimum reserved number N of media channels, the address of the group chat server and the service port for the link communication module to create the media channel.
S603,链路通信模块向群聊服务器发起TCP连接,创建媒体通道。S603. The link communication module initiates a TCP connection to the group chat server to create a media channel.
S604,链路通信模块向会话管理模块返回媒体通道创建成功的响应消息。S604. The link communication module returns a response message indicating that the media channel is created successfully to the session management module.
其中,响应消息中携带创建好的媒体通道的信息,例如,媒体通道归属的链路通信模块及内部编号、使用情况。Wherein, the response message carries information about the established media channel, for example, the link communication module to which the media channel belongs, its internal number, and usage.
S605,会话管理模块更新媒体通道资源池。S605. The session management module updates the media channel resource pool.
会话管理模块在接收到媒体通道创建成功的响应消息后,通过记录响应消息中的媒体通道的信息,以更新媒体通道资源池。After receiving the response message that the media channel is created successfully, the session management module updates the media channel resource pool by recording the information of the media channel in the response message.
在步骤502中,在检测到所述即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,会话管理模块在创建的N个媒体通道中,选择当前承载的群聊会话数量最小的媒体通道,并将选择的媒体通道分配给即时消息服务器。其中,分配的媒体通道用于承载所述当前用户发起的群聊会话,且分配的媒体通道当前承载的群聊会话数量小于预设承载门限。In step 502, in the case of detecting that the instant messaging server has initiated a media channel application based on the current user's group chat request, the session management module selects the minimum number of group chat sessions currently carried by the created N media channels media channel, and assign the selected media channel to the instant messaging server. Wherein, the allocated media channel is used to carry the group chat session initiated by the current user, and the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold.
会话管理模块会在多个链路通信模块中选择满足第一预设条件的目标链路通信模块,并在目标链路通信模块创建的所有媒体通道中,选择当前承载的群聊会话数量最小的媒体通道,然后将选择的媒体通道分配给即时消息服务器。其中,第一预设条件包括:链路通信模块创建的所有媒体通道当前承载的群聊会话数量的总数最小。通过从当前承载的群聊会话数量的总数最小的目标链路通信模块中选择当前承载的群聊会话数量最小的媒体通道,以使承载会话数量最小的媒体通道和承载的群聊会话数量的总数最小的链路通信模块得到充分利用,避免出现部分设备媒体通道多,收发数据量大,负载高,部分设备负载低,传输数据少,即网络设备负载不均衡的情况。The session management module will select a target link communication module that meets the first preset condition among multiple link communication modules, and select the one that currently carries the smallest number of group chat sessions among all media channels created by the target link communication module media channel, and then assign the selected media channel to the instant messaging server. Wherein, the first preset condition includes: the total number of group chat sessions currently carried by all media channels created by the link communication module is the smallest. By selecting the media channel with the minimum number of group chat sessions currently carried by the target link communication module with the minimum total number of group chat sessions currently carried, the total number of the media channel with the minimum number of group chat sessions carried and the total number of group chat sessions carried The smallest link communication module is fully utilized to avoid the situation that some devices have many media channels, send and receive large amounts of data, and have high loads, while some devices have low loads and transmit less data, that is, unbalanced network device loads.
在步骤503中,会话管理模块将分配的媒体通道通知给即时消息服务器,以传输群聊消息,并更新分配的媒体通道上当前承载的群聊会话数量。例如,对媒体通道资源池中在分配的媒体通道上当前承载的群聊会话数量加一。In step 503, the session management module notifies the instant message server of the allocated media channel to transmit group chat messages, and updates the number of group chat sessions currently carried on the allocated media channel. For example, one is added to the number of group chat sessions currently carried on the allocated media channel in the media channel resource pool.
在一个例子中,步骤503和步骤503可以通过如图7所示的交互图实现,具体包括:In an example, step 503 and step 503 can be implemented through an interaction diagram as shown in FIG. 7 , specifically including:
S701,用户创建群聊会话,即用户与即时消息服务器之间建立会话。S701. A user creates a group chat session, that is, a session is established between the user and an instant messaging server.
S702,即时消息服务器向会话管理模块申请媒体通道,即时消息服务器申请与群聊服务器建立会话。S702. The instant message server applies for a media channel from the session management module, and the instant message server applies for establishing a session with the group chat server.
S703,会话管理模块分配媒体通道。S703, the session management module allocates a media channel.
会话管理模块根据根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道。The session management module allocates a media channel to the instant messaging server according to the number of group chat sessions currently carried by each media channel.
S704,会话管理模块向即时消息服务器返回媒体通道的响应消息,即将分配的媒体通道通知给即时消息服务器。S704, the session management module returns a response message of the media channel to the instant message server, that is, notifies the instant message server of the allocated media channel.
S705,即时消息服务器向群聊服务器请求建立会话。其中,请求消息中携带分配的媒体通道的信息。S705. The instant message server requests the group chat server to establish a session. Wherein, the request message carries the information of the allocated media channel.
S706,群聊服务器同意建立会话,即媒体通道绑定成功,可用于传输群聊消息。S706, the group chat server agrees to establish a session, that is, the media channel is successfully bound and can be used to transmit group chat messages.
在另一个实施例中,在为即时消息服务器分配一个媒体通道后,在检测到即时消息服务器基于当前用户的退出群聊发起的媒体通道释放请求的情况下,即检测到由于用户退出群聊,或被群管理员移出导致的群聊会话结束,则获取即时消息服务器请求释放的媒体通道,然后保留请求释放的媒体通道,并更新请求释放的媒体通道上当前承载的群聊会话数量。例如,对媒体通道资源池中在分配的媒体通道上当前承载的群聊会话数量减一。通过在群聊会话结束时,释放媒体通道,以避免媒体通道的无效占用。In another embodiment, after a media channel is allocated to the instant message server, when it is detected that the instant message server initiates a media channel release request based on the current user's withdrawal from the group chat, it is detected that the user has withdrawn from the group chat, Or the group chat session ended due to being removed by the group administrator, then obtain the media channel requested to be released by the instant message server, then reserve the media channel requested to be released, and update the number of group chat sessions currently carried on the media channel requested to be released. For example, the number of group chat sessions currently carried on the allocated media channel in the media channel resource pool is reduced by one. By releasing the media channel at the end of the group chat session, invalid occupation of the media channel is avoided.
在另一个实施例中,本申请实施例的媒体通道的设置方法的具体实现流程图如图8所示,包括:In another embodiment, the specific implementation flow chart of the setting method of the media channel in the embodiment of the present application is shown in Figure 8, including:
步骤801,创建即时消息服务器与群聊服务器间的至少一个媒体通道。 Step 801, create at least one media channel between the instant message server and the group chat server.
其中,步骤801与步骤501大致相同,此处不再赘述。Wherein, step 801 is substantially the same as step 501 and will not be repeated here.
步骤802,根据创建的媒体通道数和预设的单个媒体通道的最大群聊会话承载数,获取媒体通道资源池可用量。 Step 802, according to the number of created media channels and the preset maximum number of group chat sessions carried by a single media channel, obtain the available amount of the media channel resource pool.
在未分配情况下,媒体通道资源池可用量=创建的媒体通道数*单个媒体通道的最大群聊会话承载数。In the case of no allocation, the available amount of the media channel resource pool = the number of created media channels * the maximum number of group chat sessions carried by a single media channel.
步骤803,在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道。In step 803, when it is detected that the instant message server initiates a media channel application based on the current user's group chat request, allocate a media channel to the instant message server according to the number of group chat sessions carried by the current media channels.
其中,步骤803与步骤502大致相同,此处不再赘述。Wherein, step 803 is substantially the same as step 502, and will not be repeated here.
步骤804,更新媒体通道资源池可用量。 Step 804, update the available amount of the media channel resource pool.
在将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道上当前承载的群聊会话数量之后,当前分配的媒体通道上的最大群聊会话承载数会减一,则根据分配后的单个媒体通道的最大群聊会话承载数和创建的媒体通道数,更新媒体通道资源池可用量。After notifying the instant message server of the allocated media channel and updating the number of group chat sessions currently carried on the allocated media channel, the maximum number of group chat sessions carried on the currently allocated media channel will be reduced by one, then according to the allocated The maximum number of group chat sessions carried by a single media channel and the number of created media channels, and the available amount of the media channel resource pool is updated.
步骤805,定期检测当前的媒体通道资源池可用量是否小于预设的可用阈值,即媒体通道资源池低可用阈值。若是,则进入步骤806。 Step 805, regularly check whether the current available amount of the media channel resource pool is less than a preset available threshold, that is, the low available threshold of the media channel resource pool. If yes, go to step 806.
在一个例子中,周期性的检测当前媒体通道资源池可用量是否小于预设的可用阈值,在媒体通道资源池可用量小于预设的可用阈值的情况下,进入步骤806。In one example, it is periodically detected whether the available amount of the current media channel resource pool is less than the preset available threshold, and if the available amount of the media channel resource pool is smaller than the preset available threshold, go to step 806 .
在另一个例子中,在会话管理模块将分配的媒体通道通知给即时消息服务器,以传输群聊消息之后,即每一次为群聊会话分配媒体通道之后,对当前的媒体通道资源池可用量进行检测,在媒体通道资源池可用量小于预设的可用阈值的情况下,进入步骤806。In another example, after the session management module notifies the instant message server of the allocated media channel to transmit group chat messages, that is, after each media channel is allocated for a group chat session, the available amount of the current media channel resource pool is checked. If it is detected that the available amount of the media channel resource pool is less than the preset available threshold, go to step 806 .
步骤806,在当前的媒体通道资源池可用量小于可用阈值的情况下,再次创建L个媒体通道,其中,L为预设的单次扩容通道数,根据实际使用状况决定。通过定期检测当前的所述媒体通道资源池可用量是否小于预设的可用阈值,以实现媒体通道资源池的扩容。 Step 806, when the available amount of the current media channel resource pool is less than the available threshold, create L media channels again, where L is the preset number of channels for single expansion, which is determined according to the actual usage status. Expansion of the media channel resource pool is realized by periodically detecting whether the current available amount of the media channel resource pool is less than a preset available threshold.
在一个例子中,会话管理模块还会定期检测当前媒体通道的数量T是否大于预设的媒体 通道最大个数;在T大于媒体通道最大个数的情况下,释放满足第二预设条件的媒体通道;其中,第二预设条件包括:当前承载的群聊会话数量为零。通过对当前承载的群聊会话数量为零进行释放,以避免造成***消耗。In one example, the session management module also regularly detects whether the number T of the current media channel is greater than the preset maximum number of media channels; when T is greater than the maximum number of media channels, release the media that satisfies the second preset condition channel; wherein, the second preset condition includes: the number of group chat sessions currently carried is zero. Release the number of currently hosted group chat sessions to zero to avoid system consumption.
在满足第二预设条件的媒体通道的数量大于P,即当前承载的群聊会话数量为零的媒体通道的数量大于P的情况下,释放P个满足第二预设条件的媒体通道,其中,P为T与预设的媒体通道最小保留个数N的差值。通过对当前承载的群聊会话数量为零增加释放条件,可以在保证业务繁忙期媒体通道数足够的同时,避免***多余的消耗。When the number of media channels that meet the second preset condition is greater than P, that is, when the number of media channels that currently carry zero group chat sessions is greater than P, release P media channels that meet the second preset condition, where , P is the difference between T and the preset minimum reserved number N of media channels. By adding a release condition that the number of currently carried group chat sessions is zero, it is possible to avoid unnecessary consumption of the system while ensuring that the number of media channels is sufficient during the busy business period.
本实施例中,通过定期检测***中媒体通道的使用情况,从而进行***中媒体通道数量的智能化调整。In this embodiment, the intelligent adjustment of the number of media channels in the system is performed by periodically detecting the usage of the media channels in the system.
本实施方式中的上述各示例均为方便理解进行的举例说明,并不对本申请的技术方案构成限定。The above-mentioned examples in this embodiment are illustrations for easy understanding, and do not limit the technical solution of this application.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The step division of the above various methods is only for the sake of clarity of description. During implementation, it can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本申请的另一个实施例涉及一种媒体通道的设置装置,下面对本实施例的媒体通道的设置装置的细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本例的必须,图9是本实施例所述的媒体通道的设置装置的示意图,包括:创建模块901、分配模块902和更新模块903。Another embodiment of the present application relates to a device for setting a media channel. The details of the device for setting a media channel in this embodiment will be described in detail below. The following content is only the implementation details provided for the convenience of understanding, and is not necessary for the implementation of this embodiment , FIG. 9 is a schematic diagram of an apparatus for setting a media channel according to this embodiment, including: a creation module 901 , an allocation module 902 and an update module 903 .
创建模块901,用于创建即时消息服务器与群聊服务器间的至少一个媒体通道,其中,媒体通道用于承载多个群聊会话。The creating module 901 is configured to create at least one media channel between the instant message server and the group chat server, where the media channel is used to carry multiple group chat sessions.
在一个例子中,创建模块901,还用于根据预设的媒体通道最小保留个数N,创建N个媒体通道,其中,N为大于1的自然数。In an example, the creation module 901 is further configured to create N media channels according to the preset minimum reserved number N of media channels, where N is a natural number greater than 1.
在一个例子中,创建模块901,还用于根据预设的媒体通道最小保留个数N,通过多个链路通信模块创建媒体通道,N为大于1的自然数;其中,各链路通信模块创建至少一个媒体通道,各链路通信模块创建的媒体通道总数为所述N。In one example, the creation module 901 is also used to create media channels through multiple link communication modules according to the preset minimum reserved number N of media channels, where N is a natural number greater than 1; wherein each link communication module creates At least one media channel, the total number of media channels created by each link communication module is said N.
在一个例子中,创建模块901,还用于在当前的媒体通道资源池可用量小于可用阈值的情况下,再次创建L个媒体通道,其中,L为预设的单次扩容通道数。In an example, the creating module 901 is further configured to re-create L media channels when the available amount of the current media channel resource pool is less than the available threshold, where L is the preset number of single expansion channels.
分配模块902,用于在检测到即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各媒体通道已承载的群聊会话数量,为即时消息服务器分配一个媒体通道,分配的媒体通道用于承载所述当前用户发起的群聊会话;其中,分配的媒体通道当前承载的群聊会话数量小于预设承载门限。The assignment module 902 is configured to allocate a media channel for the instant message server according to the number of group chat sessions carried by the current media channels when detecting the media channel application initiated by the instant message server based on the group chat request of the current user, The allocated media channel is used to carry the group chat sessions initiated by the current user; wherein, the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold.
在一个例子中,分配模块902,还用于在N个媒体通道中,选择当前承载的群聊会话数量最小的媒体通道;将选择的媒体通道分配给即时消息服务器。In an example, the assigning module 902 is further configured to select, among the N media channels, the media channel currently carrying the smallest number of group chat sessions; and assign the selected media channel to the instant message server.
在一个例子中,分配模块902,还用于在多个链路通信模块中选择满足第一预设条件的目标链路通信模块;其中,第一预设条件包括:链路通信模块创建的所有所述媒体通道当前承载的群聊会话数量的总数最小;在目标链路通信模块创建的所有媒体通道中,选择当前承载的群聊会话数量最小的媒体通道;将选择的媒体通道分配给所述即时消息服务器。In one example, the allocation module 902 is further configured to select a target link communication module that satisfies a first preset condition among multiple link communication modules; wherein, the first preset condition includes: all links created by the link communication module The total number of group chat sessions currently carried by the media channel is the smallest; among all media channels created by the target link communication module, select the media channel with the smallest number of group chat sessions currently carried; the selected media channel is assigned to the Instant messaging server.
更新模块903,用于将分配的媒体通道通知给即时消息服务器,并更新分配的媒体通道 上当前承载的群聊会话数量。The update module 903 is configured to notify the instant message server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel.
本实施例为与上述方法实施例对应的装置实施例,本实施例可以与上述方法实施例互相配合实施。上述实施例中提到的相关技术细节和技术效果在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在上述实施例中。This embodiment is an apparatus embodiment corresponding to the foregoing method embodiments, and this embodiment may be implemented in cooperation with the foregoing method embodiments. The relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and will not be repeated here to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
本实施例中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。All the modules involved in this embodiment are logical modules. In practical applications, a logical unit may be a physical unit, or a part of a physical unit, or may be realized by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
本申请另一个实施例涉及一种电子设备,如图10所示,包括:至少一个处理器1001;以及,与所述至少一个处理器1001通信连接的存储器1002;其中,所述存储器1002存储有可被所述至少一个处理器1001执行的指令,所述指令被所述至少一个处理器1001执行,以使所述至少一个处理器1001能够执行上述各实施例中的媒体通道的设置方法。Another embodiment of the present application relates to an electronic device, as shown in FIG. 10 , including: at least one processor 1001; and a memory 1002 communicatively connected to the at least one processor 1001; wherein, the memory 1002 stores Instructions that can be executed by the at least one processor 1001, the instructions are executed by the at least one processor 1001, so that the at least one processor 1001 can execute the media channel setting methods in the foregoing embodiments.
其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路连接在一起。总线还可以将诸如***设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器。Wherein, the memory and the processor are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, further, the antenna also receives the data and transmits the data to the processor.
处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,***接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory can be used to store data that the processor uses when performing operations.
本申请另一个实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。Another embodiment of the present application relates to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本领域的普通技术人员可以理解,上述各实施方式是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned implementation modes are specific examples for realizing the present application, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present application. scope.
Claims (10)
- 一种媒体通道的设置方法,包括:A method for setting a media channel, comprising:创建即时消息服务器与群聊服务器间的至少一个媒体通道,所述媒体通道用于承载多个群聊会话;Create at least one media channel between the instant messaging server and the group chat server, where the media channel is used to carry multiple group chat sessions;在检测到所述即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道;其中,所述分配的媒体通道当前承载的群聊会话数量小于预设承载门限;In the case of detecting the media channel application initiated by the instant message server based on the current user's group chat request, assigning a media channel to the instant message server according to the number of group chat sessions carried by each of the current media channels; Wherein, the number of group chat sessions currently carried by the allocated media channel is less than a preset carrying threshold;将所述分配的媒体通道通知给所述即时消息服务器,并更新所述分配的媒体通道上当前承载的群聊会话数量,所述分配的媒体通道用于承载所述当前用户发起的群聊会话。Notifying the instant messaging server of the allocated media channel, and updating the number of group chat sessions currently carried on the allocated media channel, where the allocated media channel is used to carry the group chat session initiated by the current user .
- 根据权利要求1所述的媒体通道的设置方法,其中,所述创建即时消息服务器与群聊服务器间的至少一个媒体通道,包括:The method for setting a media channel according to claim 1, wherein said creating at least one media channel between the instant message server and the group chat server includes:根据预设的媒体通道最小保留个数N,创建N个所述媒体通道,所述N为大于1的自然数;Create N media channels according to the preset minimum reserved number N of media channels, where N is a natural number greater than 1;所述根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道,包括:The allocation of a media channel for the instant message server according to the current number of group chat sessions carried by each of the media channels includes:在所述N个媒体通道中,选择当前承载的群聊会话数量最小的媒体通道;Among the N media channels, select the media channel currently carrying the smallest number of group chat sessions;将所述选择的媒体通道分配给所述即时消息服务器。Allocating the selected media channel to the instant message server.
- 根据权利要求2所述的媒体通道的设置方法,其中,所述创建即时消息服务器与群聊服务器间的至少一个媒体通道,包括:The method for setting a media channel according to claim 2, wherein said creating at least one media channel between the instant message server and the group chat server comprises:根据预设的媒体通道最小保留个数N,通过多个链路通信模块创建所述媒体通道,所述N为大于1的自然数;其中,各所述链路通信模块创建至少一个所述媒体通道,各所述链路通信模块创建的所述媒体通道总数为所述N;According to the preset minimum reserved number N of media channels, create the media channel through multiple link communication modules, where N is a natural number greater than 1; wherein, each of the link communication modules creates at least one of the media channels , the total number of the media channels created by each of the link communication modules is the N;所述根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道,包括:The allocation of a media channel for the instant message server according to the current number of group chat sessions carried by each of the media channels includes:在所述多个链路通信模块中选择满足第一预设条件的目标链路通信模块;所述第一预设条件包括:所述链路通信模块创建的所有所述媒体通道当前承载的群聊会话数量的总数最小;Select a target link communication module that satisfies a first preset condition among the plurality of link communication modules; the first preset condition includes: all groups currently carried by the media channel created by the link communication module The total number of chat sessions is the smallest;在所述目标链路通信模块创建的所有所述媒体通道中,选择当前承载的群聊会话数量最小的媒体通道;Among all the media channels created by the target link communication module, select the media channel currently carrying the smallest number of group chat sessions;将所述选择的媒体通道分配给所述即时消息服务器。Allocating the selected media channel to the instant message server.
- 根据权利要求1所述的媒体通道的设置方法,其中,在所述为所述即时消息服务器分配一个媒体通道后,还包括:The setting method of the media channel according to claim 1, wherein, after said assigning a media channel for the instant message server, further comprising:在检测到所述即时消息服务器基于当前用户的退出群聊发起的媒体通道释放请求的情况下,获取所述即时消息服务器请求释放的媒体通道;In the case of detecting that the instant message server initiates a media channel release request based on the exit of the current user from the group chat, acquire the media channel that the instant message server requests to release;保留所述请求释放的媒体通道,并更新所述请求释放的媒体通道上当前承载的群聊会话数量。Reserve the media channel requested to be released, and update the number of group chat sessions currently carried on the media channel requested to be released.
- 根据权利要求1至4中任一项所述的媒体通道的设置方法,其中,在所述创建即时消息服务器与群聊服务器间的至少一个媒体通道后,还包括:The method for setting a media channel according to any one of claims 1 to 4, wherein, after creating at least one media channel between the instant messaging server and the group chat server, further comprising:根据所述创建的媒体通道数和预设的单个媒体通道的最大群聊会话承载数,获取媒体通道资源池可用量;Obtain the available amount of the media channel resource pool according to the number of created media channels and the preset maximum number of group chat session bearers of a single media channel;在所述为所述即时消息服务器分配一个媒体通道后,还包括:After allocating a media channel for the instant message server, it also includes:更新所述媒体通道资源池可用量;Updating the available amount of the media channel resource pool;所述方法还包括:The method also includes:定期检测当前的所述媒体通道资源池可用量是否小于预设的可用阈值;Periodically detect whether the current available amount of the media channel resource pool is less than a preset available threshold;在当前的所述媒体通道资源池可用量小于所述可用阈值的情况下,再次创建L个所述媒体通道,所述L为预设的单次扩容通道数。In the case that the current available amount of the media channel resource pool is less than the available threshold, L media channels are created again, where L is a preset number of channels for a single expansion.
- 根据权利要求5所述的媒体通道的设置方法,其中,所述方法还包括:The method for setting a media channel according to claim 5, wherein the method further comprises:定期检测当前所述媒体通道的数量T是否大于预设的媒体通道最大个数;Periodically detect whether the number T of the current media channels is greater than the preset maximum number of media channels;在所述T大于所述媒体通道最大个数的情况下,释放满足第二预设条件的媒体通道;其中,所述第二预设条件包括:当前承载的群聊会话数量为零。When the T is greater than the maximum number of media channels, release the media channels that meet the second preset condition; wherein the second preset condition includes: the number of currently carried group chat sessions is zero.
- 根据权利要求6所述的媒体通道的设置方法,其中,所述释放满足第二预设条件的媒体通道,包括:The method for setting a media channel according to claim 6, wherein said releasing the media channel satisfying the second preset condition comprises:在满足所述第二预设条件的媒体通道的数量大于P的情况下,释放P个满足所述第二预设条件的媒体通道,其中,所述P为所述T与预设的媒体通道最小保留个数N的差值。When the number of media channels satisfying the second preset condition is greater than P, release P media channels satisfying the second preset condition, where P is the preset media channel between T and The difference between the minimum reserved number N.
- 一种媒体通道的设置装置,包括:A device for setting a media channel, comprising:创建模块,用于创建即时消息服务器与群聊服务器间的至少一个媒体通道,所述媒体通道用于承载多个群聊会话;Creating a module, used to create at least one media channel between the instant messaging server and the group chat server, the media channel is used to carry multiple group chat sessions;分配模块,用于在检测到所述即时消息服务器基于当前用户的群聊请求发起的媒体通道申请的情况下,根据当前各所述媒体通道已承载的群聊会话数量,为所述即时消息服务器分配一个媒体通道;其中,所述分配的媒体通道当前承载的群聊会话数量小于预设承载门限;The distribution module is configured to, in the case of detecting that the instant message server initiates a media channel application based on the current user's group chat request, according to the current number of group chat sessions carried by each of the media channels, assign the instant message server Allocating a media channel; wherein, the number of group chat sessions currently carried by the allocated media channel is less than the preset carrying threshold;更新模块,用于将所述分配的媒体通道通知给所述即时消息服务器,并更新所述分配的媒体通道上当前承载的群聊会话数量,所述分配的媒体通道用于承载所述当前用户发起的群聊会话。An update module, configured to notify the instant message server of the allocated media channel, and update the number of group chat sessions currently carried on the allocated media channel, the allocated media channel is used to carry the current user Initiated group chat sessions.
- 一种电子设备,包括:An electronic device comprising:至少一个处理器;以及,at least one processor; and,与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至7中任一项所述的媒体通道的设置方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 7 The setting method of the media channel described above.
- 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的媒体通道的设置方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the method for setting a media channel according to any one of claims 1 to 7 is realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111617038.XA CN116405335A (en) | 2021-12-27 | 2021-12-27 | Method and device for setting media channel, electronic equipment and storage medium |
CN202111617038.X | 2021-12-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023124674A1 true WO2023124674A1 (en) | 2023-07-06 |
Family
ID=86997533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/134129 WO2023124674A1 (en) | 2021-12-27 | 2022-11-24 | Media channel configuration method and apparatus, electronic device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116405335A (en) |
WO (1) | WO2023124674A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160094496A1 (en) * | 2013-08-14 | 2016-03-31 | Infinite Convergence Solutions, Inc | Devices for Instant Message Client Swap |
WO2019128647A1 (en) * | 2017-12-29 | 2019-07-04 | 中兴通讯股份有限公司 | Message transmission method and device, storage medium and electronic device |
CN110875914A (en) * | 2018-09-03 | 2020-03-10 | ***通信有限公司研究院 | Method and device for transmitting messages based on shared session link |
-
2021
- 2021-12-27 CN CN202111617038.XA patent/CN116405335A/en active Pending
-
2022
- 2022-11-24 WO PCT/CN2022/134129 patent/WO2023124674A1/en unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160094496A1 (en) * | 2013-08-14 | 2016-03-31 | Infinite Convergence Solutions, Inc | Devices for Instant Message Client Swap |
WO2019128647A1 (en) * | 2017-12-29 | 2019-07-04 | 中兴通讯股份有限公司 | Message transmission method and device, storage medium and electronic device |
CN110875914A (en) * | 2018-09-03 | 2020-03-10 | ***通信有限公司研究院 | Method and device for transmitting messages based on shared session link |
Also Published As
Publication number | Publication date |
---|---|
CN116405335A (en) | 2023-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3720050A1 (en) | Method and apparatus for deploying network slice | |
CN112867050B (en) | UPF network element management method and system | |
CN110166580B (en) | Resource management method, equipment and system | |
CN109151906A (en) | Communication means, the network equipment, terminal device and system | |
US11146412B2 (en) | Bitrate utilization feedback and control in 5G-NSA networks | |
US11968576B2 (en) | Address coordination method, device, base station, SMF network element and storage medium | |
CN110661894A (en) | User IP address allocation method, network device and storage medium | |
CN103378919B (en) | Frame information (FI) message transmission method and apparatus | |
CN112187864B (en) | Load balancing method and device, storage medium and electronic equipment | |
US10225854B2 (en) | Enhancements to resource allocation for MBSFN transmission in an MBSFN area | |
JP2002057699A (en) | Packet transmission system, packet transmission method and recording medium | |
CN110417876B (en) | Session method, node server in distributed system and master control equipment | |
US7301916B2 (en) | Network access control technique in a CDMA system | |
CN104734823A (en) | Communication system, communication terminal, transfer tables and handshake communication method | |
EP3675553A1 (en) | Integration method, device and system for multiple centralized units | |
WO2023124674A1 (en) | Media channel configuration method and apparatus, electronic device, and storage medium | |
JP7344220B2 (en) | Address assignment methods and devices, core networks, nodes, network systems and media | |
CN110536476B (en) | DRB establishment method, device, system, auxiliary node and main node | |
CN115174026A (en) | Method and device for distributing beacon time slot number and computer equipment | |
CN110865885B (en) | Task deployment device and method for distributed data processing and aggregation | |
CN112835717A (en) | Integrated application processing method and device for cluster | |
CN113556778A (en) | Guaranteed bit rate data transmission control method, apparatus, system and medium | |
WO2023124467A1 (en) | Data distribution method and apparatus, network device, and storage medium | |
CN110955522A (en) | Resource management method and system for coordination performance isolation and data recovery optimization | |
JP7402292B1 (en) | Procedure execution control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22913932 Country of ref document: EP Kind code of ref document: A1 |