WO2023066240A1 - Hyper-frame number (hfn) processing method and apparatus, terminal, and base station - Google Patents
Hyper-frame number (hfn) processing method and apparatus, terminal, and base station Download PDFInfo
- Publication number
- WO2023066240A1 WO2023066240A1 PCT/CN2022/125884 CN2022125884W WO2023066240A1 WO 2023066240 A1 WO2023066240 A1 WO 2023066240A1 CN 2022125884 W CN2022125884 W CN 2022125884W WO 2023066240 A1 WO2023066240 A1 WO 2023066240A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- hfn
- data packet
- pdcp data
- pdcp
- network side
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 68
- 238000012545 processing Methods 0.000 claims abstract description 67
- 230000011664 signaling Effects 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000005856 abnormality Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 102100022734 Acyl carrier protein, mitochondrial Human genes 0.000 description 4
- 101000678845 Homo sapiens Acyl carrier protein, mitochondrial Proteins 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
Definitions
- the present disclosure relates to the field of wireless technologies, and in particular, refers to a Hyper Frame Number (Hyper Frame Number, HFN) processing method, device, terminal, and base station.
- HFN Hyper Frame Number
- the Packet Data Convergence Protocol Layer (PDCP) on the network side performs operations such as integrity protection and encryption on the PDCP data packets , the data packet number corresponding to the PDCP data packet will be used, that is, the COUNT value, and the terminal side will perform the corresponding integrity check and decryption operation after receiving the PDCP data (data) protocol data unit (Protocol Data Unit, PDU)
- the COUNT value corresponding to the PDCP data PDU will also be used.
- MBS multicast broadcast service
- MBS Radio Bearer MRB
- the MBS data may have been transmitted on the MRB for a period of time, that is, the COUNT value of the PDCP data PDU has accumulated to a specific value, that is, the first PDCP received by the terminal
- the COUNT value corresponding to the data PDU is not 0, and the value of the Hyper Frame Number (Hyper Frame Number, HFN) in the corresponding COUNT value may not be 0 either.
- the terminal follows the unicast mechanism and thinks that the HFN corresponding to the first received PDCP data PDU starts from 0, there will be a corresponding relationship between the PDCP data PDU and the COUNT value received by the terminal side and the corresponding correspondence between the network side different situations.
- the specific method may be that the network side device sends the specific value of HFN to the terminal through radio resource control (Radio Resource Control, RRC) signaling.
- RRC Radio Resource Control
- the network side device can send the PDCP data PDU after the terminal receives the HFN.
- the terminal needs a certain processing delay to receive RRC signaling, for example, when the channel quality is poor, the retransmission of the Radio Link Control (RLC) protocol will cause delays in receiving RRC signaling, and it may also be Since the HFN and the PDCP data PDU are sent to the terminal by different network units, the initial HFN received by the terminal is inconsistent with the HFN actually used in the PDCP data PDU.
- RLC Radio Link Control
- the purpose of the present disclosure is to provide a Hyper Frame Number (Hyper Frame Number, HFN) processing method, device, terminal and base station, which are used to solve the asynchrony between the initial HFN received by the terminal and the HFN actually used in the PDCP data PDU in the related art The problem.
- HFN Hyper Frame Number
- An embodiment of the present disclosure provides a method for processing a hyperframe number HFN, which is executed by a terminal, and the method includes:
- the PDCP packet further includes HFN update indication information
- the HFN update indication information is used to indicate that the first HFN and the second HFN corresponding to the PDCP packet sent by the network side device Whether the two HFNs are the same;
- determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the HFN processing method wherein the HFN update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, or through the PDCP protocol data unit of the PDCP packet Control (control) PDU transmission.
- the HFN processing method wherein the processing the first HFN includes:
- a value obtained by adding 1 to the second HFN is determined as the first HFN.
- the processing the first HFN includes:
- the corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- the HFN processing method wherein the determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the network side device According to the first sequence number (Sequence Number, SN) and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is determined by the second HFN
- the network side device sends the signaling to the terminal.
- the HFN processing method wherein the method also includes:
- the first window determines the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
- determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the HFN processing method wherein the method also includes:
- the method after receiving the PDCP data packet sent by the network side device, the method further includes:
- the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- An embodiment of the present disclosure also provides a method for processing a hyperframe number HFN, which is executed by a network side device, and the method includes:
- the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- the HFN number update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- An embodiment of the present disclosure also provides a terminal, which includes a memory, a transceiver, and a processor:
- the memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:
- the terminal wherein, the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate the first HFN and the second HFN corresponding to the PDCP data packet sent by the network side device whether the same;
- the processor determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
- the terminal wherein the HFN update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or through the PDCP control ( control) PDU is sent.
- the processor processes the first HFN, specifically:
- a value obtained by adding 1 to the second HFN is determined as the first HFN.
- the processor processes the first HFN, specifically:
- the corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- the processor determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
- the first SN and the second SN in the PDCP data packet determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
- the terminal wherein the processor is further configured to:
- the first window determines the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
- determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the terminal wherein the processor is further configured to:
- the processor is further configured to:
- the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- An embodiment of the present disclosure also provides a network side device, which includes a memory, a transceiver, and a processor:
- the memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:
- the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- the HFN number update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- An embodiment of the present disclosure also provides an apparatus for processing a hyperframe number HFN, wherein, executed by a terminal, the apparatus includes:
- a receiving unit configured to receive a PDCP packet sent by a network side device
- a determining unit configured to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, wherein the second HFN is sent to the terminal by the network side device through signaling;
- a processing unit configured to process the first HFN if the first HFN is different from the second HFN.
- the present disclosure also provides a hyperframe number HFN processing apparatus in another embodiment, wherein, executed by a network side device, the apparatus includes:
- a sending unit configured to send a PDCP packet to the terminal
- the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- An embodiment of the present disclosure also provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the supercomputer described in any one of the preceding items.
- Frame number HFN processing method is used to enable the processor to execute the supercomputer described in any one of the preceding items.
- the HFN processing method described in the embodiments of the present disclosure can indicate whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially sent to the terminal when the network side device sends the PDCP data packet, and determine the PDCP data packet
- the corresponding first HFN is different from the HFN initially sent to the terminal by the network side device, it can process the first HFN corresponding to the PDCP data packet, and determine the updated HFN, so that for the received PDCP data packet, the terminal determines the The HFN is synchronized with the HFN when the network side device sends data.
- FIG. 1 is a schematic structural diagram of a system to which the method described in an embodiment of the present disclosure is applied;
- FIG. 2 is a schematic diagram illustrating the process of SN flipping
- FIG. 3 is a schematic flow diagram of the HFN treatment method described in one embodiment of the present disclosure.
- FIG. 4 is one of the implementation structures of HFN update instruction information in an embodiment of the present disclosure
- FIG. 5 is the second implementation structure of HFN update indication information in an embodiment of the present disclosure.
- FIG. 6 is the third implementation structure of HFN update instruction information in the embodiment of the present disclosure.
- FIG. 7 is a schematic diagram of the principles of the first window and the second window set in the embodiment of the present disclosure.
- Fig. 8 is a schematic flow chart of the HFN treatment method according to another embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a network side device according to an embodiment of the present disclosure.
- Fig. 11 is a schematic structural diagram of the HFN processing device according to one embodiment of the present disclosure.
- Fig. 12 is a schematic structural diagram of an HFN processing device according to another embodiment of the present disclosure.
- the HFN processing method, device, terminal, and network side equipment provided in the embodiments of the present disclosure may be applied in a wireless communication system.
- the wireless communication system may be a system using the fifth generation (5th Generation, 5G) mobile communication technology (hereinafter referred to as 5G system).
- 5G system fifth generation mobile communication technology
- 5G system is only an example and not a limitation.
- FIG. 1 is a structural diagram of a network system to which an embodiment of the present disclosure is applicable.
- it can be a mobile phone, a tablet computer (Tablet Personal Computer, TPC), a laptop computer (Laptop Computer, LC), a personal digital assistant (personal digital assistant, PDA), a mobile Internet device (Mobile Internet Device, MID) or a terminal-side device such as a wearable device (Wearable Device, WD), it should be noted that, in the embodiment of the present disclosure, the specific type of the user terminal 11 is not limited.
- the above-mentioned network side device 12 may be a base station of 5G and later versions (for example: the next generation base station (the next Generation Node B, gNB), 5G NR wireless base station (Node B, NB)), or a base station in other communication systems, or It is called Node B.
- the next generation base station the next Generation Node B, gNB
- 5G NR wireless base station Node B, NB
- Node B a base station in other communication systems
- the base station informs the user terminal of the service data through Radio Resource Control (RRC) signaling mapping and configuration.
- RRC Radio Resource Control
- the downlink data arrives at the radio access network (Radio Access Network, RAN) in the form of Quality of Service flow (QoS flow) packets, and the service data adaptation protocol layer (Service Data The Adaptation Protocol Layer (SDAP) treats data packets as SDAP Service Data Units (Service Data Units, SDUs) and maps them to the correct downlink radio bearer as SDAP Protocol Data Units (Protocol Data Units, PDUs).
- SDAP Service Data Unit
- PDUs Packet Data Convergence Protocol Layer
- PDCP Packet Data Convergence Protocol Layer
- the PDCP layer After receiving the SDAP PDU, the PDCP layer processes it as a PDCP SDU. Specifically, the following processing should be performed in sequence: After receiving the data packets from the upper layer, the PDCP layer will number each data packet (called COUNT value) before transmission, and the first few bits of the data packet number are called superframes Number (Hyper Frame Number, HFN), and the last few digits of the packet number are called PDCP Sequence Number (Sequence Number, SN).
- COUNT value the first few bits of the data packet number
- HFN superframes Number
- PDCP Sequence Number Sequence Number
- Radio Link Control Radio Link Control
- each PDCP PDU will maintain an SN.
- the role of the SN mainly includes: to maintain the position of the PDCP PDU in the PDCP cache, to form a COUNT value together with the HFN, to encrypt, decrypt and sort the PDCP PDU, etc.
- the length of the SN can include various types.
- the lengths of the PDCP SN number are 12 bits (bit) and 18 bits respectively.
- the downlink (Down Link, DL) receiving window length of the PDCP entity is set to 2[pdcp-SN-SizeDL]–1.
- PDCP-SN-SizeDL is the length of the downlink SN number. It can be seen that the longer the SN length, the larger the PDCP window, and the larger the occupied buffer; on the contrary, the smaller the SN length, the smaller the PDCP window, and the smaller the occupied buffer.
- the terminal will maintain HFN independently.
- HFN will be set to 0.
- the window slides, causing SN to exceed the maximum length of the window HFN will automatically flip.
- the service may have been carried out for a period of time.
- the network side device can use the radio resource control (Radio Resource Control, RRC) The signaling sends the specific value of the HFN to the terminal.
- RRC Radio Resource Control
- the network-side device After the network-side device sends the specific value of HFN to the terminal through signaling, and after the terminal receives the HFN, the network-side device sends PDCP data PDU.
- the terminal needs a certain processing delay to receive RRC signaling, for example, when the channel quality is poor, the retransmission of the Radio Link Control (RLC) protocol will cause delays in receiving RRC signaling, and it may also be Since the HFN and the PDCP data PDU are sent to the terminal by different network units, the initial HFN received by the terminal is inconsistent with the HFN actually used in the PDCP data PDU.
- RLC Radio Link Control
- the HFN of the PDCP data PDU sent by the network side device has already An update has been made. For example, because the SN has been reversed, that is, the SN has reached the maximum value, it needs to start counting from zero, and the HFN needs to be incremented by 1. As a result, the initial HFN obtained by the terminal is inconsistent with the HFN actually used in the received PDCP data PDU question.
- an embodiment of the present disclosure provides a HFN processing method, which can indicate whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially sent to the terminal when the network side device sends the PDCP data packet, And when it is determined that the first HFN corresponding to the PDCP data packet is different from the HFN initially sent to the terminal by the network side device, the first HFN corresponding to the PDCP data packet can be processed to determine the updated HFN, so that for the received PDCP For data packets, the HFN determined by the terminal is kept in sync with the HFN when the network side device sends data.
- one of the embodiments provides a HFN processing method, which is executed by the terminal, as shown in FIG. 3 , the method includes:
- the HFN processing method described in the embodiments of the present disclosure is applied to the HFN data transmission method in which the network side device sends the PDCP data packet to the terminal before sending the PDCP data packet to the terminal.
- the PDCP data packet sent by the network side device may be but not limited to be MBS data.
- the network side device sends the HFN of the PDCP data packet to be sent to the terminal, such as the second HFN.
- the terminal determines the HFN number of the received PDCP data packet according to the HFN indicated by the network side device before sending the PDCP data packet, adopts the HFN processing method described in the embodiment of the present disclosure, and according to the PDCP number sent by the network side device data packet, the terminal judges whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially indicated by the network side device, so as to avoid the HFN determined by the terminal being out of sync with the HFN when the network side device sends data question.
- the HFN the HFN (second HFN) initially indicated by the network side device
- the method also includes:
- the data configuration information includes the second HFN.
- the data configuration information is MBS configuration information.
- the data configuration information is sent through RRC signaling.
- the MBS configuration information also includes at least one of MBS resource location, logical channel configuration information and radio network temporary identity (Radio Network Temporary Identity, RNTI) information.
- RNTI Radio Network Temporary Identity
- the terminal feeds back a configuration success message to the network side device.
- the network side device sends a PDCP data packet to the terminal according to the configuration success message sent by the terminal.
- the network side device when the network side device sends a PDCP data packet to the terminal, the network side device directly indicates the HFN number when the network side device sends the PDCP data packet through the sent PDCP data packet Whether it is the first HFN number (that is, indicating whether the first HFN corresponding to the PDCP data packet is the same as the second HFN), can also be understood as indicating whether the HFN of the currently sent PDCP data packet is compared with the initially indicated HFN An update occurs.
- the PDCP data packet when receiving the PDCP data packet sent by the network side device, the PDCP data packet includes HFN number update indication information, which is used to indicate the first HFN corresponding to the PDCP data packet sent by the network side device. Whether the second HFN is the same.
- the HFN number update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or is sent through the PDCP control PDU of the PDCP data packet.
- the PDCP data packet sent by the network side device includes a preset indicator bit, where the preset indicator bit is a first value, such as 1, indicating the first HFN corresponding to the PDCP data packet Different from the second HFN, that is, compared with the second HFN indicated by the network side device before sending the PDCP data packet, the HFN of the PDCP data packet sent by the network side device has been updated; the preset indication bit is the second The value, if it is 0, indicates that the first HFN corresponding to the PDCP data packet is the same as the second HFN, that is, compared with the second HFN indicated by the network side device before sending data, the data packet sent by the network side device HFN did not update.
- the preset indicator bit is a first value, such as 1, indicating the first HFN corresponding to the PDCP data packet Different from the second HFN, that is, compared with the second HFN indicated by the network side device before sending the PDCP data packet, the HFN of the PDCP data packet sent by the network
- the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, as shown in Figure 4, the HFN number update instruction information is in the PDCP data PDU
- the indication bit I in the message header of the PDCP data PDU is the HFN number update indication information.
- the HFN number update indication information may include 1 bit, which is used to indicate that the network side device indicates before sending the data.
- the second HFN is whether the HFN of the PDCP packet sent by the network side device has been updated.
- the message header also includes the SN of the sent PDCP data.
- the indication bit I is the first value, if it is 1, it is used to indicate that the HFN of the PDCP data packet sent by the network side device has been updated compared to the second HFN indicated by the network side device before sending data , that is, the first HFN corresponding to the PDCP data packet is different from the second HFN; when the indicator bit I is the second value, such as 0, it is used to indicate that it is compared with the second HFN indicated by the network side device before sending data The HFN of the PDCP data packet sent by the network side device is not updated, that is, the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the data, as shown in Figure 5, the HFN number update instruction information is sent in the message header of the PDCP data PDU , the message header of the PDCP data PDU includes an indication bit I and a number bit HFNL.
- the indication bit I may include 1 bit, which is used to indicate whether the HFN of the PDCP data packet sent by the network side device has been updated compared with the second HFN indicated by the network side device before sending data, that is, indicates that the PDCP Whether the first HFN corresponding to the data packet is the same as the second HFN.
- the number bit HFNL, the length is Nbit, and N is an integer greater than 1.
- the HFN used to instruct the network side device to send the PDCP data packet has been updated.
- the lowest HFN (that is, the first HFN)
- N is an integer greater than or equal to 1; that is, the value from the first bit to the Nth bit used to indicate the first HFN; wherein, the first bit is the lowest bit of the first HFN, N is an integer greater than or equal to 1.
- the number bit HFNL indicates only the value of the lowest bit of the first HFN.
- the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP control protocol data unit PDU of the data, that is, the PDCP control PDU is added to send the HFN number update instruction information.
- the packet data convergence protocol layer PDCP control protocol data unit PDU of the data that is, the PDCP control PDU is added to send the HFN number update instruction information.
- the HFN number update indication information sent by the PDCP control PDU includes the number bit HFNL, the length is M bits, and M is an integer greater than or equal to 1,
- the HFN used to instruct the network side device to send the PDCP data packet is updated, and the value corresponding to the lowest N bits of the updated HFN (that is, the first HFN), where N is an integer greater than or equal to 1 ; That is, the value from the first bit to the Nth bit used to indicate the first HFN; wherein, the first bit is the lowest bit of the first HFN, and N is an integer greater than or equal to 1.
- N is equal to 1
- the number bit HFNL indicates only the value of the lowest bit of the first HFN.
- processing the first HFN includes:
- a value obtained by adding 1 to the second HFN is determined as the first HFN.
- the processing of the first HFN includes:
- the corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- the PDCP data packet sent by the network side device indicates the HFN number update instruction information
- the specific implementation process using this embodiment includes the following steps:
- the terminal receives the MBS configuration information sent by the network side device; optionally, the MBS configuration information includes MBS resource location, logical channel configuration information, RNTI information and the second HFN of the PDCP data packet to be sent.
- the MBS configuration information includes MBS resource location, logical channel configuration information, RNTI information and the second HFN of the PDCP data packet to be sent.
- the SN length is set to 18bit
- the second HFN can be set to 10010001001001;
- the terminal After receiving the MBS configuration information, the terminal feeds back a successful configuration message to the network side device;
- the network side device After receiving the configuration success message sent by the terminal, the network side device sends a PDCP data packet of MBS data to the terminal;
- the PDCP data packet sent by the network side device includes HFN update instruction information.
- the terminal determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information, and processes the first HFN when it is determined that the first HFN is different from the second HFN.
- the HFN number update indication information when the HFN number update indication information only includes the indication bit 1, it is used to indicate whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, according to the indication bit 1 , to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- the value of the indicator bit 1 when the value of the indicator bit 1 is 1, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is updated, and it is considered that the SN A rollover has occurred, and it is determined that the value of the first HFN should be increased by 1 compared to the value of the second HFN.
- the value obtained by adding 1 to the second HFN is determined as the first HFN.
- the second HFN is 10010001001001
- the first HFN obtained by adding 1 is 10010001001010.
- the HFN corresponding to the PDCP data packet is the same as the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is not updated, and it is determined that the PDCP data packet corresponds to The first HFN of is equal to the second HFN, that is, 10010001001001.
- the PDCP data packet sent by the network side device is judged according to the value of the indicator bit 1 Whether the corresponding first HFN is the same as the second HFN.
- the value of the indicator bit 1 is 1, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is updated, and the SN is considered to be reversed;
- the value of the indication bit 1 is 0, it is determined that the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- the value of the indication bit 1 is 1, the value indicated by the number bit HFNL is further determined, and the corresponding bit of the second HFN is updated according to the value indicated by the number bit HFNL to obtain the first HFN corresponding to the PDCP packet. HFN.
- the lowest first digit corresponding to the HFN number indicated by HFNL is 0, and the lowest second digit corresponding to the HFN number indicated by HFNL is 0.
- the bit is 1, when the second HFN is 10010001001001, the corresponding bit of the second HFN is updated to obtain that the first HFN corresponding to the PDCP data packet is 10010001001010.
- the HFN number update instruction information is sent through the PDCP control PDU.
- the HFN number update instruction information includes the number bit HFNL.
- the message header of the PDCP control PDU includes the PDU type Type, which is used to indicate that the PDCP control PDU indicates that the first HFN corresponding to the PDCP data packet is updated compared with the second HFN.
- the terminal reads the number bit HFNL in the message header of the PDCP control PDU.
- the lowest first bit of the corresponding HFN number indicated by HFNL is 0, and the lowest second bit of the corresponding HFN number indicated by HFNL is 1.
- the second HFN is 10010001001001, update the corresponding bit of the second HFN to obtain the first HFN corresponding to the PDCP data packet as 10010001001010.
- the HFN processing method according to the SN in the PDCP data packet, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- step S320 determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the first SN and the second SN in the PDCP data packet determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
- the network side device when the network side device sends the second HFN to the terminal, it also sends to the terminal the first SN corresponding to the PDCP data packet to be sent, so that the terminal can determine according to the first SN and the second SN in the PDCP data packet Whether the first HFN corresponding to the sent PDCP data packet is the same as the second HFN.
- the MBS configuration information when the PDCP data packet is MBS data, when the network side device sends MBS configuration information to the terminal, the MBS configuration information includes the first SN and the second HFN.
- the MBS configuration information includes MBS resource location, logical channel configuration information, RNTI information, the second HFN corresponding to the PDCP data packet to be sent, and the first SN corresponding to the PDCP data packet to be sent.
- the terminal after receiving the MBS configuration information sent by the network side device, the terminal feeds back a configuration success message to the network side device.
- the method further includes: determining a first window and a second window according to the first SN; wherein, the first window is [SNini, 2maxSN–1-1], The second window is [0, 2maxSN ⁇ 1-1-SNini]; SNini is the first SN, and maxSN is the maximum value of SN.
- step S320 according to the first SN and the second SN in the PDCP data packet, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, including:
- the terminal determines the SN in the PDCP data packet, that is, obtains the second SN, compares the second SN with the first window and the second window, and determines that the second SN belongs to the Which window can determine whether the SN is reversed, so as to further determine whether the first HFN and the second HFN corresponding to the PDCP data packet are the same.
- the number range [0, maxSN] of the SN can be divided into two windows, that is, the first SN
- the first window [SNini, 2maxSN–1-1] and the second window [0, 2maxSN–1-1-SNini] it can be understood that when the SN does not flip, the sent PDCP packets continue to be numbered from SNini, It is located in the first window; when the SN flips, the sent PDCP data packets are numbered from 0, and the renumbered SN will be in the second window.
- the second SN in the PDCP data packet comparing the second SN with the first window and the second window, it can be determined whether the SN is reversed, thereby further determining the first HFN and the first HFN corresponding to the PDCP data packet. Whether the second HFN is the same.
- the first HFN is processed , determining a value obtained by adding 1 to the second HFN as the first HFN corresponding to the PDCP data packet.
- the terminal when the second SN is outside the first SN window and the second SN window, the terminal considers that it has received an illegal PDCP packet, and feeds back abnormality report information to the network side device, using An abnormality occurred in the feedback current link.
- the first HFN corresponding to the PDCP data packet is the same as the second HFN by using any of the above-mentioned implementation methods, it is determined that the first HFN corresponding to the PDCP data packet sent by the network side device is also equal to the second HFN. HFN.
- the HFN processing method described in the embodiment of the present disclosure after receiving the PDCP data packet sent by the network side device, the method further includes:
- the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- the corresponding HFN of the subsequent PDCP data packets received is further determined, that is, determined in the usual way Corresponds to HFN.
- the HFN processing method described in the embodiments of the present disclosure after receiving the PDCP data packet sent by the network side device, it can be determined according to the HFN update indication information in the PDCP data packet, or according to the SN in the PDCP data packet, the corresponding Whether the first HFN of the network side device is the same as the HFN initially sent to the terminal by the network side device, and if it is determined that the two are not the same, process the first HFN corresponding to the PDCP data packet, and determine the updated HFN, so that for the received For PDCP data packets, the HFN determined by the terminal is kept in sync with the HFN when the network side device sends data.
- An embodiment of the present disclosure also provides a method for processing a hyperframe number HFN, which is executed by a network side device, as shown in FIG. 8 , the method includes:
- the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- the PDCP data packet sent by the network side device to the terminal includes HFN update indication information, and according to the HFN update indication information, the terminal can determine the No. 1 corresponding to the PDCP data packet Whether the HFN is the same as the HFN initially sent to the terminal by the network-side device, to ensure that the HFN determined by the terminal is synchronized with the HFN when the network-side device sends data.
- the HFN number update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the specific implementation manner of sending the HFN update indication information through the PDCP data packet can be referred to the above description with reference to FIG. 4 to FIG. 6 , and will not be described in detail here.
- FIG. 9 Another embodiment of the present disclosure also provides a terminal, as shown in FIG. 9 , including a memory 910, a transceiver 920, and a processor 900:
- the memory 910 is used to store computer programs; the transceiver 920 is used to send and receive data under the control of the processor; the processor 900 is used to read the computer programs in the memory and perform the following operations:
- the terminal wherein, the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate the first HFN and the second HFN corresponding to the PDCP data packet sent by the network side device whether the same;
- the processor 900 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, specifically:
- the terminal wherein the HFN update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or through the PDCP control control of the PDCP data packet PDUs are sent.
- the processor 900 processes the first HFN, specifically:
- a value obtained by adding 1 to the second HFN is determined as the first HFN.
- the processor processes the first HFN, specifically:
- the corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- the processor 900 determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
- the first SN and the second SN in the PDCP data packet determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
- the terminal wherein the processor 900 is further configured to:
- the first window determines the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
- determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
- the terminal wherein the processor 900 is further configured to:
- the processor 900 is further configured to:
- the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 900 and various circuits of the memory represented by the memory 910 are linked together.
- the bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein.
- the bus interface provides the interface.
- Transceiver 920 may be a plurality of elements, including a transmitter and a receiver, providing means for communicating with various other devices over transmission media, including wireless channels, wired channels, fiber optic cables, etc. Transmission medium.
- the user interface 930 may also be an interface capable of connecting externally and internally to required equipment, and the connected equipment includes but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
- the processor 900 is responsible for managing the bus architecture and general processing, and the memory 910 can store data used by the processor 900 when performing operations.
- the processor 900 may be a central processing unit (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device ( Complex Programmable Logic Device, CPLD), the processor can also adopt a multi-core architecture.
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- FPGA field programmable gate array
- CPLD Complex Programmable Logic Device
- the processor is used to execute any one of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions by calling the computer program stored in the memory.
- the processor and memory may also be physically separated.
- An embodiment of the present disclosure also provides a network side device, as shown in FIG. 10 , including a memory 1010, a transceiver 1020, and a processor 1000:
- the memory 1010 is used to store computer programs; the transceiver 1020 is used to send and receive data under the control of the processor; the processor 1000 is used to read the computer programs in the memory and perform the following operations:
- the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- the HFN number update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 1000 and various circuits of the memory represented by the memory 1010 are linked together.
- the bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein.
- the bus interface provides the interface.
- the transceiver 1020 may be multiple components, including a transmitter and a receiver, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical cables, and other transmission media.
- the processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1010 can store data used by the processor 1000 when performing operations.
- the processor 1000 may be a central processing device (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device , CPLD), the processor can also adopt a multi-core architecture.
- CPU central processing device
- ASIC Application Specific Integrated Circuit
- FPGA field programmable gate array
- CPLD Complex Programmable Logic Device
- the super frame number HFN processing device 1100 includes:
- a receiving unit 1110 configured to receive a PDCP data packet sent by a network side device
- a determining unit 1120 configured to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, wherein the second HFN is sent to the terminal by the network side device through signaling;
- the processing unit 1130 is configured to process the first HFN if the first HFN is different from the second HFN.
- the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate that the first HFN corresponding to the PDCP data packet sent by the network side device and the second HFN Whether the two HFNs are the same;
- the determining unit 1120 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, specifically:
- the HFN update indication information includes at least one of the following:
- N is an integer greater than or equal to 1.
- the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, or through the PDCP protocol data unit of the PDCP packet Control control PDU transmission.
- processing unit 1130 processes the first HFN, specifically:
- a value obtained by adding 1 to the second HFN is determined as the first HFN.
- the processing unit 1130 processes the first HFN, Specifically:
- the corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- the determining unit 1120 determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, including:
- the first SN and the second SN in the PDCP data packet determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
- the determining unit 1120 is further configured to:
- the first window determines the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
- the determining unit 1120 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the first SN and the second SN in the PDCP data packet, specifically:
- the processing unit 1130 is further configured to:
- the determining unit 1120 is further configured to:
- the hyperframe number HFN processing device 1200 includes:
- a sending unit 1210 configured to send a PDCP data packet to the terminal
- the PDCP data packet includes HFN update indication information
- the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- the HFN number update indication information includes at least one of the following:
- HFN processing method of the present disclosure and the HFN processing device of the HFN are based on the same disclosed concept, can realize all the method steps realized by the above-mentioned method embodiments, and can achieve the same technical effect, here Parts and beneficial effects in this embodiment that are the same as those in the method embodiment will not be described in detail again.
- each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.
- the essence of the technical solution of the present disclosure or the part that contributes to the related technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
- a computer device which may be a personal computer, a server, or a network device, etc.
- a processor processor
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
- An embodiment of the present disclosure also provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the supercomputer described in any one of the preceding items.
- Frame number HFN processing method is used to enable the processor to execute the supercomputer described in any one of the preceding items.
- the processor-readable storage medium may be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (Magneto-Optical disk, MO) etc.) , Optical storage (such as Compact Disk (CD), Digital Versatile Disc (DVD), Blu-ray Disc (Blu-ray Disc, BD), High-Definition Versatile Disc (HVD), etc.), and Semiconductor memory (such as ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), non-volatile memory ( NAND FLASH), Solid State Disk (Solid State Disk, SSD)), etc.
- magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (Magneto-Optical disk, MO) etc.
- Optical storage such as Compact Disk (CD), Digital Versatile Disc (DVD),
- the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
- processor-executable instructions may also be stored in a processor-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the processor-readable memory produce a manufacturing product, the instruction device realizes the functions specified in one or more procedures of the flow chart and/or one or more blocks of the block diagram.
- processor-executable instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented
- the executed instructions provide steps for implementing the functions specified in the procedure or procedures of the flowchart and/or the block or blocks of the block diagrams.
- the division of the above modules is only a division of logical functions, which may be fully or partially integrated into a physical entity or physically separated during actual implementation.
- these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware.
- the determining module may be a separate processing element, or may be integrated into a chip of the above-mentioned device.
- it may also be stored in the memory of the above-mentioned device in the form of program code, and a certain processing element of the above-mentioned device may Call and execute the functions of the modules identified above.
- each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
- each module, unit, subunit or submodule may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or Multiple microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc.
- ASIC Application Specific Integrated Circuit
- DSP digital signal processor
- FPGA Field Programmable Gate Array
- the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call program codes.
- these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
- SOC system-on-a-chip
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present disclosure provides a hyper frame number (HFN) processing method and apparatus, a terminal, and a base station. The method comprises: receiving a PDCP data packet sent by a network-side device; determining whether a first HFN corresponding to the PDCP data packet is the same as a second HFN, the second HFN being sent by the network-side device to a terminal by means of signaling; and if the first HFN is different from the second HFN, processing the first HFN.
Description
相关申请的交叉引用Cross References to Related Applications
本公开主张在2021年10月22日在中国提交的中国专利公开号No.202111237920.1的优先权,其全部内容通过引用包含于此。This disclosure claims priority to Chinese Patent Publication No. 202111237920.1 filed in China on October 22, 2021, the entire contents of which are hereby incorporated by reference.
本公开涉及无线技术领域,尤其是指一种超帧号(Hyper Frame Number,HFN)处理方法、装置、终端及基站。The present disclosure relates to the field of wireless technologies, and in particular, refers to a Hyper Frame Number (Hyper Frame Number, HFN) processing method, device, terminal, and base station.
在目前新空口(New Radio,NR)技术中,在发送业务数据包时,网络侧分组数据汇聚协议层(Packet Data Convergence Protocol Layer,PDCP)在对PDCP数据包进行诸如完整性保护与加密的操作时,会使用到对应PDCP数据包的数据包编号,也即为COUNT值,终端侧在收到PDCP数据(data)协议数据单元(Protocol Data Unit,PDU)后进行相应的完整性检查和解密操作时也同样会使用该PDCP data PDU对应的COUNT值。In the current New Radio (NR) technology, when sending service data packets, the Packet Data Convergence Protocol Layer (PDCP) on the network side performs operations such as integrity protection and encryption on the PDCP data packets , the data packet number corresponding to the PDCP data packet will be used, that is, the COUNT value, and the terminal side will perform the corresponding integrity check and decryption operation after receiving the PDCP data (data) protocol data unit (Protocol Data Unit, PDU) The COUNT value corresponding to the PDCP data PDU will also be used.
对于多播广播服务(Multicast broadcast service,MBS)数据传输来说,依据相关技术所有终端均在相同的多播广播服务无线承载(MBS Radio Bearer,MRB)上接收相同的PDCP data PDU。当特定终端开始接收某个MBS业务对应的MRB时,MBS数据在MRB上可能已经传输了一段时间,即PDCP data PDU的COUNT值已经累加到一个特定数值,也即终端接收到的第一个PDCP data PDU对应的COUNT值并不是0,相应的COUNT值中的超帧号(Hyper Frame Number,HFN)的值也可能不是0。如果终端沿用单播的机制,认为第一个接收到的PDCP data PDU对应的HFN从0开始,则会出现终端侧收到的PDCP data PDU和COUNT值之间的对应关系和网络侧相应的对应关系不同的情况。For multicast broadcast service (Multicast broadcast service, MBS) data transmission, according to related technologies, all terminals receive the same PDCP data PDU on the same multicast broadcast service radio bearer (MBS Radio Bearer, MRB). When a specific terminal starts to receive the MRB corresponding to an MBS service, the MBS data may have been transmitted on the MRB for a period of time, that is, the COUNT value of the PDCP data PDU has accumulated to a specific value, that is, the first PDCP received by the terminal The COUNT value corresponding to the data PDU is not 0, and the value of the Hyper Frame Number (Hyper Frame Number, HFN) in the corresponding COUNT value may not be 0 either. If the terminal follows the unicast mechanism and thinks that the HFN corresponding to the first received PDCP data PDU starts from 0, there will be a corresponding relationship between the PDCP data PDU and the COUNT value received by the terminal side and the corresponding correspondence between the network side different situations.
为了保证MBS业务中,终端侧的HFN是有效的,目前已有研究由网络侧发送HFN至终端的技术。具体方式可以是,网络侧设备通过无线资源控制 (Radio Resource Control,RRC)信令向终端发送HFN具体数值。网络侧设备可以在终端接收到HFN后,发送PDCP data PDU。但是由于终端接收RRC信令需要一定的处理时延,比如当信道质量较差的时候,无线链路层控制协议(Radio Link Control,RLC)重传会造成RRC信令接收的延迟,也有可能是由于HFN与PDCP data PDU为由不同网络单元发送至终端的原因,导致终端接收到的初始HFN与PDCP data PDU中实际使用的HFN不一致。In order to ensure that the HFN on the terminal side is effective in the MBS service, there has been research on the technology of sending the HFN from the network side to the terminal. The specific method may be that the network side device sends the specific value of HFN to the terminal through radio resource control (Radio Resource Control, RRC) signaling. The network side device can send the PDCP data PDU after the terminal receives the HFN. However, because the terminal needs a certain processing delay to receive RRC signaling, for example, when the channel quality is poor, the retransmission of the Radio Link Control (RLC) protocol will cause delays in receiving RRC signaling, and it may also be Since the HFN and the PDCP data PDU are sent to the terminal by different network units, the initial HFN received by the terminal is inconsistent with the HFN actually used in the PDCP data PDU.
发明内容Contents of the invention
本公开的目的在于提供一种超帧号(Hyper Frame Number,HFN)处理方法、装置、终端及基站,用于解决相关技术中终端接收到的初始HFN与PDCP data PDU中实际使用的HFN不同步的问题。The purpose of the present disclosure is to provide a Hyper Frame Number (Hyper Frame Number, HFN) processing method, device, terminal and base station, which are used to solve the asynchrony between the initial HFN received by the terminal and the HFN actually used in the PDCP data PDU in the related art The problem.
本公开实施例提供一种超帧号HFN处理方法,其中,由终端执行,所述方法包括:An embodiment of the present disclosure provides a method for processing a hyperframe number HFN, which is executed by a terminal, and the method includes:
接收网络侧设备发送的PDCP数据包;Receive the PDCP data packet sent by the network side device;
确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;
若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。If the first HFN is different from the second HFN, perform processing on the first HFN.
可选地,所述的HFN处理方法,其中,所述PDCP数据包中还包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;Optionally, in the HFN processing method, wherein, the PDCP packet further includes HFN update indication information, and the HFN update indication information is used to indicate that the first HFN and the second HFN corresponding to the PDCP packet sent by the network side device Whether the two HFNs are the same;
其中,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
根据所述HFN更新指示信息,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information.
可选地,所述的HFN处理方法,其中,所述HFN更新指示信息包括以下至少之一:Optionally, the HFN processing method, wherein the HFN update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
可选地,所述的HFN处理方法,其中,所述HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制(control)PDU发送。Optionally, in the HFN processing method, wherein, the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, or through the PDCP protocol data unit of the PDCP packet Control (control) PDU transmission.
可选地,所述的HFN处理方法,其中,所述对所述第一HFN进行处理,包括:Optionally, the HFN processing method, wherein the processing the first HFN includes:
将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
可选地,所述的HFN处理方法,其中,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,所述对所述第一HFN进行处理,包括:Optionally, in the HFN processing method, in the case where the HFN number update indication includes a value corresponding to the lowest N bits indicating the first HFN, the processing the first HFN includes:
根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
可选地,所述的HFN处理方法,其中,所述确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Optionally, the HFN processing method, wherein the determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
根据第一序列号(Sequence Number,SN)和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧设备通过信令发送至所述终端。According to the first sequence number (Sequence Number, SN) and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is determined by the second HFN The network side device sends the signaling to the terminal.
可选地,所述的HFN处理方法,其中,所述方法还包括:Optionally, the HFN processing method, wherein the method also includes:
根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值;According to the first SN, determine the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
其中,根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, according to the first SN and the second SN in the PDCP data packet, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;
在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
可选地,所述的HFN处理方法,其中,所述方法还包括:Optionally, the HFN processing method, wherein the method also includes:
在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,向网络侧设备反馈异常报告信息。When the second SN is outside the first SN window and the second SN window, feeding back abnormality report information to the network side device.
可选地,所述的HFN处理方法,其中,所述接收网络侧设备发送的PDCP数据包之后,所述方法还包括:Optionally, in the HFN processing method, after receiving the PDCP data packet sent by the network side device, the method further includes:
判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据包;Judging whether the PDCP data packet is the first data packet of the service data of the received MBS service;
在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
本公开实施例还提供一种超帧号HFN处理方法,其中,由网络侧设备执行,所述方法包括:An embodiment of the present disclosure also provides a method for processing a hyperframe number HFN, which is executed by a network side device, and the method includes:
向终端发送PDCP数据包;Send a PDCP packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
可选地,所述的HFN处理方法,其中,所述HFN编号更新指示信息包括以下至少之一:Optionally, in the HFN processing method, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
本公开实施例还提供一种终端,其中,包括存储器、收发机和处理器:An embodiment of the present disclosure also provides a terminal, which includes a memory, a transceiver, and a processor:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:
接收网络侧设备发送的PDCP数据包;Receive the PDCP data packet sent by the network side device;
确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;
若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。If the first HFN is different from the second HFN, perform processing on the first HFN.
可选地,所述的终端,其中,所述PDCP数据包中还包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;Optionally, the terminal, wherein, the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate the first HFN and the second HFN corresponding to the PDCP data packet sent by the network side device whether the same;
其中,所述处理器确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Wherein, the processor determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
根据所述HFN更新指示信息,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information.
可选地,所述的终端,其中,所述HFN更新指示信息包括以下至少之一:Optionally, the terminal, wherein the HFN update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
可选地,所述的终端,其中,所述HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制(control)PDU发送。Optionally, in the terminal, wherein, the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or through the PDCP control ( control) PDU is sent.
可选地,所述的终端,其中,所述处理器对所述第一HFN进行处理,具体为:Optionally, in the terminal, wherein the processor processes the first HFN, specifically:
将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
可选地,所述的终端,其中,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,所述处理器对所述第一HFN进行处理,具体为:Optionally, in the terminal, wherein, in the case where the HFN number update indication includes a value corresponding to the lowest N bits indicating the first HFN, the processor processes the first HFN, specifically:
根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
可选地,所述的终端,其中,所述处理器确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Optionally, in the terminal, wherein the processor determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧设备通过信令发送至所述终端。According to the first SN and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
可选地,所述的终端,其中,所述处理器还用于:Optionally, the terminal, wherein the processor is further configured to:
根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值;According to the first SN, determine the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
其中,根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, according to the first SN and the second SN in the PDCP data packet, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN 与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;
在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
可选地,所述的终端,其中,所述处理器还用于:Optionally, the terminal, wherein the processor is further configured to:
在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,向网络侧设备反馈异常报告信息。When the second SN is outside the first SN window and the second SN window, feeding back abnormality report information to the network side device.
可选地,所述的终端,其中,所述接收网络侧设备发送的PDCP数据包之后,所述处理器还用于:Optionally, in the terminal, after receiving the PDCP data packet sent by the network side device, the processor is further configured to:
判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据包;Judging whether the PDCP data packet is the first data packet of the service data of the received MBS service;
在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
本公开实施例还提供一种网络侧设备,其中,包括存储器、收发机和处理器:An embodiment of the present disclosure also provides a network side device, which includes a memory, a transceiver, and a processor:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:
向终端发送PDCP数据包;Send a PDCP packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
可选地,所述的网络侧设备,其中,所述HFN编号更新指示信息包括以下至少之一:Optionally, in the network side device, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
本公开实施例还提供一种超帧号HFN处理装置,其中,由终端执行,所述装置包括:An embodiment of the present disclosure also provides an apparatus for processing a hyperframe number HFN, wherein, executed by a terminal, the apparatus includes:
接收单元,用于接收网络侧设备发送的PDCP数据包;a receiving unit, configured to receive a PDCP packet sent by a network side device;
确定单元,用于确定所述PDCP数据包对应的第一HFN与第二HFN是 否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;A determining unit, configured to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, wherein the second HFN is sent to the terminal by the network side device through signaling;
处理单元,用于若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。A processing unit, configured to process the first HFN if the first HFN is different from the second HFN.
本公开还提供另一实施例的超帧号HFN处理装置,其中,由网络侧设备执行,所述装置包括:The present disclosure also provides a hyperframe number HFN processing apparatus in another embodiment, wherein, executed by a network side device, the apparatus includes:
发送单元,用于向终端发送PDCP数据包;a sending unit, configured to send a PDCP packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
本公开实施例还提供一种处理器可读存储介质,其中,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行如上任一项所述的超帧号HFN处理方法。An embodiment of the present disclosure also provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the supercomputer described in any one of the preceding items. Frame number HFN processing method.
本公开的上述技术方案的有益效果如下:The beneficial effects of the aforementioned technical solutions of the present disclosure are as follows:
本公开实施例所述HFN处理方法,在网络侧设备发送PDCP数据包时,能够指示PDCP数据包对应的第一HFN是否为初始发送至终端的HFN(第二HFN),并在确定PDCP数据包对应的第一HFN与网络侧设备初始发送至终端的HFN不相同时,能够对PDCP数据包对应的第一HFN进行处理,确定更新后的HFN,以使对于所接收PDCP数据包,终端所确定的HFN与网络侧设备发送数据时的HFN保持同步。The HFN processing method described in the embodiments of the present disclosure can indicate whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially sent to the terminal when the network side device sends the PDCP data packet, and determine the PDCP data packet When the corresponding first HFN is different from the HFN initially sent to the terminal by the network side device, it can process the first HFN corresponding to the PDCP data packet, and determine the updated HFN, so that for the received PDCP data packet, the terminal determines the The HFN is synchronized with the HFN when the network side device sends data.
图1为本公开实施例所述方法所应用系统的结构示意图;FIG. 1 is a schematic structural diagram of a system to which the method described in an embodiment of the present disclosure is applied;
图2为说明SN翻转的过程示意图;FIG. 2 is a schematic diagram illustrating the process of SN flipping;
图3本公开其中一实施例所述HFN处理方法的流程示意图;FIG. 3 is a schematic flow diagram of the HFN treatment method described in one embodiment of the present disclosure;
图4为本公开实施例中,HFN更新指示信息的实施结构之一;FIG. 4 is one of the implementation structures of HFN update instruction information in an embodiment of the present disclosure;
图5为本公开实施例中,HFN更新指示信息的实施结构之二;FIG. 5 is the second implementation structure of HFN update indication information in an embodiment of the present disclosure;
图6为本公开实施例中,HFN更新指示信息的实施结构之三;FIG. 6 is the third implementation structure of HFN update instruction information in the embodiment of the present disclosure;
图7为本公开实施例中,所设置第一窗口和第二窗口的原理示意图;FIG. 7 is a schematic diagram of the principles of the first window and the second window set in the embodiment of the present disclosure;
图8为本公开另一实施例所述HFN处理方法的流程示意图;Fig. 8 is a schematic flow chart of the HFN treatment method according to another embodiment of the present disclosure;
图9为本公开实施例所述终端的结构示意图;FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图10为本公开实施例所述网络侧设备的结构示意图;FIG. 10 is a schematic structural diagram of a network side device according to an embodiment of the present disclosure;
图11为本公开其中一实施例所述HFN处理装置的结构示意图;Fig. 11 is a schematic structural diagram of the HFN processing device according to one embodiment of the present disclosure;
图12为本公开另一实施例所述HFN处理装置的结构示意图。Fig. 12 is a schematic structural diagram of an HFN processing device according to another embodiment of the present disclosure.
本公开实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The term "and/or" in the embodiments of the present disclosure describes the association relationship of associated objects, indicating that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The character "/" generally indicates that the contextual objects are an "or" relationship.
本公开实施例中术语“多个”是指两个或两个以上,其它量词与之类似。The term "plurality" in the embodiments of the present disclosure refers to two or more, and other quantifiers are similar.
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,并不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure.
本公开实施例提供的HFN处理方法、装置、终端及网络侧设备可以应用于无线通信系统中。该无线通信系统可以为采用第五代(5th Generation,5G)移动通信技术的系统(以下均简称为5G系统),所述领域技术人员可以了解,5G NR系统仅为示例,不为限制。The HFN processing method, device, terminal, and network side equipment provided in the embodiments of the present disclosure may be applied in a wireless communication system. The wireless communication system may be a system using the fifth generation (5th Generation, 5G) mobile communication technology (hereinafter referred to as 5G system). Those skilled in the art can understand that the 5G NR system is only an example and not a limitation.
参见图1,图1是本公开实施例可应用的一种网络系统的结构图,如图1所示,包括终端11和网络侧设备12,其中,终端11可以是用户设备(User Equipment,UE),例如:可以是手机、平板电脑(Tablet Personal Computer,TPC)、膝上型电脑(Laptop Computer,LC)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device,WD)等终端侧设备,需要说明的是,在本公开实施例中并不限定用户终端11的具体类型。上述网络侧设备12可以是5G及以后版本的基站(例如:下一代基站(the next Generation Node B,gNB)、5G NR无线基站(Node B,NB)),或者其他通信系统中的基站,或者称之为节点B,需要说明的是,在本公开实施例中仅以5G基站为例,但是并不限定基站12 的具体类型。Referring to FIG. 1, FIG. 1 is a structural diagram of a network system to which an embodiment of the present disclosure is applicable. As shown in FIG. ), for example: it can be a mobile phone, a tablet computer (Tablet Personal Computer, TPC), a laptop computer (Laptop Computer, LC), a personal digital assistant (personal digital assistant, PDA), a mobile Internet device (Mobile Internet Device, MID) or a terminal-side device such as a wearable device (Wearable Device, WD), it should be noted that, in the embodiment of the present disclosure, the specific type of the user terminal 11 is not limited. The above-mentioned network side device 12 may be a base station of 5G and later versions (for example: the next generation base station (the next Generation Node B, gNB), 5G NR wireless base station (Node B, NB)), or a base station in other communication systems, or It is called Node B. It should be noted that in the embodiment of the present disclosure, only the 5G base station is taken as an example, but the specific type of the base station 12 is not limited.
目前,对于空口的数据传输,以相关的5G/新空口(New Radio,NR)技术为例,在业务传输开始前,基站通过无线资源控制(Radio Resource Control,RRC)信令告知用户终端业务数据的映射与配置。At present, for air interface data transmission, taking the relevant 5G/new air interface (New Radio, NR) technology as an example, before the service transmission starts, the base station informs the user terminal of the service data through Radio Resource Control (RRC) signaling mapping and configuration.
在配置完成后,下行数据以服务质量流(Quality of Service flow,QoS flow)数据包的形式到达无线接入网(Radio Access Network,RAN),RAN之中的服务数据适配协议层(Service Data Adaptation Protocol Layer,SDAP)将数据包视为SDAP业务数据单元(Service Data Unit,SDU),映射到正确的下行无线承载上,作为SDAP协议数据单元(Protocol Data Unit,PDU),通过与下行无线承载相关联的内部接口发送至RAN之中的分组数据汇聚协议层(Packet Data Convergence Protocol Layer,PDCP)。After the configuration is complete, the downlink data arrives at the radio access network (Radio Access Network, RAN) in the form of Quality of Service flow (QoS flow) packets, and the service data adaptation protocol layer (Service Data The Adaptation Protocol Layer (SDAP) treats data packets as SDAP Service Data Units (Service Data Units, SDUs) and maps them to the correct downlink radio bearer as SDAP Protocol Data Units (Protocol Data Units, PDUs). The associated internal interface sends to the Packet Data Convergence Protocol Layer (PDCP) in the RAN.
PDCP层在收到SDAP PDU之后,将其作为PDCP SDU执行处理。具体地,应当依次执行下述处理:PDCP层在收到上层的数据包后,在传输之前会为每个数据包编号(称为COUNT值),其中数据包编号的前若干位称为超帧号(Hyper Frame Number,HFN),而数据包编号的后若干位称为PDCP序列号(Sequence Number,SN)。之后视配置情况执行头压缩,视配置情况执行诸如完整性保护与加密的安全操作,形成PDCP头并生成PDCP PDU,其中PDCP SN会携带在PDCP头中,然后PDCP PDU发送至无线链路控制协议层(Radio Link Control,RLC)。After receiving the SDAP PDU, the PDCP layer processes it as a PDCP SDU. Specifically, the following processing should be performed in sequence: After receiving the data packets from the upper layer, the PDCP layer will number each data packet (called COUNT value) before transmission, and the first few bits of the data packet number are called superframes Number (Hyper Frame Number, HFN), and the last few digits of the packet number are called PDCP Sequence Number (Sequence Number, SN). Then perform header compression depending on the configuration, perform security operations such as integrity protection and encryption depending on the configuration, form a PDCP header and generate a PDCP PDU, where the PDCP SN will be carried in the PDCP header, and then the PDCP PDU is sent to the radio link control protocol layer (Radio Link Control, RLC).
其中,每一个PDCP PDU会维护一个SN。SN的作用主要包括:用以维护PDCP PDU在PDCP缓存中的位置、与HFN一起组成COUNT值,用于PDCP PDU的加密与解密以及排序等。Among them, each PDCP PDU will maintain an SN. The role of the SN mainly includes: to maintain the position of the PDCP PDU in the PDCP cache, to form a COUNT value together with the HFN, to encrypt, decrypt and sort the PDCP PDU, etc.
根据数据业务量的多少,SN的长度可以包括多种,目前在NR系统中,PDCP SN号的长度分别为12比特(bit)和18bit。PDCP实体的下行链路(Down Link,DL)接收窗口长度设置2[pdcp-SN-SizeDL]–1。其中PDCP-SN-SizeDL是下行SN号长度。可见SN长度越长,PDCP窗口越大,占用的缓存越大;反之,SN长度越小,PDCP窗口越小,占用的缓存越小。According to the amount of data traffic, the length of the SN can include various types. Currently, in the NR system, the lengths of the PDCP SN number are 12 bits (bit) and 18 bits respectively. The downlink (Down Link, DL) receiving window length of the PDCP entity is set to 2[pdcp-SN-SizeDL]–1. Among them, PDCP-SN-SizeDL is the length of the downlink SN number. It can be seen that the longer the SN length, the larger the PDCP window, and the larger the occupied buffer; on the contrary, the smaller the SN length, the smaller the PDCP window, and the smaller the occupied buffer.
对于HFN,在相关的单播接收过程中,终端会单独维护HFN。在初始化传输时,HFN会置为0,当窗口滑动,导致SN超过窗口最大长度时,HFN 会自动翻转。在MBS业务中,终端执行业务接收时,业务有可能已经执行了一段时间,为避免出现UE侧无法获知初始化数据包的HFN的问题,网络侧设备可以通过无线资源控制(Radio Resource Control,RRC)信令向终端发送HFN具体数值。For HFN, during the relevant unicast reception process, the terminal will maintain HFN independently. When the transmission is initialized, HFN will be set to 0. When the window slides, causing SN to exceed the maximum length of the window, HFN will automatically flip. In the MBS service, when the terminal performs service reception, the service may have been carried out for a period of time. In order to avoid the problem that the UE side cannot know the HFN of the initialization data packet, the network side device can use the radio resource control (Radio Resource Control, RRC) The signaling sends the specific value of the HFN to the terminal.
在网络侧设备通过信令向终端发送HFN具体数值之后,在终端接收到HFN后,网络侧设备发送PDCP data PDU。但是由于终端接收RRC信令需要一定的处理时延,比如当信道质量较差的时候,无线链路层控制协议(Radio Link Control,RLC)重传会造成RRC信令接收的延迟,也有可能是由于HFN与PDCP data PDU为由不同网络单元发送至终端的原因,导致终端接收到的初始HFN与PDCP data PDU中实际使用的HFN不一致。After the network-side device sends the specific value of HFN to the terminal through signaling, and after the terminal receives the HFN, the network-side device sends PDCP data PDU. However, because the terminal needs a certain processing delay to receive RRC signaling, for example, when the channel quality is poor, the retransmission of the Radio Link Control (RLC) protocol will cause delays in receiving RRC signaling, and it may also be Since the HFN and the PDCP data PDU are sent to the terminal by different network units, the initial HFN received by the terminal is inconsistent with the HFN actually used in the PDCP data PDU.
举例说明,如图2所示,在网络侧设备通过RRC信令发送HFN之后,由于时延,在终端接收到该RRC信令所指示的HFN时,网络侧设备所发送PDCP data PDU的HFN已经进行了更新,例如由于SN已经发生了翻转,即SN已经达到最大值,需要从零开始计数,HFN需要加1,从而导致终端获取的初始HFN与所接收的PDCP data PDU中实际使用的HFN不一致问题。For example, as shown in Figure 2, after the network side device sends the HFN through RRC signaling, due to the delay, when the terminal receives the HFN indicated by the RRC signaling, the HFN of the PDCP data PDU sent by the network side device has already An update has been made. For example, because the SN has been reversed, that is, the SN has reached the maximum value, it needs to start counting from zero, and the HFN needs to be incremented by 1. As a result, the initial HFN obtained by the terminal is inconsistent with the HFN actually used in the received PDCP data PDU question.
为解决上述问题,本公开实施例提供一种HFN处理方法,在网络侧设备发送PDCP数据包时,能够指示PDCP数据包对应的第一HFN是否为初始发送至终端的HFN(第二HFN),并在确定PDCP数据包对应的第一HFN与网络侧设备初始发送至终端的HFN不相同时,能够对PDCP数据包对应的第一HFN进行处理,确定更新后的HFN,以使对于所接收PDCP数据包,终端所确定的HFN与网络侧设备发送数据时的HFN保持同步。In order to solve the above problems, an embodiment of the present disclosure provides a HFN processing method, which can indicate whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially sent to the terminal when the network side device sends the PDCP data packet, And when it is determined that the first HFN corresponding to the PDCP data packet is different from the HFN initially sent to the terminal by the network side device, the first HFN corresponding to the PDCP data packet can be processed to determine the updated HFN, so that for the received PDCP For data packets, the HFN determined by the terminal is kept in sync with the HFN when the network side device sends data.
本公开实施例中,其中一实施例,提供一种HFN处理方法,由终端执行,如图3所示,所述方法包括:In the embodiments of the present disclosure, one of the embodiments provides a HFN processing method, which is executed by the terminal, as shown in FIG. 3 , the method includes:
S310,接收网络侧设备发送的PDCP数据包;S310, receiving a PDCP data packet sent by the network side device;
S320,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;S320. Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;
S330,若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。S330. If the first HFN is different from the second HFN, process the first HFN.
可选地,本公开实施例所述HFN处理方法应用于网络侧设备在向终端发 送PDCP数据包前,向终端发送所发送PDCP数据包的HFN的数据传输方法中。可选地,在步骤S310,网络侧设备发送的PDCP数据包可以为但不限于仅能够为MBS数据。采用本公开实施例所述方法,在步骤S310之前,网络侧设备向终端发送待发送PDCP数据包的HFN,如为第二HFN。Optionally, the HFN processing method described in the embodiments of the present disclosure is applied to the HFN data transmission method in which the network side device sends the PDCP data packet to the terminal before sending the PDCP data packet to the terminal. Optionally, in step S310, the PDCP data packet sent by the network side device may be but not limited to be MBS data. Using the method described in the embodiment of the present disclosure, before step S310, the network side device sends the HFN of the PDCP data packet to be sent to the terminal, such as the second HFN.
相较于相关技术,终端根据网络侧设备在发送PDCP数据包之前所指示的HFN,确定所接收PDCP数据包的HFN编号,采用本公开实施例所述HFN处理方法,根据网络侧设备发送的PDCP数据包,终端判断所述PDCP数据包对应的第一HFN是否为网络侧设备初始所指示的HFN(第二HFN),以避免终端所确定的HFN与网络侧设备发送数据时的HFN不同步的问题。Compared with related technologies, the terminal determines the HFN number of the received PDCP data packet according to the HFN indicated by the network side device before sending the PDCP data packet, adopts the HFN processing method described in the embodiment of the present disclosure, and according to the PDCP number sent by the network side device data packet, the terminal judges whether the first HFN corresponding to the PDCP data packet is the HFN (second HFN) initially indicated by the network side device, so as to avoid the HFN determined by the terminal being out of sync with the HFN when the network side device sends data question.
可选地,所述方法还包括:Optionally, the method also includes:
获取网络侧设备发送的数据配置信息;所述数据配置信息中包括所述第二HFN。Obtain data configuration information sent by the network side device; the data configuration information includes the second HFN.
其中,网络侧设备发送的PDCP数据包为MBS数据时,该数据配置信息为MBS配置信息。可选地,该数据配置信息通过RRC信令发送。Wherein, when the PDCP data packet sent by the network side device is MBS data, the data configuration information is MBS configuration information. Optionally, the data configuration information is sent through RRC signaling.
可选地,该MBS配置信息除包括第二HFN号外,还包括MBS的资源位置、逻辑信道配置信息和无线网络临时标识(Radio Network Temporary Identity,RNTI)信息中的至少之一。Optionally, in addition to the second HFN number, the MBS configuration information also includes at least one of MBS resource location, logical channel configuration information and radio network temporary identity (Radio Network Temporary Identity, RNTI) information.
本公开实施例中,可选地,终端在接收到网络侧设备发送的MBS配置信息之后,向网络侧设备反馈配置成功消息。网络侧设备根据终端发送的该配置成功消息,向终端发送PDCP数据包。In the embodiment of the present disclosure, optionally, after receiving the MBS configuration information sent by the network side device, the terminal feeds back a configuration success message to the network side device. The network side device sends a PDCP data packet to the terminal according to the configuration success message sent by the terminal.
本公开实施例所述HFN处理方法,其中一实施方式,由网络侧设备向终端发送PDCP数据包时,网络侧设备通过所发送的PDCP数据包直接指示网络侧设备发送PDCP数据包时的HFN编号是否为第一HFN编号(也即指示PDCP数据包对应的第一HFN与第二HFN是否相同),也可以理解为用于指示当前所发送PDCP数据包的HFN相较于初始所指示的HFN是否发生更新。The HFN processing method described in the embodiments of the present disclosure, in one implementation mode, when the network side device sends a PDCP data packet to the terminal, the network side device directly indicates the HFN number when the network side device sends the PDCP data packet through the sent PDCP data packet Whether it is the first HFN number (that is, indicating whether the first HFN corresponding to the PDCP data packet is the same as the second HFN), can also be understood as indicating whether the HFN of the currently sent PDCP data packet is compared with the initially indicated HFN An update occurs.
采用该实施方式,在步骤S310,接收网络侧设备发送的PDCP数据包时,所述PDCP数据包中包括HFN编号更新指示信息,用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同。Using this embodiment, in step S310, when receiving the PDCP data packet sent by the network side device, the PDCP data packet includes HFN number update indication information, which is used to indicate the first HFN corresponding to the PDCP data packet sent by the network side device. Whether the second HFN is the same.
可选地,所述HFN编号更新指示信息包括以下至少之一:Optionally, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
可选地,HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制control PDU发送。Optionally, the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or is sent through the PDCP control PDU of the PDCP data packet.
其中一种实施方式,可选地,网络侧设备所发送的PDCP数据包包括预设指示位,其中该预设指示位为第一值,如为1时,指示PDCP数据包对应的第一HFN与第二HFN不同,也即相较于网络侧设备在发送PDCP数据包之前所指示的该第二HFN,网络侧设备所发送PDCP数据包的HFN发生了更新;该预设指示位为第二值,如为0时,指示PDCP数据包对应的第一HFN与第二HFN相同,也即相较于网络侧设备在发送数据之前所指示的该第二HFN,网络侧设备所发送数据包的HFN未发生更新。In one of the implementation manners, optionally, the PDCP data packet sent by the network side device includes a preset indicator bit, where the preset indicator bit is a first value, such as 1, indicating the first HFN corresponding to the PDCP data packet Different from the second HFN, that is, compared with the second HFN indicated by the network side device before sending the PDCP data packet, the HFN of the PDCP data packet sent by the network side device has been updated; the preset indication bit is the second The value, if it is 0, indicates that the first HFN corresponding to the PDCP data packet is the same as the second HFN, that is, compared with the second HFN indicated by the network side device before sending data, the data packet sent by the network side device HFN did not update.
其中一实施方式中,举例说明,HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,如图4所示,HFN编号更新指示信息在PDCP data PDU的消息头中发送,PDCP data PDU的消息头中的指示位I为HFN编号更新指示信息,该HFN编号更新指示信息可以包括1bit,用于指示相较于网络侧设备在发送数据之前所指示的第二HFN,网络侧设备所发送该PDCP数据包的HFN是否进行了更新。可选地,该消息头中还包括所发送PDCP数据的SN。In one embodiment, for example, the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, as shown in Figure 4, the HFN number update instruction information is in the PDCP data PDU The indication bit I in the message header of the PDCP data PDU is the HFN number update indication information. The HFN number update indication information may include 1 bit, which is used to indicate that the network side device indicates before sending the data. The second HFN is whether the HFN of the PDCP packet sent by the network side device has been updated. Optionally, the message header also includes the SN of the sent PDCP data.
具体地,指示位I为第一值,如为1时,用于表示相较于网络侧设备在发送数据之前所指示的第二HFN,网络侧设备所发送该PDCP数据包的HFN发生了更新,也即PDCP数据包对应的第一HFN与第二HFN不同;指示位I为第二值时,如为0时,用于表示相较于网络侧设备在发送数据之前所指示的第二HFN,网络侧设备所发送该PDCP数据包的HFN未发生更新,也即该PDCP数据包所对应的第一HFN与第二HFN相同。Specifically, the indication bit I is the first value, if it is 1, it is used to indicate that the HFN of the PDCP data packet sent by the network side device has been updated compared to the second HFN indicated by the network side device before sending data , that is, the first HFN corresponding to the PDCP data packet is different from the second HFN; when the indicator bit I is the second value, such as 0, it is used to indicate that it is compared with the second HFN indicated by the network side device before sending data The HFN of the PDCP data packet sent by the network side device is not updated, that is, the first HFN corresponding to the PDCP data packet is the same as the second HFN.
另一种实施方式,HFN编号更新指示信息通过所述数据的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,如图5所示,HFN编号更新指示信息在PDCP data PDU的消息头中发送,PDCP data PDU的消息头中 包括指示位I和编号位HFNL。其中,指示位I,可以包括1bit,用于指示相较于网络侧设备在发送数据之前所指示的第二HFN,网络侧设备所发送该PDCP数据包的HFN是否进行了更新,也即指示PDCP数据包对应的第一HFN与第二HFN是否相同。编号位HFNL,长度为Nbit,N为大于1的整数,如图5所示,用于指示网络侧设备发送该PDCP数据包的HFN进行了更新,更新后HFN(也即第一HFN)的最低N位对应的数值,其中N为大于或等于1的整数;也即,用于指示第一HFN的从第一位至第N位的值;其中,第一位为第一HFN的最低位,N为大于或等于1的整数。在N为等于1的情况下,编号位HFNL仅指示第一HFN的最低位的值。In another embodiment, the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the data, as shown in Figure 5, the HFN number update instruction information is sent in the message header of the PDCP data PDU , the message header of the PDCP data PDU includes an indication bit I and a number bit HFNL. Among them, the indication bit I may include 1 bit, which is used to indicate whether the HFN of the PDCP data packet sent by the network side device has been updated compared with the second HFN indicated by the network side device before sending data, that is, indicates that the PDCP Whether the first HFN corresponding to the data packet is the same as the second HFN. The number bit HFNL, the length is Nbit, and N is an integer greater than 1. As shown in Figure 5, the HFN used to instruct the network side device to send the PDCP data packet has been updated. After the update, the lowest HFN (that is, the first HFN) The value corresponding to N bits, wherein N is an integer greater than or equal to 1; that is, the value from the first bit to the Nth bit used to indicate the first HFN; wherein, the first bit is the lowest bit of the first HFN, N is an integer greater than or equal to 1. In case N is equal to 1, the number bit HFNL indicates only the value of the lowest bit of the first HFN.
再一种实施方式,HFN编号更新指示信息通过所述数据的分组数据汇聚协议层PDCP控制control协议数据单元PDU发送,也即增加PDCP control PDU,用于发送HFN编号更新指示信息。本公开实施例中,其中一实施方式,如图6所示,可选地,PDCP control PDU发送的HFN编号更新指示信息包括编号位HFNL,长度为M bit,M为大于或等于1的整数,如图6所示,用于指示网络侧设备发送该PDCP数据包的HFN进行了更新,更新后HFN(也即第一HFN)的最低N位对应的数值,其中N为大于或等于1的整数;也即,用于指示第一HFN的从第一位至第N位的值;其中,第一位为第一HFN的最低位,N为大于或等于1的整数。在N为等于1的情况下,编号位HFNL仅指示第一HFN的最低位的值。需要说明的是,通过网络侧设备所发送的PDCP数据包指示HFN编号更新指示信息的具体实施方式,并不以上述所列举方式为限,在此不对每一实施方式进行举例说明。In yet another embodiment, the HFN number update instruction information is sent through the packet data convergence protocol layer PDCP control protocol data unit PDU of the data, that is, the PDCP control PDU is added to send the HFN number update instruction information. In the embodiment of the present disclosure, one implementation manner, as shown in FIG. 6, optionally, the HFN number update indication information sent by the PDCP control PDU includes the number bit HFNL, the length is M bits, and M is an integer greater than or equal to 1, As shown in Figure 6, the HFN used to instruct the network side device to send the PDCP data packet is updated, and the value corresponding to the lowest N bits of the updated HFN (that is, the first HFN), where N is an integer greater than or equal to 1 ; That is, the value from the first bit to the Nth bit used to indicate the first HFN; wherein, the first bit is the lowest bit of the first HFN, and N is an integer greater than or equal to 1. In case N is equal to 1, the number bit HFNL indicates only the value of the lowest bit of the first HFN. It should be noted that, the specific implementation manner of indicating the HFN number update indication information through the PDCP data packet sent by the network side device is not limited to the above-mentioned manners, and each implementation manner is not illustrated here.
本公开实施例中,其中一实施方式,在步骤S330,若所述第一HFN与所述第二HFN不相同,对所述第一HFN进行处理,包括:In the embodiment of the present disclosure, in one implementation manner, in step S330, if the first HFN is different from the second HFN, processing the first HFN includes:
将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
另一实施方式,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,在步骤S330,所述对所述第一HFN进行处理,包括:In another embodiment, in the case where the HFN number update instruction includes indicating the value corresponding to the lowest N bits of the first HFN, in step S330, the processing of the first HFN includes:
根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
以下结合具体实施例对本公开所述HFN处理方法的具体实施过程进行说明。The specific implementation process of the HFN processing method described in the present disclosure will be described below in conjunction with specific embodiments.
采用本公开实施例所述HFN处理方法,该实施例中,网络侧设备所发送的PDCP数据包指示HFN编号更新指示信息,采用该实施例的具体实施过程包括以下步骤:Using the HFN processing method described in the embodiment of the present disclosure, in this embodiment, the PDCP data packet sent by the network side device indicates the HFN number update instruction information, and the specific implementation process using this embodiment includes the following steps:
终端接收网络侧设备发送的MBS配置信息;可选地,该MBS配置信息包括MBS的资源位置、逻辑信道配置信息、RNTI信息和待发送的PDCP数据包的第二HFN。该实施例中,设定SN长度为18bit,则HFN长度为32-18=14bit,同时设定第二HFN可以为10010001001001;The terminal receives the MBS configuration information sent by the network side device; optionally, the MBS configuration information includes MBS resource location, logical channel configuration information, RNTI information and the second HFN of the PDCP data packet to be sent. In this embodiment, if the SN length is set to 18bit, then the HFN length is 32-18=14bit, and the second HFN can be set to 10010001001001;
终端接收MBS配置信息后,向网络侧设备反馈配置成功消息;After receiving the MBS configuration information, the terminal feeds back a successful configuration message to the network side device;
网络侧设备接收终端发送的配置成功消息后,向终端发送MBS数据的PDCP数据包;After receiving the configuration success message sent by the terminal, the network side device sends a PDCP data packet of MBS data to the terminal;
采用本公开实施例所述HFN处理方法,网络侧设备发送的PDCP数据包中包括HFN更新指示信息。Using the HFN processing method described in the embodiments of the present disclosure, the PDCP data packet sent by the network side device includes HFN update instruction information.
终端根据该HFN更新指示信息,确定PDCP数据包对应的第一HFN与第二HFN是否相同,并在确定第一HFN与所述第二HFN不相同时,对第一HFN进行处理。The terminal determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information, and processes the first HFN when it is determined that the first HFN is different from the second HFN.
其中一实施方式,结合图4所示,在HFN编号更新指示信息仅包括指示位I时,用于指示PDCP数据包对应的第一HFN与第二HFN是否相同的情况下,根据该指示位I的数值,确定PDCP数据包对应的第一HFN与第二HFN是否相同。其中,在指示位I的数值为1的情况下,则确定PDCP数据包对应的第一HFN与第二HFN不同,也即网络侧设备所发送该PDCP数据包时,HFN进行了更新,认为SN发生了翻转,确定第一HFN相较于第二HFN的值应该加1。In one embodiment, as shown in FIG. 4 , when the HFN number update indication information only includes the indication bit 1, it is used to indicate whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, according to the indication bit 1 , to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN. Wherein, when the value of the indicator bit 1 is 1, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is updated, and it is considered that the SN A rollover has occurred, and it is determined that the value of the first HFN should be increased by 1 compared to the value of the second HFN.
基于此,将所述第二HFN加1得到的数值确定为所述第一HFN,在第二HFN为10010001001001的情况下,则加1得到的第一HFN为10010001001010。Based on this, the value obtained by adding 1 to the second HFN is determined as the first HFN. In a case where the second HFN is 10010001001001, the first HFN obtained by adding 1 is 10010001001010.
在指示位I的数值为0的情况下,则确定PDCP数据包对应的第一HFN与第二HFN相同,也即网络侧设备所发送该PDCP数据包时,HFN没有更 新,确定PDCP数据包对应的第一HFN等于第二HFN,也即为10010001001001。When the value of the indicator bit 1 is 0, it is determined that the first HFN corresponding to the PDCP data packet is the same as the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is not updated, and it is determined that the PDCP data packet corresponds to The first HFN of is equal to the second HFN, that is, 10010001001001.
另一实施方式,结合图5所示,在PDCP data PDU的消息头中的HFN编号更新指示信息包括指示位I和编号位HFNL时,根据指示位I的数值判断网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同。其中,在指示位I的数值为1时,确定PDCP数据包对应的第一HFN与第二HFN不同,也即网络侧设备发送该PDCP数据包时,HFN进行了更新,认为SN发生了翻转;在指示位I的数值为0时,确定PDCP数据包对应的第一HFN与第二HFN相同。In another embodiment, as shown in FIG. 5, when the HFN number update instruction information in the message header of the PDCP data PDU includes the indicator bit 1 and the number bit HFNL, the PDCP data packet sent by the network side device is judged according to the value of the indicator bit 1 Whether the corresponding first HFN is the same as the second HFN. Wherein, when the value of the indicator bit 1 is 1, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN, that is, when the network side device sends the PDCP data packet, the HFN is updated, and the SN is considered to be reversed; When the value of the indication bit 1 is 0, it is determined that the first HFN corresponding to the PDCP data packet is the same as the second HFN.
另外,在指示位I的数值为1时,则进一步确定编号位HFNL所指示的数值,根据编号位HFNL所指示的数值,对第二HFN的相应位进行更新,获得PDCP数据包对应的第一HFN。In addition, when the value of the indication bit 1 is 1, the value indicated by the number bit HFNL is further determined, and the corresponding bit of the second HFN is updated according to the value indicated by the number bit HFNL to obtain the first HFN corresponding to the PDCP packet. HFN.
举例说明,结合图5所示,HFNL包括最低的第一位和第二位的数值时,HFNL所指示对应HFN编号的最低的第一位为0,HFNL所指示对应HFN编号的最低的第二位为1时,在第二HFN为10010001001001的情况下,对第二HFN的相应位进行更新,获得PDCP数据包对应的第一HFN为10010001001010。For example, as shown in Figure 5, when HFNL includes the lowest first and second digits, the lowest first digit corresponding to the HFN number indicated by HFNL is 0, and the lowest second digit corresponding to the HFN number indicated by HFNL is 0. When the bit is 1, when the second HFN is 10010001001001, the corresponding bit of the second HFN is updated to obtain that the first HFN corresponding to the PDCP data packet is 10010001001010.
再一实施方式,HFN编号更新指示信息通过PDCP control PDU发送,结合图6所示,HFN编号更新指示信息包括编号位HFNL。其中,PDCP control PDU的消息头中包括PDU类型Type,用于表示该PDCP control PDU指示PDCP数据包对应的第一HFN相较于第二HFN发生更新。根据该PDCP control PDU,终端读取PDCP control PDU的消息头中的编号位HFNL,在HFNL所指示对应HFN编号的最低的第一位为0,HFNL所指示对应HFN编号的最低的第二位为1,第二HFN为10010001001001的情况下,对第二HFN的相应位进行更新,获得PDCP数据包对应的第一HFN为10010001001010。In yet another implementation manner, the HFN number update instruction information is sent through the PDCP control PDU. As shown in FIG. 6 , the HFN number update instruction information includes the number bit HFNL. Wherein, the message header of the PDCP control PDU includes the PDU type Type, which is used to indicate that the PDCP control PDU indicates that the first HFN corresponding to the PDCP data packet is updated compared with the second HFN. According to the PDCP control PDU, the terminal reads the number bit HFNL in the message header of the PDCP control PDU. The lowest first bit of the corresponding HFN number indicated by HFNL is 0, and the lowest second bit of the corresponding HFN number indicated by HFNL is 1. When the second HFN is 10010001001001, update the corresponding bit of the second HFN to obtain the first HFN corresponding to the PDCP data packet as 10010001001010.
本发明另一实施例所述HFN处理方法,根据PDCP数据包中的SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。According to the HFN processing method in another embodiment of the present invention, according to the SN in the PDCP data packet, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
该实施例中,结合图3,在步骤S320,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:In this embodiment, in conjunction with FIG. 3, in step S320, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧设备通过信令发送至所述终端。According to the first SN and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
可选地,网络侧设备在向终端发送第二HFN时,同时向终端发送待发送的PDCP数据包对应的第一SN,使终端可以根据第一SN和PDCP数据包中的第二SN,确定所发送的PDCP数据包对应的第一HFN与第二HFN是否相同。Optionally, when the network side device sends the second HFN to the terminal, it also sends to the terminal the first SN corresponding to the PDCP data packet to be sent, so that the terminal can determine according to the first SN and the second SN in the PDCP data packet Whether the first HFN corresponding to the sent PDCP data packet is the same as the second HFN.
可选地,PDCP数据包为MBS数据时,网络侧设备向终端发送MBS配置信息时,该MBS配置信息中包括第一SN和第二HFN。具体地,该实施方式中,MBS配置信息包括MBS资源位置、逻辑信道配置信息、RNTI信息、待发送PDCP数据包对应的第二HFN和待发送PDCP数据包对应的第一SN。Optionally, when the PDCP data packet is MBS data, when the network side device sends MBS configuration information to the terminal, the MBS configuration information includes the first SN and the second HFN. Specifically, in this embodiment, the MBS configuration information includes MBS resource location, logical channel configuration information, RNTI information, the second HFN corresponding to the PDCP data packet to be sent, and the first SN corresponding to the PDCP data packet to be sent.
与上一实施例相同,终端在接收到网络侧设备发送的MBS配置信息后,向网络侧设备反馈配置成功消息。Same as the previous embodiment, after receiving the MBS configuration information sent by the network side device, the terminal feeds back a configuration success message to the network side device.
进一步地,在接收MBS配置信息之后,所述方法还包括:根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值。Further, after receiving the MBS configuration information, the method further includes: determining a first window and a second window according to the first SN; wherein, the first window is [SNini, 2maxSN–1-1], The second window is [0, 2maxSN−1-1-SNini]; SNini is the first SN, and maxSN is the maximum value of SN.
其中,在步骤S320,根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, in step S320, according to the first SN and the second SN in the PDCP data packet, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, including:
在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;
在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
具体地,终端接收网络侧设备发送的PDCP数据包后,确定PDCP数据包中的SN,也即获得第二SN,将第二SN与第一窗口和第二窗口进行比较,判断第二SN属于哪一个窗口,能够确定出SN是否发生翻转,从而进一步确定出所述PDCP数据包对应的第一HFN与第二HFN是否相同。Specifically, after receiving the PDCP data packet sent by the network-side device, the terminal determines the SN in the PDCP data packet, that is, obtains the second SN, compares the second SN with the first window and the second window, and determines that the second SN belongs to the Which window can determine whether the SN is reversed, so as to further determine whether the first HFN and the second HFN corresponding to the PDCP data packet are the same.
结合图7所示,根据网络侧设备在信令中指示的待发送PDCP数据包的第一SN,如为SNini,可以将SN的编号范围[0,maxSN]划分为两个窗口, 也即第一窗口[SNini,2maxSN–1-1]和第二窗口[0,2maxSN–1-1-SNini],可以理解的是,在SN未发生翻转时,所发送PDCP数据包从SNini开始继续编号,位于第一窗口内;在SN发生翻转时,所发送PDCP数据包从0开始编号,重新编号的SN会处于第二窗口内。因此,根据PDCP数据包中的第二SN,将第二SN与第一窗口和第二窗口进行比较,能够确定出SN是否发生翻转,从而进一步确定出所述PDCP数据包对应的第一HFN与第二HFN是否相同。As shown in Figure 7, according to the first SN of the PDCP packet to be sent indicated by the network side device in the signaling, such as SNini, the number range [0, maxSN] of the SN can be divided into two windows, that is, the first SN The first window [SNini, 2maxSN–1-1] and the second window [0, 2maxSN–1-1-SNini], it can be understood that when the SN does not flip, the sent PDCP packets continue to be numbered from SNini, It is located in the first window; when the SN flips, the sent PDCP data packets are numbered from 0, and the renumbered SN will be in the second window. Therefore, according to the second SN in the PDCP data packet, comparing the second SN with the first window and the second window, it can be determined whether the SN is reversed, thereby further determining the first HFN and the first HFN corresponding to the PDCP data packet. Whether the second HFN is the same.
该实施例中,在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同,认为SN发生了翻转,则对所述第一HFN进行处理,将第二HFN加1得到的数值确定为所述PDCP数据包对应的第一HFN。In this embodiment, when the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN, and it is considered that the SN has been flipped, then the first HFN is processed , determining a value obtained by adding 1 to the second HFN as the first HFN corresponding to the PDCP data packet.
采用该实施方式,在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,终端认为接收到了非法的PDCP数据包,则向网络侧设备反馈异常报告信息,用于反馈当前链路发生异常。With this embodiment, when the second SN is outside the first SN window and the second SN window, the terminal considers that it has received an illegal PDCP packet, and feeds back abnormality report information to the network side device, using An abnormality occurred in the feedback current link.
本发明实施例中,在采用上述任一实施方式确定PDCP数据包对应的第一HFN与第二HFN相同时,则确定网络侧设备发送的PDCP数据包对应的第一HFN也即为等于第二HFN。In the embodiment of the present invention, when it is determined that the first HFN corresponding to the PDCP data packet is the same as the second HFN by using any of the above-mentioned implementation methods, it is determined that the first HFN corresponding to the PDCP data packet sent by the network side device is also equal to the second HFN. HFN.
本公开实施例所述HFN处理方法,接收网络侧设备发送的PDCP数据包之后,所述方法还包括:The HFN processing method described in the embodiment of the present disclosure, after receiving the PDCP data packet sent by the network side device, the method further includes:
判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据包;Judging whether the PDCP data packet is the first data packet of the service data of the received MBS service;
在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
采用本公开实施例所述方法,对于所接收MBS数据的第一PDCP数据包,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,并在确定第一HFN与所述第二HFN不相同的情况下,进一步则对所述第一HFN进行处理。此外,对于第一PDCP数据包之后所接收的PDCP数据包,根据第一PDCP数据包所确定的对应的第一HFN,进一步确定之后所接收的PDCP数据包的对应HFN,也即按照通常方式确定对应HFN。Using the method described in the embodiment of the present disclosure, for the first PDCP data packet of the received MBS data, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, and determine whether the first HFN and the second HFN If the HFNs are different, further process the first HFN. In addition, for the PDCP data packets received after the first PDCP data packet, according to the corresponding first HFN determined by the first PDCP data packet, the corresponding HFN of the subsequent PDCP data packets received is further determined, that is, determined in the usual way Corresponds to HFN.
采用本公开实施例所述HFN处理方法,在接收网络侧设备发送PDCP数据包后,根据PDCP数据包中的HFN更新指示信息,或者根据PDCP数据包中的SN,能够确定所述PDCP数据包对应的第一HFN与网络侧设备初始发送至终端的HFN是否相同,在确定两者不相同的情况下,对PDCP数据包对应的第一HFN进行处理,确定更新后的HFN,以使对于所接收PDCP数据包,终端所确定的HFN与网络侧设备发送数据时的HFN保持同步。Using the HFN processing method described in the embodiments of the present disclosure, after receiving the PDCP data packet sent by the network side device, it can be determined according to the HFN update indication information in the PDCP data packet, or according to the SN in the PDCP data packet, the corresponding Whether the first HFN of the network side device is the same as the HFN initially sent to the terminal by the network side device, and if it is determined that the two are not the same, process the first HFN corresponding to the PDCP data packet, and determine the updated HFN, so that for the received For PDCP data packets, the HFN determined by the terminal is kept in sync with the HFN when the network side device sends data.
本公开实施例还提供一种超帧号HFN处理方法,由网络侧设备执行,如图8所示,所述方法包括:An embodiment of the present disclosure also provides a method for processing a hyperframe number HFN, which is executed by a network side device, as shown in FIG. 8 , the method includes:
S810,向终端发送PDCP数据包;S810, sending a PDCP data packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
采用本公开实施例所述超帧号HFN处理方法,网络侧设备发送至终端的PDCP数据包中包括HFN更新指示信息,根据该HFN更新指示信息,使终端能够确定所述PDCP数据包对应的第一HFN与网络侧设备初始发送至终端的HFN是否相同,保证终端所确定的HFN与网络侧设备发送数据时的HFN保持同步。Using the super frame number HFN processing method described in the embodiment of the present disclosure, the PDCP data packet sent by the network side device to the terminal includes HFN update indication information, and according to the HFN update indication information, the terminal can determine the No. 1 corresponding to the PDCP data packet Whether the HFN is the same as the HFN initially sent to the terminal by the network-side device, to ensure that the HFN determined by the terminal is synchronized with the HFN when the network-side device sends data.
可选地,所述HFN编号更新指示信息包括以下至少之一:Optionally, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
本公开实施例中,通过PDCP数据包发送HFN更新指示信息的具体实施方式,可以结合图4至图6,并参阅以上的说明,在此不再详细说明。In the embodiment of the present disclosure, the specific implementation manner of sending the HFN update indication information through the PDCP data packet can be referred to the above description with reference to FIG. 4 to FIG. 6 , and will not be described in detail here.
本公开另一实施例还提供一种终端,如图9所示,包括存储器910、收发机920和处理器900:Another embodiment of the present disclosure also provides a terminal, as shown in FIG. 9 , including a memory 910, a transceiver 920, and a processor 900:
存储器910,用于存储计算机程序;收发机920,用于在所述处理器的控制下收发数据;处理器900,用于读取所述存储器中的计算机程序并执行以下操作:The memory 910 is used to store computer programs; the transceiver 920 is used to send and receive data under the control of the processor; the processor 900 is used to read the computer programs in the memory and perform the following operations:
接收网络侧设备发送的PDCP数据包;Receive the PDCP data packet sent by the network side device;
确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;
若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。If the first HFN is different from the second HFN, perform processing on the first HFN.
可选地,所述的终端,其中,所述PDCP数据包中还包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;Optionally, the terminal, wherein, the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate the first HFN and the second HFN corresponding to the PDCP data packet sent by the network side device whether the same;
其中,所述处理器900确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Wherein, the processor 900 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, specifically:
根据所述HFN更新指示信息,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information.
可选地,所述的终端,其中,所述HFN更新指示信息包括以下至少之一:Optionally, the terminal, wherein the HFN update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
可选地,所述的终端,其中,所述HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制control PDU发送。Optionally, in the terminal, wherein the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or through the PDCP control control of the PDCP data packet PDUs are sent.
可选地,所述的终端,其中,所述处理器900对所述第一HFN进行处理,具体为:Optionally, in the terminal, wherein the processor 900 processes the first HFN, specifically:
将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
可选地,所述的终端,其中,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,所述处理器对所述第一HFN进行处理,具体为:Optionally, in the terminal, wherein, in the case where the HFN number update indication includes a value corresponding to the lowest N bits indicating the first HFN, the processor processes the first HFN, specifically:
根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
可选地,所述的终端,其中,所述处理器900确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Optionally, in the terminal, wherein the processor 900 determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, specifically:
根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧 设备通过信令发送至所述终端。According to the first SN and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
可选地,所述的终端,其中,所述处理器900还用于:Optionally, the terminal, wherein the processor 900 is further configured to:
根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值;According to the first SN, determine the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
其中,根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, according to the first SN and the second SN in the PDCP data packet, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:
在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;
在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
可选地,所述的终端,其中,所述处理器900还用于:Optionally, the terminal, wherein the processor 900 is further configured to:
在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,向网络侧设备反馈异常报告信息。When the second SN is outside the first SN window and the second SN window, feeding back abnormality report information to the network side device.
可选地,所述的终端,其中,所述接收网络侧设备发送的PDCP数据包之后,所述处理器900还用于:Optionally, in the terminal, after receiving the PDCP data packet sent by the network side device, the processor 900 is further configured to:
判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据包;Judging whether the PDCP data packet is the first data packet of the service data of the received MBS service;
在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
其中,在图9中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器900代表的一个或多个处理器和存储器910代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机920可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括,这些传输介质包括无线信道、有线信道、光缆等传输介质。针对不同的用户设备,用户接口930还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆 等。Wherein, in FIG. 9 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 900 and various circuits of the memory represented by the memory 910 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. Transceiver 920 may be a plurality of elements, including a transmitter and a receiver, providing means for communicating with various other devices over transmission media, including wireless channels, wired channels, fiber optic cables, etc. Transmission medium. For different user equipments, the user interface 930 may also be an interface capable of connecting externally and internally to required equipment, and the connected equipment includes but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
处理器900负责管理总线架构和通常的处理,存储器910可以存储处理器900在执行操作时所使用的数据。The processor 900 is responsible for managing the bus architecture and general processing, and the memory 910 can store data used by the processor 900 when performing operations.
可选的,处理器900可以是中央处埋器(CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器也可以采用多核架构。Optionally, the processor 900 may be a central processing unit (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device ( Complex Programmable Logic Device, CPLD), the processor can also adopt a multi-core architecture.
处理器通过调用存储器存储的计算机程序,用于按照获得的可执行指令执行本公开实施例提供的任一所述方法。处理器与存储器也可以物理上分开布置。The processor is used to execute any one of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions by calling the computer program stored in the memory. The processor and memory may also be physically separated.
本公开实施例还提供一种网络侧设备,如图10所示,包括存储器1010、收发机1020和处理器1000:An embodiment of the present disclosure also provides a network side device, as shown in FIG. 10 , including a memory 1010, a transceiver 1020, and a processor 1000:
存储器1010,用于存储计算机程序;收发机1020,用于在所述处理器的控制下收发数据;处理器1000,用于读取所述存储器中的计算机程序并执行以下操作:The memory 1010 is used to store computer programs; the transceiver 1020 is used to send and receive data under the control of the processor; the processor 1000 is used to read the computer programs in the memory and perform the following operations:
向终端发送PDCP数据包;Send a PDCP packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
可选地,所述的网络侧设备,其中,所述HFN编号更新指示信息包括以下至少之一:Optionally, in the network side device, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
其中,在图10中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1000代表的一个或多个处理器和存储器1010代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1020可以是多个元件, 即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器1000负责管理总线架构和通常的处理,存储器1010可以存储处理器1000在执行操作时所使用的数据。Wherein, in FIG. 10 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 1000 and various circuits of the memory represented by the memory 1010 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. The transceiver 1020 may be multiple components, including a transmitter and a receiver, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical cables, and other transmission media. The processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1010 can store data used by the processor 1000 when performing operations.
处理器1000可以是中央处埋器(CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器也可以采用多核架构。The processor 1000 may be a central processing device (CPU), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or a complex programmable logic device (Complex Programmable Logic Device , CPLD), the processor can also adopt a multi-core architecture.
本公开另一实施例还提供一种超帧号HFN处理装置,由终端执行,如图11所示,该超帧号HFN处理装置1100包括:Another embodiment of the present disclosure also provides a super frame number HFN processing device, which is executed by a terminal. As shown in FIG. 11 , the super frame number HFN processing device 1100 includes:
接收单元1110,用于接收网络侧设备发送的PDCP数据包;A receiving unit 1110, configured to receive a PDCP data packet sent by a network side device;
确定单元1120,用于确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;A determining unit 1120, configured to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, wherein the second HFN is sent to the terminal by the network side device through signaling;
处理单元1130,用于若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。可选地,所述的HFN处理装置,其中,所述PDCP数据包中还包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;The processing unit 1130 is configured to process the first HFN if the first HFN is different from the second HFN. Optionally, in the HFN processing apparatus, wherein, the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate that the first HFN corresponding to the PDCP data packet sent by the network side device and the second HFN Whether the two HFNs are the same;
其中,确定单元1120确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Wherein, the determining unit 1120 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, specifically:
根据所述HFN更新指示信息,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information.
可选地,所述的HFN处理装置,其中,所述HFN更新指示信息包括以下至少之一:Optionally, in the HFN processing device, the HFN update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
可选地,所述的HFN处理装置,其中,所述HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制control PDU发送。Optionally, in the HFN processing device, wherein, the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP packet, or through the PDCP protocol data unit of the PDCP packet Control control PDU transmission.
可选地,所述的HFN处理装置,其中,所述处理单元1130对所述第一HFN进行处理,具体为:Optionally, in the HFN processing apparatus, wherein the processing unit 1130 processes the first HFN, specifically:
将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
可选地,所述的HFN处理装置,其中,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,所述处理单元1130对所述第一HFN进行处理,具体为:Optionally, in the HFN processing apparatus, in the case where the HFN number update indication includes a value corresponding to the lowest N bits indicating the first HFN, the processing unit 1130 processes the first HFN, Specifically:
根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
可选地,所述的HFN处理装置,其中,所述确定单元1120确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Optionally, in the HFN processing apparatus, wherein the determining unit 1120 determines whether the first HFN corresponding to the PDCP packet is the same as the second HFN, including:
根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧设备通过信令发送至所述终端。According to the first SN and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
可选地,所述的HFN处理装置,其中,确定单元1120还用于:Optionally, in the HFN processing device, the determining unit 1120 is further configured to:
根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值;According to the first SN, determine the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;
其中,确定单元1120根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,具体为:Wherein, the determining unit 1120 determines whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the first SN and the second SN in the PDCP data packet, specifically:
在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;
在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
可选地,所述的HFN处理装置,其中,所述处理单元1130还用于:Optionally, in the HFN processing device, the processing unit 1130 is further configured to:
在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,向网络侧设备反馈异常报告信息。When the second SN is outside the first SN window and the second SN window, feeding back abnormality report information to the network side device.
可选地,所述的HFN处理装置,其中,所述接收网络侧设备发送的PDCP数据包之后,所述确定单元1120还用于:Optionally, in the HFN processing apparatus, after receiving the PDCP data packet sent by the network side device, the determining unit 1120 is further configured to:
判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据 包;Judging whether the PDCP packet is the first packet of the service data of the received MBS service;
在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。本公开实施例还提供一种超帧号HFN处理装置,由网络侧设备执行,如图12所示,所述超帧号HFN处理装置1200包括:When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN. The embodiment of the present disclosure also provides a hyperframe number HFN processing device, which is executed by a network side device. As shown in FIG. 12 , the hyperframe number HFN processing device 1200 includes:
发送单元1210,用于向终端发送PDCP数据包;A sending unit 1210, configured to send a PDCP data packet to the terminal;
其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。可选地,所述的HFN处理装置,其中,所述HFN编号更新指示信息包括以下至少之一:Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal. Optionally, in the HFN processing device, the HFN number update indication information includes at least one of the following:
指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;
指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;
指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。需要说明的是,本公开超帧号HFN处理方法和超帧号HFN处理装置是基于同一公开构思的,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1. It should be noted that the HFN processing method of the present disclosure and the HFN processing device of the HFN are based on the same disclosed concept, can realize all the method steps realized by the above-mentioned method embodiments, and can achieve the same technical effect, here Parts and beneficial effects in this embodiment that are the same as those in the method embodiment will not be described in detail again.
需要说明的是,本公开实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of the units in the embodiment of the present disclosure is schematic, and is only a logical function division, and there may be another division manner in actual implementation. In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本公开各个实施例所 述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on such an understanding, the essence of the technical solution of the present disclosure or the part that contributes to the related technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. Several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
本公开实施例还提供一种处理器可读存储介质,其中,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行如上任一项所述的超帧号HFN处理方法。An embodiment of the present disclosure also provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the supercomputer described in any one of the preceding items. Frame number HFN processing method.
所述处理器可读存储介质可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(Magneto-Optical disk,MO)等)、光学存储器(例如光盘(Compact Disk,CD)、数字光碟(Digital Versatile Disc,DVD)、蓝光光碟(Blu-ray Disc,BD)、高清通用光盘(High-Definition Versatile Disc,HVD)等)、以及半导体存储器(例如ROM、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、带电可擦可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、非易失性存储器(NAND FLASH)、固态硬盘(Solid State Disk,SSD))等。The processor-readable storage medium may be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (Magneto-Optical disk, MO) etc.) , Optical storage (such as Compact Disk (CD), Digital Versatile Disc (DVD), Blu-ray Disc (Blu-ray Disc, BD), High-Definition Versatile Disc (HVD), etc.), and Semiconductor memory (such as ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), non-volatile memory ( NAND FLASH), Solid State Disk (Solid State Disk, SSD)), etc.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机可执行指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机可执行指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagrams, and combinations of procedures and/or blocks in the flowchart and/or block diagrams can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine, such that instructions executed by the processor of the computer or other programmable data processing equipment produce Means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些处理器可执行指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的处理器可读存储器中,使得存储在该处理器可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These processor-executable instructions may also be stored in a processor-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the processor-readable memory produce a manufacturing product, the instruction device realizes the functions specified in one or more procedures of the flow chart and/or one or more blocks of the block diagram.
这些处理器可执行指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These processor-executable instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented The executed instructions provide steps for implementing the functions specified in the procedure or procedures of the flowchart and/or the block or blocks of the block diagrams.
需要说明的是,应理解以上各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,确定模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上确定模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of the above modules is only a division of logical functions, which may be fully or partially integrated into a physical entity or physically separated during actual implementation. And these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware. For example, the determining module may be a separate processing element, or may be integrated into a chip of the above-mentioned device. In addition, it may also be stored in the memory of the above-mentioned device in the form of program code, and a certain processing element of the above-mentioned device may Call and execute the functions of the modules identified above. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element mentioned here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,各个模块、单元、子单元或子模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For example, each module, unit, subunit or submodule may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or Multiple microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例,例如除了在 这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。类似地,本说明书以及权利要求中使用“A和B中的至少一个”应理解为“单独A,单独B,或A和B都存在”。The terms "first", "second" and the like in the specification and claims of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein are practiced, for example, in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus. In addition, the use of "and/or" in the description and claims means at least one of the connected objects, such as A and/or B and/or C, means that it includes A alone, B alone, C alone, and both A and B Existence, both B and C exist, both A and C exist, and there are 7 situations where A, B, and C all exist. Similarly, the use of "at least one of A and B" in the present specification and claims should be understood as "A alone, B alone, or both A and B exist".
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies thereof, the present disclosure also intends to include these modifications and variations.
Claims (18)
- 一种超帧号HFN处理方法,由终端执行,所述方法包括:A method for processing a hyperframe number HFN, executed by a terminal, the method comprising:接收网络侧设备发送的PDCP数据包;Receive the PDCP data packet sent by the network side device;确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。If the first HFN is different from the second HFN, perform processing on the first HFN.
- 根据权利要求1所述的HFN处理方法,其中,所述PDCP数据包中还包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;The HFN processing method according to claim 1, wherein the PDCP data packet further includes HFN update indication information, and the HFN update indication information is used to indicate the first HFN and the second HFN corresponding to the PDCP data packet sent by the network side device Whether the two HFNs are the same;其中,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:根据所述HFN更新指示信息,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN according to the HFN update indication information.
- 根据权利要求2所述的HFN处理方法,其中,所述HFN更新指示信息包括以下至少之一:The HFN processing method according to claim 2, wherein the HFN update indication information includes at least one of the following:指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
- 根据权利要求3所述的HFN处理方法,其中,所述HFN编号更新指示信息通过所述PDCP数据包的分组数据汇聚协议层PDCP数据data协议数据单元PDU发送,或者通过所述PDCP数据包的PDCP控制control PDU发送。The HFN processing method according to claim 3, wherein the HFN number update indication information is sent through the packet data convergence protocol layer PDCP data protocol data unit PDU of the PDCP data packet, or through the PDCP of the PDCP data packet Control control PDU transmission.
- 根据权利要求1所述的HFN处理方法,其中,所述对所述第一HFN进行处理,包括:The HFN processing method according to claim 1, wherein said processing the first HFN comprises:将所述第二HFN加1得到的数值确定为所述第一HFN。A value obtained by adding 1 to the second HFN is determined as the first HFN.
- 根据权利要求3所述的HFN处理方法,其中,在所述HFN编号更新指示包括指示第一HFN的最低N位对应的数值的情况下,所述对所述第一HFN进行处理,包括:The HFN processing method according to claim 3, wherein, in the case where the HFN number update indication includes a value corresponding to the lowest N bits indicating the first HFN, said processing the first HFN includes:根据所述最低N位对应的数值,对所述第二HFN编号的相应位进行更新,获得所述第一HFN编号。The corresponding bits of the second HFN number are updated according to the value corresponding to the lowest N bits to obtain the first HFN number.
- 根据权利要求1所述的HFN处理方法,其中,所述确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:The HFN processing method according to claim 1, wherein said determining whether the first HFN corresponding to the PDCP packet is the same as the second HFN comprises:根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同;其中,所述第一SN由所述网络侧设备通过信令发送至所述终端。According to the first SN and the second SN in the PDCP data packet, determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN; wherein, the first SN is signaled by the network side device sent to the terminal.
- 根据权利要求7所述的HFN处理方法,还包括:The HFN processing method according to claim 7, further comprising:根据所述第一SN,确定第一窗口和第二窗口;其中,所述第一窗口为[SNini,2maxSN–1-1],所述第二窗口为[0,2maxSN–1-1-SNini];SNini为所述第一SN,maxSN为SN的最大值;According to the first SN, determine the first window and the second window; wherein, the first window is [SNini, 2maxSN-1-1], and the second window is [0, 2maxSN-1-1-SNini ]; SNini is the first SN, and maxSN is the maximum value of SN;其中,根据第一SN和所述PDCP数据包中的第二SN,确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,包括:Wherein, according to the first SN and the second SN in the PDCP data packet, determining whether the first HFN corresponding to the PDCP data packet is the same as the second HFN includes:在所述第二SN位于第一窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN相同;When the second SN is located in the first window, determine that the first HFN corresponding to the PDCP data packet is the same as the second HFN;在所述第二SN位于第二窗口时,确定所述PDCP数据包对应的第一HFN与第二HFN不相同。When the second SN is located in the second window, it is determined that the first HFN corresponding to the PDCP data packet is different from the second HFN.
- 根据权利要求8所述的HFN处理方法,所述方法还包括:The HFN processing method according to claim 8, said method further comprising:在所述第二SN位于所述第一SN窗口和所述第二SN窗口之外时,向网络侧设备反馈异常报告信息。When the second SN is outside the first SN window and the second SN window, feeding back abnormality report information to the network side device.
- 根据权利要求1所述的HFN处理方法,所述接收网络侧设备发送的PDCP数据包之后,还包括:The HFN processing method according to claim 1, after receiving the PDCP packet sent by the network side device, further comprising:判断所述PDCP数据包是否为所接收MBS业务的业务数据的第一个数据包;Judging whether the PDCP data packet is the first data packet of the service data of the received MBS service;在所述PDCP数据包为所接收MBS业务的业务数据的第一个数据包时,则确定所述PDCP数据包对应的第一HFN与第二HFN是否相同。When the PDCP data packet is the first data packet of the service data of the received MBS service, it is determined whether the first HFN corresponding to the PDCP data packet is the same as the second HFN.
- 一种超帧号HFN处理方法,由网络侧设备执行,所述方法包括:A method for processing a hyperframe number HFN, performed by a network side device, the method comprising:向终端发送PDCP数据包;Send a PDCP packet to the terminal;其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指 示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- 根据权利要求11所述的HFN处理方法,其中,所述HFN编号更新指示信息包括以下至少之一:The HFN processing method according to claim 11, wherein the HFN number update instruction information includes at least one of the following:指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
- 一种终端,包括存储器、收发机和处理器:A terminal comprising a memory, a transceiver and a processor:存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:接收网络侧设备发送的PDCP数据包;Receive the PDCP data packet sent by the network side device;确定所述PDCP数据包对应的第一HFN与第二HFN是否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;Determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, where the second HFN is sent to the terminal by the network side device through signaling;若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。If the first HFN is different from the second HFN, perform processing on the first HFN.
- 根据权利要求13所述的终端,其中,所述HFN更新指示信息包括以下至少之一:The terminal according to claim 13, wherein the HFN update indication information includes at least one of the following:指示第一HFN与第二HFN不同的第一指示位;A first indication bit indicating that the first HFN is different from the second HFN;指示第一HFN与第二HFN相同的第二指示位;indicating that the first HFN is the same as the second HFN;指示第一HFN的最低N位对应的数值;其中,N为大于或等于1的整数。Indicates the value corresponding to the lowest N bits of the first HFN; wherein, N is an integer greater than or equal to 1.
- 一种网络侧设备,包括存储器、收发机和处理器:A network side device, including a memory, a transceiver and a processor:存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:向终端发送PDCP数据包;Send a PDCP packet to the terminal;其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- 一种超帧号HFN处理装置,由终端执行,包括:A super frame number HFN processing device, executed by a terminal, comprising:接收单元,用于接收网络侧设备发送的PDCP数据包;a receiving unit, configured to receive a PDCP packet sent by a network side device;确定单元,用于确定所述PDCP数据包对应的第一HFN与第二HFN是 否相同,其中,所述第二HFN由所述网络侧设备通过信令发送至所述终端;A determining unit, configured to determine whether the first HFN corresponding to the PDCP data packet is the same as the second HFN, wherein the second HFN is sent to the terminal by the network side device through signaling;处理单元,用于若所述第一HFN与所述第二HFN不相同,则对所述第一HFN进行处理。A processing unit, configured to process the first HFN if the first HFN is different from the second HFN.
- 一种超帧号HFN处理装置,由网络侧设备执行,包括:A super frame number HFN processing device, executed by a network side device, comprising:发送单元,用于向终端发送PDCP数据包;a sending unit, configured to send a PDCP packet to the terminal;其中,所述PDCP数据包中包括HFN更新指示信息,所述HFN更新指示信息用于指示网络侧设备发送的PDCP数据包对应的第一HFN与第二HFN是否相同;所述第二HFN由所述网络侧设备通过信令发送至所述终端。Wherein, the PDCP data packet includes HFN update indication information, and the HFN update indication information is used to indicate whether the first HFN corresponding to the PDCP data packet sent by the network side device is the same as the second HFN; the second HFN is determined by the The network side device sends the signaling to the terminal.
- 一种处理器可读存储介质,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行权利要求1至10任一项所述的超帧号HFN处理方法,或者执行权利要求11至12任一项所述的超帧号HFN处理方法。A processor-readable storage medium, the processor-readable storage medium stores a computer program, the computer program is used to enable the processor to perform the hyperframe number HFN processing described in any one of claims 1 to 10 method, or execute the hyperframe number HFN processing method described in any one of claims 11 to 12.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111237920.1 | 2021-10-22 | ||
CN202111237920.1A CN116015577A (en) | 2021-10-22 | 2021-10-22 | Superframe number HFN processing method, device, terminal and base station |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023066240A1 true WO2023066240A1 (en) | 2023-04-27 |
Family
ID=86022014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/125884 WO2023066240A1 (en) | 2021-10-22 | 2022-10-18 | Hyper-frame number (hfn) processing method and apparatus, terminal, and base station |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116015577A (en) |
WO (1) | WO2023066240A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150280905A1 (en) * | 2014-04-01 | 2015-10-01 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for detecting and correcting pdcp hyper frame number (hfn) desynchronization |
CN111510278A (en) * | 2020-04-26 | 2020-08-07 | Oppo广东移动通信有限公司 | Hyper frame number HFN synchronization method, terminal and storage medium |
WO2021056152A1 (en) * | 2019-09-23 | 2021-04-01 | Oppo广东移动通信有限公司 | Information configuration method and apparatus, terminal device, and network device |
-
2021
- 2021-10-22 CN CN202111237920.1A patent/CN116015577A/en active Pending
-
2022
- 2022-10-18 WO PCT/CN2022/125884 patent/WO2023066240A1/en unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150280905A1 (en) * | 2014-04-01 | 2015-10-01 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for detecting and correcting pdcp hyper frame number (hfn) desynchronization |
WO2021056152A1 (en) * | 2019-09-23 | 2021-04-01 | Oppo广东移动通信有限公司 | Information configuration method and apparatus, terminal device, and network device |
CN111510278A (en) * | 2020-04-26 | 2020-08-07 | Oppo广东移动通信有限公司 | Hyper frame number HFN synchronization method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116015577A (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8832449B2 (en) | Security considerations for the LTE of UMTS | |
US9801072B2 (en) | Non-access stratum architecture and protocol enhancements for long term evolution mobile units | |
US11297493B2 (en) | Data transmission method, related device, and communications system | |
CN110771191B (en) | Method and apparatus for implementing bearer specific changes | |
WO2019029691A1 (en) | Data integrity protection method and apparatus | |
WO2008001187A2 (en) | Method for providing improved sequence number handling in networks | |
CN107347199B (en) | It is a kind of switching and its control method, device | |
WO2019095206A1 (en) | Switching method and device and computer storage medium | |
WO2018127220A1 (en) | Data forwarding method and device | |
CN111556506B (en) | Abnormal link processing method and equipment | |
WO2019019150A1 (en) | Data transmission method, terminal device and network device | |
TW202027478A (en) | Method for processing data packet, entity and storage medium | |
CN112673675B (en) | Sequence Number (SN) synchronization mechanism in RLC-based packet forwarding | |
WO2023202523A1 (en) | Data transmission method and communication apparatus | |
WO2023066240A1 (en) | Hyper-frame number (hfn) processing method and apparatus, terminal, and base station | |
WO2019090626A1 (en) | Data retransmission method and device | |
WO2022133912A1 (en) | Sidelink communication method, apparatus and system | |
WO2022100733A1 (en) | Data sensing method and related device thereof | |
WO2021238813A1 (en) | Method and apparatus for obtaining key | |
WO2023000876A1 (en) | Data transmission method and apparatus, base station, and terminal | |
CN109672707B (en) | Data transmission method and device and computer storage medium | |
WO2020077502A1 (en) | Wireless communication method and device | |
CN116686335A (en) | Integrated access and backhaul communication method and device | |
WO2022082770A1 (en) | Data processing method and apparatus | |
WO2020124540A1 (en) | Data packet reordering method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22882845 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |