Core network side indication data encryption direction method, sending and receiving equipment and storage medium
By judging the data encryption direction on the core network side and establishing a dedicated bearer, the resource waste and network impact caused by data encryption in wireless communications are solved, and resource conservation and network stability are improved.
Patent Information
- Application Number
- CN202211130092.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-09-16
AI Technical Summary
In wireless communication, the data encryption process leads to waste of resources of base stations and terminal equipment, and increases power consumption, which may cause network congestion and paralysis, especially in the case of multi-user access, and the control method of the bearer in the prior art. Inflexible enough leads to waste of resources and network impact.
The core network side judges the data encryption direction through the traffic template judgment unit, establishes a single or multiple dedicated bearers, and notifies the base station to establish a bearer corresponding to the encryption direction, realizes one-way encryption, avoids unnecessary decryption and encryption operations, and saves resources.
Through the method of indicating the data encryption direction on the core network side, resource conservation is achieved, network congestion and paralysis are avoided, and network stability and efficiency are improved.
Smart Images

Figure CN115460593B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of secure communication technology, and in particular to a method for indicating data encryption direction on a core network side, a sending and receiving device, and a storage medium. Background Art
[0002] In the field of wireless communications, it mainly includes wireless access network and core network. The wireless access network handles all wireless-related functions, while the core network handles all voice calls and data connections within the communication system and implements switching and routing functions with external networks. Figure 2 As shown, it is a 5G network architecture diagram of the prior art, UE is the terminal equipment, RAN is the base station equipment, and other network elements can be understood as a group, all of which are core network equipment.
[0003] RAN is composed of GNB, which provides user plane and control plane services and management for wireless access of UE (User Equipment). UE is connected to RAN through air interface, RAN is connected to AMF through N2 interface, and to UPF through N3 interface, and UPF is connected to the external Internet through N6 interface.
[0004] Data on the network side or UE side is transmitted through the path UE->RAN->N3->N6. Uplink transmission is on the uplink path, and downlink transmission is on the downlink path, and the two are independent.
[0005] In the prior art, when a UE accesses a wireless network, a default bearer or a dedicated bearer is established between the UE, the base station, and the core network for the user to transmit data. During the transmission process, an encryption method can be enabled for the user in the direction of the UE and the base station to ensure the security of data transmission.
[0006] Data encryption can be achieved through hardware encryption or software encryption.
[0007] When the UE and the base station enable data encryption, the encryption algorithm needs to be negotiated in advance between the two, and the system derives the corresponding secret key on the base station and UE side. When data encryption is enabled, the base station encrypts the downlink data, and when the UE receives the downlink data, it decrypts it according to the configured encryption algorithm and secret key. At the same time, the UE encrypts the uplink data sent, and the base station decrypts it according to the configured encryption algorithm and password. Whether it is in the base station or in the UE terminal, whether it is hardware encryption and decryption, or software encryption or decryption, it will waste CPU, hardware resources, etc., causing additional burden on the base station or UE terminal, causing additional power consumption. In particular, when software encryption is used, the base station or terminal must decrypt each piece of data received, which greatly increases the processing burden of the base station or terminal. When more and more users access the base station, the burden on the base station will increase exponentially, and may even cause network paralysis.
[0008] The existing technology encrypts data on the bearer in pairs, including both uplink and downlink. When a bearer only needs to encrypt data in a certain direction or does not allow data encryption in a certain direction, the existing technology's control method for the bearer may cause problems such as insufficient control or waste of resources, and the network and server being impacted by a large amount of data, resulting in waste of resources, network congestion, network paralysis, etc. Summary of the invention
[0009] The main objective of the present invention is to optimize the above communication process and provide a method for indicating the direction of data encryption on the core network side, a sending and receiving device and a storage medium.
[0010] The objective of the present invention is achieved through the following technical solutions:
[0011] The method for indicating the direction of data encryption on the core network side includes the following steps:
[0012] S1: After the core network receives the data request, the traffic template judgment unit in the core network judges the data encryption direction;
[0013] S2: The core network establishes one or more dedicated bearers in a single encryption direction based on the determination result.
[0014] Furthermore, the method for indicating the data encryption direction on the core network side also includes: when the core network establishes a dedicated bearer, according to the requirements of the data initiator, notifying the base station to establish a bearer corresponding to the encryption direction.
[0015] Furthermore, the traffic template judgment unit judges contents including a bearer type range, a default priority range, a bearer delay range, a bearer fault tolerance range, a bearer window range and a bearer encryption direction range.
[0016] Further, the step S2 specifically includes: detecting in the traffic template judgment unit whether multiple data initiators meet the same data encryption direction, if the same encryption direction, that is, all uplink encryption or all downlink encryption, using the same dedicated bearer to transmit data of all initiators;
[0017] If the data transmission encryption direction includes both uplink and downlink directions, at least two dedicated bearers are established, one bearer for uplink encryption and one bearer for downlink encryption.
[0018] Further, a sending and receiving device is provided on the core network side, comprising an indication information setting unit, an indication information sending unit, a receiving unit, a one-way encryption implementation unit and a traffic template determination unit;
[0019] The indication information setting unit is used to set the indication information by setting the encryption direction indication parameter carried in the request message, or by sending a request message indicating different encryption directions, or by setting different bits of a specific parameter in the request message;
[0020] The indication information sending unit is used to send the indication information to the base station;
[0021] The receiving unit is used to receive indication information including encryption direction sent by the data requester;
[0022] The one-way encryption implementation unit is used to perform one-way encryption of data;
[0023] The traffic template judgment unit is used to establish one or more bearers according to the encryption requirements of the data initiator; different terminals or the same terminal initiate multiple requests, and when the same traffic template rule is met, a bearer is established, and when different traffic rule templates are met, different bearers are established.
[0024] Furthermore, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements a method for indicating data encryption direction on the core network side.
[0025] The beneficial effects of the present invention are as follows: the present invention establishes a one-way encrypted bearer on the core network side according to the encryption direction indication of the sender, thereby achieving the purpose of saving resources and avoiding resource waste, network congestion, network paralysis and the like. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0027] Figure 1 It is a schematic diagram of the process of the present invention;
[0028] Figure 2 This is a 5G network architecture diagram of the existing technology;
[0029] Figure 3 It is a flow chart of the one-way encryption method of the present invention;
[0030] Figure 4 It is a flow chart of establishing a one-way encrypted bearer according to the present invention;
[0031] Figure 5 This is a flow chart of establishing two one-way encrypted bearers of the present invention. DETAILED DESCRIPTION
[0032] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0034] like Figure 1 As shown, the method for indicating the data encryption direction on the core network side includes the following steps:
[0035] S1: After the core network receives the data request, the traffic template judgment unit in the core network judges the data encryption direction;
[0036] S2: The core network establishes one or more dedicated bearers in a single encryption direction based on the determination result.
[0037] Furthermore, the method for indicating the data encryption direction on the core network side also includes: when the core network establishes a dedicated bearer, according to the requirements of the data initiator, notifying the base station to establish a bearer corresponding to the encryption direction.
[0038] Furthermore, the traffic template judgment unit judges the content including the bearer type range, the default priority range, the bearer delay range, the bearer fault tolerance range, the bearer window range and the bearer encryption direction range. The core network needs to plan the traffic template in advance. When different terminals or the same terminal initiate multiple bearers, it is decided whether to establish one bearer or multiple bearers according to the traffic template rules. When the same traffic template rules are met, a bearer is established. When different traffic rule templates are met, different bearers are established.
[0039] Further, the step S2 specifically includes: detecting in the traffic template judgment unit whether multiple data initiators meet the same data encryption direction, if the same encryption direction, that is, all uplink encryption or all downlink encryption, using the same dedicated bearer to transmit data of all initiators;
[0040] If the data transmission encryption direction includes both uplink and downlink directions, at least two dedicated bearers are established, one bearer for uplink encryption and one bearer for downlink encryption.
[0041] After the core network establishes the bearer, it decrypts or encrypts data in one direction and refuses to encrypt or decrypt data in the other direction.
[0042] like Figure 3-5 As shown, Figure 2 It is a flow chart of a method for implementing one-way encryption during bearer establishment or modification in an embodiment of the present invention.
[0043] Figure 4 This is a flow chart of a method for the network to establish a one-way encrypted bearer for UE1 and UE2 in an embodiment of the present invention. The traffic template is matched successfully, and finally a bearer is established for UE1 and UE2.
[0044] Figure 5 This is a flow chart of a method for the network to establish a one-way encrypted bearer for UE1 and UE2 in an embodiment of the present invention. The traffic template matching fails, and ultimately a bearer is established for each of UE1 and UE2.
[0045] The data initiator decides the direction of data encryption. After receiving the data request, the core network establishes the corresponding dedicated bearer. When the core network establishes the dedicated bearer, it notifies the base station to establish the bearer according to the requirements of the data initiator.
[0046] When the base station establishes a dedicated bearer, it indicates the direction of data encryption to the data receiving terminal through the air interface. The detection of data encryption direction is added to the traffic template of the core network. When multiple data initiators submit data requests to the core network, the core network detects in the traffic template whether these multiple data initiators meet the same data encryption direction. If it is the same encryption direction, such as all uplink encryption or all downlink encryption, then the same dedicated bearer can be used to transmit the data of all the initiators. Otherwise, the data transmission encryption direction has both uplink and downlink directions. In this case, at least two dedicated bearers will be established for the user, one bearer for uplink encryption and one bearer for downlink encryption.
[0047] The initiator of the data can switch the encryption method of the data. The core network and the base station need to modify the encryption direction of the corresponding bearer and notify the terminal. The terminal or base station decrypts or encrypts the data in a single direction based on the encryption direction of the received data, and refuses to encrypt or decrypt the data in the other direction.
[0048] A sending and receiving device, arranged at the core network side, comprises an indication information setting unit, an indication information sending unit, a receiving unit, a one-way encryption implementation unit and a traffic template judgment unit;
[0049] The indication information setting unit is used to set the indication information by setting the encryption direction indication parameter carried in the request message, or by sending a request message indicating different encryption directions, or by setting different bits of a specific parameter in the request message;
[0050] The indication information sending unit is used to send the indication information to the base station;
[0051] The receiving unit is used to receive indication information including encryption direction sent by the data requester;
[0052] The one-way encryption implementation unit is used to perform one-way encryption of data;
[0053] The traffic template judgment unit is used to establish one or more bearers according to the encryption requirements of the data initiator; different terminals or the same terminal initiate multiple requests, and when the same traffic template rule is met, a bearer is established, and when different traffic rule templates are met, different bearers are established.
[0054] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements a method for indicating data encryption direction on a core network side.
[0055] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for indicating a data encryption direction on a core network side, characterized in that: The following steps are involved: S1: After the core network receives the data request, the traffic template judgment unit in the core network judges the data encryption direction; the traffic template judgment unit judges the content including the bearer type range, the default priority range, the bearer delay range, the bearer fault tolerance range, the bearer window range and the bearer encryption direction range; S2: The core network establishes one or more dedicated bearers of a single encryption direction according to the judgment result; the step S2 specifically includes: detecting in the traffic template judgment unit whether multiple data initiators meet the same data encryption direction; if they are the same encryption direction, that is, all are uplink encryption or all are downlink encryption, then the same dedicated bearer is used to transmit the data of all initiators; if the data transmission encryption direction has both an uplink direction and a downlink direction, then at least two dedicated bearers are established, one bearer for uplink encryption and one bearer for downlink encryption; after the core network establishes the bearer, it decrypts or encrypts the data in a single direction and refuses to encrypt or decrypt the data in the other direction; The core network needs to plan the traffic template in advance. When different terminals or the same terminal initiate multiple bearers, it decides whether to establish one bearer or multiple bearers based on the traffic template rules. When the same traffic template rules are met, one bearer is established. When different traffic rule templates are met, different bearers are established. When the core network establishes a dedicated bearer, it notifies the base station to establish the bearer in the corresponding encryption direction according to the requirements of the data initiator.
2. A sending and receiving device, arranged at the core network side, adopts the method for indicating data encryption direction at the core network side as claimed in claim 1, characterized in that: It includes an indication information setting unit, an indication information sending unit, a receiving unit, a one-way encryption implementation unit and a traffic template judgment unit; The indication information setting unit is used to set the indication information by setting the encryption direction indication parameter carried in the request message, or by sending a request message indicating different encryption directions, or by setting different bits of a specific parameter in the request message; The indication information sending unit is used to send the indication information to the base station; The receiving unit is used to receive indication information including encryption direction sent by the data requester; The one-way encryption implementation unit is used to perform one-way encryption of data; The traffic template judgment unit is used to establish one or more bearers according to the encryption requirements of the data initiator; different terminals or the same terminal initiate multiple requests, and when the same traffic template rule is met, a bearer is established, and when different traffic rule templates are met, different bearers are established.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for indicating data encryption direction on the core network side as described in claim 1 is implemented.
Citation Information
Patent Citations
Method and system for realizing multi-user data sharing on downlink shared channel in wireless communication system
CN101860871A
Cache status reporting method and device, terminal and base station
CN104918232A
Uplink data processing method and apparatus therefor
WO2017164553A1
