Method of integrity check, terminal, and network-side equipment
A method of integrity check, a terminal, and network-side equipment are provided. The method includes: receiving, by the terminal, user plane data transmitted by the network-side equipment; performing, by the terminal, integrity check on the user plane data based on user-plane-data integrity check configuration information.
1. A method of integrity check, comprising:
receiving, by a terminal, user plane data transmitted by a network-side equipment;
performing, by the terminal, the integrity check on the user plane data based on user-plane-data integrity check configuration information,
wherein the terminal operates in a dual connectivity (DC) system;
wherein the user-plane-data integrity check configuration information further comprises third indication information;
the third indication information is configured to instruct the terminal to perform the integrity check on the received user plane data transmitted by another network-side equipment;
wherein before the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the method further comprises:
receiving, by the terminal, the user-plane-data integrity check configuration information transmitted by the network-side equipment,
wherein the network-side equipment acts as a secondary node (SN) in the DC system;
after the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the method further comprises:
in case that the user plane data fails the integrity check, transmitting, by the terminal, integrity check failure information to a master node (MN) in the DC system.
2. The method according to claim 1 , wherein the user plane data is carried on at least one data radio bearer (DRB);
the user-plane-data integrity check configuration information comprises first indication information configured to indicate performing the integrity check on user plane data carried on a DRB of the at least one DRB on which the integrity check requires to be performed;
the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information comprises:
performing, by the terminal, the integrity check on the user plane data carried on the DRB indicated by the first indication information;
or,
wherein the user-plane-data integrity check configuration information comprises second indication information configured to instruct the terminal to perform integrity check on all the user plane data received;
the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information comprises:
performing, by the terminal, the integrity check on all the user plane data received by the terminal based on the second indication information.
3. The method according to claim 2 , wherein the performing, by the terminal, the integrity check on the user plane data carried on the DRB indicated by the first indication information comprises:
in case that the user plane data carried on at least one of DRB s indicated by the first indication information fails the integrity check, determining, by the terminal, that the user plane data fails the integrity check.
4. The method according to claim 3 , wherein the determining, by the terminal, that the user plane data carried on the DRB fails the integrity check comprises:
in case that at least one of data packets carried on the DRB fails the integrity check, determining, by the terminal, that the user plane data carried on the DRB fails the integrity check; or
in case that a ratio of the number of data packets carried on the DRB that fail the integrity check to the number of received data packets carried on the DRB exceeds a preset threshold, determining, by the terminal, that the user plane data carried on the DRB fails the integrity check; or
in case that the number of data packets carried on the DRB that fail the integrity check exceeds a preset number, determining, by the terminal, that the user plane data carried on the DRB fails the integrity check; or
in case that the number of data packets carried on the DRB that fail the integrity check exceeds a preset number in a preset duration, determining, by the terminal, that the user plane data carried on the DRB fails the integrity check; or
in case that the number of consecutive data packets carried on the DRB that fail the integrity check exceeds a preset number, determining, by the terminal, that the user plane data carried on the DRB fails the integrity check.
5. The method according to claim 1 , wherein, after the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the method further comprises:
in case that the user plane data fails the integrity check, performing, by the terminal, at least one of the following steps:
transmitting, by a PDCP layer of the terminal, an integrity check failure notification message to a radio resource control (RRC) layer of the terminal;
discarding, by the terminal, the user plane data;
transmitting, by the terminal, the integrity check failure notification message to the network-side equipment;
releasing, by the terminal, an RRC connection with the network-side equipment;
triggering, by the terminal, a radio link failure (RLF) mechanism;
releasing, by the terminal, a data radio bearer (DRB) configuration of the network-side equipment.
6. The method according to claim 5 , wherein, before the performing, by the terminal, the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the method further comprises:
receiving, by the terminal, a failure processing activation message transmitted by the network-side equipment.
7. The method according to claim 1 , wherein the user-plane-data integrity check configuration information further comprises fourth indication information;
the fourth indication information is configured to indicate an integrity check algorithm corresponding to the integrity check performed on the user plane data by the terminal.
8. The method according to claim 1 , wherein the in case that the user plane data fails the integrity check, transmitting, by the terminal, integrity check failure information to the MN in the DC system, comprises:
transmitting, by the terminal, the integrity check failure information with an identifier of the SN to the MN, rather than transmitting the integrity check failure information to the SN, to instruct the MN to disconnect from the SN and re-establish a connection with a new SN.
9. A terminal, comprising: a processor; a storage; and a computer program stored in the storage and configured to be executed by the processor, wherein the processor is configured to execute the computer program, to implement the following steps:
receiving user plane data transmitted by a network-side equipment;
performing integrity check on the user plane data based on user-plane-data integrity check configuration information,
wherein, before the performing the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the processor is further configured to execute the computer program to implement: receiving the user-plane-data integrity check configuration information transmitted by the network-side equipment,
wherein the terminal operates in a dual connectivity (DC) system and the network-side equipment acts as a secondary node (SN) in the DC system;
after the performing the integrity check on the user plane data based on the user-plane-data integrity check configuration information, the processor is further configured to execute the computer program to implement: transmitting integrity check failure information to a master node (MN) in the DC system in case that the user plane data fails the integrity check;
wherein the user-plane-data integrity check configuration information further comprises third indication information;
the third indication information is configured to instruct the terminal to perform the integrity check on the received user plane data transmitted by another network-side equipment.
10. The terminal according to claim 9 , wherein the user plane data is carried on at least one data radio bearer (DRB);
the user-plane-data integrity check configuration information comprises first indication information configured to indicate performing the integrity check on user plane data carried on a DRB of the at least one DRB on which the integrity check requires to be performed;
the performing the integrity check on the user plane data based on the user-plane-data integrity check configuration information comprises: performing the integrity check on the user plane data carried on the DRB indicated by the first indication information;
or,
wherein the user-plane-data integrity check configuration information comprises second indication information configured to instruct the terminal to perform integrity check on all the user plane data received;
the performing the integrity check on the user plane data based on the user-plane-data integrity check configuration information comprises: performing the integrity check on all the user plane data received by the terminal based on the second indication information.
11. The terminal according to claim 10 , wherein the performing the integrity check on the user plane data carried on the DRB indicated by the first indication information comprises:
in case that the user plane data carried on at least one of DRBs indicated by the first indication information fails the integrity check, determining that the user plane data fails the integrity check.