WO2024012288A1 - Data channel holding methods and apparatuses, communication devices, and readable storage medium - Google Patents

Data channel holding methods and apparatuses, communication devices, and readable storage medium Download PDF

Info

Publication number
WO2024012288A1
WO2024012288A1 PCT/CN2023/105149 CN2023105149W WO2024012288A1 WO 2024012288 A1 WO2024012288 A1 WO 2024012288A1 CN 2023105149 W CN2023105149 W CN 2023105149W WO 2024012288 A1 WO2024012288 A1 WO 2024012288A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
data channels
data
data channel
retention
Prior art date
Application number
PCT/CN2023/105149
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 WO2024012288A1 publication Critical patent/WO2024012288A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Definitions

  • the present application belongs to the field of communication technology, and specifically relates to a method, device, communication equipment and readable storage medium for maintaining a data channel.
  • the 3GPP standard introduces a mechanism to establish a data channel (Data Channel, DC) during the call. Additional service transmission (for example, screen sharing) can be performed through the DC during the call. , real-time voice translation, location sharing, file transfer, etc.), thereby giving users a better experience.
  • DC Data Channel
  • Embodiments of the present application provide a method, device, communication device, and readable storage medium for maintaining a data channel, which enable communicating parties to accurately perform maintenance operations on the data channel, thereby improving user experience.
  • a method for maintaining a data channel includes: when M data channels are established between a first communication device and a second communication device, the first communication device determines which of the M data channels N data channels need to be maintained; the first communication device sends a retention request; wherein the above-mentioned retention request is used to maintain N data channels; N is a positive integer, and M is greater than or equal to N.
  • a device for maintaining data channels includes: a determining module and a sending module, wherein: the determining module is used to establish M data channels between the first communication device and the second communication device. , determine the N data channels that need to be maintained among the M data channels; the sending module is used to send a retention request; where the retention request is used to maintain the N data channels determined by the determination module; N is a positive integer, and M is greater than or equal to N.
  • a method for maintaining a data channel includes: when M data channels are established between a first communication device and a second communication device, the second communication device receives a retaining request; the retaining request is used to Maintain N data channels that need to be maintained among the M data channels; where N is a positive integer, and M is greater than or equal to N.
  • a device for maintaining a data channel includes: a receiving module; a receiving module for, when M data channels are established between the first communication device and the second communication device, the second communication device Receive a hold request; the hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
  • a communication device in a fifth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor, the following is implemented: The steps of the method described in the first aspect.
  • a communication device including a processor and a communication interface, wherein the processor is configured to determine M data channels when M data channels are established between the first communication device and the second communication device. There are N data channels that need to be maintained, and the communication interface is used to send a retention request, where the retention request is used to maintain N data channels, where N is a positive integer, and M is greater than or equal to N.
  • a communication device in a seventh aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are implemented when executed by the processor. The steps of the method as described in the third aspect.
  • a communication device including a processor and a communication interface, wherein the communication interface is used to receive a hold request when M data channels are established between the first communication device and the second communication device, The hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
  • a ninth aspect provides a communication system, including: a first communication device and a second communication device.
  • the first communication device can be used to perform the steps of the method for maintaining a data channel as described in the first aspect.
  • the third communication device The second communication device may be used to perform the steps of the method for maintaining the data channel as described in the third aspect
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented as described in the first aspect. The steps of the method described in the third aspect.
  • a chip in an eleventh aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method described in the first aspect. method, or implement a method as described in the third aspect.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect
  • the first communication device determines the N data channels that need to be maintained among the M data channels; the first The communication device sends a hold request; wherein, the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N.
  • the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained. data channel.
  • the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • Figure 1 is a block diagram of a wireless communication system provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application
  • Figure 3 is a second schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application.
  • Figure 4 is a third schematic diagram of the data channel maintenance method provided by the embodiment of the present application.
  • Figure 5 is a fourth schematic diagram of the data channel maintenance method provided by the embodiment of the present application.
  • Figure 6 is a fifth schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application.
  • Figure 7 is a schematic diagram of the sixth schematic diagram of the data channel maintenance method provided by the embodiment of the present application.
  • Figure 8 is one of the structural schematic diagrams of the data channel holding device provided by the embodiment of the present application.
  • Figure 9 is the second structural schematic diagram of the data channel holding device provided by the embodiment of the present application.
  • Figure 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 11 is a schematic diagram of the hardware structure of the terminal provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of the hardware structure of a network-side device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects It is usually one type, and the number of objects is not limited.
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • system and “network” in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies.
  • NR New Radio
  • the following description describes a New Radio (NR) system for example purposes, and uses NR terminology in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th Generation , 6G) communication system.
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes terminal 11 and network side equipment Prepare 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • Mobile Internet Device MID
  • AR augmented reality
  • VR virtual reality
  • robots wearable devices
  • VUE vehicle-mounted equipment
  • PUE pedestrian terminal
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • PC personal computers
  • teller machines or self-service Terminal devices such as mobile phones
  • wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), Smart wristbands, smart clothing, etc.
  • the terminal involved in this application may also be a chip within the terminal, such as a modem chip or a system on chip (SoC). It should be noted that the embodiment of the present application does not limit the specific type of the terminal 11.
  • the network side device 12 may include an access network device or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or Wireless access network unit.
  • the access network device 12 may include a base station, a WLAN access point or a WiFi node, etc.
  • the base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all
  • eNB evolved Node B
  • BTS Base Transceiver Station
  • BSS Basic Service Set
  • ESS Extended Service Set
  • Home Node B Home Evolved Node B
  • TRP Transmitting Receiving Point
  • Core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), application function (Application Function, AF), etc.
  • MME mobility management entities
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy Control Function
  • UE-A when streaming media technology is used to transmit voice services, during the call between UE-A and UE-B, if UE-A needs to answer the call from UE-C, UE-A needs to -B sends a call hold request (ie re-INVITE request) to perform call hold.
  • a call hold request ie re-INVITE request
  • IMS Internet protocol multimedia subsystem
  • DC Internet protocol multimedia subsystem
  • 5G data channel The fifth generation communication technology data channel
  • VoIP voice call
  • SCTP Stream Control Transmission Protocol
  • the first communication device when the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and provide the data to the second communication device.
  • the communication device sends a hold request to hold the data channel that needs to be held. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • call hold means that the mobile user who is talking can temporarily interrupt the original call and make a new call while maintaining contact with the original call; when the original call needs to be resumed, the new call will be placed in the Put the call on hold and continue the call with the original caller, or end the call with them individually or simultaneously.
  • the call holding process for voice services may include the following steps 11 to 16:
  • Step 11 UE-A sends a re-INVITE request to UE-B.
  • the re-INVITE request is used to perform call hold (call hold).
  • call holding is implemented by modifying the attribute information (attribute) of the session description protocol (SDP, session description protocol) corresponding to each media, which is specifically described through the a line of the SDP.
  • attribute information attribute information (attribute) of the session description protocol (SDP, session description protocol) corresponding to each media, which is specifically described through the a line of the SDP.
  • the media stream is a media stream that can be received and sent
  • the media stream is maintained by setting line a of the SDP of the media stream to sendonly.
  • the SDP information of re-INVITE is as follows:
  • m line represents video media (video media codec method)
  • the SDP information of re-INVITE is as follows:
  • an m line represents a media
  • an a line can be used to indicate whether to perform a call hold service for the media.
  • users when they need to communicate with a third party During a call, it is necessary to put the voice and video media on hold with the second party.
  • Step 12 The Proxy-Call Session Control Function (P-CSCF) sends the request to the Serving-Call Session Control Function (S-CSCF).
  • P-CSCF Proxy-Call Session Control Function
  • Step 13 The S-CSCF sends the request to the P-CSCF that provides services for UE-B.
  • Step 14 P-CSCS sends the request to UE-B.
  • Step 15 UE-B replies with 200OK, carrying a recvonly indication in the SDP of 200OK.
  • UE-A carries an inactive indication in SDP
  • UE-B also replies with an inactive indication.
  • Step 16 UE-A sends a confirmation feedback ACK to UE-B.
  • the call hold of UE-A can be realized, so that UE-A can temporarily interrupt the original voice service and perform a new voice service.
  • FIG. 2 is a schematic flowchart of a method for maintaining a data channel provided by an embodiment of the present application.
  • the information search method provided by the embodiment of the present application may include the following steps 301 and 302:
  • Step 301 When M data channels are established between the first communication device and the second communication device, the first communication device determines N data channels that need to be maintained among the M data channels.
  • N is a positive integer
  • M is greater than or equal to N.
  • the first communication device may be a user equipment (User Equipment, UE) or a network device.
  • UE User Equipment
  • the second communication device may be a user equipment (User Equipment, UE) or a network device.
  • UE User Equipment
  • the above network device may be a base station or core network device.
  • the first communication device and the second communication device may both be UEs; or the first communication device may be a UE and the second communication device may be a network device.
  • the above-mentioned data channel may be a data channel in IMS, that is, an IMS data channel.
  • the above data channel can be application DC, that is, the data channel of the application.
  • the above data channel can be used to transmit any multimedia information such as pictures, videos, menus, expressions, locations, augmented reality (Augmented Reality, AR)/virtual reality (Virtual Reality, VR) technology.
  • DC Data Channel
  • additional services can be performed during the call, such as screen sharing, real-time voice translation, location sharing, and file sharing. transmission, thereby giving users a better experience.
  • different services usually correspond to different DC applications.
  • the DC application can be dynamically downloaded to the terminal during the call without requiring the terminal to be installed in advance.
  • APP APP below.
  • the N data channels that need to be maintained may be one or more of the M data channels that have been established.
  • the above N data channels are preconfigured or agreed upon by the protocol.
  • the first communication device determines the data channel on which the hold operation can be performed based on the app that uses the data channel; or, when establishing a data channel with the second communication device, the first communication device can communicate with the second communication device.
  • the peer negotiates whether the data channel can be maintained, and only data that can be maintained can perform the retention operation.
  • UE-A can use the above-mentioned multiple established data channels, the data channel of the boot program, the data channel of APP-3 and the APP-
  • the data channel of 4 is determined as the data channel that needs to be maintained.
  • the first communication device when the first communication device transmits voice services with the second communication device and transmits data services with the second communication device through M data channels, if the first communication device If voice service needs to be performed with the third communication device, the first communication device determines N data channels that need to be maintained among the M data channels with the second communication device.
  • the above-mentioned third communication device may be a UE or a network device.
  • the first voice device can perform call hold and determine whether to communicate with the second communication device. one or more that need to be maintained between The data channel is used to maintain the data channel when the call is held, so that the first communication device can talk to the third communication device, or use the data channel to transmit data services with the third communication device.
  • Step 302 The first communication device sends a hold request.
  • the above-mentioned holding request is used to hold N data channels.
  • the above-mentioned hold request may be re-INVITE or INVITE.
  • the above-mentioned hold request is also used to hold the call.
  • the first communication device when the first communication device communicates with the second communication device and uses M data channels to transmit data services, if the first communication device needs to communicate with the third communication device, the first communication device sends Call request, which is used for call hold and data channel hold.
  • the above-mentioned hold request carries the first SDP information.
  • the above-mentioned first SDP information includes indication information of N data channels
  • the above instruction information is used to indicate maintaining N data channels.
  • this instruction information may also be called retention instruction information.
  • the above-mentioned first SDP information includes description information of N data channels
  • the above description information includes instruction information.
  • the description information of the data channel may include information such as the encoding format and transmission characteristics (such as low packet loss rate, low delay, etc.) of the data channel.
  • the description information of the data channel may include the a description line in the SDP, referred to as the a line for short.
  • the above N data channels correspond to one indication information
  • the one indication information is used to indicate maintaining N data channels.
  • the indication information may be indication information for instructing to maintain the data channel of APP-1, the data channel of APP-2, and the data channel of APP-3.
  • one indication information is used to indicate maintaining multiple data channels, so that N data channels can share one indication information.
  • the above-mentioned N data channels correspond to N pieces of indication information; the indication information corresponding to each of the above-mentioned N data channels is used to indicate maintaining the corresponding data channel.
  • the N pieces of indication information may include one indication information 1 for instructing to maintain the data channel of APP-1 and another indication information for instructing to maintain the data channel of APP-2.
  • the above-mentioned first SDP information includes the description information of each of the N data channels; the above-mentioned description information of each data channel includes a hold indication information (inactive); the above-mentioned hold indication information is used to instruct to keep N data channel.
  • the first SDP information includes description information of video media and voice media
  • the description information includes instruction information (sendonly) indicating to hold voice media and video media.
  • SDP is a session description format.
  • SDP provides multimedia session descriptions for purposes such as session notifications, session invitations, and other forms of multimedia session initialization.
  • SDP includes media description and data channel description, that is, the description information of the data channel.
  • one data channel can correspond to one hold indication information.
  • the first communication device adds the retention indication information to the description information of the data channel.
  • the instruction information corresponding to each data channel is used to instruct the maintenance of each data channel, so that the maintenance of any data channel can be flexibly and controllably instructed.
  • the first communication device when the first communication device uses at least one data channel during a call with the second communication device, when the first communication device sends a call hold request to the second communication device, the first communication device determines Which data channels need to be held at the same time. For the data channels that need to be held at the same time by the call, the first communication device adds hold indication information under the a line corresponding to the data channel.
  • the first SDP information of the above re-INVITE is as follows:
  • the m row represents video media
  • the m line represents the voice media
  • voice media is kept alive by setting line a to sendonly
  • the Chinese comparison is:
  • the first SDP information of the above re-INVITE is as follows:
  • the m row represents the data channel
  • the a line represents the bootstrap data channel, which is used to download the app
  • the a row represents the data channel of app-1, such as location sharing
  • the a line represents the data channel of app-2, such as file transfer
  • the a row represents the data channel of app-3, such as screen sharing
  • the a line represents the data channel of app-4, such as voice translation
  • the Chinese comparison is:
  • m application 52718 UDP/DTLS/SCTP webrtc-datachannel The m represents the row data channel
  • keeping the data channel may be keeping the data channel in a connected state.
  • the first communication device determines which of the M data channels need to be maintained. N data channels; the first communication device sends a hold request; wherein the above-mentioned hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N.
  • the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained. data channel.
  • the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • maintaining N data channels may include any of the following:
  • the first communication device interrupts the transmission of data services of the N data channels
  • the first communication device maintains transmission of data services of N data channels.
  • keeping the data channel may be keeping the data channel in a connected state and stopping the transmission of service data in the data channel.
  • the first communication device and the second communication device use M data channels to transmit service data, keep N data channels among them in a connected state, and stop the transmission of data services in the N data channels, so as to This allows the data services in the N data channels to be temporarily interrupted when necessary, and can continue to be transmitted through the N data channels when transmission needs to be resumed.
  • UE-A currently uses the data channel of APP-1 (for example, location sharing) to share location with UE-B, and uses the data channel of APP-2 (for example, file transfer) to perform file transmission with UE-B.
  • APP-3 such as screen sharing
  • the data channel that needs to be maintained is the data channel of APP-3
  • UE-A sends a re-INVITE request to maintain APP-B.
  • 3 e.g., screen sharing
  • UE-A and UE-B are currently talking, and use the data channel of APP-1 (for example, location sharing) to share location with UE-B, and use the data of APP-2 (for example, file transfer).
  • the channel performs file transfer with UE-B, and uses the data channel of APP-3 (such as screen sharing) to perform screen sharing with UE-B.
  • the data channel that needs to be maintained is the data channel of APP-3, then UE- When A needs to talk to UE-C, it can send a re-INVITE to request call hold and maintain the data channel of APP-3 (such as screen sharing), that is, temporarily interrupt the screen sharing with UE-B.
  • the data channel that needs to be maintained can be temporarily interrupted for data service transmission, and the data channel that does not need to be maintained can continue to transmit the data service, so that the data service that needs to be interrupted is temporarily interrupted, and the data service that needs to be continued can be continued.
  • the transmitted data service remains transmitted, thereby avoiding interruption of the data service that the user needs to continue.
  • maintaining the data channel may be maintaining the data channel in a connected state and maintaining transmission of service data in the data channel.
  • the first communication device and the second communication device use M data channels to transmit service data, keep N data channels among them in a connected state, and maintain the transmission of data services in the N data channels, so as to This enables the data services in the N data channels to be continuously transmitted.
  • UE-A currently uses the data channel of APP-1 (for example, location sharing) to share location with UE-B, and uses the data channel of APP-2 (for example, file transfer) to communicate with UE-B.
  • APP-1 for example, location sharing
  • APP-2 for example, file transfer
  • the data channel that needs to be maintained is the data channel of APP-2
  • UE-A sends re-INVITE Request to maintain the data channel of APP-2 to maintain file transfer between UE-A and UE-B.
  • the data channel that needs to be maintained can continue to be used for data service transmission, thereby avoiding interruption of the data service that the user needs to continue.
  • the first communication device determines the N data channels that need to be maintained among the M data channels, which may include the following step 301a:
  • Step 301a The first communication device determines N data channels that need to be maintained from the M data channels based on the retention policies corresponding to the M data channels.
  • the retention strategy corresponding to any one of the above M data channels is any of the following:
  • the first communication device and the second communication device pre-negotiate the maintenance strategy for any of the above-mentioned data channels;
  • the retention policy of the application corresponding to any data channel can be pre-configured.
  • different applications can correspond to different retention strategies.
  • the retention policy for file transfer can be Cannot be maintained, that is, the data channel for file transmission is not maintained;
  • the retention policy for location sharing can be Cannot be maintained, that is, the data channel for location sharing is not maintained;
  • the retention policy for screen sharing can be Can Maintain or must maintain, that is, maintain the data channel of screen sharing;
  • the retention policy of voice translation can be can maintain or must maintain, that is, maintain the data channel of file transfer;
  • the retention policy of bootstrap can be must maintain, that is, maintain booting The program's data channel.
  • the above application retention policy is related to the correlation between the application and the voice service.
  • the retention policy of the above application may be determined based on the correlation between the application and the voice service.
  • the retention policy of applications with strong correlation with voice services can be determined as must be maintained, and the retention policy of applications with weak correlation with voice services (such as file transfer) can be determined as cannot be maintained.
  • the data channel of the data service that is strongly related to the voice service can be determined as the data channel that needs to be maintained, so that the data service and the voice service are maintained together (that is, the transmission is temporarily interrupted) , and no hold operation is performed on other data channels, so that other data services can continue to be transmitted, thereby saving communication resources and avoiding poor user experience due to interruption of data service transmission.
  • the first communication device may determine one or more data channels that need to be maintained according to the above applied retention policy.
  • the first communication device and the second communication device as both UEs.
  • a bootloader data channel a data channel for APP-1 (eg, location sharing), a data channel for APP-2 (eg, file transfer), and APP-3 (eg, screen) are established between UE-A and UE-B.
  • shared) data channel and the data channel of APP-4 (such as voice translation)
  • UE-A will use the above-mentioned multiple established data channels according to the retention policy applied in the above example, the data channel of the boot program, APP
  • the data channel of -3 and the data channel of APP-4 are determined as the data channels that need to be maintained.
  • the first communication device may determine one or more data channels that need to be maintained according to the maintenance policy negotiated with the second communication device for the established data channels.
  • a bootstrap data channel a data channel of APP-1 (such as location sharing), a data channel of APP-2 (such as file transfer), and a data channel of APP-3 (such as file transfer) are established between UE-A and UE-B.
  • the data channel of screen sharing) and the data channel of APP-4 such as voice translation
  • the data channel of APP-2 and the data channel of APP-3 are the data that UE-A and UE-B can maintain through negotiation.
  • channel, UE-A determines the data channel of APP-2 and the data channel of APP-3 as the data channels that need to be maintained.
  • the first communication device can determine one of the multiple data channels or data that needs to be retained based on the retention policy corresponding to each data channel. channel, so that data channel maintenance can be performed in a targeted manner.
  • the method for maintaining the data channel provided by the embodiment of the present application further includes the following step A1:
  • Step A1 In the process of establishing M data channels between the first communication device and the second communication device, the first communication device negotiates with the second communication device through the SDP information corresponding to the M data channels. Stay strategic.
  • the SDP information corresponding to the M data channels may be SDP information including attribute information of the M data channels.
  • the above retention strategies corresponding to the M data channels may be retention strategies corresponding to each of the M data channels.
  • the above-mentioned retention policy may be to maintain the data channel or not to maintain the data channel.
  • the above-mentioned M data channels include the first data channel; the above-mentioned step A1 may include the following steps B1 and step B2:
  • Step B1 The first communication device sends the second SDP information.
  • Step B2 The first communication device receives the third SDP information sent by the second communication device.
  • the above-mentioned second SDP information includes first indication information, and the above-mentioned first indication information is used to indicate the first retention strategy corresponding to the first data channel;
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
  • the first data channel may be any one of the M data channels.
  • the first communication device sends second SDP information
  • the second SDP information includes description information of each data channel
  • the description information of each data channel includes the first Indication information
  • the first indication information is used to indicate the retention strategy of the data channel corresponding to the first indication information, that is, whether to maintain the data channel corresponding to the first indication information.
  • the above second SDP information is as follows:
  • the m row represents the data channel
  • the a line represents the bootstrap data channel, which is used to download the app
  • the a row represents the data channel of app-1, such as location sharing
  • “canhold: true” is added to the description information (attribute information) of the data channel of app-1, indicating that the application DC can be held.
  • canhold:false can be added to the description information (i.e., attribute information) of the data channel of app-1 to indicate that the application DC cannot be maintained. (hold).
  • the Chinese comparison is:
  • the second communication device after receiving the second SDP information sent by the first device, the second communication device sends the third SDP information.
  • the above-mentioned third SDP information includes description information of each data channel, and the description information of each data channel includes second indication information.
  • the second indication information is used to indicate the data channel corresponding to the second indication information.
  • the retention strategy that is, whether the data channel corresponding to the second indication information can be maintained.
  • the first communication device and the second communication device negotiate the maintenance policy for the data channel based on the SDP information of both parties, and obtain the negotiation result.
  • the above step A1 may include the following step C1 or step C2:
  • Step C1 When the first retention policy is consistent with the second retention policy, determine the first retention policy as the first data channel. Tao maintenance strategy.
  • Step C2 When the first retention policy and the second retention policy are inconsistent, determine the default retention policy as the retention policy of the first data channel, or determine the retention policy indicated by the second indication information as the retention policy of the first data channel. Stay strategic.
  • the retention strategy is determined as the retention strategy of the data channel.
  • UE-A ie, the first communication device
  • UE-B ie, the second communication device
  • the SDP information carries indication information that needs to maintain the data channel of APP-1.
  • UE-B sends SDP information after receiving the SDP information.
  • the SDP information sent by UE-B carries the instruction information that can maintain the data channel. Instruction information of the data channel of APP-1, then the negotiation result between UE-A and UE-B for the retention policy of the data channel of APP-1 is that the data channel of APP-1 can be maintained. Further, when UE-A subsequently performs a data channel maintenance operation, it may determine the data channel of APP-1 as a data channel that needs to be maintained.
  • the default retention strategy is determined to be the retention strategy negotiated by both parties for the data channel, or the retention strategy indicated by the instruction information of the second communication device is determined. It is determined as the retention policy negotiated by both parties for this data channel.
  • UE-A sends SDP information.
  • the SDP information carries indication information that the data channel of APP-1 needs to be maintained.
  • UE-B sends SDP information after receiving the SDP information.
  • the SDP information sent by UE-B carries the instruction information that cannot be maintained.
  • Instruction information of the data channel of APP-1, the result of the negotiation between UE-A and UE-B regarding the retention policy of the data channel of APP-1 is that the data channel of APP-1 cannot be maintained.
  • the first communication device determines N data channels among the M data channels that need to be maintained based on a negotiation result with the second communication device regarding the maintenance policies of the M data channels.
  • the first communication device can negotiate with the second communication device whether the data channel can be maintained during the process of establishing a data channel with the second communication device. Only data that can be retained can perform the retention operation, so that both communicating parties can It can accurately perform hold operations on the data channels that need to be maintained, thereby ensuring the consistency of data services transmitted by both communicating parties through the data channels.
  • An embodiment of the present application provides a method for maintaining a data channel. As shown in Figure 3, the method of maintaining a data channel provided by an embodiment of the present application includes the following steps 401:
  • Step 401 When M data channels are established between the first communication device and the second communication device, the second communication device receives the hold request.
  • the above-mentioned holding request is used to hold N data channels that need to be held among the M data channels.
  • the above-mentioned hold request carries the first SDP information
  • the above-mentioned first SDP information includes indication information of N data channels
  • the above instruction information is used to indicate maintaining N data channels.
  • the second communication device when M data channels are established between the first communication device and the second communication device, the second communication device receives the maintenance request; wherein, the above maintenance request is used to maintain N data channels; N is a positive integer, M is greater than or equal to N.
  • the second communication device can maintain the data channel that needs to be maintained according to the hold request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • the data channel maintaining method provided by the embodiment of the present application further includes the following step 402:
  • Step 402 The second communication device stops using N data channels to send data to the first communication device according to the hold request.
  • UE-B may stop using the data channel of APP-1 and the data channel of APP-2 to send data to UE-A.
  • the second communication device can stop using the data channel that needs to be maintained to send data according to the hold request, thereby ensuring the consistency of data transmission by both communicating parties through the data channel.
  • maintaining N data channels includes any of the following:
  • the second communication device interrupts the transmission of data services of the N data channels
  • the second communication device maintains transmission of data services of N data channels.
  • the data channel maintaining method provided by the embodiment of the present application further includes the following step 402:
  • Step 402 In the process of establishing M data channels between the first communication device and the second communication device, the second communication device negotiates the M data channels with the first communication device through the SDP information corresponding to the M data channels. Corresponding retention strategy.
  • the above-mentioned M data channels include the first data channel
  • the above step 402 may include the following steps 402a and 402b:
  • Step 402a The second communication device receives the second SDP information sent by the first communication device.
  • Step 402b The second communication device sends the third SDP information.
  • the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel.
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
  • the above step 402 may also include the following step 402c or step 402d:
  • Step 402c If the first retention policy is consistent with the second retention policy, determine the first retention policy as the retention policy of the first data channel.
  • Step 402d If the first retention policy is inconsistent with the second retention policy, determine the default retention policy as the retention policy of the first data channel, or determine the retention policy indicated by the second indication information as the retention policy of the first data channel. Stay strategic.
  • An embodiment of the present application provides a method for maintaining a data channel. As shown in Figure 4, the method of maintaining a data channel provided by an embodiment of the present application includes the following steps 501 to 503:
  • Step 501 When M data channels are established between the first communication device and the second communication device, the first communication device determines N data channels that need to be maintained among the M data channels.
  • Step 502 The first communication device sends a hold request to the second communication device.
  • Step 503 The second communication device receives the hold request.
  • the above step 502 may include the following steps 502a1 to 502a4:
  • Step 502a1 The first communication device sends a hold request to the first proxy call session control function P-CSCF.
  • the above-mentioned first P-CSCF may be a P-CSCF that provides services for the first communication device.
  • the above-mentioned hold request may be a re-INVITE request.
  • the above re-INVITE request carries a sendonly indication
  • the sendonly indication is used to instruct the first communication device to only send the media stream but not receive the media stream.
  • Step 502a2 The first P-CSCF sends the hold request to the serving call session control function S-CSCF.
  • Step 502a3 The serving call session control function sends the hold request to the second proxy call session control function P-CSCF.
  • the above-mentioned second proxy call session control function P-CSCF may be a P-CSCF that provides services for the second communication device.
  • Step 502a4 The second P-CSCF sends a hold request to the second communication device.
  • the above step 503 may include the following step 303a:
  • Step 503a The second communication device receives the hold request sent by the second P-CSCF.
  • the data channel maintaining method provided by the embodiment of the present application further includes the following steps 504 to 507:
  • Step 504 The second communication device sends a hold response to the first communication device.
  • the above-mentioned hold response may be 200 OK.
  • the 200 OK carries a recvonly indication, and the recvonly indication is used to instruct the second communication device to only receive the media stream without sending the media stream.
  • Step 505 The first communication device receives the hold response.
  • Step 506 The first communication device sends a confirmation message.
  • the above-mentioned confirmation message may be an acknowledgment response ACK.
  • Step 507 The second communication device receives the confirmation message.
  • step 504 may include the following steps: 504a1 to step 504a4:
  • Step 504a1 The second communication device sends a hold response to the second P-CSCF.
  • Step 504a2 The second P-CSCF sends a hold response to the S-CSCF.
  • Step 504a3 The S-CSCF sends a hold response to the first P-CSCF.
  • Step 504a4 The first P-CSCF sends a hold response to the first communication device.
  • the above step 505 may include the following step 505a:
  • Step 505a The first communication device receives the hold response sent by the first P-CSCF.
  • the above step 506 may include the following steps 506a1 to 506a4:
  • Step 506a1 The first communication device sends a confirmation message to the first P-CSCF.
  • Step 506a2 The first P-CSCF sends the confirmation message to the S-CSCF.
  • Step 506a3 The S-CSCF sends a confirmation message to the second P-CSCF.
  • Step 506a4 The second P-CSCF sends a confirmation message to the second communication device.
  • step 507 may include the following step 507a:
  • Step 507a The second communication device receives the confirmation message sent by the second P-CSCF.
  • UE-A uses at least one data channel during the call with UE-B
  • UE-A sends a maintenance request to UE-B
  • UE-A determines Which data channels need to be maintained, and only data that can be retained can perform retention operations. In this way, both communicating parties can accurately perform hold operations on the data channel, thereby improving user experience.
  • the execution subject may be a data channel maintaining device.
  • the data channel retention method is used as an example to illustrate the data channel retention device provided by the embodiment of the present application.
  • the embodiment of the present application provides a data channel holding device 600.
  • the device 600 includes: a determining module 601 and a sending module 602, wherein: the determining module 601 is used to communicate between the first communication device and the second communication device.
  • the determining module 601 is used to communicate between the first communication device and the second communication device.
  • Sending module 602 used to send a hold request
  • the hold request is used to hold the N data channels determined by the determination module
  • N is a positive integer
  • M is greater than or equal to N.
  • the hold request carries the first Session Description Protocol SDP information
  • the first SDP information includes indication information of N data channels
  • the instruction information is used to instruct to maintain N data channels.
  • the first SDP information includes description information of N data channels
  • the description information includes instruction information.
  • N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
  • N data channels correspond to one indication information
  • one indication information is used to indicate maintaining N data channels.
  • maintaining N data channels includes any of the following:
  • the first communication device interrupts the transmission of data services of the N data channels
  • the first communication device maintains transmission of data services of N data channels.
  • the determination module is specifically used to determine the N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
  • the retention strategy corresponding to any one of the M data channels is any of the following:
  • the first communication device and the second communication device pre-negotiate the maintenance strategy for any data channel
  • the determining module is also configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to match the The two communication devices negotiate the retention policies corresponding to the M data channels.
  • the M data channels include the first data channel; the device further includes: a receiving module;
  • the sending module is also used by the first communication device to send the second SDP information
  • a receiving module configured to receive the third SDP information sent by the second communication device
  • the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
  • a determination module specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
  • the determination module is specifically configured to determine the default retention strategy as the retention strategy for M data channels when the first retention strategy is inconsistent with the second retention strategy, or determine the retention strategy indicated by the second indication information as M data channels. Data channel retention policy.
  • the data channel holding device when M data channels are established between the first communication device and the second communication device, the data channel holding device determines that one of the M data channels needs to be maintained. N data channels; the first communication device sends a hold request; wherein the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N.
  • the data channel holding device can determine which data channels need to be maintained, and send a holding request to the second communication device to maintain the data channels that need to be maintained. data channel. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • the embodiment of the present application provides a data channel holding device 700.
  • the device 700 includes: a receiving module 701, wherein: the receiving module 701 is used to establish M between a first communication device and a second communication device.
  • the receiving module 701 is used to establish M between a first communication device and a second communication device.
  • a hold request is received; the hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
  • the above device further includes: an execution module
  • the above execution module is configured to stop using the N data channels to send data to the first communication device according to the hold request.
  • the above-mentioned hold request carries the first Session Description Protocol SDP information
  • the first SDP information includes indication information of N data channels
  • the above instruction information is used to indicate maintaining N data channels.
  • maintaining N data channels includes any of the following:
  • the second communication device interrupts the transmission of data services of the N data channels
  • the second communication device maintains transmission of data services of N data channels.
  • the device further includes: a determining module
  • a determination module configured to negotiate with the first communication device the retention strategies corresponding to the M data channels through the SDP information corresponding to the M data channels during the process of establishing the M data channels between the first communication device and the second communication device.
  • the M data channels include the first data channel; the device further includes: a sending module;
  • the receiving module is also used to receive the second SDP information sent by the first communication device;
  • the sending module is used to send the third SDP information
  • the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
  • the determination module is specifically configured to determine the first retention strategy as the retention strategy of the first data channel when the first retention strategy is consistent with the second retention strategy; or ,
  • the determination module is specifically configured to determine the default retention policy as the retention policy of the first data channel when the first retention policy and the second retention policy are inconsistent, or determine the retention policy indicated by the second indication information as The retention strategy for the first data channel.
  • the data channel holding device when M data channels are established between the first communication device and the second communication device, the data channel holding device receives the holding request; wherein, the above holding request is used for Maintain N data channels; N is a positive integer, M is greater than or equal to N.
  • the data channel holding device can maintain the data channel that needs to be maintained according to the holding request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • the data channel holding device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the data channel retention device provided by the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 7 and achieve the same technical effect. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides a communication device 1000, which includes a processor 1001 and a memory 1002.
  • the memory 1002 stores programs or instructions that can be run on the processor 1001, such as , when the communication device 1000 is a terminal, When the program or instruction is executed by the processor 1001, each step of the above-mentioned data channel maintaining method embodiment is implemented, and the same technical effect can be achieved.
  • the communication device 1000 is a network-side device, when the program or instruction is executed by the processor 1001, each step of the above-mentioned data channel maintaining method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details are not repeated here.
  • An embodiment of the present application also provides a terminal, including a processor and a communication interface.
  • the processor determines N data channels that need to be maintained among the M data channels.
  • the communication interface is used to send a hold request, where the hold request is used to hold N data channels, where N is a positive integer, and M is greater than or equal to N.
  • This terminal embodiment corresponds to the above-mentioned first communication device side method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • FIG. 11 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, etc. At least some parts.
  • the terminal 100 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 11 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 .
  • Touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 101 after receiving downlink data from the network side device, the radio frequency unit 101 can transmit it to the processor 110 for processing; in addition, the radio frequency unit 101 can send uplink data to the network side device.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • Memory 109 may be used to store software programs or instructions as well as various data.
  • the memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory
  • the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
  • the processor 110 is used to determine N data channels that need to be maintained among the M data channels when M data channels are established between the first communication device and the second communication device;
  • Radio frequency unit 101 used to send a hold request
  • the hold request is used to hold N data channels determined by the processor 110;
  • N is a positive integer
  • M is greater than or equal to N.
  • the hold request carries the first Session Description Protocol SDP information
  • the first SDP information includes indication information of N data channels
  • the instruction information is used to instruct to maintain N data channels.
  • the first SDP information includes description information of N data channels
  • the description information includes instruction information.
  • N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
  • N data channels correspond to one indication information
  • one indication information is used to indicate maintaining N data channels.
  • maintaining N data channels includes any of the following:
  • the first communication device interrupts the transmission of data services of the N data channels
  • the first communication device maintains transmission of data services of N data channels.
  • the processor 110 is specifically configured to determine the N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
  • the retention strategy corresponding to any one of the M data channels is any of the following:
  • the first communication device and the second communication device pre-negotiate the maintenance strategy for any data channel
  • the processor 110 is also configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels, and The second communication device negotiates maintenance policies corresponding to the M data channels.
  • the M data channels include the first data channel and the radio frequency unit 101, which is also used by the first communication device to send the second SDP information;
  • the radio frequency unit 101 is also used to receive the third SDP information sent by the second communication device;
  • the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
  • the processor 110 is specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
  • the processor 110 is specifically configured to determine the default retention strategy as the retention strategy for M data channels when the first retention strategy is inconsistent with the second retention strategy, or determine the retention strategy indicated by the second indication information as M Retention strategy for each data channel.
  • the data channel holding device determines the N data channels that need to be maintained among the M data channels; the terminal sends Hold request; wherein, the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N.
  • the terminal and the second communication device use at least one data channel, the terminal can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained.
  • the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • the radio frequency unit 101 is used to receive a hold request when M data channels are established between the first communication device and the second communication device; the hold request is used to hold N data channels that need to be maintained among the M data channels. ;
  • N is a positive integer, and M is greater than or equal to N.
  • the processor 110 is configured to stop using the N data channels to send data to the first communication device according to the hold request.
  • the above-mentioned hold request carries the first Session Description Protocol SDP information
  • the first SDP information includes indication information of N data channels
  • the above instruction information is used to indicate maintaining N data channels.
  • maintaining N data channels includes any of the following:
  • the second communication device interrupts the transmission of data services of the N data channels
  • the second communication device maintains transmission of data services of N data channels.
  • the processor 110 is configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to communicate with the first communication device.
  • a communication device negotiates retention policies corresponding to M data channels.
  • the M data channels include the first data channel; the radio frequency unit 101 is also used to receive the second SDP information sent by the first communication device;
  • the radio frequency unit 101 is also used to send the third SDP information
  • the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
  • the third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
  • the processor 110 is specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
  • the processor 110 is specifically configured to determine the default retention policy as the retention policy of the first data channel when the first retention policy and the second retention policy are inconsistent, or determine the retention policy indicated by the second indication information. It is the retention strategy of the first data channel.
  • the data channel holding device when M data channels are established between the first communication device and the terminal, the data channel holding device receives a holding request; wherein, the above holding request is used to hold N data channels; N is A positive integer, M is greater than or equal to N.
  • the terminal can maintain the data channel that needs to be maintained according to the hold request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
  • An embodiment of the present application also provides a network side device, including a processor and a communication interface.
  • the communication interface is used to receive a hold request when M data channels are established with the first communication device; the hold request is used to hold N data channels that need to be maintained among the M data channels;
  • N is a positive integer
  • M is greater than or equal to N.
  • This network-side device embodiment corresponds to the above-mentioned second communication device-side method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
  • the embodiment of the present application also provides a network side device.
  • the network side device 200 includes: an antenna 21 , a radio frequency device 22 , a baseband device 23 , a processor 24 and a memory 25 .
  • the antenna 21 is connected to the radio frequency device 22 .
  • the radio frequency device 22 receives information through the antenna 21 and sends the received information to the baseband device 23 for processing.
  • the baseband device 23 processes the information to be sent and sends it to the radio frequency device 22.
  • the radio frequency device 22 processes the received information and then sends it out through the antenna 21.
  • the method performed by the network side device in the above embodiment can be implemented in the baseband device 23, which includes a baseband processor.
  • the baseband device 23 may include, for example, at least one baseband board on which multiple chips are disposed, as shown in FIG. Program to perform the network device operations shown in the above method embodiments.
  • the network side device may also include a network interface 26, which is, for example, a common public radio interface (CPRI).
  • a network interface 26 which is, for example, a common public radio interface (CPRI).
  • CPRI common public radio interface
  • the network side device 200 in this embodiment of the present invention also includes: instructions or programs stored in the memory 25 and executable on the processor 24.
  • the processor 24 calls the instructions or programs in the memory 25 to execute each of the steps shown in Figure 10. The method of module execution and achieving the same technical effect will not be described in detail here to avoid duplication.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above-mentioned data channel retention method embodiment is implemented, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above-mentioned data channel maintenance method.
  • Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the above data channel maintaining method.
  • Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute various embodiments of the present application. method described.

Abstract

Disclosed in the present application are data channel holding methods and apparatuses, communication devices, and a readable storage medium, belonging to the technical field of communications. A data channel holding method in the embodiments of the present application comprises: when M data channels are established between a first communication device and a second communication device, the first communication device determines from the M data channels N data channels needing to be held; and the first communication device sends a holding request, the holding request being used for holding the N data channels, N being a positive integer, and M being greater than or equal to N.

Description

数据通道的保持方法、装置、通信设备及可读存储介质Data channel maintenance method, device, communication equipment and readable storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年07月11日在中国提交的中国专利申请号No.202210815577.2的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210815577.2 filed in China on July 11, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信技术领域,具体涉及一种数据通道的保持方法、装置、通信设备及可读存储介质。The present application belongs to the field of communication technology, and specifically relates to a method, device, communication equipment and readable storage medium for maintaining a data channel.
背景技术Background technique
目前,在使用流媒体技术进行媒体业务的传输时,在终端A与终端B的通话过程中,若终端A需要执行呼叫保持,则终端A和终端B之间的媒体流业务(如语音业务和视频业务),均会被保持住。Currently, when streaming media technology is used to transmit media services, during the call between terminal A and terminal B, if terminal A needs to perform call hold, the media streaming services between terminal A and terminal B (such as voice services and video services), will be maintained.
在相关技术中,为了实现媒体业务的扩展,3GPP标准引入了在通话过程中建立数据通道(Data Channel,DC)的机制,可以通过DC在通话过程中进行额外的业务传输(例如,进行屏幕共享,语音实时翻译,位置共享,文件传输等),从而给用户带来更好的体验。In related technologies, in order to realize the expansion of media services, the 3GPP standard introduces a mechanism to establish a data channel (Data Channel, DC) during the call. Additional service transmission (for example, screen sharing) can be performed through the DC during the call. , real-time voice translation, location sharing, file transfer, etc.), thereby giving users a better experience.
如此,如何在引入数据通道的场景下,实现终端间的数据通道的保持,是目前亟待解决的技术问题。In this way, how to maintain the data channel between terminals in the scenario where data channel is introduced is a technical problem that needs to be solved urgently.
发明内容Contents of the invention
本申请实施例提供一种数据通道的保持方法、装置、通信设备及可读存储介质,能够使通信双方准确地对数据通道执行保持操作,从而提升用户体验。Embodiments of the present application provide a method, device, communication device, and readable storage medium for maintaining a data channel, which enable communicating parties to accurately perform maintenance operations on the data channel, thereby improving user experience.
第一方面,提供了一种数据通道的保持方法,该方法包括:在第一通信设备与第二通信设备间建立M个数据通道的情况下,第一通信设备确定所述M个数据通道中需要被保持的N个数据通道;第一通信设备发送保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。In a first aspect, a method for maintaining a data channel is provided. The method includes: when M data channels are established between a first communication device and a second communication device, the first communication device determines which of the M data channels N data channels need to be maintained; the first communication device sends a retention request; wherein the above-mentioned retention request is used to maintain N data channels; N is a positive integer, and M is greater than or equal to N.
第二方面,提供了一种数据通道的保持装置,该装置包括:确定模块和发送模块,其中:确定模块,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,确定M个数据通道中需要被保持的N个数据通道;发送模块,用于发送保持请求;其中,保持请求用于保持确定模块确定的N个数据通道;N为正整数,M大于或者等于N。In a second aspect, a device for maintaining data channels is provided. The device includes: a determining module and a sending module, wherein: the determining module is used to establish M data channels between the first communication device and the second communication device. , determine the N data channels that need to be maintained among the M data channels; the sending module is used to send a retention request; where the retention request is used to maintain the N data channels determined by the determination module; N is a positive integer, and M is greater than or equal to N.
第三方面,提供了一种数据通道的保持方法,该方法包括:在第一通信设备与第二通信设备间建立M个数据通道的情况下,第二通信设备接收保持请求;保持请求用于保持M个数据通道中需要被保持的N个数据通道;其中,N为正整数,M大于或者等于N。In a third aspect, a method for maintaining a data channel is provided. The method includes: when M data channels are established between a first communication device and a second communication device, the second communication device receives a retaining request; the retaining request is used to Maintain N data channels that need to be maintained among the M data channels; where N is a positive integer, and M is greater than or equal to N.
第四方面,提供了一种数据通道的保持装置,该装置包括:接收模块;接收模块,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,第二通信设备接收保持请求;保持请求用于保持M个数据通道中需要被保持的N个数据通道;其中,N为正整数,M大于或者等于N。In a fourth aspect, a device for maintaining a data channel is provided. The device includes: a receiving module; a receiving module for, when M data channels are established between the first communication device and the second communication device, the second communication device Receive a hold request; the hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
第五方面,提供了一种通信设备,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a fifth aspect, a communication device is provided. The terminal includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the following is implemented: The steps of the method described in the first aspect.
第六方面,提供了一种通信设备,包括处理器及通信接口,其中,所述处理器用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,确定M个数据通道中需要被保持的N个数据通道,所述通信接口用于发送保持请求,其中,保持请求用于保持N个数据通道,其中,N为正整数,M大于或者等于N。In a sixth aspect, a communication device is provided, including a processor and a communication interface, wherein the processor is configured to determine M data channels when M data channels are established between the first communication device and the second communication device. There are N data channels that need to be maintained, and the communication interface is used to send a retention request, where the retention request is used to maintain N data channels, where N is a positive integer, and M is greater than or equal to N.
第七方面,提供了一种通信设备,该通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤。In a seventh aspect, a communication device is provided. The communication device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The program or instructions are implemented when executed by the processor. The steps of the method as described in the third aspect.
第八方面,提供了一种通信设备,包括处理器及通信接口,其中,所述通信接口用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,接收保持请求,保持请求用于保持M个数据通道中需要被保持的N个数据通道;其中,N为正整数,M大于或者等于N。 In an eighth aspect, a communication device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a hold request when M data channels are established between the first communication device and the second communication device, The hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
第九方面,提供了一种通信系统,包括:第一通信设备及第二通信设备,所述第一通信设备可用于执行如第一方面所述的数据通道的保持方法的步骤,所述第二通信设备可用于执行如第三方面所述的数据通道的保持方法的步骤A ninth aspect provides a communication system, including: a first communication device and a second communication device. The first communication device can be used to perform the steps of the method for maintaining a data channel as described in the first aspect. The third communication device The second communication device may be used to perform the steps of the method for maintaining the data channel as described in the third aspect
第十方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤。In a tenth aspect, a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented as described in the first aspect. The steps of the method described in the third aspect.
第十一方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法,或实现如第三方面所述的方法。In an eleventh aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method described in the first aspect. method, or implement a method as described in the third aspect.
第十二方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的数据通道的保持方法的步骤,或者实现如第三方面所述的数据通道的保持方法的步骤。In a twelfth aspect, a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect The steps of the method for maintaining the data channel, or the steps of implementing the method for maintaining the data channel as described in the third aspect.
在本申请实施例中,在第一通信设备与第二通信设备间建立M个数据通道的情况下,第一通信设备确定所述M个数据通道中需要被保持的N个数据通道;第一通信设备发送保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,第一通信设备与第二通信设备在使用至少一个数据通道的情况下,第一通信设备能够判断哪些数据通道需要被保持,并且向第二通信设备发送保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In this embodiment of the present application, when M data channels are established between the first communication device and the second communication device, the first communication device determines the N data channels that need to be maintained among the M data channels; the first The communication device sends a hold request; wherein, the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N. Through this method, when the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained. data channel. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
附图说明Description of drawings
图1为本申请实施例提供的无线通信系统的框图;Figure 1 is a block diagram of a wireless communication system provided by an embodiment of the present application;
图2为本申请实施例提供的数据通道的保持方法的示意图之一;Figure 2 is a schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application;
图3为本申请实施例提供的数据通道的保持方法的示意图之二;Figure 3 is a second schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application;
图4为本申请实施例提供的数据通道的保持方法的示意图之三;Figure 4 is a third schematic diagram of the data channel maintenance method provided by the embodiment of the present application;
图5为本申请实施例提供的数据通道的保持方法的示意图之四;Figure 5 is a fourth schematic diagram of the data channel maintenance method provided by the embodiment of the present application;
图6为本申请实施例提供的数据通道的保持方法的示意图之五;Figure 6 is a fifth schematic diagram of a method for maintaining a data channel provided by an embodiment of the present application;
图7为本申请实施例提供的数据通道的保持方法的示意图之六;Figure 7 is a schematic diagram of the sixth schematic diagram of the data channel maintenance method provided by the embodiment of the present application;
图8为本申请实施例提供的数据通道的保持装置的结构示意图之一;Figure 8 is one of the structural schematic diagrams of the data channel holding device provided by the embodiment of the present application;
图9为本申请实施例提供的数据通道的保持装置的结构示意图之二;Figure 9 is the second structural schematic diagram of the data channel holding device provided by the embodiment of the present application;
图10为本申请实施例提供的通信设备的结构示意图;Figure 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图11为本申请实施例提供的终端的硬件结构示意图;Figure 11 is a schematic diagram of the hardware structure of the terminal provided by the embodiment of the present application;
图12为本申请实施例提供的网络侧设备的硬件结构示意图。Figure 12 is a schematic diagram of the hardware structure of a network-side device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and "second" are distinguished objects It is usually one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth pointing out that the technology described in the embodiments of this application is not limited to Long Term Evolution (Long Term Evolution, LTE)/LTE Evolution (LTE-Advanced, LTE-A) systems, and can also be used in other wireless communication systems, such as code Code Division Multiple Access (CDMA), Time Division Multiple Access (Time Division Multiple Access, TDMA), Frequency Division Multiple Access (Frequency Division Multiple Access, FDMA), Orthogonal Frequency Division Multiple Access (Orthogonal Frequency Division Multiple Access, OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and uses NR terminology in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th Generation , 6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设 备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(VUE)、行人终端(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。除了上述终端设备,本申请涉及的终端也可以是终端内的芯片,例如调制解调器(Modem)芯片,系统级芯片(System on Chip,SoC)。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes terminal 11 and network side equipment Prepare 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer. (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (AR)/virtual reality (VR) equipment, robots, wearable devices (Wearable Device) , vehicle-mounted equipment (VUE), pedestrian terminal (PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (PC), teller machines or self-service Terminal devices such as mobile phones, wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), Smart wristbands, smart clothing, etc. In addition to the above terminal equipment, the terminal involved in this application may also be a chip within the terminal, such as a modem chip or a system on chip (SoC). It should be noted that the embodiment of the present application does not limit the specific type of the terminal 11. The network side device 12 may include an access network device or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or Wireless access network unit. The access network device 12 may include a base station, a WLAN access point or a WiFi node, etc. The base station may be called a Node B, an evolved Node B (eNB), an access point, a Base Transceiver Station (BTS), a radio Base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B, Home Evolved Node B, Transmitting Receiving Point (TRP) or all Some other appropriate terminology in the above field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of this application, only the base station in the NR system is used as an example for introduction, and The specific type of base station is not limited. Core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of this application, only the core network equipment in the NR system is used as an example for introduction, and the specific type of the core network equipment is not limited.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的数据通道的保持方法进行详细地说明。The data channel maintenance method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.
1)数据通道1) Data channel
在相关技术中,在使用流媒体技术进行语音业务的传输时,在UE-A与UE-B的通话过程中,若UE-A需要接听来自UE-C的通话,则UE-A需要向UE-B发送呼叫保持请求(即re-INVITE请求),用于执行呼叫保持(call hold)。In related technologies, when streaming media technology is used to transmit voice services, during the call between UE-A and UE-B, if UE-A needs to answer the call from UE-C, UE-A needs to -B sends a call hold request (ie re-INVITE request) to perform call hold.
目前,随着技术发展,出现了一个新的概念——互联网协议多媒体子系统(internet protocol multimedia subsystem,IMS)数据通道(Data Channel,DC),其主要是在长期演进语音承载(voice over long term evolution,VoLTE)的语音业务(voice call)基础上叠加第五代通信技术数据通道(5G data channel),从而将基于IMS的实时音视频通信升级为实时交互,丰富了IMS的业务场景。在技术上,IMS数据通道可以看作是一种新增的媒体类型,可以采用流控制传输协议(Stream Control Transmission Protocol,SCTP)作为承载协议。At present, with the development of technology, a new concept has emerged - Internet protocol multimedia subsystem (IMS) data channel (Data Channel, DC), which is mainly used to carry voice over long term The fifth generation communication technology data channel (5G data channel) is superimposed on the voice service (voice call) of evolution (VoLTE), thereby upgrading the real-time audio and video communication based on IMS to real-time interaction, enriching the business scenarios of IMS. Technically, the IMS data channel can be regarded as a new media type, and the Stream Control Transmission Protocol (SCTP) can be used as the bearer protocol.
然而,如何在引入额外的业务传输的场景下,实现终端间的数据通道的保持(hold),是目前亟待解决的技术问题。However, how to maintain the data channel between terminals in a scenario where additional service transmission is introduced is a technical problem that needs to be solved urgently.
在本申请实施例提供的数据通道的保持方法中,第一通信设备与第二通信设备在使用至少一个数据通道的情况下,第一通信设备能够判断哪些数据通道需要被保持,并且向第二通信设备发送保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the data channel maintaining method provided by the embodiment of the present application, when the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and provide the data to the second communication device. The communication device sends a hold request to hold the data channel that needs to be held. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
2)呼叫保持2) Call on hold
需要说明的是,呼叫保持就是正在通话的移动用户,可以暂时中断原来的电话,而打出新的电话,同时与原来的电话保持联系;当需要恢复原来的通话时,则使新打出的电话处于保持状态,再继续与原来的通话方通话,还可以分别或同时结束与他们的通话。It should be noted that call hold means that the mobile user who is talking can temporarily interrupt the original call and make a new call while maintaining contact with the original call; when the original call needs to be resumed, the new call will be placed in the Put the call on hold and continue the call with the original caller, or end the call with them individually or simultaneously.
具体地,以语音业务的呼叫保持流程为例:Specifically, take the call hold process of voice service as an example:
语音业务的呼叫保持流程可以包括以下步骤11至步骤16: The call holding process for voice services may include the following steps 11 to 16:
步骤11:UE-A向UE-B发送re-INVITE请求。Step 11: UE-A sends a re-INVITE request to UE-B.
其中,该re-INVITE请求用于执行呼叫保持(call hold)。Among them, the re-INVITE request is used to perform call hold (call hold).
具体地,呼叫保持是通过修改每个媒体对应的会话描述协(SDP,session description protocol)的属性信息(attribute)实现的,具体是通过SDP的a行进行描述。Specifically, call holding is implemented by modifying the attribute information (attribute) of the session description protocol (SDP, session description protocol) corresponding to each media, which is specifically described through the a line of the SDP.
示例地,如果媒体流为一个可接收可发送的媒体流,通过将媒体流的SDP的a行设置为只发送(sendonly),将该媒体流保持住,对应的协议描述为:"a=sendonly",if the stream was previously a sendrecv media stream;如果媒体流为一个只接收的媒体流,通过将媒体流的SDP的a行设置为不活跃(inactive),将该媒体流保持住,对应的协议描述为:"a=inactive",if the stream was previously a recvonly media stream。For example, if the media stream is a media stream that can be received and sent, the media stream is maintained by setting line a of the SDP of the media stream to sendonly. The corresponding protocol is described as: "a=sendonly" ", if the stream was previously a sendrecv media stream; if the media stream is a receive-only media stream, the media stream is maintained by setting line a of the SDP of the media stream to inactive, and the corresponding protocol Described as: "a=inactive", if the stream was previously a recvonly media stream.
示例地,针对视频媒体,在进行呼叫保持时,re-INVITE的SDP信息具体如下:For example, for video media, when holding a call, the SDP information of re-INVITE is as follows:
Content-Type:application/sdpContent-Type:application/sdp
m=video 3400 RTP/AVPF 98 99m=video 3400 RTP/AVPF 98 99
b=AS:75b=AS:75
a=curr:qos local sendrecva=curr:qos local sendrecv
a=curr:qos remote sendrecva=curr:qos remote sendrecv
a=des:qos mandatory local sendrecva=des:qos mandatory local sendrecv
a=des:qos optional remote sendrecva=des:qos optional remote sendrecv
a=sendonlya=sendonly
中文对照如下:Chinese comparison is as follows:
内容类型:应用程序/sdpContent type: application/sdp
m=视频3400 RTP/AVPF 98 99m=Video 3400 RTP/AVPF 98 99
需要说明的是,该m行代表视频媒体(视频媒体编解码方式)It should be noted that the m line represents video media (video media codec method)
b=AS:75b=AS:75
a=curr:qos本地发送接收a=curr:qos local sending and receiving
a=curr:qos远程发送接收a=curr:qos remote sending and receiving
a=des:qos强制本地sendrecva=des:qos forces local sendrecv
a=des:qos可选远程sendrecva=des:qos optional remote sendrecv
a=只发送a=send only
需要说明的是,通过将a行设置为只发送将视频媒体保持住To be clear, the video media is kept alive by setting line a to send only
示例地,针对语音媒体,在进行呼叫保持时,re-INVITE的SDP信息具体如下:For example, for voice media, when holding a call, the SDP information of re-INVITE is as follows:
a=rtpmap:98 H263a=rtpmap:98 H263
a=fmtp:98 profile-level-id=0a=fmtp:98 profile-level-id=0
a=rtpmap:99:MPVMP4V-ESa=rtpmap:99:MPVMP4V-ES
m=audio 3456 RTP/AVPF 97 96m=audio 3456 RTP/AVPF 97 96
b=AS:25.4b=AS:25.4
a=curr:qos local sendrecva=curr:qos local sendrecv
a=curr:qos remote sendrecva=curr:qos remote sendrecv
a=des:qos mandatory local sendrecva=des:qos mandatory local sendrecv
a=des:qos optional remote sendonlya=des:qos optional remote sendonly
a=sendonlya=sendonly
a=rtpmap:97 AMRa=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7;maxframes=2a=fmtp:97 mode-set=0,2,5,7;maxframes=2
a=rtpmap:96 telephone-eventa=rtpmap:96 telephone-event
中文对照如下:Chinese comparison is as follows:
a=rtpmap:98 H263a=rtpmap:98 H263
a=fmtp:98 profile-level-id=0a=fmtp:98 profile-level-id=0
a=rtpmap:99:MPVMP4V-ESa=rtpmap:99:MPVMP4V-ES
m=音频3456 RTP/AVPF 97 96m=Audio 3456 RTP/AVPF 97 96
b=AS:25.4b=AS:25.4
a=curr:qos本地发送接收a=curr:qos local sending and receiving
a=curr:qos远程发送接收a=curr:qos remote sending and receiving
a=des:qos强制本地sendrecva=des:qos forces local sendrecv
a=des:qos可选远程sendonlya=des:qos optional remote sendonly
a=只发送a=send only
a=rtpmap:97 AMR a=rtpmap:97 AMR
a=fmtp:97模式设置=0,2,5,7;最大帧数=2a=fmtp:97 mode setting=0,2,5,7; maximum number of frames=2
a=rtpmap:96电话事件a=rtpmap:96 phone event
需要说明的是,现有语音和视频媒体都是一个m行代表一种媒体,可以通过一个a行表示是否执行针对该媒体的呼叫保持业务,并且,对于用户来说,当需要和第三方进行通话时,必然需要把和第二方间的语音和视频媒体执行呼叫保持。It should be noted that for existing voice and video media, an m line represents a media, and an a line can be used to indicate whether to perform a call hold service for the media. Moreover, for users, when they need to communicate with a third party During a call, it is necessary to put the voice and video media on hold with the second party.
步骤12:代理呼叫会话控制功能(Proxy-Call Session Control Function,P-CSCF)将该请求发送给服务呼叫会话控制功能(Serving-Call Session Control Function,S-CSCF)。Step 12: The Proxy-Call Session Control Function (P-CSCF) sends the request to the Serving-Call Session Control Function (S-CSCF).
步骤13:S-CSCF将请求发送给为UE-B提供服务的P-CSCF。Step 13: The S-CSCF sends the request to the P-CSCF that provides services for UE-B.
步骤14:P-CSCS将该请求发送给UE-B。Step 14: P-CSCS sends the request to UE-B.
步骤15:UE-B回复200OK,在200OK的SDP中携带只接受(recvonly)指示。Step 15: UE-B replies with 200OK, carrying a recvonly indication in the SDP of 200OK.
需要说明是,recvonly指示UE-B只接收媒体流而不发送媒体流。It should be noted that recvonly instructs UE-B to only receive media streams without sending media streams.
需要说明的是,若UE-A在SDP中携带inactive指示,则UE-B也回复inactive指示。It should be noted that if UE-A carries an inactive indication in SDP, UE-B also replies with an inactive indication.
步骤16:UE-A向UE-B发送确认反馈ACK。Step 16: UE-A sends a confirmation feedback ACK to UE-B.
通过上述步骤,可以实现UE-A的呼叫保持,以使得UE-A可以暂时中断原来的语音业务,而进行新的语音业务。Through the above steps, the call hold of UE-A can be realized, so that UE-A can temporarily interrupt the original voice service and perform a new voice service.
图2为本申请实施例提供的一种数据通道的保持方法的流程示意图。如图2所示,本申请实施例提供的信息搜索方法可以包括以下步骤301和步骤302:FIG. 2 is a schematic flowchart of a method for maintaining a data channel provided by an embodiment of the present application. As shown in Figure 2, the information search method provided by the embodiment of the present application may include the following steps 301 and 302:
步骤301:在第一通信设备与第二通信设备间建立M个数据通道的情况下,第一通信设备确定M个数据通道中需要被保持的N个数据通道。Step 301: When M data channels are established between the first communication device and the second communication device, the first communication device determines N data channels that need to be maintained among the M data channels.
其中,N为正整数,M大于或者等于N。Among them, N is a positive integer, and M is greater than or equal to N.
可选地,在本申请实施例中,上述第一通信设备可以为用户设备(User Equipment,UE)或者网络设备。Optionally, in this embodiment of the present application, the first communication device may be a user equipment (User Equipment, UE) or a network device.
可选地,在本申请实施例中,上述第二通信设备可以为用户设备(User Equipment,UE)或者网络设备。Optionally, in this embodiment of the present application, the second communication device may be a user equipment (User Equipment, UE) or a network device.
可选地,上述网络设备可以为基站或核心网设备。Optionally, the above network device may be a base station or core network device.
示例性地,第一通信设备和第二通信设备可以均为UE;或者,第一通信设备可以为UE,第二通信设备可以为网络设备。For example, the first communication device and the second communication device may both be UEs; or the first communication device may be a UE and the second communication device may be a network device.
可选地,在本申请实施例中,上述数据通道可以为IMS中的数据通道,即,IMS数据通道。可选地,上述数据通道可以为application DC,即,应用的数据通道。可选地,上述数据通道可用于传送图片、视频、菜单、表情、位置、增强现实技术(Augmented Reality,AR)/虚拟现实技术(Virtual Reality,VR)等任意的多媒体信息。Optionally, in this embodiment of the present application, the above-mentioned data channel may be a data channel in IMS, that is, an IMS data channel. Optionally, the above data channel can be application DC, that is, the data channel of the application. Optionally, the above data channel can be used to transmit any multimedia information such as pictures, videos, menus, expressions, locations, augmented reality (Augmented Reality, AR)/virtual reality (Virtual Reality, VR) technology.
需要说明的是,3GPP标准引入了在通话过程中建立DC(Data Channel,数据通道)的机制,通过DC可以在通话过程中进行额外的业务,例如进行屏幕共享,语音实时翻译,位置共享,文件传输,从而给用户带来更好的体验。在通过数据通道传输不同的业务时,不同的业务通常对应不同的DC应用(application),该DC应用可以在通话过程中动态下载到终端,而不需要终端提前安装。为了便于描述,下文将DC application简称为APP。It should be noted that the 3GPP standard has introduced a mechanism to establish a DC (Data Channel) during a call. Through the DC, additional services can be performed during the call, such as screen sharing, real-time voice translation, location sharing, and file sharing. transmission, thereby giving users a better experience. When transmitting different services through data channels, different services usually correspond to different DC applications. The DC application can be dynamically downloaded to the terminal during the call without requiring the terminal to be installed in advance. For ease of description, DC application is referred to as APP below.
可选地,在本申请实施例中,上述需要保持的N个数据通道可以为已建立的M个数据通道中的一个或者多个。Optionally, in this embodiment of the present application, the N data channels that need to be maintained may be one or more of the M data channels that have been established.
可选地,在本申请实施例中,上述N个数据通道为预配置的,或者为协议约定的。Optionally, in this embodiment of the present application, the above N data channels are preconfigured or agreed upon by the protocol.
可选地,在本申请实施例中,第一通信设备根据使用数据通道的app确定可以被执行保持操作的数据通道;或者,第一通信设备可以在与第二通信设备建立数据通道时,与对端协商该数据通道是否可以被保持,只有可被保持的数据才能够执行保持操作。Optionally, in this embodiment of the present application, the first communication device determines the data channel on which the hold operation can be performed based on the app that uses the data channel; or, when establishing a data channel with the second communication device, the first communication device can communicate with the second communication device. The peer negotiates whether the data channel can be maintained, and only data that can be maintained can perform the retention operation.
示例性地,以第一通信设备和第二通信设备均为UE为例。假设UE-A和UE-B之间建立了引导程序数据通道、APP-1(如,位置共享)的数据通道、APP-2(如,文件传输)的数据通道、APP-3(如,屏幕共享)的数据通道以及APP-4(如,语音翻译)的数据通道,则UE-A可以将上述已建立的多个数据通道中,引导程序的数据通道、APP-3的数据通道和APP-4的数据通道确定为需要保持的数据通道。For example, take the first communication device and the second communication device as both UEs. Assume that a bootloader data channel, a data channel for APP-1 (eg, location sharing), a data channel for APP-2 (eg, file transfer), and APP-3 (eg, screen) are established between UE-A and UE-B. shared) data channel and the data channel of APP-4 (such as voice translation), then UE-A can use the above-mentioned multiple established data channels, the data channel of the boot program, the data channel of APP-3 and the APP- The data channel of 4 is determined as the data channel that needs to be maintained.
可选地,在本申请实施例中,第一通信设备可以在与第二通信设备进行语音业务传输、且与第二通信设备通过M个数据通道传输数据业务的情况下,若第一通信设备需要与第三通信设备进行语音业务,则第一通信设备确定与第二通信设备间的M个数据通道中需要被保持的N个数据通道。Optionally, in this embodiment of the present application, when the first communication device transmits voice services with the second communication device and transmits data services with the second communication device through M data channels, if the first communication device If voice service needs to be performed with the third communication device, the first communication device determines N data channels that need to be maintained among the M data channels with the second communication device.
可选地,上述第三通信设备可以为UE或者网络设备。Optionally, the above-mentioned third communication device may be a UE or a network device.
示例性地,在第一通信设备与第二通信设备的通话过程中,若第一通信设备需要与第三通信设备进行通话,则第一语音设备可以执行呼叫保持,并且确定与第二通信设备之间需要被保持的一个或者多个 数据通道,以实现在呼叫保持的情况下,对数据通道进行保持,从而使得第一通信设备能够与第三通信设备进行通话,或者使用数据通道与第三通信设备进行数据业务的传输。For example, during the call between the first communication device and the second communication device, if the first communication device needs to talk to the third communication device, the first voice device can perform call hold and determine whether to communicate with the second communication device. one or more that need to be maintained between The data channel is used to maintain the data channel when the call is held, so that the first communication device can talk to the third communication device, or use the data channel to transmit data services with the third communication device.
步骤302:第一通信设备发送保持请求。Step 302: The first communication device sends a hold request.
其中,上述保持请求用于保持N个数据通道。Among them, the above-mentioned holding request is used to hold N data channels.
可选地,在本申请实施例中,上述保持请求可以为re-INVITE,或者为INVITE。Optionally, in this embodiment of the present application, the above-mentioned hold request may be re-INVITE or INVITE.
可选地,在本申请实施例中,上述保持请求还用于进行呼叫保持。Optionally, in this embodiment of the present application, the above-mentioned hold request is also used to hold the call.
可选地,在第一通信设备与第二通信设备进行通话、且使用M个数据通道传输数据业务的情况下,第一通信设备若需要与第三通信设备进行通话,则第一通信设备发送呼叫请求,该呼叫请求用于呼叫保持以及数据通道的保持。Optionally, when the first communication device communicates with the second communication device and uses M data channels to transmit data services, if the first communication device needs to communicate with the third communication device, the first communication device sends Call request, which is used for call hold and data channel hold.
可选地,在本申请实施例中,上述保持请求中携带第一SDP信息。Optionally, in this embodiment of the present application, the above-mentioned hold request carries the first SDP information.
其中,上述第一SDP信息包含N个数据通道的指示信息;Wherein, the above-mentioned first SDP information includes indication information of N data channels;
上述指示信息用于指示保持N个数据通道。The above instruction information is used to indicate maintaining N data channels.
为了便于理解,该指示信息也可以称为保持指示信息。For ease of understanding, this instruction information may also be called retention instruction information.
进一步可选地,在本申请实施例中,上述第一SDP信息包括N个数据通道的描述信息;Further optionally, in this embodiment of the present application, the above-mentioned first SDP information includes description information of N data channels;
其中,上述描述信息包括指示信息。Wherein, the above description information includes instruction information.
可选地,数据通道的描述信息可以包括数据通道的编码格式、传输特性(如,低丢包率、低延迟等)等信息。Optionally, the description information of the data channel may include information such as the encoding format and transmission characteristics (such as low packet loss rate, low delay, etc.) of the data channel.
需要说明的是,数据通道的描述信息可以包括SDP中的a描述行,简称为a行。It should be noted that the description information of the data channel may include the a description line in the SDP, referred to as the a line for short.
可选地,上述N个数据通道对应一个指示信息;Optionally, the above N data channels correspond to one indication information;
其中,该一个指示信息用于指示保持N个数据通道。The one indication information is used to indicate maintaining N data channels.
示例性地,该指示信息可以为用于指示保持APP-1的数据通道、APP-2的数据通道以及APP-3的数据通道的指示信息。For example, the indication information may be indication information for instructing to maintain the data channel of APP-1, the data channel of APP-2, and the data channel of APP-3.
如此,通过一个指示信息来指示保持多个数据通道,使得N个数据通道可以共用一个指示信息。In this way, one indication information is used to indicate maintaining multiple data channels, so that N data channels can share one indication information.
可选地,上述N个数据通道对应N个指示信息;上述N个数据通道中的每个数据通道对应的指示信息用于指示保持对应的数据通道。Optionally, the above-mentioned N data channels correspond to N pieces of indication information; the indication information corresponding to each of the above-mentioned N data channels is used to indicate maintaining the corresponding data channel.
示例性地,上述N个指示信息可以包括用于指示保持APP-1的数据通道的一个指示信息1和用于指示保持APP-2的数据通道的另一个指示信息。For example, the N pieces of indication information may include one indication information 1 for instructing to maintain the data channel of APP-1 and another indication information for instructing to maintain the data channel of APP-2.
示例性地,上述第一SDP信息包含N个数据通道中每个数据通道的描述信息;上述每个数据通道的描述信息中包含一个保持指示信息(inactive);上述保持指示信息用于指示保持N个数据通道。Exemplarily, the above-mentioned first SDP information includes the description information of each of the N data channels; the above-mentioned description information of each data channel includes a hold indication information (inactive); the above-mentioned hold indication information is used to instruct to keep N data channel.
可选地,在上述保持请求用于请求呼叫保持时,该第一SDP信息包含视频媒体和语音媒体的描述信息,该描述信息中包含指示保持语音媒体和视频媒体的指示信息(sendonly)。Optionally, when the above hold request is used to request call hold, the first SDP information includes description information of video media and voice media, and the description information includes instruction information (sendonly) indicating to hold voice media and video media.
需要说明的是,SDP是一种会话描述格式,SDP为会话通知、会话邀请和其它形式的多媒体会话初始化等目的提供了多媒体会话描述。SDP包括媒体描述和数据通道描述,即数据通道的描述信息。It should be noted that SDP is a session description format. SDP provides multimedia session descriptions for purposes such as session notifications, session invitations, and other forms of multimedia session initialization. SDP includes media description and data channel description, that is, the description information of the data channel.
可选地,一个数据通道可以对应一个保持指示信息。示例性地,对于需要被保持的数据通道,第一通信设备在该数据通道的描述信息中增加该保持指示信息,对于不需要被保持的数据通道,第一通信设备不对该数据通道的描述信息进行修改。例如,假设APP-1的数据通道需要保持,则在该APP-1的数据通道的a描述行下增加“a=inactive”的描述。Optionally, one data channel can correspond to one hold indication information. For example, for a data channel that needs to be maintained, the first communication device adds the retention indication information to the description information of the data channel. For a data channel that does not need to be maintained, the first communication device does not add the description information of the data channel. to modify. For example, assuming that the data channel of APP-1 needs to be maintained, add the description "a=inactive" under the a description line of the data channel of APP-1.
如此,通过每个数据通道对应的指示信息来指示保持每个数据通道,从而能够灵活可控地指示保持任一数据通道。In this way, the instruction information corresponding to each data channel is used to instruct the maintenance of each data channel, so that the maintenance of any data channel can be flexibly and controllably instructed.
在一些可能的实现方式中,第一通信设备在与第二通信设备通话过程中使用至少一个数据通道的情况下,第一通信设备向第二通信设备发送呼叫保持请求时,第一通信设备判断哪些数据通道需要同时被保持,对于需要同时被呼叫保持的数据通道,第一通信设备在该数据通道对应的a行下添加保持指示信息。In some possible implementations, when the first communication device uses at least one data channel during a call with the second communication device, when the first communication device sends a call hold request to the second communication device, the first communication device determines Which data channels need to be held at the same time. For the data channels that need to be held at the same time by the call, the first communication device adds hold indication information under the a line corresponding to the data channel.
示例性地,在第一通信设备需要进行呼叫保持时,上述re-INVITE的第一SDP信息如下:For example, when the first communication device needs to hold a call, the first SDP information of the above re-INVITE is as follows:
Content-Type:application/sdpContent-Type:application/sdp
m=video 3400 RTP/AVPF 98 99m=video 3400 RTP/AVPF 98 99
示例地,该m行代表视频媒体For example, the m row represents video media
b=AS:75b=AS:75
a=curr:qos local sendrecva=curr:qos local sendrecv
a=curr:qos remote sendrecva=curr:qos remote sendrecv
a=des:qos mandatory local sendrecva=des:qos mandatory local sendrecv
a=des:qos optional remote sendrecva=des:qos optional remote sendrecv
a=sendonly a=sendonly
示例地,通过将a行设置为sendonly将视频媒体保持住For example, keep the video media alive by setting line a to sendonly
a=rtpmap:98 H263a=rtpmap:98 H263
a=fmtp:98 profile-level-id=0a=fmtp:98 profile-level-id=0
a=rtpmap:99:MPVMP4V-ESa=rtpmap:99:MPVMP4V-ES
m=audio 3456 RTP/AVPF 97 96m=audio 3456 RTP/AVPF 97 96
示例地,该m行代表语音媒体For example, the m line represents the voice media
b=AS:25.4b=AS:25.4
a=curr:qos local sendrecva=curr:qos local sendrecv
a=curr:qos remote sendrecva=curr:qos remote sendrecv
a=des:qos mandatory local sendrecva=des:qos mandatory local sendrecv
a=des:qos optional remote sendonlya=des:qos optional remote sendonly
a=sendonlya=sendonly
示例地,通过将a行设置为sendonly将语音媒体保持住For example, voice media is kept alive by setting line a to sendonly
中文对照为:The Chinese comparison is:
内容类型:应用程序/sdpContent type: application/sdp
m=视频3400 RTP/AVPF 98 99m=Video 3400 RTP/AVPF 98 99
b=AS:75b=AS:75
a=curr:qos本地发送接收a=curr:qos local sending and receiving
a=curr:qos远程发送接收a=curr:qos remote sending and receiving
a=des:qos强制本地sendrecva=des:qos forces local sendrecv
a=des:qos可选远程sendrecva=des:qos optional remote sendrecv
a=只发送a=send only
a=rtpmap:98 H263a=rtpmap:98 H263
a=fmtp:98 profile-level-id=0a=fmtp:98 profile-level-id=0
a=rtpmap:99:MPVMP4V-ESa=rtpmap:99:MPVMP4V-ES
m=音频3456 RTP/AVPF 97 96m=Audio 3456 RTP/AVPF 97 96
b=AS:25.4b=AS:25.4
a=curr:qos本地发送接收a=curr:qos local sending and receiving
a=curr:qos远程发送接收a=curr:qos remote sending and receiving
a=des:qos强制本地sendrecva=des:qos forces local sendrecv
a=des:qos可选远程sendonlya=des:qos optional remote sendonly
a=只发送a=send only
示例性地,在第一通信设备需要进行数据通道的保持时,上述re-INVITE的第一SDP信息如下:For example, when the first communication device needs to maintain the data channel, the first SDP information of the above re-INVITE is as follows:
a=rtpmap:97 AMRa=rtpmap:97 AMR
a=fmtp:97 mode-set=0,2,5,7;maxframes=2a=fmtp:97 mode-set=0,2,5,7;maxframes=2
a=rtpmap:96 telephone-eventa=rtpmap:96 telephone-event
m=application 52718 UDP/DTLS/SCTP webrtc-datachannelm=application 52718 UDP/DTLS/SCTP webrtc-datachannel
示例地,该m行代表数据通道For example, the m row represents the data channel
b=AS:500b=AS:500
a=max-message-size:1024a=max-message-size:1024
a=sctp-port:5000a=sctp-port:5000
a=setup:passivea=setup:passive
a=fingerprint:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:ABa=fingerprint:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB
a=tls-id:abc3de65cddef001be82a=tls-id:abc3de65cddef001be82
a=dcmap:10 subprotocol="http"a=dcmap:10 subprotocol="http"
示例地,该a行代表bootstrap数据通道,用于下载appFor example, the a line represents the bootstrap data channel, which is used to download the app
a=inactivea=inactive
a=dcmap:38754 max-time=150;label="low latency"a=dcmap:38754 max-time=150; label="low latency"
示例地,该a行代表app-1的数据通道,例如位置共享For example, the a row represents the data channel of app-1, such as location sharing
a=dcmap:7216 max-retr=5;label="low loss"a=dcmap:7216 max-retr=5;label="low loss"
示例地,该a行代表app-2的数据通道,例如文件传输For example, the a line represents the data channel of app-2, such as file transfer
a=3gpp-qos-hint:loss=0.01;latency=100a=3gpp-qos-hint:loss=0.01;latency=100
a=dcmap:38758 max-time=100;label="low latency"a=dcmap:38758 max-time=100; label="low latency"
示例地,该a行代表app-3的数据通道,例如屏幕共享For example, the a row represents the data channel of app-3, such as screen sharing
a=inactivea=inactive
a=dcmap:26354 max-time=200;label="low loss" a=dcmap:26354 max-time=200; label="low loss"
示例地,该a行代表app-4的数据通道,例如语音翻译For example, the a line represents the data channel of app-4, such as voice translation
a=inactivea=inactive
中文对照为:The Chinese comparison is:
a=rtpmap:97 AMRa=rtpmap:97 AMR
a=fmtp:97模式设置=0,2,5,7;最大帧数=2a=fmtp:97 mode setting=0,2,5,7; maximum number of frames=2
a=rtpmap:96电话事件a=rtpmap:96 phone event
m=application 52718 UDP/DTLS/SCTP webrtc-datachannel该m代表行数据通道m=application 52718 UDP/DTLS/SCTP webrtc-datachannel The m represents the row data channel
b=AS:500b=AS:500
a=最大消息大小:1024a = Maximum message size: 1024
a=sctp端口:5000a=sctp port: 5000
a=设置:被动a=setting:passive
a=指纹:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:ABa=Fingerprint: SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB
a=tls-id:abc3de65cddef001be82a=tls-id:abc3de65cddef001be82
a=dcmap:10子协议="http"a=dcmap:10subprotocol="http"
a=不活动a = inactive
a=dcmap:38754 max-time=150;label="低延迟"a=dcmap:38754 max-time=150; label="low latency"
a=dcmap:7216 max-retr=5;label="低损耗"a=dcmap:7216 max-retr=5; label="Low loss"
a=3gpp-qos-提示:损失=0.01;延迟=100a=3gpp-qos-hint: loss=0.01; delay=100
a=dcmap:38758 max-time=100;label="低延迟"a=dcmap:38758 max-time=100; label="low latency"
a=不活动a = inactive
a=dcmap:26354 max-time=200;label="low loss"a=dcmap:26354 max-time=200; label="low loss"
a=不活动a = inactive
可选地,在本申请实施例中,保持数据通道可以为保持数据通道处于连接状态。Optionally, in this embodiment of the present application, keeping the data channel may be keeping the data channel in a connected state.
示例性地,结合上述示例,在UE-A和UE-B之间已建立多个数据通道的情况下,假设APP-2的数据通道和APP-3的数据通道为UE-A和UE-B协商需要保持的数据通道,则UE-A需要进行数据通道的保持时,发送保持请求,以保持APP-2的数据通道和APP-3的数据通道处于连接状态。Illustratively, combined with the above example, when multiple data channels have been established between UE-A and UE-B, assume that the data channel of APP-2 and the data channel of APP-3 are UE-A and UE-B. After negotiating the data channel that needs to be maintained, when UE-A needs to maintain the data channel, it sends a hold request to keep the data channel of APP-2 and the data channel of APP-3 in a connected state.
在本申请实施例提供的数据通道的保持方法中,在第一通信设备与第二通信设备间建立M个数据通道的情况下,第一通信设备确定所述M个数据通道中需要被保持的N个数据通道;第一通信设备发送保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,第一通信设备与第二通信设备在使用至少一个数据通道的情况下,第一通信设备能够判断哪些数据通道需要被保持,并且向第二通信设备发送保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the data channel maintaining method provided by the embodiment of the present application, when M data channels are established between the first communication device and the second communication device, the first communication device determines which of the M data channels need to be maintained. N data channels; the first communication device sends a hold request; wherein the above-mentioned hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N. Through this method, when the first communication device and the second communication device use at least one data channel, the first communication device can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained. data channel. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
可选地,在本申请实施例中,上述保持N个数据通道可以包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels may include any of the following:
第一通信设备中断N个数据通道的数据业务的传输;The first communication device interrupts the transmission of data services of the N data channels;
第一通信设备保持N个数据通道的数据业务的传输。The first communication device maintains transmission of data services of N data channels.
在一种示例中,保持数据通道可以为保持数据通道处于连接状态,且停止数据通道中的业务数据的传输。In one example, keeping the data channel may be keeping the data channel in a connected state and stopping the transmission of service data in the data channel.
示例性地,在第一通信设备和第二通信设备使用M个数据通道传输业务数据时,保持其中的N个数据通道处于连接状态,而停止该N个数据通道中的数据业务的传输,以使得该N个数据通道中的数据业务在需要时暂时中断,并在需要恢复传输时能够继续通过该N个数据通道进行传输。For example, when the first communication device and the second communication device use M data channels to transmit service data, keep N data channels among them in a connected state, and stop the transmission of data services in the N data channels, so as to This allows the data services in the N data channels to be temporarily interrupted when necessary, and can continue to be transmitted through the N data channels when transmission needs to be resumed.
举例说明,假设UE-A当前使用APP-1(如,位置共享)的数据通道与UE-B进行位置共享、使用APP-2(如,文件传输)的数据通道与UE-B进行文件传输,以及使用APP-3(如,屏幕共享)的数据通道与UE-B进行屏幕共享,其中,需要被保持的数据通道为APP-3的数据通道,则UE-A发送re-INVITE请求保持APP-3(如,屏幕共享)的数据通道,以暂时中断与UE-B之间的屏幕共享。For example, assume that UE-A currently uses the data channel of APP-1 (for example, location sharing) to share location with UE-B, and uses the data channel of APP-2 (for example, file transfer) to perform file transmission with UE-B. And use the data channel of APP-3 (such as screen sharing) to perform screen sharing with UE-B. Among them, the data channel that needs to be maintained is the data channel of APP-3, then UE-A sends a re-INVITE request to maintain APP-B. 3 (e.g., screen sharing) data channel to temporarily interrupt screen sharing with UE-B.
再例如,假设UE-A与UE-B当前在进行通话,以及使用APP-1(如,位置共享)的数据通道与UE-B进行位置共享、使用APP-2(如,文件传输)的数据通道与UE-B进行文件传输,以及使用APP-3(如,屏幕共享)的数据通道与UE-B进行屏幕共享,其中,需要被保持的数据通道为APP-3的数据通道,则UE-A可以在需要与UE-C进行通话的情况下,发送re-INVITE请求呼叫保持,以及保持APP-3(如,屏幕共享)的数据通道,即暂时中断与UE-B之间的屏幕共享。For another example, assume that UE-A and UE-B are currently talking, and use the data channel of APP-1 (for example, location sharing) to share location with UE-B, and use the data of APP-2 (for example, file transfer). The channel performs file transfer with UE-B, and uses the data channel of APP-3 (such as screen sharing) to perform screen sharing with UE-B. Among them, the data channel that needs to be maintained is the data channel of APP-3, then UE- When A needs to talk to UE-C, it can send a re-INVITE to request call hold and maintain the data channel of APP-3 (such as screen sharing), that is, temporarily interrupt the screen sharing with UE-B.
如此,对于需要保持的数据通道可以暂时中断使用该数据通道进行数据业务传输,而对于不需要保持的数据通道,可以继续其数据业务的传输,使得需要中断的数据业务暂时中断,而使需要继续传输的数据业务保持传输,从而能够避免用户需求继续进行的数据业务的中断。 In this way, the data channel that needs to be maintained can be temporarily interrupted for data service transmission, and the data channel that does not need to be maintained can continue to transmit the data service, so that the data service that needs to be interrupted is temporarily interrupted, and the data service that needs to be continued can be continued. The transmitted data service remains transmitted, thereby avoiding interruption of the data service that the user needs to continue.
在另一种示例中,保持数据通道可以为保持数据通道处于连接状态,且保持数据通道中的业务数据的传输。In another example, maintaining the data channel may be maintaining the data channel in a connected state and maintaining transmission of service data in the data channel.
示例性地,在第一通信设备和第二通信设备使用M个数据通道传输业务数据时,保持其中的N个数据通道处于连接状态,且保持该N个数据通道中的数据业务的传输,以使得该N个数据通道中的数据业务能够持续传输。For example, when the first communication device and the second communication device use M data channels to transmit service data, keep N data channels among them in a connected state, and maintain the transmission of data services in the N data channels, so as to This enables the data services in the N data channels to be continuously transmitted.
需要说明的是,在该实例中,对于不需要保持的数据通道,可以暂时中断其数据业务的传输。It should be noted that in this example, for data channels that do not need to be maintained, the transmission of data services can be temporarily interrupted.
举例说明,结合上述示例,假设UE-A当前使用APP-1(如,位置共享)的数据通道与UE-B进行位置共享、使用APP-2(如,文件传输)的数据通道与UE-B进行文件传输,以及使用APP-3(如,屏幕共享)的数据通道与UE-B进行屏幕共享,其中,需要被保持的数据通道为APP-2的数据通道,则UE-A发送re-INVITE请求保持APP-2的数据通道,以保持UE-A和UE-B之间的文件传输。For example, combined with the above example, assume that UE-A currently uses the data channel of APP-1 (for example, location sharing) to share location with UE-B, and uses the data channel of APP-2 (for example, file transfer) to communicate with UE-B. Perform file transfer, and use the data channel of APP-3 (such as screen sharing) to perform screen sharing with UE-B. Among them, the data channel that needs to be maintained is the data channel of APP-2, then UE-A sends re-INVITE Request to maintain the data channel of APP-2 to maintain file transfer between UE-A and UE-B.
如此,对于需要保持的数据通道可以继续使用该数据通道进行数据业务传输,从而能够避免用户需求继续进行的数据业务的中断。In this way, the data channel that needs to be maintained can continue to be used for data service transmission, thereby avoiding interruption of the data service that the user needs to continue.
可选地,在本申请实施例中,上述步骤301中第一通信设备确定M个数据通道中需要被保持的N个数据通道,可以包括以下步骤301a:Optionally, in this embodiment of the present application, in the above-mentioned step 301, the first communication device determines the N data channels that need to be maintained among the M data channels, which may include the following step 301a:
步骤301a:第一通信设备基于M个数据通道对应的保持策略,从M个数据通道中确定需要被保持的N个数据通道。Step 301a: The first communication device determines N data channels that need to be maintained from the M data channels based on the retention policies corresponding to the M data channels.
其中,上述M个数据通道中的任一数据通道对应的保持策略为以下任一项:Among them, the retention strategy corresponding to any one of the above M data channels is any of the following:
任一数据通道对应的应用的保持策略;The retention strategy of the application corresponding to any data channel;
第一通信设备与第二通信设备为上述任一数据通道预先协商的保持策略;The first communication device and the second communication device pre-negotiate the maintenance strategy for any of the above-mentioned data channels;
协议约定的。stipulated in the agreement.
可选地,任一数据通道对应的应用的保持策略可以是预配置的。Optionally, the retention policy of the application corresponding to any data channel can be pre-configured.
可选地,不同的应用可以对应不同的保持策略。Optionally, different applications can correspond to different retention strategies.
示例性地,文件传输的保持策略可以为不能保持,即不保持文件传输的数据通道;位置共享的保持策略可以为不能保持,即不保持位置共享的数据通道;屏幕共享的保持策略可以为可以保持或必须保持,即保持屏幕共享的数据通道;语音翻译的保持策略可以为可以保持或者必须保持,即保持文件传输的数据通道;引导程序(bootstrap)的保持策略可以为必须保持,即保持引导程序的数据通道。For example, the retention policy for file transfer can be Cannot be maintained, that is, the data channel for file transmission is not maintained; the retention policy for location sharing can be Cannot be maintained, that is, the data channel for location sharing is not maintained; the retention policy for screen sharing can be Can Maintain or must maintain, that is, maintain the data channel of screen sharing; the retention policy of voice translation can be can maintain or must maintain, that is, maintain the data channel of file transfer; the retention policy of bootstrap can be must maintain, that is, maintain booting The program's data channel.
可选地,上述应用的保持策略与应用和语音业务的相关性相关。可选地,上述应用的保持策略可以基于应用与语音业务的相关性确定。Optionally, the above application retention policy is related to the correlation between the application and the voice service. Optionally, the retention policy of the above application may be determined based on the correlation between the application and the voice service.
示例性地,可以将与语音业务相关性较强的应用(如,语音翻译)的保持策略确定为必须保持,将与语音业务相关性较弱的应用(如,文件传输)的保持策略确定为不能保持。如此,在第一通信设备执行呼叫保持的情况下,可以将与语音业务强相关的数据业务的数据通道确定为需要保持的数据通道,使得该数据业务与语音业务一同保持(即暂时中断传输),而对其他数据通道不执行保持操作,使得其他数据业务可以继续传输,从而在节省通信资源的同时,避免由于数据业务传输中断导致用户体验较差。For example, the retention policy of applications with strong correlation with voice services (such as voice translation) can be determined as must be maintained, and the retention policy of applications with weak correlation with voice services (such as file transfer) can be determined as cannot be maintained. In this way, when the first communication device performs call hold, the data channel of the data service that is strongly related to the voice service can be determined as the data channel that needs to be maintained, so that the data service and the voice service are maintained together (that is, the transmission is temporarily interrupted) , and no hold operation is performed on other data channels, so that other data services can continue to be transmitted, thereby saving communication resources and avoiding poor user experience due to interruption of data service transmission.
示例性地,第一通信设备可以根据上述应用的保持策略,确定需要保持的一个或者多个数据通道。For example, the first communication device may determine one or more data channels that need to be maintained according to the above applied retention policy.
举例说明,以第一通信设备和第二通信设备均为UE为例。假设UE-A和UE-B之间建立了引导程序数据通道、APP-1(如,位置共享)的数据通道、APP-2(如,文件传输)的数据通道、APP-3(如,屏幕共享)的数据通道以及APP-4(如,语音翻译)的数据通道,则UE-A根据上述示例中应用的保持策略,将上述已建立的多个数据通道中,引导程序的数据通道、APP-3的数据通道和APP-4的数据通道确定为需要保持的数据通道。For example, take the first communication device and the second communication device as both UEs. Assume that a bootloader data channel, a data channel for APP-1 (eg, location sharing), a data channel for APP-2 (eg, file transfer), and APP-3 (eg, screen) are established between UE-A and UE-B. shared) data channel and the data channel of APP-4 (such as voice translation), then UE-A will use the above-mentioned multiple established data channels according to the retention policy applied in the above example, the data channel of the boot program, APP The data channel of -3 and the data channel of APP-4 are determined as the data channels that need to be maintained.
示例性地,第一通信设备可以根据与第二通信设备针对已建立的数据通道协商的保持策略,确定需要保持的一个或者多个数据通道。For example, the first communication device may determine one or more data channels that need to be maintained according to the maintenance policy negotiated with the second communication device for the established data channels.
举例说明,假设UE-A和UE-B之间建立了引导程序数据通道、APP-1(如,位置共享)的数据通道、APP-2(如,文件传输)的数据通道、APP-3(如,屏幕共享)的数据通道以及APP-4(如,语音翻译)的数据通道,其中,APP-2的数据通道和APP-3的数据通道为UE-A和UE-B协商可以保持的数据通道,则UE-A将APP-2的数据通道和APP-3的数据通道确定为需要被保持的数据通道。For example, assume that a bootstrap data channel, a data channel of APP-1 (such as location sharing), a data channel of APP-2 (such as file transfer), and a data channel of APP-3 (such as file transfer) are established between UE-A and UE-B. For example, the data channel of screen sharing) and the data channel of APP-4 (such as voice translation). Among them, the data channel of APP-2 and the data channel of APP-3 are the data that UE-A and UE-B can maintain through negotiation. channel, UE-A determines the data channel of APP-2 and the data channel of APP-3 as the data channels that need to be maintained.
如此,在第一通信设备与第二通信设备之间建立多个数据通道的情况下,第一通信设备可以基于每个数据通道对应的保持策略,确定多个数据通道中需要保持的一个或者数据通道,从而能够对针对性地执行数据通道的保持。In this way, when multiple data channels are established between the first communication device and the second communication device, the first communication device can determine one of the multiple data channels or data that needs to be retained based on the retention policy corresponding to each data channel. channel, so that data channel maintenance can be performed in a targeted manner.
可选地,在本申请实施例中,本申请实施例提供的数据通道的保持方法还包括以下步骤A1:Optionally, in the embodiment of the present application, the method for maintaining the data channel provided by the embodiment of the present application further includes the following step A1:
步骤A1:在建立第一通信设备和第二通信设备间的M个数据通道的过程中,第一通信设备通过M个数据通道对应的SDP信息,与第二通信设备协商M个数据通道对应的保持策略。Step A1: In the process of establishing M data channels between the first communication device and the second communication device, the first communication device negotiates with the second communication device through the SDP information corresponding to the M data channels. Stay strategic.
可选地,上述M个数据通道对应的SDP信息可以为包括M个数据通道的属性信息的SDP信息。 Optionally, the SDP information corresponding to the M data channels may be SDP information including attribute information of the M data channels.
可选地,上述M个数据通道对应的保持策略可以为M个数据通道中每个数据通道对应的保持策略。可选地,针对一个数据通道,上述保持策略可以为保持该数据通道或者不保持该数据通道。Optionally, the above retention strategies corresponding to the M data channels may be retention strategies corresponding to each of the M data channels. Optionally, for a data channel, the above-mentioned retention policy may be to maintain the data channel or not to maintain the data channel.
可选地,在本申请实施例中,上述M个数据通道包括第一数据通道;上述步骤A1可以包括以下步骤B1和步骤B2:Optionally, in this embodiment of the present application, the above-mentioned M data channels include the first data channel; the above-mentioned step A1 may include the following steps B1 and step B2:
步骤B1:第一通信设备发送第二SDP信息。Step B1: The first communication device sends the second SDP information.
步骤B2:第一通信设备接收第二通信设备发送的第三SDP信息。Step B2: The first communication device receives the third SDP information sent by the second communication device.
其中,上述第二SDP信息中包含第一指示信息,上述第一指示信息用于指示第一数据通道对应的第一保持策略;Wherein, the above-mentioned second SDP information includes first indication information, and the above-mentioned first indication information is used to indicate the first retention strategy corresponding to the first data channel;
上述第三SDP信息中包含第二指示信息,上述第二指示信息用于指示第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
可选地,上述第一数据通道可以为上述M个数据通道中的任意一个。Optionally, the first data channel may be any one of the M data channels.
示例性地,在建立M个数据通道的过程中,第一通信设备发送第二SDP信息,该第二SDP信息中包含每个数据通道的描述信息,每个数据通道的描述信息中包含第一指示信息,该第一指示信息用于指示该第一指示信息对应的数据通道的保持策略,即,是否保持该第一指示信息对应的数据通道。Exemplarily, in the process of establishing M data channels, the first communication device sends second SDP information, the second SDP information includes description information of each data channel, and the description information of each data channel includes the first Indication information, the first indication information is used to indicate the retention strategy of the data channel corresponding to the first indication information, that is, whether to maintain the data channel corresponding to the first indication information.
示例性地,上述第二SDP信息如下:For example, the above second SDP information is as follows:
m=application 52718 UDP/DTLS/SCTP webrtc-datachannelm=application 52718 UDP/DTLS/SCTP webrtc-datachannel
示例地,该m行代表数据通道For example, the m row represents the data channel
b=AS:500b=AS:500
a=max-message-size:1024a=max-message-size:1024
a=sctp-port:5000a=sctp-port:5000
a=setup:passivea=setup:passive
a=fingerprint:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:ABa=fingerprint:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB
a=tls-id:abc3de65cddef001be82a=tls-id:abc3de65cddef001be82
a=dcmap:10 subprotocol="http"a=dcmap:10 subprotocol="http"
示例地,该a行代表bootstrap数据通道,用于下载appFor example, the a line represents the bootstrap data channel, which is used to download the app
a=dcmap:38754 max-time=150;label="low latency"a=dcmap:38754 max-time=150; label="low latency"
示例地,该a行代表app-1的数据通道,例如位置共享For example, the a row represents the data channel of app-1, such as location sharing
a=canhold:truea=canhold:true
示例地,在app-1的数据通道的描述信息(属性信息)中新增“canhold:true”,表示该application DC可以被保持(hold)。For example, "canhold: true" is added to the description information (attribute information) of the data channel of app-1, indicating that the application DC can be held.
示例性地,若不需要保持该app-1的数据通道,则可以在app-1的数据通道的描述信息(即属性信息)中新增“canhold:false”,表示该application DC可以不能被保持(hold)。For example, if the data channel of app-1 does not need to be maintained, "canhold:false" can be added to the description information (i.e., attribute information) of the data channel of app-1 to indicate that the application DC cannot be maintained. (hold).
中文对照为:The Chinese comparison is:
m=应用程序52718 UDP/DTLS/SCTP webrtc-datachannelm=Application 52718 UDP/DTLS/SCTP webrtc-datachannel
b=AS:500b=AS:500
a=最大消息大小:1024a = Maximum message size: 1024
a=sctp端口:5000a=sctp port: 5000
a=设置:被动a=setting:passive
a=指纹:SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:ABa=Fingerprint: SHA-1 4A:AD:B9:B1:3F:82:18:3B:54:02:12:DF:3E:5D:49:6B:19:E5:7C:AB
a=tls-id:abc3de65cddef001be82a=tls-id:abc3de65cddef001be82
a=dcmap:10子协议="http"a=dcmap:10subprotocol="http"
a=dcmap:38754 max-time=150;label="低延迟"a=dcmap:38754 max-time=150; label="low latency"
a=canhold:真a=canhold: true
a=canhold:假a=canhold:false
可选地,第二通信设备接收第一设备发送的第二SDP信息后,发送第三SDP信息。Optionally, after receiving the second SDP information sent by the first device, the second communication device sends the third SDP information.
可选地,上述第三SDP信息中包含每个数据通道的描述信息,每个数据通道的描述信息中包含第二指示信息,该第二指示信息用于指示该第二指示信息对应的数据通道的保持策略,即是否可以保持该第二指示信息对应的数据通道。Optionally, the above-mentioned third SDP information includes description information of each data channel, and the description information of each data channel includes second indication information. The second indication information is used to indicate the data channel corresponding to the second indication information. The retention strategy, that is, whether the data channel corresponding to the second indication information can be maintained.
可选地,第一通信设备和第二通信设备基于双方的SDP信息协商针对数据通道的保持策略,并得到协商结果。Optionally, the first communication device and the second communication device negotiate the maintenance policy for the data channel based on the SDP information of both parties, and obtain the negotiation result.
可选地,在本申请实施例中,结合上述步骤B1和步骤B2,上述步骤A1可以包括以下步骤C1或步骤C2:Optionally, in this embodiment of the present application, in combination with the above step B1 and step B2, the above step A1 may include the following step C1 or step C2:
步骤C1:在第一保持策略与所述第二保持策略一致的情况下,将第一保持策略确定为第一数据通 道的保持策略。Step C1: When the first retention policy is consistent with the second retention policy, determine the first retention policy as the first data channel. Tao maintenance strategy.
步骤C2:在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为第一数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为第一数据通道的保持策略。Step C2: When the first retention policy and the second retention policy are inconsistent, determine the default retention policy as the retention policy of the first data channel, or determine the retention policy indicated by the second indication information as the retention policy of the first data channel. Stay strategic.
示例性地,在通信双方的指示信息指示的保持策略一致的情况下,将该保持策略确定为数据通道的保持策略。For example, when the retention strategies indicated by the instruction information of both communicating parties are consistent, the retention strategy is determined as the retention strategy of the data channel.
举例说明,以UE-A(即第一通信设备)与UE-B(即第二通信设备)协商APP-1的数据通道的保持策略为例。UE-A发送SDP信息,该SDP信息携带需要保持该APP-1的数据通道的指示信息,UE-B在接收到该SDP信息后发送SDP信息,该UE-B发送的SDP信息携带可以保持该APP-1的数据通道的指示信息,则UE-A和UE-B针对APP-1的数据通道的保持策略的协商结果为可以保持该APP-1的数据通道。进一步地,UE-A在后续进行数据通道的保持操作的情况下,可以将该APP-1的数据通道确定为需要保持的数据通道。For example, take UE-A (ie, the first communication device) and UE-B (ie, the second communication device) to negotiate the maintenance policy of the data channel of APP-1. UE-A sends SDP information. The SDP information carries indication information that needs to maintain the data channel of APP-1. UE-B sends SDP information after receiving the SDP information. The SDP information sent by UE-B carries the instruction information that can maintain the data channel. Instruction information of the data channel of APP-1, then the negotiation result between UE-A and UE-B for the retention policy of the data channel of APP-1 is that the data channel of APP-1 can be maintained. Further, when UE-A subsequently performs a data channel maintenance operation, it may determine the data channel of APP-1 as a data channel that needs to be maintained.
示例性地,在通信双方的指示信息指示的保持策略不一致的情况下,将默认保持策略确定为针对该数据通道双方协商得到的保持策略,或者,将第二通信设备的指示信息指示的保持策略确定为针对该数据通道双方协商得到的保持策略。For example, when the retention strategies indicated by the instruction information of the two communicating parties are inconsistent, the default retention strategy is determined to be the retention strategy negotiated by both parties for the data channel, or the retention strategy indicated by the instruction information of the second communication device is determined. It is determined as the retention policy negotiated by both parties for this data channel.
举例说明,以UE-A与UE-B协商APP-1的数据通道的保持策略为例。UE-A发送SDP信息,该SDP信息携带需要保持该APP-1的数据通道的指示信息,UE-B在接收到该SDP信息后发送SDP信息,该UE-B发送的SDP信息携带不能保持该APP-1的数据通道的指示信息,则UE-A和UE-B针对APP-1的数据通道的保持策略的协商结果为不能保持该APP-1的数据通道。As an example, take UE-A and UE-B negotiating the maintenance policy of the data channel of APP-1. UE-A sends SDP information. The SDP information carries indication information that the data channel of APP-1 needs to be maintained. UE-B sends SDP information after receiving the SDP information. The SDP information sent by UE-B carries the instruction information that cannot be maintained. Instruction information of the data channel of APP-1, the result of the negotiation between UE-A and UE-B regarding the retention policy of the data channel of APP-1 is that the data channel of APP-1 cannot be maintained.
可选地,第一通信设备根据与第二通信设备针对M个数据通道的保持策略的协商结果,确定M个数据通道中需要保持的N个数据通道。Optionally, the first communication device determines N data channels among the M data channels that need to be maintained based on a negotiation result with the second communication device regarding the maintenance policies of the M data channels.
示例性地,结合上述示例,在UE-A和UE-B之间建立多个数据通道,且数据通道中包括APP-1的数据通道的情况下,假设针对APP-1的数据通道的保持策略的协商结果为可以保持该APP-1的数据通道,则UE-A将APP-1的数据通道确定为需要保持的数据通道。Illustratively, in conjunction with the above example, when multiple data channels are established between UE-A and UE-B, and the data channels include the data channel of APP-1, assume that the retention policy for the data channel of APP-1 is The negotiation result is that the data channel of APP-1 can be maintained, then UE-A determines the data channel of APP-1 as the data channel that needs to be maintained.
如此,第一通信设备可以在与第二通信设备建立数据通道的过程中,与第二通信设备协商该数据通道是否可以被保持,只有可被保持的数据才能够执行保持操作,从而使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性。In this way, the first communication device can negotiate with the second communication device whether the data channel can be maintained during the process of establishing a data channel with the second communication device. Only data that can be retained can perform the retention operation, so that both communicating parties can It can accurately perform hold operations on the data channels that need to be maintained, thereby ensuring the consistency of data services transmitted by both communicating parties through the data channels.
本申请实施例提供一种数据通道的保持方法,如图3所示,本申请实施例提供的数据通道的保持方法包括如下步骤401:An embodiment of the present application provides a method for maintaining a data channel. As shown in Figure 3, the method of maintaining a data channel provided by an embodiment of the present application includes the following steps 401:
步骤401:在第一通信设备与第二通信设备间建立M个数据通道的情况下,第二通信设备接收保持请求。Step 401: When M data channels are established between the first communication device and the second communication device, the second communication device receives the hold request.
其中,上述保持请求用于保持M个数据通道中需要被保持的N个数据通道。Wherein, the above-mentioned holding request is used to hold N data channels that need to be held among the M data channels.
可选地,在本申请实施例中,上述保持请求中携带第一SDP信息;Optionally, in this embodiment of the present application, the above-mentioned hold request carries the first SDP information;
其中,上述第一SDP信息包含N个数据通道的指示信息;Wherein, the above-mentioned first SDP information includes indication information of N data channels;
上述指示信息用于指示保持N个数据通道。The above instruction information is used to indicate maintaining N data channels.
需要说明的是,上述步骤的描述可以参照上文中的图2对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiment of FIG. 2 above, and will not be described again here.
在本申请实施例提供的数据通道的保持方法中,在第一通信设备与第二通信设备间建立M个数据通道的情况下,第二通信设备接收保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,第一通信设备与第二通信设备在使用至少一个数据通道的情况下,第二通信设备能够根据第一通信设备发送的保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the data channel maintenance method provided by the embodiment of the present application, when M data channels are established between the first communication device and the second communication device, the second communication device receives the maintenance request; wherein, the above maintenance request is used to maintain N data channels; N is a positive integer, M is greater than or equal to N. Through this method, when the first communication device and the second communication device use at least one data channel, the second communication device can maintain the data channel that needs to be maintained according to the hold request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
可选地,在本申请实施例中,上述步骤401之后,本申请实施例提供的数据通道的保持方法还包括以下步骤402:Optionally, in this embodiment of the present application, after the above step 401, the data channel maintaining method provided by the embodiment of the present application further includes the following step 402:
步骤402:第二通信设备根据保持请求,停止使用N个数据通道向第一通信设备发送数据。Step 402: The second communication device stops using N data channels to send data to the first communication device according to the hold request.
示例性地,以N个数据通道包括APP-1的数据通道和APP-2的数据通道为例。UE-B在接收第一通信设备发送的保持请求之后,可以停止使用APP-1的数据通道和APP-2的数据通道向UE-A发送数据。For example, take the N data channels including the data channel of APP-1 and the data channel of APP-2 as an example. After receiving the hold request sent by the first communication device, UE-B may stop using the data channel of APP-1 and the data channel of APP-2 to send data to UE-A.
如此,第二通信设备可以根据保持请求,停止使用需要保持的数据通道来发送数据,从而保证通信双方通过数据通道传输数据的一致性。In this way, the second communication device can stop using the data channel that needs to be maintained to send data according to the hold request, thereby ensuring the consistency of data transmission by both communicating parties through the data channel.
可选地,在本申请实施例中,保持N个数据通道包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels includes any of the following:
第二通信设备中断N个数据通道的数据业务的传输;The second communication device interrupts the transmission of data services of the N data channels;
第二通信设备保持N个数据通道的数据业务的传输。 The second communication device maintains transmission of data services of N data channels.
需要说明的是,上述步骤的描述可以参照上文中对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiments above, and will not be described again here.
可选地,在本申请实施例中,本申请实施例提供的数据通道的保持方法还包括以下步骤402:Optionally, in the embodiment of the present application, the data channel maintaining method provided by the embodiment of the present application further includes the following step 402:
步骤402:在建立第一通信设备和所述第二通信设备间的M个数据通道的过程中,第二通信设备通过M个数据通道对应的SDP信息,与第一通信设备协商M个数据通道对应的保持策略。Step 402: In the process of establishing M data channels between the first communication device and the second communication device, the second communication device negotiates the M data channels with the first communication device through the SDP information corresponding to the M data channels. Corresponding retention strategy.
需要说明的是,上述步骤的描述可以参照上文中对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiments above, and will not be described again here.
可选地,在本申请实施例中,上述M个数据通道包括第一数据通道;Optionally, in this embodiment of the present application, the above-mentioned M data channels include the first data channel;
上述步骤402可以包括以下步骤402a和步骤402b:The above step 402 may include the following steps 402a and 402b:
步骤402a:第二通信设备接收第一通信设备发送的第二SDP信息。Step 402a: The second communication device receives the second SDP information sent by the first communication device.
步骤402b:第二通信设备发送第三SDP信息。Step 402b: The second communication device sends the third SDP information.
其中,上述第二SDP信息中包含第一指示信息,上述第一指示信息用于指示第一数据通道对应的第一保持策略。The second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel.
上述第三SDP信息中包含第二指示信息,上述第二指示信息用于指示第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
需要说明的是,上述步骤的描述可以参照上文中对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiments above, and will not be described again here.
可选地,在本申请实施例中,结合上述步骤402a和步骤402b,上述步骤402还可以包括以下步骤402c或步骤402d:Optionally, in this embodiment of the present application, in combination with the above steps 402a and 402b, the above step 402 may also include the following step 402c or step 402d:
步骤402c:在第一保持策略与所述第二保持策略一致的情况下,将第一保持策略确定为第一数据通道的保持策略。Step 402c: If the first retention policy is consistent with the second retention policy, determine the first retention policy as the retention policy of the first data channel.
步骤402d:在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为第一数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为第一数据通道的保持策略。Step 402d: If the first retention policy is inconsistent with the second retention policy, determine the default retention policy as the retention policy of the first data channel, or determine the retention policy indicated by the second indication information as the retention policy of the first data channel. Stay strategic.
需要说明的是,上述步骤的描述可以参照上文中对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiments above, and will not be described again here.
本申请实施例提供一种数据通道的保持方法,如图4所示,本申请实施例提供的数据通道的保持方法包括如下步骤501至步骤503:An embodiment of the present application provides a method for maintaining a data channel. As shown in Figure 4, the method of maintaining a data channel provided by an embodiment of the present application includes the following steps 501 to 503:
步骤501:在第一通信设备与第二通信设备间建立M个数据通道的情况下,第一通信设备确定M个数据通道中需要被保持的N个数据通道。Step 501: When M data channels are established between the first communication device and the second communication device, the first communication device determines N data channels that need to be maintained among the M data channels.
步骤502:第一通信设备向第二通信设备发送保持请求。Step 502: The first communication device sends a hold request to the second communication device.
步骤503:第二通信设备接收保持请求。Step 503: The second communication device receives the hold request.
需要说明的是,上述步骤的描述可以参照上文中的图3和图4对应实施例中的相关描述,此处不再赘述。It should be noted that the description of the above steps may refer to the relevant descriptions in the corresponding embodiments of FIG. 3 and FIG. 4 above, and will not be described again here.
可选地,在本申请实施例中,如图5所示,上述步骤502可以包括如下步骤502a1至步骤502a4:Optionally, in this embodiment of the present application, as shown in Figure 5, the above step 502 may include the following steps 502a1 to 502a4:
步骤502a1:第一通信设备向第一代理呼叫会话控制功能P-CSCF发送保持请求。Step 502a1: The first communication device sends a hold request to the first proxy call session control function P-CSCF.
示例性地,上述第一P-CSCF可以为为第一通信设备提供服务的P-CSCF。For example, the above-mentioned first P-CSCF may be a P-CSCF that provides services for the first communication device.
示例性地,上述保持请求可以为re-INVITE请求。For example, the above-mentioned hold request may be a re-INVITE request.
示例性地,上述re-INVITE请求中携带sendonly指示,该sendonly指示用于指示第一通信设备只发送媒体流而不接收媒体流。For example, the above re-INVITE request carries a sendonly indication, and the sendonly indication is used to instruct the first communication device to only send the media stream but not receive the media stream.
步骤502a2:第一P-CSCF向服务呼叫会话控制功能S-CSCF发送该保持请求。Step 502a2: The first P-CSCF sends the hold request to the serving call session control function S-CSCF.
步骤502a3:服务呼叫会话控制功能向第二代理呼叫会话控制功能P-CSCF发送该保持请求。Step 502a3: The serving call session control function sends the hold request to the second proxy call session control function P-CSCF.
示例性地,上述第二代理呼叫会话控制功能P-CSCF可以是为第二通信设备提供服务的P-CSCF。For example, the above-mentioned second proxy call session control function P-CSCF may be a P-CSCF that provides services for the second communication device.
步骤502a4:第二P-CSCF向第二通信设备发送保持请求。Step 502a4: The second P-CSCF sends a hold request to the second communication device.
进一步地,结合上述步骤502a1至步骤502a4,上述步骤503可以包括如下步骤303a:Further, in combination with the above steps 502a1 to 502a4, the above step 503 may include the following step 303a:
步骤503a:第二通信设备接收第二P-CSCF发送的保持请求。Step 503a: The second communication device receives the hold request sent by the second P-CSCF.
可选地,在本申请实施例中,结合图4,如图6所示,在上述步骤503后,本申请实施例提供的数据通道的保持方法还包括以下步骤504至步骤507:Optionally, in this embodiment of the present application, in conjunction with Figure 4, as shown in Figure 6, after the above step 503, the data channel maintaining method provided by the embodiment of the present application further includes the following steps 504 to 507:
步骤504:第二通信设备向第一通信设备发送保持响应。Step 504: The second communication device sends a hold response to the first communication device.
示例性地,上述保持响应可以为200OK。For example, the above-mentioned hold response may be 200 OK.
示例性地,200OK中携带recvonly指示,该recvonly指示用于指示第二通信设备只接收媒体流而不发送媒体流。For example, the 200 OK carries a recvonly indication, and the recvonly indication is used to instruct the second communication device to only receive the media stream without sending the media stream.
步骤505:第一通信设备接收保持响应。Step 505: The first communication device receives the hold response.
步骤506:第一通信设备发送确认消息。Step 506: The first communication device sends a confirmation message.
示例性地,上述确认消息可以为确认应答ACK。For example, the above-mentioned confirmation message may be an acknowledgment response ACK.
步骤507:第二通信设备接收确认消息。Step 507: The second communication device receives the confirmation message.
可选地,在本申请实施例中,结合上述图5和图6,如图7所示,上述步骤504可以包括如下步骤 504a1至步骤504a4:Optionally, in this embodiment of the present application, combined with the above-mentioned Figure 5 and Figure 6, as shown in Figure 7, the above-mentioned step 504 may include the following steps: 504a1 to step 504a4:
步骤504a1:第二通信设备向第二P-CSCF发送保持响应。Step 504a1: The second communication device sends a hold response to the second P-CSCF.
步骤504a2:第二P-CSCF向S-CSCF发送保持响应。Step 504a2: The second P-CSCF sends a hold response to the S-CSCF.
步骤504a3:S-CSCF向第一P-CSCF发送保持响应。Step 504a3: The S-CSCF sends a hold response to the first P-CSCF.
步骤504a4:第一P-CSCF向第一通信设备发送保持响应。Step 504a4: The first P-CSCF sends a hold response to the first communication device.
进一步地,结合上述步骤504a1至步骤504a4,上述步骤505可以包括以下步骤505a:Further, in combination with the above steps 504a1 to 504a4, the above step 505 may include the following step 505a:
步骤505a:第一通信设备接收第一P-CSCF发送的保持响应。Step 505a: The first communication device receives the hold response sent by the first P-CSCF.
可选地,在本申请实施例中,上述步骤506可以包括以下步骤506a1至步骤506a4:Optionally, in this embodiment of the present application, the above step 506 may include the following steps 506a1 to 506a4:
步骤506a1:第一通信设备向第一P-CSCF发送确认消息。Step 506a1: The first communication device sends a confirmation message to the first P-CSCF.
步骤506a2:第一P-CSCF向S-CSCF发送该确认消息。Step 506a2: The first P-CSCF sends the confirmation message to the S-CSCF.
步骤506a3:S-CSCF向第二P-CSCF发送确认消息。Step 506a3: The S-CSCF sends a confirmation message to the second P-CSCF.
步骤506a4:第二P-CSCF向第二通信设备发送确认消息。Step 506a4: The second P-CSCF sends a confirmation message to the second communication device.
进一步地,结合上述步骤506a1至步骤506a4,上述步骤507可以包括以下步骤507a:Further, in combination with the above steps 506a1 to 506a4, the above step 507 may include the following step 507a:
步骤507a:第二通信设备接收第二P-CSCF发送的确认消息。Step 507a: The second communication device receives the confirmation message sent by the second P-CSCF.
需要说明的是,上述信令交互可以是基于实时传输协议RTP进行的。It should be noted that the above signaling interaction may be performed based on the real-time transmission protocol RTP.
在本申请实施例提供的数据通道的保持方法中,UE-A在与UE-B通话过程中使用至少一个数据通道的情况下,UE-A向UE-B发送保持请求时,UE-A判断哪些数据通道需要被保持,只有可被保持的数据才能够执行保持操作。如此,可以让通信双方准确地对数据通道执行保持操作,从而提升用户体验。In the data channel maintenance method provided by the embodiment of the present application, when UE-A uses at least one data channel during the call with UE-B, when UE-A sends a maintenance request to UE-B, UE-A determines Which data channels need to be maintained, and only data that can be retained can perform retention operations. In this way, both communicating parties can accurately perform hold operations on the data channel, thereby improving user experience.
本申请实施例提供的数据通道的保持方法,执行主体可以为数据通道的保持装置。本申请实施例中以数据通道的保持执行数据通道的保持方法为例,说明本申请实施例提供的数据通道的保持装置。In the data channel maintaining method provided by the embodiment of the present application, the execution subject may be a data channel maintaining device. In the embodiment of the present application, the data channel retention method is used as an example to illustrate the data channel retention device provided by the embodiment of the present application.
如图8所示,本申请实施例提供一种数据通道的保持装置600,该装置600包括:确定模块601和发送模块602,其中:确定模块601,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,确定M个数据通道中需要被保持的N个数据通道;As shown in Figure 8, the embodiment of the present application provides a data channel holding device 600. The device 600 includes: a determining module 601 and a sending module 602, wherein: the determining module 601 is used to communicate between the first communication device and the second communication device. When M data channels are established between devices, determine the N data channels that need to be maintained among the M data channels;
发送模块602,用于发送保持请求;Sending module 602, used to send a hold request;
其中,保持请求用于保持确定模块确定的N个数据通道;Among them, the hold request is used to hold the N data channels determined by the determination module;
N为正整数,M大于或者等于N。N is a positive integer, and M is greater than or equal to N.
可选地,在本申请实施例中,保持请求中携带第一会话描述协议SDP信息;Optionally, in this embodiment of the present application, the hold request carries the first Session Description Protocol SDP information;
其中,第一SDP信息包含N个数据通道的指示信息;Wherein, the first SDP information includes indication information of N data channels;
指示信息用于指示保持N个数据通道。The instruction information is used to instruct to maintain N data channels.
可选地,在本申请实施例中,第一SDP信息包括N个数据通道的描述信息;Optionally, in this embodiment of the present application, the first SDP information includes description information of N data channels;
其中,描述信息包括指示信息。The description information includes instruction information.
可选地,在本申请实施例中,N个数据通道对应N个指示信息;N个数据通道中的每个数据通道对应的指示信息用于指示保持对应的数据通道。Optionally, in this embodiment of the present application, N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
可选地,在本申请实施例中,N个数据通道对应一个指示信息;Optionally, in this embodiment of the present application, N data channels correspond to one indication information;
其中,一个指示信息用于指示保持N个数据通道。Among them, one indication information is used to indicate maintaining N data channels.
可选地,在本申请实施例中,保持N个数据通道包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels includes any of the following:
第一通信设备中断N个数据通道的数据业务的传输;The first communication device interrupts the transmission of data services of the N data channels;
第一通信设备保持N个数据通道的数据业务的传输。The first communication device maintains transmission of data services of N data channels.
可选地,在本申请实施例中,Optionally, in the embodiment of this application,
确定模块,具体用于基于M个数据通道对应的保持策略,从M个数据通道中确定需要被保持的N个数据通道;The determination module is specifically used to determine the N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
其中,M个数据通道中的任一数据通道对应的保持策略为以下任一项:Among them, the retention strategy corresponding to any one of the M data channels is any of the following:
任一数据通道对应的应用的保持策略;The retention strategy of the application corresponding to any data channel;
第一通信设备与第二通信设备为任一数据通道预先协商的保持策略;The first communication device and the second communication device pre-negotiate the maintenance strategy for any data channel;
协议约定的。stipulated in the agreement.
可选地,在本申请实施例中,确定模块,还用于在建立第一通信设备和第二通信设备间的M个数据通道的过程中,通过M个数据通道对应的SDP信息,与第二通信设备协商M个数据通道对应的保持策略。Optionally, in the embodiment of the present application, the determining module is also configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to match the The two communication devices negotiate the retention policies corresponding to the M data channels.
可选地,在本申请实施例中,M个数据通道包括第一数据通道;装置还包括:接收模块;Optionally, in this embodiment of the present application, the M data channels include the first data channel; the device further includes: a receiving module;
发送模块,还用于第一通信设备发送第二SDP信息;The sending module is also used by the first communication device to send the second SDP information;
接收模块,用于接收第二通信设备发送的第三SDP信息;A receiving module, configured to receive the third SDP information sent by the second communication device;
第二SDP信息中包含第一指示信息,第一指示信息用于指示第一数据通道对应的第一保持策略; The second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
第三SDP信息中包含第二指示信息,第二指示信息用于指示第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
可选地,在本申请实施例中,Optionally, in the embodiment of this application,
确定模块,具体用于在第一保持策略与第二保持策略一致的情况下,将第一保持策略确定为第一数据通道的保持策略;或,A determination module, specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
确定模块,具体用于在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为M个数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为M个数据通道的保持策略。The determination module is specifically configured to determine the default retention strategy as the retention strategy for M data channels when the first retention strategy is inconsistent with the second retention strategy, or determine the retention strategy indicated by the second indication information as M data channels. Data channel retention policy.
在本申请实施例提供的数据通道的保持装置中,在第一通信设备与第二通信设备间建立M个数据通道的情况下,数据通道的保持装置确定所述M个数据通道中需要被保持的N个数据通道;第一通信设备发送保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,第一通信设备与第二通信设备在使用至少一个数据通道的情况下,数据通道的保持装置能够判断哪些数据通道需要被保持,并且向第二通信设备发送保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the data channel holding device provided by the embodiment of the present application, when M data channels are established between the first communication device and the second communication device, the data channel holding device determines that one of the M data channels needs to be maintained. N data channels; the first communication device sends a hold request; wherein the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N. Through this method, when the first communication device and the second communication device use at least one data channel, the data channel holding device can determine which data channels need to be maintained, and send a holding request to the second communication device to maintain the data channels that need to be maintained. data channel. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
如图9所示,本申请实施例提供一种数据通道的保持装置700,该装置700包括:接收模块701,其中:接收模块701,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,接收保持请求;保持请求用于保持M个数据通道中需要被保持的N个数据通道;其中,N为正整数,M大于或者等于N。As shown in Figure 9, the embodiment of the present application provides a data channel holding device 700. The device 700 includes: a receiving module 701, wherein: the receiving module 701 is used to establish M between a first communication device and a second communication device. In the case of data channels, a hold request is received; the hold request is used to hold N data channels that need to be held among the M data channels; where N is a positive integer, and M is greater than or equal to N.
可选地,在本申请实施例中,上述装置还包括:执行模块;Optionally, in this embodiment of the present application, the above device further includes: an execution module;
上述执行模块,用于根据保持请求,停止使用N个数据通道向第一通信设备发送数据。The above execution module is configured to stop using the N data channels to send data to the first communication device according to the hold request.
可选地,在本申请实施例中,上述保持请求中携带第一会话描述协议SDP信息;Optionally, in this embodiment of the present application, the above-mentioned hold request carries the first Session Description Protocol SDP information;
其中,第一SDP信息包含N个数据通道的指示信息;Wherein, the first SDP information includes indication information of N data channels;
上述指示信息用于指示保持N个数据通道。The above instruction information is used to indicate maintaining N data channels.
可选地,在本申请实施例中,保持N个数据通道包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels includes any of the following:
第二通信设备中断N个数据通道的数据业务的传输;The second communication device interrupts the transmission of data services of the N data channels;
第二通信设备保持N个数据通道的数据业务的传输。The second communication device maintains transmission of data services of N data channels.
可选地,在本申请实施例中,装置还包括:确定模块;Optionally, in the embodiment of the present application, the device further includes: a determining module;
确定模块,用于在建立第一通信设备和第二通信设备间的M个数据通道的过程中,通过M个数据通道对应的SDP信息,与第一通信设备协商M个数据通道对应的保持策略。A determination module configured to negotiate with the first communication device the retention strategies corresponding to the M data channels through the SDP information corresponding to the M data channels during the process of establishing the M data channels between the first communication device and the second communication device. .
可选地,在本申请实施例中,M个数据通道包括第一数据通道;装置还包括:发送模块;Optionally, in this embodiment of the present application, the M data channels include the first data channel; the device further includes: a sending module;
接收模块,还用于接收第一通信设备发送的第二SDP信息;The receiving module is also used to receive the second SDP information sent by the first communication device;
发送模块,用于发送第三SDP信息;The sending module is used to send the third SDP information;
其中,第二SDP信息中包含第一指示信息,第一指示信息用于指示第一数据通道对应的第一保持策略;Wherein, the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
第三SDP信息中包含第二指示信息,第二指示信息用于指示第一数据通道对应的第二保持策略The third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
可选地,在本申请实施例中,所述确定模块,具体用于在第一保持策略与第二保持策略一致的情况下,将第一保持策略确定为第一数据通道的保持策略;或,Optionally, in this embodiment of the present application, the determination module is specifically configured to determine the first retention strategy as the retention strategy of the first data channel when the first retention strategy is consistent with the second retention strategy; or ,
所述确定模块,具体用于在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为第一数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为第一数据通道的保持策略。The determination module is specifically configured to determine the default retention policy as the retention policy of the first data channel when the first retention policy and the second retention policy are inconsistent, or determine the retention policy indicated by the second indication information as The retention strategy for the first data channel.
在本申请实施例提供的数据通道的保持装置中,在第一通信设备与第二通信设备间建立M个数据通道的情况下,数据通道的保持装置接收保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,在第一通信设备与第二通信设备在使用至少一个数据通道的情况下,数据通道的保持装置能够根据第一通信设备发送的保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the data channel holding device provided by the embodiment of the present application, when M data channels are established between the first communication device and the second communication device, the data channel holding device receives the holding request; wherein, the above holding request is used for Maintain N data channels; N is a positive integer, M is greater than or equal to N. Through this method, when the first communication device and the second communication device use at least one data channel, the data channel holding device can maintain the data channel that needs to be maintained according to the holding request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
本申请实施例中的数据通道的保持装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The data channel holding device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
本申请实施例提供的数据通道的保持装置能够实现图1至图7的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The data channel retention device provided by the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 7 and achieve the same technical effect. To avoid duplication, the details will not be described here.
可选的,如图10所示,本申请实施例还提供一种通信设备1000,包括处理器1001和存储器1002,存储器1002上存储有可在所述处理器1001上运行的程序或指令,例如,该通信设备1000为终端时, 该程序或指令被处理器1001执行时实现上述数据通道的保持方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1000为网络侧设备时,该程序或指令被处理器1001执行时实现上述数据通道的保持方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 10, this embodiment of the present application also provides a communication device 1000, which includes a processor 1001 and a memory 1002. The memory 1002 stores programs or instructions that can be run on the processor 1001, such as , when the communication device 1000 is a terminal, When the program or instruction is executed by the processor 1001, each step of the above-mentioned data channel maintaining method embodiment is implemented, and the same technical effect can be achieved. When the communication device 1000 is a network-side device, when the program or instruction is executed by the processor 1001, each step of the above-mentioned data channel maintaining method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details are not repeated here.
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于与第二通信设备间建立M个数据通道的情况下,确定M个数据通道中需要被保持的N个数据通道,通信接口用于发送保持请求,其中,保持请求用于保持N个数据通道,其中,N为正整数,M大于或者等于N。该终端实施例与上述第一通信设备侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图11为实现本申请实施例的一种终端的硬件结构示意图。An embodiment of the present application also provides a terminal, including a processor and a communication interface. When establishing M data channels with a second communication device, the processor determines N data channels that need to be maintained among the M data channels. The communication interface is used to send a hold request, where the hold request is used to hold N data channels, where N is a positive integer, and M is greater than or equal to N. This terminal embodiment corresponds to the above-mentioned first communication device side method embodiment. Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect. Specifically, FIG. 11 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109以及处理器110等中的至少部分部件。The terminal 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, etc. At least some parts.
本领域技术人员可以理解,终端100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 100 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 11 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理单元(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 . Touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
本申请实施例中,射频单元101接收来自网络侧设备的下行数据后,可以传输给处理器110进行处理;另外,射频单元101可以向网络侧设备发送上行数据。通常,射频单元101包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In this embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 101 can transmit it to the processor 110 for processing; in addition, the radio frequency unit 101 can send uplink data to the network side device. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
存储器109可用于存储软件程序或指令以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。Memory 109 may be used to store software programs or instructions as well as various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
以第一通信设备为终端为例。其中,处理器110,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,确定M个数据通道中需要被保持的N个数据通道;Take the first communication device as a terminal as an example. Wherein, the processor 110 is used to determine N data channels that need to be maintained among the M data channels when M data channels are established between the first communication device and the second communication device;
射频单元101,用于发送保持请求;Radio frequency unit 101, used to send a hold request;
其中,保持请求用于保持处理器110确定的N个数据通道;Wherein, the hold request is used to hold N data channels determined by the processor 110;
N为正整数,M大于或者等于N。N is a positive integer, and M is greater than or equal to N.
可选地,在本申请实施例中,保持请求中携带第一会话描述协议SDP信息;Optionally, in this embodiment of the present application, the hold request carries the first Session Description Protocol SDP information;
其中,第一SDP信息包含N个数据通道的指示信息;Wherein, the first SDP information includes indication information of N data channels;
指示信息用于指示保持N个数据通道。The instruction information is used to instruct to maintain N data channels.
可选地,在本申请实施例中,第一SDP信息包括N个数据通道的描述信息;Optionally, in this embodiment of the present application, the first SDP information includes description information of N data channels;
其中,描述信息包括指示信息。The description information includes instruction information.
可选地,在本申请实施例中,N个数据通道对应N个指示信息;N个数据通道中的每个数据通道对应的指示信息用于指示保持对应的数据通道。 Optionally, in this embodiment of the present application, N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
可选地,在本申请实施例中,N个数据通道对应一个指示信息;Optionally, in this embodiment of the present application, N data channels correspond to one indication information;
其中,一个指示信息用于指示保持N个数据通道。Among them, one indication information is used to indicate maintaining N data channels.
可选地,在本申请实施例中,保持N个数据通道包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels includes any of the following:
第一通信设备中断N个数据通道的数据业务的传输;The first communication device interrupts the transmission of data services of the N data channels;
第一通信设备保持N个数据通道的数据业务的传输。The first communication device maintains transmission of data services of N data channels.
可选地,在本申请实施例中,Optionally, in the embodiment of this application,
处理器110,具体用于基于M个数据通道对应的保持策略,从M个数据通道中确定需要被保持的N个数据通道;The processor 110 is specifically configured to determine the N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
其中,M个数据通道中的任一数据通道对应的保持策略为以下任一项:Among them, the retention strategy corresponding to any one of the M data channels is any of the following:
任一数据通道对应的应用的保持策略;The retention strategy of the application corresponding to any data channel;
第一通信设备与第二通信设备为任一数据通道预先协商的保持策略;The first communication device and the second communication device pre-negotiate the maintenance strategy for any data channel;
协议约定的。stipulated in the agreement.
可选地,在本申请实施例中,处理器110,还用于在建立第一通信设备和第二通信设备间的M个数据通道的过程中,通过M个数据通道对应的SDP信息,与第二通信设备协商M个数据通道对应的保持策略。Optionally, in this embodiment of the present application, the processor 110 is also configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels, and The second communication device negotiates maintenance policies corresponding to the M data channels.
可选地,在本申请实施例中,M个数据通道包括第一数据通道,射频单元101,还用于第一通信设备发送第二SDP信息;Optionally, in this embodiment of the present application, the M data channels include the first data channel and the radio frequency unit 101, which is also used by the first communication device to send the second SDP information;
射频单元101,还用于接收第二通信设备发送的第三SDP信息;The radio frequency unit 101 is also used to receive the third SDP information sent by the second communication device;
第二SDP信息中包含第一指示信息,第一指示信息用于指示第一数据通道对应的第一保持策略;The second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
第三SDP信息中包含第二指示信息,第二指示信息用于指示第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
可选地,在本申请实施例中,处理器110,具体用于在第一保持策略与第二保持策略一致的情况下,将第一保持策略确定为第一数据通道的保持策略;或,Optionally, in this embodiment of the present application, the processor 110 is specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
处理器110,具体用于在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为M个数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为M个数据通道的保持策略。The processor 110 is specifically configured to determine the default retention strategy as the retention strategy for M data channels when the first retention strategy is inconsistent with the second retention strategy, or determine the retention strategy indicated by the second indication information as M Retention strategy for each data channel.
在本申请实施例提供的终端中,在与第二通信设备间建立M个数据通道的情况下,数据通道的保持装置确定所述M个数据通道中需要被保持的N个数据通道;终端发送保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法终端与第二通信设备在使用至少一个数据通道的情况下,终端能够判断哪些数据通道需要被保持,并且向第二通信设备发送保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the terminal provided by the embodiment of the present application, when M data channels are established with the second communication device, the data channel holding device determines the N data channels that need to be maintained among the M data channels; the terminal sends Hold request; wherein, the above hold request is used to hold N data channels; N is a positive integer, and M is greater than or equal to N. Through this method, when the terminal and the second communication device use at least one data channel, the terminal can determine which data channels need to be maintained, and send a hold request to the second communication device to maintain the data channels that need to be maintained. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
以第二通信设备为终端为例。其中,射频单元101,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,接收保持请求;保持请求用于保持M个数据通道中需要被保持的N个数据通道;其中,N为正整数,M大于或者等于N。Take the second communication device as the terminal as an example. Among them, the radio frequency unit 101 is used to receive a hold request when M data channels are established between the first communication device and the second communication device; the hold request is used to hold N data channels that need to be maintained among the M data channels. ; Among them, N is a positive integer, and M is greater than or equal to N.
可选地,在本申请实施例中,处理器110用于根据保持请求,停止使用N个数据通道向第一通信设备发送数据。Optionally, in this embodiment of the present application, the processor 110 is configured to stop using the N data channels to send data to the first communication device according to the hold request.
可选地,在本申请实施例中,上述保持请求中携带第一会话描述协议SDP信息;Optionally, in this embodiment of the present application, the above-mentioned hold request carries the first Session Description Protocol SDP information;
其中,第一SDP信息包含N个数据通道的指示信息;Wherein, the first SDP information includes indication information of N data channels;
上述指示信息用于指示保持N个数据通道。The above instruction information is used to indicate maintaining N data channels.
可选地,在本申请实施例中,保持N个数据通道包括以下任一项:Optionally, in this embodiment of the present application, maintaining N data channels includes any of the following:
第二通信设备中断N个数据通道的数据业务的传输;The second communication device interrupts the transmission of data services of the N data channels;
第二通信设备保持N个数据通道的数据业务的传输。The second communication device maintains transmission of data services of N data channels.
可选地,在本申请实施例中,处理器110,用于在建立第一通信设备和第二通信设备间的M个数据通道的过程中,通过M个数据通道对应的SDP信息,与第一通信设备协商M个数据通道对应的保持策略。Optionally, in this embodiment of the present application, the processor 110 is configured to, in the process of establishing M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to communicate with the first communication device. A communication device negotiates retention policies corresponding to M data channels.
可选地,在本申请实施例中,M个数据通道包括第一数据通道;射频单元101,还用于接收第一通信设备发送的第二SDP信息;Optionally, in this embodiment of the present application, the M data channels include the first data channel; the radio frequency unit 101 is also used to receive the second SDP information sent by the first communication device;
射频单元101,还用于发送第三SDP信息;The radio frequency unit 101 is also used to send the third SDP information;
其中,第二SDP信息中包含第一指示信息,第一指示信息用于指示第一数据通道对应的第一保持策略;Wherein, the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
第三SDP信息中包含第二指示信息,第二指示信息用于指示第一数据通道对应的第二保持策略The third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
可选地,在本申请实施例中,所述处理器110,具体用于在第一保持策略与第二保持策略一致的情况下,将第一保持策略确定为第一数据通道的保持策略;或, Optionally, in this embodiment of the present application, the processor 110 is specifically configured to determine the first retention policy as the retention policy of the first data channel when the first retention policy is consistent with the second retention policy; or,
所述处理器110,具体用于在第一保持策略与第二保持策略不一致的情况下,将默认保持策略确定为第一数据通道的保持策略,或者,将第二指示信息指示的保持策略确定为第一数据通道的保持策略。The processor 110 is specifically configured to determine the default retention policy as the retention policy of the first data channel when the first retention policy and the second retention policy are inconsistent, or determine the retention policy indicated by the second indication information. It is the retention strategy of the first data channel.
在本申请实施例提供终端中,在第一通信设备与终端间建立M个数据通道的情况下,数据通道的保持装置接收保持请求;其中,上述保持请求用于保持N个数据通道;N为正整数,M大于或者等于N。通过该方法,在第一通信设备与终端在使用至少一个数据通道的情况下,终端能够根据第一通信设备发送的保持请求来保持需要保持的数据通道。如此,使得通信双方能够准确地对需要保持的数据通道执行保持操作,从而保证通信双方通过数据通道传输数据业务的一致性,进而提升用户体验。In the terminal provided by the embodiment of the present application, when M data channels are established between the first communication device and the terminal, the data channel holding device receives a holding request; wherein, the above holding request is used to hold N data channels; N is A positive integer, M is greater than or equal to N. Through this method, when the first communication device and the terminal use at least one data channel, the terminal can maintain the data channel that needs to be maintained according to the hold request sent by the first communication device. In this way, the communicating parties can accurately perform the holding operation on the data channels that need to be maintained, thereby ensuring the consistency of the data services transmitted by the communicating parties through the data channels, thereby improving user experience.
本申请实施例还提供一种网络侧设备,包括处理器和通信接口,通信接口用于在与第一通信设备间建立M个数据通道的情况下,接收保持请求;所述保持请求用于保持所述M个数据通道中需要被保持的N个数据通道;An embodiment of the present application also provides a network side device, including a processor and a communication interface. The communication interface is used to receive a hold request when M data channels are established with the first communication device; the hold request is used to hold N data channels that need to be maintained among the M data channels;
其中,N为正整数,M大于或者等于N。Among them, N is a positive integer, and M is greater than or equal to N.
该网络侧设备实施例与上述第二通信设备侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该网络侧设备实施例中,且能达到相同的技术效果。This network-side device embodiment corresponds to the above-mentioned second communication device-side method embodiment. Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
具体地,本申请实施例还提供了一种网络侧设备。如图12所示,该网络侧设备200包括:天线21、射频装置22、基带装置23、处理器24和存储器25。天线21与射频装置22连接。在上行方向上,射频装置22通过天线21接收信息,将接收的信息发送给基带装置23进行处理。在下行方向上,基带装置23对要发送的信息进行处理,并发送给射频装置22,射频装置22对收到的信息进行处理后经过天线21发送出去。Specifically, the embodiment of the present application also provides a network side device. As shown in FIG. 12 , the network side device 200 includes: an antenna 21 , a radio frequency device 22 , a baseband device 23 , a processor 24 and a memory 25 . The antenna 21 is connected to the radio frequency device 22 . In the uplink direction, the radio frequency device 22 receives information through the antenna 21 and sends the received information to the baseband device 23 for processing. In the downlink direction, the baseband device 23 processes the information to be sent and sends it to the radio frequency device 22. The radio frequency device 22 processes the received information and then sends it out through the antenna 21.
以上实施例中网络侧设备执行的方法可以在基带装置23中实现,该基带装置23包括基带处理器。The method performed by the network side device in the above embodiment can be implemented in the baseband device 23, which includes a baseband processor.
基带装置23例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图12所示,其中一个芯片例如为基带处理器,通过总线接口与存储器25连接,以调用存储器25中的程序,执行以上方法实施例中所示的网络设备操作。The baseband device 23 may include, for example, at least one baseband board on which multiple chips are disposed, as shown in FIG. Program to perform the network device operations shown in the above method embodiments.
该网络侧设备还可以包括网络接口26,该接口例如为通用公共无线接口(common public radio interface,CPRI)。The network side device may also include a network interface 26, which is, for example, a common public radio interface (CPRI).
具体地,本发明实施例的网络侧设备200还包括:存储在存储器25上并可在处理器24上运行的指令或程序,处理器24调用存储器25中的指令或程序执行图10所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network side device 200 in this embodiment of the present invention also includes: instructions or programs stored in the memory 25 and executable on the processor 24. The processor 24 calls the instructions or programs in the memory 25 to execute each of the steps shown in Figure 10. The method of module execution and achieving the same technical effect will not be described in detail here to avoid duplication.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述数据通道的保持方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above-mentioned data channel retention method embodiment is implemented, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述数据通道的保持方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above-mentioned data channel maintenance method. Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述数据通道的保持方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a computer program/program product. The computer program/program product is stored in a storage medium. The computer program/program product is executed by at least one processor to implement the above data channel maintaining method. Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所 述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute various embodiments of the present application. method described.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (39)

  1. 一种数据通道的保持方法,包括:A method for maintaining a data channel, including:
    在第一通信设备与第二通信设备间建立M个数据通道的情况下,所述第一通信设备确定所述M个数据通道中需要被保持的N个数据通道;When M data channels are established between the first communication device and the second communication device, the first communication device determines N data channels that need to be maintained among the M data channels;
    所述第一通信设备发送保持请求;The first communication device sends a hold request;
    其中,所述保持请求用于保持所述N个数据通道;Wherein, the hold request is used to hold the N data channels;
    N为正整数,M大于或者等于N。N is a positive integer, and M is greater than or equal to N.
  2. 根据权利要求1所述的方法,其中,所述保持请求中携带第一会话描述协议SDP信息;The method according to claim 1, wherein the hold request carries first Session Description Protocol SDP information;
    其中,所述第一SDP信息包含所述N个数据通道的指示信息;Wherein, the first SDP information includes indication information of the N data channels;
    所述指示信息用于指示保持所述N个数据通道。The indication information is used to instruct to maintain the N data channels.
  3. 根据权利要求2所述的方法,其中,所述第一SDP信息包括所述N个数据通道的描述信息;The method according to claim 2, wherein the first SDP information includes description information of the N data channels;
    其中,所述描述信息包括所述指示信息。Wherein, the description information includes the instruction information.
  4. 根据权利要求2或3所述的方法,其中,所述N个数据通道对应N个指示信息;所述N个数据通道中的每个数据通道对应的指示信息用于指示保持对应的数据通道。The method according to claim 2 or 3, wherein the N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
  5. 根据权利要求2或3所述的方法,其中,所述N个数据通道对应一个指示信息;The method according to claim 2 or 3, wherein the N data channels correspond to one indication information;
    其中,所述一个指示信息用于指示保持所述N个数据通道。Wherein, the one indication information is used to indicate maintaining the N data channels.
  6. 根据权利要求1所述的方法,其中,所述保持所述N个数据通道包括以下任一项:The method of claim 1, wherein maintaining the N data channels includes any of the following:
    所述第一通信设备中断所述N个数据通道的数据业务的传输;The first communication device interrupts the transmission of data services of the N data channels;
    所述第一通信设备保持所述N个数据通道的数据业务的传输。The first communication device maintains transmission of data services of the N data channels.
  7. 根据权利要求1所述的方法,其中,所述第一通信设备确定所述M个数据通道中需要被保持的N个数据通道,包括:The method according to claim 1, wherein the first communication device determines N data channels that need to be maintained among the M data channels, including:
    所述第一通信设备基于所述M个数据通道对应的保持策略,从所述M个数据通道中确定需要被保持的N个数据通道;The first communication device determines N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
    其中,所述M个数据通道中的任一数据通道对应的保持策略为以下任一项:Wherein, the retention strategy corresponding to any one of the M data channels is any of the following:
    所述任一数据通道对应的应用的保持策略;The retention strategy of the application corresponding to any of the data channels;
    所述第一通信设备与所述第二通信设备为所述任一数据通道预先协商的保持策略;The first communication device and the second communication device pre-negotiate a maintenance strategy for any data channel;
    协议约定的。stipulated in the agreement.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7, further comprising:
    在建立所述第一通信设备和所述第二通信设备间的所述M个数据通道的过程中,所述第一通信设备通过所述M个数据通道对应的SDP信息,与所述第二通信设备协商所述M个数据通道对应的保持策略。In the process of establishing the M data channels between the first communication device and the second communication device, the first communication device communicates with the second communication device through the SDP information corresponding to the M data channels. The communication device negotiates the retention policies corresponding to the M data channels.
  9. 根据权利要求8所述的方法,其中,所述M个数据通道包括第一数据通道;The method of claim 8, wherein the M data channels include a first data channel;
    所述第一通信设备通过所述M个数据通道对应的SDP信息,与所述第二通信设备协商所述M个数据通道对应的保持策略,包括:The first communication device negotiates with the second communication device the maintenance strategy corresponding to the M data channels through the SDP information corresponding to the M data channels, including:
    所述第一通信设备发送第二SDP信息;The first communication device sends second SDP information;
    所述第一通信设备接收所述第二通信设备发送的第三SDP信息;The first communication device receives the third SDP information sent by the second communication device;
    所述第二SDP信息中包含第一指示信息,所述第一指示信息用于指示所述第一数据通道对应的第一保持策略;The second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
    所述第三SDP信息中包含第二指示信息,所述第二指示信息用于指示所述第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
  10. 根据权利要求9所述的方法,其中,所述第一通信设备通过所述M个数据通道对应的SDP信息,与所述第二通信设备协商所述M个数据通道对应的保持策略,包括:The method according to claim 9, wherein the first communication device negotiates with the second communication device the maintenance strategy corresponding to the M data channels through the SDP information corresponding to the M data channels, including:
    在所述第一保持策略与所述第二保持策略一致的情况下,将所述第一保持策略确定为所述第一数据通道的保持策略;或,In the case where the first retention policy is consistent with the second retention policy, determine the first retention policy as the retention policy of the first data channel; or,
    在所述第一保持策略与所述第二保持策略不一致的情况下,将默认保持策略确定为所述第一数据通道的保持策略,或者,将所述第二指示信息指示的保持策略确定为所述第一数据通道的保持策略。In the case where the first retention policy is inconsistent with the second retention policy, the default retention policy is determined as the retention policy of the first data channel, or the retention policy indicated by the second indication information is determined as The retention strategy of the first data channel.
  11. 一种数据通道的保持方法,包括:A method for maintaining a data channel, including:
    在第一通信设备与第二通信设备间建立M个数据通道的情况下,所述第二通信设备接收保持请求;所述保持请求用于保持所述M个数据通道中需要被保持的N个数据通道;When M data channels are established between the first communication device and the second communication device, the second communication device receives a hold request; the hold request is used to hold N of the M data channels that need to be held. data channel;
    其中,N为正整数,M大于或者等于N。Among them, N is a positive integer, and M is greater than or equal to N.
  12. 根据权利要求11所述的方法,其中,所述第二通信设备接收保持请求之后,所述方法还 包括:The method according to claim 11, wherein after the second communication device receives the hold request, the method further include:
    所述第二通信设备根据所述保持请求,停止使用所述N个数据通道向所述第一通信设备发送数据。The second communication device stops using the N data channels to send data to the first communication device according to the hold request.
  13. 根据权利要求11所述的方法,其中,所述保持请求中携带第一会话描述协议SDP信息;The method according to claim 11, wherein the hold request carries first Session Description Protocol SDP information;
    其中,所述第一SDP信息包含所述N个数据通道的指示信息;Wherein, the first SDP information includes indication information of the N data channels;
    所述指示信息用于指示保持所述N个数据通道。The indication information is used to instruct to maintain the N data channels.
  14. 根据权利要求11或13所述的方法,其中,所述保持所述N个数据通道包括以下任一项:The method according to claim 11 or 13, wherein maintaining the N data channels includes any of the following:
    所述第二通信设备中断所述N个数据通道的数据业务的传输;The second communication device interrupts the transmission of data services of the N data channels;
    所述第二通信设备保持所述N个数据通道的数据业务的传输。The second communication device maintains transmission of data services of the N data channels.
  15. 根据权利要求11所述的方法,其中,所述方法还包括:The method of claim 11, wherein the method further includes:
    在建立所述第一通信设备和所述第二通信设备间的所述M个数据通道的过程中,所述第二通信设备通过所述M个数据通道对应的SDP信息,与所述第一通信设备协商所述M个数据通道对应的保持策略。In the process of establishing the M data channels between the first communication device and the second communication device, the second communication device communicates with the first communication device through the SDP information corresponding to the M data channels. The communication device negotiates the retention policies corresponding to the M data channels.
  16. 根据权利要求15所述的方法,其中,所述M个数据通道包括第一数据通道;The method of claim 15, wherein the M data channels include a first data channel;
    所述第二通信设备通过所述M个数据通道对应的SDP信息,与所述第一通信设备协商所述M个数据通道对应的保持策略,包括:The second communication device negotiates with the first communication device the maintenance strategy corresponding to the M data channels through the SDP information corresponding to the M data channels, including:
    所述第二通信设备接收所述第一通信设备发送的第二SDP信息;The second communication device receives the second SDP information sent by the first communication device;
    所述第二通信设备发送第三SDP信息;The second communication device sends third SDP information;
    其中,所述第二SDP信息中包含第一指示信息,所述第一指示信息用于指示所述第一数据通道对应的第一保持策略;Wherein, the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
    所述第三SDP信息中包含第二指示信息,所述第二指示信息用于指示所述第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
  17. 根据权利要求16所述的方法,其中,所述第二通信设备通过所述M个数据通道对应的SDP信息,与所述第一通信设备协商所述M个数据通道对应的保持策略,包括:The method according to claim 16, wherein the second communication device negotiates with the first communication device the maintenance strategies corresponding to the M data channels through the SDP information corresponding to the M data channels, including:
    在所述第一保持策略与所述第二保持策略一致的情况下,将所述第一保持策略确定为所述第一数据通道的保持策略;或,In the case where the first retention policy is consistent with the second retention policy, determine the first retention policy as the retention policy of the first data channel; or,
    在所述第一保持策略与所述第二保持策略不一致的情况下,将默认保持策略确定为所述第一数据通道的保持策略,或者,将所述第二指示信息指示的保持策略确定为所述第一数据通道的保持策略。In the case where the first retention policy is inconsistent with the second retention policy, the default retention policy is determined as the retention policy of the first data channel, or the retention policy indicated by the second indication information is determined as The retention strategy of the first data channel.
  18. 一种数据通道的保持装置,所述装置包括:确定模块和发送模块,其中:A data channel holding device, the device includes: a determining module and a sending module, wherein:
    所述确定模块,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,确定所述M个数据通道中需要被保持的N个数据通道;The determination module is configured to determine N data channels that need to be maintained among the M data channels when M data channels are established between the first communication device and the second communication device;
    所述发送模块,用于发送保持请求;The sending module is used to send a hold request;
    其中,所述保持请求用于保持所述确定模块确定的所述N个数据通道;Wherein, the retention request is used to maintain the N data channels determined by the determination module;
    N为正整数,M大于或者等于N。N is a positive integer, and M is greater than or equal to N.
  19. 根据权利要求18所述的装置,其中,所述保持请求中携带第一会话描述协议SDP信息;The device according to claim 18, wherein the hold request carries first Session Description Protocol SDP information;
    其中,所述第一SDP信息包含所述N个数据通道的指示信息;Wherein, the first SDP information includes indication information of the N data channels;
    所述指示信息用于指示保持所述N个数据通道。The indication information is used to instruct to maintain the N data channels.
  20. 根据权利要求19所述的装置,其中,所述第一SDP信息包括所述N个数据通道的描述信息;The device according to claim 19, wherein the first SDP information includes description information of the N data channels;
    其中,所述描述信息包括所述指示信息。Wherein, the description information includes the instruction information.
  21. 根据权利要求19或20所述的装置,其中,所述N个数据通道对应N个指示信息;所述N个数据通道中的每个数据通道对应的指示信息用于指示保持对应的数据通道。The device according to claim 19 or 20, wherein the N data channels correspond to N pieces of indication information; the indication information corresponding to each of the N data channels is used to indicate maintaining the corresponding data channel.
  22. 根据权利要求19或20所述的装置,其中,所述N个数据通道对应一个指示信息;The device according to claim 19 or 20, wherein the N data channels correspond to one indication information;
    其中,所述一个指示信息用于指示保持所述N个数据通道。Wherein, the one indication information is used to indicate maintaining the N data channels.
  23. 根据权利要求18所述的装置,其中,所述保持所述N个数据通道包括以下任一项:The apparatus of claim 18, wherein maintaining the N data channels includes any of the following:
    所述第一通信设备中断所述N个数据通道的数据业务的传输;The first communication device interrupts the transmission of data services of the N data channels;
    所述第一通信设备保持所述N个数据通道的数据业务的传输。The first communication device maintains transmission of data services of the N data channels.
  24. 根据权利要求18所述的装置,其中,The device of claim 18, wherein:
    所述确定模块,具体用于基于所述M个数据通道对应的保持策略,从所述M个数据通道中确定需要被保持的N个数据通道;The determination module is specifically configured to determine N data channels that need to be maintained from the M data channels based on the retention strategies corresponding to the M data channels;
    其中,所述M个数据通道中的任一数据通道对应的保持策略为以下任一项: Wherein, the retention strategy corresponding to any one of the M data channels is any of the following:
    所述任一数据通道对应的应用的保持策略;The retention strategy of the application corresponding to any of the data channels;
    所述第一通信设备与所述第二通信设备为所述任一数据通道预先协商的保持策略;The first communication device and the second communication device pre-negotiate a maintenance strategy for any data channel;
    协议约定的。stipulated in the agreement.
  25. 根据权利要求24所述的装置,其中,The device of claim 24, wherein:
    所述确定模块,还用于在建立所述第一通信设备和所述第二通信设备间的所述M个数据通道的过程中,通过所述M个数据通道对应的SDP信息,与所述第二通信设备协商所述M个数据通道对应的保持策略。The determining module is also configured to, in the process of establishing the M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to determine the relationship between the M data channels and the M data channels. The second communication device negotiates maintenance policies corresponding to the M data channels.
  26. 根据权利要求25所述的装置,其中,所述M个数据通道包括第一数据通道;所述装置还包括:接收模块;The device according to claim 25, wherein the M data channels include a first data channel; the device further includes: a receiving module;
    所述发送模块,还用于所述第一通信设备发送第二SDP信息;The sending module is also configured to send the second SDP information to the first communication device;
    所述接收模块,用于接收所述第二通信设备发送的第三SDP信息;The receiving module is used to receive the third SDP information sent by the second communication device;
    所述第二SDP信息中包含第一指示信息,所述第一指示信息用于指示所述第一数据通道对应的第一保持策略;The second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
    所述第三SDP信息中包含第二指示信息,所述第二指示信息用于指示所述第一数据通道对应的第二保持策略。The third SDP information includes second indication information, and the second indication information is used to indicate the second retention policy corresponding to the first data channel.
  27. 根据权利要求26所述的装置,其中,The device of claim 26, wherein:
    所述确定模块,具体用于在所述第一保持策略与所述第二保持策略一致的情况下,将所述第一保持策略确定为所述第一数据通道的保持策略;或,The determination module is specifically configured to determine the first retention strategy as the retention strategy of the first data channel when the first retention strategy is consistent with the second retention strategy; or,
    所述确定模块,具体用于在所述第一保持策略与所述第二保持策略不一致的情况下,将默认保持策略确定为所述M个数据通道的保持策略,或者,将所述第二指示信息指示的保持策略确定为所述M个数据通道的保持策略。The determination module is specifically configured to determine the default retention strategy as the retention strategy for the M data channels when the first retention strategy is inconsistent with the second retention strategy, or to determine the second retention strategy as the retention strategy. The retention strategy indicated by the indication information is determined as the retention strategy of the M data channels.
  28. 一种数据通道的保持装置,包括:接收模块;A data channel holding device includes: a receiving module;
    所述接收模块,用于在第一通信设备与第二通信设备间建立M个数据通道的情况下,接收保持请求;所述保持请求用于保持所述M个数据通道中需要被保持的N个数据通道;The receiving module is used to receive a hold request when M data channels are established between the first communication device and the second communication device; the hold request is used to hold N of the M data channels that need to be maintained. data channel;
    其中,N为正整数,M大于或者等于N。Among them, N is a positive integer, and M is greater than or equal to N.
  29. 根据权利要求28所述的装置,其中,所述装置还包括:执行模块;The device according to claim 28, wherein the device further comprises: an execution module;
    所述执行模块,用于根据所述保持请求,停止使用所述N个数据通道向所述第一通信设备发送数据。The execution module is configured to stop using the N data channels to send data to the first communication device according to the hold request.
  30. 根据权利要求28所述的装置,其中,所述保持请求中携带第一会话描述协议SDP信息;The device according to claim 28, wherein the hold request carries first Session Description Protocol SDP information;
    其中,所述第一SDP信息包含所述N个数据通道的指示信息;Wherein, the first SDP information includes indication information of the N data channels;
    所述指示信息用于指示保持所述N个数据通道。The indication information is used to instruct to maintain the N data channels.
  31. 根据权利要求28或30所述的装置,其中,所述保持所述N个数据通道包括以下任一项:The device according to claim 28 or 30, wherein said maintaining the N data channels includes any of the following:
    所述第二通信设备中断所述N个数据通道的数据业务的传输;The second communication device interrupts the transmission of data services of the N data channels;
    所述第二通信设备保持所述N个数据通道的数据业务的传输。The second communication device maintains transmission of data services of the N data channels.
  32. 根据权利要求28所述的装置,其中,所述装置还包括:确定模块;The device according to claim 28, wherein the device further comprises: a determining module;
    所述确定模块,用于在建立所述第一通信设备和所述第二通信设备间的所述M个数据通道的过程中,通过所述M个数据通道对应的SDP信息,与所述第一通信设备协商所述M个数据通道对应的保持策略。The determination module is configured to, in the process of establishing the M data channels between the first communication device and the second communication device, use the SDP information corresponding to the M data channels to determine the relationship between the M data channels and the M data channels. A communication device negotiates retention policies corresponding to the M data channels.
  33. 根据权利要求32所述的装置,其中,所述M个数据通道包括第一数据通道;所述装置还包括:发送模块;The device according to claim 32, wherein the M data channels include a first data channel; the device further includes: a sending module;
    所述接收模块,还用于接收所述第一通信设备发送的第二SDP信息;The receiving module is also configured to receive the second SDP information sent by the first communication device;
    所述发送模块,用于发送第三SDP信息;The sending module is used to send the third SDP information;
    其中,所述第二SDP信息中包含第一指示信息,所述第一指示信息用于指示所述第一数据通道对应的第一保持策略;Wherein, the second SDP information includes first indication information, and the first indication information is used to indicate the first retention strategy corresponding to the first data channel;
    所述第三SDP信息中包含第二指示信息,所述第二指示信息用于指示所述第一数据通道对应的第二保持策略The third SDP information includes second indication information, and the second indication information is used to indicate the second retention strategy corresponding to the first data channel.
  34. 根据权利要求33所述的装置,其中,The device of claim 33, wherein:
    所述确定模块,具体用于在所述第一保持策略与所述第二保持策略一致的情况下,将所述第一保持策略确定为所述第一数据通道的保持策略;或,The determination module is specifically configured to determine the first retention strategy as the retention strategy of the first data channel when the first retention strategy is consistent with the second retention strategy; or,
    所述确定模块,具体用于在所述第一保持策略与所述第二保持策略不一致的情况下,将默认保持策略确定为所述第一数据通道的保持策略,或者,将所述第二指示信息指示的保持策略确定为所述第一数据通道的保持策略。 The determination module is specifically configured to determine the default retention policy as the retention policy of the first data channel when the first retention policy is inconsistent with the second retention policy, or to determine the second retention policy as the retention policy. The retention strategy indicated by the indication information is determined as the retention strategy of the first data channel.
  35. 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至10任一项所述的数据通道的保持方法的步骤。A communication device, including a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the implementation of any one of claims 1 to 10 is achieved. The steps of the data channel maintaining method.
  36. 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求11至17任一项所述的数据通道的保持方法的步骤。A communication device, including a processor and a memory, the memory stores a program or instructions that can be run on the processor, and when the program or instructions are executed by the processor, any one of claims 11 to 17 is implemented. The steps of the data channel maintaining method.
  37. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-10任一项所述的数据通道的保持方法,或者实现如权利要求11至17任一项所述的数据通道的保持方法的步骤。A readable storage medium, which stores programs or instructions. When the program or instructions are executed by a processor, the method for maintaining a data channel according to any one of claims 1-10 is implemented, or the method is implemented The steps of the data channel maintaining method according to any one of claims 11 to 17.
  38. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-10任一项所述的数据通道的保持方法,或者实现如权利要求11至17任一项所述的数据通道的保持方法的步骤。A computer program product, the program product is executed by at least one processor to implement the data channel maintaining method as described in any one of claims 1 to 10, or to implement the method as described in any one of claims 11 to 17 The steps of the data channel's hold method.
  39. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-10任一项所述的数据通道的保持方法,或者实现如权利要求11至17任一项所述的数据通道的保持方法的步骤。 A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the data channel according to any one of claims 1-10 The method of maintaining the data channel, or the steps of implementing the method of maintaining the data channel according to any one of claims 11 to 17.
PCT/CN2023/105149 2022-07-11 2023-06-30 Data channel holding methods and apparatuses, communication devices, and readable storage medium WO2024012288A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210815577.2A CN117425228A (en) 2022-07-11 2022-07-11 Data channel holding method, device, communication equipment and readable storage medium
CN202210815577.2 2022-07-11

Publications (1)

Publication Number Publication Date
WO2024012288A1 true WO2024012288A1 (en) 2024-01-18

Family

ID=89531330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/105149 WO2024012288A1 (en) 2022-07-11 2023-06-30 Data channel holding methods and apparatuses, communication devices, and readable storage medium

Country Status (2)

Country Link
CN (1) CN117425228A (en)
WO (1) WO2024012288A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185094A1 (en) * 2010-01-27 2011-07-28 Fujitsu Semiconductor Limited Data transfer control device and data transfer control method
US20120207036A1 (en) * 2011-02-14 2012-08-16 Nokia Corporation Indicating Status of Radio Resources in Wireless Network
US20190044847A1 (en) * 2016-02-08 2019-02-07 Fondation B Com Method for transmitting data in a multipath communication
CN112367716A (en) * 2020-10-30 2021-02-12 Oppo广东移动通信有限公司 Wireless communication method, terminal equipment and network equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185094A1 (en) * 2010-01-27 2011-07-28 Fujitsu Semiconductor Limited Data transfer control device and data transfer control method
US20120207036A1 (en) * 2011-02-14 2012-08-16 Nokia Corporation Indicating Status of Radio Resources in Wireless Network
US20190044847A1 (en) * 2016-02-08 2019-02-07 Fondation B Com Method for transmitting data in a multipath communication
CN112367716A (en) * 2020-10-30 2021-02-12 Oppo广东移动通信有限公司 Wireless communication method, terminal equipment and network equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA NETWORKS, ALCATEL-LUCENT: "WebRTC Data Channel Procedures", 3GPP TSG CT4 MEETING #71 C4-152192, 23 November 2015 (2015-11-23), XP051041597 *

Also Published As

Publication number Publication date
CN117425228A (en) 2024-01-19

Similar Documents

Publication Publication Date Title
US11206293B2 (en) Exchanging non-text content in real time text messages
WO2022194210A1 (en) Session parameter updating method and apparatus, communication device, and electronic device
US11659012B2 (en) Relayed communication channel establishment
WO2024012288A1 (en) Data channel holding methods and apparatuses, communication devices, and readable storage medium
WO2023078458A1 (en) Call exception processing method and apparatus, and electronic device
US11627170B2 (en) Enhancements for real-time text (RTT) call control over an IP multimedia subsystem (IMS) network
WO2024017021A1 (en) Data transmission method and apparatus, and user equipment, network element, communication system and storage medium
WO2023221855A1 (en) Data channel application list processing method, apparatus, and device
TW202304175A (en) User equipment and methods for providing reliable delivery of application data
WO2024017238A1 (en) Call negotiation method and apparatus, and communication device and readable storage medium
WO2024051627A1 (en) Communication establishment method and apparatus, terminal device, and network side device
WO2024061085A1 (en) Communication method, apparatus and device
WO2023213275A1 (en) Communication method and apparatus, terminal, network side device and medium
WO2023217089A1 (en) Data transmission method and apparatus, device, system and storage medium
WO2024051663A1 (en) Data channel establishment method, and first terminal and second terminal
WO2023213274A1 (en) Data processing method and apparatus, and terminal, network-side device and medium
WO2024061143A1 (en) Application program determination method and apparatus, terminal, and server
WO2024012368A1 (en) Communication processing method and apparatus, communication device and readable storage medium
WO2023241614A1 (en) Ims service acquisition method and terminal, network device and medium
WO2023143414A1 (en) Data transmission method and apparatus, configuration method and apparatus, and terminal and network-side device
WO2024061133A1 (en) Communication method, apparatus, ue, and readable storage medium
WO2023005898A1 (en) Multi-terminal joint session management method, network side device and terminal
WO2023179595A1 (en) Session channel establishment method and apparatus for non-3gpp device, and device
WO2023185929A1 (en) Resource control method and apparatus, terminal, and network side device
WO2023207947A1 (en) Cell reconfiguration method, apparatus, terminal, and network side device

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

Country of ref document: EP

Kind code of ref document: A1