WO2019128647A1 - 消息传输方法、装置、存储介质及电子装置 - Google Patents

消息传输方法、装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2019128647A1
WO2019128647A1 PCT/CN2018/119198 CN2018119198W WO2019128647A1 WO 2019128647 A1 WO2019128647 A1 WO 2019128647A1 CN 2018119198 W CN2018119198 W CN 2018119198W WO 2019128647 A1 WO2019128647 A1 WO 2019128647A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
shared link
link
transmitted
predetermined message
Prior art date
Application number
PCT/CN2018/119198
Other languages
English (en)
French (fr)
Inventor
柏红
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019128647A1 publication Critical patent/WO2019128647A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Definitions

  • the present invention relates to the field of communications, and in particular to a message transmission method, apparatus, storage medium, and electronic device.
  • the converged messaging service is a new type of messaging service developed in recent years.
  • the purpose of developing such a service is to realize the interworking and integration of various message services, provide a unified message service, and bring a consistent and convenient message service experience to users.
  • the typical converged messaging service is the Internet Protocol (IP)-based Converged IP Messaging (CPM) service launched by the Open Mobile Alliance (OMA).
  • IP Internet Protocol
  • CPM Converged IP Messaging
  • OMA Open Mobile Alliance
  • the CPM service can implement the convergence of multiple messaging services such as the Short Messaging Service (SMS) and the Multimedia Messaging Service (MMS).
  • SMS Short Messaging Service
  • MMS Multimedia Messaging Service
  • RCS Rich Media Suite
  • the traditional RCS message exchange is implemented by the Session Initiation Protocol (SIP) and the Message Session Relay Protocol (MSRP). According to different message interfaces, it can be divided into paging mode (Page Mode, a message delivery mode, messages are sent through SIP signaling, and each message of the same receiver is sent independently, without context association), large message mode.
  • Page Mode a message delivery mode, used to deliver large content messages, such as long text, multimedia content, etc.
  • the transfer method is to first establish an MSRP channel, and then transfer the content in the channel, after the content transfer is completed, The channel is released immediately.
  • Session mode Session Mode, a message delivery mode, usually used for sessions with long duration and more message interaction.
  • the delivery mode is to first establish an MSRP channel, and then send and receive in the channel. Message, release the channel at the end of the session) and so on.
  • the group chat message transmission path in the big message and the session type message is divided into a signaling path and a media path, that is, the signaling is transmitted along the signaling path, and the media is transmitted along the media path. That is to say, the message content of the big message and the group chat message is to transmit specific data through a media link (hereinafter referred to as an MSRP link) created based on the MSRP protocol.
  • the RCS system application server includes an Instant Message Application Server (IM-AS) and a Group Chat Application Server (GC-AS).
  • IM-AS is responsible for receiving the message submitted by the terminal, and delivering the message according to the address of the receiver. If the destination party is the user terminal, the message is sent to the IM-AS to which the destination party belongs. The destination party is the group ID (Identifier), and then the group is sent to the group.
  • the belonging GC-AS sends a chat message.
  • the GC-AS is responsible for receiving the chat message sent by the IM-AS, querying the corresponding group member according to the group ID, and sending the chat message to the IM-AS to which each group member belongs.
  • RCS system application servers including between IM-AS and IM-AS, between GC-AS and IM-AS, need to continuously create, maintain, and revoke a large number of MSRP links due to large message services and group chat services. The number is very impressive.
  • the calling user belongs to the IM-AS (hereinafter referred to as: the calling IM-AS)
  • An MSRP link needs to be created between the IM-AS (hereinafter referred to as the called IM-AS) to which the called user belongs. After the message is sent, the MSRP link is destroyed.
  • the number of MSRP links is directly related to the volume of large message traffic.
  • the GC-AS For the group chat service (does not distinguish between paging messages and big messages), from the time the chat room is created, the GC-AS needs to maintain an MSRP link with the IM-AS to which each online group member belongs, and the group chat message passes through these.
  • the MSRP link is sent to the IM-AS to which each online member belongs, and then the group chat message is sent by the IM-AS to each online group member.
  • the number of MSRP links is directly related to the number of online group members. Note: There is a difference between the number of group members and the actual number of users. One user can join multiple groups at the same time. In this case, the number of statistical users is one, but the number of statistical group members is multiple.
  • the embodiment of the invention provides a message transmission method, device, storage medium and electronic device, so as to solve at least the problem that the media link for transmitting a message that needs to be established in the related art is excessive, resulting in serious waste of resources.
  • a message transmission method comprising: acquiring a predetermined message; determining a target shared link for transmitting a predetermined message from a pre-established shared link; transmitting by using the target shared link The predetermined message.
  • a message transmission apparatus comprising: a first acquisition module configured to acquire a predetermined message; and a determination module configured to determine a predetermined message for transmission from a pre-established shared link a target shared link; a first transmission module configured to transmit the predetermined message using the target shared link.
  • a storage medium having stored therein a computer program, wherein the computer program is arranged to execute the steps of any one of the method embodiments described above.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to run the computer program to perform any of the above The steps in the method embodiments.
  • the target shared link transmission message is selected from the pre-established shared link, and the message does not need to be sent every time.
  • the media link is created and removed before and after the solution, which solves the problem that the number of media links for transmitting messages that need to be established in the related art is too large, resulting in serious waste of resources, thereby reducing system network resource consumption and improving overall service.
  • the purpose of processing power is not limited to.
  • FIG. 1 is a schematic diagram of a media link between an IM-AS and an IM-AS of a pair of large messages in an existing process
  • FIG. 2 is a schematic diagram of a media link mode between an existing process group chat message IM-AS and a GC-AS;
  • FIG. 3 is a flowchart of a message transmission method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of encapsulation of original message content and service control information according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a media link mode between a pair of large messages IM-AS and an IM-AS according to an embodiment of the present invention
  • FIG. 6 is a media link mode diagram 1 between a group chat message IM-AS and a GC-AS according to an embodiment of the present invention
  • FIG. 7 is a second diagram of a media link mode between a group chat message IM-AS and a GC-AS according to an embodiment of the present invention.
  • FIG. 8 is a third diagram of a media link mode between a group chat message IM-AS and a GC-AS according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a server of a media sharing link according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a process for a sender to send a message by a shared link processing unit according to an embodiment of the present invention
  • FIG. 11 is a flowchart of a process for receiving a message received by a receiver by a shared link processing unit according to an embodiment of the present invention
  • FIG. 12 is a block diagram showing the structure of a message transmission apparatus according to an embodiment of the present invention.
  • the calling user sends a large message to the calling IM-AS through the core network [Process 1];
  • the calling IM-AS After receiving the message, the calling IM-AS initiates a session invitation message (INVITE), creates a session between the calling IM-AS and the called IM-AS, and completes media negotiation [process 2 ⁇ 4];
  • INVITE session invitation message
  • the calling IM-AS sends the received large message content to the called IM-AS by creating an MSRP link as a transmission channel [Process 6-7];
  • the calling IM-AS initiates a session abort message (BYE), and negotiates with the called IM-AS to remove the MSRP link [Process 8-9];
  • the called IM - AS sends a large message to the called user through the core network. ⁇ ;
  • the media link mode between the IM-AS and the GC-AS of the existing process group chat message is as shown in Figure 2, including:
  • the member users in group X have A, B, C, ..., and the members in group Y have A, C, D, .... Among them, users A and C belong to IM-AS-1, users B and D belong to IM-AS-2, and users A, B, C, and D are online.
  • the link model between the existing process group chat message IM-AS and GC-AS is as follows:
  • IM-AS-1 and GC-AS between IM-AS-2 and GC-AS, between IM-AS and GC-AS of other group users, after system startup, GC-AS will work with each
  • the IM-AS of the online group member creates an MSRP link as the dedicated media transmission channel for the user to send and receive the group chat message.
  • MSRP link When a group member user goes offline, the corresponding MSRP link will be removed.
  • the corresponding MSRP link will be re-created.
  • the process of creating and tearing down an MSRP link is similar to the creation and removal of an MSRP link in a pair of large message flows, and will not be repeated here.
  • Group member A in group X sends a group chat message to IM-AS-1 [process X1] through the core network. After receiving the message of group member A, IM-AS-1 selects between IM-AS-1 and GC-AS.
  • the MSRP link (XA) acts as a transmission channel and sends a message to the GC-AS [Process X2];
  • the GC-AS selects the MSRP link (XB) between IM-AS-2 and GC-AS as the transmission channel, and sends the group chat message of group member A to IM-AS-2 [process X3], and then by IM-AS. -2 sends a message to the group member B through the core network [process X4];
  • the GC-AS selects the MSRP link (XC) between IM-AS-1 and GC-AS as the transmission channel, and sends the group chat message of group member A to IM-AS-1 [process X5], and then by IM-AS. -1 sends a message to the group member C through the core network [process X6];
  • the GC-AS continues to send the group chat message to the IM-AS owned by other group members through other MSRP links, and then the IM-AS sends the message to other group members through the core network;
  • a GC-AS will handle the message service of many group chat rooms at the same time. Many members of these chat rooms belong to the same IM-AS, so the GC-AS will maintain many identical MSRP chains with the same IM-AS. Roads, and these MSRP links are often underutilized, which can result in a waste of a large amount of network resources.
  • N MSRP links need to be created between the IM-AS and the GC-AS of the user.
  • a user occupies resources of N MSRP links, which is a waste of network resources.
  • the message transmission scheme in the embodiment of the present invention is applicable to all types of media links, and the MSRP link (ie, the MSRP protocol-based media link) enumerated in the specific embodiment is only an optional embodiment. It is not intended to limit the invention.
  • the media sharing link optimization method implemented in the embodiment of the present invention is proposed for a media link between the converged message system servers.
  • the optimization method of the present invention is also applicable to a media link in which a user terminal accesses a converged message system through a core network.
  • FIG. 3 is a flowchart of a message transmission method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 acquiring a predetermined message
  • Step S304 determining a target shared link for transmitting a predetermined message from a pre-established shared link
  • Step S306 transmitting a predetermined message by using the target shared link.
  • the above operation may be a server, such as an IM-AS or a GC-AS.
  • the media link is separated from the service layer, and the media link is used as a common resource, and is independent of a specific service process, and any media message can be transmitted, thereby realizing sharing of the transmission channel.
  • the media sharing link in the embodiment of the present invention uses a long connection manner to create a link when the system starts or meets a specific link creation condition, and maintains the link after the creation until the system is shut down or a specific link is met. Termination condition.
  • a certain number of public MSRP links can be created between the IM-AS and the IM-AS, between the GC-AS and the IM-AS; when a large message is sent by the calling IM-AS to the called IM-AS Sending a message through the common MSRP link between the two, no longer creating an MSRP link every time a large message is sent; when the group chat message is sent by the GC-AS to the IM-AS, the MSRP is shared between the two. The link sends a message and no longer a separate MSRP link is created for each group member.
  • the MSRP link is separated from the service flow of the big message and the group chat message, and the MSRP link between the IM-AS/GC-AS and the IM-AS can be shared, the system network resource consumption is reduced, and the overall service processing is improved. ability.
  • the target shared link transmission message is selected from the pre-established shared link, without having to send a message before and after each message is sent.
  • the problem of reducing the amount of network resources of the system and improving the overall service processing capability is achieved by creating and dismantling the media link, which solves the problem that the media link for transmitting the message that is required to be established in the related art is excessive, resulting in serious waste of resources. purpose.
  • the shared link is used for more than two users to transmit data or the shared link is used by one user to transmit more than two messages.
  • the predetermined message is a first predetermined message from the first user, wherein after the predetermined message is transmitted by using the target shared link, the method further includes: acquiring the second predetermined message, where The second predetermined message is a message from the first user or, alternatively, a message from the second user; the second predetermined message is transmitted using the target shared link.
  • the second user and the first user are different users.
  • the method may be: determining a message to be transmitted and service control information corresponding to the message to be transmitted, where the control information is used to identify The sender and receiver information of the message to be transmitted, and the size and type of the message to be transmitted; the message to be transmitted and the service control information are encapsulated to obtain a predetermined message.
  • the message to be transmitted is consistent with the message to be transmitted in the prior art.
  • the predetermined message to be transmitted encapsulates the control message on the basis of the existing message to be transmitted. After getting it. This is because the media link is separated from the service.
  • the service control information needs to be carried in each of the transmission messages.
  • the content of the original message (that is, the message to be transmitted) and the service control information are encapsulated as shown in FIG. 4, that is, the original message content to be transmitted and the corresponding service control information are combined.
  • the original message content here can be understood as the content of the message transmitted through the media link before optimization. After optimization, the transmission through the media sharing link is the encapsulated message content.
  • Corresponding service control information including but not limited to the following contents: 1) user information of the sender and the receiver; 2) server information to which the sender and the receiver belong; 3) group information corresponding to the message to be transmitted; 4) The service session information corresponding to the transmission message; 5) the basic information (size, type, etc.) of the message to be transmitted.
  • the service control message includes: a sender of the message to be transmitted and user information of the receiver, and the to-be-transmitted The sender of the message and the server information to which the receiver belongs.
  • the control information when the message to be transmitted is a group chat message, the control information further includes at least one of the following information: group information corresponding to the message to be transmitted, and a service corresponding to the message to be transmitted. Session information.
  • the method before determining the target shared link for transmitting the predetermined message from the pre-established shared link, the method further includes: establishing the shared link by using one of the following manners:
  • the predetermined message is a message transmitted between the first instant messaging application server IM-AS and the second IM-AS, establishing a first predetermined number of shared links between the first IM-AS and the second IM-AS ;
  • the predetermined message is a message transmitted between the group chat message application server GC-AS and the third IM-AS, establishing a second predetermined number of the shared link between the GC-AS and the third IM-AS;
  • the predetermined message is a message transmitted between the group chat message application server GC-AS and the third IM-AS, the number of shares corresponding to the group managed by the GC-AS is established between the GC-AS and the third IM-AS. link;
  • the predetermined message is a message transmitted between the group chat message application server GC-AS and the third IM-AS
  • the number of users corresponding to the GC-AS management is established between the GC-AS and the third IM-AS. link.
  • determining the target shared link for transmitting the predetermined message from the pre-established shared link comprises: using a polled routing policy or a load balancing routing policy from the pre-established shared link A target shared link for transmitting the above predetermined message is determined.
  • the network resources of the RCS system are limited and can only be used to create a certain number of MSRP links.
  • the number of MSRP links has gradually become a system bottleneck and needs to be solved.
  • An MSRP link is only used to transmit a large message or a group member message. It is really wasteful and can transmit more messages.
  • the method for optimizing the media sharing link proposed in the embodiment of the present invention can reduce network resource waste and improve MSRP link utilization.
  • MSRP shared links MSRP-based media sharing links
  • the calling user sends a large message to the calling IM-AS through the core network [Process 2];
  • the calling IM-AS After receiving the message, the calling IM-AS completes the encapsulation of the original message content and the service control information through the shared link processing unit, and selects an idle MSRP shared link as the transmission channel according to the routing policy [Process 3]. For a fixed number of shared link optimization modes, it is recommended to use a polling or load balancing routing policy to select an idle shared link. If all the links are not idle, select a link with the fewest number of messages to be sent, and enter its sending queue to wait in line.
  • the calling IM-AS sends the encapsulated large message content to the called IM-AS through the shared link determined by the shared link processing unit as a transmission channel [Process 4-5];
  • the called IM-AS After receiving the message, the called IM-AS first performs the parsing of the original message content and the service control information by using the shared link processing unit, and then the service processing unit performs subsequent processing according to the service control information [Process 6];
  • the called IM-AS sends a large message to the called user through the core network [Process 7];
  • the number of MSRP links between the calling IM-AS and the called IM-AS is no longer related to the number of large messages sent between the two users. It is not necessary to create and tear down MSRP in each message. Link, which improves the processing capability of large message services and reduces the waste of system network resources.
  • the member users in group X have A, B, C, ...
  • the member users in group Y have A, C, D, ....
  • users A and C belong to IM-AS-1
  • users B and D belong to IM-AS-2
  • users A, B, C, and D are online.
  • group X and group Y as an example, the link model between the group chat message IM-AS and GC-AS in the fixed number shared link optimization mode is as follows:
  • each IM-AS and GC - A number of MSRP shared links are created and maintained between ASs. The creation, maintenance, and teardown of the MSRP shared link are implemented by the shared link processing unit of the IM-AS and the GC-AS.
  • the group member A in the group X sends the group chat message to the IM-AS-1 [process X1] through the core network, and after receiving the message of the group member A, the IM-AS-1 passes the shared link processing unit and follows the routing policy from the IM.
  • - Select an idle link in the MSRP shared link between the AS-1 and the GC-AS as the transmission channel, and send a message to the GC-AS [Process X2];
  • the GC-AS selects an idle link from the MSRP shared link between the IM-AS-2 and the GC-AS as a transmission channel according to the routing policy, and sends the group chat message of the group member A to the group.
  • IM-AS-2 [Process X3], then the IM-AS-2 sends a message to the group member B through the core network [Process X4];
  • the GC-AS selects an idle link from the MSRP shared link between the IM-AS-1 and the GC-AS as a transmission channel according to the routing policy, and sends the group chat message of the group member A to the group.
  • IM-AS-1 [Process X5], then IM-AS-1 sends a message to the group member C through the core network [Process X6];
  • the GC-AS continues to send the group chat message to the IM-AS owned by other group members through the MSRP shared link, and then the IM-AS sends the message to other group members through the core network;
  • the number of MSRP links between the GC-AS and the IM-AS is no longer directly related to the number of members of the online group. You can share one or a group of MSRPs for all group members that belong to the same IM-AS. link.
  • the above is a case where a fixed number of shared link modes are used between the GC-AS/IM-AS and the IM-AS, and is applicable to both a pair of large message processing and group chat message processing.
  • the following describes the shared link mode of the two group chat messages using the same scenario as the fixed number of shared link mode group chat messages.
  • the media link mode (group-level shared link) between the IM-AS and the GC-AS is optimized as shown in Figure 7. The details are as follows:
  • the main process of sending group chat messages in the group-level shared link optimization mode is the same [process X1 ⁇ X6 and Y1 ⁇ Y6], just the MSRP between the GC-AS and the AS.
  • the number of shared links created is different from the routing policy:
  • the shared link processing unit of the IM-AS and the GC-AS participates in the number of active groups managed by the GC-AS according to the online users belonging to the IM-AS. (Assume a quantity of N) to create and maintain N MSRP shared links, and each MSRP link is bound to a group.
  • N the number of MSRP shared links between the IM-AS and the GC-AS also changes.
  • the creation, maintenance, and teardown of the MSRP shared link are implemented by the shared link processing unit of the IM-AS and the GC-AS.
  • the shared link processing unit of the IM-AS selects the group from the MSRP shared link between the IM-AS and the GC-AS according to the group in which the current message is located.
  • the corresponding link acts as a transmission channel and sends a group chat message to the GC-AS.
  • the media link routing policy needs to be determined according to the group information. If the selected media link is idle, the message is sent directly through the link; if the selected media link is not idle, the transmit queue entering the link is queued.
  • the shared link processing unit of the GC-AS selects the group from the MSRP shared link between the IM-AS and the GC-AS according to the group in which the current message is located.
  • the link acts as a transport channel and sends a message to the IM-AS.
  • the number of MSRP links between the GC-AS and the IM-AS is related to the number of active groups managed by the GC-AS that are attributed to the online users belonging to the IM-AS. Associated, all MS-AS or GC-AS group chat messages in a group can share an MSRP link.
  • the media link mode (user-level shared link) between the IM-AS and the GC-AS is optimized as shown in Figure 8. The details are as follows:
  • the main process of sending group chat messages in the user-level shared link optimization mode is the same [process X1 ⁇ X6 and Y1 ⁇ Y6], just the MSRP between the GC-AS and the AS.
  • the number of shared links created is different from the routing policy:
  • M MSRP sharing is created and maintained according to the number of online users (assuming the number M) participating in the active group managed by the GC-AS and belonging to the IM-AS.
  • the link, and each MSRP link is bound to a user.
  • the number of MSRP shared links between the IM-AS and the GC-AS also changes.
  • the creation, maintenance, and teardown of the MSRP shared link are implemented by the shared link processing unit of the IM-AS and the GC-AS.
  • the shared link processing unit of the IM-AS selects the user from the MSRP shared link between the IM-AS and the GC-AS according to the sender user of the current message.
  • the corresponding link acts as a transmission channel and sends a message to the GC-AS.
  • the media link routing policy needs to be determined according to the user information. If the selected media link is idle, the message is sent directly through the link; if the selected media link is not idle, the transmit queue entering the link is queued.
  • the shared link processing unit of the GC-AS selects the MSRP shared link between the IM-AS and the GC-AS according to the receiver user of the current message.
  • the link corresponding to the user acts as a transmission channel and sends a message to the IM-AS.
  • the number of MSRP links between the GC-AS and the IM-AS is related to the number of online users participating in the active group managed by the GC-AS and belonging to the IM-AS, and is no longer directly related to the number of members of the online group.
  • all messages sent to an IM-AS home subscriber group can be shared to share an MSRP link.
  • the above content provides a media sharing link optimization mode between IM-AS and IM-AS for large messages and a media sharing link optimization mode between GC-AS and IM-AS for three group chat messages, all of which can implement MSRP links.
  • the purpose of sharing can greatly reduce the number of MSRP link usage, improve the usage rate of each link, and improve the processing capability of the entire system for large messages and group chat messages.
  • a shared link processing unit needs to be added inside the server.
  • the main functions of the shared link processing unit are: creating, managing, and tearing down the functions of the media sharing link, the routing function of the shared link, the encapsulation function of the original message content and service control information, the original message content and the service control information parsing function, and the sending media.
  • Message function receiving media message function.
  • the media sharing link implemented by the embodiment of the present invention is the same as the media link before the media link is created, maintained, and dismantled, and is implemented based on the prior art, and details are not described herein again.
  • the server structure of the media sharing link implemented by the embodiment of the present invention (as shown in FIG. 9): a set of media sharing links are created and maintained between two servers; each shared link can send and receive messages.
  • the two servers need to be added to the shared service processing unit based on the original service processing unit, and the media message transmission and reception shared link processing unit is implemented.
  • the shared link processing unit implements the sender sending message processing, including the following steps:
  • Step S1001 the sender sends a message
  • Step S1002 Receive a media message sending request of the service processing unit, and obtain an original message content and service control information of the to-be-sent message from the service processing unit.
  • Step S1003 encapsulating the original message content and service control information of the message to be sent;
  • Step S1004 Acquire an appropriate media sharing link according to the routing policy (the routing policy is determined by the implementing party itself);
  • Step S1005 it is checked whether the status of the obtained media sharing link sender is idle, if the shared link sender is already occupied, step S1006 is performed, if not, step S1007 is performed;
  • Step S1006 Waiting for the shared link transmission queue to wait in a queue until the shared link is idle;
  • Step S1007 If the shared link sender is idle, set the state of the media sharing link sender to occupy;
  • Step S1008 Send the encapsulated media message to the receiver through the media sharing link.
  • Step S1009 The media message sending sets the state of the media sharing link sending end to idle;
  • Step S1010 ending.
  • the shared link processing unit implements the receiver receiving message processing, including the following steps:
  • Step S1101 the receiver receives the message
  • Step S1102 Detecting a receiving end of the media sharing link
  • Step S1103 determining whether there is a media message to be received, if not, executing S1102 to continue detecting until a media message to be received;
  • Step S1104 If it is determined that the media message is to be received, the receiving message is processed
  • Step S1105 Parsing the received message, and acquiring the original message content and service control information of the current media message.
  • Step S1106 The original message content and the service control information of the current media message are distributed to the service processing unit, and the service processing unit performs the next processing according to the service control information; the loop processing continues to detect the receiving end of the media sharing link, and receives the next message. .
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a message transmission device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and is not described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 12 is a structural block diagram of a message transmission apparatus according to an embodiment of the present invention. As shown in FIG. 12, the apparatus includes the following modules:
  • the first obtaining module 122 is configured to acquire a predetermined message
  • the determining module 124 is connected to the first acquiring module 122, and is configured to determine a target shared link for transmitting a predetermined message from the pre-established shared link;
  • the first transmission Module 126 coupled to the determination module 124, is configured to transmit the predetermined message using the target shared link.
  • the shared link is used for more than two users to transmit data or a shared link for one user to transmit more than two messages.
  • the predetermined message is a first predetermined message from the first user
  • the device further includes: a second acquiring module, configured to acquire the first message after transmitting the predetermined message by using the target shared link And a second predetermined message, wherein the second predetermined message is a message from the first user, or is a message from the second user; and the second transmission module is configured to transmit the second predetermined message by using the target shared link.
  • the first acquiring module 122 may obtain a predetermined message by determining a message to be transmitted and service control information corresponding to the message to be transmitted, where the control information is used to identify the to be transmitted.
  • the sender and receiver information of the message, and the size and type of the message to be transmitted; and the message to be transmitted and the service control information are encapsulated to obtain a predetermined message.
  • the foregoing service control message includes: information about the sender and the receiver of the message to be transmitted, and the sender of the message to be transmitted and the server information to which the receiver belongs.
  • control information when the message to be transmitted is a group chat message, the control information further includes at least one of the following information: the group information corresponding to the message to be transmitted, and the message corresponding to the message to be transmitted. Business session information.
  • the apparatus before determining the target shared link for transmitting the predetermined message from the pre-established shared link, is further configured to establish the shared link by one of the following manners: when scheduling When the message is a message transmitted between the first instant messaging application server IM-AS and the second IM-AS, establishing a first predetermined number of shared links between the first IM-AS and the second IM-AS; When the message is a message transmitted between the group chat message application server GC-AS and the third IM-AS, a second predetermined number of shared links are established between the GC-AS and the third IM-AS; when the predetermined message is a group When the message transmitted between the message application server GC-AS and the third IM-AS is logged, a shared link corresponding to the group managed by the GC-AS is established between the GC-AS and the third IM-AS; When the message is a message transmitted between the group chat message application server GC-AS and the third IM-AS, a shared link corresponding to the number of users
  • the determining module 124 may determine a target shared link for transmitting a predetermined message from a pre-established shared link by using a polling routing policy or a load balancing routing policy. A target shared link for transmitting the above predetermined message is determined in a pre-established shared link.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium having stored therein a computer program, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the predetermined message is transmitted by using the target shared link.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present invention also provide an electronic device comprising a memory and a processor having a computer program stored therein, the processor being arranged to execute a computer program to perform the steps of any of the method embodiments described above.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • the foregoing processor may be configured to perform the following steps by using a computer program:
  • the predetermined message is transmitted by using the target shared link.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • a message transmission method, apparatus, storage medium, and electronic device provided by the embodiments of the present invention have the following beneficial effects: the solution of the media link for transmitting a message that needs to be established in the related art is excessive, resulting in The problem of serious waste of resources, thereby achieving the purpose of reducing system network resource consumption and improving overall business processing capability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明实施例中提供了一种消息传输方法、装置、存储介质及电子装置,其中,该方法包括:获取预定消息;从预先建立的共享链路中确定用于传输预定消息的目标共享链路;利用上述目标共享链路传输预定消息。通过本发明中的实施例,解决了相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题,从而实现了减少系统网络资源耗费,提高整体业务处理能力的目的。

Description

消息传输方法、装置、存储介质及电子装置 技术领域
本发明涉及通信领域,具体而言,涉及一种消息传输方法、装置、存储介质及电子装置。
背景技术
融合消息业务是近几年开发出的一种新型的消息业务。开发这种业务的目的是实现多种消息业务的互通和融合,提供统一消息业务,为用户带来一致并且方便的消息业务体验。目前较为典型的融合消息业务是开放移动联盟(Open Mobile Alliance,简称为OMA)推出的基于互联网协议(Internet Protocol,简称为IP)的融合消息(Converged IP Messaging,简称为CPM)业务,下面以此为例进行说明:CPM业务可以实现短消息业务(Short Messaging Service,简称为SMS)、彩信业务(Multimedia Messaging Service,简称为MMS)等多种消息业务的融合。现在发展比较迅速的新业务微信和富媒体通信(Rich Communication Suite,简称为RCS),都属于融合消息业务。
传统RCS消息交互,通过会话初始协议(Session Initiation Protocol,简称为SIP)和消息会话传递协议(Message Session Relay Protocol,简称为MSRP)实现。根据消息接口的不同,可以分为寻呼模式(Page Mode,一种消息的传递方式,消息通过SIP信令发送,对同一个接收者的各个消息独立发送,没有上下文关联关系)、大消息模式(Large Message Mode,一种消息的传递模式,用于传递内容较大的消息,如:长文本、多媒体内容等,传递方式为首先建立MSRP通道,然后在通道中传送内容,内容传送完成后,立即释放该通道)、会话类消息模式(Session Mode,一种消息的传递方式,通常用于持续时间较长、消息交互较多的会话,传递方式为首先建立MSRP通道,然后在该通道中收发消息,会话结束时释放该通道)等。其中,大消息和会话类消息中的群聊消息传送路径分为信令路径和媒 体路径,即信令沿信令路径传送,媒体沿媒体路径传送。也就是说,大消息和群聊消息的消息内容,是通过基于MSRP协议创建的媒体链路(后面简称:MSRP链路),传输具体数据。
在现有RCS实现方式中,RCS系统应用服务器,包括即时消息应用服务器(Instant Message Application Server,IM-AS)和群聊应用服务器(Group Chat Application Server,GC-AS)。其中,IM-AS负责接收终端提交的消息,根据接收方地址进行投递,目的方为用户终端,则向目的方归属的IM-AS发送聊天消息;目的方为群ID(Identifier,标识),则向群归属的GC-AS发送聊天消息。GC-AS负责接收IM-AS发送的聊天消息,根据群ID查询对应的群成员,将聊天消息发送给每个群成员归属的IM-AS。
RCS系统应用服务器之间,包括IM-AS和IM-AS之间、GC-AS和IM-AS之间,由于开展大消息业务和群聊业务,需要不断创建、维持和撤销大量的MSRP链路,数量非常可观。
对于普通的一对一大消息业务(大文本、图片、音频、视频等内容都属于大消息),用户每发送一条大消息,主叫用户归属的IM-AS(后面简称:主叫IM-AS)与被叫用户归属的IM-AS(后面简称:被叫IM-AS)之间就需要创建一条MSRP链路,消息发送完成后,销毁该条MSRP链路。MSRP链路数量与大消息业务量直接相关。
对于群聊业务(不区分寻呼消息和大消息),从创建聊天室开始,GC-AS就需要和每一个在线群成员归属的IM-AS之间维持一条MSRP链路,群聊消息通过这些MSRP链路发送给每一个在线成员所属的IM-AS,然后由IM-AS把群聊消息发送给每一个在线群成员。MSRP链路数量与在线群成员数量直接相关。注意:这里群成员数量和实际用户数量是有区别的,一个用户可以同时加入多个群组,这种情况下,统计用户数量就1个,但统计群成员数量就是多个。
随着RCS业务发展,大消息业务量和群数量不断增加,所需要的MSRP链路数量与有限的网络资源之间的矛盾越来越明显。
针对相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种消息传输方法、装置、存储介质及电子装置,以至少解决相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题。
根据本发明的一个实施例,提供了一种消息传输方法,包括:获取预定消息;从预先建立的共享链路中确定用于传输预定消息的目标共享链路;利用所述目标共享链路传输所述预定消息。
根据本发明的另一个实施例,还提供了一种消息传输装置,包括:第一获取模块,设置为获取预定消息;确定模块,设置为从预先建立的共享链路中确定用于传输预定消息的目标共享链路;第一传输模块,设置为利用所述目标共享链路传输所述预定消息。
根据本发明的另一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本发明的另一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
通过本发明中的实施例,由于传输消息之前就建立了共享链路,在需要传输消息的时候,从预先建立的共享链路中选择目标共享链路传输消息即可,无需在每次发送消息前后都要创建和拆除媒体链路,解决了相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题,从而实现了减少系统网络资源耗费,提高整体业务处理能力的目的。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是现有流程一对一大消息IM-AS与IM-AS之间媒体链路模式图;
图2是现有流程群聊消息IM-AS与GC-AS之间媒体链路模式图;
图3是根据本发明实施例的消息传输方法的流程图;
图4是根据本发明实施例原始消息内容和业务控制信息的封装示意图;
图5是根据本发明实施例的一对一大消息IM-AS与IM-AS之间媒体链路模式图;
图6是根据本发明实施例的群聊消息IM-AS与GC-AS之间媒体链路模式图一;
图7是根据本发明实施例的群聊消息IM-AS与GC-AS之间媒体链路模式图二;
图8是根据本发明实施例的群聊消息IM-AS与GC-AS之间媒体链路模式图三;
图9是根据本发明实施例的媒体共享链路的服务器结构示意图;
图10是根据本发明实施例的共享链路处理单元实现发送方发送消息处理流程图;
图11是根据本发明实施例的共享链路处理单元实现接收方接收消息处理流程图;
图12是根据本发明实施例的消息传输装置的结构框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语 “第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
首先对现有技术中的消息发送流程进行说明:
现有流程一对一大消息IM-AS与IM-AS之间媒体链路模式如图1所述,包括:
主叫用户通过核心网发送大消息给主叫IM-AS【过程①】;
主叫IM-AS接收到消息后,发起会话邀请消息(INVITE),创建主叫IM-AS与被叫IM-AS之间的会话,完成媒体协商【过程②~④】;
主叫IM-AS与被叫IM-AS之间创建基于MSRP协议的媒体链路【过程⑤】;
主叫IM-AS通过创建MSRP链路作为传输通道将接收到的大消息内容发送给被叫IM-AS【过程⑥~⑦】;
主叫IM-AS发起会话中止消息(BYE),与被叫IM-AS协商拆除MSRP链路【过程⑧~⑨】;
主叫IM-AS拆除本次创建的MSRP链路【过程⑩】;
被叫IM -AS通过核心网将大消息发送给被叫用户【过程
Figure PCTCN2018119198-appb-000001
】;
如果主被叫之间继续发送大消息或者这两个IM-AS下属的其他用户互相发送大消息,都是重复前述的处理过程。
两个IM-AS下属的用户互相发送大消息数量越多,这两个IM-AS之前需要创建和拆除的MSRP链路的次数就越多,虽然是MSRP链路占用的网络资源很快就释放了,但是当单位时间内大消息数量达到一定程度,仍然会导致网络资源紧张。另外,频繁的创建和拆除MSRP链路,一会造成大量的网络资源浪费。
现有流程群聊消息IM-AS与GC-AS之间媒体链路模式如图2所述,包括:
现在有X和Y两个活跃群,群X中的成员用户有A、B、C、……, 群Y中的成员用户有A、C、D、……。其中,用户A和C归属于IM-AS-1,用户B和D归属于IM-AS-2,用户A、B、C、D在线。下面以群X和群Y为例,现有流程群聊消息IM-AS与GC-AS之间链路模型说明如下:
IM-AS-1与GC-AS之间、IM-AS-2与GC-AS之间、其他群用户所属IM-AS与GC-AS之间,在系统启动以后,GC-AS会与每一个在线群成员所属IM-AS创建一条MSRP链路,作为该用户发送和接收该群群聊消息的专属媒体传输通道。当群成员用户下线时,对应MSRP链路将会拆除;当群成员用户再次上线时,对应MSRP链路将会重新创建。MSRP链路的创建和拆除的处理过程和一对一大消息流程中MSRP链路的创建和拆除类似,这里就不再重复说明了。
群X中群成员A通过核心网发送群聊消息给IM-AS-1【过程X1】,IM-AS-1接收到群成员A的消息后,选择IM-AS-1与GC-AS之间MSRP链路(X-A)作为传输通道,将消息发送给GC-AS【过程X2】;
GC-AS选择IM-AS-2与GC-AS之间MSRP链路(X-B)作为传输通道,将群成员A的群聊消息发送给IM-AS-2【过程X3】,然后由IM-AS-2通过核心网将消息发送给群成员B【过程X4】;
GC-AS选择IM-AS-1与GC-AS之间MSRP链路(X-C)作为传输通道,将群成员A的群聊消息发送给IM-AS-1【过程X5】,然后由IM-AS-1通过核心网将消息发送给群成员C【过程X6】;
GC-AS继续通过其他MSRP链路将群聊消息发送给其他群成员归属的IM-AS,然后由IM-AS通过核心网将消息发送给其他群成员;
群Y中用户C发送群聊消息的处理过程【过程Y1~Y6】,与前述步骤类似,这里不再重复说明。
一个GC-AS会同时处理很多个群聊天室的消息业务,这些聊天室中很多群成员归属于同一个IM-AS,这样GC-AS就会与同一个IM-AS维持很多个同样的MSRP链路,而这些MSRP链路往往利用率很低,这个情况会导致大量的网络资源浪费。特别是当一个用户同时加入N个群(假设 这N个群都是由同一个GC-AS管理),那么该用户所属IM-AS与GC-AS之间就需要创建N条MSRP链路,这样一个用户就占用了N条MSRP链路的资源,这就是网络资源浪费。事实上一个用户归属的IM-AS与一个GC-AS之间只需要一条MSRP链路作为传输通道就足够了。当GC-AS处理的群聊天室数量越多或者在线群成员数量越多,MSRP链路导致的网络资源浪费情况就越严重。系统的网络资源是有限的,当网络资源耗尽时,业务处理能力也就达到了上限了。
现有RCS的大消息和群聊消息实现方式中,随着RCS业务的发展,大消息业务量和群数量不断增加,创建和维持大量的MSRP链路,与有限的网络资源之间的矛盾越来越明显。针对上述问题,本发明实施例中提供了一种消息传输方法、装置、存储介质及电子装置,下面结合实施例对本发明进行说明:
首先对本发明实施例的应用场景进行说明:
本发明实施例中的消息传输方案对于所有类型的媒体链路都适用,在具体实施例中所列举的MSRP链路(即,基于MSRP协议的媒体链路)只是作为一个可选的实施例,并不用于对本发明进行限制。本发明实施例中所实现的媒体共享链路优化方法,是针对融合消息系统服务器之间媒体链路提出的。对于用户终端通过核心网接入到融合消息系统的媒体链路,本发明的优化方法也是适用的。
实施例一
在本实施例中提供了一种消息传输方法,图3是根据本发明实施例的消息传输方法的流程图,如图3所示,该流程包括如下步骤:
步骤S302,获取预定消息;
步骤S304,从预先建立的共享链路中确定用于传输预定消息的目标共享链路;
步骤S306,利用上述目标共享链路传输预定消息。
其中,执行上述操作的可以是服务器,例如IM-AS或GC-AS。本发明实施例中是将媒体链路与业务层面分离,媒体链路作为公共资源,和具体的业务流程无关,可以传输任意媒体消息,从而实现了传输通道的共享。本发明实施例中的媒体共享链路使用长连接的方式,在系统启动时或满足特定链路创建条件的情况下创建链路,创建之后一直维持链路,直到系统关闭或者满足特定的链路终止条件。例如,可以在IM-AS与IM-AS之间、GC-AS与IM-AS之间,创建一定数量的公用的MSRP链路;大消息由主叫IM-AS发送到被叫IM-AS时,通过两者之间公用的MSRP链路发送消息,不再每发一条大消息就创建一条MSRP链路;群聊消息由GC-AS发送到IM-AS时,通过两者之间公用的MSRP链路发送消息,不再每个群成员都创建单独的MSRP链路。这样将MSRP链路与大消息和群聊消息的业务流程分离开来,可以实现IM-AS/GC-AS与IM-AS之间MSRP链路的共享,减少系统网络资源消耗,提高整体业务处理能力。
通过上述实施例,由于传输消息之前就建立了共享链路,在需要传输消息的时候,从预先建立的共享链路中选择目标共享链路传输消息即可,无需在每次发送消息前后都要创建和拆除媒体链路,解决了相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题,从而实现了减少系统网络资源耗费,提高整体业务处理能力的目的。
在一个可选的实施例中,上述共享链路用于两个以上用户传输数据或者所述共享链路用于一个用户传输两个以上消息。
在一个可选的实施例中,上述预定消息为来自第一用户的第一预定消息,其中,在利用目标共享链路传输预定消息之后,上述方法还包括:获取第二预定消息,其中,该第二预定消息为来自第一用户的消息,或者,为来自第二用户的消息;利用目标共享链路传输第二预定消息。其中,第二用户和第一用户为不同的用户。
在一个可选的实施例中,上述的步骤S302中获取预定消息时,可以通过如下方式实现:确定待传输的消息和与待传输的消息对应的业务控制 信息,其中,该控制信息用于标识待传输的消息的发送方和接收方信息,以及待传输的消息的大小和类型;将该待传输的消息和业务控制信息进行封装,得到预定消息。在本实施例中,待传输的消息和现有技术中的待传输的消息是一致的,在本实施例中,待传输的预定消息是在现有的待传输的消息基础上封装了控制消息后得到的。这是由于媒体链路与业务分离的,使用本发明实施例中的媒体共享链路进行消息传输时,需要在每一条传输消息中携带业务控制信息。
其中,原始消息(即,上述的待传输的消息)内容和业务控制信息的封装如图4所示,就是将待传输的原始消息内容和其对应业务控制信息两份数据合并到一起。这里的原始消息内容可以理解为优化之前的通过媒体链路传输的消息内容。优化之后通过媒体共享链路传输是封装后的消息内容。对应业务控制信息,包含但不局限于以下内容:1)发送方和接收方的用户信息;2)发送方和接收方归属的服务器信息;3)待传输消息对应的群组信息;4)待传输消息对应的业务会话信息;5)待传输消息基本信息(大小、类型等)。下面对各情况下控制信息所包括的具体信息进行说明:在一个可选的实施例中,上述业务控制消息包括:待传输的消息的发送方和接收方的用户信息,以及,待传输的消息的发送方和接收方归属的服务器信息。在另一个可选的实施例中,当上述待传输的消息为群聊消息时,上述控制信息还包括以下信息至少之一:待传输的消息对应的群组信息,待传输的消息对应的业务会话信息。
在一个可选的实施例中,在从预先建立的共享链路中确定用于传输预定消息的目标共享链路之前,上述方法还包括:通过如下方式之一建立上述共享链路:
当上述预定消息为第一即时消息应用服务器IM-AS与第二IM-AS之间传输的消息时,在第一IM-AS与第二IM-AS之间建立第一预定数量的共享链路;
当上述预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传 输的消息时,在GC-AS与第三IM-AS之间建立第二预定数量的所述共享链路;当预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在GC-AS与第三IM-AS之间建立与GC-AS管理的群组对应数量的共享链路;
当上述预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在GC-AS与第三IM-AS之间建立与GC-AS管理的用户对应数量的共享链路。
在一个可选的实施例中,从预先建立的共享链路中确定用于传输预定消息的目标共享链路包括:利用轮询的路由策略或者负载均衡的路由策略从预先建立的共享链路中确定用于传输上述预定消息的目标共享链路。
下面以MSRP链路为例结合具体实施例对上述各种建立方式进行说明:
RCS系统的网络资源是有限的,只能用来创建一定数量的MSRP链路。随着大消息和群聊业务不断发展,MSRP链路数量逐渐成为系统瓶颈,亟待解决。一条MSRP链路只用来传输的一条大消息或一个群成员的消息,确实比较浪费,完全可以传输更多的消息。本发明实施例中提出的媒体共享链路的优化方法,可以减少网络资源浪费,提高MSRP链路利用率。
具体实施例一
优化流程一对一大消息IM-AS与IM-AS之间媒体链路模式(固定数量共享链路)如图5所示,详细描述如下:
主叫IM-AS与被叫IM-AS在系统启动之后,两者之间创建并维持一定数量的基于MSRP协议的媒体共享链路(后面简称:MSRP共享链路)【过程①】,该操作由两个IM-AS的共享链路处理单元负责实现;
主叫用户通过核心网发送大消息给主叫IM-AS【过程②】;
主叫IM-AS接收到消息后,通过共享链路处理单元,完成原始消息 内容和业务控制信息的封装,并根据路由策略选择一条空闲的MSRP共享链路作为传输通道【过程③】。对于固定数量共享链路优化模式,建议采用轮询或负载均衡的路由策略,选择一条空闲的共享链路。如果所有链路都不空闲,则选择一条待发送消息数最少的链路,进入其发送队列排队等候。
主叫IM-AS,通过共享链路处理单元确定的共享链路作为传输通道将封装后的大消息内容发送给被叫IM-AS【过程④~⑤】;
被叫IM-AS接收到消息后,首先通过共享链路处理单元,完成原始消息内容和业务控制信息的解析,然后由业务处理单元根据业务控制信息进行后续处理【过程⑥】;
被叫IM-AS通过核心网将大消息发送给被叫用户【过程⑦】;
如果主被叫之间继续发送大消息或者这两个IM-AS下属的其他用户互相发送大消息,都是重复上述的步骤。
这种模式下,主叫IM-AS与被叫IM-AS之间MSRP链路数量,不再与两者归属用户之间发送大消息数量相关联,不需要在每条消息都创建和拆除MSRP链路,从而提高了大消息业务处理能力,并减少了系统网络资源浪费。
具体实施例二
优化流程群聊消息IM-AS与GC-AS之间媒体链路模式(固定数量共享链路)如图6所示,详细描述如下:
现在有X和Y两个活跃群,群X中的成员用户有A、B、C、……,群Y中的成员用户有A、C、D、……。其中,用户A和C归属于IM-AS-1,用户B和D归属于IM-AS-2,用户A、B、C、D在线。下面以群X和群Y为例,固定数量共享链路优化模式下群聊消息IM-AS与GC-AS之间链路模型说明如下:
IM-AS-1与GC-AS之间、IM-AS-2与GC-AS之间、其他群用户所属IM-AS与GC-AS之间,在系统启动以后,每个IM-AS与GC-AS之间创建并维持一定数量的MSRP共享链路。MSRP共享链路的创建、维持和拆除由IM-AS与GC-AS的共享链路处理单元负责实现。
群X中群成员A通过核心网发送群聊消息给IM-AS-1【过程X1】,IM-AS-1接收到群成员A的消息后,通过共享链路处理单元,根据路由策略从IM-AS-1与GC-AS之间MSRP共享链路中选择一条空闲的链路作为传输通道,将消息发送给GC-AS【过程X2】;
对于固定数量共享链路优化模式,建议采用轮询或负载均衡的路由策略,选择一条空闲的共享链路。如果所有链路都不空闲,则选择一条待发送消息数最少的链路,进入其发送队列排队等候;
GC-AS通过共享链路处理单元,根据路由策略从IM-AS-2与GC-AS之间MSRP共享链路中选择一条空闲的链路作为传输通道,将群成员A的群聊消息发送给IM-AS-2【过程X3】,然后由IM-AS-2通过核心网将消息发送给群成员B【过程X4】;
GC-AS通过共享链路处理单元,根据路由策略从IM-AS-1与GC-AS之间MSRP共享链路中选择一条空闲的链路作为传输通道,将群成员A的群聊消息发送给IM-AS-1【过程X5】,然后由IM-AS-1通过核心网将消息发送给群成员C【过程X6】;
GC-AS继续通过MSRP共享链路将群聊消息发送给其他群成员归属的IM-AS,然后由IM-AS通过核心网将消息发送给其他群成员;
群Y中群成员C发送群聊消息的处理过程【过程Y1~Y6】,与前述的步骤类似,这里不再重复说明。
这种模式下,GC-AS与IM-AS之间MSRP链路数目,不再直接与在线群成员数量相关联,可以实现归属于同一个IM-AS的所有群成员用户共用一条或一组MSRP链路。
以上是GC-AS/IM-AS与IM-AS之间使用固定数量共享链路模式的情况,对一对一大消息处理和群聊消息处理都适用。下面使用和固定数量共享链路模式群聊消息相同的场景,继续阐述两种群聊消息的共享链路模式。
具体实施例三
优化流程群聊消息IM-AS与GC-AS之间媒体链路模式(群组级共享链路)如图7所示,详细描述如下:
与固定数量共享链路模式相比,群组级共享链路优化模式下发送群聊消息处理主要流程是一样的【过程X1~X6和Y1~Y6】,就只是GC-AS与AS之间MSRP共享链路的创建数量和路由选择策略不同:
IM-AS与GC-AS之间,在系统启动之后,IM-AS与GC-AS的共享链路处理单元,根据归属于IM-AS的在线用户所参与由GC-AS管理的活跃群的数量(假设数量为N),来创建和维持N个MSRP共享链路,而且每一个MSRP链路都与一个群组绑定。后续活跃群组信息和在线群成员用户信息发生变化时,IM-AS与GC-AS之间MSRP共享链路的数量也随之变化。MSRP共享链路的创建、维持和拆除由IM-AS与GC-AS的共享链路处理单元负责实现。
群聊消息由IM-AS发送给GC-AS时,IM-AS的共享链路处理单元,根据当前消息所在的群组,从IM-AS与GC-AS之间MSRP共享链路中选择该群对应的链路作为传输通道,将群聊消息发送给GC-AS。
对于群组级共享链路优化模式,需要采取按照群组信息来确定媒体链路路由策略。如果选择的媒体链路空闲,则直接通过该链路发送消息;如果选择的媒体链路不空闲,否则进入该链路的发送队列排队等候。
群聊消息由GC-AS发送给IM-AS时,GC-AS的共享链路处理单元,根据当前消息所在的群组,从IM-AS与GC-AS之间MSRP共享链路中选择该群的链路作为传输通道,将消息发送给IM-AS。
这种模式下,GC-AS与IM-AS之间MSRP链路数目,与归属于IM-AS的在线用户所参与由GC-AS管理的活跃群的数量相关,不再直接与在线 群成员数量相关联,可以实现一个群中所有发往IM-AS或GC-AS群聊消息可以共用一条MSRP链路。
具体实施例四
优化流程群聊消息IM-AS与GC-AS之间媒体链路模式(用户级共享链路)如图8所示,详细描述如下:
与固定数量共享链路优化模式相比,用户级共享链路优化模式下发送群聊消息处理主要流程是一样的【过程X1~X6和Y1~Y6】,就只是GC-AS与AS之间MSRP共享链路的创建数量和路由选择策略不同:
IM-AS与GC-AS之间,在系统启动之后,根据参与由GC-AS管理的活跃群且归属于IM-AS的在线用户数量(假设数量为M),来创建和维持M个MSRP共享链路,而且每一个MSRP链路都与一个用户绑定。后续活跃群组信息和在线群成员用户信息发生变化时,IM-AS与GC-AS之间MSRP共享链路的数量也随之变化。MSRP共享链路的创建、维持和拆除由IM-AS与GC-AS的共享链路处理单元负责实现。
群聊消息由IM-AS发送给GC-AS时,IM-AS的共享链路处理单元,根据当前消息的发送方用户,从IM-AS与GC-AS之间MSRP共享链路中选择该用户对应的链路作为传输通道,将消息发送给GC-AS。
对于用户级共享链路优化模式,需要采取按照用户信息来确定媒体链路路由策略。如果选择的媒体链路空闲,则直接通过该链路发送消息;如果选择的媒体链路不空闲,否则进入该链路的发送队列排队等候。
群聊消息由由GC-AS发送给IM-AS时,GC-AS的共享链路处理单元,根据当前消息的接收方用户,从IM-AS与GC-AS之间MSRP共享链路中选择该用户对应的链路作为传输通道,将消息发送给IM-AS。
这种模式下,GC-AS与IM-AS之间MSRP链路数目,与参与由GC-AS管理的活跃群且归属于IM-AS的在线用户数量相关,不再直接与在线群成员数量相关联,可以实现所有发给一个IM-AS归属用户群聊消息可以 共用一条MSRP链路。
上述内容提供了大消息的IM-AS与IM-AS之间媒体共享链路优化模式和三种群聊消息的GC-AS与IM-AS之间媒体共享链路优化模式,都可以实现MSRP链路共享的目的,可以大大减少MSRP链路使用数量,提高每条链路的使用率,提高整个系统对大消息和群聊消息业务处理能力。
采用本发明实施例中的媒体共享链路优化之后,需要在服务器内部增加共享链路处理单元。共享链路处理单元主要作用:创建、管理和拆除媒体共享链路功能、共享链路的路由选择功能、原始消息内容和业务控制信息的封装功能、原始消息内容和业务控制信息解析功能、发送媒体消息功能、接收媒体消息功能。
本发明实施例所实现的媒体共享链路,对于媒体链路的创建、维持和拆除的方法,和优化前的媒体链路是一样的,都是基于现有技术实现,这里不再赘述。
使用本发明实施例所实现的媒体共享链路的服务器结构(如图9所示):两个服务器之间,创建和维持一组媒体共享链路;每一条共享链路都可以发送和接收消息;两个服务器内部,需要在原有业务处理单元的基础上,增加共享链路处理单元,媒体消息的发送和接收共享链路处理单元实现。
具体实施例五
如图10所示,共享链路处理单元实现发送方发送消息处理包括如下步骤:
步骤S1001,发送方发送消息;
步骤S1002,接收到业务处理单元的媒体消息发送请求,从业务处理单元获取待发送消息的原始消息内容和业务控制信息;
步骤S1003,将待发送消息的原始消息内容和业务控制信息封装;
步骤S1004,根据路由选择策略获取合适的媒体共享链路(路由选择 策略由实施方自行确定);
步骤S1005,检查获取到的媒体共享链路发送端状态是否空闲,如果共享链路发送端已被占用,执行步骤S1006,若未被占用,执行步骤S1007;
步骤S1006,进入该共享链路发送队列排队等候,一直到共享链路空闲为止;
步骤S1007,如果共享链路发送端空闲,将媒体共享链路发送端状态置为占用;
步骤S1008,通过媒体共享链路将封装后的媒体消息发送给接收方;
步骤S1009,媒体消息发送将媒体共享链路发送端状态置为空闲;
步骤S1010,结束。
具体实施例六
如图11所示,共享链路处理单元实现接收方接收消息处理包括如下步骤:
步骤S1101,接收方接收消息;
步骤S1102,检测媒体共享链路接收端;
步骤S1103,判断是否有待接收的媒体消息,如果没有则执行S1102继续检测,直到有待接收的媒体消息为止;
步骤S1104,若判断到有待接收的媒体消息,接收消息处理;
步骤S1105,解析接收到的消息,获取当前媒体消息的原始消息内容和业务控制信息;
步骤S1106,将当前媒体消息的原始消息内容和业务控制信息分发给业务处理单元,由业务处理单元根据业务控制信息进行下一步处理;循环处理,继续检测媒体共享链路接收端,接收下一消息。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例二
在本实施例中还提供了一种消息传输装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图12是根据本发明实施例的消息传输装置的结构框图,如图12所示,该装置包括如下模块:
第一获取模块122,设置为获取预定消息;确定模块124,连接至上述第一获取模块122,设置为从预先建立的共享链路中确定用于传输预定消息的目标共享链路;第一传输模块126,连接至上述确定模块124,设置为利用上述目标共享链路传输预定消息。
在一个可选的实施例中,上述共享链路用于两个以上用户传输数据或者共享链路用于一个用户传输两个以上消息。
在一个可选的实施例中,上述预定消息为来自第一用户的第一预定消息,其中,上述装置还包括:第二获取模块,设置为在利用目标共享链路传输预定消息之后,获取第二预定消息,其中,该第二预定消息为来自第一用户的消息,或者,为来自第二用户的消息;第二传输模块,设置为利用该目标共享链路传输第二预定消息。
在一个可选的实施例中,上述第一获取模块122可以通过如下方式获取预定消息:确定待传输的消息和与待传输的消息对应的业务控制信息,其中,该控制信息用于标识待传输的消息的发送方和接收方信息,以及所述待传输的消息的大小和类型;将上述待传输的消息和业务控制信息进行封装,得到预定消息。
在一个可选的实施例中,上述业务控制消息包括:上述待传输的消息的发送方和接收方的用户信息,以及,待传输的消息的发送方和接收方归属的服务器信息。
在一个可选的实施例中,当上述待传输的消息为群聊消息时,上述控制信息还包括以下信息至少之一:上述待传输的消息对应的群组信息,上述待传输的消息对应的业务会话信息。
在一个可选的实施例中,在从预先建立的共享链路中确定用于传输预定消息的目标共享链路之前,上述装置还设置为:通过如下方式之一建立上述共享链路:当预定消息为第一即时消息应用服务器IM-AS与第二IM-AS之间传输的消息时,在第一IM-AS与第二IM-AS之间建立第一预定数量的共享链路;当预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在GC-AS与第三IM-AS之间建立第二预定数量的共享链路;当预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在GC-AS与第三IM-AS之间建立与GC-AS管理的群组对应数量的共享链路;当预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在GC-AS与第三IM-AS之间建立与GC-AS管理的用户对应数量的共享链路。
在一个可选的实施例中,上述确定模块124可以通过如下方式从预先建立的共享链路中确定用于传输预定消息的目标共享链路:利用轮询的路由策略或者负载均衡的路由策略从预先建立的共享链路中确定用于传输上述预定消息的目标共享链路。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于 后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例三
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,获取预定消息;
S2,从预先建立的共享链路中确定用于传输预定消息的目标共享链路;
S3,利用上述目标共享链路传输预定消息。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:
S1,获取预定消息;
S2,从预先建立的共享链路中确定用于传输预定消息的目标共享链路;
S3,利用上述目标共享链路传输预定消息。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
如上所述,本发明实施例提供的一种消息传输方法、装置、存储介质及电子装置具有以下有益效果:解决了相关技术中存在的需要建立的用于传输消息的媒体链路过多,导致资源浪费严重的问题,从而实现了减少系统网络资源耗费,提高整体业务处理能力的目的。

Claims (13)

  1. 一种消息传输方法,包括:
    获取预定消息;
    从预先建立的共享链路中确定用于传输预定消息的目标共享链路;
    利用所述目标共享链路传输所述预定消息。
  2. 根据权利要求1所述的方法,其中,所述共享链路用于两个以上用户传输数据或者所述共享链路用于一个用户传输两个以上消息。
  3. 根据权利要求1或2所述的方法,其中,所述预定消息为来自第一用户的第一预定消息,其中,在利用所述目标共享链路传输所述预定消息之后,所述方法还包括:
    获取第二预定消息,其中,所述第二预定消息为来自所述第一用户的消息,或者,为来自第二用户的消息;
    利用所述目标共享链路传输所述第二预定消息。
  4. 根据权利要求1所述的方法,其中,获取预定消息包括:
    确定待传输的消息和与所述待传输的消息对应的业务控制信息,其中,所述控制信息用于标识所述待传输的消息的发送方和接收方信息,以及所述待传输的消息的大小和类型;
    将所述待传输的消息和所述业务控制信息进行封装,得到所述预定消息。
  5. 根据权利要求4所述的方法,其中,所述业务控制消息包括:
    所述待传输的消息的发送方和接收方的用户信息,以及,所述待传输的消息的发送方和接收方归属的服务器信息。
  6. 根据权利要求5所述的方法,其中,当所述待传输的消息为 群聊消息时,所述控制信息还包括以下信息至少之一:
    所述待传输的消息对应的群组信息,所述待传输的消息对应的业务会话信息。
  7. 根据权利要求1所述的方法,其中,在从预先建立的共享链路中确定用于传输预定消息的目标共享链路之前,所述方法还包括:
    通过如下方式之一建立所述共享链路:
    当所述预定消息为第一即时消息应用服务器IM-AS与第二IM-AS之间传输的消息时,在所述第一IM-AS与所述第二IM-AS之间建立第一预定数量的所述共享链路;
    当所述预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在所述GC-AS与所述第三IM-AS之间建立第二预定数量的所述共享链路;
    当所述预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在所述GC-AS与所述第三IM-AS之间建立与所述GC-AS管理的群组对应数量的所述共享链路;
    当所述预定消息为群聊消息应用服务器GC-AS与第三IM-AS之间传输的消息时,在所述GC-AS与所述第三IM-AS之间建立与所述GC-AS管理的用户对应数量的所述共享链路。
  8. 根据权利要求7所述的方法,其中,从预先建立的共享链路中确定用于传输预定消息的目标共享链路包括:
    利用轮询的路由策略或者负载均衡的路由策略从预先建立的共享链路中确定用于传输所述预定消息的所述目标共享链路。
  9. 一种消息传输装置,包括:
    第一获取模块,设置为获取预定消息;
    确定模块,设置为从预先建立的共享链路中确定用于传输预定消 息的目标共享链路;
    第一传输模块,设置为利用所述目标共享链路传输所述预定消息。
  10. 根据权利要求9所述的装置,其中,所述共享链路用于两个以上用户传输数据或者所述共享链路用于一个用户传输两个以上消息。
  11. 根据权利要求9或10所述的装置,其中,所述预定消息为来自第一用户的第一预定消息,其中,所述装置还包括:
    第二获取模块,设置为在利用所述目标共享链路传输所述预定消息之后,获取第二预定消息,其中,所述第二预定消息为来自所述第一用户的消息,或者,为来自第二用户的消息;
    第二传输模块,设置为利用所述目标共享链路传输所述第二预定消息。
  12. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至8任一项中所述的方法。
  13. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至8任一项中所述的方法。
PCT/CN2018/119198 2017-12-29 2018-12-04 消息传输方法、装置、存储介质及电子装置 WO2019128647A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711476792.X 2017-12-29
CN201711476792.XA CN108234294A (zh) 2017-12-29 2017-12-29 消息传输方法、装置、存储介质及电子装置

Publications (1)

Publication Number Publication Date
WO2019128647A1 true WO2019128647A1 (zh) 2019-07-04

Family

ID=62647047

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/119198 WO2019128647A1 (zh) 2017-12-29 2018-12-04 消息传输方法、装置、存储介质及电子装置

Country Status (2)

Country Link
CN (1) CN108234294A (zh)
WO (1) WO2019128647A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860431A (zh) * 2021-01-20 2021-05-28 重庆六花网络科技有限公司 微服务节点的连接方法、系统、设备及存储介质
WO2023124674A1 (zh) * 2021-12-27 2023-07-06 中兴通讯股份有限公司 媒体通道的设置方法、装置、电子设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234294A (zh) * 2017-12-29 2018-06-29 中兴通讯股份有限公司 消息传输方法、装置、存储介质及电子装置
CN110875914B (zh) * 2018-09-03 2022-06-07 中国移动通信有限公司研究院 一种基于共享会话链路传输消息的方法及装置
CN110912800B (zh) * 2018-09-14 2022-09-13 中兴通讯股份有限公司 一种群聊消息转发的方法及装置
CN112055098B (zh) * 2020-08-20 2023-04-07 深圳市沃特沃德股份有限公司 建立ip数据长连接的方法、5g网关设备和计算机设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148693A (zh) * 2010-02-05 2011-08-10 中兴通讯股份有限公司 共享链路保护方法、节点和共享链路保护系统
US20130159507A1 (en) * 2011-12-20 2013-06-20 Hilary Mason Systems and methods for influence of a user on content shared via 7 encoded uniform resource locator (url) link
CN104601346A (zh) * 2013-10-30 2015-05-06 国际商业机器公司 管理交换机的网络连接的方法和装置
CN107182129A (zh) * 2017-05-27 2017-09-19 中国人民解放军理工大学 多小区场景下融合社交信息的d2d链路选择方法
CN108234294A (zh) * 2017-12-29 2018-06-29 中兴通讯股份有限公司 消息传输方法、装置、存储介质及电子装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807178B1 (en) * 2000-05-31 2004-10-19 Telefonaktiebolaget Lm Ericsson (Publ) Session dispatcher at a wireless multiplexer interface
CN101883322B (zh) * 2009-05-05 2013-01-23 中兴通讯股份有限公司 向群组发送大消息模式融合ip消息的方法和系统
US8997117B1 (en) * 2012-10-02 2015-03-31 Linkedin Corporation System and method for creating personal connection alerts

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148693A (zh) * 2010-02-05 2011-08-10 中兴通讯股份有限公司 共享链路保护方法、节点和共享链路保护系统
US20130159507A1 (en) * 2011-12-20 2013-06-20 Hilary Mason Systems and methods for influence of a user on content shared via 7 encoded uniform resource locator (url) link
CN104601346A (zh) * 2013-10-30 2015-05-06 国际商业机器公司 管理交换机的网络连接的方法和装置
CN107182129A (zh) * 2017-05-27 2017-09-19 中国人民解放军理工大学 多小区场景下融合社交信息的d2d链路选择方法
CN108234294A (zh) * 2017-12-29 2018-06-29 中兴通讯股份有限公司 消息传输方法、装置、存储介质及电子装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860431A (zh) * 2021-01-20 2021-05-28 重庆六花网络科技有限公司 微服务节点的连接方法、系统、设备及存储介质
CN112860431B (zh) * 2021-01-20 2024-03-15 重庆六花网络科技有限公司 微服务节点的连接方法、系统、设备及存储介质
WO2023124674A1 (zh) * 2021-12-27 2023-07-06 中兴通讯股份有限公司 媒体通道的设置方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN108234294A (zh) 2018-06-29

Similar Documents

Publication Publication Date Title
WO2019128647A1 (zh) 消息传输方法、装置、存储介质及电子装置
JP4599617B2 (ja) 遠隔通信フィーチャを分散処理する集中コントローラ
TWI237480B (en) Methods and apparatus for supporting group communications
CN104813637B (zh) 移动网络中的没有持久性tcp连接情况下的推送服务
CN101171792B (zh) 处理通信网络中群组通信的方法
EP2186300B1 (en) Method and communication node for optimising time sensitive communications
US8244816B2 (en) System and method for controlling regularity of presence status transmission based on resource usage of a user transmitting node
US8644491B2 (en) Mechanism for multisite service state description
JP6169568B2 (ja) パッシブ通信サービスのためのシステムおよび方法
WO2013185655A1 (zh) 移动座席呼叫的分配方法和装置
WO2007131441A1 (fr) Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip)
CN110875914B (zh) 一种基于共享会话链路传输消息的方法及装置
WO2022241990A1 (zh) 一种媒体传输链路管理方法、装置及存储介质
WO2010069176A1 (zh) 实现pc客户端绑定硬终端时召开会议的方法、登录服务器、会议服务器及pc客户端
JP4959803B2 (ja) 通信システムにおける配信レポート
US10063648B2 (en) Relaying mobile communications
WO2010051739A1 (zh) 一种移动即时通讯的方法和装置
CN104168176B (zh) 一种即时通讯方法、客户端、服务器及系统
CN115829233A (zh) 一种客服分配方法、装置、通信设备及可读存储介质
WO2014056387A1 (zh) 文本聊天会话的转移方法、系统以及装置和坐席客户端
CN109120578A (zh) 一种实现链路连接处理的方法及装置
CN106878141A (zh) 一种基于msrp协议的即时通信方法
Zhai et al. An improved DDS publish/subscribe automatic discovery algorithm
KR100555702B1 (ko) 아이엠티-2000 멀티캐스트 서비스를 위한 이동단말기의가입자 관리 방법
JP3751301B2 (ja) 多ノード通信システム

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: 18897065

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/11/2020))

122 Ep: pct application non-entry in european phase

Ref document number: 18897065

Country of ref document: EP

Kind code of ref document: A1