A communication method, apparatus, node, storage medium, and computer program product
By establishing a call connection between the terminal and the video e-commerce platform, and controlling the connection between media streams and data streams, the problem of needing to install client software on the terminal is solved, enabling video e-commerce transactions without installation, reducing operating costs and expanding user reach.
Patent Information
- Application Number
- CN202411667814.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2044-11-20
AI Technical Summary
In existing technologies, terminals need to pre-install dedicated client software for video e-commerce in order to access video e-commerce platforms, which increases operating costs and limits user reach.
The terminal forwards its call to the video e-commerce platform through the first node, establishes a call connection based on the platform's response, controls the media stream and/or data stream connection between the terminal and the platform, and accesses the video e-commerce platform using the call process of the mobile communication system.
It eliminates the need to pre-install client software on the terminal, reducing operating costs, expanding user reach, and enabling video e-commerce transactions through the terminal's native call function.
Smart Images

Figure CN119603276B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the wireless technical field, and particularly relates to a communication method, device, node, storage medium and computer program product. BACKGROUND
[0002] In the related art, a terminal accesses a video e-commerce platform through a client software specially used for video e-commerce, so as to realize video e-commerce transaction. However, the client software needs to be pre-installed in the terminal (UE, User Equipment) by a user, which increases the operation cost of the terminal accessing the video e-commerce platform. SUMMARY
[0003] To solve the problems in the related art, the embodiments of the present application provide a communication method, device, node, storage medium and computer program product.
[0004] The technical scheme of the embodiments of the present application is implemented as follows:
[0005] The embodiments of the present application provide a communication method applied to a first node, and the method comprises the following steps.
[0006] forwarding a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and sending a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform, wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform;
[0007] controlling the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
[0008] In the above scheme, the first call carries a first number; the step of forwarding the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform comprises the following steps.
[0009] determining the first video e-commerce platform corresponding to the first number from a plurality of video e-commerce platforms based on the first number;
[0010] forwarding the first call based on a service address of the first video e-commerce platform.
[0011] In the above scheme, the first call further carries a second number; the first response carries a first state; and the first state represents a playing situation of a first channel corresponding to the second number in the first video e-commerce platform.
[0012] Correspondingly, the second response is sent to the first network side based on a first response returned by the first video e-commerce platform according to the first call, and the second response comprises:
[0013] Based on the first state, a first channel address is determined from all channel addresses of the first video e-commerce platform; the first channel address is used for the first network side to send a second call to establish a first call connection;
[0014] The second response carrying the first channel address is sent to the first network side.
[0015] In the above scheme, the first channel address is determined from all channel addresses of the first video e-commerce platform, comprising:
[0016] In a case where the first state indicates that the first channel is in a live state, a channel address corresponding to the first channel is determined as the first channel address;
[0017] In a case where the first state indicates that the first channel is in a non-live state, a channel address corresponding to a second channel is determined as the first channel address; the second channel indicates a channel in a live state in the first video e-commerce platform.
[0018] In the above scheme, the method further comprises:
[0019] The first event is subscribed to the first network side; wherein,
[0020] The first event is used for the first network side to forward the first call to the first node when the first call is received.
[0021] In the above scheme, the first terminal is controlled to establish a media stream connection with the first video e-commerce platform, comprising:
[0022] The first message sent by the first network side is forwarded to the first video e-commerce platform, and the first information in a first format returned by the first video e-commerce platform based on the first message is received; the first message is used to request the first video e-commerce platform to re-negotiate the media stream;
[0023] The first information in the first format is converted into first information in a second format; wherein,
[0024] The second format indicates a format of the first information supported by the first network side to parse; the first information in the second format is used for the first network side to set a media stream path related to the re-negotiation.
[0025] In the above scheme, the first terminal is controlled to establish a data stream connection with the first video e-commerce platform, comprising:
[0026] forwarding a second message sent by a first network side to a first video e-commerce platform, and receiving second information in a third format returned by the first video e-commerce platform based on the second message; the second message is used to request the first video e-commerce platform to re-negotiate a data stream;
[0027] converting the second information in the third format into second information in a fourth format; wherein,
[0028] the fourth format represents a format of the second information supported by the first network side for analysis; and the second information in the fourth format is used for the first network side to set a data stream path related to the re-negotiation.
[0029] Embodiments of the present application also provide a communication device applied to a first node, comprising:
[0030] a first sending unit configured to forward a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and send a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform.
[0031] a control unit configured to control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
[0032] Embodiments of the present application also provide a first node, comprising: a first processor and a first communication interface; wherein,
[0033] the first communication interface is configured to forward a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and send a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform; and,
[0034] control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
[0035] Embodiments of the present application also provide a first node, comprising: a first processor and a first memory for storing a computer program capable of running on the processor,
[0036] The first processor is configured to execute the computer program, and perform the steps of any of the methods.
[0037] The embodiment of the present application further provides a storage medium, which has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of any of the methods.
[0038] The embodiment of the present application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of any of the methods.
[0039] In the embodiment of the present application, the first node forwards a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and sends a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, to establish a first call connection between the first terminal and the first video e-commerce platform, wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform; then, the first node controls the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection. In this way, the first node can establish a call connection between the terminal and the video e-commerce platform based on the call of the terminal to the video e-commerce platform, and then establish a media stream connection and / or a data stream connection, so that the terminal can access the video e-commerce platform based on the call process of the mobile communication system, and then perform video e-commerce transaction. Compared with the related art, the user performing the video e-commerce transaction does not need to preinstall the video e-commerce dedicated client software in the terminal, thereby reducing the operation cost of the terminal accessing the video e-commerce platform. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 An implementation flow diagram of a communication method provided by the embodiment of the present application is shown;
[0041] Figure 2 An architecture diagram of a terminal accessing a video e-commerce platform provided by the embodiment of the application is shown;
[0042] Figure 3 An interaction flow diagram of a communication method provided by the embodiment of the application is shown;
[0043] Figure 4 An interaction flow diagram of another communication method provided by the embodiment of the application is shown;
[0044] Figure 5 An interaction flow diagram of a third communication method provided by the embodiment of the application is shown;
[0045] Figure 6 A structure diagram of a communication device provided by the embodiment of the present application is shown;
[0046] Figure 7 A structural schematic diagram of a hardware composition of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0047] Video e-commerce, namely, video commerce, refers to a fusion transaction mode including generation, transmission, interaction and e-commerce of video content. In related technologies, a terminal accesses a video commerce platform through a client software dedicated to video commerce, so as to realize video commerce transaction. However, the client software needs to be pre-installed in the terminal by a user, which increases the operation cost of the terminal accessing the video commerce platform and limits the user reach of the video commerce.
[0048] Based on this, in the embodiments of the present application, the first node forwards a first call sent by a first network side corresponding to a first terminal to a first video commerce platform, and sends a second response to the first network side based on a first response returned by the first video commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video commerce platform, wherein the first call represents a call initiated by the first terminal to the first video commerce platform; then, the first node controls the first terminal and the first video commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection. In this way, the first node can establish a call connection between the terminal and the video commerce platform based on the call of the terminal to the video commerce platform, and then establish a media stream connection and / or a data stream connection, so that the terminal can access the video commerce platform based on the call process of the mobile communication system, and then perform video commerce transaction. Compared with related technologies, the user performing the video commerce transaction does not need to pre-install the client software dedicated to the video commerce in the terminal, which reduces the operation cost of the terminal accessing the video commerce platform.
[0049] The present application will be further described in detail below in combination with the drawings and embodiments.
[0050] The embodiments of the present application provide a communication method, applied to a first node.
[0051] In actual application, the first node can be regarded as a network node or a platform for coordinating the terminal to access the video commerce platform in the embodiments of the present application. The first node can also be expressed as a communication + Internet business coordination platform, or a coordination platform.
[0052] In actual application, the terminal can access the video commerce platform. The terminal can be a device with a video call function, for example, a mobile phone or other device supporting the fifth generation mobile communication technology (5G, 5th Generation Mobile Communication Technology) communication. The terminal accessing the video commerce platform can also be expressed as: the terminal accessing the video commerce platform, or the user accessing the video commerce platform through the terminal.
[0053] In actual applications, the video e-commerce platform can include multiple channels, and each channel can be used to present a video and a commodity operated by an e-commerce account. The terminal accessing the video e-commerce platform can be further understood as the terminal accessing a channel in the video e-commerce platform. For example, when the terminal accesses the channel in the video e-commerce platform, the user can watch a live video presented by the channel through the terminal, view commodity information presented by the channel, and select to jump to a corresponding commodity detail page to perform commodity transaction and the like.
[0054] Referring to Figure 1 The communication method provided by the embodiments of the present application comprises:
[0055] Step 101: forwarding a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and sending a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, to establish a first call connection between the first terminal and the first video e-commerce platform.
[0056] The first call represents a call initiated by the first terminal to the first video e-commerce platform.
[0057] In actual applications, the first terminal can be a terminal with a native call function, that is, the operating system of the first terminal can be integrated with a call function, and the first terminal can communicate based on a mobile communication system. For example, the mobile communication system can be a voice over new radio (VoNR) system.
[0058] The user can trigger the first terminal to initiate the first call to the first video e-commerce platform based on the call flow of the mobile communication system through the native call function of the first terminal. In actual applications, the first call can be a video call, and the establishment of the first call connection between the first terminal and the first video e-commerce platform can be understood as that the video call initiated by the user to the first video e-commerce platform is connected. The first terminal can be understood as a calling terminal, and the first video e-commerce platform can be understood as a called Internet application.
[0059] During the process of the first terminal initiating the first call to the first video e-commerce platform, the first terminal can send the first call to the first network side corresponding to the first terminal. Then, the first network side receives the first call sent by the first network side, and forwards the first call to the first node. After that, the first node receives the first call sent by the first network side, and forwards the first call to the first video e-commerce platform.
[0060] In actual application, the first call can be understood as a message, and the first call can be an INVITE message exemplarily. The first network side can include an IP Multimedia Subsystem (IMS) network element, a Voice over Long-Term Evolution Application Server (VoLTE AS), a Unified Media Function (UMF), and the like, which can also be regarded as nodes in the network. In the process of sending the message at the first network side, the message can be forwarded by all or part of the network elements included in the first network side in turn.
[0061] In actual application, the first network side can forward the first call to the first node based on the subscription of the first node when receiving the first call sent by the first terminal. Based on this,
[0062] In an embodiment, the method further includes:
[0063] Subscribing to the first event at the first network side.
[0064] The first event is used for the first network side to forward the first call to the first node when receiving the first call.
[0065] In actual application, the first call can be regarded as a call request initiated by the first terminal for accessing a channel in the first video e-commerce platform, which can also be expressed as a call event notification. After receiving the first call forwarded by the first network side based on the subscription, the first node can forward the first call to the first video e-commerce platform, determine information for establishing a first call connection based on a first response returned by the first video e-commerce platform, and then return the information to the first network side through a second response, so as to initiate a call again by the first network side, thereby establishing the first call connection between the first terminal and the first video e-commerce platform. Here, it can also be regarded that the first node establishes the first call connection between the first terminal and the first video e-commerce platform by scheduling the first call.
[0066] Step 102: based on the first call connection, controlling the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection.
[0067] In actual application, the media stream connection can be used for transmitting a media stream between the first terminal and the first video e-commerce platform, and the media stream can include audio data and video data. Exemplarily, the media stream can include live video data in the video e-commerce platform. The data stream connection can be used for transmitting a data stream between the first terminal and the first video e-commerce platform, and the data stream can include description information of a commodity and order information of a user, and the like.
[0068] In actual applications, based on the first call connection, the first node can control the first terminal and the first video e-commerce platform to further perform signaling interaction, thereby establishing a media stream connection and / or a data stream connection between the first terminal and the first video e-commerce platform. In this way, the media stream and / or the data stream can be transmitted between the first terminal and the first video e-commerce platform, so that the user can access the first video e-commerce platform through the first terminal and perform a video e-commerce transaction.
[0069] Exemplarily, after the video call call broadcasted by the user to the first video e-commerce platform is connected, the first video e-commerce platform can transmit a live video to the first terminal through the media stream connection, so that the user can watch the live video in the first video e-commerce platform through the terminal. The first video e-commerce platform can also transmit the description information of the goods, such as the type, price, function, etc. of the goods, to the first terminal through the data stream, so that the user can view the description information of the goods through the terminal and place an order. In the process of placing an order, the user can select a payment verification method and inform the first video e-commerce platform of the payment verification method selected by the user through the data stream connection; in the case that the payment verification method selected by the user is visual verification, the first terminal can transmit the locally recorded verification video of the user to the first video e-commerce platform through the media stream connection, and then the first video e-commerce platform performs payment verification based on the received verification video; in the case that the payment verification method selected by the user is password verification, the first terminal can transmit the password input by the user to the first video e-commerce platform through the data stream connection, and then the first video e-commerce platform performs payment verification based on the received password; in this way, the user can complete the video e-commerce transaction through the first terminal.
[0070] In the embodiment of the present application, the first node forwards the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform, and sends a second response to the first network side based on the first response returned by the first video e-commerce platform according to the first call, to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform; then, the first node controls the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection. In this way, the first node can establish a call connection between the terminal and the video e-commerce platform based on the call of the terminal to the video e-commerce platform, and then establish a media stream connection and / or a data stream connection, so that the user can access the video e-commerce platform through the native call function of the terminal, that is, the terminal can access the video e-commerce platform based on the call process of the mobile communication system, and then perform video e-commerce transaction. Compared with the related art, the user performing the video e-commerce transaction does not need to preinstall the video e-commerce dedicated client software in the terminal, which reduces the operation cost of the terminal accessing the video e-commerce platform, and further expands the user reach of the video e-commerce.
[0071] The way of establishing the first call connection is further described below.
[0072] In practical application, there can be multiple video e-commerce platforms in the network, and each video e-commerce platform can have a service address, which can be understood as an Internet Protocol (IP) address of the video e-commerce platform. The service address can be used to query the related information of the video e-commerce platform, for example, to query the on-air state of the channel in the video e-commerce platform. Each video e-commerce platform can have one or more channel addresses, and each channel in the video e-commerce platform can correspond to a channel address, which can be understood as a port address of the video e-commerce platform or an IP address different from the service address. The channel address can be used to establish a call connection between the terminal and the corresponding channel in the video e-commerce platform, and then make the terminal access the video e-commerce platform.
[0073] In practical application, the first node can establish the first call connection between the first terminal and the first video e-commerce platform by scheduling the first call. The first node scheduling the first call can mainly include the following steps:
[0074] Step 1: The first node determines the service address of the first video e-commerce platform based on the first call.
[0075] In practical application, after receiving the first call, the first node can determine the video e-commerce platform called by the terminal from the multiple video e-commerce platforms in the network based on the first call, that is, determine the first video e-commerce platform, and then determine the service address of the video e-commerce platform.
[0076] Step 2: The first node forwards the first call to the determined service address of the first video e-commerce platform.
[0077] In actual application, after receiving the first call, the first video e-commerce platform can carry the related information of the first video e-commerce platform in the first response, and send the first response to the first node. Exemplarily, the related information can be the on-air situation of the channel requested to access by the terminal.
[0078] Step 3: The first node determines the channel address requested to access based on the first response.
[0079] In actual application, the first node can determine the channel address corresponding to the channel requested to access by the terminal based on the first response.
[0080] Step 4: The first node sends a second response to the first network side.
[0081] In actual application, the second response can carry the determined channel address. After receiving the second response, the first network side can initiate a second call to the channel address, and receive the call response returned by the channel address, so as to establish the call connection between the first terminal and the first video e-commerce platform. The second call can be regarded as a point-to-point call message sent by the first network side to the video e-commerce platform.
[0082] Based on the above process of the first node scheduling the first call, in an embodiment, the first call carries a first number; forwarding the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform comprises:
[0083] Based on the first number, determining the first video e-commerce platform corresponding to the first number from a plurality of video e-commerce platforms;
[0084] Based on the service address of the first video e-commerce platform, forwarding the first call.
[0085] In actual application, the first number can be used to indicate the video e-commerce platform called by the first terminal, that is, can be used to indicate the video e-commerce platform requested to access by the first terminal. The first number can also be expressed as a service number.
[0086] In actual application, one video e-commerce platform in the network can correspond to one service number, and the first node can determine the video e-commerce platform based on the service number. Exemplarily, the first node can store a first mapping relationship between the service number and the video e-commerce platform, and the first node can determine the video e-commerce platform corresponding to the first number as the video e-commerce platform to be called based on the first mapping relationship, that is, determine the first video e-commerce platform. The first number can be regarded as the service number corresponding to the first video e-commerce.
[0087] In actual application, the first node can also directly determine the service address of the first video e-commerce platform based on the first number. It can be understood that one video e-commerce platform corresponds to one service address. Therefore, in this case, the first node can also be regarded as determining the first video e-commerce platform based on the first number. Exemplarily, the first mapping relationship in the foregoing example can further be a mapping relationship between the service number and the service address of the video e-commerce platform.
[0088] In an embodiment, the first call also carries a second number; the first response carries a first state; the first state represents a live broadcast situation of a first channel corresponding to the second number in the first video e-commerce platform;
[0089] Correspondingly, based on the first response returned by the first video e-commerce platform according to the first call, a second response is sent to the first network side, including:
[0090] Based on the first state, a first channel address is determined from all channel addresses of the first video e-commerce platform; the first channel address is used for the first network side to send a second call to establish a first call connection;
[0091] The second response carrying the first channel address is sent to the first network side.
[0092] In actual application, the second number can be used to indicate the channel called by the first terminal, that is, the first channel. The second number can also be expressed as a channel number.
[0093] In actual application, after receiving the first response, the first video e-commerce platform can determine the first channel corresponding to the second number based on the first response, and then determine the live broadcast situation of the first channel. It can be understood that the first channel is a channel in the first video e-commerce platform. The live broadcast situation of the first channel can also be understood as the live broadcast situation of the live broadcast video in the first channel.
[0094] In actual application, the first response can also carry: a channel address corresponding to the first channel, and a channel address corresponding to a channel in a live broadcast state in the first video e-commerce platform.
[0095] In an embodiment, the first channel address is determined from all channel addresses of the first video e-commerce platform, including:
[0096] In a case where the first state represents that the first channel is in a live broadcast state, the channel address corresponding to the first channel is determined as the first channel address;
[0097] In a case where the first state represents that the first channel is in a non-live broadcast state, the channel address corresponding to a second channel is determined as the first channel address; the second channel represents a channel in a live broadcast state in the first video e-commerce platform.
[0098] In actual application, the second channel can also be expressed as an on-demand channel of the first video e-commerce platform.
[0099] It can be understood that in this way, the channel corresponding to the channel address returned in the first response is a channel in the on-air state, so that the user can access the on-air channel in the first video e-commerce platform through the terminal, ensuring the stability of the call connection and improving the user experience.
[0100] The way of establishing a media stream connection is further described below.
[0101] In an embodiment, the control of the first terminal to establish a media stream connection with the first video e-commerce platform comprises:
[0102] forwarding the first message sent by the first network side to the first video e-commerce platform and receiving the first information in the first format returned by the first video e-commerce platform based on the first message; the first message is used to request the first video e-commerce platform to re-negotiate the media stream;
[0103] converting the first information in the first format into the first information in the second format; wherein,
[0104] The second format represents the format of the first information supported by the first network side for parsing; the first information in the second format is used to set the media stream path related to the re-negotiation by the first network side.
[0105] In actual application, the re-negotiation of the media stream can be expressed as media re-negotiation, and the sending of the first message by the first network side can be understood as the initiation of a media re-negotiation request by the first network side. Exemplarily, the first message can be a Re-INVITE message or an ACK message.
[0106] In actual application, after the establishment of the first call connection, the first node can instruct the first network side to initiate the first message to the first video e-commerce platform through a service control message. In the process of initiating the first message to the first video e-commerce platform by the first network side, the first network side can send the first message to the first node, then the first node receives the first message and forwards the first message to the first video e-commerce platform, and then the first video e-commerce platform returns the first information in the first format to the first node based on the first message.
[0107] In actual application, the first information can be understood as media stream information, and the first information can include: media stream data to be transmitted through the media stream connection, and / or description information of the media stream data. For example, the description information of the media stream data can include one or more of the following: type, encoding format, and slice size of the media stream data. The first format can be understood as an encapsulation format of a data packet corresponding to the first information returned by the first video e-commerce platform, and the first format is related to a transmission protocol adopted by the first video e-commerce platform. For example, the first video e-commerce platform can transmit media stream information based on an Internet data channel, the Internet data channel can adopt a Web Real-Time Communication (WebRTC) protocol, and the first format can be a WebRTC packet format.
[0108] In actual application, the first information in the second format and the first information in the first format can be regarded as media stream information containing the same content, but the encapsulation format of the data packet corresponding to the first information in the first format is not the same as the encapsulation format of the data packet corresponding to the first information in the second format. After receiving the data packet corresponding to the first information in the first format, the first node can perform format conversion on the data packet, for example, perform unpacking and packing operations, so as to convert the received data packet into a data packet in the second format, and obtain the first information in the second format. The second format is related to a transmission protocol adopted by the first network side, for example, the nodes in the first network side can transmit media stream information based on an audio / video call channel, the audio / video call channel can adopt a Real-Time Transport Protocol (RTP), and the second format can be an RTP packet format.
[0109] After receiving the first information in the second format, the first network side can parse the data packet corresponding to the first information in the second format, set a media stream path based on the parsed content, and thus establish a media stream connection. The media stream path can be understood as being related to media re-negotiation.
[0110] In actual application, the media stream path can include a media stream push path and a media stream pull path. After the media stream connection is established, the first terminal can send the media stream to the media stream push path, and the first video e-commerce platform can obtain the media stream sent by the first terminal from the media stream push path; the first video e-commerce platform can send the media stream to the media stream pull path, and the first terminal can obtain the media stream sent by the first video e-commerce platform from the media stream pull path.
[0111] In actual application, after the first video e-commerce platform sends the media stream to the pull stream path, the first node can also convert and process the media stream data in the media stream according to the business requirement, that is, convert and process the media stream, for example, convert the compression format, perform video synthesis and the like, and the media stream obtained by the first terminal from the pull stream path can be the media stream converted and processed by the first node. After the first terminal sends the media stream to the push stream path, the first node can also convert and process the media stream according to the business requirement, and the media stream obtained by the first video e-commerce platform from the push stream path is the media stream converted and processed by the first node.
[0112] It should be noted that in actual application, the first network side needs to set the media stream path based on the first information returned by the first video e-commerce platform, so as to establish the media stream connection between the first terminal and the first video e-commerce platform. However, the first network side supports the second format which is different from the first format of the first information sent by the first video e-commerce platform, if the first network side directly receives the first information in the first format sent by the first video e-commerce platform, it will not be able to parse the first information, resulting in that the media stream connection cannot be established. In the embodiment of the present application, the first node converts the format of the first information, which ensures the establishment of the media stream connection, so that the terminal can access the video e-commerce platform based on the call process of the mobile communication system, and present the video in the video e-commerce platform to the user, and then realize the video e-commerce transaction, which reduces the operation cost of the terminal accessing the video e-commerce platform compared with the related art.
[0113] The way of establishing the data stream connection is further described below.
[0114] In an embodiment, the method for controlling the first terminal to establish the data stream connection with the first video e-commerce platform comprises the following steps.
[0115] forwarding the second message sent by the first network side to the first video e-commerce platform, and receiving the second information in the third format returned by the first video e-commerce platform based on the second message; the second message is used to request the first video e-commerce platform to re-negotiate the data stream;
[0116] converting the second information in the third format into the second information in the fourth format; wherein,
[0117] the fourth format represents the format of the second information that can be parsed by the first network side; the second information in the fourth format is used for the first network side to set the data stream path related to the re-negotiation.
[0118] In actual application, the re-negotiation of the data stream can be expressed as data re-negotiation, and the first network side sending the second message can be understood as the first network side initiating a data re-negotiation request. Exemplarily, the second message can be a Re-INVITE message or an ACK message.
[0119] In actual application, after the first call connection is established, a bootstrap data channel (Bootstrap DC) can be established between the first terminal and the first video e-commerce platform, and the first terminal can actively download and draw the applet of the first video e-commerce platform based on the Bootstrap DC. The user can view the data stream data such as commodity information in the first video e-commerce platform through the applet. The applet can be understood as a client program for displaying data stream data, and can also be expressed as a data channel (DC) application. The data stream data displayed in the applet needs to be obtained through the data stream connection in the embodiments of the present application, and the data stream connection can also be expressed as an application data channel (Application DC). It should be noted that the terminal downloads the applet in real time after the call connection is established, and the applet can be adapted to multiple video e-commerce platforms, which is different from the video e-commerce dedicated client software in related technologies.
[0120] In actual application, when the user opens the applet of the first video e-commerce, the first terminal can report a DC change event to the first node, which can be used to instruct the first node to change the Bootstrap DC between the first terminal and the first video e-commerce platform to the Application DC, or can also be understood as instructing the first node to control the establishment of the data stream connection between the first terminal and the first video e-commerce platform. After receiving the DC change event, the first node can instruct the first network side to initiate a second message to the first video e-commerce platform through a service control message. In the process of initiating the second message to the first video e-commerce platform by the first network side, the first network side can send the second message to the first node, then the first node receives the second message and forwards the second message to the first video e-commerce platform, and then the first video e-commerce platform returns the second information in the third format to the first node based on the second message.
[0121] In actual application, the second information can be understood as data stream information, and the second information can include data stream data to be transmitted through the data stream connection and / or description information of the data stream data. For example, the description information of the data stream data can include one or more of the following: type, encoding format, and transmission window size of the data stream data. The third format can be understood as an encapsulation format of a data packet corresponding to the second information returned by the first video e-commerce platform, and the third format is related to a transmission protocol adopted by the first video e-commerce platform. For example, the first video e-commerce platform can transmit the data stream information based on an Internet data channel, the Internet data channel can adopt a Hyper Text Transfer Protocol (HTTP), and the third format can be an HTTP packet format.
[0122] In actual application, the second information in the fourth format and the second information in the third format can be considered as data stream information containing the same content, but the encapsulation format of the data packet corresponding to the second information in the third format is different from the encapsulation format of the data packet corresponding to the second information in the fourth format. After receiving the data packet corresponding to the second information in the third format, the first node can perform format conversion on the data packet, for example, perform unpacking and packing operations, so as to convert the received data packet into a data packet in the fourth format, and obtain the second information in the fourth format. The fourth format is related to a transmission protocol adopted by the first network side, for example, the nodes in the first network side can transmit the data stream information based on an IMS Data Channel (IMSDC), the IMSDC can adopt a Session initialization Protocol (SIP), and the fourth format can be an SIP packet format.
[0123] After receiving the second information in the fourth format, the first network side can parse the data packet corresponding to the second information in the fourth format, set a data stream path based on the parsed content, and thus establish the data stream connection. The data stream path can be understood as being related to data renegotiation.
[0124] In actual application, the data stream path can include a data stream push path and a data stream pull path. After the data stream connection is established, the first terminal can send the data stream to the data stream push path, and the first video e-commerce platform can obtain the data stream sent by the first terminal from the data stream push path; the first video e-commerce platform can send the data stream to the data stream pull path, and the first terminal can obtain the data stream sent by the first video e-commerce platform from the data stream pull path.
[0125] In actual application, after the first video e-commerce platform sends the data stream to the pull stream path, the first node can also convert and process the data stream data in the data stream according to the business requirement, that is, convert and process the data stream, for example, convert the compression format, perform data cleaning and the like, and the data stream obtained by the first terminal from the pull stream path can be the data stream converted and processed by the first node. After the first terminal sends the data stream to the push stream path, the first node can also convert and process the data stream according to the business requirement, and the data stream obtained by the first video e-commerce platform from the push stream path is the data stream converted and processed by the first node.
[0126] It should be noted that in actual application, the first network side needs to set the data stream path based on the second information returned by the first video e-commerce platform, so as to establish the data stream connection between the first terminal and the first video e-commerce platform. However, the fourth format supported by the first network side is not the same as the third format of the second information sent by the first video e-commerce platform, if the first network side directly receives the second information in the third format sent by the first video e-commerce platform, it will not be able to parse the second information, resulting in the failure to establish the data stream connection. In the embodiment of the present application, the first node converts the format of the second information, ensuring the establishment of the data stream connection, so that the terminal can access the video e-commerce platform based on the call process of the mobile communication system, and present the product information in the video e-commerce platform to the user, and then perform video e-commerce transaction, compared with the related art, the operation cost of the terminal accessing the video e-commerce platform is reduced.
[0127] The application will be further described in detail below in combination with application examples.
[0128] The application application example provides a communication + Internet service cooperation platform, which is equivalent to the first node in the application example, and is called cooperation platform for convenience. Figure 2 An architecture diagram of terminal accessing a video e-commerce platform is provided, which shows the cooperation platform, and the UE in the diagram is equivalent to the first terminal in the application example; the Internet video e-commerce is equivalent to the first video e-commerce platform in the application example, and can also be expressed as Internet video e-commerce service; the 5G new call platform can be regarded as a 5G core network for supporting 5G new call service.
[0129] Referring to Figure 2 , the cooperation platform mainly includes:
[0130] The service scheduling module is used for scheduling the call initiated by the UE to the corresponding address according to the service number and the channel number in the call message.
[0131] The audio and video encapsulation exchange module is used for bidirectional conversion of the media stream in the audio and video call channel and the media stream of the Internet video e-commerce, and data exchange.
[0132] Data packet encapsulation exchange module: used for bidirectional conversion of data streams in IMSDC and data streams of Internet video e-commerce, and data exchange.
[0133] Media processing module: used for media processing of media streams transmitted between UE and Internet video e-commerce, and exemplarily, the media processing can include video synthesis processing. The media processing module can also be expressed as a media processing and video synthesis module.
[0134] Media capability module: used for providing artificial intelligence (AI) algorithms and media capabilities for media processing. The media capability module can also be expressed as an AI and media audio / video capability module. The media processing module can call the capabilities provided in the media capability module in the process of processing the media streams.
[0135] The collaborative platform can mainly provide the following interfaces:
[0136] IF1 interface: an interface between the collaborative platform and the 5G new call platform, used for signaling interaction.
[0137] IF2 interface: a media stream interface between the collaborative platform and a voice over new radio plus (VoNR+) media plane in the 5G new call platform, used for media stream interaction. The VoNR+ media plane can also be regarded as a UMF.
[0138] IF3 interface: a data stream interface between the collaborative platform and the VoNR+ media plane, used for data stream interaction.
[0139] IF4 interface: a media stream interface between the collaborative platform and the Internet video e-commerce, used for media stream interaction.
[0140] IF5 interface: a data stream interface between the collaborative platform and the Internet video e-commerce, used for data stream interaction.
[0141] The following describes a key interaction process of UE accessing the Internet video e-commerce.
[0142] It should be noted that the network side nodes in the figure can include an IMS network element, a VoLTE AS, a VoNR+ capability network element, and a VoNR+ media plane, which can be regarded as nodes in the first network side in the embodiments of the present application.
[0143] Referring to Figure 3 , the interaction process when the UE and the Internet video e-commerce establish a call connection mainly includes the following steps:
[0144] Step 1: the UE initiates a video call.
[0145] In actual application, the UE can initiate a video call triggered by the user invoking the native video call function of the UE. During the initiation of the video call, the UE can send an INVITE message to the IMS network element, which is equivalent to the first call in the embodiment of the present application.
[0146] Step 2: the network side node sends a call event notification to the collaboration platform.
[0147] In actual application, the IMS network element can send the received INVITE message to the VoLTE AS. After receiving the INVITE message, the VoLTE AS sends a call event notification to the capability network element based on the subscription of the capability network element. Then, the capability network element reports the call event notification to the collaboration platform based on the subscription of the collaboration platform. Here, the INVITE message sent by the IMS network element can be regarded as being forwarded through multiple network nodes to the collaboration platform, and the call event notification can be regarded as the forwarded INVITE message.
[0148] Step 3: the collaboration platform forwards the call event notification to the Internet video e-commerce service.
[0149] In actual application, the call event notification can carry the service number of the video e-commerce platform of the UE call. The collaboration platform can determine the service address of the Internet video e-commerce service based on the service number, and forward the call event notification to the determined service address.
[0150] Step 4: the Internet video e-commerce service returns a first call response to the collaboration platform.
[0151] Here, the first call response is equivalent to the first response in the embodiment of the present application.
[0152] In actual application, the call event notification forwarded by the collaboration platform to the Internet video e-commerce service can also carry the channel number of the channel of the UE call. The Internet video e-commerce platform can determine the on-air state of the channel based on the channel number, and return the on-air state of the channel in the first call response.
[0153] Step 5: the collaboration platform returns a second call response to the network side node.
[0154] Here, the second call response is equivalent to the second response in the embodiment of the present application.
[0155] In actual application, the collaboration platform can determine the channel address corresponding to the channel of the UE call based on the first call response, and return the channel address in the second call response.
[0156] In actual application, the collaborative platform can send the second call response to the VoNR+ capable network element, and then the VoNR+ capable network element forwards the second call response to the VoLTE AS, and the VoLTE AS forwards the second call response to the IMS network element.
[0157] Step 6: The network side node initiates a video call to the channel address resolved by the collaborative platform.
[0158] In actual application, the IMS network element can directly send an INVITE message to the channel address point-to-point, which can be regarded as the second message in the embodiments of the present application. It can be understood that sending the INVITE message to the channel address can also be regarded as sending the INVITE message to the Internet video e-commerce service.
[0159] Step 7: The Internet video e-commerce service returns a call response to the network side node.
[0160] In actual application, after receiving the call response, the IMS network element can forward the call response to the VoLTE AS, and the VoLTE AS sends related information of the UE to the Internet video e-commerce service based on the call response. Exemplarily, the related information can include: the type of UE call, the geographic location of the UE, and the like.
[0161] Referring to Figure 4 , the interaction process when the UE and the Internet video e-commerce establish a media stream connection mainly includes the following steps:
[0162] Step 1: The collaborative platform sends a service control message to the network side node.
[0163] In actual application, the collaborative platform can send the service control message to the VoNR+ capable network element, and the VoNR+ capable network element forwards the service control message to the VoLTE AS.
[0164] Step 2: The network side node sends a media renegotiation request to the collaborative platform.
[0165] Here, the media renegotiation request is equivalent to the first message in the embodiments of the present application.
[0166] In actual application, the VoLTE AS can send the media renegotiation request to the collaborative platform.
[0167] Step 3: The collaborative platform forwards the media renegotiation request to the Internet video e-commerce service.
[0168] Step 4: The Internet video e-commerce service returns media stream information to the collaborative platform.
[0169] Here, the media stream information returned by the Internet video e-commerce service corresponds to the first information in the first format in the embodiment of the application.
[0170] Step 5: The collaborative platform returns the converted media stream information to the network side node.
[0171] In actual application, the collaborative platform can convert and process the received media stream information through the audio and video stream encapsulation exchange module to generate new media stream information, that is, the converted media stream information, and send the converted media stream information to the IMS network element.
[0172] Here, the converted media stream information corresponds to the first information in the second format in the embodiment of the application.
[0173] Step 6: The network side network element sets the media stream path.
[0174] In actual application, the IMS network element can send the converted media stream information to the VoLTE AS; then, the VoLTE AS applies to the VoNR+ media surface for docking the media resources of the local end and the remote end based on the converted media stream information; after that, the VoLTE AS performs media re-negotiation with the UE, updates the audio and video endpoint resources based on the data returned by the UE, and further sets the association relationship of the audio and video stream resources, that is, sets the media stream path.
[0175] In actual application, setting the association relationship of the audio and video stream resources can also be described as anchoring the audio and video stream to the VoNR+ media surface, or described as anchoring the media stream to the VoNR+ media surface.
[0176] Referring to Figure 5 , the interaction process when the UE and the Internet video e-commerce establish a data stream connection mainly includes the following steps:
[0177] Step 1: The network side node sends a DC change event to the collaborative platform.
[0178] In actual application, the UE can send a Re-INVITE message to the VoLTE AS, the VoLTE AS sends a DC change event to the VoNR+ capability network element after receiving the Re-INVITE message, and then the VoNR+ capability network element forwards the DC change event to the collaborative platform.
[0179] Step 2: The collaborative platform sends a service control message to the network side node.
[0180] In actual application, the collaborative platform can send a service control message to the VoNR+ capability network element, and the VoNR+ capability network element forwards the service control message to the VoLTE AS.
[0181] Step 3: The network side node sends a data renegotiation request to the coordination platform.
[0182] Here, the data renegotiation request corresponds to the second message in the embodiments of the present application.
[0183] Step 4: The coordination platform forwards the data renegotiation request to the Internet video e-commerce service.
[0184] Step 5: The Internet video e-commerce service returns data stream information to the coordination platform.
[0185] Here, the data stream information returned by the Internet video e-commerce service corresponds to the second information in the third format in the embodiments of the present application.
[0186] Step 6: The coordination platform returns the converted data stream information to the network side node.
[0187] In actual application, the coordination platform can convert the received data stream information through the data packet encapsulation exchange module to generate new data stream information, that is, the converted data stream information, and send the converted data stream information to the IMS network element.
[0188] Here, the converted data stream information corresponds to the second information in the fourth format in the embodiments of the present application.
[0189] Step 7: The network side network element sets the data stream path.
[0190] In actual application, the IMS network element can send the converted data stream information to the VoLTE AS; then, the VoLTE AS sets the data stream resource association relationship based on the converted data stream information, that is, sets the data stream path.
[0191] In actual application, setting the data stream resource association relationship can also be described as anchoring the data stream to the VoNR+ media plane.
[0192] In the application embodiments, the coordination platform can establish a call connection between the UE and the Internet video e-commerce based on the UE call to the Internet video e-commerce, and further establish a media stream connection and / or a data stream connection, so that the UE can access the Internet video e-commerce based on the call process of the mobile communication system, and then perform video e-commerce transaction. Compared with related technologies, users who perform video e-commerce transaction do not need to preinstall video e-commerce dedicated client software in the terminal, which reduces the operation cost of the UE accessing the Internet video e-commerce, and further expands the user reach of the video e-commerce.
[0193] Based on the above embodiments, the present application further provides a communication device applied to a first node, referring to Figure 6 The communication device comprises:
[0194] The first sending unit 61 is configured to forward a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and send a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform.
[0195] The control unit 62 is configured to control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
[0196] In an embodiment, the first call carries a first number; the first sending unit 61 forwards the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform, including:
[0197] Based on the first number, the first video e-commerce platform corresponding to the first number is determined from a plurality of video e-commerce platforms;
[0198] Based on a service address of the first video e-commerce platform, the first call is forwarded.
[0199] In an embodiment, the first call also carries a second number; the first response carries a first state; the first state represents the on-air situation of a first channel corresponding to the second number in the first video e-commerce platform;
[0200] Correspondingly, the first sending unit 61 sends a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, including:
[0201] Based on the first state, a first channel address is determined from all channel addresses of the first video e-commerce platform; the first channel address is used for the first network side to send a second call to establish a first call connection;
[0202] The second response carrying the first channel address is sent to the first network side.
[0203] In an embodiment, the first sending unit 61 determines the first channel address from all channel addresses of the first video e-commerce platform, including:
[0204] In the case that the first state represents that the first channel is in the on-air state, the channel address corresponding to the first channel is determined as the first channel address;
[0205] In a case where the first state represents that the first channel is in a non-broadcasting state, a channel address corresponding to a second channel is determined as the first channel address; the second channel represents a channel in a broadcasting state in the first video e-commerce platform.
[0206] In an embodiment, the first sending unit 61 is further configured to subscribe to a first event at the first network side; wherein,
[0207] The first event is used for the first network side to forward the first call to the first node when the first call is received.
[0208] In an embodiment, the control unit 62 controls the first terminal to establish a media stream connection with the first video e-commerce platform, including:
[0209] forwarding a first message sent by the first network side to the first video e-commerce platform, and receiving first information in a first format returned by the first video e-commerce platform based on the first message; the first message is used to request the first video e-commerce platform to re-negotiate a media stream;
[0210] converting the first information in the first format into second information in a second format; wherein,
[0211] The second format represents a format of the first information supported by the first network side for parsing; the second information in the second format is used for the first network side to set a media stream path related to the re-negotiation.
[0212] In an embodiment, the control unit 62 controls the first terminal to establish a data stream connection with the first video e-commerce platform, including:
[0213] forwarding a second message sent by the first network side to the first video e-commerce platform, and receiving second information in a third format returned by the first video e-commerce platform based on the second message; the second message is used to request the first video e-commerce platform to re-negotiate a data stream;
[0214] converting the second information in the third format into second information in a fourth format; wherein,
[0215] The fourth format represents a format of the second information supported by the first network side for parsing; the second information in the fourth format is used for the first network side to set a data stream path related to the re-negotiation.
[0216] In actual application, the first sending unit 61 and the control unit 62 can be realized by a processor in a communication device.
[0217] It should be noted that the communication device provided in the above embodiment is only exemplified by the division of the above program modules when communicating. In actual application, the above processing can be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the communication device and the communication method provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described here.
[0218] Based on the hardware implementation of the above program modules, and in order to realize the method of the embodiment of the application, the application also provides a first node, as shown in the figure, which comprises: Figure 7
[0219] A first communication interface 1 capable of information interaction with other devices;
[0220] A first processor 2 connected with the first communication interface 1 to realize information interaction with other devices, used for running a computer program, executing the method provided by one or more technical solutions in the above embodiment. And the computer program is stored on the first memory 3.
[0221] Specifically, the first communication interface 1 is used to forward the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform, and based on the first response returned by the first video e-commerce platform according to the first call, send a second response to the first network side to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform; and,
[0222] Based on the first call connection, control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection.
[0223] In an embodiment, the first call carries a first number; the first communication interface 1 forwards the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform, comprising:
[0224] Based on the first number, determine the first video e-commerce platform corresponding to the first number from a plurality of video e-commerce platforms;
[0225] Forward the first call based on the service address of the first video e-commerce platform.
[0226] In an embodiment, the first call also carries a second number; the first response carries a first state; the first state represents the on-air situation of the first channel corresponding to the second number in the first video e-commerce platform;
[0227] Correspondingly, the first communication interface 1 sends a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, including:
[0228] Based on the first state, a first channel address is determined from all channel addresses of the first video e-commerce platform; the first channel address is used for the first network side to send a second call to establish a first call connection;
[0229] The second response carrying the first channel address is sent to the first network side.
[0230] In an embodiment, the first communication interface 1 determines the first channel address from all channel addresses of the first video e-commerce platform, including:
[0231] In a case where the first state indicates that the first channel is in a live state, a channel address corresponding to the first channel is determined as the first channel address;
[0232] In a case where the first state indicates that the first channel is in a non-live state, a channel address corresponding to a second channel is determined as the first channel address; the second channel indicates a channel in a live state in the first video e-commerce platform.
[0233] In an embodiment, the first communication interface 1 is further configured to subscribe to a first event from the first network side; wherein,
[0234] The first event is used for the first network side to forward the first call to the first node when the first call is received.
[0235] In an embodiment, the first communication interface 1 controls the first terminal to establish a media stream connection with the first video e-commerce platform, including:
[0236] The first message sent by the first network side is forwarded to the first video e-commerce platform, and first information in a first format returned by the first video e-commerce platform based on the first message is received; the first message is used to request the first video e-commerce platform to re-negotiate a media stream;
[0237] The first information in the first format is converted into first information in a second format; wherein,
[0238] The second format indicates a format of the first information that can be parsed by the first network side; the first information in the second format is used for the first network side to set a media stream path related to the re-negotiation.
[0239] In an embodiment, the first communication interface 1 controls the first terminal to establish a data stream connection with the first video e-commerce platform, including:
[0240] forwarding a second message sent by the first network side to the first video e-commerce platform, and receiving second information in a third format returned by the first video e-commerce platform based on the second message; the second message is used to request the first video e-commerce platform to re-negotiate the data stream;
[0241] converting the second information in the third format into second information in a fourth format; wherein,
[0242] the fourth format represents a format of the second information supported by the first network side for parsing; the second information in the fourth format is used for the first network side to set a data stream path related to the re-negotiation.
[0243] It should be noted that the specific processing process of the first processor 2 can be understood with reference to the above method.
[0244] Of course, in actual application, various components in the first node are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection communication between the components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a state signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 4 in Figure 7 .
[0245] The first memory 3 in the embodiment of the application is used to store various types of data to support the operation in the first node. Examples of these data include: any computer programs used to operate on the first node.
[0246] The method disclosed by the embodiments of the present application can be applied to the first processor 2 or implemented by the first processor 2. The first processor 2 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method can be completed by integrated logic circuit of hardware in the first processor 2 or instructions in the form of software. The first processor 2 can be a general processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 2 can implement or execute each method, step and logic block diagram disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to execute the steps of the foregoing method, or the hardware and software modules in the decoding processor can be combined to execute the steps of the foregoing method. The software module can be located in a storage medium, and the storage medium is located in the first memory 3. The first processor 2 reads the information in the first memory 3 and combines the hardware to complete the steps of the foregoing method.
[0247] In the example embodiments, the first node can be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic elements for performing the foregoing method.
[0248] It can be understood that the first memory 3 of the embodiments of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. 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 ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (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) used as an external cache. By way of example but 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 (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), sync link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.
[0249] In the example embodiments, the embodiments of the present application also provide a storage medium, i.e., a computer storage medium, specifically a computer readable storage medium, such as a first node including a computer program stored therein, which can be executed by a first processor 2 of the first node to complete the steps of the foregoing method. The computer readable storage medium can be a FRAM, a ROM, a PROM, an EPROM, an EEPROM, a Flash Memory, a magnetic surface memory, an optical disc, or a CD-ROM, etc.
[0250] In the example embodiments, the embodiments of the present application also provide a computer program product, which includes a computer program, which can be executed by a first processor 2 of the first node to complete the steps of any of the foregoing methods.
[0251] It should be noted that "first", "second", etc. are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0252] The term "and / or" herein is only a description of the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone. In addition, the term "one or more" herein means any combination of at least two of any one or more of a plurality, for example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0253] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0254] The above is only a preferred embodiment of the present application, and is not intended to limit the protection scope of the present application.
Claims
1. A communication method characterized by comprising: The method applied to a first node comprises: forwarding a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and sending a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, to establish a first call connection between the first terminal and the first video e-commerce platform; wherein the first call represents a call initiated by the first terminal to the first video e-commerce platform; the first call carries a second number; the first response carries a first state; the first state represents the on-air situation of a first channel corresponding to the second number in the first video e-commerce platform; the sending of the second response to the first network side based on the first response returned by the first video e-commerce platform according to the first call comprises: determining a first channel address from all channel addresses of the first video e-commerce platform based on the first state; the first channel address is used for the first network side to send a second call to establish the first call connection; sending the second response carrying the first channel address to the first network side; controlling the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
2. The method of claim 1, wherein, The first call also carries a first number; the forwarding of the first call sent by the first network side corresponding to the first terminal to the first video e-commerce platform comprises: determining the first video e-commerce platform corresponding to the first number from a plurality of video e-commerce platforms based on the first number; forwarding the first call based on a service address of the first video e-commerce platform.
3. The method of claim 1, wherein, The determination of the first channel address from all channel addresses of the first video e-commerce platform comprises: in a case where the first state represents that the first channel is in an on-air state, determining a channel address corresponding to the first channel as the first channel address; in a case where the first state represents that the first channel is in a non-on-air state, determining a channel address corresponding to a second channel as the first channel address; the second channel represents a channel in an on-air state in the first video e-commerce platform.
4. The method of claim 1, wherein, The method further comprises: subscribing to a first event to the first network side; wherein the first event is used for the first network side to forward the first call to the first node when the first call is received.
5. The method of claim 1, wherein, The control of the first terminal and the first video e-commerce platform to establish a media stream connection comprises: forwarding a first message sent by the first network side to the first video e-commerce platform, and receiving first information in a first format returned by the first video e-commerce platform based on the first message; the first message is used to request the first video e-commerce platform to re-negotiate a media stream; converting the first information in the first format into first information in a second format; wherein the second format represents a format of the first information supported by the first network side to parse; the first information in the second format is used for the first network side to set a media stream path related to the re-negotiation.
6. The method of claim 1, wherein, The control of the first terminal and the first video e-commerce platform to establish a data stream connection comprises: Forwarding a second message sent by a first network side to a first video e-commerce platform, and receiving second information in a third format returned by the first video e-commerce platform based on the second message; the second message is used to request the first video e-commerce platform to re-negotiate a data stream; Converting the second information in the third format into second information in a fourth format; wherein, The fourth format represents a format of the second information supported by the first network side for analysis; and the second information in the fourth format is used for the first network side to set a data stream path related to the re-negotiation.
7. A communication device, characterized by Applied to a first node, comprising: A first sending unit is configured to forward a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and send a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform; wherein, the first call represents a call initiated by the first terminal to the first video e-commerce platform; the first call carries a second number; the first response carries a first state; the first state represents a broadcasting situation of a first channel corresponding to the second number in the first video e-commerce platform; the first sending unit sends a second response to the first network side based on the first response returned by the first video e-commerce platform according to the first call, including: determining a first channel address from all channel addresses of the first video e-commerce platform based on the first state; the first channel address is used for the first network side to send a second call to establish the first call connection; and sending the second response carrying the first channel address to the first network side; A control unit is configured to control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection.
8. A first node, characterized in that, Comprising: A first processor and a first communication interface; wherein, The first communication interface is configured to forward a first call sent by a first network side corresponding to a first terminal to a first video e-commerce platform, and send a second response to the first network side based on a first response returned by the first video e-commerce platform according to the first call, so as to establish a first call connection between the first terminal and the first video e-commerce platform; wherein, the first call represents a call initiated by the first terminal to the first video e-commerce platform; and control the first terminal and the first video e-commerce platform to establish a media stream connection and / or a data stream connection based on the first call connection; The first call carries a second number; the first response carries a first state; the first state represents a playing state of a first channel corresponding to the second number in the first video e-commerce platform; the first communication interface sends a second response to the first network side based on the first response returned by the first video e-commerce platform according to the first call, comprising: determining a first channel address from all channel addresses of the first video e-commerce platform based on the first state; the first channel address is used for the first network side to send a second call to establish a first call connection; and sending the second response carrying the first channel address to the first network side.
9. A first node, characterized in that, Comprise: a first processor and a first memory for storing a computer program capable of running on the processor, wherein the first processor is configured to execute the steps of the method of any one of claims 1 to 6 when running the computer program.
10. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
11. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6. The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Dual-stream communication method and device
CN108881792A
A video on demand / live broadcast system and method
CN1964470A