Video transmission method and apparatus, and server and storage medium
By dynamically adjusting the video channel on the basis of the existing technology, establishing the second and third bearers, the problem that the existing technology cannot meet the video call needs in various business scenarios is solved, and a flexible video transmission solution is realized.
Patent Information
- Application Number
- PCT/CN2024/136916
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-04
- Filing Date
- 2024-12-04
- Publication Date
- 2025-06-12
AI Technical Summary
The existing one-way video calling technology cannot meet the video calling needs in multiple business scenarios, especially when two-way video calling and one-way video push are required.
Dynamic adjustment of the bidirectional video channel and the one-way video channel between the first network and the second network is achieved by sending a request to establish the second bearer and the third bearer in the presence of the first bearer.
It realizes the meeting of multiple video call needs in different business scenarios, provides a flexible video transmission solution, and can meet the needs of two-way video calls and one-way video push.
Smart Images

Figure CN2024136916_12062025_PF_FP_ABST
Abstract
Description
Video transmission method, device, server and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on and claims the priority of Chinese patent application with application number 202311651031.9 and application date December 4, 2023. The entire content of this Chinese patent application is incorporated herein by reference into this disclosure. Technical Field
[0003] The present disclosure relates to the field of communication technologies, and in particular to a video transmission method, device, server, and storage medium. Background Art
[0004] In the related art, in order to meet the needs of users in customer service scenarios who only want to watch video content pushed by customer service personnel and not send local video content to the other party, an implementation solution for customer service business based on one-way video call technology is provided. However, this implementation solution cannot meet the video call needs in other business scenarios. Summary of the Invention
[0005] To solve related technical problems, embodiments of the present disclosure provide a video transmission method, device, server, and storage medium.
[0006] The technical solution of the embodiment of the present disclosure is implemented as follows:
[0007] An embodiment of the present disclosure provides a video transmission method, which is applied to a first server of a first network, and includes:
[0008] In the case where the first bearer exists, a first request is sent; wherein,
[0009] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0010] In the above solution, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0011] In the above solution, the attribute of the second bearer in the first request is sending and receiving video.
[0012] In the above solution, the second bearer is used to receive the video sent by the second network to the first terminal, and is used to transmit the video sent to the second terminal.
[0013] In the above solution, before sending the first request, the method further includes:
[0014] A first message sent by a first service server of the first network is received; wherein the first message is used to instruct the first server to initiate the first request.
[0015] In the above solution, the first message is sent when at least one of the following conditions is met:
[0016] The first service server receives a second message sent by the first server, where the second message indicates that an off-hook call event occurs at the first terminal;
[0017] The first service server receives a first instruction; the first instruction is triggered or sent by the first terminal, and is used to instruct the first terminal to request to send a video to the second terminal;
[0018] The second terminal supports video calls.
[0019] In the above scheme, the first server includes a first network server and a first network element; wherein, the first network server is used to send the first request; the first network element is used to forward the second message sent by the first network server to the first business server, and is used to forward the first message sent by the first business server to the first network server.
[0020] In the above solution, when the first bearer exists, before sending the first request, the method further includes:
[0021] receiving a second request, and forwarding the second request to the first terminal; wherein,
[0022] The second request is initiated by the second terminal or the second server of the second network, and is used to request establishment of the first bearer.
[0023] The present disclosure also provides a video transmission method, which is applied to a second server of a second network. The method includes:
[0024] receiving a first request;
[0025] Sending a third request to the second terminal of the second network according to the first request; wherein,
[0026] The first request is received when a first bearer already exists, the first bearer being used only to transmit video sent by an electronic device on the second network to a first terminal on the first network, the electronic device being used at least to send and receive video; the first request is used to request establishment of a second bearer, the second bearer being used to send and receive video transmitted between the first network and the second network;
[0027] The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0028] In the above solution, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0029] In the above solution, the sending of a third request to the second terminal of the second network according to the first request includes:
[0030] In a case where the first bearer is a unidirectional video bearer between the electronic device of the second network and the first terminal, a third request is sent to the second terminal according to the first request.
[0031] In the above solution, the attribute of the second bearer in the first request is sending and receiving video.
[0032] In the above solution, the sending of a third request to the second terminal according to the first request includes:
[0033] The third request is obtained by modifying the attribute of the second bearer in the first request from sending and receiving video to sending video only to the second terminal;
[0034] Send the third request to the second terminal.
[0035] In the above scheme, the second server includes a second network server and a second network element; wherein, the second network server is used to receive a first request, send a third message to the second network element according to the first request, receive a fourth message or a fifth message sent by the second network element, and send the third request to the second terminal according to the fourth message, or forward the first request to the second terminal according to the fifth message; the third message is used to indicate that the attribute of the second bearer is to send and receive video, the fourth message is used to instruct the second network server to change the attribute of the second bearer from sending and receiving video to only sending video to the second terminal, and the fifth message is used to instruct the second network server to directly forward the first request.
[0036] In the above solution, the sending of a third request to the second terminal according to the first request includes:
[0037] Sending a third message to a second service server of the second network according to the first request, where the third message is used to indicate that an attribute of the second bearer is video transmission and reception;
[0038] receiving a sixth message sent by the second service server according to the third message; wherein the sixth message is used to indicate that the attribute of the second bearer is changed from sending and receiving video to sending video only to the second terminal;
[0039] A third request is sent to the second terminal according to the sixth message.
[0040] In the above solution, before receiving the first request, the method further includes:
[0041] Send a second request, where the second request is used to request establishment of the first bearer.
[0042] In the above solution, sending the second request includes:
[0043] sending a seventh message to the second service server of the second network, where the seventh message indicates that an off-hook event occurs at the second terminal;
[0044] receiving an eighth message sent by the second service server according to the seventh message; wherein the eighth message is used to instruct the second server to initiate the second request;
[0045] The second request is sent according to the eighth message.
[0046] The present disclosure also provides a video transmission device, including:
[0047] The first sending unit is configured to send a first request when a first bearer exists; wherein,
[0048] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0049] The present disclosure also provides a video transmission device, including:
[0050] A first receiving unit receives a first request;
[0051] The second sending unit is configured to send a third request to the second terminal of the second network according to the first request; wherein,
[0052] The first request is received when a first bearer already exists. The first bearer is only used to transmit videos sent by an electronic device of the second network to a first terminal of the first network, and the electronic device is at least used to send and receive videos; the first request is used to request the establishment of a second bearer, and the second bearer is used to send and receive videos transmitted between the first network and the second network; the third request is used to request the establishment of a third bearer, and the third bearer is only used to transmit videos sent by the first network to the second terminal via the second bearer.
[0053] The embodiment of the present disclosure further provides a first server, which is located in a first network and includes: a first processor and a first communication interface; wherein:
[0054] The first communication interface is used to send a first request when a first bearer exists; wherein,
[0055] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0056] The embodiment of the present disclosure further provides a second server, which is located in a second network and includes: a second processor and a second communication interface; wherein:
[0057] The second communication interface is configured to receive the first request and send a third request to the second terminal according to the first request; wherein,
[0058] The first request is received when a first bearer already exists, the first bearer being used only to transmit video sent by an electronic device on the second network to a first terminal on the first network, the electronic device being used at least to send and receive video; the second request is used to request establishment of a second bearer, the second bearer being used to send and receive video transmitted between the first network and the second network;
[0059] The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0060] The present disclosure also provides a server, comprising a processor and a memory for storing a computer program that can be run on the processor.
[0061] Wherein, when the processor is used to run the computer program, it executes the steps of any of the above-mentioned methods on the first server side, or executes the steps of any of the above-mentioned methods on the second server side.
[0062] An embodiment of the present disclosure further provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of any method on the first server side, or implements the steps of any method on the second server side.
[0063] In the video transmission method, device, server and storage medium provided by the embodiments of the present disclosure, in the presence of a first bearer, the first server of the first network sends a first request; the second server of the second network receives the first request and sends a third request to the second terminal of the second network according to the first request; wherein, the first bearer is only used to transmit videos sent by the electronic device of the second network to the first terminal of the first network, the electronic device is at least used to send and receive videos, the first request is used to request the establishment of a second bearer, the second bearer is used to send and receive videos transmitted between the first network and the second network, the third request is used to request the establishment of a third bearer, and the third bearer is only used to transmit videos sent by the first network to the second terminal via the second bearer. It can be seen that in the embodiment of the present disclosure, when there is a first bearer, a second bearer and a third bearer can also be established between the first network and the second network. The second bearer is to update the video channel between the first network and the second network in the first bearer to a two-way video channel. The third bearer is a unidirectional video channel established between the electronic device of the second network and the second terminal, which is used to send the video of the first network received by the electronic device of the second network from the second bearer to the second terminal. Compared with the situation in the prior art where there can only be a unidirectional video channel in a certain direction between the first network and the second network, the above scheme can also meet the video call needs in different business scenarios by establishing the second bearer and the third bearer. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] FIG1 is a schematic diagram of a video transmission method implementation flow according to an embodiment of the present disclosure;
[0065] FIG2 is a schematic diagram of a video transmission method implementation flow according to an embodiment of the present disclosure;
[0066] FIG3 is a schematic diagram of an interactive process of a video transmission method according to an embodiment of the present disclosure;
[0067] FIG4 is a schematic diagram of an interactive process of a video transmission method according to an embodiment of the present disclosure;
[0068] FIG5 is a schematic diagram of an interactive process of a video transmission method according to an embodiment of the present disclosure;
[0069] FIG6 is a schematic diagram of an interactive process of a video transmission method according to an embodiment of the present disclosure;
[0070] FIG7 is a schematic structural diagram of a video transmission device according to an embodiment of the present disclosure;
[0071] FIG8 is a schematic structural diagram of a video transmission device according to an embodiment of the present disclosure;
[0072] FIG9 is a schematic diagram of the structure of the first server according to an embodiment of the present disclosure;
[0073] FIG10 is a schematic diagram of the structure of the second server according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0074] When a user makes a video call, usually both parties on the call will see the video image captured by the camera on the other end, that is, the uplink video data of the other end. However, the current implementation scheme is mainly based on the service implemented by the current video call, that is, the user terminal not only receives the video content pushed by the opposite terminal, the opposite network or the local network, but also needs to send the video data captured by the local camera. In many cases, users only need to watch video content and do not want to send local video content. For example, in customer service scenarios, users usually only want to watch the video content pushed by customer service personnel and do not want to upload personal image information. The related technology provides an implementation scheme for customer service services based on one-way video call technology to meet the needs of users in customer service scenarios who only want to watch the video content pushed by customer service personnel. Therefore, according to the development needs of the business, an implementation scheme is also provided in which the call counterpart pushes video content to the user in a video call, but there is no uplink video data transmission locally on the user.
[0075] The new calls of the fifth generation mobile communication technology (5G) have attracted widespread attention in the industry, attracting a large number of innovative developers to participate in it and launch innovative services; services such as lighting up the screen, video insertion, and idol calls have been born. However, the existing one-way video call technology is that a certain terminal initiates a one-way video negotiation, and after the negotiation is successful, there is only a one-way video channel, which cannot meet the needs of current business scenarios. Among them, the points where the existing one-way video call technology cannot meet the current business needs are: (1) the network platform initiates; (2) both the caller and the called party may initiate a one-way video negotiation. Although it is still a one-way video from the terminal perspective, it is a two-way video channel between the caller and the called party's network.
[0076] Based on this, in various embodiments of the present disclosure, when a first bearer exists, a first server of the first network sends a first request; a second server of the second network receives the first request and, based on the first request, sends a third request to a second terminal of the second network; wherein the first bearer is used only to transmit video sent by an electronic device of the second network to a first terminal of the first network, the electronic device being used for at least transmitting and receiving video; the first request is used to request the establishment of a second bearer; the second bearer is used to transmit and receive video transmitted between the first network and the second network; the third request is used to request the establishment of a third bearer; the third bearer is used only to transmit video sent by the first network to the second terminal via the second bearer. It can be seen that in embodiments of the present disclosure, when a first bearer exists, a second bearer and a third bearer can also be established between the first and second networks. The second bearer updates the video channel between the first and second networks in the first bearer to a bidirectional video channel; the third bearer is a unidirectional video channel established between the electronic device of the second network and the second terminal, used to transmit the video of the first network received by the electronic device of the second network from the second bearer to the second terminal. Compared to the prior art where only a unidirectional video channel in one direction can exist between the first and second networks, the above solution can also meet video call requirements in different business scenarios by establishing the second and third bearers.
[0077] The present disclosure will be described in further detail below with reference to the accompanying drawings and embodiments.
[0078] An embodiment of the present disclosure provides a one-way video playback method, which is applied to a first server of a first network. As shown in FIG1 , the method includes:
[0079] Step 101: Send a first request when a first bearer exists; wherein,
[0080] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0081] Here, the first request can be initiated by the first server of the first network, or by the first terminal of the first network, and forwarded to the second network via the first server; that is, the first request can be generated by the first server, or by the first terminal. The first request can be understood as a one-way video negotiation request, a one-way video negotiation message, a media renegotiation request, a one-way video media negotiation request, or a one-way video media negotiation message. It should be noted that the first request can be a re-INVITE request, a re-INVITE message, an UPDATE request, or an UPDATE message. In the Session Initialization Protocol (SIP), re-INVITE requests, re-INVITE messages, UPDATE requests, and UPDATE messages are all used to modify session parameters, for example, to update the media information of a session.
[0082] The first network is the network accessed by the first terminal; when the first terminal is the calling terminal, the first network can be understood as the calling network, that is, the network accessed by the calling terminal, and the second network can be understood as the called network, that is, the network accessed by the called terminal (second terminal); when the first terminal is the called terminal, the first network can be understood as the called network, and the second network can be understood as the calling network.
[0083] The attribute of the first bearer is that video is sent only to the first terminal, and the first terminal cannot send video, or the attribute of the first bearer is that it only supports the second network to send video to the first terminal, and does not support the first terminal to send video to the second network; for the relevant servers and devices of the first network and the second network, the attribute of the first bearer can be marked as sendonly.
[0084] It should be noted that the second bearer allows video transmission and reception between the first and second networks. For the first and second networks, the second bearer is a bidirectional video channel between the first and second networks. For the second terminal, the second bearer is a unidirectional video channel, used only to send video to the second terminal. That is, the second bearer is a unidirectional video channel between the second network and the second terminal. A unidirectional video channel can be understood as a unidirectional video bearer, and a bidirectional video channel can be understood as a bidirectional video bearer.
[0085] In order to facilitate one-way video negotiation between the first terminal and the second terminal to establish a second bearer, in one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0086] Here, the first identifier can be an identifier or an identifier (ID) of a service that plays one-way video. The first identifier can indicate a one-way video service, a service that requires playing one-way video, or a service that initiates a one-way video session. The one-way video identifier can also be understood as a one-way video negotiation identifier.
[0087] For example, the first identifier can be carried in the Service-Interact-Info header field in the first request. The Service-Interact-Info header field can be used to indicate the service of initiating a one-way video session from the local end to the remote end. The Service-Interact-Info header field can include the executed-Services field. The value of the executed-Services field can be a string, such as an 8-character string containing half-width quotation marks. Of course, the value of the executed-Services field can also be set according to actual needs. Half-width characters occupy the space of a standard character, that is, a character occupies one byte. Characters include English letters, Roman numerals, and Western symbols. When the value of the executed-Services field is an 8-character string, the encoding rule of the executed-Services field value can be: the first digit represents the service category, such as the first digit 6, representing a one-way video service, i.e., a one-way video identifier; the second to seventh digits represent the service ID; and the eighth digit represents the sub-service ID. Of course, the encoding rule of the executed-Services field can also be set according to actual circumstances or actual service needs.
[0088] To facilitate the establishment of the second bearer, the attributes of the second bearer may be specified in the first request. Based on this, in one embodiment, the attribute of the second bearer in the first request is to send and receive video.
[0089] Here, the first request carries information related to the attributes of the second bearer. When the first request is initiated by the first server, the attribute of the second bearer in the first request is video transmission and reception. Video transmission and reception can be understood as sending and receiving videos.
[0090] In actual application, when the first request is initiated by the first server, the first request carries the identifier of the attribute of the second bearer, which may be sendrecv. Sendrecv indicates support for sending and receiving videos. In other words, the attribute of the second bearer may be marked as sendrecv.
[0091] In order to enable the second terminal to send a one-way video to the first terminal, in one embodiment, the second bearer is used to receive the video sent by the second network to the first terminal, and to transmit the video sent to the second terminal.
[0092] Here, the second bearer can be divided into at least two sections, one section is the bearer between the first network and the second network, which is a bidirectional video bearer, and the other section is the bearer between the second network and the second terminal, which is a unidirectional video bearer.
[0093] In actual application, when the first request is initiated by the first server, the starting point of the second bearer is the media plane of the first network, and the end point is the second terminal. The second bearer can be divided into two segments: one segment is a two-way video bearer between the media plane of the first network and the media plane of the second network, and the other segment is a one-way video bearer between the media plane of the second network and the second terminal. When the first request is initiated by the first terminal, the starting point of the second bearer is the first terminal, and the end point of the second bearer is the second terminal. In other words, the second bearer runs from the first terminal, passes through the media plane of the first network and the media plane of the second network, and reaches the second terminal. The segment between the first terminal and the media plane of the first network is a one-way video bearer.
[0094] The media interface of the first network can be integrated with the first server or separated from the first server and installed on different devices. For example, the function of the media interface of the first network is implemented by the first electronic device, which can be understood as a media interface device for providing video materials.
[0095] The media plane of the second network can be integrated with the second server or installed separately from the second server on a different device. For example, the functions of the media plane of the second network are implemented by a second electronic device, which can be understood as a media plane device and can provide video materials. The second electronic device and the electronic devices of the second network can be used interchangeably. Both the first electronic device and the second electronic device can transmit and receive audio media data and video media data. Audio media data can be referred to as audio or audio data, and video media data can be referred to as video or video data.
[0096] It should be noted that the first electronic device and the second electronic device can be at least one of the following: VoNR+media plane, data channel media function (DCMF, Data Channel Media Function), or media resource function (MRF, Media Resource Function). VoNR can be understood as new air interface voice bearer (Voice over New Radio).
[0097] On the basis that the first request is generated or initiated by the first server, in one embodiment, before sending the first request, the method further includes:
[0098] receiving a first message sent by a first service server of the first network; wherein,
[0099] The first message is used to instruct the first server to initiate the first request, or to instruct the first server to perform a first operation and initiate the first request; the first operation represents anchoring the audio streams of the first terminal and the second terminal to a first electronic device, and the first electronic device is used to provide video material.
[0100] Here, a first terminal, a first server, a first electronic device, and a first application server are deployed in the first network. The first electronic device is used to implement the media plane functions of the first network. The first electronic device and the first server can be installed separately or integrated with each other.
[0101] The first server receives a first message sent by a first service server of the first network and, based on the first message, sends a first request to initiate a one-way video negotiation, thereby requesting the establishment of a second bearer. Optionally, the first server may send a first request based on the first message to initiate the one-way video negotiation and perform a first operation. The first message may be understood as a call control message or a call control request. The first operation may be understood as bidirectional audio anchoring or audio anchoring, which at least anchors the audio bearers of the first and second terminals to the first electronic device and may also anchor the video bearers of the first and second terminals to the first electronic device. Specifically, the first request may carry the port number of the audio bearer and the port number of the video bearer. The port number of the audio bearer may be the port number of the first electronic device used to transmit and receive audio media data, and the port number of the video bearer may be the port number of the first electronic device used to transmit and receive video media data. The port number of the audio bearer may be the same as or different from the port number of the video bearer.
[0102] The first message is sent when the first application server determines that the conditions for initiating a one-way video negotiation or the triggering conditions for a one-way video service are currently met. Based on this, in one embodiment, the first message is sent when at least one of the following conditions is met:
[0103] The first service server receives a second message sent by the first server, where the second message indicates that an off-hook call event occurs at the first terminal;
[0104] The first service server receives a first instruction; the first instruction is triggered or sent by the first terminal, and is used to instruct the first terminal to request to send a video to the second terminal;
[0105] The second terminal supports video calls.
[0106] Here, when at least one of the following conditions is met, the first service server is triggered to send the first message to the first server:
[0107] The first service server receives the second message sent by the first server;
[0108] The first service server receives the first instruction;
[0109] The second terminal supports video calls.
[0110] It should be noted that the second message can be understood as a call event notification or a call event notification message, and can be used to report an off-hook call event, an off-hook event, a call event, etc. When the first service server receives the second message and the first indication, the first indication is received after the second message; the first indication can be a dual-tone multi-frequency (DTMF) signal or notification information, or it can be an indication generated by the first terminal according to service logic.
[0111] It should be noted that when the first indication is triggered by the first terminal, the first indication can be a dial tone or notification information sent by the first terminal via DTMF. At this time, the first indication is forwarded to the first business server via the first server; the first indication can also be sent directly by the first terminal to the first business server.
[0112] In one embodiment, the first server includes a first network server and a first network element; wherein the first network server is used to send the first request; the first network element is used to forward the second message sent by the first network server to the first business server, and is used to forward the first message sent by the first business server to the first network server.
[0113] Here, the first network may include a first terminal, a first server, a first network server, a first network element, a first electronic device, and a first application server. The first network server and the first network element may be co-located on the same device, such as the first server; the first network server and the first network element may also be separately located on different devices. The first electronic device may be separate from the first server and located on different devices; the first electronic device may be co-located with the first server, the first network server, or the first network element.
[0114] When the first network server and the first network element are co-located on the first server, the first server includes a first network device and a first network element. The first network element is used to forward requests, instructions, messages, or notifications exchanged between the first network server and the first application server; for example, the first network element is at least used to forward a second message sent by the first network server to the first service server, and to forward a first message sent by the first service server to the first network server. The first network server is used to communicate with devices on the second network; for example, the first network server is at least used to send a first request. When the first indication is triggered by the first terminal, the first network element may also receive the first indication sent by the first terminal via the first network server and forward the first indication to the first network element.
[0115] It should be noted that the first network server can be at least one of the following: VoLTE Application Server (VoLTE AS), TAS (VoLTE Application Server), Multimedia Telephony Application Server (MMTeL AS), IP Multimedia Subsystem (IMS) AS, color ringback tone platform, intermediate number platform, customized alert tone application server (CAT AS), customized ringing tone application server (CRS AS), video insertion AS, video insertion platform, etc. The first network element can be at least one of the following: VoNR+ capability network element, VoNR+ platform, data channel signaling function (DCSF), new call platform, enhanced call platform. VoLTE is voice over long-term evolution. VoLTE is voice over long-term evolution. Customized alert tone application server can also be called customized ringback tone server or color ringback tone application server. The customized ring tone application server may also be called a multimedia ring tone application server, a multimedia color ring tone application server, or a color ring tone application server.
[0116] Before sending the first request, a first bearer needs to be established. Based on this, in one embodiment, when the first bearer exists, before sending the first request, the method further includes:
[0117] receiving a second request, and forwarding the second request to the first terminal; wherein,
[0118] The second request is initiated by the second terminal or the second server of the second network, and is used to request establishment of the first bearer.
[0119] Here, the second request can be initiated by the second server of the second network or by the second terminal of the second network and forwarded to the first network via the second server; that is, the second request can be generated by the second server or by the second terminal. The second request can be understood as a one-way video negotiation request, a one-way video negotiation message, a media renegotiation request, a one-way video media negotiation request, or a one-way video media negotiation message. The second request can be a re-INVITE request, a re-INVITE message, an UPDATE request, or an UPDATE message.
[0120] The first bearer can be established in any of the following ways:
[0121] The second server generates a second request and sends the second request to the first server; the first server receives the second request sent by the second server and forwards the second request to the first terminal to establish a first bearer;
[0122] The second terminal generates a second request and sends it to the first server via the second server. The first server receives the second request and forwards it to the first terminal to establish a first bearer. The first bearer can be understood as a one-way video bearer between the second network and the first terminal.
[0123] In the case where the second request is initiated by the second server or the second network server, in one embodiment, the first bearer is a unidirectional video bearer between the second electronic device and the first terminal, and the second electronic device is at least used to send video.
[0124] Here, the first bearer can be understood as a one-way video bearer; the first bearer can be divided into at least two segments, one segment is the bearer between the second network and the first network, which is a one-way video bearer, and the other segment is the bearer between the first network and the first terminal, which is a one-way video bearer.
[0125] In actual application, the starting point of the first bearer is the media plane of the second network, and the end point is the first terminal; the first bearer can be divided into two sections, one section is a one-way video bearer between the media plane of the second network and the media plane of the first network, and the other section is a one-way video bearer between the media plane of the first network and the first terminal.
[0126] The media plane of the second network can be integrated with the second server or installed separately from the second server. For example, the functions of the media plane of the second network are implemented by a second electronic device, which can be understood as a media plane device and can provide video materials. The second electronic device can be at least one of the following: VoNR+media plane, DCMF, or MRF.
[0127] Correspondingly, the embodiment of the present disclosure further provides a one-way video playback method, which is applied to the second server of the second network, as shown in FIG2 , and includes:
[0128] Step 201: Receive a first request.
[0129] Here, the first request comes from the first network; the first request may be initiated by the first terminal of the first network, or may be initiated by the first server of the first network.
[0130] Step 202: Send a third request to the second terminal according to the first request; wherein,
[0131] The first request is received when a first bearer already exists, the first bearer being used only to transmit video sent by an electronic device on the second network to a first terminal on the first network, the electronic device being used at least to send and receive video; the first request is used to request establishment of a second bearer, the second bearer being used to send and receive video transmitted between the first network and the second network;
[0132] The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0133] Here, when the first request is initiated by the first server of the first network, the second server sends a third request to the second terminal according to the first request. At this time, the second bearer is a two-way video bearer between the first electronic device and the electronic device of the second network. The first electronic device refers to the electronic device of the first network, and the electronic device of the second network can be called the second electronic device.
[0134] It should be noted that, when the first request is initiated by the first terminal of the first network, the second server forwards the received first request to the second terminal. In this case, the second bearer is a unidirectional video bearer between the first terminal and the second terminal.
[0135] In order to facilitate one-way video negotiation between the first terminal and the second terminal to establish a second bearer, in one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0136] To facilitate the establishment of the second bearer, the attributes of the second bearer may be specified in the first request. Based on this, in one embodiment, the attribute of the second bearer in the first request is to send and receive video.
[0137] After the second server initiates a second request to establish the first bearer, if the first server initiates a first request,
[0138] In the case where the first bearer is established based on the second request initiated by the second server, the second server needs to send a third request to the second terminal based on the received first request, rather than directly forwarding the first request to the second terminal. Based on this, in one embodiment, sending the third request to the second terminal of the second network based on the first request includes:
[0139] In a case where the first bearer is a unidirectional video bearer between the electronic device of the second network and the first terminal, a third request is sent to the second terminal according to the first request.
[0140] Here, in the case where the first bearer is a one-way video bearer between an electronic device of the second network and the first terminal, it is characterized that the first bearer is established based on a second request initiated by the second server, and the second server sends a third request to the second terminal based on the first request to establish a one-way video bearer that only sends video to the second terminal.
[0141] In order to establish a unidirectional video bearer for the second terminal to send a unidirectional video to the second terminal, in one embodiment, sending a third request to the second terminal according to the first request includes:
[0142] Modify the attribute of the second bearer in the first request from sending and receiving video to sending video only to the second terminal, to obtain the third request;
[0143] Send the third request to the second terminal.
[0144] Here, after the second server generates a second request and sends the second request to the first server to establish the first bearer, the second server, upon receiving the first request and the first request being initiated by the first server, modifies the attribute of the second bearer in the first request from sending and receiving video to sending video only to the second terminal, thereby obtaining a third request; for example, the identifier of the attribute of the second bearer carried in the first request is modified from sendrecv to sendonly, thereby obtaining a third request; and the third request is sent to the second terminal.
[0145] When a first bearer is established based on a second request initiated by a second server, and the first request is initiated by the first server, the second server may modify the attributes of the second bearer. Based on this, in one embodiment, the second server includes a second network server and a second network element; wherein the second network server is configured to receive the first request, send a third message to the second network element based on the first request, receive a fourth message or a fifth message sent by the second network element, and send the third request to the second terminal based on the fourth message, or forward the first request to the second terminal based on the fifth message; the third message is configured to indicate that the attribute of the second bearer is to transmit and receive video, the fourth message is configured to instruct the second network server to modify the attribute of the second bearer from transmitting and receiving video to transmitting video only to the second terminal, and the fifth message is configured to instruct the second network server to directly forward the first request.
[0146] Here, the second network may be deployed with a second terminal, a second server, a second network server, a second network element, a second electronic device, and a second application server. The second network server and the second network element may be deployed in the second network. The second network server and the second network element may be co-located on the same device, such as the second server; the second network server and the second network element may also be separately located on different devices. The second electronic device is used to implement the functions of the media plane of the second network; the second electronic device may be separate from the second server and located on different devices; the second electronic device may be co-located with the second server, the second network server, or the second network element.
[0147] In the case where the second network server and the second network element are co-located on the second server, the second server includes a second network device and a second network element. The second network element can be used to forward requests, messages, or notifications exchanged between the second network server and the second application server, and can also be used to receive a third message sent by the second network server, and return a fourth message to the second network server based on the third message, that is, the second network element notifies the second network server to modify the attributes of the second bearer; the second network element can also be used to send a fifth message to the second network server. Among them, the third message can be a call event notification, a call event notification message, or a media update request media_update_request; the third message can carry an executedSeRvice parameter and an avBearerInfo parameter; the executedSeRvice parameter is used to indicate the ID of the service for playing one-way video; the avBearerInfo parameter is used to indicate the attributes of the second bearer. The fourth and fifth messages can be understood as call control messages or call control requests. The fourth and fifth messages can include control information for the video media stream. The control information for the video media stream in the fourth message is used to indicate that the stream mode (streamode) of the first terminal is to only send the video stream, and the stream mode of the second terminal is to send and receive the video stream. For example, the stream mode of the first terminal is sendonly, and the stream mode of the second terminal is sendrecv. The control information for the video media stream may include:
[0148] Control direction 1: first terminal, streammode: sendonly;
[0149] Control direction 2: second terminal, streammode: sendrecv.
[0150] It should be noted that when the first request is initiated by the first network server, the attribute of the second bearer in the first request can be sendrecv, the second network element receives the third message sent by the second network server, and returns the fourth message to the second network server based on the third message. When the first request is initiated by the first terminal, the attribute of the second bearer in the first request can be sendonly, and the second network element sends the fifth message to the second network server.
[0151] The second network server is used to communicate with the device in the first network. For example, the second network server is at least used to receive the first request and can also be used to send the second request.
[0152] It should be noted that the second network server can be at least one of the following: VoLTE AS, TAS, IMS AS, color ring back tone platform, intermediate number platform, CAT AS, CRS AS, video insertion AS, video insertion platform, etc. The second network element can be at least one of the following: VoNR+ capability network element, VoNR+ platform, DCSF, new call platform, and enhanced call platform.
[0153] When the first bearer is established based on the second request initiated by the second server, and the first request is initiated by the first server, the second service server of the second network can modify the attributes of the second bearer, or the second service server can instruct the second server or the second network server to modify the attributes of the second bearer. Based on this, in one embodiment, sending a third request to the second terminal based on the first request includes:
[0154] Sending a third message to a second service server of the second network according to the first request, where the third message is used to indicate that an attribute of the second bearer is video transmission and reception;
[0155] receiving a sixth message sent by the second service server according to the third message; wherein the sixth message is used to indicate that the attribute of the second bearer is changed from sending and receiving video to sending video only to the second terminal;
[0156] A third request is sent to the second terminal according to the sixth message.
[0157] Here, at least a second terminal, a second server, and a second application server are deployed in the second network; when the first request is initiated by the first server, the second server receives the first request and sends a third message to the second business server according to the first request; the second business server changes the attribute of the second bearer from sending and receiving video to sending video only to the second terminal according to the third message, for example, changes the attribute of the second bearer from sendrecv to sendonly, and sends a sixth message to the second server; the second server receives the sixth message sent by the second application server, and sends a third request to the second terminal according to the sixth message, in which the attribute of the second bearer is sendonly. Alternatively, the second business server may also send a sixth message to the second server according to the third message to instruct the second server to change the attribute of the second bearer from sendrecv to sendonly; the second server changes the attribute of the second bearer from sendrecv to sendonly according to the sixth message and sends a third request to the second terminal.
[0158] It should be noted that, when the second network server and the second network element can be jointly installed on the second server, the second network server can send a third message to the second network element, and the second network element forwards the third message sent by the second network server to the second application server; the second application server sends a sixth message to the second network element based on the third message, and the second network element forwards the sixth message sent by the second application server to the second network server.
[0159] The third message can be understood as a call event notification, a call event notification message, or a media update request media_update_request; the sixth message can be understood as a call control message or a call control request, and the third request can be a re-INVITE request, a re-INVITE message, an UPDATE request, or an UPDATE message. The sixth message can include control information of the video media stream, and the control information of the video media stream is used to indicate that the stream mode (streamode) of the first terminal is to only send the video stream, and the stream mode of the second terminal is to send and receive the video stream; for example, the stream mode of the first terminal is sendonly, and the stream mode of the second terminal is sendrecv. The control information of the video media stream may include:
[0160] Control direction 1: first terminal, streammode: sendonly;
[0161] Control direction 2: second terminal, streammode: sendrecv.
[0162] The first request is received when the first bearer already exists. Therefore, the first bearer needs to be established before receiving the first request. Based on this, in one embodiment, before receiving the first request, the method further includes:
[0163] Send a second request, where the second request is used to request establishment of the first bearer.
[0164] Here, the second request may be initiated or generated by the second terminal of the second network and sent to the second server; the second request may also be initiated or generated by the second server of the second network.
[0165] In the case where the second request is initiated by the second server, in one embodiment, sending the second request includes:
[0166] sending a seventh message to the second service server of the second network, where the seventh message indicates that an off-hook event occurs at the second terminal;
[0167] receiving an eighth message sent by the second service server according to the seventh message; wherein the eighth message is used to instruct the second server to initiate the second request;
[0168] The second request is sent according to the eighth message.
[0169] Here, the seventh message can be understood as a call event notification or a call event notification message. The seventh message is used to notify the second terminal that an off-hook event has occurred. The off-hook event that occurs at the second terminal is ANSWER, that is, the second terminal picks up the phone to answer the call; the eighth message can be understood as a call control message or a call control request. The eighth message may include an operation type and an operation direction. The operation type is AV_CONTROL, and the operation direction is the first terminal, that is, sending video to the first terminal.
[0170] The following further illustrates the embodiment of the present disclosure with reference to the interactive flow diagram.
[0171] Figure 3 shows a video playback method in a first application scenario. The first application scenario is: Server B on a second network initiates a one-way video negotiation with a first terminal on a first network and establishes a first bearer. Server A then initiates a one-way video negotiation with the second terminal. The one-way video playback method shown in Figure 3 includes:
[0172] Step 1: The second service server of the second network sends a call control message to server B of the second network.
[0173] Here, the call control message is sent when the second service server receives the off-hook event of the second terminal reported by server B. The call control message is used to instruct server B to initiate a second request, or to instruct server B to synchronously perform a second operation when initiating the second request; the second operation represents at least anchoring the audio bearers of the first terminal and the second terminal to the second electronic device, and can also anchor the video bearers of the first terminal and the second terminal to the second electronic device. The second electronic device is used to realize the function of the media interface of the second network.
[0174] When the second network server and the second network element are installed in the same device, server B is the second server of the second network mentioned above. When the second network server and the second network element are installed in different devices, server B is the second network server.
[0175] Step 2: Server B generates a second request and sends the second request to server A on the first network.
[0176] Here, the second request can be a re-INVITE request, a re-INVITE message, an UPDATE request, or an UPDATE message. The second request can carry the audio / sendrecv and video / sendonly flags to request the establishment of a first bearer, which is used only to transmit video sent from the second network to the first terminal. The audio / sendrecv flag indicates that the second terminal supports audio transmission and reception, while the video / sendonly flag indicates that the second terminal only supports video transmission to the first terminal.
[0177] When the first network server and the first network element are installed in the same device, server A is the first server of the first network mentioned above. When the first network server and the first network element are installed in different devices, server A is the second network server.
[0178] It should be noted that when server B sends the second request to server A, it can also synchronously perform the second operation, that is, at least anchor the audio bearers of the first terminal and the second terminal to the second electronic device.
[0179] Step 3: Server A receives the second request sent by server B, and forwards the second request to the first terminal of the first network.
[0180] Step 4: The first terminal receives the second request, performs a one-way video negotiation with the second terminal according to the second request, and establishes a first bearer when the second terminal completes the one-way video negotiation with the first terminal.
[0181] Here, the first bearer can be understood as a one-way video bearer between the second network and the first terminal. Specifically, the first bearer is a one-way video bearer between the second electronic device and the first terminal, and the first bearer is only used to transmit video sent to the first terminal. The first bearer can be divided into two sections: one section is a two-way video bearer between the second electronic device and the first electronic device, and the other section is a one-way video bearer between the first electronic device and the first terminal. The second electronic device can be set up separately from server B on a different device, or it can be set up together with server B.
[0182] The one-way video negotiation can negotiate the video stream resolution, transmission rate, video stream format, etc. For the relevant servers and devices of the first network and the second network, the attribute of the first bearer can be marked as sendonly.
[0183] Step 5: The first service server of the first network sends a first message to server A of the first network.
[0184] Here, the first message can be understood as a call control message or a call control request. The first message is used to instruct server A to initiate the first request, or to instruct server A to synchronously perform a first operation when initiating the first request. The first operation at least represents anchoring the audio bearer of the first terminal and the second terminal to the first electronic device, and may also represent anchoring the video bearer of the first terminal and the second terminal to the first electronic device. The first electronic device is used to implement the functions of the media plane of the first network.
[0185] The first message is sent when at least one of the following conditions is met:
[0186] The first service server receives a second message sent by server A, where the second message indicates that an off-hook call event occurs at the first terminal;
[0187] The first service server receives a first instruction; the first instruction is triggered or sent by the first terminal, and is used to instruct the first terminal to request to send a video to the second terminal;
[0188] The second terminal supports video calls.
[0189] Step 6: Server A receives the first message and determines based on the first message that Server A needs to initiate a first request; Server A determines that the first bearer already exists, the first request needs to carry the first identifier, and the attribute of the second bearer carried in the first request needs to be set to sending and receiving video, such as sendrecv.
[0190] Here, when the first message is used to instruct server A to synchronously perform the first operation when initiating the first request, server A also determines, based on receiving the first message, that the first operation needs to be performed synchronously when initiating the first request, so as to anchor both the audio stream of the first terminal and the audio stream of the second terminal to the first electronic device.
[0191] Step 7: Server A generates a first request and sends the first request to Server B.
[0192] Here, the first request may be a re-INVITE request, a re-INVITE message, an UPDATE request, or an UPDATE message. The first request may carry a first identifier and sendrecv; the first request is used to request the establishment of a second bearer, and the second bearer is only used to transmit video sent from the first network to the second terminal of the second network. sendrecv indicates support for sending and receiving video. The first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0193] In actual application, the first request may carry a Service-Interact-Info header field containing a first identifier. The Service-Interact-Info header field is used to indicate that the first terminal is initiating a one-way video session with the second terminal. The Service-Interact-Info header field may include an executed-Services field. The value of the executed-Services field may be a string, such as an 8-character string containing quotation marks. The value of the executed-Services field can also be configured based on actual needs; characters include English letters, Roman numerals, and Western symbols. When the value of the executed-Services field is an 8-character string, the encoding rule for the executed-Services field value can be: the first digit represents the service category (e.g., the first digit is 6, indicating a one-way video service, i.e., a one-way video identifier); the second to seventh digits represent the service ID; and the eighth digit represents the sub-service ID. The encoding rule for the executed-Services field can also be configured based on actual circumstances or business needs.
[0194] It should be noted that when the first message is used to instruct server A to synchronously perform the first operation when initiating the first request, when server A sends the second request to server B, it also synchronously performs the first operation, that is, at least anchors the audio bearers of the first terminal and the second terminal to the first electronic device.
[0195] Step 8: Server B receives the first request and changes the attribute of the second bearer in the first request from sendrecv to sendonly, that is, changes the attribute of the second bearer from sending and receiving video to sending video only to the second terminal, thereby obtaining a third request.
[0196] Here, the third request may carry the first identifier and sendonly; sendonly indicates that the video can only be sent to the second terminal.
[0197] Step 9: Server B sends a third request to the second terminal, and the second terminal receives the third request.
[0198] Step 10: The second terminal performs a one-way video negotiation with the first terminal according to the received first request; when the second terminal and the first terminal complete the one-way video negotiation, a second bearer is established.
[0199] Here, the second bearer is used to receive video sent by the second network to the first terminal and to transmit video sent to the second terminal. The second bearer is divided into two segments: one is a bidirectional video bearer between the first electronic device and the second electronic device, and the other is a unidirectional video bearer between the second electronic device and the second terminal.
[0200] It should be noted that, in actual application, the video transmission method of the embodiment of the present disclosure can also be applied to the second application scenario and the third application scenario. Among them, the second application scenario is: when the second terminal of the second network initiates a one-way video negotiation to the first terminal of the first network and establishes a first bearer, server A then initiates a one-way video negotiation to the second terminal; the implementation process of server A initiating a one-way video negotiation to the second terminal can be the same as steps 6 to 10 in Figure 3, or different from steps 6 to 10 in Figure 3. The difference can be: the attribute of the second bearer in the first request initiated by server A to the second terminal is to send video only to the second terminal, and server B directly forwards the first request to the second terminal. The third application scenario is: when server B on the second network initiates a one-way video negotiation to the first terminal of the first network and establishes a first bearer, the first terminal then initiates a one-way video negotiation to the second terminal; the implementation process of the first terminal initiating a one-way video negotiation to the second terminal can be: the first terminal sends a first request to server A; server A receives the first request sent by the first terminal and forwards the first request to server B; server B receives the first request sent by server A and forwards the first request to the second terminal; the second terminal performs a one-way video negotiation with the first terminal based on the received first request; when the second terminal completes the one-way video negotiation with the first terminal, a second bearer is established.
[0201] The present disclosure is further described in detail below with reference to application examples.
[0202] Application Example 1
[0203] The application scenario of Application Example 1 is as follows: a first network server, a first network element, a first application server, and a first electronic device are deployed in a first network, and a second network server, a second network element, a second application server, and a second electronic device are deployed in a second network device; when the second network server initiates a one-way video negotiation with the first terminal of the first network and establishes a first bearer, the first network server of the first network then initiates a one-way video negotiation with the second terminal of the second network. The first network server and the second network server can be VOLTE AS, the first network element and the second network element can be VoNR+ capable network elements, and the first electronic device and the second electronic device can be VoNR+ media planes.
[0204] As shown in FIG4 , the video playback method includes the following steps:
[0205] Step 1: A first terminal on a first network makes an audio call to a second terminal on a second network. The first terminal may send an INVITE 183 message / PRACK / UPDATE 180 message to the second terminal to start a resource reservation process.
[0206] Step 2: The second terminal goes off-hook (answers the audio), and sends an INVITE 200OK to the second network server.
[0207] Step 3: The second network triggers a unidirectional video media renegotiation request for the first terminal, completes end-to-end media renegotiation, and establishes a first bearer.
[0208] Here, the first bearer is a one-way video bearer between the second electronic device and the first terminal, and is only used to send video to the first terminal. The first bearer can be divided into two segments: one segment is a two-way video bearer between the second electronic device and the first electronic device, and the other segment is a one-way video bearer between the first electronic device and the first terminal. The second electronic device can be set up separately from the second network server and the second network element on a different device, or it can be co-located with the second network server on the same device, or it can be co-located with the second network element on the same device.
[0209] Step 4: The second network server forwards the INVITE 200 OK to the first network server.
[0210] Step 5: The first network server sends a second message to the first network element.
[0211] Here, the second message can be a call event notification, used to report an off-hook call event at the first terminal, and can also be used to report an off-hook event at the second terminal or an answer event. The second message can indicate that the session is a one-way video call and whether the second terminal supports video calls.
[0212] Step 6: The first network element forwards the received second message to the first service server.
[0213] Step 7: The first service server sends the first message to the first network element according to the second message.
[0214] Here, the first message may be a call control message, including control information of the video media stream; the control information of the video media stream is used to indicate that the stream mode (streamode) of the first terminal is to send only the video stream, and the stream mode of the second terminal is to send and receive the video stream; for example, the stream mode of the first terminal is sendrecv, and the stream mode of the second terminal is sendonly. The control information of the video media stream may include:
[0215] Control direction 1: caller (first terminal), streammode: sendonly;
[0216] Control direction 2: callee (second terminal), streammode: sendrecv.
[0217] Step 8: The first network element forwards the received first message to the first network server.
[0218] Step 9: The first network server constructs a one-way video Session Description Protocol (SDP) according to the received first message.
[0219] Step 10: The first network server instructs the first electronic device to create a media stream resource, where the media stream resource includes the audio stream and the video stream of the first terminal and the second terminal.
[0220] Step 11: The first network server returns an acknowledgment message ACK (Acknowledge) to the second network server.
[0221] Step 12: The second network server forwards the received confirmation message ACK to the second terminal.
[0222] Step 13: When the first bearer exists, the first network server initiates a first request to the second network server. The first request may be a re-INVITE message.
[0223] Here, the first request is used to request the establishment of a second bearer, and the second bearer is used to transmit the video sent by the first electronic device to the second terminal. The second bearer is used to send and receive the video transmitted between the first electronic device and the second electronic device, and is only used to send the video to the second terminal.
[0224] The first request may carry a first identifier and an identifier of a second bearer attribute, where the identifier of the second bearer attribute may be sendrecv. The first identifier represents a one-way video negotiation identifier.
[0225] Optionally, the first request may also carry SDP description information, which may include the port numbers of the audio bearers of the first terminal and the second terminal, and the port numbers of the video bearers of the first terminal and the second terminal, which are the port numbers of the first electronic device.
[0226] Step 14: The second network server sends a third message to the second network element according to the received first request.
[0227] Here, the third message can be a call control notification or a media update request (media_update_request). The third message indicates that the attribute of the second bearer is video transmission and reception. The first request is used to request the establishment of the second bearer, and the second bearer is used to transmit and receive video transmitted between the first network and the second network. Specifically, the second bearer is a bidirectional video bearer between the first electronic device and the second electronic device.
[0228] Step 15: The second network element receives the third message, determines according to the third message that the first request carries the first identifier, and determines that the second network server needs to be notified to change the attribute of the second bearer from sendrecv to sendonly.
[0229] Step 16: The second network element sends a fourth message to the second network server.
[0230] Here, the fourth message may be a call control message, used to instruct the second network server to change the attribute of the second bearer from sendrecv to sendonly, that is, to change the attribute of the second bearer from sending and receiving video to sending video only to the second terminal.
[0231] Step 17: The second network server instructs the second electronic device to update the media stream resources, mainly adding the video media stream resources of the second terminal. The second network server may also perform media negotiation with the second electronic device.
[0232] Step 18: The second network server modifies the attribute of the second bearer in the first request from sendrecv to sendonly, obtains a third request, and sends the third request to the second terminal.
[0233] Here, the third request carries the first identifier and sendonly. The third request is used to request establishment of a third bearer. The third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0234] Step 19: The second terminal returns a 200 OK message to the second network server. The 200 OK message may indicate that the video is only sent to the second terminal.
[0235] Step 20: The second network server notifies the second electronic device to update the media stream resources, and to set a bidirectional association relationship for the audio stream and a unidirectional association relationship for the video stream based on the media source parameters.
[0236] Step 21: The second network server sends a result notification (call control result notification) to the second network element.
[0237] Step 22: The second network element forwards the result notification to the second service server.
[0238] Afterwards, the first network server notifies the first electronic device to update the media stream resources, set a bidirectional association relationship for the audio stream, and set a unidirectional association for the video stream based on the media source parameters, and the second bearer is established.
[0239] Step 23: After receiving the result notification (call control result notification) reported by the first network server, the first service server sends a video play request to the first electronic device through the first network element. The first electronic device downloads the video and sends the video to the second terminal.
[0240] Application Example 2
[0241] The difference between Application Example 2 and Application Example 1 is that in Application Example 1, the second network element instructs the second network server to modify the attributes of the second bearer, while in Application Example 2, the second service server modifies the attributes of the second bearer. Specifically, as shown in Figure 5, the difference between Application Example 2 and Application Example 1 lies in steps 14 to 16.
[0242] Step 14: The second network server sends a third message to the second service server through the second network element, and the second network element is used to forward the third message.
[0243] Step 15: The second service server receives the third message, determines according to the third message that the attribute of the second bearer needs to be changed from sendrecv to sendonly, and generates a sixth message.
[0244] Here, the third message is used to indicate that the attribute of the second bearer is to send and receive video. The second service server determines based on the third message that the second bearer to be established is actually a one-way video bearer initiated by the first network to the second terminal. Since a one-way video bearer (first bearer) already exists, the second service server determines that the attribute of the second bearer needs to be changed from sendrecv to sendonly, and generates the sixth message. The sixth message can be used to instruct the second network server to change the attribute of the second bearer from sending and receiving video to sending video only to the second terminal, that is, to change the attribute of the second bearer from sendrecv to sendonly.
[0245] Step 16: The second service server sends a sixth message to the second network element, and the second network element forwards the sixth message to the second network server, so that the second service server sends a third request to the second terminal according to the sixth message.
[0246] When the second network server receives the sixth message, it modifies the attribute of the second bearer from sendrecv to sendonly according to the sixth message, and sends a third request to the second terminal. The third request carries the first identifier and sendonly.
[0247] The following describes step 3 in FIG. 4 and FIG. 5 in detail with reference to FIG. 6 .
[0248] As shown in FIG6 , the method for establishing a first bearer and using the first bearer to transmit a video includes the following steps:
[0249] Step 1: The first terminal initiates an audio call to the second terminal, and the second terminal goes off-hook.
[0250] Step 2: The second terminal sends an INVITE 200OK to the second network server.
[0251] Step 3: The second network server sends a seventh message to the second service server through the second network element.
[0252] Here, the second network element is used to forward the seventh message. The seventh message may be a call event notification, indicating that an off-hook event occurs at the second terminal; that is, the seventh message may report the off-hook event ANSWER.
[0253] Step 4: The second service server returns an eighth message to the second network server through the second network element according to the seventh message.
[0254] Here, the eighth message may be a call control message for instructing the second server to initiate the second request. The eighth message may include an operation type and an operation direction, where the operation type is AV_CONTROL and the operation direction is the first terminal, that is, sending the video to the first terminal.
[0255] Step 5: The second network server receives the eighth message and sends an off-hook response ACK to the second terminal.
[0256] Step 6: The second network server sends a media re-negotiation request re-INVITE to the second electronic device, where the re-INVITE does not contain SDP.
[0257] Step 7: The second electronic device returns a 200 OK response to the second network server.
[0258] Step 8: The second network server requests or instructs the second electronic device to create a media stream resource, where the media stream resource includes the audio stream of the first terminal, the audio stream of the second terminal, and the video stream of the first terminal.
[0259] Step 9: The second network server determines whether an SDP offer is received. If an SDP offer is received, it needs to initiate media re-negotiation with the first terminal; and determines whether there is a service request for negotiating a one-way video with the caller.
[0260] Here, the SDP offer can be understood as an SDP proposal. If the second network server does not receive the SDP offer, then the second network server does not need to initiate media renegotiation with the first terminal. If there is a service request to negotiate a one-way video with the caller, then media renegotiation must be initiated with the first terminal. If media renegotiation is required with the first terminal, execute step 10.
[0261] Step 10: The second network server sends a second request to the first network server according to the eighth message, and the first network server forwards the second request to the first terminal. The second request is a media update request UPDATE message.
[0262] Here, the second request carries sendonly.
[0263] Step 11: The first terminal returns a response regarding the second request to the second network server through the first network server.
[0264] Here, the response to the second request may be a media update response Update 200OK.
[0265] Step 12: The second network server notifies the second electronic device to update the media stream resources and only sets the audio stream resource association relationship. The first bearer is established.
[0266] Step 13: The second network server returns a media renegotiation ACK to the second terminal.
[0267] Step 14: The second network server sends an audio off-hook INVITE 200OK to the first terminal through the first network server.
[0268] Step 15: The first terminal returns an off-hook response ACK to the second network server through the first network server.
[0269] Step 16: The second network server sends a call control result notification to the second application server through the second network element, where the call control result notification indicates that the audio and video media stream operation is successful.
[0270] Step 17: The second application server requests the second network element to play the video.
[0271] Step 18: The second network element requests the second electronic device to play the video.
[0272] Step 19: The second electronic device sends the video to the first terminal and sends a video play status notification to the second network element.
[0273] Step 20: The second network element sends a video play status notification to the second electronic device.
[0274] In order to implement the method on the first server side of the first network according to the embodiment of the present disclosure, the embodiment of the present disclosure further provides a video transmission device, which is provided on the first server of the first network. As shown in FIG7 , the device includes:
[0275] The first sending unit 701 is configured to send a first request when a first bearer exists; wherein,
[0276] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0277] In one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0278] In one embodiment, the attribute of the second bearer in the first request is sending and receiving video.
[0279] In one embodiment, the second bearer is used to receive the video sent by the second network to the first terminal, and is used to transmit the video sent to the second terminal.
[0280] In one embodiment, the apparatus further comprises:
[0281] The second receiving unit is configured to receive a first message sent by a first service server of the first network; wherein the first message is used to instruct the first server to initiate the first request.
[0282] In one embodiment, the first message is sent when at least one of the following conditions is met:
[0283] The first service server receives a second message sent by the first server, where the second message indicates that an off-hook call event occurs at the first terminal;
[0284] The first service server receives a first instruction; the first instruction is triggered or sent by the first terminal, and is used to instruct the first terminal to request to send a video to the second terminal;
[0285] The second terminal supports video calls.
[0286] In one embodiment, the first server includes a first network server and a first network element; wherein the first network server is used to send the first request; the first network element is used to forward the second message sent by the first network server to the first business server, and is used to forward the first message sent by the first business server to the first network server.
[0287] In one embodiment, the apparatus further comprises:
[0288] a third receiving unit, configured to receive a second request;
[0289] The third sending unit is configured to forward the second request to the first terminal; wherein,
[0290] The second request is initiated by the second terminal or the second server of the second network, and is used to request establishment of the first bearer.
[0291] In actual application, the first sending unit 701, the second receiving unit, the third receiving unit and the third sending unit can be implemented by a processor in the video transmission device in combination with a communication interface.
[0292] In order to implement the method on the second server side of the second network in the embodiment of the present disclosure, the embodiment of the present disclosure further provides a video transmission device, which is provided on the second server of the second network. As shown in FIG8 , the device includes:
[0293] A first receiving unit 801 receives a first request;
[0294] The second sending unit 802 is configured to send a third request to the second terminal of the second network according to the first request; wherein,
[0295] The first request is received when a first bearer already exists, the first bearer being used only to transmit video sent by an electronic device on the second network to a first terminal on the first network, the electronic device being used at least to send and receive video; the first request is used to request establishment of a second bearer, the second bearer being used to send and receive video transmitted between the first network and the second network;
[0296] The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0297] In one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0298] In one embodiment, the attribute of the second bearer in the first request is sending and receiving video.
[0299] In one embodiment, the second sending unit 802 is specifically configured to send a third request to the second terminal according to the first request when the first bearer is a unidirectional video bearer between the electronic device of the second network and the first terminal.
[0300] In one embodiment, the apparatus further includes: a modification unit configured to modify an attribute of the second bearer in the first request from transmitting and receiving video to transmitting video only to the second terminal, thereby obtaining the third request;
[0301] The second sending unit 802 is specifically configured to send the third request to the second terminal.
[0302] In one embodiment, the second server includes a second network server and a second network element; wherein the second network server is used to receive a first request, send a third message to the second network element according to the first request, receive a fourth message or a fifth message sent by the second network element, and send the third request to the second terminal according to the fourth message, or forward the first request to the second terminal according to the fifth message; the third message is used to indicate that the attribute of the second bearer is to send and receive video, the fourth message is used to instruct the second network server to change the attribute of the second bearer from sending and receiving video to only sending video to the second terminal, and the fifth message is used to instruct the second network server to directly forward the first request.
[0303] In one embodiment, the apparatus further comprises:
[0304] a fourth sending unit, configured to send a third message to the second service server of the second network according to the first request, wherein the third message is used to indicate that the attribute of the second bearer is video transmission and reception;
[0305] a fourth receiving unit, configured to receive a sixth message sent by the second service server according to the third message; wherein the sixth message is used to indicate that the attribute of the second bearer is changed from sending and receiving video to sending video only to the second terminal;
[0306] The second sending unit 802 is specifically configured to send a third request to the second terminal according to the sixth message.
[0307] In one embodiment, the apparatus further comprises:
[0308] The fifth sending unit is used to send a second request, where the second request is used to request to establish the first bearer.
[0309] In one embodiment, the apparatus further comprises:
[0310] A sixth sending unit, configured to send a seventh message to the second service server of the second network, wherein the seventh message indicates that an off-hook event occurs at the second terminal;
[0311] a fifth receiving unit, configured to receive an eighth message sent by the second service server according to the seventh message; wherein the eighth message is used to instruct the second server to initiate the second request;
[0312] The fifth sending unit is specifically configured to send the second request according to the eighth message.
[0313] In actual application, the first receiving unit 801, the second sending unit 802, the fourth sending unit, the fourth receiving unit, the fifth sending unit, the sixth sending unit and the fifth receiving unit can be implemented by a processor in the video transmission device combined with a communication interface, and the modification unit can be implemented by a processor in the video transmission device.
[0314] It should be noted that the above embodiments provide a video transmission device, using the division of the aforementioned program modules as an example. In actual applications, the aforementioned processing can be assigned to different program modules as needed, i.e., the internal structure of the device can be divided into different program modules to complete all or part of the aforementioned processing. Furthermore, the video transmission device and the video transmission method embodiments provided in the above embodiments share the same concept. The specific implementation process is detailed in the method embodiments and will not be further described here.
[0315] Based on the hardware implementation of the above program modules, and in order to implement the method on the first server side of the first network in the embodiment of the present disclosure, the embodiment of the present disclosure further provides a first server, as shown in FIG9 , wherein the first server 900 includes:
[0316] The first communication interface 901 is capable of exchanging information with other network nodes;
[0317] The first processor 902 is connected to the first communication interface 901 to implement information exchange with other network nodes and is used to execute the methods provided by one or more technical solutions of the first server side when running a computer program. The computer program is stored in the first memory 903.
[0318] Specifically, the first communication interface 901 is used to send a first request when a first bearer exists; wherein,
[0319] The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request the establishment of the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
[0320] In one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0321] In one embodiment, the attribute of the second bearer in the first request is sending and receiving video.
[0322] In one embodiment, the second bearer is used to receive the video sent by the second network to the first terminal, and is used to transmit the video sent to the second terminal.
[0323] In one embodiment, the first communication interface 901 is further configured to receive a first message sent by a first service server of the first network; wherein the first message is used to instruct the first server to initiate the first request.
[0324] In one embodiment, the first message is sent when at least one of the following conditions is met:
[0325] The first service server receives a second message sent by the first server, where the second message indicates that an off-hook call event occurs at the first terminal;
[0326] The first service server receives a first instruction; the first instruction is triggered or sent by the first terminal, and is used to instruct the first terminal to request to send a video to the second terminal;
[0327] The second terminal supports video calls.
[0328] In one embodiment, the first server includes a first network server and a first network element; wherein the first network server is used to send the first request; the first network element is used to forward the second message sent by the first network server to the first business server, and is used to forward the first message sent by the first business server to the first network server.
[0329] In one embodiment, the first communication interface 901 is further configured to receive a second request and forward the second request to the first terminal; wherein,
[0330] The second request is initiated by the second terminal or the second server of the second network, and is used to request establishment of the first bearer.
[0331] It should be noted that the specific processing process of the first processor 902 and the first communication interface 901 can be understood by referring to the above method.
[0332] Of course, in actual applications, the various components in the first server 900 are coupled together via a bus system 904. It will be appreciated that the bus system 904 is used to enable communication between these components. In addition to a data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG9 , all of these buses are labeled as the bus system 904.
[0333] The first memory 903 in the embodiment of the present disclosure is used to store various types of data to support the operation of the first server 900. Examples of such data include any computer program used to operate on the first server 900.
[0334] The methods disclosed in the above embodiments of the present disclosure can be applied to the first processor 902 or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the first processor 902. The above first processor 902 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present disclosure can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium located in the first memory 903. The first processor 902 reads the information in the first memory 903 and, in conjunction with its hardware, completes the steps of the above method.
[0335] In an exemplary embodiment, the first server 900 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0336] Based on the hardware implementation of the above program modules, and in order to implement the method on the second server side of the embodiment of the present disclosure, the embodiment of the present disclosure further provides an electronic device, wherein the electronic device includes a terminal or an application server. As shown in FIG10 , the second server 1000 includes:
[0337] The second communication interface 1001 is capable of exchanging information with other network nodes;
[0338] The second processor 1002 is connected to the second communication interface 1001 to implement information exchange with other network nodes and is used to execute the methods provided by one or more technical solutions of the second server side when running a computer program. The computer program is stored in the second memory 1003.
[0339] Specifically, the second communication interface 1001 is configured to receive a first request and send a third request to a second terminal of the second network according to the first request; wherein,
[0340] The first request is received when a first bearer already exists, the first bearer being used only to transmit video sent by an electronic device on the second network to a first terminal on the first network, the electronic device being used at least to send and receive video; the first request is used to request establishment of a second bearer, the second bearer being used to send and receive video transmitted between the first network and the second network;
[0341] The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
[0342] In one embodiment, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
[0343] In one embodiment, the second communication interface 1001 is specifically configured to send a third request to the second terminal according to the first request when the first bearer is a unidirectional video bearer between the electronic device of the second network and the first terminal.
[0344] In one embodiment, the attribute of the second bearer in the first request is sending and receiving video.
[0345] In one embodiment, the second processor 1002 is configured to modify the attribute of the second bearer in the first request from sending and receiving video to sending video only to the second terminal, thereby obtaining the third request;
[0346] The second communication interface 1001 is specifically configured to send the third request to the second terminal.
[0347] In one embodiment, the second server includes a second network server and a second network element; wherein the second network server is used to receive a first request, send a third message to the second network element according to the first request, receive a fourth message or a fifth message sent by the second network element, and send the third request to the second terminal according to the fourth message, or forward the first request to the second terminal according to the fifth message; the third message is used to indicate that the attribute of the second bearer is to send and receive video, the fourth message is used to instruct the second network server to change the attribute of the second bearer from sending and receiving video to only sending video to the second terminal, and the fifth message is used to instruct the second network server to directly forward the first request.
[0348] In one embodiment, the second communication interface 1001 is specifically used to send a third message to the second service server of the second network according to the first request, receive a sixth message sent by the second service server according to the third message, and send a third request to the second terminal according to the sixth message; wherein the third message is used to indicate that the attribute of the second bearer is to send and receive video; and the sixth message is used to indicate that the attribute of the second bearer is changed from sending and receiving video to only sending video to the second terminal.
[0349] In one embodiment, the second communication interface 1001 is further used to send a second request, where the second request is used to request establishment of the first bearer.
[0350] In one embodiment, the second communication interface 1001 is specifically configured to send a seventh message to the second service server of the second network, receive an eighth message sent by the second service server based on the seventh message, and send the second request based on the eighth message; wherein the seventh message indicates an off-hook event at the second terminal; and the eighth message is configured to instruct the second server to initiate the second request. It should be noted that the specific processing procedures of the second processor 1002 and the second communication interface 1001 can be understood with reference to the above method.
[0351] Of course, in actual use, the various components in the second server 1000 are coupled together via a bus system 1004. It will be appreciated that bus system 1004 is used to enable communication between these components. In addition to a data bus, bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG10 , all of these buses are labeled as bus system 1004.
[0352] The second memory 1003 in the embodiment of the present disclosure is used to store various types of data to support the operation of the second server 1000. Examples of such data include: any computer program used to operate on the second server 1000.
[0353] The methods disclosed in the above embodiments of the present disclosure can be applied to or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the second processor 1002. The above second processor 1002 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The second processor 1002 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present disclosure can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the second memory 1003. The second processor 1002 reads the information in the second memory 1003 and, in conjunction with its hardware, completes the steps of the above method.
[0354] In an exemplary embodiment, the second server 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to execute the aforementioned method.
[0355] It can be understood that the memory (first memory 903, second memory 1003) of the embodiment of the present disclosure can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a read-only optical disc (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of the present disclosure are intended to include, but are not limited to, these and any other suitable types of memories.
[0356] In an exemplary embodiment, the present disclosure also provides a storage medium, namely, a computer storage medium, specifically, a computer-readable storage medium, which includes, for example, a first memory 903 storing a computer program. The computer program can be executed by the first processor 902 of the first server 900 to complete the steps of the aforementioned first server-side method. Another example includes a second memory 1003 storing a computer program. The computer program can be executed by the second processor 1002 of the second server 1000 to complete the steps of the aforementioned second server-side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0357] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0358] The term "and / or" herein simply describes an association relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can represent the existence of A alone, the simultaneous existence of A and B, and the existence of B alone. Furthermore, the term "at least one" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.
[0359] In addition, the technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.
[0360] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure.
Claims
1. A video transmission method, applied to a first server of a first network, the method comprising: In the case where the first bearer exists, a first request is sent; wherein, The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request to establish the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
2. According to the method of claim 1, the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send video to the terminal.
3. According to the method of claim 1 or 2, the attribute of the second bearer in the first request is sending and receiving video.
4. The method according to any one of claims 1 to 3, wherein the second bearer is used to receive the video sent by the second network to the first terminal, and is used to transmit the video sent to the second terminal.
5. The method according to any one of claims 1 to 4, before sending the first request, the method further comprises: A first message sent by a first service server of the first network is received; wherein the first message is used to instruct the first server to initiate the first request.
6. The method according to claim 5, wherein the first message is sent when at least one of the following conditions is met: The first service server receives a second message sent by the first server, where the second message indicates that an off-hook call event occurs at the first terminal; The first service server receives a first indication, wherein the first indication is triggered or sent by the first terminal and is used to indicate that the first terminal requests to send a video to the second terminal; The second terminal supports video calls.
7. The method according to claim 6, wherein the first server comprises a first network server and a first network element; wherein, The first network server is used to send the first request; the first network element is used to forward the second message sent by the first network server to the first service server, and to forward the first message sent by the first service server to the first network server.
8. The method according to any one of claims 1 to 7, in the case where the first bearer exists, before sending the first request, the method further comprises: receiving a second request, and forwarding the second request to the first terminal; wherein: The second request is initiated by the second terminal or the second server of the second network, and is used to request to establish the first bearer.
9. A video transmission method, applied to a second server of a second network, the method comprising: receiving a first request; Sending a third request to the second terminal of the second network according to the first request; wherein, The first request is received when a first bearer already exists, the first bearer is only used to transmit a video sent by an electronic device of the second network to a first terminal of the first network, and the electronic device is at least used to send and receive the video; The first request is used to request to establish a second bearer, and the second bearer is used to send and receive video transmitted between the first network and the second network; The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
10. The method according to claim 9, wherein the first request carries a first identifier, the first identifier includes a one-way video identifier and / or a second identifier, and the second identifier is used to indicate that the video bearer is used to send the video to the terminal.
11. The method according to claim 9 or 10, wherein sending a third request to a second terminal of the second network according to the first request comprises: In the case where the first bearer is a unidirectional video bearer between the electronic device of the second network and the first terminal, a third request is sent to the second terminal according to the first request.
12. The method according to any one of claims 9 to 11, wherein the attribute of the second bearer in the first request is sending and receiving video.
13. The method according to claim 12, wherein sending a third request to the second terminal according to the first request comprises: The third request is obtained by modifying the attribute of the second bearer in the first request from sending and receiving video to sending video only to the second terminal; The third request is sent to the second terminal.
14. The method according to any one of claims 10 to 13, wherein the second server comprises a second network server and a second network element; The second network server is configured to receive the first request, send a third message to the second network element according to the first request, receive a fourth message or a fifth message sent by the second network element, and send the third request to the second terminal according to the fourth message, or forward the first request to the second terminal according to the fifth message; The third message is used to indicate that the attribute of the second bearer is to send and receive video, the fourth message is used to instruct the second network server to change the attribute of the second bearer from sending and receiving video to only sending video to the second terminal, and the fifth message is used to instruct the second network server to directly forward the first request.
15. The method according to any one of claims 10 to 13, wherein sending a third request to the second terminal according to the first request comprises: Sending a third message to a second service server of the second network according to the first request, where the third message is used to indicate that an attribute of the second bearer is to send and receive video; receiving a sixth message sent by the second service server according to the third message; wherein the sixth message is used to indicate that the attribute of the second bearer is changed from sending and receiving video to sending video only to the second terminal; Send a third request to the second terminal according to the sixth message.
16. The method according to any one of claims 10 to 13, before receiving the first request, the method further comprises: Send a second request, where the second request is used to request to establish the first bearer.
17. The method according to claim 16, wherein sending the second request comprises: Sending a seventh message to the second service server of the second network, wherein the seventh message indicates that an off-hook event occurs at the second terminal; receiving an eighth message sent by the second service server according to the seventh message; The eighth message is used to instruct the second server to initiate the second request; The second request is sent according to the eighth message.
18. A video transmission device, comprising: The first sending unit is configured to send a first request when a first bearer exists; wherein: The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request to establish the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
19. A video transmission device, comprising: A first receiving unit, receiving a first request; The second sending unit is configured to send a third request to a second terminal of the second network according to the first request; wherein: The first request is received when a first bearer already exists, the first bearer is only used to transmit a video sent by an electronic device of the second network to a first terminal of the first network, and the electronic device is at least used to send and receive videos; the first request is used to request to establish a second bearer, and the second bearer is used to send and receive videos transmitted between the first network and the second network; The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
20. A first server, wherein the first server is located in a first network, and the first server comprises: A first processor and a first communication interface; wherein, The first communication interface is used to send a first request when a first bearer exists; wherein, The first bearer is only used to transmit the video sent by the second network to the first terminal of the first network; the first request is used to request to establish the second bearer, and the second bearer is used to transmit the video sent by the first network to the second terminal of the second network.
21. A second server, wherein the second server is located in a second network, and the second server comprises: A second processor and a second communication interface; wherein, The second communication interface is used to receive the first request and send a third request to the second terminal according to the first request; wherein, The first request is received when a first bearer already exists, the first bearer is only used to transmit a video sent by an electronic device of the second network to a first terminal of the first network, and the electronic device is at least used to send and receive videos; the second request is used to request to establish a second bearer, and the second bearer is used to send and receive videos transmitted between the first network and the second network; The third request is used to request establishment of a third bearer, and the third bearer is only used to transmit the video sent by the first network to the second terminal through the second bearer.
22. A server comprising a processor and a memory for storing a computer program capable of running on the processor, in, When the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 8, or executes the steps of the method described in any one of claims 9 to 17.
23. A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 8, or implements the steps of the method according to any one of claims 9 to 17.
Citation Information
Patent Citations
Method, system and equipment for realizing one-way load in process of establishing and modifying bearer
CN101686171A
Two-way voice calling device in live-shooting and live-broadcasting of mobile phone video
CN103533292A
Techniques to manage reverse channel audio sessions
CN107750449A
Video transmission method and device, server and storage medium
CN118803183A