WO2022048348A1 - 数据通信方法及相关装置 - Google Patents

数据通信方法及相关装置 Download PDF

Info

Publication number
WO2022048348A1
WO2022048348A1 PCT/CN2021/108707 CN2021108707W WO2022048348A1 WO 2022048348 A1 WO2022048348 A1 WO 2022048348A1 CN 2021108707 W CN2021108707 W CN 2021108707W WO 2022048348 A1 WO2022048348 A1 WO 2022048348A1
Authority
WO
WIPO (PCT)
Prior art keywords
session management
management message
user equipment
timer
session
Prior art date
Application number
PCT/CN2021/108707
Other languages
English (en)
French (fr)
Inventor
刘君
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21863416.0A priority Critical patent/EP4210402A1/en
Publication of WO2022048348A1 publication Critical patent/WO2022048348A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data communication method and related apparatus.
  • PTI Procedure Transaction Identity
  • the network device does not receive a response message sent by the user equipment in response to the above feedback message, it will retransmit the above feedback message to the user equipment, but at this time, since the user equipment has released the PTI, it cannot recognize the above feedback message.
  • the carried PTI causes communication failure.
  • the present application proposes a data communication method and related apparatus, which can greatly reduce the occupied time of PTI while ensuring synchronization between user equipment and network equipment during a session as much as possible.
  • an embodiment of the present application provides a data communication method, the method comprising:
  • the user equipment sends a first session management message configured with a process transaction identifier to the network device;
  • the user equipment receives the second session management message from the network device, starts a first timer and a counter, and sends a third session management message, the second session management message and the third session management message to the network device
  • the message carries the process transaction identifier, and the counter is used to record the start times of the first timer;
  • the user equipment performs a first preset operation according to any one or any combination of the first message reception state within the timing range of the first timer and the start times recorded by the counter, and the first message
  • the receiving state includes receiving the second session management message again and not receiving the second session management message again, the first preset operation is used to release the process transaction identifier, the timing of the first timer
  • the range is set according to the time interval at which the user equipment receives the second session management message.
  • an embodiment of the present application provides a data communication method, the method comprising:
  • the network device receives a first session management message from the user equipment, where the first session management message carries a process transaction identifier;
  • the network device sends a second session management message to the user equipment, starts a second timer, and the second session management message carries the process transaction identifier;
  • the network device performs a second preset operation according to a second message receiving state within the timing range of the second timer, where the second preset operation is used to end the session, and the second message receiving state includes receiving The third session management message from the user equipment is received and the third session management message from the user equipment is not received, and the third session management message carries the process transaction identifier.
  • an embodiment of the present application provides a data communication apparatus, which is applied to user equipment.
  • the data communication apparatus includes a processing unit and a communication unit, and the processing unit is configured to:
  • the management message carries the process transaction identifier, and the counter is used to record the start times of the first timer;
  • a first preset operation is performed according to any one or any combination of a first message reception state within the timing range of the first timer and the number of starts recorded by the counter, where the first message reception state includes the The second session management message is received and the second session management message is not received again, the first preset operation is used to release the process transaction identifier, and the timing range of the first timer is based on the The time interval at which the user equipment receives the second session management message is set.
  • an embodiment of the present application provides a data communication apparatus, which is applied to a network device.
  • the data communication apparatus includes a processing unit and a communication unit, and the processing unit is configured to:
  • a second preset operation is performed according to a second message reception state within the timing range of the second timer, where the second preset operation is used to end a session, and the second message reception state includes receiving a message from the The third session management message of the user equipment and the third session management message from the user equipment are not received, and the third session management message carries the process transaction identifier.
  • an embodiment of the present application provides a user equipment, including an application processor, a memory, and one or more programs, where the one or more programs are stored in the memory and configured by the The application processor executes the program, and the program includes instructions for executing the steps in any of the methods in the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a network device, including an application processor, a memory, and one or more programs, where the one or more programs are stored in the memory and configured by the The application processor executes the program, and the program includes instructions for executing the steps in any of the methods in the second aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute The method according to any one of the first aspect and the second aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the program as described in the embodiments of the present application. Some or all of the steps described in any of the methods of the first aspect and the second aspect.
  • the computer program product may be a software installation package.
  • the user equipment sends a first session management message configured with a process transaction identifier to the network device; then the user equipment receives the second session management message from the network device, and starts the first timer.
  • the first message receiving state includes receiving the second session management message again and not receiving the second session management message again, the first preset operation is used to release the process transaction identifier, the first The timing range of a timer is set according to the time interval when the user equipment receives the second session management message. While ensuring synchronization between the user equipment and the network equipment during the session as much as possible, the occupied time of the PTI can be greatly reduced.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a data communication method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another data communication method provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another data communication method provided by an embodiment of the present application.
  • FIG. 6 is a block diagram of functional units of a data communication device provided by an embodiment of the present application.
  • FIG. 7 is a block diagram of functional units of another data communication device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present application.
  • the wireless communication system may include a non-terrestrial network (NTN) system, a long term evolution (LTE) system, an LTE frequency division dual A frequency division duplex (FDD) system, an LTE time division duplex (TDD), a fifth generation (5th generation, 5G) new radio (NR) communication system or a future evolved communication system.
  • NTN non-terrestrial network
  • LTE long term evolution
  • FDD frequency division dual A frequency division duplex
  • TDD LTE time division duplex
  • 5G fifth generation new radio
  • the example communication system 100 includes user equipment 110, access network equipment 120, an access and mobility management function (AMF) network element 130, a session management function (SMF) ) network element 140, user plane function (user plane function, UPF) network element 150.
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • the AMF network element 130, the SMF network element 140, and the UPF network element 150 belong to the core network element (or called network function network element).
  • the connection between the above network elements may be a wireless connection or a wired connection.
  • a solid line is used to illustrate the connection between the network elements. It has been described in detail in the technology, and will not be described in detail in this embodiment of the present application.
  • the user equipment 110 in this embodiment of the present application may include a user equipment (user equipment, UE), a user terminal, a handheld terminal, a notebook computer, a subscriber unit (subscriber unit), a cellular phone (cellular phone), a smart phone (smart phone) phone), wireless data card, personal digital assistant (personal digital assistant, PDA) computer, and may also include in-vehicle equipment, in-vehicle terminals, vehicle equipment, or automotive equipment.
  • UE user equipment
  • UE user equipment
  • user terminal a user terminal
  • a handheld terminal a notebook computer
  • subscriber unit subscriber unit
  • a cellular phone cellular phone
  • smart phone smart phone
  • wireless data card wireless data card
  • PDA personal digital assistant
  • User equipment 110 may also be a cellular telephone, a cordless telephone, a session initiation protocol (SIP) telephone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless Communication-enabled handheld devices, computing devices or other processing devices connected to wireless modems, relay devices, wearable devices, terminal devices in 5G NR systems or future evolution of public land mobile networks (PLMN) terminal equipment in .
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • PLMN public land mobile networks
  • the user equipment 110 includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • This hardware layer includes hardware such as central processing unit (CPU), memory management unit (MMU), and memory (also known as main memory).
  • the operating system may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
  • the application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
  • the embodiments of the present application do not specifically limit the specific structure of the execution body of the methods provided by the embodiments of the present application, as long as the program that records the codes of the methods provided by the embodiments of the present application can be executed to provide the methods provided by the embodiments of the present application.
  • the execution subject of the method provided by the embodiment of the present application may be the user equipment 110, or a functional module in the user equipment 110 that can call and execute a program.
  • the access network device 120 can be regarded as a radio access network (RAN) device or an access network (AN) device, which is mainly responsible for radio resource management, quality of service (quality of service) on the air interface side service, QoS) management, data compression and encryption and other functions.
  • the access network device 120 may include various forms of base stations, such as: a macro base station, a micro base station, a relay station, an access point (access point, AP), and the like. In communication systems using different wireless access technologies, the names of devices with base station functions may be different.
  • next generation node B gNB
  • next generation evolved node B ng-eNB
  • Node B Node B
  • the AMF network element 130 is distributed in the core network and is mainly responsible for the signaling processing part, and can also provide control plane functions, such as access control, mobility management, attachment and detachment, and gateway selection.
  • control plane functions such as access control, mobility management, attachment and detachment, and gateway selection.
  • the AMF network element 130 provides the session with the storage resources of the control plane to store the session identifier, and the session management function (session management function) associated with the session identifier. function, SMF) network element identification, etc.
  • the SMF network element 140 may be used for user plane network element selection, user plane network element redirection, IP address allocation, bearer establishment, modification and release, and QoS control.
  • the UPF network element 150 may be used for forwarding and receiving user data in the user equipment 110 .
  • the UPF network element 150 receives user data from the data network and transmits it to the user equipment 110 through the access network device 120; or, the UPF network element 150 receives user data from the user equipment 110 through the access network device 120, and then forwards the data to the data The internet.
  • the SMF network element 140 manages and controls the transmission resources and scheduling functions in the UPF network element 150 that serve the user equipment 110 .
  • the data communication method in this embodiment of the present application can be understood as data interaction between user equipment and network equipment, the network equipment may be a virtual equipment, representing a core network, and the data interaction is an interaction process of session management, which mainly involves the communication between SMF and user equipment. interact.
  • FIG. 2 is a schematic flowchart of a data communication method provided in an embodiment of the present application, which specifically includes the following steps:
  • Step 201 The user equipment sends a first session management message configured with a process transaction identifier to a network device.
  • the above procedure transaction identifier (Procedure Transaction Identity, PTI) is used to represent the uniqueness of the session management process, that is, the data transmission of the entire session management process will carry the PTI, indicating that the current session process is in progress; the user equipment here is no longer
  • the network device represents the core network, and no additional description will be given.
  • the above-mentioned first session management message can be a session management request, and the session management request can be any one in a session modification request (PDU SESSION MODIFICATION REQUEST) or a session release request (PDU SESSION RELEASE REQUEST). After a session modification request or a session release request is made, no change will occur during the same session, and subsequent data interaction is also performed correspondingly based on the specific content of the first session management message.
  • PTI Procedure Transaction Identity
  • Step 202 the user equipment receives a second session management message from a network device, starts a first timer and a counter, and sends a third session management message to the network device.
  • the above-mentioned counter is used to record the start times of the above-mentioned first timer;
  • the above-mentioned second session management message may be a session management command sent by the network device to the above-mentioned user equipment, and the above-mentioned session management command may be a session modification command (PDU SESSION MODIFICATION COMMAND ) or session release command (PDU SESSION RELEASE COMMAND)
  • the above-mentioned third session management message can be the session management message fed back to the above-mentioned network equipment after the above-mentioned user equipment has accepted the above-mentioned session management command, and the above-mentioned session management message can be It is either a session modification completion message (PDU SESSION MODIFICATION COMPLETE), a session modification rejection message (PDU SESSION MODIFICATION COMMAND REJECT) or a session release completion message (PDU SESSION RELEASE COMPLETE).
  • the session modification completion message or The session modification rejection message corresponds to a case where the session management command is a session modification command
  • the session release complete message corresponds to a case where the session management command is a session release command.
  • Both the above-mentioned second session management message and the above-mentioned third session management message carry the above-mentioned process transaction identifier PTI, and the timing duration of the first timer may be preset to keep the user equipment and the network equipment synchronized.
  • the user equipment receives the second session management message from the network device, starts the first timer and the counter, and sends the third session management message to the network device. While synchronizing in the process, the occupied time of PTI is greatly reduced.
  • Step 203 the user equipment performs a first preset operation according to any one or any combination of the first message reception state within the timing range of the first timer and the start times recorded by the counter.
  • the above-mentioned first message receiving state includes receiving the above-mentioned second session management message again and not receiving the above-mentioned second session management message again, the above-mentioned first preset operation is used to release the above-mentioned process transaction identifier, the above-mentioned first timer
  • the timing range is set according to the time interval when the user equipment receives the second session management message.
  • the user equipment when the user equipment does not receive the second session message from the network device again within the timing range of the first timer, the user equipment immediately closes the first timer and the counter , the transaction identifier of the above process is released, and the session ends.
  • the user equipment when the user equipment receives the second session management message from the network device again within the timing range of the first timer, the user equipment obtains the first timing currently recorded by the counter the number of times the device is started;
  • the above-mentioned user equipment stops the above-mentioned first timer and the above-mentioned counter, sends the above-mentioned third session management message to the above-mentioned network equipment, and releases the above-mentioned process transaction identifier.
  • the upper limit of the number of starts is reached, so there is no need to consider whether the third session management message is sent successfully, and the transaction identifier of the above process can be released directly;
  • the above-mentioned user equipment restarts the first timer, and sends the above-mentioned third session management message to the above-mentioned network device again until the above-mentioned sending status is successfully sent or the above-mentioned activation times are equal to The above-mentioned preset number of thresholds.
  • the first timer is repeatedly restarted when the activation times are less than the preset times threshold, and the third session management message is repeatedly sent to the network device until it is determined that the sending status is successful or the activation times equals the preset times threshold.
  • the occupied duration of the PTI is at most the timing period of the first timer.
  • the user equipment and network equipment can be guaranteed as much as possible. synchronization and repeated retransmission of the message.
  • FIG. 3 is another data communication method provided by the embodiment of the present application, which specifically includes the following: step:
  • Step 301 the network device receives a first session management message from the user equipment.
  • the above-mentioned first session management message carries a process transaction identifier, and the above-mentioned process transaction identifier is used to indicate the uniqueness of the session management process.
  • Step 302 the network device sends a second session management message to the user equipment to start a second timer.
  • the second session management message carries the process transaction identifier, and the second timer is used to determine the time to retransmit the second session management message; it can be understood that the network device is sending the second session management message to the user equipment.
  • the third session management message fed back by the user equipment needs to be received before the session can be ended, otherwise the network device will consider that the user equipment has not received the second session management message, and will replay the user equipment when the second timer times out.
  • the maximum number of retransmissions of the network device is equal to the preset number of times threshold. In this way, it can be ensured that the first timer and the second timer are synchronized in an ideal state.
  • Step 303 the network device performs a second preset operation according to the second message reception state within the timing range of the second timer.
  • the second message receiving state includes receiving the third session management message from the user equipment and not receiving the third session management message from the user equipment, where the third session management message carries the process transaction logo.
  • the network device stops the second timer and ends the session.
  • the network device does not receive the third session management message from the user equipment within the timing range of the second timer, restart the second timer, and retransmit the second session management message to the user equipment The message is retransmitted until the number of retransmissions reaches the preset number of times threshold. Further, the above-mentioned network device stops the above-mentioned second timer and ends the session after the above-mentioned number of retransmissions reaches the above-mentioned preset number of times threshold.
  • the preset number of times threshold is set to 4, and the above data communication method is divided into two cases for illustration.
  • the first case is the step process when the first timer is started twice, and the second
  • the situation is the step flow after the number of activations of the first timer reaches 4 times.
  • FIG. 4 is a schematic flowchart of another data communication method provided by an embodiment of the present application, and specifically includes the following steps:
  • the user equipment sends a first session management message configured with a process transaction identifier to the network device, where the process transaction identifier PTI may be represented as A.
  • the network device After receiving the first session management message, the network device sends a second session management message to the user equipment and starts a second timer.
  • the user equipment After receiving the second session management message, the user equipment sends a third session management message to the network device and starts a first timer and a counter.
  • the timing range of the first timer may be equal to the timing range of the second timer in an ideal state. In practice, due to factors such as errors, the timing range of the first timer may be set to be slightly larger than that of the second timer. timing range. Specifically, the timing range of the second timer may be 16 seconds, and the timing range of the first timer may be set to be greater than or equal to 16 seconds. At this time, the value of the counter is 1.
  • the sending of the third session management message fails this time.
  • the network device does not receive the third session management message, the network device retransmits the second session management message to the user equipment and restarts the second timer when the second timer expires.
  • the user equipment After receiving the retransmitted second session management message, the user equipment restarts the first timer, and sends the third session management message to the network device again, and the value of the counter is 2 at this time.
  • the network device closes the second timer and ends the session.
  • the user equipment releases the process transaction identifier after the first timer expires.
  • the reason for waiting for the first timer to expire is that it needs to be determined whether the third session management message is sent successfully according to whether the second session management message retransmitted by the network device is received.
  • the process transaction identifier is occupied for a maximum of 16 seconds, which greatly reduces the occupation time of the process transaction identifier.
  • FIG. 5 is a schematic flowchart of another data communication method provided by an embodiment of the present application, which specifically includes the following steps:
  • the user equipment sends a first session management message configured with a process transaction identifier to the network device.
  • the network device sends a second session management message to the user equipment and starts a second timer.
  • the user equipment sends a third session management message to the network device and starts a first timer and a counter, and the value of the counter is 1 at this time.
  • the sending of the third session management message failed this time.
  • the network device does not receive the third session management message, and at this time, the network device retransmits the second session management message to the user equipment for the first time when the second timer expires for the first time and restarts the first session management message. Two timers.
  • the user equipment restarts the first timer, and sends the third session management message to the network device again, and the value of the counter is 2 at this time.
  • the sending of the third session management message failed this time.
  • the network device does not receive the third session management message, and at this time, the network device retransmits the second session management message to the user equipment for the second time when the second timer expires for the second time and restarts the first session management message. Two timers.
  • the user equipment restarts the first timer, and sends the third session management message to the network device again, and the value of the counter is 3 at this time.
  • the sending of the third session management message failed this time.
  • the network device does not receive the third session management message.
  • the network device retransmits the second session management message to the user equipment for the third time and restarts the first session management message. Two timers.
  • the user equipment restarts the first timer, and sends the third session management message to the network device again, and the value of the counter is 4 at this time.
  • the sending of the third session management message failed this time.
  • the network device does not receive the third session management message, at this time, the network device retransmits the second session management message to the user equipment for the fourth time when the second timer expires for the fourth time and stops the first session management message.
  • the second timer ends the session.
  • the user equipment stops the first timer, sends the third session management message to the network device again, and releases the process transaction identifier.
  • Second timer start time when the network device sends the second session management message
  • the start time of the first timer when the user equipment receives the second session management message, the delay is ignored in an ideal state, and it can be considered to be started synchronously with the second timer.
  • the network device When the second timer times out, the network device retransmits the second session management message to the user equipment;
  • the user equipment When the user equipment receives the retransmitted second session management message, it restarts the first timer, and the value of the counter is incremented by 1.
  • Figures 4 and 5 are ideal states, ignoring the delay time. In the ideal state, the start and stop of the identification timer are synchronized with the start and stop of the retransmission timer.
  • the user equipment sends a first session management message configured with a process transaction identifier to the network device, and the process transaction identifier is used to indicate the uniqueness of the session management process;
  • the device receives the second session management message from the network device, starts the first timer and the counter, and sends a third session management message to the network device, where the second session management message and the third session management message carry all the process transaction identifier, the first timer is used to determine the time to retransmit the third session management message, the counter is used to record the number of times the first timer is started; Any one or any combination of the first message reception state within the timing range of the first timer and the start times recorded by the counter performs the first preset operation, and the first message reception state includes receiving the message again.
  • the second session management message and the second session management message are not received again, the first preset operation is used to release the process transaction identifier, and the timing range of the first timer is received by the user equipment.
  • the time interval of the second session management message is set. While ensuring synchronization between the user equipment and the network equipment during the session as much as possible, the occupied time of the PTI can be greatly reduced.
  • the user equipment, the access network equipment, and the core network elements include corresponding hardware structures and/or software modules for performing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the user equipment, the access network equipment, and the core network element may be divided into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be divided into two or more functional units.
  • integrated in one processing unit can be implemented in the form of hardware, and can also be implemented in the form of software program modules. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division manners in actual implementation.
  • FIG. 6 illustrates a block diagram of functional units of a data communication device.
  • the data communication apparatus 600 is applied to user equipment, and specifically includes: a processing unit 602 and a communication unit 603 .
  • the processing unit 602 is used to control and manage the actions of the user equipment, for example, the processing unit 602 is used to support the user equipment to perform the steps in FIG. 2 and other processes for the techniques described herein.
  • the communication unit 603 is used to support the communication between the user equipment and the network equipment.
  • the user equipment may further include a storage unit 601 for storing program codes and data of the user equipment.
  • the processing unit 602 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (application-specific integrated circuit) integrated circuit, ASIC), field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • the processing unit 602 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 603 may be a communication interface, a transceiver, a transceiver circuit, etc., and the storage unit 601 may be a memory.
  • the processing unit 602 is a processor
  • the communication unit 603 is a communication interface
  • the storage unit 601 is a memory
  • the data communication apparatus 600 involved in this embodiment of the present application may be the user equipment shown in FIG. 8 .
  • the processing unit 602 is configured to perform any step performed by the terminal in the above method embodiments, and when performing data transmission such as sending, the communication unit 603 can be selectively invoked to complete corresponding operations. A detailed description will be given below.
  • the processing unit 602 is configured to: send the first session management message configured with the process transaction identifier to the network device through the communication unit 603;
  • the communication unit 603 receives a second session management message from a network device, starts a first timer and a counter, and sends a third session management message to the network device.
  • the second session management message and the third session management message are sent to the network device.
  • the session management message carries the process transaction identifier, and the counter is used to record the start times of the first timer;
  • a first preset operation is performed according to any one or any combination of a first message reception state within the timing range of the first timer and the number of starts recorded by the counter, where the first message reception state includes the The second session management message is received and the second session management message is not received again, the first preset operation is used to release the process transaction identifier, and the timing range of the first timer is based on the The time interval at which the user equipment receives the second session management message is set.
  • the occupied time of the PTI can be greatly reduced.
  • FIG. 7 illustrates a block diagram of functional units of a data communication device.
  • the data communication apparatus 700 is applied to user equipment, and specifically includes: a processing unit 702 and a communication unit 703 .
  • the processing unit 702 is used to control and manage the actions of the user equipment, for example, the processing unit 702 is used to support the user equipment to perform the steps in FIG. 3 and other processes for the techniques described herein.
  • the communication unit 703 is used to support the communication between the user equipment and the network equipment.
  • the user equipment may further include a storage unit 701 for storing program codes and data of the user equipment.
  • the processing unit 702 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (application-specific integrated circuit) integrated circuit, ASIC), field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • the processing unit 702 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 703 may be a communication interface, a transceiver, a transceiver circuit, etc., and the storage unit 701 may be a memory.
  • the processing unit 702 is a processor
  • the communication unit 703 is a communication interface
  • the storage unit 701 is a memory
  • the data communication apparatus 700 involved in this embodiment of the present application may be the network device shown in FIG. 9 .
  • the processing unit 702 is configured to perform any step performed by the terminal in the above method embodiments, and when performing data transmission such as sending, the communication unit 703 can be selectively invoked to complete corresponding operations. A detailed description will be given below.
  • the processing unit 702 is configured to: receive a first session management message from the user equipment through the communication unit 703, where the first session management message carries a process transaction identifier;
  • a second preset operation is performed according to a second message receiving state within the timing range of the second timer, where the second message receiving state includes receiving a third session management message from the user equipment and not receiving a third session management message from the user equipment.
  • the third session management message from the user equipment, where the third session management message carries the process transaction identifier.
  • the occupied time of the PTI can be greatly reduced.
  • FIG. 8 is a schematic structural diagram of a user equipment 800 provided by an embodiment of the present application.
  • the terminal 800 includes a processor 810 , a memory 820 , a communication interface 830 and at least one communication bus for connecting the processor 810 , the memory 820 and the communication interface 830 .
  • the memory 820 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM) or portable Read-only memory (compact disc read-only memory, CD-ROM), the memory 820 is used for related instructions and data.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read only memory
  • CD-ROM compact disc read-only memory
  • Communication interface 830 is used to receive and transmit data.
  • the processor 810 may be one or more CPUs, and if the processor 810 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • the processor 810 in the user equipment 800 is configured to read one or more programs 821 stored in the memory 820 and execute the method in the method embodiment shown in FIG. 2 above, and the user equipment 800 can also be used for The method on the user equipment side for executing the foregoing method embodiments of the present application will not be repeated here.
  • FIG. 9 is a schematic structural diagram of a network device 900 provided by an embodiment of the present application.
  • the network device 900 includes a processor 910 , a memory 920 , a communication interface 930 and at least one communication bus for connecting the processor 910 , the memory 920 , and the communication interface 930 .
  • the memory 920 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM) or portable Read-only memory (compact disc read-only memory, CD-ROM), the memory 920 is used for related instructions and data.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read only memory
  • CD-ROM compact disc read-only memory
  • Communication interface 930 is used to receive and transmit data.
  • the processor 910 may be one or more CPUs, and if the processor 910 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • the processor 910 in the network device 900 is configured to read one or more programs 921 stored in the memory 920 and execute the method in the method embodiment shown in FIG. 3 above, and the terminal 900 can also be configured to execute The method on the network device side of the foregoing method embodiments of the present application will not be repeated here.
  • Embodiments of the present application further provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program is operable to cause the computer to execute the terminal as in the foregoing method embodiments , some or all of the steps described in the access network equipment, the access and mobility management function network element or the session management function network element.
  • the embodiments of the present application further provide a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to cause the computer to execute the terminal, access network device, access and mobile as in the above method embodiments Part or all of the steps described in the performance management function network element or the session management function network element.
  • the computer program product may be a software installation package.
  • the steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically ePROM, EEPROM), registers, hard disks, mobile hard disks, A compact disc read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an application specific integrated circuit (ASIC). Additionally, the ASIC may be located in an access network device, a network device or a core network gateway. Of course, the processor and the storage medium may also exist in the access network device, the network device or the core network gateway as discrete components.
  • ASIC application specific integrated circuit
  • the functions described in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server, or data center via wire (e.g., the same coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center.
  • a computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, digital video discs), or semiconductor media (eg, solid state drives), among others.

Abstract

本申请提供了一种数据通信方法及相关装置,用户设备向网络设备发送配置有过程事务标识的第一会话管理消息; 所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,第二会话管理消息和所述第三会话管理消息携带所述过程事务标识; 所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一预设操作用于释放所述过程事务标识,第一定时器的计时范围根据所述用户设备接收到第二会话管理消息的时间间隔来设定。可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。

Description

数据通信方法及相关装置
本发明要求2020年9月2日递交的发明名称为“数据通信方法及相关装置”的申请号202010910729.8的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本申请涉及通信技术领域,特别是一种数据通信方法及相关装置。
背景技术
在无线通信中,对于用户设备发起的每一个会话管理过程,都要为该会话管理过程分配一个有效的过程事务标识(Procedure Transaction Identity,PTI),一般情况下,用户设备发起会话请求,收到网络设备响应该会话请求的反馈消息后,即可释放该PTI。
在一些情况,网络设备如果没有收到用户设备发送的响应上述反馈消息的应答消息,则会重传上述反馈消息给用户设备,但此时由于用户设备已经释放了PTI,所以无法识别上述反馈消息携带的PTI,导致通信失败。
发明内容
基于上述问题,本申请提出了一种数据通信方法及相关装置,可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
第一方面,本申请实施例提供了一种数据通信方法,所述方法包括:
用户设备向网络设备发送配置有过程事务标识的第一会话管理消息;
所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;
所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。
第二方面,本申请实施例提供了一种数据通信方法,所述方法包括:
网络设备接收来自用户设备的第一会话管理消息,所述第一会话管理消息携带过程事务标识;
所述网络设备向所述用户设备发送第二会话管理消息,开启第二定时器,所述第二会话管理消息携带所述过程事务标识;
所述网络设备根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,所述第二预设操作用于结束会话,所述第二消息接收状态包括接收到来自所述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,所述第三会话管理消息携带所述过程事务标识。
第三方面,本申请实施例提供了一种数据通信装置,应用于用户设备,所述数据通信装置包括处理单元和通信单元,所述处理单元用于:
通过所述通信单元向网络设备发送配置有过程事务标识的第一会话管理消息;
通过所述通信单元接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所 述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;
根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。
第四方面,本申请实施例提供了一种数据通信装置,应用于网络设备,所述数据通信装置包括处理单元和通信单元,所述处理单元用于:
通过所述通信单元接收来自用户设备的第一会话管理消息,所述第一会话管理消息携带过程事务标识;
通过所述通信单元向所述用户设备发送第二会话管理消息,开启第二定时器,所述第二会话管理消息携带所述过程事务标识;
根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,所述第二预设操作用于结束会话,所述第二消息接收状态包括接收到来自所述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,所述第三会话管理消息携带所述过程事务标识。
第五方面,本申请实施例提供了一种用户设备,包括应用处理器、存储器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述应用处理器执行,所述程序包括用于执行如本申请实施例第一方面任一方法中的步骤的指令。
第六方面,本申请实施例提供了一种网络设备,包括应用处理器、存储器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述应用处理器执行,所述程序包括用于执行如本申请实施例第二方面任一方法中的步骤的指令。
第七方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如本申请实施例第一方面、第二方面中任一项所述的方法。
第八方面,本申请实施例提供了一种计算机产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面、第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可见,上述数据通信方法及相关装置,首先用户设备向网络设备发送配置有过程事务标识的第一会话管理消息;之后所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;最后所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种通信系统的架构示意图;
图2为本申请实施例提供的一种数据通信方法的流程示意图;
图3为本申请实施例提供的另一种数据通信方法的流程示意图;
图4为本申请实施例提供的另一种数据通信方法的流程示意图;
图5为本申请实施例提供的另一种数据通信方法的流程示意图;
图6为本申请实施例提供的一种数据通信装置的功能单元组成框图;
图7为本申请实施例提供的另一种数据通信装置的功能单元组成框图;
图8为本申请实施例提供的一种用户设备的结构示意图;
图9为本申请实施例提供的一种网络设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
下面将结合附图对本申请实施例中的技术方案进行描述。
本申请实施例的技术方案可以应用于无线通信系统中,该无线通信系统可以包括非地面通信网络(non-terrestrial network,NTN)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、第五代(5th generation,5G)新空口(new radio,NR)通信系统或未来的演进通信系统。以无线通信系统是5G NR通信系统为示例,请参阅图1。
在图1中,该示例通信系统100包括用户设备110、接入网设备120、接入和移动性管理功能(access and mobility management function,AMF)网元130、会话管理功能(session management function,SMF)网元140、用户面功能(user plane function,UPF)网元150。其中,AMF网元130、SMF网元140、UPF网元150属于核心网网元(或者称为网络功能网元),需要说明的是,核心网网元中其他网元也包括在本申请实施例中,并不作具体限制。此外,上述各个网元之间的连接可以为无线连接或者有线连接,为了方便直观地表示各个网元之间的连接关系,图1采用实线示意,而各个网元之间的接口在现有技术中已有详细描述,本申请实施例对此不再详述。
具体的,本申请实施例中的用户设备110可以包括用户设备(user equipment,UE)、用户终端、手持终端、笔记本电脑、用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑,也可以包括车载设备、车载终端、车辆设备或汽车设备等。用户设备110还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、中继设备、可穿戴设备、5G NR系统中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备。本申请实施例对此不作具体限定。
在本申请实施例中,用户设备110包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(central processing unit,CPU)、内存管理单元 (memory management unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或Windows操作系统等。该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。此外,本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是用户设备110,或者,是用户设备110中能够调用程序并执行程序的功能模块。
具体的,接入网设备120可以看作无线接入网络(radio access network,RAN)设备或者接入网络(access network,AN)设备,其主要负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。接入网设备120可以包括各种形式的基站,例如:宏基站、微基站、中继站、接入点(access point,AP)等。在采用不同的无线接入技术的通信系统中,具备基站功能的设备的名称可能会有所不同。例如,在第五代(5thgeneration,5G)通信系统中,称为下一代节点B(next generation node B,gNB)或者下一代演进节点B(next generation evolved node B,ng-eNB);在LTE系统中,称为演进的节点B(evolved NodeB,eNB或者eNodeB)或者;在第三代(3rd generation,3G)系统中,称为节点B(Node B)等。
具体的,AMF网元130分布于核心网,主要负责信令处理部分,还可以提供控制面功能,如接入控制、移动性管理、附着与去附着、网关选择。此外,在AMF网元130为用户设备110中的会话提供服务的情况下,AMF网元会为该会话提供控制面的存储资源以存储会话标识,以及与会话标识关联的会话管理功能(session management function,SMF)网元标识等。
具体的,SMF网元140可以用于负责用户面网元选择、用户面网元重定向、IP地址分配、承载的建立、修改和释放以及QoS控制。
具体的,UPF网元150可以用于负责用户设备110中用户数据的转发和接收。例如,UPF网元150从数据网络接收用户数据,并通过接入网设备120传输给用户设备110;或者,UPF网元150通过接入网设备120从用户设备110接收用户数据,再转发到数据网络。此外,SMF网元140管理和控制UPF网元150中为用户设备110提供服务的传输资源和调度功能。
本申请实施例中的数据通信方法可以理解为用户设备与网络设备的数据交互,上述网络设备可以为虚拟设备,表示核心网,上述数据交互为会话管理的交互过程,主要涉及SMF和用户设备的交互。
下面结合图2对本申请实施例中的一种数据通信方法进行说明,图2为本申请实施例提供的一种数据通信方法的流程示意图,具体包括以下步骤:
步骤201,用户设备向网络设备发送配置有过程事务标识的第一会话管理消息。
其中,上述过程事务标识(Procedure Transaction Identity,PTI)用于表示会话管理过程的唯一性,即整个会话管理过程的数据传输都会携带该PTI,表示当前会话过程正在进行中;这里的用户设备不再赘述,网络设备表示核心网也不再追加说明。上述第一会话管理消息可以为会话管理请求,该会话管理请求可以为会话修改请求(PDU SESSION MODIFICATION REQUEST)或会话释放请求(PDU SESSION RELEASE REQUEST)中的任一种,在第一会话管理消息确定为会话修改请求或会话释放请求后,在同一会话过程中不会发生变更,后续的数据交互也是基于第一会话管理消息的具体内容来对应进行。
通过在向网络设备发送会话管理请求时为该会话过程配置PTI,可以保证用户设备和网络设备的同步。
步骤202,所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息。
其中,上述计数器用于记录上述第一定时器的启动次数;上述第二会话管理消息可以为网络设备发送给上述用户设备的会话管理命令,上述会话管理命令可以为会话修改命令(PDU SESSION  MODIFICATION COMMAND)或会话释放命令(PDU SESSION RELEASE COMMAND)中的任一种,上述第三会话管理消息可以为上述用户设备接受了上述会话管理命令后向上述网络设备反馈的会话管理消息,上述会话管理消息可以为会话修改完成消息(PDU SESSION MODIFICATION COMPLETE)、会话修改拒绝消息(PDU SESSION MODIFICATION COMMAND REJECT)或会话释放完成消息(PDU SESSION RELEASE COMPLETE)中的任意一种,可以理解的是,会话修改完成消息或会话修改拒绝消息对应的是会话管理命令为会话修改命令的情况,会话释放完成消息对应的是会话管理命令为会话释放命令的情况。上述第二会话管理消息和上述第三会话管理消息都携带上述过程事务标识PTI,可以预先设定第一定时器的定时时长,使得用户设备和网络设备保持同步。
可见,所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
步骤203,所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作。
其中,上述第一消息接收状态包括再次接收到上述第二会话管理消息和未再次接收到上述第二会话管理消息,上述第一预设操作用于释放上述过程事务标识,上述第一定时器的计时范围根据上述用户设备接收到上述第二会话管理消息的时间间隔来设定。
在一个可选的实施例中,上述用户设备在上述第一定时器的计时范围内未再次接收到来自上述网络设备的第二会话消息时,上述用户设备立即关闭上述第一定时器和上述计数器,释放上述过程事务标识,会话结束。
在一个可选的实施例中,上述用户设备在上述第一定时器的计时范围内再次接收到来自上述网络设备的第二会话管理消息时,上述用户设备获取上述计数器当前记录的上述第一定时器的启动次数;
进一步的,在上述启动次数等于预设次数阈值时,上述用户设备停止上述第一定时器和上述计数器,向上述网络设备发送上述第三会话管理消息,并释放上述过程事务标识,此时因为已经达到启动次数的上限,所以不需要再考虑第三会话管理消息是否发送成功,直接释放上述过程事务标识即可;
进一步的,在上述启动次数小于上述预设次数阈值时,上述用户设备重启所述第一定时器,再次向上述网络设备发送上述第三会话管理消息直到上述发送状态为发送成功或上述启动次数等于上述预设次数阈值。具体的,即在启动次数小于上述预设次数阈值时反复重启上述第一定时器,反复向上述网络设备发送上述第三会话管理消息直到确定发送状态为成功或启动次数等于上述预设次数阈值。
可见,在上述第三会话管理消息发送成功时,PTI被占用的时长最多只为一个第一定时器的计时周期,在上述第三会话管理消息发送失败时,可以尽可能保证用户设备和网络设备的同步而反复重传消息。
为进一步说明本申请实施例的数据通信方法,下面结合图3对本申请实施例的另一种数据通信方法进行详细说明,图3为本申请实施例提供的另一种数据通信方法,具体包括以下步骤:
步骤301,网络设备接收来自用户设备的第一会话管理消息。
其中,上述第一会话管理消息携带过程事务标识,上述过程事务标识用于表示会话管理过程的唯一性。
步骤302,所述网络设备向所述用户设备发送第二会话管理消息,开启第二定时器。
其中,上述第二会话管理消息携带所述过程事务标识,上述第二定时器用于确定重传上述第二会话管理消息的时间;可以理解的是,网络设备在向用户设备发送上述第二会话管理消息后,需要接收到用户设备反馈的第三会话管理消息才能拿结束会话,否则网络设备会认为用户设备未接收到 上述第二会话管理消息,在上述第二定时器超时时向上述用户设备重传上述第二会话管理消息,需要说明的是网络设备的最大重传次数等于上述预设次数阈值。如此,可以保证第一定时器和第二定时器在理想状态下实现同步。
步骤303,所述网络设备根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作。
其中,上述第二消息接收状态包括接收到来自上述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,上述第三会话管理消息携带所述过程事务标识。
具体的,上述网络设备在上述第二定时器的计时范围内接收到来自上述用户设备的第三会话管理消息时,停止所述第二定时器,结束会话。
具体的,上述网络设备在上述第二定时器的计时范围内未接收到来自上述用户设备的第三会话管理消息时,重启上述第二定时器,并向上述用户设备重传上述第二会话管理消息直到重传次数达到预设次数阈值。进一步的,上述网络设备在上述重传次数达到上述预设次数阈值后,停止上述第二定时器,并结束会话。
上述未详细说明的步骤可以参见图2中的部分或全部方法的描述,在此不再赘述。
可见,通过上述方法步骤,可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
为便于理解,设定预设次数阈值为4,将上述数据通信方法分为两种情况进行举例说明,第一种情况为第一定时器的启动次数在2次时的步骤流程,第二种情况为在第一定时器的启动次数达到4次后的步骤流程。
下面结合图4对第一种情况进行举例说明,图4为本申请实施例提供的另一种数据通信方法的流程示意图,具体包括以下步骤:
首先,用户设备向网络设备发送配置有过程事务标识的第一会话管理消息,其中,过程事务标识PTI可以表示为A。
接着,所述网络设备在接收到上述第一会话管理消息后,向所述用户设备发送第二会话管理消息并开启第二定时器。
接着,所述用户设备在接收到所述第二会话管理消息后,向所述网络设备发送第三会话管理消息并开启第一定时器和计数器。
其中,上述第一定时器的计时范围在理想状态下可以等于上述第二定时器的计时范围,在实际中由于误差等因素,可以设置上述第一定时器的计时范围稍大于上述第二定时器的计时范围。具体的,上述第二定时器的计时范围可以为16秒,则可以设置上述第一定时器的计时范围大于或等于16秒。此时计数器的值为1。
需要说明的是,此次发送第三会话管理消息失败。网络设备未接收到上述第三会话管理消息,此时所述网络设备在第二定时器超时时向所述用户设备重传所述第二会话管理消息并重启所述第二定时器。
所述用户设备在接收到重传的第二会话管理消息后,重启所述第一定时器,向所述网络设备再次发送所述第三会话管理消息,此时计数器的值为2。
其中,此次发送成功,所述网络设备关闭所述第二定时器,结束会话。
所述用户设备在所述第一定时器超时后释放所述过程事务标识。
其中,之所以要等待所述第一定时器超时,是因为需要根据是否接收到网络设备重传的第二会话管理消息来确定第三会话管理消息是否发送成功。
可见,在该情况下,过程事务标识最多被占用16秒,大大降低了过程事务标识的占用时长。
下面结合图5对第二种情况进行举例说明,图5为本申请实施例提供的另一种数据通信方法的流程示意图,具体包括以下步骤:
首先,用户设备向网络设备发送配置有过程事务标识的第一会话管理消息。
接着,所述网络设备向所述用户设备发送第二会话管理消息并开启第二定时器。
接着,所述用户设备向所述网络设备发送第三会话管理消息并开启第一定时器和计数器,此时计数器的值为1。
此次发送第三会话管理消息失败。网络设备未接收到上述第三会话管理消息,此时所述网络设备在第二定时器第一次超时时向所述用户设备第一次重传所述第二会话管理消息并重启所述第二定时器。
接着,所述用户设备重启所述第一定时器,向所述网络设备再次发送所述第三会话管理消息,此时计数器的值为2。
此次发送第三会话管理消息失败。网络设备未接收到上述第三会话管理消息,此时所述网络设备在第二定时器第二次超时时向所述用户设备第二次重传所述第二会话管理消息并重启所述第二定时器。
接着,所述用户设备重启所述第一定时器,向所述网络设备再次发送所述第三会话管理消息,此时计数器的值为3。
此次发送第三会话管理消息失败。网络设备未接收到上述第三会话管理消息,此时所述网络设备在第二定时器第三次超时时向所述用户设备第三次重传所述第二会话管理消息并重启所述第二定时器。
接着,所述用户设备重启所述第一定时器,向所述网络设备再次发送所述第三会话管理消息,此时计数器的值为4。
此次发送第三会话管理消息失败。网络设备未接收到上述第三会话管理消息,此时所述网络设备在第二定时器第四次超时时向所述用户设备第四次重传所述第二会话管理消息并停止所述第二定时器,结束会话。
最后,由于此时计数器的值为4达到预设次数阈值,所述用户设备停止所述第一定时器,向所述网络设备再次发送所述第三会话管理消息并释放所述过程事务标识。
可见,如此可以尽可能保证用户设备和网络设备在会话管理过程中的同步。
为便于理解,对时间轴进行说明,
第二定时器开启时间:网络设备发送第二会话管理消息时;
第一定时器开启时间:用户设备接收到第二会话管理消息时,理想状态下忽略延迟,可以认为与第二定时器同步开启。
第二定时器超时时,网络设备向用户设备重传第二会话管理消息;
用户设备接收到重传的第二会话管理消息时,重启第一定时器,计数器的值加1。
图4和图5为理想状态,忽略了延迟时间,理想状态下,标识定时器的开启和停止与重传定时器的开启和停止保持同步。
可以看出,上述数据通信方法及相关装置,首先用户设备向网络设备发送配置有过程事务标识的第一会话管理消息,所述过程事务标识用于表示会话管理过程的唯一性;之后所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述第一定时器用于确定重传所述第三会话管理消息的时间,所述计数器用于记录所述第一定时器的启动次数;最后所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
上述主要从方法侧中各个网元之间交互的角度对本申请实施例的方案进行了介绍。可以理解的是,用户设备、接入网设备和核心网网元为了实现上述功能,其包含了执行各个功能相应的硬件结 构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件与计算机软件的结合形式来实现。某个功能究竟以硬件或计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对用户设备、接入网设备和核心网网元进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,只是一种逻辑功能划分,而实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图6示例出了一种数据通信装置的功能单元组成框图。数据通信装置600应用于用户设备,具体包括:处理单元602和通信单元603。处理单元602用于对用户设备的动作进行控制管理,例如,处理单元602用于支持用户设备执行图2中的步骤和用于本文所描述的技术的其它过程。通信单元603用于支持用户设备与网络设备的通信。用户设备还可以包括存储单元601,用于存储用户设备的程序代码和数据。
其中,处理单元602可以是处理器或控制器,例如可以是中央处理器(central processing unit,CPU),通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框、模块和电路。处理单元602也可以是实现计算功能的组合,例如包含一个或多个微处理器组合、DSP和微处理器的组合等等。通信单元603可以是通信接口、收发器、收发电路等,存储单元601可以是存储器。当处理单元602为处理器,通信单元603为通信接口,存储单元601为存储器时,本申请实施例所涉及的数据通信装置600可以为图8所示的用户设备。
具体实现时,处理单元602用于执行如上述方法实施例中由终端执行的任一步骤,且在执行诸如发送等数据传输时,可选择的调用通信单元603来完成相应操作。下面进行详细说明。
处理单元602用于:通过所述通信单元603向网络设备发送配置有过程事务标识的第一会话管理消息;
通过所述通信单元603接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;
根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。
可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
在采用集成的单元的情况下,图7示例出了一种数据通信装置的功能单元组成框图。数据通信装置700应用于用户设备,具体包括:处理单元702和通信单元703。处理单元702用于对用户设备的动作进行控制管理,例如,处理单元702用于支持用户设备执行图3中的步骤和用于本文所描述的技术的其它过程。通信单元703用于支持用户设备与网络设备的通信。用户设备还可以包括存储单元701,用于存储用户设备的程序代码和数据。
其中,处理单元702可以是处理器或控制器,例如可以是中央处理器(central processing unit,CPU),通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array, FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框、模块和电路。处理单元702也可以是实现计算功能的组合,例如包含一个或多个微处理器组合、DSP和微处理器的组合等等。通信单元703可以是通信接口、收发器、收发电路等,存储单元701可以是存储器。当处理单元702为处理器,通信单元703为通信接口,存储单元701为存储器时,本申请实施例所涉及的数据通信装置700可以为图9所示的网络设备。
具体实现时,处理单元702用于执行如上述方法实施例中由终端执行的任一步骤,且在执行诸如发送等数据传输时,可选择的调用通信单元703来完成相应操作。下面进行详细说明。
处理单元702用于:通过所述通信单元703接收来自用户设备的第一会话管理消息,所述第一会话管理消息携带过程事务标识;
通过所述通信单元703向所述用户设备发送第二会话管理消息,开启第二定时器,所述第二会话管理消息携带所述过程事务标识;
根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,所述第二消息接收状态包括接收到来自所述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,所述第三会话管理消息携带所述过程事务标识。
可以在尽可能保证用户设备和网络设备在会话过程中同步的同时,大大降低了PTI的占用时长。
请参阅图8,图8是本申请实施例提供的一种用户设备800的结构示意图。其中,终端800包括处理器810、存储器820、通信接口830和至少一个用于连接处理器810、存储器820、通信接口830的通信总线。
存储器820包括但不限于是随机存储记忆体(random Access Memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)或便携式只读存储器(compact disc read-only memory,CD-ROM),存储器820用于相关指令及数据。
通信接口830用于接收和发送数据。
处理器810可以是一个或多个CPU,在处理器810是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。
需要说明的是用户设备800中的处理器810用于读取存储器820中存储的一个或多个程序821,执行上述图2所示的方法实施例中的方法,并且用户设备800还可以用于执行本申请前述方法实施例的用户设备侧的方法,在此不再赘述。
请参阅图9,图9是本申请实施例提供的一种网络设备900的结构示意图。其中,网络设备900包括处理器910、存储器920、通信接口930和至少一个用于连接处理器910、存储器920、通信接口930的通信总线。
存储器920包括但不限于是随机存储记忆体(random Access Memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)或便携式只读存储器(compact disc read-only memory,CD-ROM),存储器920用于相关指令及数据。
通信接口930用于接收和发送数据。
处理器910可以是一个或多个CPU,在处理器910是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。
需要说明的是网络设备900中的处理器910用于读取存储器920中存储的一个或多个程序921,执行上述图3所示的方法实施例中的方法,并且终端900还可以用于执行本申请前述方法实施例的网络设备侧的方法,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,其中,该计算机可读存储介质存储用于电子数据交换的计算机程序,并且该计算机程序可操作来使得计算机执行如上述方法实施例中终端、接 入网设备、接入和移动性管理功能网元或会话管理功能网元所描述的部分或全部步骤。
本申请实施例还提供了一种计算机程序产品,其中,该计算机程序产品包括计算机程序,并且该计算机程序可操作来使计算机执行如上述方法实施例中终端、接入网设备、接入和移动性管理功能网元或会话管理功能网元所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
本申请实施例所描述的方法或者算法的步骤可以以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器RAM、闪存、ROM、EPROM、电可擦可编程只读存储器(electrically ePROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(application specific integrated circuit,ASIC)中。另外,该ASIC可以位于接入网设备、网络设备或核心网网关中。当然,处理器和存储介质也可以作为分立组件存在于接入网设备、网络设备或核心网网关中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘)、或者半导体介质(例如,固态硬盘)等。
以上所述的具体实施方式,对本申请实施例的目的、技术方案和有益效果进行了进一步详细说明,可以理解的是,上述仅为本申请实施例的具体实施方式而已,并不用于限定本申请实施例的保护范围,凡在本申请实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请实施例的保护范围之内。

Claims (20)

  1. 一种数据通信方法,其特征在于,所述方法包括:
    用户设备向网络设备发送配置有过程事务标识的第一会话管理消息;
    所述用户设备接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;
    所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。
  2. 根据权利要求1所述的方法,其特征在于,所述第一定时器的计时范围大于或等于所述用户设备第n次接收到所述第二会话管理消息与第n+1次接收到所述第二会话管理消息之间的时间间隔,小于所述用户设备第n次接收到所述第二会话管理消息与第n+2次接收到所述第二会话管理消息之间的时间间隔,所述n为正整数。
  3. 根据权利要求1所述的方法,其特征在于,所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,包括:
    所述用户设备在所述第一定时器的计时范围内未再次接收到所述第二会话管理消息时,释放所述过程事务标识。
  4. 根据权利要求1所述的方法,其特征在于,所述用户设备根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,包括:
    所述用户设备在所述第一定时器的计时范围内再次接收到所述第二会话管理消息时,获取所述计数器当前记录的所述第一定时器的启动次数;
    在所述启动次数等于预设次数阈值时,所述用户设备向所述网络设备发送所述第三会话管理消息,并释放所述过程事务标识。
  5. 根据权利要求4所述的方法,其特征在于,所述用户设备获取所述计数器当前记录的所述第一定时器的启动次数之后,所述方法还包括:
    在所述启动次数小于所述预设次数阈值时,所述用户设备重启所述第一定时器,向所述网络设备发送所述第三会话管理消息。
  6. 根据权利要求1~5任一项所述的方法,其特征在于,
    所述第一会话管理消息包括会话修改请求PDU SESSION MODIFICATION REQUEST或会话释放请求PDU SESSION RELEASE REQUEST,
    所述第二会话管理消息包括会话修改命令PDU SESSION MODIFICATION COMMAND或会话释放命令PDU SESSION RELEASE COMMAND,
    所述第三会话管理消息包括会话修改完成消息PDU SESSION MODIFICATION COMPLETE、会话修改拒绝消息PDU SESSION MODIFICATION COMMAND REJECT或会话释放完成消息PDU  SESSION RELEASE COMPLETE中的任一种。
  7. 一种数据通信方法,其特征在于,所述方法包括:
    网络设备接收来自用户设备的第一会话管理消息,所述第一会话管理消息携带过程事务标识;
    所述网络设备向所述用户设备发送第二会话管理消息,开启第二定时器,所述第二会话管理消息携带所述过程事务标识;
    所述网络设备根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,所述第二预设操作用于结束会话,所述第二消息接收状态包括接收到来自所述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,所述第三会话管理消息携带所述过程事务标识。
  8. 根据权利要求7所述的方法,其特征在于,所述网络设备根据在所述第二定时器的计时范围内的消息接收状态执行第二预设操作,包括:
    所述网络设备在所述第二定时器的计时范围内接收到来自所述用户设备的第三会话管理消息时,结束会话。
  9. 根据权利要求7所述的方法,其特征在于,所述网络设备根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,包括:
    所述网络设备在所述第二定时器的计时范围内未接收到来自所述用户设备的第三会话管理消息时,重启所述第二定时器,并向所述用户设备重传所述第二会话管理消息。
  10. 根据权利要求9所述的方法,其特征在于,所述网络设备在所述第二定时器的计时范围内未接收到来自所述用户设备的第三会话管理消息时,重启所述第二定时器,并向所述用户设备重传所述第二会话管理消息之后,所述方法还包括:
    所述网络设备在所述重传次数达到预设次数阈值后,停止所述第二定时器,并结束会话。
  11. 一种数据通信装置,其特征在于,应用于用户设备,所述数据通信装置包括处理单元和通信单元,所述处理单元用于:
    通过所述通信单元向网络设备发送配置有过程事务标识的第一会话管理消息;
    通过所述通信单元接收来自网络设备的第二会话管理消息,开启第一定时器和计数器,并向所述网络设备发送第三会话管理消息,所述第二会话管理消息和所述第三会话管理消息携带所述过程事务标识,所述计数器用于记录所述第一定时器的启动次数;
    根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作,所述第一消息接收状态包括再次接收到所述第二会话管理消息和未再次接收到所述第二会话管理消息,所述第一预设操作用于释放所述过程事务标识,所述第一定时器的计时范围根据所述用户设备接收到所述第二会话管理消息的时间间隔来设定。
  12. 根据权利要求11所述的数据通信装置,其特征在于,所述第一定时器的计时范围大于或等于所述用户设备第n次接收到所述第二会话管理消息与第n+1次接收到所述第二会话管理消息之间的时间间隔,小于所述用户设备第n次接收到所述第二会话管理消息与第n+2次接收到所述第二会话管理消息之间的时间间隔,所述n为正整数。
  13. 根据权利要求11所述的数据通信装置,其特征在于,在根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作 方面,所述处理单元具体用于:
    在所述第一定时器的计时范围内未再次接收到所述第二会话管理消息时,释放所述过程事务标识。
  14. 根据权利要求11所述的数据通信装置,其特征在于,在根据在所述第一定时器的计时范围内的第一消息接收状态和所述计数器记录的启动次数中的任一项或任意组合执行第一预设操作方面,所述处理单元具体用于:
    在所述第一定时器的计时范围内再次接收到所述第二会话管理消息时,获取所述计数器当前记录的所述第一定时器的启动次数;
    在所述启动次数等于预设次数阈值时,向所述网络设备发送所述第三会话管理消息,并释放所述过程事务标识。
  15. 根据权利要求14所述的数据通信装置,其特征在于,在获取所述计数器当前记录的所述第一定时器的启动次数之后方面,所述处理单元还用于:
    在所述启动次数小于所述预设次数阈值时,重启所述第一定时器,向所述网络设备发送所述第三会话管理消息。
  16. 根据权利要求11~15任一项所述的数据通信装置,其特征在于,所述第一会话管理消息包括会话修改请求PDU SESSION MODIFICATION REQUEST或会话释放请求PDU SESSION RELEASE REQUEST,
    所述第二会话管理消息包括会话修改命令PDU SESSION MODIFICATION COMMAND或会话释放命令PDU SESSION RELEASE COMMAND,
    所述第三会话管理消息包括会话修改完成消息PDU SESSION MODIFICATION COMPLETE、会话修改拒绝消息PDU SESSION MODIFICATION COMMAND REJECT或会话释放完成消息PDU SESSION RELEASE COMPLETE中的任一种。
  17. 一种数据通信装置,其特征在于,应用于网络设备,所述数据通信装置包括处理单元和通信单元,所述处理单元用于:
    通过所述通信单元接收来自用户设备的第一会话管理消息,所述第一会话管理消息携带过程事务标识;
    通过所述通信单元向所述用户设备发送第二会话管理消息,开启第二定时器,所述第二会话管理消息携带所述过程事务标识;
    根据在所述第二定时器的计时范围内的第二消息接收状态执行第二预设操作,所述第二预设操作用于结束会话,所述第二消息接收状态包括接收到来自所述用户设备的第三会话管理消息和未接收到来自所述用户设备的所述第三会话管理消息,所述第三会话管理消息携带所述过程事务标识。
  18. 一种用户设备,其特征在于,包括应用处理器、存储器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述应用处理器执行,所述程序包括用于执行如权利要求1~6任一项所述的方法中的步骤的指令。
  19. 一种网络设备,其特征在于,包括应用处理器、存储器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述应用处理器执行,所述程序包括用于执行如权利要求7~10任一项所述的方法中的步骤的指令。
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机 程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1~6或7~10中任一项所述的方法。
PCT/CN2021/108707 2020-09-02 2021-07-27 数据通信方法及相关装置 WO2022048348A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21863416.0A EP4210402A1 (en) 2020-09-02 2021-07-27 Data communication method and related apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010910729.8 2020-09-02
CN202010910729.8A CN112040538B (zh) 2020-09-02 2020-09-02 数据通信方法及相关装置

Publications (1)

Publication Number Publication Date
WO2022048348A1 true WO2022048348A1 (zh) 2022-03-10

Family

ID=73591242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108707 WO2022048348A1 (zh) 2020-09-02 2021-07-27 数据通信方法及相关装置

Country Status (3)

Country Link
EP (1) EP4210402A1 (zh)
CN (1) CN112040538B (zh)
WO (1) WO2022048348A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040538B (zh) * 2020-09-02 2023-05-26 Oppo广东移动通信有限公司 数据通信方法及相关装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428742A (zh) * 2009-05-20 2012-04-25 高通股份有限公司 事务管理
WO2019076936A1 (en) * 2017-10-16 2019-04-25 Telefonaktiebolaget Lm Ericsson (Publ) AVOIDING MULTIPLE SIGNALING RETRANSMISSIONS TRANSPORTED BY A 5G NAS TRANSPORT
CN112040538A (zh) * 2020-09-02 2020-12-04 Oppo广东移动通信有限公司 数据通信方法及相关装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146341B (zh) * 2006-09-12 2011-11-16 华为技术有限公司 一种媒体无关切换中避免重复执行事务的方法及装置
US9066354B2 (en) * 2008-09-26 2015-06-23 Haipeng Jin Synchronizing bearer context
CA2812944C (en) * 2010-09-28 2016-09-20 Research In Motion Limited Method and apparatus for releasing connection with local gw when ue moves out of the residential/enterprise network coverage
CN101984718A (zh) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 信令传输方法及用户设备
KR102065698B1 (ko) * 2012-07-09 2020-02-11 엘지전자 주식회사 무선 통신 시스템에서 drx 동작을 따르는 상향링크 전송을 제어하는 방법 및 장치
WO2017019118A1 (en) * 2015-07-28 2017-02-02 Intel Corporation Network attach process through a combined general packet radio service (gprs) attach message and a packet data protocol (pdp) context activation procedure
US20180359660A1 (en) * 2017-06-09 2018-12-13 Qualcomm Incorporated System and method for maintaining a network connection
CN110166407B (zh) * 2018-02-12 2020-10-23 华为技术有限公司 QoS流处理方法、设备及系统
US20190313311A1 (en) * 2018-04-09 2019-10-10 Mediatek Inc. Apparatuses, service networks, and methods for handling plmn-specific parameters for an inter-plmn handover
CN110830925B (zh) * 2018-08-14 2021-10-19 华为技术有限公司 一种用户群组的会话管理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428742A (zh) * 2009-05-20 2012-04-25 高通股份有限公司 事务管理
WO2019076936A1 (en) * 2017-10-16 2019-04-25 Telefonaktiebolaget Lm Ericsson (Publ) AVOIDING MULTIPLE SIGNALING RETRANSMISSIONS TRANSPORTED BY A 5G NAS TRANSPORT
CN112040538A (zh) * 2020-09-02 2020-12-04 Oppo广东移动通信有限公司 数据通信方法及相关装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Non-Access-Stratum (NAS) protocol for 5G System (5GS); Stage 3; (Release 16)", 3GPP STANDARD; TECHNICAL SPECIFICATION; 3GPP TS 24.501, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. CT WG1, no. V16.5.1, 17 July 2020 (2020-07-17), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 709, XP051925239 *

Also Published As

Publication number Publication date
CN112040538A (zh) 2020-12-04
EP4210402A1 (en) 2023-07-12
CN112040538B (zh) 2023-05-26

Similar Documents

Publication Publication Date Title
JP7359952B2 (ja) Harqプロセス管理方法および装置、端末、ならびに記憶媒体
WO2019091233A1 (zh) 一种带宽切换方法及装置
TWI482523B (zh) 處理觸發暫存器狀態報告之計時器的方法及通訊裝置
JP4796181B2 (ja) 通信品質制御システム
US10225830B2 (en) Processing method of data packet, terminal, base station and system
WO2019100937A1 (zh) 一种进行数据传输的方法和设备
CN103166949A (zh) 用于提高数据吞吐量的通信协议技术
KR20130136539A (ko) 무선 액세스 기술 간 서비스 재시도 동안 세션 콘텍스트를 보존하기 위한 방법들 및 장치들
WO2019140663A1 (zh) 基于定时器切换带宽部分的方法、终端设备和网络设备
WO2022052888A1 (zh) 用户设备执行的方法以及用户设备
JP6765446B2 (ja) サービスデータ伝送方法、端末およびネットワーク側機器
CN112399468A (zh) 一种数据传输方法及接收设备
WO2007048328A1 (fr) Méthode et équipement d’accès en liaison amont
WO2022048348A1 (zh) 数据通信方法及相关装置
JP6987143B2 (ja) ハイブリッド自動再送要求フィードバック方法及び装置
CN112153691A (zh) 数据包传输的方法和通信装置
WO2019127465A1 (zh) 管理定时器、传输信息的方法、终端设备和网络设备
JP2022509131A (ja) 無線通信方法、端末装置及びネットワーク装置
WO2021085259A1 (ja) 無線端末及びその方法
CN115397003A (zh) 注册信息同步方法、装置、设备及介质
WO2018126410A1 (zh) 数据传输方法及终端与网络设备
WO2020151650A1 (zh) 无线链路控制层的重置方法和用户设备
TWI689214B (zh) 用於短訊息服務重傳之方法及其裝置
CN112770412B (zh) 一种分组数据网pdn激活方法及其装置
WO2023070661A1 (zh) 数据传输方法、终端设备、计算机存储介质及程序产品

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021863416

Country of ref document: EP

Effective date: 20230403