WO2023227059A1 - Negotiation method, apparatus, network device, and terminal - Google Patents

Negotiation method, apparatus, network device, and terminal Download PDF

Info

Publication number
WO2023227059A1
WO2023227059A1 PCT/CN2023/096280 CN2023096280W WO2023227059A1 WO 2023227059 A1 WO2023227059 A1 WO 2023227059A1 CN 2023096280 W CN2023096280 W CN 2023096280W WO 2023227059 A1 WO2023227059 A1 WO 2023227059A1
Authority
WO
WIPO (PCT)
Prior art keywords
data channel
channel
application
information
data
Prior art date
Application number
PCT/CN2023/096280
Other languages
French (fr)
Chinese (zh)
Inventor
张昕
刘峰
姬鸿飞
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2023227059A1 publication Critical patent/WO2023227059A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present disclosure relates to the technical field of data services, and in particular, refers to a negotiation method, device, network equipment and terminal.
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • SDP Session Description Protocol
  • the terminal can negotiate multiple data channels.
  • IP Internet Protocol
  • UDP User Datagram Protocol
  • SCTP Stream Control Transmission Protocol
  • the network side network element In the related technology DC negotiation process, after receiving the media negotiation request, the network side network element cannot determine whether the media negotiation request is used to request a data channel between the terminal and the terminal, or a data channel between the terminal and the network server. problem; and, in the operator network, there is also a problem that the network element on the network side cannot know whether the received media negotiation request needs to be processed by the local network or the remote network.
  • both terminals need to have the same application to provide the DC application, and the initiating terminal can obtain the application/application page data when the user selects the DC application, and then establish and communicate with each other.
  • the data channel at the end is used for application data transmission.
  • the receiving terminal receives the data channel establishment request from the initiator and can complete the establishment of the data channel, but it is unable to obtain and request the application/application service data corresponding to the data channel. Therefore, the business data analysis and interaction of data channel applications cannot be realized.
  • the purpose of the disclosed technical solution is to provide a negotiation method, device and network equipment to solve the data channel negotiation process of related technologies.
  • the receiving end with a media negotiation request cannot accurately perform data channel establishment, or cannot implement data channel application services. Data analysis and interaction issues.
  • Embodiments of the present disclosure provide a negotiation method, which is applied to the sending end.
  • the method includes:
  • a data channel negotiation request is sent to the receiving end, where the data channel negotiation request includes channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the negotiation method when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  • the sending end is a terminal or a network device.
  • the receiving end is one of a terminal, a network device on the local network side, a network device on the remote network side, an application server, and a data control server.
  • An embodiment of the present disclosure also provides a negotiation method, which is applied to a network device.
  • the method includes:
  • Data channel processing is performed based on the channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the id value of the requested data channel.
  • the negotiation method when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the data channel negotiation request is forwarded to the requested terminal.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs;
  • a data channel is established with the data control server, and the data control server transmits the received The first data sent by the sending end through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the data control server forwards the received second data sent by the application server through the The data channel is forwarded to the sending end.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish the relationship with the A data channel between application servers for local network applications;
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server
  • the local data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the sending end through the data channel to the application server that requests the data channel.
  • the data control server forwards the received second data sent by the application server to the sending end through the data channel.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the requested data channel is The above data channel negotiation request is forwarded to the network device on the remote network side to establish a data communication between the sending end and the application server of the remote network through the network device on the remote network side. road;
  • the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network.
  • the data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel.
  • the network device then sends it to the sending end.
  • Embodiments of the present disclosure also provide a negotiation method, which, when applied to a terminal, includes:
  • the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe;
  • the interactive interface and interactive data of the data channel application are displayed on the call interface.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the negotiation method wherein determining the data channel application associated with the data channel according to the channel attribute information includes:
  • the negotiation method further includes:
  • the interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
  • An embodiment of the present disclosure also provides a network device, wherein the network device is a sending end and includes a transceiver, wherein:
  • the transceiver is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  • An embodiment of the present disclosure also provides a network device, which includes a transceiver and a processor, wherein:
  • the transceiver is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the processor is configured to perform data channel processing according to the channel attribute information.
  • An embodiment of the present disclosure also provides a terminal, which includes a transceiver and a processor, wherein:
  • the transceiver is configured to obtain a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the processor is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
  • the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe;
  • the interactive interface and interactive data of the data channel application are displayed on the call interface.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to the sending end, and the device includes:
  • a sending module configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to network equipment, and the device includes:
  • a receiving module configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information
  • the first processing module is used to perform data channel processing according to the channel attribute information.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to a terminal and includes:
  • the acquisition module is used to acquire the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the second processing module is used to complete data channel negotiation and establishment according to the data channel negotiation request;
  • the third processing module is used to determine the data channel application program associated with the data channel according to the channel attribute information; the data channel application program is used to display information on the front-end page of the data channel application on the terminal side and/or the terminal Describe the business logic of user interaction operations;
  • a display module configured to display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
  • An embodiment of the present disclosure also provides a network device, which includes: a processor, a memory, and a program stored on the memory and executable on the processor.
  • a network device which includes: a processor, a memory, and a program stored on the memory and executable on the processor.
  • the program is executed by the processor, the following is implemented: The negotiation method described in any of the preceding items.
  • Embodiments of the present disclosure also provide a readable storage medium, wherein a program is stored on the readable storage medium, and when the program is executed by a processor, the steps in the negotiation method as claimed in any one of the preceding claims are implemented. .
  • the data channel negotiation request when the sending end sends a data channel negotiation request to the receiving end, the data channel negotiation request includes channel attribute information, which is used to indicate relevant information of the requested data channel type, so as to be able to distinguish between different
  • the data channel type enables the receiving end to accurately establish the data channel based on the channel attribute information, and realize the analysis and interaction of the data channel business data.
  • Figure 1 is a schematic flowchart of a negotiation method according to one embodiment of the present disclosure
  • Figure 2 is a schematic flow chart of Implementation Mode 1 of the negotiation method according to the embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of Implementation Mode 2 of the negotiation method according to the embodiment of the present disclosure
  • Figure 4 is a schematic flowchart of Implementation Mode 3 of the negotiation method according to the embodiment of the present disclosure.
  • Figure 5 is a schematic flowchart of Implementation Mode 4 of the negotiation method according to the embodiment of the present disclosure.
  • Figure 6 is a schematic flowchart of Implementation Mode 5 of the negotiation method according to the embodiment of the present disclosure.
  • Figure 7 is a schematic flowchart of Implementation Mode 6 of the negotiation method according to the embodiment of the present disclosure.
  • Figure 8 is a schematic diagram of the execution process of part of the process in the sixth implementation of the negotiation method according to the embodiment of the present disclosure.
  • Figure 9 is a schematic flowchart of a negotiation method according to another embodiment of the present disclosure.
  • Figure 10 is a schematic flowchart of a negotiation method according to yet another embodiment of the present disclosure.
  • Figure 11 is a schematic structural diagram of a network device according to one embodiment of the present disclosure.
  • Figure 12 is a schematic structural diagram of a network device according to another embodiment of the present disclosure.
  • Figure 13 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • Figure 14 is a schematic structural diagram of the negotiation device according to Embodiment 1 of the present disclosure.
  • Figure 15 is a schematic structural diagram of the negotiation device according to Embodiment 2 of the present disclosure.
  • Figure 16 is a schematic structural diagram of the negotiation device according to Embodiment 3 of the present disclosure.
  • embodiments of the present disclosure provide a negotiation method, in which the sending end sends a request to the receiving end.
  • the data channel negotiation request includes channel attribute information, which is used to indicate the relevant information of the requested data channel type, so as to be able to distinguish different data channel types, so that the receiving end can accurately determine the data channel based on the channel attribute information. Execute data channel establishment and implement business analysis and interaction.
  • One embodiment of the present disclosure provides a negotiation method, which is applied to the sending end, as shown in Figure 1,
  • the methods include:
  • the channel attribute information is relevant information used to indicate the requested data channel type, so as to be able to distinguish different data channel types.
  • the receiving end can perform accurate data channel processing operations. , such as being able to determine whether the requested data channel applies to a local network application or a remote network application, the channel type of the requested data channel is a channel between a terminal and a terminal or a channel between a terminal and a network device, or the use of the requested data channel application information, etc.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the label value is only used to indicate the channel name of the requested data channel to distinguish different data channels.
  • the label value label is also used to indicate the channel attribute information of the requested data channel, so that the receiving end can perform accurate data processing based on the channel attribute information.
  • Channel processing operations realize business analysis and interaction, and avoid adding interactive signaling for data channel negotiation.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the first information when the first information is a first value, it is used to indicate that the requested data channel is applied to the local network application; when the first information is a second value, it is used to indicate that the requested data channel is applied to the remote end.
  • Internet application when the first information is a first value, it is used to indicate that the requested data channel is applied to the local network application; when the first information is a second value, it is used to indicate that the requested data channel is applied to the remote end.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; when the second information is a fourth value, it is used to indicate that the requested data channel is a terminal-to-terminal channel. number The channel type of the data channel is a channel between the terminal and the network-side application server; when the second information is the fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the network-side application server and the terminal.
  • the field name of the first information is "orig"
  • the first information may be a first value, such as "local”, which is used to indicate that the requested data channel applies to local network applications, or That is, it is initiated by the local network application, or it can be said to be initiated by the application in bootstrap 0
  • the first information can be the second value, such as "remote”, which is used to indicate that the requested data channel should be used by the remote network application, also That is, it is initiated by the remote network application, or it can be said to be initiated by the application in bootstrap 100.
  • the field name of the second information is "type", and the second information is a third value, such as 1, indicating that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is the third value.
  • the fourth value if expressed as 0, indicates that the channel type of the requested data channel is the channel between the terminal and the network-side application server; the second information is the fifth value, if expressed as 11, indicating the channel type of the requested data channel. It is the channel between the network-side application server and the terminal.
  • the field name of the third information is "appid", which may be a 32-bit string, used to indicate the data channel application ID that requests to use the data channel.
  • the field name of the fourth information is "dcid", which is used to indicate the channel name of the requested data channel, such as expressed as an identification (Identifier, ID) value.
  • ID an identification
  • this fourth information can be used to distinguish different data channels corresponding to the same application.
  • the specific value of the fourth information can be defined by the application, is unique within the application, and can distinguish data channels of the same type in the same application.
  • the data channel negotiation request sent to the receiving end optionally also includes a stream ID (that is, stream-id), which is used to identify the Stream Control Transmission Protocol in the data channel. , SCTP) subflow.
  • a stream ID that is, stream-id
  • SCTP Stream Control Transmission Protocol
  • the corresponding data channel is defined as a Bootstrap channel, which is used for the data channel application to access the Hyper Text Transfer Protocol (HTTP) root directory Uniform Resource Location System (Uniform Resource) Locator, URL) to obtain a graphical interface; when more business services need to be obtained, use a data channel with a flow ID greater than the preset value.
  • HTTP Hyper Text Transfer Protocol
  • URL Uniform Resource Location System
  • the flow ID is When the stream ID is 0 or 100, the tag value can be empty; when the stream ID is a value other than 0 or 100, the tag value includes at least one of the above-mentioned first information, second information, third information, fourth information and fifth information. One, used to distinguish different channel types.
  • the tag value in the data channel negotiation request can be generated by the terminal in real time; or, it can also be generated by the network side in real time when distributing applications or application configuration data (such as application lists); or , or it can be generated in advance by the terminal, and then the tag value that needs to be used is determined in real time based on the identity of the application caller (calling or called).
  • the sending end is a terminal or a network device
  • the receiving end is one of a terminal, a network device on the local network side, a network device on the remote network side, an application server, and a data control server.
  • the negotiation method described in the embodiment of the present disclosure can distinguish different data channel types by using the channel attribute information in the data channel negotiation request.
  • the receiving end can perform accurate data channel processing operations, such as being able to determine the requested data Whether the channel is applied to a local network application or a remote network application, whether the channel type of the requested data channel is a terminal-to-terminal channel or a channel between a terminal and a network device, or the application information used by the requested data channel, etc., further It can be associated with specific applications through channel attribute information to realize the forwarding of data in the data channel.
  • the sending end is a terminal
  • the receiving end is a network device.
  • the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the second terminal, that is, the channel type of the requested data channel is a terminal-to-terminal channel.
  • the implementation process of this embodiment includes:
  • the first terminal sends a data channel negotiation request to the network device; in the first embodiment, optionally, the tag value in the data channel negotiation request includes at least second information.
  • the field name of the second information is "type", the second information is the third value. If expressed as 1, it indicates that the channel type of the requested data channel is a channel from terminal to terminal;
  • the network device determines the requested data channel according to the tag value in the data channel negotiation request.
  • the channel type is the channel from terminal to terminal;
  • S230 The network device forwards the data channel negotiation request to the second terminal requested by the data channel negotiation request;
  • S240 execute the media negotiation process of the data channel between the first terminal and the second terminal, and complete the establishment of the data channel between the first terminal and the second terminal;
  • S250 According to the third information in the data channel negotiation request, determine the data channel application identifier requesting to use the data channel, and obtain the corresponding data channel application from the network side;
  • S260 Analyze and display the data in the data channel according to the obtained data channel application.
  • the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is a channel between terminals, so that the network device can further send requests to the requested data channel based on the tag value. Request the terminal to forward the data channel negotiation request to establish a data channel between terminals.
  • the sending end is a terminal, and the receiving end is a network device.
  • the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the application server on the network side, that is, the channel type of the requested data channel is the channel between the terminal and the network side.
  • the implementation process of this embodiment includes:
  • the first terminal sends a data channel negotiation request to the network device; in the second embodiment, optionally, the tag value in the data channel negotiation request includes at least second information.
  • the field name of the second information is "type", the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
  • S320 The network device determines that the channel type of the requested data channel is a channel between the terminal and the network-side application server based on the tag value in the data channel negotiation request, and then establishes a data channel with the application server to which the application of the requested data channel belongs. ;
  • S330 The first terminal and the application server execute the media negotiation process of the data channel, and complete the establishment of the data channel between the first terminal and the application server.
  • the data channel negotiation request sent by the first terminal to the network device is passed
  • the tag value indicates that the channel type of the requested data channel is a channel between the terminal and the network side, so that the network device can establish a data channel with the application server based on the tag value, and further enable the connection between the first terminal and the application server. Create a data channel.
  • the sending end is a terminal, and the receiving end is a network device.
  • the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the application server on the network side, that is, the channel type of the requested data channel is the channel between the terminal and the network side.
  • the implementation process of this embodiment includes:
  • the first terminal sends a data channel negotiation request to the network device; in the third embodiment, optionally, the tag value in the data channel negotiation request includes at least second information.
  • the field name of the second information is "type", the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
  • the network device determines, based on the tag value in the data channel negotiation request, that the channel type of the requested data channel is the channel between the terminal and the network-side application server.
  • the data control server forwards the received first data sent by the sending end (first terminal) through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data sent by the sending end (first terminal) through the data channel.
  • the received second data sent by the application server is forwarded to the sending end (first terminal) through the data channel;
  • S430 execute the media negotiation process of the data channel between the first terminal and the data control server, and complete the establishment of the data channel between the first terminal and the data control server;
  • S440 The data control server forwards the received first data sent by the sending end (first terminal) through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data
  • the second data sent by the application server is forwarded to the sending end (first terminal) through the data channel.
  • the first data sent by the first terminal through the data channel can be forwarded by the data control server to the application server of the requested application, and the application
  • the second data sent by the server can be composed of data
  • the control server forwards the data to the first terminal through the data channel.
  • the data control server is a media plane network element used to implement data control, forwarding and other functions of the data channel. Its function is similar to the session border controller (Session) in the IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) network. Border Controller (SBC) network element can be upgraded based on SBC to support this function.
  • Session Session
  • IMS IP Multimedia Subsystem
  • SBC Border Controller
  • a data channel is directly established between the first terminal and the application server; in the third embodiment, according to the data channel negotiation request, a data channel is established between the first terminal and the data control server. , Utilizing the protocol conversion function of the data control server, the data in the data channel is interacted with by the data control server through the connection interface with the application server.
  • the sending end is a terminal, and the receiving end is a network device.
  • the sending end is the first terminal, and the sending end is the first terminal of the first network where the first terminal is located.
  • a network device of a network sends a data channel negotiation request to indicate that the requested data channel should be used for local network applications.
  • the first terminal sends a data channel negotiation request to the network device of the first network; in the fourth embodiment, optionally, the tag value in the data channel negotiation request includes at least first information and second information.
  • the field name of the first information is "orig”
  • the first information is the first value, such as "local”, indicating that the requested data channel applies to the local network application, that is, initiated by the local network application, which can also be said to be Initiated by the application in bootstrap 0
  • the field name of the second information is "type”
  • the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is between the terminal and the network-side application server. channel;
  • the network device of the first network determines that the requested data channel applies to the local network application based on the first information in the tag value in the data channel negotiation request, or based on the application that initiated the data channel negotiation request comes from bootstrap 0 (local end) network, that is, the first network), determine that the requested data channel applies to the local network application, and determine, based on the second information in the tag value in the data channel negotiation request, that the channel type of the requested data channel is terminal to network
  • the channel between the two sides is to establish a data channel with the application server of the local network application (that is, the first application server);
  • S530 Execute the media negotiation process of the data channel between the first terminal and the application server of the local network application (first application server), and complete the data negotiation process between the first terminal and the application server of the local network application (first application server). The channel is established.
  • the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is the channel between the terminal and the network-side application server, and indicates that the requested data channel should be used locally.
  • the network application enables the network device to establish a data channel with the application server of the local network application based on the tag value, and further enables the first terminal to establish a data channel with the application server of the local network application.
  • step S510 the network device of the first network determines that the requested data channel applies to the local network application according to the first information in the tag value in the data channel negotiation request, or according to initiating the The application of the data channel negotiation request comes from bootstrap 0 (the local network, that is, the first network), which determines that the requested data channel applies to the local network application.
  • bootstrap 0 the local network, that is, the first network
  • the second information in the tag value in the data channel negotiation request Determine the channel type of the requested data channel as the channel between the terminal and the network-side application server, and establish a data channel with the local data control server;
  • the local data control server forwards the received first data sent by the first terminal through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the first terminal through the data channel to the application server that requests the data channel.
  • the received second data sent by the application server is forwarded to the first terminal through the data channel.
  • the sending end is a terminal, and the receiving end is a network device.
  • the sending end is the first terminal, and the sending end is the first terminal of the first network where the first terminal is located.
  • a network device on a network sends a data channel negotiation request to indicate that the requested data channel should be used by a remote network application.
  • the first terminal sends a data channel negotiation request to the network device of the first network; in the fifth embodiment, optionally, the tag value in the data channel negotiation request includes at least first information and second information.
  • the field name of the first information is "orig”
  • the first information is the second value, such as "remote”, which is used to indicate that the requested data channel applies to the remote network application, that is, initiated by the remote network application, It can also be said to be initiated by the application in bootstrap 100"; optionally, the second message
  • the field name of the information is "type", and the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
  • S620 The network device of the first network determines that the requested data channel applies to the remote network application based on the first information in the tag value in the data channel negotiation request, or based on the application that initiated the data channel negotiation request comes from bootstrap 100 (remote network application). end network, that is, the second network), determine that the requested data channel applies to the remote network application, and determine that the channel type of the requested data channel is terminal according to the second information in the tag value in the data channel negotiation request.
  • the network device of the first network forwards the data channel negotiation request to the network device of the remote network side (the network device of the second network);
  • the network device on the remote network side determines that the requested data channel applies to the remote network application according to the first information in the tag value in the data channel negotiation request.
  • the second information in the tag value determines that the channel type of the requested data data channel is the channel between the terminal and the network-side application server, then the network device of the second network establishes a data channel with the second application server.
  • the second application server is the application server in the second network that initiates the data channel negotiation request, that is, the application server of the remote network application;
  • S650 Execute the media negotiation process of the data channel between the first terminal and the application server of the remote network application (second application server), and complete the communication between the first terminal and the application server of the remote network application (second application server).
  • the data channel is established.
  • the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is the channel between the terminal and the network-side application server, and indicates that the requested data channel should be used in the remote network.
  • the terminal network application enables the network device to establish a data channel with the application server of the remote network application based on the tag value, and further enables the first terminal to establish a data channel with the application server of the remote network application.
  • the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is a channel between the terminal and the network-side application server, and indicates that the requested data channel is a channel between the terminal and the network-side application server.
  • the data channel is used in remote network applications.
  • the network device of the first network forwards the data channel negotiation request to the data control server of the remote network and establishes a connection with the remote network.
  • the data channel between the data control servers of the end network, the data control server of the remote network forwards the received first data sent by the sending end through the data channel to the remote server to which the application requesting the data channel belongs.
  • the application server and the data control server of the remote network forward the second data sent by the remote application server to the network device through the data channel and then send it to the sending end.
  • the first terminal sends a data channel negotiation request to the network device of the first network in which it is located.
  • the data channel negotiation request includes the data channel application identifier requesting to use the data channel, and receives the data channel negotiation request.
  • the second terminal can perform data channel negotiation and establishment according to the data channel negotiation request, determine the corresponding data channel application, and display the corresponding interactive interface and interactive data, as shown in Figure 7.
  • the implementation process includes:
  • the first terminal Based on the audio/video call between the first terminal and the second terminal, the first terminal triggers data channel negotiation with the second terminal according to the application instructions;
  • the first terminal sends a data channel negotiation request to the network device of the first network; in this implementation, optionally, the tag value in the data channel negotiation request includes at least second information and third information.
  • the field name of the second information is "type"
  • the second information is a third value, such as 1, indicating that the channel type of the requested data channel is a channel from terminal to terminal; optionally, the third information indicates the request The data channel application identifier using said data channel;
  • the network device determines that the channel type of the requested data channel is a terminal-to-terminal channel according to the tag value in the data channel negotiation request, and the network device forwards the data channel negotiation request to the second terminal requested by the data channel negotiation request;
  • the second terminal obtains application information based on the third information in the data channel negotiation request tag value, and determines the data channel application associated with the data channel based on the data channel application identifier in the third information; the data channel application The program is used to describe the front-end page display information of the data channel application and the business logic of user interaction operations on the terminal side on the terminal side;
  • determine the data channel application associated with the data channel based on the data channel application identifier in the third information including:
  • S760 A data channel is established between the second terminal and the first terminal.
  • the terminal initiates a boot application acquisition request to the network device through an HTTP request (GET) in bootstrap DC 0; where, when the terminal has a cached boot application locally, the terminal needs to carry the local boot application version number information in the HTTP GET .
  • HTTP request GET
  • the network device returns the boot application to the terminal; if there is a version update of the boot application, the updated boot application needs to be returned to the terminal; when the network device determines that the local cache version of the terminal is already the latest version, it directly returns the application. Update news.
  • S840 The terminal initiates an application list acquisition request to the network device according to the boot application instruction in bootstrap DC 0.
  • S850 The network device returns the application list to the terminal.
  • the terminal automatically loads the application according to the application list in bootstrap DC 0 and triggers application acquisition; or, according to the user's selection request, obtains the corresponding application and triggers application acquisition;
  • the terminal initiates an application acquisition request to the network through HTTP GET in bootstrap DC 0; when there is an application that caches calls locally on the terminal, the terminal needs to carry the local application version number information in HTTP GET;
  • the network device determines that there is a version update of the application, it returns the updated version of the application. to the terminal; when it is judged that the local cache version of the terminal is already the latest version, a message that the application has not been updated is directly returned.
  • the terminal displays the page according to the application instructions during the call.
  • the terminal can obtain the application program list in advance, so that when making an audio/video call with another terminal, after receiving the data channel negotiation request of the other terminal, it can request the data of the data channel according to the data channel negotiation request.
  • Channel application identifier initiates a data channel application acquisition request to the network side, determines the data channel application corresponding to the data channel requested by the data channel negotiation, and displays the interactive interface and interactive data of the data channel application.
  • the first terminal sends a data channel negotiation request to the network device of the first network in which it is located.
  • the data channel negotiation request includes the data channel application identifier requesting the use of the data channel.
  • the second terminal receives the data channel negotiation request.
  • the terminal can determine the data channel application corresponding to the data channel negotiation request according to the data channel application identifier, and display the interactive interface and interactive data of the data channel application, so that the first terminal and the second terminal involved in the call can have the same An application that can complete business analysis and interaction between the two parties in a call.
  • the second terminal can request and download the application program through one of the data channels, such as bootstrap 0 (the data channel between the terminal and the application server on the local network side) , or it can be bootstrap 100 (the data channel between the terminal and the application server on the remote network side).
  • the application server is responsible for processing and managing all applications and providing application download services for terminals.
  • the above-described first to sixth embodiments take the sending end as a terminal and the receiving end as a network device as an example to describe the specific implementation of the negotiation method in the embodiments of the present disclosure.
  • the sending end is a terminal and the receiving end is a network device.
  • the end is not limited to being the initiator of the data channel negotiation request, but can also be the forwarding end of the data channel negotiation request.
  • the sending end is the network device and the receiving end is the second terminal.
  • the sending end is a network device and the receiving end is a second terminal
  • the second terminal determines that the channel type of the requested data channel is terminal-to-terminal based on the channel attribute information. channel between each other, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal.
  • the application information of the application requesting the data channel is obtained according to the data channel negotiation request, according to the data channel negotiation request to download all Described application.
  • the sending end is a network device and the receiving end is a terminal.
  • data channel processing is performed, including:
  • the data channel negotiation request is forwarded to the requested terminal.
  • Another embodiment of the present disclosure also provides a negotiation method, which is applied to network devices. As shown in Figure 9, the method includes:
  • S910 Receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • S920 Execute data channel processing according to the channel attribute information.
  • the data channel negotiation request when the sending end sends a data channel negotiation request to the receiving end, the data channel negotiation request includes channel attribute information, which is used to indicate relevant information of the requested data channel type, so as to be able to distinguish between different
  • the data channel type enables the receiving end to accurately perform data channel establishment based on the channel attribute information, and implement business analysis and interaction.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the id value of the requested data channel.
  • the negotiation method when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  • the sending end is a terminal or a network device.
  • the network device is one of a network device on a local network side, a network device on a remote network side, or an application server.
  • the network device is a Data Channel Server (also referred to as DC Server or DCS), a Voice over Long-Term Evolution (VoLTE) application server (VoLTE Application Server, VoLTE AS) , Voice over New Radio (VoNR)+ platform, new call platform and other equipment based on New Radio (NR).
  • DC Server also referred to as DC Server or DCS
  • VoIP Voice over Long-Term Evolution
  • VoIP AS Voice over New Radio
  • VoIP+ platform Voice over New Radio
  • new call platform and other equipment based on New Radio (NR).
  • NR New Radio
  • the application server can be a variety of business servers that call data channel capabilities, such as intelligent translation application servers, remote collaboration application servers, augmented reality (Augmented Reality, AR) call application servers, and so on.
  • intelligent translation application servers such as intelligent translation application servers, remote collaboration application servers, augmented reality (Augmented Reality, AR) call application servers, and so on.
  • remote collaboration application servers such as augmented reality (Augmented Reality, AR) call application servers, and so on.
  • augmented reality (Augmented Reality, AR) call application servers such as augmented reality (Augmented Reality, AR) call application servers, and so on.
  • the sending end is a terminal, and performing data channel processing according to the channel attribute information includes:
  • the data channel negotiation request is forwarded to the requested terminal.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the channel type of the requested data channel is determined to be a channel from the terminal to the network side according to the channel attribute information
  • a data channel is established with the data control server, and the data control server sends the received data to the network side.
  • the first data sent by the terminal through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the second data received by the application server is forwarded by the data control server through the data
  • the channel is forwarded to the sending end.
  • the negotiation method wherein data channel processing is performed according to the channel attribute information, includes:
  • the channel type of the requested data channel is a channel between the terminal and the network side, establishing the relationship with the said A data channel between application servers for local network applications;
  • the channel type of the requested data data channel is a channel between network-side application servers, and the requested data channel
  • the channel type is the channel between the terminal and the network-side application server
  • a data channel is established with the local data control server, and the local data control server transmits the received data sent by the terminal through the data channel.
  • the first data is forwarded to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received second data sent by the application server to the terminal through the data channel; or
  • the requested data channel is Forwarding the data channel negotiation request to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
  • the requested data channel is The above data channel negotiation request is forwarded to the data control server of the remote network, And establish a data channel with the data control server of the remote network, and the data control server of the remote network forwards the received first data sent by the sending end through the data channel to the application requesting the data channel.
  • the remote application server, and the second data sent by the remote application server by the data control server of the remote network are forwarded to the network device through the data channel and then sent to the sending end. .
  • the data control server may be called a data channel server (Data Channel Server, which may be referred to as DC Server or DCS), or it may be a session border controller (Session Border Controller, SBC).
  • DC Server which may be referred to as DC Server or DCS
  • SBC Session Border Controller
  • the data control server may receive the data channel negotiation request sent by the sending end, and the network device that executes the method described in the embodiment of the present disclosure may be the same device, or may be a different device.
  • the sending end is a first terminal and the receiving end is a second terminal, performing data channel processing according to the channel attribute information, including:
  • the channel attribute information includes application information indicating the use of the requested data channel, according to the channel attribute information, send a network request of the corresponding application to the network side, obtain the data of the corresponding application from the data channel indicated by the channel attribute information, and execute the corresponding application.
  • the sending end is a network device and the receiving end is a terminal
  • performing data channel processing according to the channel attribute information includes:
  • the data channel negotiation request is forwarded to the requested terminal.
  • Embodiments of the present disclosure also provide a negotiation method, which is applied to terminals. As shown in Figure 10, the method includes:
  • S1002 Complete data channel negotiation and establishment according to the data channel negotiation request
  • S1003. Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or to interact with users on the terminal side.
  • Business logic is described;
  • S1004 Display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the negotiation method wherein determining the data channel application associated with the data channel according to the channel attribute information includes:
  • the negotiation method further includes:
  • the interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
  • An embodiment of the present disclosure also provides a network device, where the network device is a sending end.
  • the sending end 1100 includes a transceiver 1110, wherein:
  • the transceiver 1110 is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the first information when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  • the sending end is a terminal or a network device.
  • the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
  • the network device is a network device.
  • the network device 1200 includes a transceiver 1210 and a processor 1220, wherein:
  • the transceiver 1210 is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the processor 1220 is configured to perform data channel processing according to the channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the id value of the requested data channel.
  • the first information when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the second information when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel from the terminal to the network side; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is from the network side application server to the network side. channel between terminals.
  • the sending end is a terminal or a network device.
  • the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
  • the sending end is a terminal and the receiving end is a network device.
  • the processor 1220 performs data channel processing according to the channel attribute information, including:
  • the data channel negotiation request is forwarded to the requested terminal.
  • the sending end is a terminal and the receiving end is a network device.
  • the processor 1220 performs data channel processing according to the channel attribute information, including:
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs;
  • a data channel with the data control server is established.
  • the data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data sent by the application server The second data is forwarded to the sending end through the data channel.
  • the sending end is a terminal and the receiving end is a network device.
  • the processor 1220 performs data channel processing according to the channel attribute information, including:
  • the channel type of the requested data channel is a channel between the terminal and the network side, establishing a connection with the local network A data channel between an application's application servers;
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, and the requested data channel
  • the channel type is the channel between the terminal and the network-side application server
  • a data channel is established with the local data control server, and the local data control server transmits the received data sent by the terminal through the data channel.
  • the first data is forwarded to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received second data sent by the application server to the terminal through the data channel; or
  • the data is The channel negotiation request is forwarded to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
  • the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network.
  • the data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel.
  • the network device then sends it to the sending end.
  • the sending end is a first terminal and the receiving end is a second terminal.
  • the processor 1220 performs data channel processing according to the channel attribute information, including:
  • the channel attribute information it is determined that the channel type of the requested data channel is a channel between terminals, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal, and the channel
  • the attribute information includes application information indicating the use of the requested data channel
  • a network request for the corresponding application is sent to the network side according to the channel attribute information, and the corresponding application is obtained from the data channel indicated by the channel attribute information. data to execute the corresponding application.
  • the sending end is a network device, and the receiving end is a terminal.
  • data channel processing is performed, including:
  • the data channel negotiation request is forwarded to the requested terminal.
  • the terminal 1300 includes a transceiver 1301 and a processor 1302, wherein:
  • the transceiver 1301 is configured to obtain a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the processor 1302 is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
  • the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe;
  • the interactive interface and interactive data of the data channel application are displayed on the call interface.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the processor 1302 determines the data channel application associated with the data channel according to the channel attribute information, including:
  • the processor 1302 is also used to:
  • the interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to the sending end. As shown in Figure 14, the device includes:
  • the sending module 1410 is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the negotiation device when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the negotiation device when the second information is a third value, it is used to indicate The channel type of the requested data channel is a channel from the terminal to the terminal; when the second information is a fourth value, it is used to indicate that the channel type of the requested data channel is a channel from the terminal to the network-side application server; so When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the network-side application server and the terminal.
  • the sending end is a terminal or a network device.
  • the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to network equipment. As shown in Figure 15, the device includes:
  • the receiving module 1510 is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the first processing module 1520 is configured to perform data channel processing according to the channel attribute information.
  • the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the id value of the requested data channel.
  • the negotiation device when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  • the negotiation device when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value.
  • the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  • the sending end is a terminal or a network device.
  • the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
  • the sending end is a terminal and the receiving end is a network device.
  • the first processing module 1520 performs data channel processing according to the channel attribute information, including:
  • the data channel negotiation request is forwarded to the requested terminal.
  • the sending end is a terminal and the receiving end is a network device.
  • the first processing module 1520 performs data channel processing according to the channel attribute information, including:
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs;
  • a data channel is established with the data control server, and the data control server transmits the received The first data sent by the sending end through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the data control server forwards the received second data sent by the application server through the The data channel is forwarded to the sending end.
  • the sending end is a terminal and the receiving end is a network device.
  • the first processing module 1520 performs data channel processing according to the channel attribute information, including:
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish the relationship with the A data channel between application servers for local network applications;
  • the channel type of the requested data channel is a channel between the terminal and the network-side application server
  • the data channel between control servers is controlled by the local data
  • the control server forwards the received first data sent by the terminal through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the application server
  • the second data sent is forwarded to the terminal through the data channel;
  • the requested data channel is Forwarding the data channel negotiation request to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
  • the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network.
  • the data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel.
  • the network device then sends it to the sending end.
  • the sending end is a first terminal
  • the receiving end is a second terminal
  • the first processing module 1520 performs data channel processing according to the channel attribute information, including:
  • the channel attribute information it is determined that the channel type of the requested data channel is a channel between terminals, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal, and the channel
  • the attribute information includes application information indicating the use of the requested data channel
  • a network request for the corresponding application is sent to the network side according to the channel attribute information, and the corresponding application is obtained from the data channel indicated by the channel attribute information. data to execute the corresponding application.
  • the negotiation device wherein the sending end is a network device and the receiving end is a terminal, performs data channel processing according to the channel attribute information, including:
  • the data channel negotiation request is forwarded to the requested terminal.
  • An embodiment of the present disclosure also provides a negotiation device, which is applied to a terminal. As shown in Figure 16, the device includes:
  • the acquisition module 1610 is used to acquire the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
  • the second processing module 1620 is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
  • the third processing module 1630 is configured to determine the data channel application program associated with the data channel based on the channel attribute information; the data channel application program is used to display information on the front-end page of the data channel application on the terminal side and/or Describe the business logic of user interaction operations on the terminal side;
  • the display module 1640 is configured to display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
  • the channel attribute information includes at least one of the following information:
  • the first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
  • the second information is used to indicate the channel type of the requested data channel
  • Third information used to indicate the identification of the data channel application that requests the use of the data channel
  • the fourth information is used to indicate the channel name of the requested data channel.
  • the third processing module 1630 determines the data channel application associated with the data channel based on the channel attribute information, including:
  • the third processing module 1630 is also used to:
  • the interactive data is sent to the application server through the data channel or to the initiating party.
  • An embodiment of the present disclosure also provides a network device, which includes: a processor, a memory, and a program stored on the memory and executable on the processor.
  • a network device which includes: a processor, a memory, and a program stored on the memory and executable on the processor.
  • the program is executed by the processor, the following is implemented: The negotiation method described in any of the preceding items.
  • the network device may be the above-mentioned sending end, network device or terminal, wherein the processor of the sending end, network device or terminal runs a program.
  • the processor of the sending end, network device or terminal runs a program.
  • the computer-readable storage medium is applied to the above-mentioned sending end, network device or terminal.
  • the corresponding execution steps in the negotiation method are as described in detail above, which will not be described again here.
  • the disclosed methods and devices can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the sending and receiving methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access storage Various media that can store program code such as Random Access Memory (RAM), magnetic disks or optical disks.

Abstract

Provided in the present disclosure are a negotiation method, an apparatus, a network device, and a terminal. The method comprises: sending a data channel negotiation request to a receiving end, the data channel negotiation request comprising channel attribute information.

Description

协商方法、装置、网络设备及终端Negotiation method, device, network equipment and terminal
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年5月25日在中国提交的中国专利申请号No.202210578258.4的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210578258.4 filed in China on May 25, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及数据业务技术领域,尤其是指一种协商方法、装置、网络设备及终端。The present disclosure relates to the technical field of data services, and in particular, refers to a negotiation method, device, network equipment and terminal.
背景技术Background technique
为了实现在IMS语音(Voice over IMS,VoIMS)通话中更丰富的交互及数据传输能力,目前在IP多媒体子系统(IP Multimedia Subsystem,IMS)系统中引入了数据通道(Data Channel,DC)技术。根据现有标准定义,终端/网络通过会话描述协议(Session Des cription Protocol,SDP)完成DC协商。在同一次会话中,终端可以协商多条数据通道。当数据通道具有不同的网际互连协议(Internet Protocol,IP)地址、或不同的用户数据协议(User Datagram Protocol,UDP)端口号、或流控制传输协议(Stream Control Transmission Protocol,SCTP)端口号时,需要使用不同的SDP m行来进行协商。In order to achieve richer interaction and data transmission capabilities in IMS voice (Voice over IMS, VoIMS) calls, data channel (Data Channel, DC) technology is currently introduced in the IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) system. According to the existing standard definition, the terminal/network completes DC negotiation through the Session Description Protocol (Session Description Protocol, SDP). In the same session, the terminal can negotiate multiple data channels. When the data channels have different Internet Protocol (IP) addresses, or different User Datagram Protocol (UDP) port numbers, or Stream Control Transmission Protocol (SCTP) port numbers , different SDP m lines need to be used for negotiation.
在相关技术DC协商过程中,网络侧网元在接收媒体协商请求后,存在无法判断该媒体协商请求是用于请求终端至终端之间的数据通道,还是终端与网络服务器之间的数据通道的问题;并且,在运营商网络中,还存在网络侧网元无法获知所接收的媒体协商请求是需要本地网络处理,还是远端网络处理的问题。In the related technology DC negotiation process, after receiving the media negotiation request, the network side network element cannot determine whether the media negotiation request is used to request a data channel between the terminal and the terminal, or a data channel between the terminal and the network server. problem; and, in the operator network, there is also a problem that the network element on the network side cannot know whether the received media negotiation request needs to be processed by the local network or the remote network.
此外,对于涉及通话双方共同使用的DC应用,需要双方终端具备相同的应用程序用于提供DC应用,而发起方终端可以在用户选择DC应用时获取该应用程序/应用页面数据,然后建立与对端的数据通道,用于应用数据传输。此时接收方终端收到发起方的数据通道建立请求,可以完成数据通道的建立,但存在无法获知及请求该数据通道所对应的应用程序/应用业务数据, 因此无法实现数据通道应用的业务数据解析与交互。In addition, for DC applications that are used by both parties in the call, both terminals need to have the same application to provide the DC application, and the initiating terminal can obtain the application/application page data when the user selects the DC application, and then establish and communicate with each other. The data channel at the end is used for application data transmission. At this time, the receiving terminal receives the data channel establishment request from the initiator and can complete the establishment of the data channel, but it is unable to obtain and request the application/application service data corresponding to the data channel. Therefore, the business data analysis and interaction of data channel applications cannot be realized.
因此,上述的数据通道协商过程中,存在媒体协商请求的接收端无法准确执行数据通道建立,并实现业务的解析与交互的问题。Therefore, during the above-mentioned data channel negotiation process, there is a problem that the receiving end of the media negotiation request cannot accurately perform data channel establishment and realize service parsing and interaction.
发明内容Contents of the invention
本公开技术方案的目的在于提供一种协商方法、装置及网络设备,用于解决相关技术的数据通道协商过程,存在媒体协商请求的接收端无法准确执行数据通道建立,或无法实现数据通道应用业务数据的解析与交互的问题。The purpose of the disclosed technical solution is to provide a negotiation method, device and network equipment to solve the data channel negotiation process of related technologies. The receiving end with a media negotiation request cannot accurately perform data channel establishment, or cannot implement data channel application services. Data analysis and interaction issues.
本公开实施例提供一种协商方法,其中,应用于发送端,所述方法包括:Embodiments of the present disclosure provide a negotiation method, which is applied to the sending end. The method includes:
向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。A data channel negotiation request is sent to the receiving end, where the data channel negotiation request includes channel attribute information.
可选地,所述的协商方法,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the negotiation method, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation method, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的协商方法,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the negotiation method, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的协商方法,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the negotiation method, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
可选地,所述的协商方法,其中,所述发送端为终端或者为网络设备。 Optionally, in the negotiation method, the sending end is a terminal or a network device.
可选地,所述的协商方法,其中,所述接收端为终端、本地网络侧的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。Optionally, in the negotiation method, the receiving end is one of a terminal, a network device on the local network side, a network device on the remote network side, an application server, and a data control server.
本公开实施例还提供一种协商方法,其中,应用于网络设备,所述方法包括:An embodiment of the present disclosure also provides a negotiation method, which is applied to a network device. The method includes:
接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;Receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
根据所述通道属性信息,执行数据通道处理。Data channel processing is performed based on the channel attribute information.
可选地,所述的协商方法,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the negotiation method, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation method, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的id值。The fourth information is used to indicate the id value of the requested data channel.
可选地,所述的协商方法,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the negotiation method, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的协商方法,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the negotiation method, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述第二信息,确定所请求数据通道的通道类型为终端至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。 When it is determined according to the second information that the channel type of the requested data channel is a terminal-to-terminal channel, the data channel negotiation request is forwarded to the requested terminal.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所请求数据通道的应用所属应用服务器之间的数据通道;或者When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs; or
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与数据控制服务器之间的数据通道,由所述数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, a data channel is established with the data control server, and the data control server transmits the received The first data sent by the sending end through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the data control server forwards the received second data sent by the application server through the The data channel is forwarded to the sending end.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所述本地网络应用的应用服务器之间的数据通道;或者When it is determined according to the first information and the second information that the requested data channel applies to the local network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish the relationship with the A data channel between application servers for local network applications; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与本地数据控制服务器之间的数据通道,由所述本地数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When it is determined according to the first information and the second information that the requested data channel applies to the local network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a connection with the local data channel Control the data channel between the servers. The local data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the sending end through the data channel to the application server that requests the data channel. The data control server forwards the received second data sent by the application server to the sending end through the data channel.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络侧的网络设备,以通过远端网络侧的网络设备建立发送端与远端网络的应用服务器之间的数据通 道;When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The above data channel negotiation request is forwarded to the network device on the remote network side to establish a data communication between the sending end and the application server of the remote network through the network device on the remote network side. road;
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络的数据控制服务器,并建立与远端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network. The data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel. The network device then sends it to the sending end.
本公开实施例还提供一种协商方法,其中,应用于终端,所述方法包括:Embodiments of the present disclosure also provide a negotiation method, which, when applied to a terminal, includes:
获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;Obtain the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
根据所述数据通道协商请求,完成数据通道协商及建立;Complete data channel negotiation and establishment according to the data channel negotiation request;
根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe;
根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。According to the interactive data received in the data channel and/or the data channel application associated with the data channel, the interactive interface and interactive data of the data channel application are displayed on the call interface.
可选地,所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation method, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的协商方法,其中,根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序,包括:Optionally, the negotiation method, wherein determining the data channel application associated with the data channel according to the channel attribute information includes:
根据所述通道属性信息,确定请求使用所述数据通道的数据通道应用程序标识; Determine the data channel application identifier that requests the use of the data channel according to the channel attribute information;
通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
获取所述网络侧根据所述数据通道应用程序获取请求发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
可选地,所述的协商方法,其中,所述方法还包括:Optionally, the negotiation method further includes:
将所述交互数据通过所述数据通道发送至应用服务器或者发送至发起所述数据通道协商请求的终端。The interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
本公开实施例还提供一种网络设备,其中,所述网络设备为发送端,包括收发机,其中:An embodiment of the present disclosure also provides a network device, wherein the network device is a sending end and includes a transceiver, wherein:
所述收发机用于,向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。The transceiver is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
本公开实施例还提供一种网络设备,其中,包括收发机和处理器,其中:An embodiment of the present disclosure also provides a network device, which includes a transceiver and a processor, wherein:
所述收发机用于,接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
所述处理器用于,根据所述通道属性信息,执行数据通道处理。The processor is configured to perform data channel processing according to the channel attribute information.
本公开实施例还提供一种终端,其中,包括收发机和处理器,其中:An embodiment of the present disclosure also provides a terminal, which includes a transceiver and a processor, wherein:
所述收发机用于,获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver is configured to obtain a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
所述处理器用于,根据所述数据通道协商请求,完成数据通道协商及建立;The processor is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;以及Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe; and
根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。According to the interactive data received in the data channel and/or the data channel application associated with the data channel, the interactive interface and interactive data of the data channel application are displayed on the call interface.
本公开实施例还提供一种协商装置,其中,应用于发送端,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to the sending end, and the device includes:
发送模块,用于向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。 A sending module, configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
本公开实施例还提供一种协商装置,其中,应用于网络设备,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to network equipment, and the device includes:
接收模块,用于接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;A receiving module, configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
第一处理模块,用于根据所述通道属性信息,执行数据通道处理。The first processing module is used to perform data channel processing according to the channel attribute information.
本公开实施例还提供一种协商装置,其中,应用于终端,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to a terminal and includes:
获取模块,用于获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The acquisition module is used to acquire the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
第二处理模块,用于根据所述数据通道协商请求,完成数据通道协商及建立;The second processing module is used to complete data channel negotiation and establishment according to the data channel negotiation request;
第三处理模块,用于根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;The third processing module is used to determine the data channel application program associated with the data channel according to the channel attribute information; the data channel application program is used to display information on the front-end page of the data channel application on the terminal side and/or the terminal Describe the business logic of user interaction operations;
显示模块,用于根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。A display module, configured to display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
本公开实施例还提供一种网络设备,其中,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上任一项所述的协商方法。An embodiment of the present disclosure also provides a network device, which includes: a processor, a memory, and a program stored on the memory and executable on the processor. When the program is executed by the processor, the following is implemented: The negotiation method described in any of the preceding items.
本公开实施例还提供一种可读存储介质,其中,所述可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求如上任一项所述的协商方法中的步骤。Embodiments of the present disclosure also provide a readable storage medium, wherein a program is stored on the readable storage medium, and when the program is executed by a processor, the steps in the negotiation method as claimed in any one of the preceding claims are implemented. .
本公开上述技术方案中的至少一个具有以下有益效果:At least one of the above technical solutions of the present disclosure has the following beneficial effects:
采用本公开实施例所述协商方法,在发送端向接收端发送数据通道协商请求时,通过数据通道协商请求中包括通道属性信息,用于指示所请求数据通道类型的相关信息,以能够区分不同数据通道类型,使得接收端能够根据该通道属性信息,准确执行数据通道建立,并实现数据通道业务数据的解析与交互。 Using the negotiation method described in the embodiment of the present disclosure, when the sending end sends a data channel negotiation request to the receiving end, the data channel negotiation request includes channel attribute information, which is used to indicate relevant information of the requested data channel type, so as to be able to distinguish between different The data channel type enables the receiving end to accurately establish the data channel based on the channel attribute information, and realize the analysis and interaction of the data channel business data.
附图说明Description of the drawings
图1为本公开其中一实施例所述协商方法的流程示意图;Figure 1 is a schematic flowchart of a negotiation method according to one embodiment of the present disclosure;
图2为本公开实施例所述协商方法的实施方式一的流程示意图;Figure 2 is a schematic flow chart of Implementation Mode 1 of the negotiation method according to the embodiment of the present disclosure;
图3为本公开实施例所述协商方法的实施方式二的流程示意图;Figure 3 is a schematic flowchart of Implementation Mode 2 of the negotiation method according to the embodiment of the present disclosure;
图4为本公开实施例所述协商方法的实施方式三的流程示意图;Figure 4 is a schematic flowchart of Implementation Mode 3 of the negotiation method according to the embodiment of the present disclosure;
图5为本公开实施例所述协商方法的实施方式四的流程示意图;Figure 5 is a schematic flowchart of Implementation Mode 4 of the negotiation method according to the embodiment of the present disclosure;
图6为本公开实施例所述协商方法的实施方式五的流程示意图;Figure 6 is a schematic flowchart of Implementation Mode 5 of the negotiation method according to the embodiment of the present disclosure;
图7为本公开实施例所述协商方法的实施方式六的流程示意图;Figure 7 is a schematic flowchart of Implementation Mode 6 of the negotiation method according to the embodiment of the present disclosure;
图8为本公开实施例协商方法的实施方式六中,部分流程的执行过程示意图;Figure 8 is a schematic diagram of the execution process of part of the process in the sixth implementation of the negotiation method according to the embodiment of the present disclosure;
图9为本公开另一实施例所述协商方法的流程示意图;Figure 9 is a schematic flowchart of a negotiation method according to another embodiment of the present disclosure;
图10为本公开再一实施例所述协商方法的流程示意图;Figure 10 is a schematic flowchart of a negotiation method according to yet another embodiment of the present disclosure;
图11为本公开其中一实施例所述网络设备的结构示意图;Figure 11 is a schematic structural diagram of a network device according to one embodiment of the present disclosure;
图12为本公开另一实施例所述网络设备的结构示意图;Figure 12 is a schematic structural diagram of a network device according to another embodiment of the present disclosure;
图13为本公开实施例所述终端的结构示意图;Figure 13 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图14为本公开实施例一所述协商装置的结构示意图;Figure 14 is a schematic structural diagram of the negotiation device according to Embodiment 1 of the present disclosure;
图15为本公开实施例二所述协商装置的结构示意图;Figure 15 is a schematic structural diagram of the negotiation device according to Embodiment 2 of the present disclosure;
图16为本公开实施例三所述协商装置的结构示意图。Figure 16 is a schematic structural diagram of the negotiation device according to Embodiment 3 of the present disclosure.
具体实施方式Detailed ways
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present disclosure clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
为解决相关技术的数据通道协商过程,存在媒体协商请求的接收端无法准确执行数据通道建立,或无法实现业务的解析与交互的问题,本公开实施例提供一种协商方法,在发送端向接收端发送数据通道协商请求时,通过数据通道协商请求中包括通道属性信息,用于指示所请求数据通道类型的相关信息,以能够区分不同数据通道类型,使得接收端能够根据该通道属性信息,准确执行数据通道建立,并实现业务的解析与交互。In order to solve the problem that in the data channel negotiation process of related technologies, the receiving end of the media negotiation request cannot accurately perform the data channel establishment, or cannot realize the parsing and interaction of services, embodiments of the present disclosure provide a negotiation method, in which the sending end sends a request to the receiving end. When the end sends a data channel negotiation request, the data channel negotiation request includes channel attribute information, which is used to indicate the relevant information of the requested data channel type, so as to be able to distinguish different data channel types, so that the receiving end can accurately determine the data channel based on the channel attribute information. Execute data channel establishment and implement business analysis and interaction.
本公开其中一实施例提供一种协商方法,应用于发送端,如图1所示, 所述方法包括:One embodiment of the present disclosure provides a negotiation method, which is applied to the sending end, as shown in Figure 1, The methods include:
S110,向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。S110. Send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
本公开实施例中,可选地,通道属性信息为用于指示所请求数据通道类型的相关信息,以能够区分不同数据通道类型,根据该通道属性信息,接收端能够执行准确的数据通道处理操作,如能够确定所请求数据通道应用于本地网络应用还是远端网络应用、所请求数据通道的通道类型为终端至终端之间的通道还是终端与网络设备之间的通道、或者所请求数据通道使用的应用程序信息等。In the embodiment of the present disclosure, optionally, the channel attribute information is relevant information used to indicate the requested data channel type, so as to be able to distinguish different data channel types. According to the channel attribute information, the receiving end can perform accurate data channel processing operations. , such as being able to determine whether the requested data channel applies to a local network application or a remote network application, the channel type of the requested data channel is a channel between a terminal and a terminal or a channel between a terminal and a network device, or the use of the requested data channel application information, etc.
采用本公开实施例所述协商方法,其中一实施方式,可选地,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Using the negotiation method described in the embodiment of the present disclosure, in one implementation, optionally, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
相较于通常技术,发送端在与接收端在进行数据通道协商时,标签值(label)仅用于指示所请求数据通道的通道名称,以用于区分不同的数据通道,采用本公开实施例所述协商方法,发送端向接收端发送的数据通道协商请求中,标签值label还用于指示所请求数据通道的通道属性信息,以使接收端能够根据该通道属性信息,能够执行准确的数据通道处理操作,实现业务的解析与交互,并避免增加数据通道协商的交互信令。Compared with common technology, when the sending end negotiates the data channel with the receiving end, the label value (label) is only used to indicate the channel name of the requested data channel to distinguish different data channels. Using the embodiment of the present disclosure In the negotiation method, in the data channel negotiation request sent by the sending end to the receiving end, the label value label is also used to indicate the channel attribute information of the requested data channel, so that the receiving end can perform accurate data processing based on the channel attribute information. Channel processing operations realize business analysis and interaction, and avoid adding interactive signaling for data channel negotiation.
本公开实施例中,可选地,所述通道属性信息包括以下信息中的至少之一:In this embodiment of the present disclosure, optionally, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, when the first information is a first value, it is used to indicate that the requested data channel is applied to the local network application; when the first information is a second value, it is used to indicate that the requested data channel is applied to the remote end. Internet application.
可选地,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数 据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; when the second information is a fourth value, it is used to indicate that the requested data channel is a terminal-to-terminal channel. number The channel type of the data channel is a channel between the terminal and the network-side application server; when the second information is the fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the network-side application server and the terminal.
其中一实施方式,可选地,第一信息的字段名称为“orig”,第一信息可以为第一值,如表示为“local”,用于指示所请求数据通道应用于本地网络应用,也即由本地网络应用发起,也可以说是由bootstrap 0中的应用发起;第一信息可以为第二值,如表示为“remote”,用于指示所请求数据通道应用于远端网络应用,也即由远端网络应用发起,也可以说是由bootstrap 100中的应用发起。In one implementation, optionally, the field name of the first information is "orig", and the first information may be a first value, such as "local", which is used to indicate that the requested data channel applies to local network applications, or That is, it is initiated by the local network application, or it can be said to be initiated by the application in bootstrap 0; the first information can be the second value, such as "remote", which is used to indicate that the requested data channel should be used by the remote network application, also That is, it is initiated by the remote network application, or it can be said to be initiated by the application in bootstrap 100.
可选地,第二信息的字段名称为“type”,第二信息为第三值,如表示为1,指示所请求数据通道的通道类型为终端至终端之间的通道;第二信息为第四值,如表示为0,指示所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;第二信息为第五值,如表示为11,指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, the field name of the second information is "type", and the second information is a third value, such as 1, indicating that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is the third value. The fourth value, if expressed as 0, indicates that the channel type of the requested data channel is the channel between the terminal and the network-side application server; the second information is the fifth value, if expressed as 11, indicating the channel type of the requested data channel. It is the channel between the network-side application server and the terminal.
可选地,第三信息的字段名称为“appid”,可以为32位字符串,用于指示请求使用所述数据通道的数据通道应用程序标识。Optionally, the field name of the third information is "appid", which may be a 32-bit string, used to indicate the data channel application ID that requests to use the data channel.
可选地,第四信息的字段名称为“dcid”,用于指示所请求数据通道的通道名称,如表示为标识(Identifier,ID)值。在应用根据业务需求申请多条相同类型的数据通道时,采用该第四信息,可以用于区分对应同一应用的不同数据通道。可选地,该第四信息的具体取值可以由应用定义,在应用内唯一,能够对同一应用的相同类型的数据通道进行区分即可。Optionally, the field name of the fourth information is "dcid", which is used to indicate the channel name of the requested data channel, such as expressed as an identification (Identifier, ID) value. When an application applies for multiple data channels of the same type according to business requirements, this fourth information can be used to distinguish different data channels corresponding to the same application. Optionally, the specific value of the fourth information can be defined by the application, is unique within the application, and can distinguish data channels of the same type in the same application.
本公开实施例中,向接收端发送的数据通道协商请求中,可选地,还包括流ID(也即为stream-id),用于标志数据通道中的流控制传输协议(Stream Control Transmission Protocol,SCTP)子流。其中,在流ID小于预设值时,对应的数据通道定义为引导(Bootstrap)通道,用于数据通道应用访问超文本传输协议(Hyper Text Transfer Protocol,HTTP)根目录统一资源定位系统(Uniform Resource Locator,URL)以获取图形化界面;当需要获取更多业务服务时使用流ID大于预设值的数据通道。In this disclosed embodiment, the data channel negotiation request sent to the receiving end optionally also includes a stream ID (that is, stream-id), which is used to identify the Stream Control Transmission Protocol in the data channel. , SCTP) subflow. Among them, when the stream ID is less than the preset value, the corresponding data channel is defined as a Bootstrap channel, which is used for the data channel application to access the Hyper Text Transfer Protocol (HTTP) root directory Uniform Resource Location System (Uniform Resource) Locator, URL) to obtain a graphical interface; when more business services need to be obtained, use a data channel with a flow ID greater than the preset value.
其中一实施方式,可选地,在通过标签值指示通道属性信息时,流ID为 0或100时,标签值可以为空;流ID为0或100外的其他值时,标签值包括上述的第一信息、第二信息、第三信息、第四信息和第五信息中的至少之一,用于区分不同的通道类型。In one implementation, optionally, when indicating channel attribute information through a tag value, the flow ID is When the stream ID is 0 or 100, the tag value can be empty; when the stream ID is a value other than 0 or 100, the tag value includes at least one of the above-mentioned first information, second information, third information, fourth information and fifth information. One, used to distinguish different channel types.
采用本公开实施例所述协商方法,可选地,数据通道协商请求中的标签值可由终端实时生成;或者,也可由网络侧在分发应用或应用配置数据(如应用列表)时实时生成;或者,也可由终端提前生成,然后根据应用调用者身份(主叫或被叫),实时决定当前需要使用的标签值。Using the negotiation method described in the embodiments of this disclosure, optionally, the tag value in the data channel negotiation request can be generated by the terminal in real time; or, it can also be generated by the network side in real time when distributing applications or application configuration data (such as application lists); or , or it can be generated in advance by the terminal, and then the tag value that needs to be used is determined in real time based on the identity of the application caller (calling or called).
本公开实施例中,可选地,发送端为终端或者为网络设备;接收端为终端、本地网络侧的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。In the embodiment of the present disclosure, optionally, the sending end is a terminal or a network device; the receiving end is one of a terminal, a network device on the local network side, a network device on the remote network side, an application server, and a data control server. .
本公开实施例所述协商方法,利用数据通道协商请求中的通道属性信息,能够区分不同数据通道类型,根据该通道属性信息,接收端能够执行准确的数据通道处理操作,如能够确定所请求数据通道应用于本地网络应用还是远端网络应用、所请求数据通道的通道类型为终端至终端之间的通道还是终端与网络设备之间的通道、或者所请求数据通道使用的应用程序信息等,进一步地能够通过通道属性信息,与具体应用进行关联,实现数据通道内数据的转发。The negotiation method described in the embodiment of the present disclosure can distinguish different data channel types by using the channel attribute information in the data channel negotiation request. According to the channel attribute information, the receiving end can perform accurate data channel processing operations, such as being able to determine the requested data Whether the channel is applied to a local network application or a remote network application, whether the channel type of the requested data channel is a terminal-to-terminal channel or a channel between a terminal and a network device, or the application information used by the requested data channel, etc., further It can be associated with specific applications through channel attribute information to realize the forwarding of data in the data channel.
以下对采用本公开实施例所述协商方法的具体实施过程进行举例说明。The following is an example of a specific implementation process using the negotiation method described in the embodiment of the present disclosure.
实施方式一Embodiment 1
该实施方式一中,发送端为终端,所述接收端为网络设备,可选地,采用本公开实施例所述协商方法,发送端为第一终端,向网络设备发送数据通道协商请求,用于请求与第二终端之间的数据通道,也即所请求数据通道的通道类型为终端至终端之间的通道。其中,结合图2,该实施方式的实施过程包括:In the first embodiment, the sending end is a terminal, and the receiving end is a network device. Optionally, using the negotiation method described in the embodiment of the present disclosure, the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the second terminal, that is, the channel type of the requested data channel is a terminal-to-terminal channel. Among them, combined with Figure 2, the implementation process of this embodiment includes:
S210,第一终端向网络设备发送数据通道协商请求;该实施方式一中,可选地,该数据通道协商请求中的标签值至少包括第二信息,可选地,第二信息的字段名称为“type”,第二信息为第三值,如表示为1,指示所请求数据通道的通道类型为终端至终端之间的通道;S210. The first terminal sends a data channel negotiation request to the network device; in the first embodiment, optionally, the tag value in the data channel negotiation request includes at least second information. Optionally, the field name of the second information is "type", the second information is the third value. If expressed as 1, it indicates that the channel type of the requested data channel is a channel from terminal to terminal;
S220,网络设备根据数据通道协商请求中的标签值确定所请求数据通道 的通道类型为终端至终端之间的通道;S220: The network device determines the requested data channel according to the tag value in the data channel negotiation request. The channel type is the channel from terminal to terminal;
S230,网络设备向数据通道协商请求所请求的第二终端转发该数据通道协商请求;S230: The network device forwards the data channel negotiation request to the second terminal requested by the data channel negotiation request;
S240,第一终端与第二终端之间执行数据通道的媒体协商流程,并完成第一终端与第二终端之间的数据通道建立;S240, execute the media negotiation process of the data channel between the first terminal and the second terminal, and complete the establishment of the data channel between the first terminal and the second terminal;
S250,根据数据通道协商请求中的第三信息,确定请求使用所述数据通道的数据通道应用程序标识,从网络侧获取相应的数据通道应用程序;S250: According to the third information in the data channel negotiation request, determine the data channel application identifier requesting to use the data channel, and obtain the corresponding data channel application from the network side;
S260,根据所获取的数据通道应用程序,对所述数据通道内的数据进行解析及显示。S260: Analyze and display the data in the data channel according to the obtained data channel application.
采用该实施方式,第一终端向网络设备发送的数据通道协商请求,通过标签值指示所请求数据通道的通道类型为终端至终端之间的通道,使网络设备根据该标签值,可以进一步向所请求终端转发数据通道协商请求,以建立终端与终端之间的数据通道。Using this implementation mode, the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is a channel between terminals, so that the network device can further send requests to the requested data channel based on the tag value. Request the terminal to forward the data channel negotiation request to establish a data channel between terminals.
实施方式二Embodiment 2
该实施方式二中,发送端为终端,所述接收端为网络设备,可选地,采用本公开实施例所述协商方法,发送端为第一终端,向网络设备发送数据通道协商请求,用于请求与网络侧的应用服务器之间的数据通道,也即所请求数据通道的通道类型为终端至网络侧之间的通道。其中,结合图3,该实施方式的实施过程包括:In the second embodiment, the sending end is a terminal, and the receiving end is a network device. Optionally, using the negotiation method described in the embodiment of the present disclosure, the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the application server on the network side, that is, the channel type of the requested data channel is the channel between the terminal and the network side. Among them, combined with Figure 3, the implementation process of this embodiment includes:
S310,第一终端向网络设备发送数据通道协商请求;该实施方式二中,可选地,该数据通道协商请求中的标签值至少包括第二信息,可选地,第二信息的字段名称为“type”,第二信息为第四值,如表示为0,指示所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;S310. The first terminal sends a data channel negotiation request to the network device; in the second embodiment, optionally, the tag value in the data channel negotiation request includes at least second information. Optionally, the field name of the second information is "type", the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
S320,网络设备根据数据通道协商请求中的标签值确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道,则建立与所请求数据通道的应用所属应用服务器之间的数据通道;S320: The network device determines that the channel type of the requested data channel is a channel between the terminal and the network-side application server based on the tag value in the data channel negotiation request, and then establishes a data channel with the application server to which the application of the requested data channel belongs. ;
S330,第一终端与应用服务器之间执行数据通道的媒体协商流程,并完成第一终端与应用服务器之间的数据通道建立。S330: The first terminal and the application server execute the media negotiation process of the data channel, and complete the establishment of the data channel between the first terminal and the application server.
采用该实施方式,第一终端向网络设备发送的数据通道协商请求,通过 标签值指示所请求数据通道的通道类型为终端至网络侧之间的通道,使网络设备根据该标签值,可以建立与应用服务器之间的数据通道,并进一步使第一终端与应用服务器之间建立数据通道。Using this implementation mode, the data channel negotiation request sent by the first terminal to the network device is passed The tag value indicates that the channel type of the requested data channel is a channel between the terminal and the network side, so that the network device can establish a data channel with the application server based on the tag value, and further enable the connection between the first terminal and the application server. Create a data channel.
实施方式三Implementation mode three
该实施方式三中,发送端为终端,所述接收端为网络设备,可选地,采用本公开实施例所述协商方法,发送端为第一终端,向网络设备发送数据通道协商请求,用于请求与网络侧的应用服务器之间的数据通道,也即所请求数据通道的通道类型为终端至网络侧之间的通道。其中,结合图4,该实施方式的实施过程包括:In the third embodiment, the sending end is a terminal, and the receiving end is a network device. Optionally, using the negotiation method described in the embodiment of the present disclosure, the sending end is the first terminal, and sends a data channel negotiation request to the network device, using The data channel between the request and the application server on the network side, that is, the channel type of the requested data channel is the channel between the terminal and the network side. Among them, combined with Figure 4, the implementation process of this embodiment includes:
S410,第一终端向网络设备发送数据通道协商请求;该实施方式三中,可选地,该数据通道协商请求中的标签值至少包括第二信息,可选地,第二信息的字段名称为“type”,第二信息为第四值,如表示为0,指示所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;S410. The first terminal sends a data channel negotiation request to the network device; in the third embodiment, optionally, the tag value in the data channel negotiation request includes at least second information. Optionally, the field name of the second information is "type", the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
S420,网络设备根据数据通道协商请求中的标签值确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道,该实施方式中,通过建立与数据控制服务器之间的数据通道,由所述数据控制服务器将所接收的由发送端(第一终端)通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端(第一终端);S420: The network device determines, based on the tag value in the data channel negotiation request, that the channel type of the requested data channel is the channel between the terminal and the network-side application server. In this embodiment, by establishing a data channel with the data control server, The data control server forwards the received first data sent by the sending end (first terminal) through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data sent by the sending end (first terminal) through the data channel. The received second data sent by the application server is forwarded to the sending end (first terminal) through the data channel;
S430,第一终端与数据控制服务器之间执行数据通道的媒体协商流程,并完成第一终端与数据控制服务器之间的数据通道建立;S430, execute the media negotiation process of the data channel between the first terminal and the data control server, and complete the establishment of the data channel between the first terminal and the data control server;
S440,数据控制服务器将所接收的由发送端(第一终端)通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端(第一终端)。S440: The data control server forwards the received first data sent by the sending end (first terminal) through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data The second data sent by the application server is forwarded to the sending end (first terminal) through the data channel.
采用该实施方式,基于第一终端与数据控制服务器之间所建立的数据通道,第一终端通过该数据通道发送的第一数据,可以由数据控制服务器转发至所请求应用的应用服务器,以及应用服务器发送的第二数据,可以由数据 控制服务器通过该数据通道转发至第一终端。Using this implementation, based on the data channel established between the first terminal and the data control server, the first data sent by the first terminal through the data channel can be forwarded by the data control server to the application server of the requested application, and the application The second data sent by the server can be composed of data The control server forwards the data to the first terminal through the data channel.
该实施方式中,数据控制服务器为用于实现数据通道的数据控制、转发等功能的媒体面网元,功能类似于IP多媒体子系统(IP Multimedia Subsystem,IMS)网络中的会话边界控制器(Session Border Controller,SBC)网元,可以基于SBC升级来支持该功能。In this implementation, the data control server is a media plane network element used to implement data control, forwarding and other functions of the data channel. Its function is similar to the session border controller (Session) in the IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) network. Border Controller (SBC) network element can be upgraded based on SBC to support this function.
相较于实施方式二,根据数据通道协商请求,第一终端与应用服务器之间直接建立数据通道;在实施方式三中,根据数据通道协商请求,第一终端与数据控制服务器之间建立数据通道,利用数据控制服务器的协议转换功能,数据通道内的数据由数据控制服务器通过与应用服务器之间的连接接口实现数据交互。Compared with the second embodiment, according to the data channel negotiation request, a data channel is directly established between the first terminal and the application server; in the third embodiment, according to the data channel negotiation request, a data channel is established between the first terminal and the data control server. , Utilizing the protocol conversion function of the data control server, the data in the data channel is interacted with by the data control server through the connection interface with the application server.
实施方式四Embodiment 4
该实施方式四中,发送端为终端,所述接收端为网络设备,可选地,采用本公开实施例所述协商方法,发送端为第一终端,向第一终端所在第一网络的第一网络的网络设备发送数据通道协商请求,用于指示所请求数据通道应用于本地网络应用。其中,结合图5,该实施方式的实施过程包括:In the fourth embodiment, the sending end is a terminal, and the receiving end is a network device. Optionally, using the negotiation method described in the embodiment of the present disclosure, the sending end is the first terminal, and the sending end is the first terminal of the first network where the first terminal is located. A network device of a network sends a data channel negotiation request to indicate that the requested data channel should be used for local network applications. Among them, combined with Figure 5, the implementation process of this embodiment includes:
S510,第一终端向第一网络的网络设备发送数据通道协商请求;该实施方式四中,可选地,该数据通道协商请求中的标签值至少包括第一信息和第二信息,可选地,第一信息的字段名称为“orig”,第一信息为第一值,如表示为“local”,指示所请求数据通道应用于本地网络应用,也即由本地网络应用发起,也可以说是由bootstrap 0中的应用发起;第二信息的字段名称为“type”,第二信息为第四值,如表示为0,指示所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;S510: The first terminal sends a data channel negotiation request to the network device of the first network; in the fourth embodiment, optionally, the tag value in the data channel negotiation request includes at least first information and second information. , the field name of the first information is "orig", and the first information is the first value, such as "local", indicating that the requested data channel applies to the local network application, that is, initiated by the local network application, which can also be said to be Initiated by the application in bootstrap 0; the field name of the second information is "type", and the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is between the terminal and the network-side application server. channel;
S520,第一网络的网络设备根据数据通道协商请求中的标签值中的第一信息确定所请求数据通道应用于本地网络应用,或根据发起该数据通道协商请求的应用来自于bootstrap 0(本端网络,也即为第一网络),确定所请求数据通道应用于本地网络应用,另外根据数据通道协商请求中的标签值中的第二信息,确定所请求数据数据通道的通道类型为终端至网络侧之间的通道,则建立与所述本地网络应用的应用服务器(也即为第一应用服务器)之间的数据通道; S520: The network device of the first network determines that the requested data channel applies to the local network application based on the first information in the tag value in the data channel negotiation request, or based on the application that initiated the data channel negotiation request comes from bootstrap 0 (local end) network, that is, the first network), determine that the requested data channel applies to the local network application, and determine, based on the second information in the tag value in the data channel negotiation request, that the channel type of the requested data channel is terminal to network The channel between the two sides is to establish a data channel with the application server of the local network application (that is, the first application server);
S530,第一终端与本地网络应用的应用服务器(第一应用服务器)之间执行数据通道的媒体协商流程,并完成第一终端与本地网络应用的应用服务器(第一应用服务器)之间的数据通道建立。S530: Execute the media negotiation process of the data channel between the first terminal and the application server of the local network application (first application server), and complete the data negotiation process between the first terminal and the application server of the local network application (first application server). The channel is established.
采用该实施方式,第一终端向网络设备发送的数据通道协商请求,通过标签值指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道,且指示所请求数据通道应用于本地网络应用,使网络设备根据该标签值,可以建立与本地网络应用的应用服务器之间的数据通道,并进一步使第一终端与本地网络应用的应用服务器之间建立数据通道。Using this implementation, the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is the channel between the terminal and the network-side application server, and indicates that the requested data channel should be used locally. The network application enables the network device to establish a data channel with the application server of the local network application based on the tag value, and further enables the first terminal to establish a data channel with the application server of the local network application.
另一实施方式中,可选地,在步骤S510中,第一网络的网络设备根据数据通道协商请求中的标签值中的第一信息确定所请求数据通道应用于本地网络应用,或根据发起该数据通道协商请求的应用来自于bootstrap 0(本端网络,也即为第一网络),确定所请求数据通道应用于本地网络应用,另外根据数据通道协商请求中的标签值中的第二信息,确定所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道,建立与本地数据控制服务器之间的数据通道;In another implementation manner, optionally, in step S510, the network device of the first network determines that the requested data channel applies to the local network application according to the first information in the tag value in the data channel negotiation request, or according to initiating the The application of the data channel negotiation request comes from bootstrap 0 (the local network, that is, the first network), which determines that the requested data channel applies to the local network application. In addition, according to the second information in the tag value in the data channel negotiation request, Determine the channel type of the requested data channel as the channel between the terminal and the network-side application server, and establish a data channel with the local data control server;
进一步地,由所述本地数据控制服务器将所接收的由第一终端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述第一终端。Further, the local data control server forwards the received first data sent by the first terminal through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the first terminal through the data channel to the application server that requests the data channel. The received second data sent by the application server is forwarded to the first terminal through the data channel.
实施方式五Implementation mode five
该实施方式五中,发送端为终端,所述接收端为网络设备,可选地,采用本公开实施例所述协商方法,发送端为第一终端,向第一终端所在第一网络的第一网络的网络设备发送数据通道协商请求,用于指示所请求数据通道应用于远端网络应用。其中,结合图6,该实施方式的实施过程包括:In the fifth embodiment, the sending end is a terminal, and the receiving end is a network device. Optionally, using the negotiation method described in the embodiment of the present disclosure, the sending end is the first terminal, and the sending end is the first terminal of the first network where the first terminal is located. A network device on a network sends a data channel negotiation request to indicate that the requested data channel should be used by a remote network application. Among them, combined with Figure 6, the implementation process of this embodiment includes:
S610,第一终端向第一网络的网络设备发送数据通道协商请求;该实施方式五中,可选地,该数据通道协商请求中的标签值至少包括第一信息和第二信息,可选地,第一信息的字段名称为“orig”,第一信息为第二值,如表示为“remote”,用于指示所请求数据通道应用于远端网络应用,也即由远端网络应用发起,也可以说是由bootstrap 100中的应用发起”;可选地,第二信 息的字段名称为“type”,第二信息为第四值,如表示为0,指示所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;S610: The first terminal sends a data channel negotiation request to the network device of the first network; in the fifth embodiment, optionally, the tag value in the data channel negotiation request includes at least first information and second information. , the field name of the first information is "orig", and the first information is the second value, such as "remote", which is used to indicate that the requested data channel applies to the remote network application, that is, initiated by the remote network application, It can also be said to be initiated by the application in bootstrap 100"; optionally, the second message The field name of the information is "type", and the second information is the fourth value. If expressed as 0, it indicates that the channel type of the requested data data channel is the channel between the terminal and the network-side application server;
S620,第一网络的网络设备根据数据通道协商请求中的标签值中的第一信息确定所请求数据通道应用于远端网络应用,或根据发起该数据通道协商请求的应用来自于bootstrap 100(远端网络,也即为第二网络),确定所请求数据通道应用于远端网络应用,另外根据数据通道协商请求中的标签值中的第二信息,确定所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道;S620: The network device of the first network determines that the requested data channel applies to the remote network application based on the first information in the tag value in the data channel negotiation request, or based on the application that initiated the data channel negotiation request comes from bootstrap 100 (remote network application). end network, that is, the second network), determine that the requested data channel applies to the remote network application, and determine that the channel type of the requested data channel is terminal according to the second information in the tag value in the data channel negotiation request. The channel to the network-side application server;
S630,第一网络的网络设备向远端网络侧的网络设备(第二网络的网络设备)转发该数据通道协商请求;S630: The network device of the first network forwards the data channel negotiation request to the network device of the remote network side (the network device of the second network);
S640,远端网络侧的网络设备(第二网络的网络设备)根据数据通道协商请求中的标签值中的第一信息确定所请求数据通道应用于远端网络应用,另外根据数据通道协商请求中的标签值中的第二信息,确定所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道,则第二网络的网络设备建立与第二应用服务器之间的数据通道,第二应用服务器为发起数据通道协商请求的应用在第二网络的应用服务器,也即为远端网络应用的应用服务器;S640. The network device on the remote network side (the network device of the second network) determines that the requested data channel applies to the remote network application according to the first information in the tag value in the data channel negotiation request. In addition, according to the first information in the tag value in the data channel negotiation request, The second information in the tag value determines that the channel type of the requested data data channel is the channel between the terminal and the network-side application server, then the network device of the second network establishes a data channel with the second application server. The second application server is the application server in the second network that initiates the data channel negotiation request, that is, the application server of the remote network application;
S650,第一终端与远端网络应用的应用服务器(第二应用服务器)之间执行数据通道的媒体协商流程,并完成第一终端与远端网络应用的应用服务器(第二应用服务器)之间的数据通道建立。S650: Execute the media negotiation process of the data channel between the first terminal and the application server of the remote network application (second application server), and complete the communication between the first terminal and the application server of the remote network application (second application server). The data channel is established.
采用该实施方式,第一终端向网络设备发送的数据通道协商请求,通过标签值指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道,且指示所请求数据通道应用于远端网络应用,使网络设备根据该标签值,可以建立与远端网络应用的应用服务器之间的数据通道,并进一步使第一终端与远端网络应用的应用服务器之间建立数据通道。Using this implementation, the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is the channel between the terminal and the network-side application server, and indicates that the requested data channel should be used in the remote network. The terminal network application enables the network device to establish a data channel with the application server of the remote network application based on the tag value, and further enables the first terminal to establish a data channel with the application server of the remote network application.
另一实施方式中,可选地,第一终端向网络设备发送的数据通道协商请求,通过标签值指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道,且指示所请求数据通道应用于远端网络应用,由第一网络的网络设备将数据通道协商请求转发至远端网络的数据控制服务器,并建立与远 端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。In another embodiment, optionally, the data channel negotiation request sent by the first terminal to the network device indicates through the tag value that the channel type of the requested data channel is a channel between the terminal and the network-side application server, and indicates that the requested data channel is a channel between the terminal and the network-side application server. The data channel is used in remote network applications. The network device of the first network forwards the data channel negotiation request to the data control server of the remote network and establishes a connection with the remote network. The data channel between the data control servers of the end network, the data control server of the remote network forwards the received first data sent by the sending end through the data channel to the remote server to which the application requesting the data channel belongs. The application server and the data control server of the remote network forward the second data sent by the remote application server to the network device through the data channel and then send it to the sending end.
该实施方式的具体实施过程可以结合图4和图6确定,在此不再详细说明。The specific implementation process of this embodiment can be determined in conjunction with FIG. 4 and FIG. 6 and will not be described in detail here.
实施方式六Embodiment 6
该实施方式六中,第一终端向所在网络的第一网络的网络设备发送数据通道协商请求,数据通道协商请求中包括请求使用所述数据通道的数据通道应用程序标识,接收该数据通道协商请求的第二终端可以根据该数据通道协商请求,进行数据通道协商及建立,并确定相应的数据通道应用程序,并显示相应的交互界面及交互数据,如图7所示,该实施过程包括:In this sixth embodiment, the first terminal sends a data channel negotiation request to the network device of the first network in which it is located. The data channel negotiation request includes the data channel application identifier requesting to use the data channel, and receives the data channel negotiation request. The second terminal can perform data channel negotiation and establishment according to the data channel negotiation request, determine the corresponding data channel application, and display the corresponding interactive interface and interactive data, as shown in Figure 7. The implementation process includes:
S710,第一终端与第二终端执行音/视频通话;S710, the first terminal and the second terminal perform audio/video calls;
S720,基于第一终端与第二终端之间的音/视频通话,第一终端根据应用指示,触发与第二终端的数据通道协商;S720. Based on the audio/video call between the first terminal and the second terminal, the first terminal triggers data channel negotiation with the second terminal according to the application instructions;
S730,第一终端向第一网络的网络设备发送数据通道协商请求;该实施方式中,可选地,该数据通道协商请求中的标签值至少包括第二信息和第三信息,可选地,第二信息的字段名称为“type”,第二信息为第三值,如表示为1,指示所请求数据通道的通道类型为终端至终端之间的通道;可选地,第三信息指示请求使用所述数据通道的数据通道应用程序标识;S730: The first terminal sends a data channel negotiation request to the network device of the first network; in this implementation, optionally, the tag value in the data channel negotiation request includes at least second information and third information. Optionally, The field name of the second information is "type", and the second information is a third value, such as 1, indicating that the channel type of the requested data channel is a channel from terminal to terminal; optionally, the third information indicates the request The data channel application identifier using said data channel;
S740,网络设备根据数据通道协商请求中的标签值确定所请求数据通道的通道类型为终端至终端之间的通道,网络设备向数据通道协商请求所请求的第二终端转发该数据通道协商请求;S740: The network device determines that the channel type of the requested data channel is a terminal-to-terminal channel according to the tag value in the data channel negotiation request, and the network device forwards the data channel negotiation request to the second terminal requested by the data channel negotiation request;
S750,第二终端根据数据通道协商请求标签值中的第三信息获得应用程序信息,根据该第三信息中的数据通道应用程序标识,确定数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息及终端侧用户交互操作的业务逻辑进行描述;S750: The second terminal obtains application information based on the third information in the data channel negotiation request tag value, and determines the data channel application associated with the data channel based on the data channel application identifier in the third information; the data channel application The program is used to describe the front-end page display information of the data channel application and the business logic of user interaction operations on the terminal side on the terminal side;
以及,根据所述数据通道内接收的交互数据和/或与所述数据通道关联的 数据通道应用程序的相关信息,在通话界面显示所述数据通道应用的交互界面及交互数据。and, based on the interactive data received within the data channel and/or associated with the data channel Information related to the data channel application, and the interactive interface and interactive data of the data channel application are displayed on the call interface.
可选地,根据该第三信息中的数据通道应用程序标识,确定数据通道关联的数据通道应用程序,包括:Optionally, determine the data channel application associated with the data channel based on the data channel application identifier in the third information, including:
通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
获取所述网络侧根据所述数据通道应用程序获取请求,发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
S760,第二终端与第一终端之间建立数据通道。S760: A data channel is established between the second terminal and the first terminal.
可选地,通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,并获得数据通道应用程序的具体实施过程,如图8所示,包括:Optionally, through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and obtain the specific implementation process of the data channel application, as shown in Figure 8, including:
S810,终端(如为上述的第二终端)与网络设备之间完成bootstrap DC 0的建立。S810, the establishment of bootstrap DC 0 is completed between the terminal (such as the above-mentioned second terminal) and the network device.
S820,终端在bootstrap DC 0中通过HTTP请求(GET)向网络设备发起引导应用获取请求;其中,当终端本地存在缓存的引导应用程序时,终端需在HTTP GET中携带本地引导应用程序版本号信息。S820, the terminal initiates a boot application acquisition request to the network device through an HTTP request (GET) in bootstrap DC 0; where, when the terminal has a cached boot application locally, the terminal needs to carry the local boot application version number information in the HTTP GET .
S830,网络设备向终端返回引导应用程序;其中若引导应用程序存在版本更新,则需要将更新的引导应用程序返回至终端;当网络设备判断终端本地缓存版本已经为最新版本时,直接返回应用未更新消息。S830, the network device returns the boot application to the terminal; if there is a version update of the boot application, the updated boot application needs to be returned to the terminal; when the network device determines that the local cache version of the terminal is already the latest version, it directly returns the application. Update news.
S840,终端在bootstrap DC 0中根据引导应用程序指示,向网络设备发起获取应用列表请求。S840: The terminal initiates an application list acquisition request to the network device according to the boot application instruction in bootstrap DC 0.
S850,网络设备向终端返回应用列表。S850: The network device returns the application list to the terminal.
S860,终端在bootstrap DC 0中根据应用列表,自动加载应用程序,触发应用获取;或者,根据用户选择请求,获取对应应用程序,触发应用获取;S860, the terminal automatically loads the application according to the application list in bootstrap DC 0 and triggers application acquisition; or, according to the user's selection request, obtains the corresponding application and triggers application acquisition;
S870,终端在bootstrap DC 0中通过HTTP GET向网络发起应用程序获取请求;当终端本地存在缓存通话的应用时,终端需在HTTP GET中携带本地应用程序版本号信息;S870, the terminal initiates an application acquisition request to the network through HTTP GET in bootstrap DC 0; when there is an application that caches calls locally on the terminal, the terminal needs to carry the local application version number information in HTTP GET;
S880,在网络设备判断应用存在版本更新时,则将更新版本的应用返回 至终端;当判断终端本地缓存版本已经为最新版本时,直接返回应用未更新消息。S880, when the network device determines that there is a version update of the application, it returns the updated version of the application. to the terminal; when it is judged that the local cache version of the terminal is already the latest version, a message that the application has not been updated is directly returned.
S890,终端根据通话中应用指示,进行页面显示。S890, the terminal displays the page according to the application instructions during the call.
根据上述过程,终端可以预先获得应用程序列表,这样在与另一终端进行音/视频通话时,接收另一终端的数据通道协商请求后,可以根据数据通道协商请求所指示的请求数据通道的数据通道应用程序标识,向网络侧发起数据通道应用程序获取请求,确定数据通道协商请求的数据通道对应的数据通道应用程序,并显示数据通道应用的交互界面及交互数据。According to the above process, the terminal can obtain the application program list in advance, so that when making an audio/video call with another terminal, after receiving the data channel negotiation request of the other terminal, it can request the data of the data channel according to the data channel negotiation request. Channel application identifier, initiates a data channel application acquisition request to the network side, determines the data channel application corresponding to the data channel requested by the data channel negotiation, and displays the interactive interface and interactive data of the data channel application.
采用该实施方式,第一终端向所在网络的第一网络的网络设备发送数据通道协商请求,数据通道协商请求中包括请求使用数据通道的数据通道应用程序标识,接收该数据通道协商请求的第二终端可以根据数据通道应用程序标识,确定数据通道协商请求对应的数据通道应用程序,并显示数据通道应用的交互界面及交互数据,以使得涉及通话双方的第一终端和第二终端,可以具备相同的应用程序,能够完成通话双方之间业务的解析与交互。Using this implementation, the first terminal sends a data channel negotiation request to the network device of the first network in which it is located. The data channel negotiation request includes the data channel application identifier requesting the use of the data channel. The second terminal receives the data channel negotiation request. The terminal can determine the data channel application corresponding to the data channel negotiation request according to the data channel application identifier, and display the interactive interface and interactive data of the data channel application, so that the first terminal and the second terminal involved in the call can have the same An application that can complete business analysis and interaction between the two parties in a call.
本公开实施例中,其中一实施方式,第二终端可通过其中一的数据通道实现应用程序的请求与下载,如可以为bootstrap 0(终端与本端网络侧的应用服务器之间的数据通道),或者也可以为bootstrap 100(终端与远端网络侧的应用服务器之间的数据通道)。其中应用服务器负责处理管理所有应用,为终端提供应用的下载服务。In one of the embodiments of this disclosure, the second terminal can request and download the application program through one of the data channels, such as bootstrap 0 (the data channel between the terminal and the application server on the local network side) , or it can be bootstrap 100 (the data channel between the terminal and the application server on the remote network side). The application server is responsible for processing and managing all applications and providing application download services for terminals.
本公开实施例中,上述实施方式一至实施方式六,以发送端为终端,接收端为网络设备为例,对本公开实施例所述协商方法的具体实施方式进行了说明,需要说明的是,发送端并不限于仅能够为数据通道协商请求的发起端,也可以为数据通道协商请求的转发端,例如,对应上述的实施方式六,发送端为网络设备,接收端为第二终端。In the embodiments of the present disclosure, the above-described first to sixth embodiments take the sending end as a terminal and the receiving end as a network device as an example to describe the specific implementation of the negotiation method in the embodiments of the present disclosure. It should be noted that the sending end is a terminal and the receiving end is a network device. The end is not limited to being the initiator of the data channel negotiation request, but can also be the forwarding end of the data channel negotiation request. For example, corresponding to the above-mentioned sixth embodiment, the sending end is the network device and the receiving end is the second terminal.
其中,在实施方式六中,所述发送端为网络设备,所述接收端为第二终端的情况下,第二终端根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道,且所述数据通道协商请求用于请求第一终端至第二终端之间的通道,根据所述数据通道协商请求获得请求数据通道的应用的应用程序信息时,根据所述数据通道协商请求,从所述网络设备下载所 述应用。Wherein, in the sixth embodiment, when the sending end is a network device and the receiving end is a second terminal, the second terminal determines that the channel type of the requested data channel is terminal-to-terminal based on the channel attribute information. channel between each other, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal. When the application information of the application requesting the data channel is obtained according to the data channel negotiation request, according to the data channel negotiation request to download all Described application.
另一实施方式,可选地,所述发送端为网络设备,所述接收端为终端,根据所述通道属性信息,执行数据通道处理,包括:In another embodiment, optionally, the sending end is a network device and the receiving end is a terminal. According to the channel attribute information, data channel processing is performed, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为网络设备至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the channel attribute information that the channel type of the requested data channel is a channel between a network device and a terminal, the data channel negotiation request is forwarded to the requested terminal.
需要说明的是,上述实施方式一至实施方式六中的所述协商方法,仅为采用本公开实施例所述协商方法的部分实施方式,并非能够涵盖所有的实施方式,在此不再对每一实施方式分别举例说明。It should be noted that the negotiation methods in the above-mentioned Embodiment 1 to Embodiment 6 are only some implementations using the negotiation methods described in the embodiments of the present disclosure, and are not able to cover all implementations. We will no longer describe each of them here. The embodiments are described with examples respectively.
本公开另一实施例还提供一种协商方法,应用于网络设备,如图9所示,所述方法包括:Another embodiment of the present disclosure also provides a negotiation method, which is applied to network devices. As shown in Figure 9, the method includes:
S910,接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;S910: Receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
S920,根据所述通道属性信息,执行数据通道处理。S920: Execute data channel processing according to the channel attribute information.
采用本公开实施例所述协商方法,在发送端向接收端发送数据通道协商请求时,通过数据通道协商请求中包括通道属性信息,用于指示所请求数据通道类型的相关信息,以能够区分不同数据通道类型,使得接收端能够根据该通道属性信息,准确执行数据通道建立,并实现业务的解析与交互。Using the negotiation method described in the embodiment of the present disclosure, when the sending end sends a data channel negotiation request to the receiving end, the data channel negotiation request includes channel attribute information, which is used to indicate relevant information of the requested data channel type, so as to be able to distinguish between different The data channel type enables the receiving end to accurately perform data channel establishment based on the channel attribute information, and implement business analysis and interaction.
可选地,所述的协商方法,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the negotiation method, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation method, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的id值。The fourth information is used to indicate the id value of the requested data channel.
可选地,所述的协商方法,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。 Optionally, in the negotiation method, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的协商方法,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the negotiation method, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
具体地,本公开实施例所述协商方法中,数据通道协商请求中的所述通道属性信息的具体指示方式,可以参阅所述方法应用于发送端时的详细说明,在此不再赘述。Specifically, in the negotiation method described in the embodiment of the present disclosure, for the specific indication method of the channel attribute information in the data channel negotiation request, please refer to the detailed description when the method is applied to the sending end, and will not be described again here.
可选地,所述的协商方法,其中,所述发送端为终端或者为网络设备。Optionally, in the negotiation method, the sending end is a terminal or a network device.
可选地,所述的协商方法,其中,所述网络设备为本地网络侧的网络设备、远端网络侧的网络设备、应用服务器中的其中之一。Optionally, in the negotiation method, the network device is one of a network device on a local network side, a network device on a remote network side, or an application server.
其中一实施方式,网络设备为数据通道服务器(Data Channel Server,也可简称为DC Server或DCS)、长期演进语音承载(Voice over Long-Term Evolution,VoLTE)应用服务器(VoLTE Application Server,VoLTE AS)、基于新空口(New Radio,NR)的语音通话(Voice over New Radio,VoNR)+平台、新通话平台等设备。In one implementation, the network device is a Data Channel Server (also referred to as DC Server or DCS), a Voice over Long-Term Evolution (VoLTE) application server (VoLTE Application Server, VoLTE AS) , Voice over New Radio (VoNR)+ platform, new call platform and other equipment based on New Radio (NR).
可选的,应用服务器可以是各种调用数据通道能力的业务服务器,比如智能翻译应用服务器、远程协作应用服务器、增强现实(Augmented Reality,AR)通话应用服务器等等。Optionally, the application server can be a variety of business servers that call data channel capabilities, such as intelligent translation application servers, remote collaboration application servers, augmented reality (Augmented Reality, AR) call application servers, and so on.
可选地,所述的协商方法,其中,所述发送端为终端,根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation method, the sending end is a terminal, and performing data channel processing according to the channel attribute information includes:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the channel attribute information that the channel type of the requested data channel is a terminal-to-terminal channel, the data channel negotiation request is forwarded to the requested terminal.
其中,该实施方式的具体实施过程可以结合图2,并参阅上述的实施方式一,在此不再详细说明。The specific implementation process of this embodiment can be combined with FIG. 2 and referred to the above-mentioned Embodiment 1, and will not be described in detail here.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至网络侧之间的通道时,建立与所请求数据通道的应用所属应用服务器之间的数 据通道;或者When it is determined based on the channel attribute information that the channel type of the requested data channel is a channel between the terminal and the network side, a data connection with the application server to which the application of the requested data channel belongs is established. data channel; or
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至网络侧之间的通道时,建立与数据控制服务器之间的数据通道,由所述数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When the channel type of the requested data channel is determined to be a channel from the terminal to the network side according to the channel attribute information, a data channel is established with the data control server, and the data control server sends the received data to the network side. The first data sent by the terminal through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the second data received by the application server is forwarded by the data control server through the data The channel is forwarded to the sending end.
其中,该实施方式的具体实施过程可以结合图3和图4,并参阅上述的实施方式二和实施方式三,在此不再详细说明。The specific implementation process of this embodiment can be combined with FIG. 3 and FIG. 4 and refer to the above-mentioned Embodiment 2 and Embodiment 3, which will not be described in detail here.
可选地,所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation method, wherein data channel processing is performed according to the channel attribute information, includes:
在根据所述通道属性信息的第一信息和第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧之间的通道时,建立与所述本地网络应用的应用服务器之间的数据通道;或者When it is determined that the requested data channel applies to the local network application according to the first information and the second information of the channel attribute information, and the channel type of the requested data channel is a channel between the terminal and the network side, establishing the relationship with the said A data channel between application servers for local network applications; or
在根据所述通道属性信息的第一信息和第二信息,确定所请求数据通道应用于本地网络应用,所请求数据数据通道的通道类型为网络侧应用服务器之间的通道,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与本地数据控制服务器之间的数据通道,由所述本地数据控制服务器将所接收的由所述终端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述终端;或者According to the first information and the second information of the channel attribute information, it is determined that the requested data channel applies to the local network application, the channel type of the requested data data channel is a channel between network-side application servers, and the requested data channel When the channel type is the channel between the terminal and the network-side application server, a data channel is established with the local data control server, and the local data control server transmits the received data sent by the terminal through the data channel. The first data is forwarded to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received second data sent by the application server to the terminal through the data channel; or
在根据所述通道属性信息的第一信息和第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧之间的通道时,将所述数据通道协商请求转发至远端网络侧的网络设备,以通过远端网络侧的网络设备建立发送端与远端网络的应用服务器之间的数据通道;When it is determined according to the first information and second information of the channel attribute information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network side, the requested data channel is Forwarding the data channel negotiation request to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络的数据控制服务器, 并建立与远端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。。When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The above data channel negotiation request is forwarded to the data control server of the remote network, And establish a data channel with the data control server of the remote network, and the data control server of the remote network forwards the received first data sent by the sending end through the data channel to the application requesting the data channel. The remote application server, and the second data sent by the remote application server by the data control server of the remote network are forwarded to the network device through the data channel and then sent to the sending end. .
本公开实施例中,可选地,数据控制服务器可以称为数据通道服务器(Data Channel Server,可简称为DC Server或DCS),也可以为会话边界控制器(Session Border Controller,SBC)。In this disclosed embodiment, optionally, the data control server may be called a data channel server (Data Channel Server, which may be referred to as DC Server or DCS), or it may be a session border controller (Session Border Controller, SBC).
其中一实施方式,数据控制服务器可以与接收发送端发送的数据通道协商请求,执行本公开实施例所述方法的网络设备为同一设备,或者也可以为不同设备。In one implementation, the data control server may receive the data channel negotiation request sent by the sending end, and the network device that executes the method described in the embodiment of the present disclosure may be the same device, or may be a different device.
其中,该实施方式的具体实施过程可以结合图5和图6,并参阅上述的实施方式四和实施方式五,在此不再详细说明。The specific implementation process of this embodiment can be combined with FIG. 5 and FIG. 6 and refer to the above-mentioned Embodiment 4 and Embodiment 5, which will not be described in detail here.
可选地,所述的协商方法,其中,所述发送端为第一终端,所述接收端为第二终端,根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation method, the sending end is a first terminal and the receiving end is a second terminal, performing data channel processing according to the channel attribute information, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道,所述通道属性信息中包括用于指示所请求数据通道使用的应用程序信息时,根据所述通道属性信息,向网络侧发送对应应用的网络请求,并从通道属性信息所指示的数据通道中获取对应应用的数据,执行对应应用。When it is determined that the channel type of the requested data channel is a terminal-to-terminal channel according to the channel attribute information, and the channel attribute information includes application information indicating the use of the requested data channel, according to the channel attribute information, send a network request of the corresponding application to the network side, obtain the data of the corresponding application from the data channel indicated by the channel attribute information, and execute the corresponding application.
可选地,所述的协商方法,其中,所述发送端为网络设备,所述接收端为终端,根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation method, the sending end is a network device and the receiving end is a terminal, and performing data channel processing according to the channel attribute information includes:
在根据所述通道属性信息,确定所请求数据通道的通道类型为网络设备至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the channel attribute information that the channel type of the requested data channel is a channel between a network device and a terminal, the data channel negotiation request is forwarded to the requested terminal.
其中,该实施方式的具体实施过程可以结合图7,并参阅上述的实施方式六,在此不再详细说明。The specific implementation process of this embodiment can be combined with FIG. 7 and the above-mentioned sixth embodiment, and will not be described in detail here.
本公开实施例还提供一种协商方法,应用于终端,如图10所示,所述方法包括:Embodiments of the present disclosure also provide a negotiation method, which is applied to terminals. As shown in Figure 10, the method includes:
S1001,获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息; S1001. Obtain the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
S1002,根据所述数据通道协商请求,完成数据通道协商及建立;S1002: Complete data channel negotiation and establishment according to the data channel negotiation request;
S1003,根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;S1003. Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or to interact with users on the terminal side. Business logic is described;
S1004,根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。S1004: Display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
可选地,所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation method, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的协商方法,其中,根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序,包括:Optionally, the negotiation method, wherein determining the data channel application associated with the data channel according to the channel attribute information includes:
根据所述通道属性信息,确定请求使用所述数据通道的数据通道应用程序标识;Determine the data channel application identifier that requests the use of the data channel according to the channel attribute information;
通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
获取所述网络侧根据所述数据通道应用程序获取请求,发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
可选地,所述的协商方法,其中,所述方法还包括:Optionally, the negotiation method further includes:
将所述交互数据通过所述数据通道发送至应用服务器或者发送至发起所述数据通道协商请求的终端。The interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
其中,采用本公开实施例所述方法的具体实施方式,可以结合图7和图8,并参阅以上的详细描述,在此不再说明。The specific implementation of the method described in the embodiment of the present disclosure can be combined with FIG. 7 and FIG. 8 and refer to the above detailed description, which will not be described again here.
本公开实施例还提供一种网络设备,所述网络设备为发送端,如图11所示,该发送端1100包括收发机1110,其中: An embodiment of the present disclosure also provides a network device, where the network device is a sending end. As shown in Figure 11, the sending end 1100 includes a transceiver 1110, wherein:
所述收发机1110用于,向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。The transceiver 1110 is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
可选地,所述的网络设备,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the network device, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的网络设备,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the network device, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的网络设备,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the network device, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的网络设备,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the network device, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
可选地,所述的网络设备,其中,所述发送端为终端或者为网络设备。Optionally, in the network device, the sending end is a terminal or a network device.
可选地,所述的网络设备,其中,所述接收端为终端、本地网络的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。Optionally, in the network device, the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
本公开实施例还提供一种网络设备,所述网络设备为网络设备,如图12所示,该网络设备1200包括收发机1210和处理器1220,其中:An embodiment of the present disclosure also provides a network device. The network device is a network device. As shown in Figure 12, the network device 1200 includes a transceiver 1210 and a processor 1220, wherein:
所述收发机1210用于,接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver 1210 is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
所述处理器1220用于,根据所述通道属性信息,执行数据通道处理。The processor 1220 is configured to perform data channel processing according to the channel attribute information.
可选地,所述的网络设备,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。 Optionally, in the network device, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的网络设备,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the network device, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的id值。The fourth information is used to indicate the id value of the requested data channel.
可选地,所述的网络设备,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the network device, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的网络设备,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the network device, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel from the terminal to the network side; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is from the network side application server to the network side. channel between terminals.
可选地,所述的网络设备,其中,所述发送端为终端或者为网络设备。Optionally, in the network device, the sending end is a terminal or a network device.
可选地,所述的网络设备,其中,所述接收端为终端、本地网络的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。Optionally, in the network device, the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
可选地,所述的网络设备,其中,所述发送端为终端,所述接收端为网络设备,所述处理器1220根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the network device, the sending end is a terminal and the receiving end is a network device. The processor 1220 performs data channel processing according to the channel attribute information, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined based on the channel attribute information that the channel type of the requested data channel is a terminal-to-terminal channel, the data channel negotiation request is forwarded to the requested terminal.
可选地,所述的网络设备,其中,所述发送端为终端,所述接收端为网络设备,所述处理器1220根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the network device, the sending end is a terminal and the receiving end is a network device. The processor 1220 performs data channel processing according to the channel attribute information, including:
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所请求数据通道的应用所属应用服务器之间的数据通道;或者When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs; or
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与数据控制服务器之间的数据通道,由所述 数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When it is determined according to the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, a data channel with the data control server is established. The data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs, and the data control server forwards the received first data sent by the application server The second data is forwarded to the sending end through the data channel.
可选地,所述的网络设备,其中,所述发送端为终端,所述接收端为网络设备,所述处理器1220根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the network device, the sending end is a terminal and the receiving end is a network device. The processor 1220 performs data channel processing according to the channel attribute information, including:
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧之间的通道时,建立与所述本地网络应用的应用服务器之间的数据通道;或者When it is determined according to the first information and the second information that the requested data channel applies to a local network application, and the channel type of the requested data channel is a channel between the terminal and the network side, establishing a connection with the local network A data channel between an application's application servers; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与本地数据控制服务器之间的数据通道,由所述本地数据控制服务器将所接收的由所述终端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述终端;或者According to the first information and the second information, it is determined that the requested data channel applies to the local network application, the channel type of the requested data channel is a channel between the terminal and the network-side application server, and the requested data channel When the channel type is the channel between the terminal and the network-side application server, a data channel is established with the local data control server, and the local data control server transmits the received data sent by the terminal through the data channel. The first data is forwarded to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received second data sent by the application server to the terminal through the data channel; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧之间的通道时,将所述数据通道协商请求转发至远端网络侧的网络设备,以通过远端网络侧的网络设备建立发送端与远端网络的应用服务器之间的数据通道;或者When it is determined according to the first information and the second information that the requested data channel applies to the remote network application, and the channel type of the requested data channel is a channel between the terminal and the network side, the data is The channel negotiation request is forwarded to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络的数据控制服务器,并建立与远端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。 When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network. The data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel. The network device then sends it to the sending end.
可选地,所述的网络设备,其中,所述发送端为第一终端,所述接收端为第二终端,所述处理器1220根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the network device, the sending end is a first terminal and the receiving end is a second terminal. The processor 1220 performs data channel processing according to the channel attribute information, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道,且所述数据通道协商请求用于请求第一终端至第二终端之间的通道,所述通道属性信息中包括用于指示所请求数据通道使用的应用程序信息时,根据所述通道属性信息,向网络侧发送对应应用的网络请求,并从通道属性信息所指示的数据通道中获取对应应用的数据,执行对应应用。According to the channel attribute information, it is determined that the channel type of the requested data channel is a channel between terminals, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal, and the channel When the attribute information includes application information indicating the use of the requested data channel, a network request for the corresponding application is sent to the network side according to the channel attribute information, and the corresponding application is obtained from the data channel indicated by the channel attribute information. data to execute the corresponding application.
可选地,所述发送端为网络设备,所述接收端为终端,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the sending end is a network device, and the receiving end is a terminal. According to the channel attribute information, data channel processing is performed, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为网络设备至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the channel attribute information that the channel type of the requested data channel is a channel between a network device and a terminal, the data channel negotiation request is forwarded to the requested terminal.
本公开实施例还提供一种终端,如图13所示,该终端1300包括收发机1301和处理器1302,其中:An embodiment of the present disclosure also provides a terminal. As shown in Figure 13, the terminal 1300 includes a transceiver 1301 and a processor 1302, wherein:
所述收发机1301用于,获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver 1301 is configured to obtain a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
所述处理器1302用于,根据所述数据通道协商请求,完成数据通道协商及建立;The processor 1302 is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;以及Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe; and
根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。According to the interactive data received in the data channel and/or the data channel application associated with the data channel, the interactive interface and interactive data of the data channel application are displayed on the call interface.
可选地,所述的终端,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the terminal, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识; Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的终端,其中,处理器1302根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序,包括:Optionally, in the terminal, the processor 1302 determines the data channel application associated with the data channel according to the channel attribute information, including:
根据所述通道属性信息,确定请求使用所述数据通道的数据通道应用程序标识;Determine the data channel application identifier that requests the use of the data channel according to the channel attribute information;
通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
获取所述网络侧根据所述数据通道应用程序获取请求,发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
可选地,所述的终端,其中,处理器1302还用于:Optionally, in the terminal, the processor 1302 is also used to:
将所述交互数据通过所述数据通道发送至应用服务器或者发送至发起所述数据通道协商请求的终端。The interaction data is sent to the application server through the data channel or to the terminal that initiated the data channel negotiation request.
本公开实施例还提供一种协商装置,其中,应用于发送端,如图14所示,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to the sending end. As shown in Figure 14, the device includes:
发送模块1410,用于向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。The sending module 1410 is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
可选地,所述的协商装置,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the negotiation device, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的协商装置,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation device, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的协商装置,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the negotiation device, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的协商装置,其中,所述第二信息为第三值时,用于指示 所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。Optionally, in the negotiation device, when the second information is a third value, it is used to indicate The channel type of the requested data channel is a channel from the terminal to the terminal; when the second information is a fourth value, it is used to indicate that the channel type of the requested data channel is a channel from the terminal to the network-side application server; so When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the network-side application server and the terminal.
可选地,所述的协商装置,其中,所述发送端为终端或者为网络设备。Optionally, in the negotiation device, the sending end is a terminal or a network device.
可选地,所述的协商装置,其中,所述接收端为终端、本地网络的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。Optionally, in the negotiation device, the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
本公开实施例还提供一种协商装置,应用于网络设备,如图15所示,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to network equipment. As shown in Figure 15, the device includes:
接收模块1510,用于接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The receiving module 1510 is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
第一处理模块1520,用于根据所述通道属性信息,执行数据通道处理。The first processing module 1520 is configured to perform data channel processing according to the channel attribute information.
可选地,所述的协商装置,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。Optionally, in the negotiation device, the data channel negotiation request includes a tag value, where the tag value is used to indicate the channel attribute information.
可选地,所述的协商装置,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation device, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的id值。The fourth information is used to indicate the id value of the requested data channel.
可选地,所述的协商装置,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。Optionally, in the negotiation device, when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
可选地,所述的协商装置,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。 Optionally, in the negotiation device, when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
可选地,所述的协商装置,其中,所述发送端为终端或者为网络设备。Optionally, in the negotiation device, the sending end is a terminal or a network device.
可选地,所述的协商装置,其中,所述接收端为终端、本地网络的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。Optionally, in the negotiation device, the receiving end is one of a terminal, a network device on a local network, a network device on a remote network side, an application server, and a data control server.
可选地,所述的协商装置,其中,所述发送端为终端,所述接收端为网络设备,第一处理模块1520根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation device, the sending end is a terminal and the receiving end is a network device. The first processing module 1520 performs data channel processing according to the channel attribute information, including:
在根据所述第二信息,确定所请求数据通道的通道类型为终端至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the second information that the channel type of the requested data channel is a terminal-to-terminal channel, the data channel negotiation request is forwarded to the requested terminal.
可选地,所述的协商装置,其中,所述发送端为终端,所述接收端为网络设备,第一处理模块1520根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation device, the sending end is a terminal and the receiving end is a network device. The first processing module 1520 performs data channel processing according to the channel attribute information, including:
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所请求数据通道的应用所属应用服务器之间的数据通道;或者When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs; or
在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与数据控制服务器之间的数据通道,由所述数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, a data channel is established with the data control server, and the data control server transmits the received The first data sent by the sending end through the data channel is forwarded to the application server to which the application requesting the data channel belongs, and the data control server forwards the received second data sent by the application server through the The data channel is forwarded to the sending end.
可选地,所述的协商装置,其中,所述发送端为终端,所述接收端为网络设备,第一处理模块1520根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation device, the sending end is a terminal and the receiving end is a network device. The first processing module 1520 performs data channel processing according to the channel attribute information, including:
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所述本地网络应用的应用服务器之间的数据通道;或者When it is determined according to the first information and the second information that the requested data channel applies to the local network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish the relationship with the A data channel between application servers for local network applications; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与本地数据控制服务器之间的数据通道,由所述本地数据控 制服务器将所接收的由所述终端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述终端;或者When it is determined according to the first information and the second information that the requested data channel applies to the local network application and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a connection with the local data channel. The data channel between control servers is controlled by the local data The control server forwards the received first data sent by the terminal through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the application server The second data sent is forwarded to the terminal through the data channel; or
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络侧的网络设备,以通过远端网络侧的网络设备建立发送端与远端网络的应用服务器之间的数据通道;When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is Forwarding the data channel negotiation request to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络的数据控制服务器,并建立与远端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network. The data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the remote application server to which the application requesting the data channel belongs, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the remote application server through the data channel. The network device then sends it to the sending end.
可选地,所述的协商装置,其中,所述发送端为第一终端,所述接收端为第二终端,第一处理模块1520根据所述通道属性信息,执行数据通道处理,包括:Optionally, in the negotiation device, the sending end is a first terminal, the receiving end is a second terminal, and the first processing module 1520 performs data channel processing according to the channel attribute information, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为终端至终端之间的通道,且所述数据通道协商请求用于请求第一终端至第二终端之间的通道,所述通道属性信息中包括用于指示所请求数据通道使用的应用程序信息时,根据所述通道属性信息,向网络侧发送对应应用的网络请求,并从通道属性信息所指示的数据通道中获取对应应用的数据,执行对应应用。According to the channel attribute information, it is determined that the channel type of the requested data channel is a channel between terminals, and the data channel negotiation request is used to request a channel between the first terminal and the second terminal, and the channel When the attribute information includes application information indicating the use of the requested data channel, a network request for the corresponding application is sent to the network side according to the channel attribute information, and the corresponding application is obtained from the data channel indicated by the channel attribute information. data to execute the corresponding application.
可选地,所述的协商装置,其中,所述发送端为网络设备,所述接收端为终端,根据所述通道属性信息,执行数据通道处理,包括:Optionally, the negotiation device, wherein the sending end is a network device and the receiving end is a terminal, performs data channel processing according to the channel attribute information, including:
在根据所述通道属性信息,确定所请求数据通道的通道类型为网络设备至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。 When it is determined according to the channel attribute information that the channel type of the requested data channel is a channel between a network device and a terminal, the data channel negotiation request is forwarded to the requested terminal.
本公开实施例还提供一种协商装置,应用于终端,如图16所示,所述装置包括:An embodiment of the present disclosure also provides a negotiation device, which is applied to a terminal. As shown in Figure 16, the device includes:
获取模块1610,用于获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The acquisition module 1610 is used to acquire the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
第二处理模块1620,用于根据所述数据通道协商请求,完成数据通道协商及建立;The second processing module 1620 is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
第三处理模块1630,用于根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;The third processing module 1630 is configured to determine the data channel application program associated with the data channel based on the channel attribute information; the data channel application program is used to display information on the front-end page of the data channel application on the terminal side and/or Describe the business logic of user interaction operations on the terminal side;
显示模块1640,用于根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。The display module 1640 is configured to display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
可选地,所述的协商装置,其中,所述通道属性信息包括以下信息中的至少之一:Optionally, in the negotiation device, the channel attribute information includes at least one of the following information:
第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
可选地,所述的协商装置,其中,第三处理模块1630根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序,包括:Optionally, in the negotiation device, the third processing module 1630 determines the data channel application associated with the data channel based on the channel attribute information, including:
根据所述通道属性信息,确定请求使用所述数据通道的数据通道应用程序标识;Determine the data channel application identifier that requests the use of the data channel according to the channel attribute information;
通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
获取所述网络侧根据所述数据通道应用程序获取请求,发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
可选地,所述的协商装置,其中,第三处理模块1630还用于:Optionally, in the negotiation device, the third processing module 1630 is also used to:
将所述交互数据通过所述数据通道发送至应用服务器或者发送至发起所 述数据通道协商请求的终端。The interactive data is sent to the application server through the data channel or to the initiating party. The endpoint that requested the data channel negotiation.
本公开实施例还提供一种网络设备,其中,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上任一项所述的协商方法。An embodiment of the present disclosure also provides a network device, which includes: a processor, a memory, and a program stored on the memory and executable on the processor. When the program is executed by the processor, the following is implemented: The negotiation method described in any of the preceding items.
可选地,所述网络设备可以为上述的发送端、网络设备或者终端,其中发送端、网络设备或者终端的处理器运行程序,实现所述协商方法的具体实施方式和过程可以参阅对应所述协商方法的详细描述,在此不再赘述。Optionally, the network device may be the above-mentioned sending end, network device or terminal, wherein the processor of the sending end, network device or terminal runs a program. For the specific implementation and process of implementing the negotiation method, please refer to the corresponding The detailed description of the negotiation method will not be described again here.
另外,本公开具体实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如上中任一项所述的协商方法中的步骤。In addition, specific embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in the negotiation method as described in any one of the above are implemented.
具体地,该计算机可读存储介质应用于上述的发送端、网络设备或者终端,在应用于发送端或接收端时,对应协商方法中的执行步骤如上的详细描述,在此不再赘述。Specifically, the computer-readable storage medium is applied to the above-mentioned sending end, network device or terminal. When applied to the sending end or receiving end, the corresponding execution steps in the negotiation method are as described in detail above, which will not be described again here.
在本公开所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this disclosure, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述收发方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储 器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the sending and receiving methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access storage Various media that can store program code such as Random Access Memory (RAM), magnetic disks or optical disks.
以上所述的是本公开的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本公开所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。 What is described above is the preferred embodiment of the present disclosure. It should be pointed out that for ordinary people in the art, several improvements and modifications can be made without departing from the principles described in the present disclosure. These improvements and modifications should also be regarded as It is the protection scope of this disclosure.

Claims (28)

  1. 一种协商方法,应用于发送端,所述方法包括:A negotiation method, applied to the sending end, the method includes:
    向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。A data channel negotiation request is sent to the receiving end, where the data channel negotiation request includes channel attribute information.
  2. 根据权利要求1所述的协商方法,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。The negotiation method according to claim 1, wherein the data channel negotiation request includes a tag value, wherein the tag value is used to indicate the channel attribute information.
  3. 根据权利要求1或2所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:The negotiation method according to claim 1 or 2, wherein the channel attribute information includes at least one of the following information:
    第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
    第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
    第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
    第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
  4. 根据权利要求3所述的协商方法,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。The negotiation method according to claim 3, wherein when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  5. 根据权利要求3所述的协商方法,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。The negotiation method according to claim 3, wherein when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  6. 根据权利要求1所述的协商方法,其中,所述发送端为终端或者为网络设备。The negotiation method according to claim 1, wherein the sending end is a terminal or a network device.
  7. 根据权利要求1所述的协商方法,其中,所述接收端为终端、本地网络侧的网络设备、远端网络侧的网络设备、应用服务器和数据控制服务器中的其中之一。The negotiation method according to claim 1, wherein the receiving end is one of a terminal, a network device on the local network side, a network device on the remote network side, an application server, and a data control server.
  8. 一种协商方法,应用于网络设备,所述方法包括:A negotiation method, applied to network equipment, the method includes:
    接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括 通道属性信息;Receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes Channel attribute information;
    根据所述通道属性信息,执行数据通道处理。Data channel processing is performed based on the channel attribute information.
  9. 根据权利要求8所述的协商方法,其中,所述数据通道协商请求包括标签值,其中所述标签值用于指示所述通道属性信息。The negotiation method according to claim 8, wherein the data channel negotiation request includes a tag value, wherein the tag value is used to indicate the channel attribute information.
  10. 根据权利要求8或9所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:The negotiation method according to claim 8 or 9, wherein the channel attribute information includes at least one of the following information:
    第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
    第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
    第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
    第四信息,用于指示所请求数据通道的id值。The fourth information is used to indicate the id value of the requested data channel.
  11. 根据权利要求10所述的协商方法,其中,所述第一信息为第一值时,用于指示所请求数据通道应用于本地网络应用;所述第一信息为第二值时,用于指示所请求数据通道应用于远端网络应用。The negotiation method according to claim 10, wherein when the first information is a first value, it is used to indicate that the requested data channel should be used for local network applications; when the first information is a second value, it is used to indicate The requested data channel should be used by the remote network application.
  12. 根据权利要求10所述的协商方法,其中,所述第二信息为第三值时,用于指示所请求数据通道的通道类型为终端至终端之间的通道;所述第二信息为第四值时,用于指示所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道;所述第二信息为第五值时,用于指示所请求数据通道的通道类型为网络侧应用服务器至终端之间的通道。The negotiation method according to claim 10, wherein when the second information is a third value, it is used to indicate that the channel type of the requested data channel is a terminal-to-terminal channel; the second information is a fourth value. When the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a channel between the terminal and the network-side application server; when the second information is a fifth value, it is used to indicate that the channel type of the requested data channel is a network-side application Channel between server and terminal.
  13. 根据权利要求10所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:The negotiation method according to claim 10, wherein performing data channel processing according to the channel attribute information includes:
    在根据所述第二信息,确定所请求数据通道的通道类型为终端至终端之间的通道时,将所述数据通道协商请求转发至所请求终端。When it is determined according to the second information that the channel type of the requested data channel is a terminal-to-terminal channel, the data channel negotiation request is forwarded to the requested terminal.
  14. 根据权利要求10所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:The negotiation method according to claim 10, wherein performing data channel processing according to the channel attribute information includes:
    在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所请求数据通道的应用所属应用服务器之间的数据通道;或者When it is determined based on the second information that the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a data channel with the application server to which the application of the requested data channel belongs; or
    在根据所述第二信息,确定所请求数据通道的通道类型为终端至网络侧 应用服务器之间的通道时,建立与数据控制服务器之间的数据通道,由所述数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。According to the second information, it is determined that the channel type of the requested data channel is terminal to network side. When using a channel between application servers, a data channel is established with the data control server. The data control server forwards the received first data sent by the sending end through the data channel to the application requesting the data channel. The associated application server, and the data control server forwards the received second data sent by the application server to the sending end through the data channel.
  15. 根据权利要求10所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:The negotiation method according to claim 10, wherein performing data channel processing according to the channel attribute information includes:
    在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与所述本地网络应用的应用服务器之间的数据通道;或者When it is determined according to the first information and the second information that the requested data channel applies to the local network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish the relationship with the A data channel between application servers for local network applications; or
    在根据所述第一信息和所述第二信息,确定所请求数据通道应用于本地网络应用,且所请求数据通道的通道类型为终端至网络侧应用服务器之间的通道时,建立与本地数据控制服务器之间的数据通道,由所述本地数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请求数据通道的应用所属的应用服务器,以及由所述本地数据控制服务器将所接收的由所述应用服务器发送的第二数据,通过所述数据通道转发至所述发送端。When it is determined according to the first information and the second information that the requested data channel applies to the local network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, establish a connection with the local data channel. Control the data channel between servers. The local data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs, and the local data control server forwards the received first data sent by the sending end through the data channel to the application server to which the application requesting the data channel belongs. The data control server forwards the received second data sent by the application server to the sending end through the data channel.
  16. 根据权利要求10所述的协商方法,其中,根据所述通道属性信息,执行数据通道处理,包括:The negotiation method according to claim 10, wherein performing data channel processing according to the channel attribute information includes:
    在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络侧的网络设备,以通过远端网络侧的网络设备建立发送端与远端网络的应用服务器之间的数据通道;When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is Forwarding the data channel negotiation request to the network device on the remote network side to establish a data channel between the sending end and the application server of the remote network through the network device on the remote network side;
    在根据所述第一信息和所述第二信息,确定所请求数据通道应用于远端网络应用,且所请求数据数据通道的通道类型为终端至网络侧应用服务器之间的通道时,将所述数据通道协商请求转发至远端网络的数据控制服务器,并建立与远端网络的数据控制服务器之间的数据通道,由远端网络的数据控制服务器将所接收的由发送端通过所述数据通道发送的第一数据,转发至请 求数据通道的应用所属的远端的应用服务器,以及由远端网络的数据控制服务器将由远端的应用服务器发送的第二数据,通过所述数据通道转发至所述网络设备后发送至所述发送端。When it is determined according to the first information and the second information that the requested data channel applies to a remote network application, and the channel type of the requested data channel is a channel between the terminal and the network-side application server, the requested data channel is The data channel negotiation request is forwarded to the data control server of the remote network, and a data channel is established with the data control server of the remote network. The data control server of the remote network passes the data received by the sending end through the The first data sent by the channel is forwarded to the The remote application server to which the application of the data channel belongs is obtained, and the second data sent by the remote application server by the data control server of the remote network is forwarded to the network device through the data channel and then sent to the sending end.
  17. 一种协商方法,应用于终端,所述方法包括:A negotiation method, applied to terminals, the method includes:
    获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;Obtain the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
    根据所述数据通道协商请求,完成数据通道协商及建立;Complete data channel negotiation and establishment according to the data channel negotiation request;
    根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe;
    根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。According to the interactive data received in the data channel and/or the data channel application associated with the data channel, the interactive interface and interactive data of the data channel application are displayed on the call interface.
  18. 根据权利要求17所述的协商方法,其中,所述通道属性信息包括以下信息中的至少之一:The negotiation method according to claim 17, wherein the channel attribute information includes at least one of the following information:
    第一信息,用于指示所请求数据通道应用于本地网络应用还是远端网络应用;The first information is used to indicate whether the requested data channel should be used for local network applications or remote network applications;
    第二信息,用于指示所请求数据通道的通道类型;The second information is used to indicate the channel type of the requested data channel;
    第三信息,用于指示请求使用所述数据通道的数据通道应用程序标识;Third information, used to indicate the identification of the data channel application that requests the use of the data channel;
    第四信息,用于指示所请求数据通道的通道名称。The fourth information is used to indicate the channel name of the requested data channel.
  19. 根据权利要求17所述的协商方法,其中,根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序,包括:The negotiation method according to claim 17, wherein determining the data channel application associated with the data channel according to the channel attribute information includes:
    根据所述通道属性信息,确定请求使用所述数据通道的数据通道应用程序标识;Determine the data channel application identifier that requests the use of the data channel according to the channel attribute information;
    通过数据通道应用程序获取流程,向网络侧发起数据通道应用程序获取请求,所述数据通道应用程序获取请求携带所述数据通道应用程序标识;Through the data channel application acquisition process, initiate a data channel application acquisition request to the network side, and the data channel application acquisition request carries the data channel application identifier;
    获取所述网络侧根据所述数据通道应用程序获取请求发送的与所述数据通道对应的数据通道应用程序。Obtain the data channel application corresponding to the data channel sent by the network side according to the data channel application acquisition request.
  20. 根据权利要求17所述的协商方法,所述方法还包括:The negotiation method according to claim 17, further comprising:
    将所述交互数据通过所述数据通道发送至应用服务器或者发送至发起所 述数据通道协商请求的终端。The interactive data is sent to the application server through the data channel or to the initiating party. The endpoint that requested the data channel negotiation.
  21. 一种网络设备,所述网络设备为发送端,包括收发机,其中:A network device, which is a sending end and includes a transceiver, wherein:
    所述收发机用于,向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。The transceiver is configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  22. 一种网络设备,包括收发机和处理器,其中:A network device including a transceiver and a processor, wherein:
    所述收发机用于,接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver is configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
    所述处理器用于,根据所述通道属性信息,执行数据通道处理。The processor is configured to perform data channel processing according to the channel attribute information.
  23. 一种终端,包括收发机和处理器,其中:A terminal including a transceiver and a processor, wherein:
    所述收发机用于,获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The transceiver is configured to obtain a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
    所述处理器用于,根据所述数据通道协商请求,完成数据通道协商及建立;The processor is configured to complete data channel negotiation and establishment according to the data channel negotiation request;
    根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;以及Determine the data channel application associated with the data channel according to the channel attribute information; the data channel application is used to display information on the front-end page of the data channel application on the terminal side and/or business logic for user interaction on the terminal side describe; and
    根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。According to the interactive data received in the data channel and/or the data channel application associated with the data channel, the interactive interface and interactive data of the data channel application are displayed on the call interface.
  24. 一种协商装置,应用于发送端,所述装置包括:A negotiation device, applied to the sending end, the device includes:
    发送模块,用于向接收端发送数据通道协商请求,其中所述数据通道协商请求包括通道属性信息。A sending module, configured to send a data channel negotiation request to the receiving end, where the data channel negotiation request includes channel attribute information.
  25. 一种协商装置,应用于网络设备,所述装置包括:A negotiation device, applied to network equipment, the device includes:
    接收模块,用于接收发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;A receiving module, configured to receive a data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
    第一处理模块,用于根据所述通道属性信息,执行数据通道处理。The first processing module is used to perform data channel processing according to the channel attribute information.
  26. 一种协商装置,应用于终端,所述装置包括:A negotiation device, applied to a terminal, the device includes:
    获取模块,用于获取发送端发送的数据通道协商请求,其中所述数据通道协商请求包括通道属性信息;The acquisition module is used to acquire the data channel negotiation request sent by the sending end, where the data channel negotiation request includes channel attribute information;
    第二处理模块,用于根据所述数据通道协商请求,完成数据通道协商及 建立;The second processing module is used to complete data channel negotiation and Establish;
    第三处理模块,用于根据所述通道属性信息,确定所述数据通道关联的数据通道应用程序;所述数据通道应用程序用于在终端侧对数据通道应用的前端页面显示信息和/或终端侧用户交互操作的业务逻辑进行描述;The third processing module is used to determine the data channel application program associated with the data channel according to the channel attribute information; the data channel application program is used to display information on the front-end page of the data channel application on the terminal side and/or the terminal Describe the business logic of user interaction operations;
    显示模块,用于根据所述数据通道内接收的交互数据和/或与所述数据通道关联的数据通道应用程序,在通话界面显示所述数据通道应用的交互界面及交互数据。A display module, configured to display the interactive interface and interactive data of the data channel application on the call interface according to the interactive data received in the data channel and/or the data channel application associated with the data channel.
  27. 一种网络设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述程序被所述处理器执行时实现如权利要求1至7任一项所述的协商方法,或者实现如权利要求8至16任一项所述的协商方法,或者实现如权利要求17至20任一项所述的协商方法。A network device, including: a processor, a memory, and a program stored on the memory and executable on the processor, wherein when the program is executed by the processor, any one of claims 1 to 7 is implemented. The negotiation method described in any one of claims 8 to 16 may be implemented, or the negotiation method described in any one of claims 17 to 20 may be implemented.
  28. 一种可读存储介质,所述可读存储介质上存储有程序,其中,所述程序被处理器执行时实现如权利要求如权利要求1至7任一项所述的协商方法中的步骤,或者实现如权利要求8至16任一项所述的协商方法中的步骤,或者实现如权利要求17至20任一项所述的协商方法中的步骤。 A readable storage medium with a program stored on the readable storage medium, wherein when the program is executed by a processor, the steps in the negotiation method as claimed in any one of claims 1 to 7 are implemented, Either implement the steps in the negotiation method as described in any one of claims 8 to 16, or implement the steps in the negotiation method as described in any one of claims 17 to 20.
PCT/CN2023/096280 2022-05-25 2023-05-25 Negotiation method, apparatus, network device, and terminal WO2023227059A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210578258.4A CN117177304A (en) 2022-05-25 2022-05-25 Negotiation method, device, network equipment and terminal
CN202210578258.4 2022-05-25

Publications (1)

Publication Number Publication Date
WO2023227059A1 true WO2023227059A1 (en) 2023-11-30

Family

ID=88918575

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096280 WO2023227059A1 (en) 2022-05-25 2023-05-25 Negotiation method, apparatus, network device, and terminal

Country Status (2)

Country Link
CN (1) CN117177304A (en)
WO (1) WO2023227059A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015123822A1 (en) * 2014-02-19 2015-08-27 华为技术有限公司 Method, device and system for establishing data channel
CN105227418A (en) * 2014-05-29 2016-01-06 华为技术有限公司 Data channel establishing method and communication equipment
CN107454000A (en) * 2016-05-31 2017-12-08 华为技术有限公司 Network data transmission device and method
WO2018120836A1 (en) * 2016-12-30 2018-07-05 国民技术股份有限公司 Terminal pairing method, device, and system, terminal, and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015123822A1 (en) * 2014-02-19 2015-08-27 华为技术有限公司 Method, device and system for establishing data channel
CN105227418A (en) * 2014-05-29 2016-01-06 华为技术有限公司 Data channel establishing method and communication equipment
CN107454000A (en) * 2016-05-31 2017-12-08 华为技术有限公司 Network data transmission device and method
WO2018120836A1 (en) * 2016-12-30 2018-07-05 国民技术股份有限公司 Terminal pairing method, device, and system, terminal, and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA, ALCATEL-LUCENT SHANGHAI BELL: "Correction of name of SDP dtls-id attribute", 3GPP DRAFT; CP-170227_WASC1-170755 24.229 REL13 DTLS-ID NAME, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. TSG CT, no. Dubrovnik, Croatia; 20170306 - 20170307, 2 March 2017 (2017-03-02), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051231857 *

Also Published As

Publication number Publication date
CN117177304A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US10250646B2 (en) Method and device for establishing channel
US9270717B1 (en) Wireless multimedia content brokerage service for real time selective content provisioning
US9602553B2 (en) Method, apparatus, and system for implementing VOIP call in cloud computing environment
US7983218B2 (en) Techniques to support seamless mobility of electronic devices engaged in a session initiation protocol (SIP) session
US20220131912A1 (en) Call processing method and device
US7809838B2 (en) Managing concurrent data updates in a composite services delivery system
US9065788B2 (en) Method, device and system for voice communication
WO2016054977A1 (en) Method and apparatus for interactive response
WO2020259192A1 (en) Multimedia data processing method and apparatus, storage medium and electronic device
US20090037596A1 (en) Media persistent rtsp streaming
JP2012501133A (en) Method for transferring a video session between a fixed multimedia device and a mobile multimedia device
CN104219479A (en) Video communication service processing method and system
EP2974159B1 (en) Method, device and system for voice communication
US10530932B2 (en) Seamless mechanism to connect an active call to another device
US8908853B2 (en) Method and device for displaying information
WO2023227059A1 (en) Negotiation method, apparatus, network device, and terminal
CN102231734A (en) Method, device and system for realizing audio transcoding of TTS (Text To Speech)
CN113726968B (en) Terminal communication method, device, server and storage medium
CN114244812A (en) Voice communication method, device, electronic equipment and computer readable medium
CN114710821A (en) Method, system and storage medium for VoLTE relay to access SIP contact center
US8588394B2 (en) Content switch for enhancing directory assistance
WO2017113071A1 (en) Supplementary service implementation method, terminal device and ims server
EP2061204A1 (en) Method of establishing an IMS-session
KR20120058764A (en) Method and apparatus for providing voice quality in voice over internet protocol
WO2023087925A1 (en) Telecommunication method, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23811129

Country of ref document: EP

Kind code of ref document: A1