WO2013029461A1 - Secure data transmission method and associated device - Google Patents
Secure data transmission method and associated device Download PDFInfo
- Publication number
- WO2013029461A1 WO2013029461A1 PCT/CN2012/079801 CN2012079801W WO2013029461A1 WO 2013029461 A1 WO2013029461 A1 WO 2013029461A1 CN 2012079801 W CN2012079801 W CN 2012079801W WO 2013029461 A1 WO2013029461 A1 WO 2013029461A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cell
- station
- security
- target
- site
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/0085—Hand-off measurements
- H04W36/0094—Definition of hand-off measurement parameters
Definitions
- the present invention relates to the field of communications, and in particular, to a data security transmission method and related equipment. Background technique
- LTE-A Long Term Evolution-Advanced
- CA Carrier Aggregation
- the carrier aggregation is further divided into an intra-band CA and an inter-band CA.
- intra-band CA since the aggregated multiple carriers are in the same frequency band, the coverage can be consistent, and for the inter-band CA, if the aggregation is involved If the frequency bands of the two carriers are far apart, the coverage of the two carriers also has a large difference. Generally, the carrier coverage of the low frequency band is large, and the carrier coverage of the high frequency band is small.
- the UE can simultaneously aggregate the high and low frequency carriers for use. However, if the UE moves to the edge of the cell, the high frequency carrier may not cover the area. Then, the UE will not be able to use the high frequency carrier for data transmission and reception. Therefore, the user at the cell edge will have a much lower user throughput than the cell center.
- the relay station can be used to expand the coverage of the high frequency carrier.
- the UE at the cell edge needs to When the component carriers of the high frequency band and the low frequency band are used at the same time, the UE needs to aggregate the carriers from two different stations, that is, the carrier of the low frequency band is from the macro base station, and the carrier of the high frequency band is from the relay station, and the UE needs to ensure that the UE can simultaneously be in the macro base station and Relay station between two different sites According to secure transmission.
- the UE needs to perform data secure transmission with more than one site, there is currently no related solution to ensure that the UE simultaneously performs data security transmission between different sites. Summary of the invention
- Embodiments of the present invention provide a data security transmission method and related device, which are used to implement data security transmission between a UE and different service sites.
- the embodiment of the present invention provides the following technical solutions:
- a data security transmission method under multiple sites including:
- the user equipment UE sends a first measurement report message to the first station, where the first station is the current serving station of the UE;
- the foregoing first station And receiving, by the foregoing first station, a cell addition command message, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, where the foregoing new The cell is determined by the first station to be the service cell added by the UE according to the foregoing first measurement report message;
- the data security transmission is performed with the second site by using the generated security key.
- a data security transmission method under multiple sites including:
- the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, so that the UE is added based on the foregoing
- the security algorithm indicated by the PCI and the frequency of the cell and the security algorithm identifier of the second site generates a security key, where the newly added cell is determined by the first station to be added to the UE according to the first measurement report message. Service area.
- a data security transmission method under multiple sites including:
- the user equipment UE sends a first measurement report message to the first station, where the first station is the foregoing UE's current monthly service site;
- the cell addition command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is a cell in a coverage of the second site, and is the first site. Determining, according to the foregoing first measurement report message, a service cell added by the UE;
- Data security transmission is performed with the above second site by using the above security key.
- a data security transmission method under multiple sites including:
- the cell increase command message includes a PCI and a frequency of the newly added cell, so that the UE generates a security key based on the PCI and frequency of the new cell and the security algorithm used by the first site.
- the new cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message.
- a user equipment including:
- a sending unit configured to send a first measurement report message to the first station, where the first site is a current service site of the user equipment;
- a receiving unit configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier pci and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs,
- the new cell is determined by the first station to be a service cell added by the user equipment based on the first measurement report message;
- a generating unit configured to generate a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier;
- a transmission unit configured to perform data security transmission with the second station by using the security key generated by the generating unit.
- a network site including: a receiving unit, configured to receive a first measurement report message sent by the user equipment UE, and a sending unit, configured to send a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and the foregoing Adding a security algorithm identifier of the second site to which the cell belongs, so that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier of the second site, where The newly added cell is determined by the first station to be a new serving cell of the UE according to the first measurement report message.
- the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and the foregoing Adding a security algorithm identifier of the second site to which the cell belongs, so that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifie
- a user equipment including:
- a sending unit configured to send a first measurement report message to the first station, where the first site is a current service site of the user equipment;
- a receiving unit configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is the first station based on the first measurement
- the report message is determined to be a new service cell added to the user equipment
- a generating unit configured to generate a security key based on the PCI and frequency of the newly added cell and a security algorithm used by the first site
- a transmission unit configured to perform data security transmission with the second station by using the security key generated by the generating unit.
- a network site including:
- a receiving unit configured to receive a first measurement report message sent by the user equipment UE
- a sending unit configured to send a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, so that the UE is used according to the PCI and frequency of the newly added cell, and the foregoing network site
- the security algorithm generates a security key, where the new cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message.
- Data security transmission is implemented, and data security transmission between the UE and the newly added service station is implemented in a scenario where the cell is added; on the other hand, when the UE needs to switch from the current service site to more than two target sites, Receiving an indication of the handover command message, generating a security key for secure transmission of data with the target site, and implementing data security between the UE and the target site to be switched when switching from the current service site to the multiple target sites transmission.
- the technical solution provided by the embodiment of the present invention can implement data security transmission between the UE and different service sites.
- FIG. 1 is a schematic flowchart of an embodiment of a data security transmission method according to the present invention
- FIG. 1B is a schematic flowchart of an embodiment of a security key generation mechanism in an LTE system
- FIG. 3 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention
- FIG. 4 is a schematic diagram of a data security transmission method provided by the present invention
- FIG. 5 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention
- FIG. 6 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention
- FIG. 1B is a schematic flowchart of an embodiment of a security key generation mechanism in an LTE system
- FIG. 3 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention
- FIG. 4 is a schematic diagram of a data security transmission method provided by
- FIG. 8 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention
- FIG. 9 is a data provided by the present invention.
- FIG. 10 is a user equipment provided by the present invention It shows a structure of an embodiment
- FIG. 11 is a schematic structural diagram of an embodiment of a network site according to the present invention. detailed description
- Embodiments of the present invention provide a data security transmission method and related equipment.
- an embodiment of a data security transmission method includes:
- the UE sends a first measurement report message to the first station.
- the first site is the current serving site of the UE.
- the UE when it needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- Site The first station determines, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine a serving cell added for the UE.
- the UE and the first station may generate a security key by using a key generation mechanism defined by the LTE system, and the UE may use the switch from the first site to another site.
- the security key is securely transmitted with the first site.
- the key generation mechanism can be as shown in Figure 1-b:
- the UE accesses the first site, the UE and the mobility management entity (MME, Mobility)
- MME mobility management entity
- the S2. UE and the MME further derive an intermediate key K, a second key NAS, and a hop (NH, Next Hop) parameter value based on the KASME;
- COUNT upstream non-access stratum COUNT, where the COUNT value consists of the superframe number and the sequence number of the packet;
- K ⁇ HMAC-SHA-256 ( k ⁇ ME , s ).
- HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 1 0118-3:2004 standards.
- the method of deriving the NH value from k ASME is as follows:
- the HMAC-SHA-256 key derivation function is composed of IETF RFC 2104 (1997) and
- the MME sends the generated ⁇ NAS and NH parameter values to the first site;
- the UE generates a security key according to the security algorithm used by the ⁇ and the first site, where the security key includes KuPenc , KcPenc, and Kcpint , where KuPenc is used for the strength of the user plane data, and KcPenc is used for control signaling. Encryption, K cp mt is used to control the integrity protection of signaling;
- the first site generates a security key according to the security algorithm used by the ⁇ and the first site.
- the security key includes KuPenc , KcPenc, and Kc p int ;
- the UE and the first site use the generated security key for secure data transmission.
- the UE receives the cell addition command message returned by the first station, where the cell addition command message includes a physical cell identifier (Physic, Physical Cell Identity) and a frequency of the newly added cell, and a security algorithm identifier of the second station.
- a physical cell identifier Physical Cell Identity
- the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE.
- the first site is determined to be newly added by the UE.
- the cell is called a new cell.
- the first site can be based on the PCI and frequency of the newly added cell, and
- the first intermediate key used by the UE for data security transmission (hereinafter replaced by ⁇ ) generates a second intermediate key (hereinafter replaced by ⁇ ), or the first station may be based on the PCI and frequency of the newly added cell, and
- the current ⁇ parameter value of the first site generates ⁇ ⁇ , specifically, whether the first site generates ⁇ based on the ⁇ parameter value * depends on the count of the next hop chain counter ( NCC, Next Hop Chaining Count ) maintained locally by the first site Value, if the count value of the NCC overflows, the first station generates NB* based on the NH parameter value, and if not overflows, generates k 6 N B * based on ⁇ , specifically, based on the PCI and frequency of the newly added cell, and Alternatively, based on the PCI and frequency of the newly added cell, and the process of generating k B* by NH, refer to
- K eNB * HMAC-SHA-256 ( ⁇ ⁇ , S ) or ⁇ HMAC-SHA-256 (NH ,
- HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 10118-3:2004 standards.
- the first site After generating ⁇ ⁇ ⁇ *, the first site sends ⁇ ⁇ to the second site, and the second site can generate a security key based on the security algorithm used by ⁇ ⁇ and the second site, and return the security algorithm used by the first site to the first site.
- the security algorithm identifier after receiving the security algorithm identifier returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station.
- the first station may generate multiple ⁇ 6 ⁇ *s based on the PCI and frequency of the multiple newly added cells, and send multiple ⁇ * to the first
- the second site generates multiple sets of security keys based on multiple ⁇ *s by the second site. Since the UE and the different cells under the same site can share a set of security keys for data security transmission, the first station may indicate a new one for generating a security key in the cell addition command message sent to the UE. Increase the PCI of the cell And the frequency, in addition, the cell addition command message may carry the PCI and frequency of multiple other newly added cells.
- the second station may be based on a plurality of ⁇ generate a security key, and notifies the first station ⁇ generated security key used by the message, the first station generates K 6 NB * New cell
- the PCI and the frequency are sent to the UE, which is not limited herein.
- the first station may also receive security algorithm identifier returned by the second station, using a security algorithm security key updates the security algorithm identifier ⁇ ⁇ indication and the second site, so as thereafter Secure transmission of data with the UE using the security key.
- the first station may carry the transmission suspension time in the cell addition command message, so that the U ⁇ may suspend data security transmission with the first station within the time period indicated by the transmission suspension time, or The station may also not carry the transmission pause time in the cell addition command message, and the UE pauses the data security transmission with the first station within the preset time period after receiving the cell increase command message, or the UE may also succeed.
- the data is securely transmitted with the first site, and the data is securely transmitted with the first site after the security key is successfully generated, which is not limited herein. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
- the UE may use the indication of the cell increase command message, based on the PCI and frequency of a new cell used to generate the security key indicated by the cell increase command message, and The security algorithm indicated by the security algorithm identifier of the second site generates a security key.
- the step of generating a security key may include:
- the UE determines whether the count value of the locally maintained NCC overflows, and if so, generates ⁇ * according to the PCI and frequency of the newly added cell and the current ⁇ parameter value of the UE, and if not, according to the PCI and frequency of the newly added cell And the first intermediate key generation K eNB* used by the UE for data secure transmission;
- the process of generating a security key can be found in the existing Technology, described here as an example, as follows: First, determine the following parameters:
- K ⁇ n can be obtained according to the above formula. 2, that is, the user plane encryption key, K cp ⁇ , that is, the control plane RRC encryption key, and K cp ⁇ , that is, the control plane RRC integrity protection key.
- HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 10118-3:2004 standards.
- the UE can use the security key to perform data secure transmission with the second station.
- the UE and the first station still use the original security key for data security transmission, if the first site receives After the security algorithm identifier returned by the second site, the security key is also updated based on the security algorithm indicated by the security algorithm identifier of the ⁇ and the second site, and the UE may perform data with the first site by using the security key generated in step 103. Secure transmission.
- the foregoing first site and the second site may be, for example, a base station or a relay station, etc., and are not limited herein. Set.
- the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site.
- the data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- Another embodiment of the data security transmission method includes:
- the first station receives a first measurement report message sent by the UE.
- the UE when it needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- the UE may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- One site when the UE needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- the first station may determine, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine the UE. New service area.
- the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE.
- the first site is determined to be newly added by the UE.
- the cell is called a new cell.
- the first station may generate a second intermediate key (hereinafter replaced by ⁇ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ⁇ ) used by the UE for data secure transmission, or
- the first station may generate ⁇ based on the PCI and frequency of the newly added cell and the current ⁇ parameter value of the first station. Specifically, whether the first site is generated based on the ⁇ parameter value or not depends on the local maintenance of the first site. NCC count value, if
- the first station If the count value of the NCC overflows, the first station generates a K eNB * based on the K eNB if it does not overflow based on the NH parameter value.
- the first station may send the ⁇ ⁇ carried in the cell addition request message to the second station, requesting the second station to provide the UE with the service.
- the second station may return a cell addition request acknowledgement message to the first station, and carry the security algorithm identifier of the security algorithm used by the cell in the cell increase request acknowledgement message, and may be based on ⁇ and The security algorithm used by the security algorithm generates a security key, so that after the security key is subsequently generated by the UE, the security key can be used to securely transmit data with the second site.
- the first site may generate multiple*s based on the PCI and frequency of the multiple newly added cells, and send multiple bearer cell addition request messages to the second site.
- * generate sets a security key, or by selecting a second site from a plurality of K eNB * K eNB *, to generate a security key K eNB * based on the selected second station based on the plurality of K B.
- the second site may include the security algorithm identifier of the second site in the cell increase request acknowledgement message, or may transmit the second site security algorithm identifier to the first site by using other independent messages.
- Site here is not limited.
- the first site may update the security key by using a security algorithm indicated by the security algorithm identifier of the second site and the second site. Thereafter, the security key is used to securely transmit data with the UE.
- the first station After receiving the cell addition request acknowledgement message returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station, and carrying the message in the cell addition command message.
- the PCI and frequency of a new cell used to generate the security key, and the security algorithm identifier of the second site, so that the UE is based on the PCI and frequency of the newly added cell, and the security algorithm indicated by the security algorithm identifier of the second site Generate a security key.
- the cell addition command message may indicate the PCI and the frequency of the newly added cell used to generate the security key.
- the cell addition command message may carry the PCI and the frequency of the multiple other newly added cells, or After the second site is configured to generate the ⁇ * of the security key, the PCI and the frequency of the generated new cell are sent to the UE, which is not limited herein.
- the update of the security key may cause the current serving cell of the UE to also suspend work to suspend data transmission with the first site. Therefore,
- the first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or the first station may not increase in the cell.
- the command message carries the transmission pause time, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may successfully acquire the new cell. After the uplink synchronization, pause the data security transmission with the first site, and resume the data with the first site after the security key is successfully generated. Secure transmission, not limited here. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE may generate a security key according to the indication of the cell addition command message, and use the security key to perform with the newly added site.
- the data is securely transmitted, so that the UE can perform data secure transmission with the original service site, and can also perform data secure transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- the UE accesses the first station, at this time, the UE and the MME generate the same basic key k ASME
- the MME sends the generated ⁇ NAS and ⁇ parameter values to the first station.
- the 304 UE generates a security key 0 according to the security algorithm used by the ⁇ and the first site, where the security key 0 includes KlJPenc , KcPenc, and K CPmt
- the first station generates a security key according to the security algorithm used by the ⁇ and the first station.
- the UE and the first station use the generated security key 0 for data security transmission.
- the UE sends a first measurement report message to the first station.
- the first station After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as the service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, the first station generates a second intermediate key (substituted by ⁇ ⁇ ) according to the determined PCI and frequency of the newly added cell and the current ⁇ parameter value of the first station, If not, the first station generates K ENB according to the determined PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data secure transmission (substituted by ⁇ )
- the first station sends a cell addition request message to the second station, requesting the second station to provide the UE with the The service, where the cell addition request message carries the K B * generated by step 308.
- the second station After receiving the cell addition request message from the first site, the second station returns a cell addition request acknowledgement message to the first station, and may carry a black box in the cell increase request confirmation message, and the second box is included in the black box.
- the first station After receiving the cell addition request message, the first station does not parse the content in the black box, sends a cell addition command message to the UE, and carries the black box in the cell addition command message, that is, the second station
- the security algorithm identifier is carried in the cell addition command message, and the cell addition command message carries the PCI and frequency of the new cell used to generate the second security key.
- the UE After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows, and if yes, generates the PCI and the frequency of the newly added cell in the cell increase command message, and the current NH parameter value of the UE. ⁇ ⁇ , if not, generating K eNB* according to the PCI and frequency of the newly added cell in the cell addition command message and the ⁇ used by the UE for data security transmission.
- the UE and the second station generate a security key based on the security algorithm used by the ⁇ * and the second site.
- the security key 1 includes ⁇ ⁇ 2, K CPenc2 ⁇ K CP mt 2 ;
- the UE can learn the security algorithm used by the second station by using the security algorithm identifier of the second station carried in the cell addition command message.
- the UE uses the security key 0 to perform data security transmission with the first site, and uses the security key 1 to securely transmit data with the second site.
- step 31 3 the action of the second station to generate the security key 1 based on the security algorithm used by the ⁇ ⁇ and the second site may be performed at any time in steps 309 to 31 3 without strictly restricting This is done in step 31 3.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site.
- the data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- the UE and the MME accesses the first station, at this time, the UE and the MME generate the same basic key k ASME
- 402 UE and MME further derive intermediate key ⁇ , second key 1 ⁇ and NH parameter values based on KASME.
- the MME sends the generated ⁇ NAS and ⁇ parameter values to the first site.
- security key 0 includes KlJPenc , KcPenc, and K CPmt
- the first station generates a security key according to the security algorithm used by the ⁇ and the first site.
- the UE and the first station perform secure data transmission using the generated security key 0.
- the UE sends a first measurement report message to the first station.
- the first station After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as a service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, generates a second intermediate key (substituted by ⁇ ⁇ ) according to the determined PCI and frequency of the newly added cell and the current ⁇ parameter value of the first station. If not, generating ⁇ ⁇ * according to the determined PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission (hereinafter referred to as an alternative)
- the first station sends a cell addition request message to the second station, and requests the second station to provide the service for the UE, where the cell addition request message carries the K B * generated by step 408.
- the second station After receiving the cell addition request message from the first station, the second station returns a cell addition request acknowledgement message to the first station, and may carry the security algorithm identifier of the security algorithm used by the second station in the cell increase request acknowledgement message. symbol.
- the first station After receiving the cell addition request message, the first station sends a cell addition command message to the UE, and carries the security algorithm identifier of the second site in the cell addition command message, and a new function for generating the second security key. Increase the PCI and frequency of the cell.
- the UE After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows. If yes, generates a K B according to the PCI and frequency of the newly added cell in the cell increase command message, and the current NH parameter value of the UE. * if not, then the cell according to the PCI and the frequency increasing command message of the new cell, and the UE currently ⁇ for secure transfer of data is generated using K eNB * 413 UE, based on the first site and the second site K B * And the security algorithm used by the second site 1 as a security key, wherein the security key comprises a K w2, K CP ⁇ . 2 and K CPint2 ;
- the UE and the first station can learn the security algorithm used by the second station by using the security algorithm identifier of the second station.
- the UE uses the security key 1 to perform data security transmission with the first site and the second site. It should be noted that, in step 413, the action of generating the security key 1 by the first station may be performed at any time in steps 411 to 413, and the action of generating the security key 1 by the second station may be performed in step 41 0 to the step. Any time in 413 is performed, and is not strictly limited in step 413.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site.
- the data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "first site + the second" during the mobile process.
- the data transfer mode of the site “switches to the data transfer mode of the "first target site + second target site”.
- the security key generation process in this scenario may be as shown in FIG. :
- the UE sends a second measurement report message to the first station.
- the first station makes a handover decision based on the second measurement report message, and determines to switch the UE to work under the first target site and the second target site.
- the first station sends a handover indication message to the second station, where the handover indication message carries the PCI and the frequency of the second target cell, where the second target cell is determined by the first station according to the second measurement report message.
- the cell to which the UE is handed over may be a cell under the first target site or a cell under the second target site, which is not limited herein.
- the second site to generate intermediate key based on the PCI and the fourth frequency handover indication message in a second target cell (hereinafter to replace KeNB * 2).
- the second station 2 generates K eNB * process may be as follows: Determining whether the count value of the locally maintained NCC overflows, and if so, according to the PCI of the second target cell And the frequency, and the current NH parameter value of the second station, generating a fourth intermediate key, and if not, generating K according to the PCI and frequency of the second target cell and the second intermediate key (hereinafter replaced by NB*) eNB*2.
- the second station sends a handover indication feedback message to the first station, where the handover indication feedback message carries the k ⁇ B* 2 generated by step 504.
- the first station generates a third intermediate key based on the first target cell PCI and the frequency (hereinafter referred to as ⁇ generation). Specifically, the first station generates the k 6 NB* ⁇ process as follows: determining the locally maintained NCC Whether the count value overflows, if yes, according to the PCI and frequency of the first target cell, and the current NH parameter value of the first station, If not, the target cell is generated according to the first PCI and the frequency, and the first intermediate key ( ⁇ below to replace) K eNM.
- the first station K 6NB * 1 and K ⁇ B * 2 are transmitted to a first target site and a second target site;
- the first station may be a handover request message K ⁇ * ⁇ K ⁇ B * 2 is sent to the first target site and the second target site, or K eNB* 2 can also be sent to the first target site and the second target site by other independent messages.
- the first target station and the second target station allow the UE to perform handover.
- the first target station and the second target station may also not allow the UE to switch to its site.
- Working, specifically, whether the UE is allowed to switch to the first target station and the second target station may be determined by the first target station and the second target station by message negotiation, or may be decided by one of the stations as the control station. , here is not limited.
- the first target station and the second target station may return a handover request acknowledgement message to the first site after determining that the UE is allowed to switch to the site, and carry the security of the first target site and the second target site in the handover request acknowledgement message.
- Algorithm identifier It is to be understood that the first target station and the second target station may each return a handover request acknowledgement message to the first site, and carry the security algorithm identifier of the locally used security algorithm in the respective handover request acknowledgement message returned, or
- the handover request acknowledgement message may be sent to the first site by using one of the sites as the control site, and the security request identifier of the first target site and the second target site is carried in the handover request acknowledgement message, or may be in the first target.
- the one of the sites After the negotiation between the site and the second target site, the one of the sites returns a handover request acknowledgement message to the first site, and the handover request acknowledgement message carries the security algorithm identifiers of the first target site and the second target site, where the security algorithm identifier is not used herein. limited.
- the first site can obtain the first from the received handover request confirmation message.
- the security algorithm identifiers of the first target site and the second target site may be obtained by other means, and are not limited herein.
- the first station sends a handover command message to the UE.
- the handover command message includes a PCI and a frequency of the first target cell, a PCI and a frequency of the second target cell, a security algorithm identifier of the first target station, and a first and a first associated with a PCI and a frequency of the first target cell.
- the handover command message may also include PCI and frequency of other first target cells that are not security related, and PCI and frequency of other second target cells that are not security related.
- the so-called non-security related means that the PCI and frequency of these target cells are not used as security keys.
- the UE generates a first security key based on the PCI and the frequency of the first target cell and the security algorithm indicated by the security algorithm identifier of the first target station according to the received indication of the handover command message, and is based on the second target cell.
- PCI and frequency, and a security algorithm indicated by the security algorithm identifier of the second target site generates a second security key;
- the step of the UE generating the first security key may be as follows: determining whether the count value of the locally maintained NCC overflows, and if yes, generating according to the PCI and frequency of the second target cell and the current parameter value of the UE. If not, generating a first security key according to the PCI and frequency of the first target cell, and ⁇ generating a security algorithm indicated by the security algorithm identifier of the first target station, and the generated K eNM ;
- the step of the UE generating the second security key may be as follows: determining whether the count value of the locally maintained NCC overflows, and if yes, generating ⁇ ⁇ * 2 according to the PCI and frequency of the first target cell and the current NH parameter value of the UE. If not, generating K eNB * 2 according to the PCI and frequency of the first target cell, and ⁇ ; generating a second security key by using the security algorithm indicated by the security algorithm identifier of the first target site, and the generated ⁇ ⁇ 2 .
- the first target site generates a first security key based on a security algorithm used locally.
- the second target site generates a second security key based on ⁇ 2 and its locally used security algorithm.
- the UE performs data security transmission with the first target station and the second target station by using the first security key and the second security key, respectively.
- ⁇ ⁇ 2 is the first site to a second site generated by the embodiment of the present invention
- the first station may be a request to the second site a second Web site currently used ⁇ *, after learning ⁇ ⁇ second station currently in use, and a PCI-based frequency and the second target cell ⁇ ⁇ generating ⁇ ⁇ * 2, or the first site may be generated based on the PCI target and the second cell [kappa] ⁇ ⁇ * 2 , and in the handover command message sent to the UE, the UE is instructed to generate ⁇ ⁇ * 2 based on the ⁇ and the PCI of the second target cell, which is not limited herein.
- step 51 1 and step 51 2 may also be performed after step 507 to before step 51 0 , which is not limited herein.
- the embodiment of the present invention is described based on the foregoing method embodiment, where the first site and the second site are switched to the first target site and the second target site, and in actual applications, the service site of the UE may also be The third site and the fourth site are used. If the third site is the site responsible for UE handover control, the first intermediate key in this embodiment may be replaced with the third site currently used for data security transmission with the UE. The intermediate key can replace the second intermediate key in the embodiment of the present invention with an intermediate key currently used by the fourth station for data security transmission with the UE.
- the first site, the second site, the first target site, and the second target site may be, for example, a base station or a relay station, and are not limited herein.
- the UE when the UE needs to switch from the current serving site to more than two target sites, it may be generated for performing with the target site according to the indication of the received handover command message.
- the security key of data security transmission realizes the secure transmission of data between the UE and the target station to be switched when switching from the current service site to multiple target sites.
- the UE may use the same security key to perform data security transmission with the first site and the second site.
- the security key generation process when the UE switches to work at other sites may be used. As shown in Figure 6:
- the UE sends a second measurement report message to the first station.
- the first station makes a handover decision based on the second measurement report message, and determines to switch the UE to work under the first target site and the second target site.
- the target cell is a cell that the first station determines to switch the UE to based on the second measurement report message, where the target cell may be one.
- multiple processes may be generated.
- the process of generating the third intermediate key may be as follows: Whether the count value of the protected NCC overflows, and if so, according to the PCI and frequency of the target cell, and the current NH parameter value of the first station, if not, according to the PCI and frequency of the target cell, and the first intermediate key ( The following is an alternative to generating ⁇ .
- the first station sends a handover request message to the target station, and is carried in the handover indication message, where the target site is a site that the first site decides to switch the UE to based on the second measurement report message, and the target site may be one. There may be multiple. If there are multiple target sites, the first site may separately send a handover request message to multiple target sites, or send the handover request message to one of the target sites, and the target site forwards to the other site.
- the target site, or the handover request message may be sent to a target site, and the target site performs the admission control, and then the other target station UE is notified of the handover by using a message (such as a handover indication message), which is not limited herein.
- the first station receives a handover request acknowledgement message returned by the target station, where the handover request acknowledgement message carries the PCI and frequency of the target cell that is used by the target site to generate the first security key, and the security algorithm identifier of the security algorithm. Further, the handover request acknowledgement message also carries the PCI and frequency of other target cells that are not security related.
- the PCI and frequency of the target cell used to generate the first security key determined by the target station included in the handover request acknowledgement message, and the security algorithm identifier may be determined by a single target site, or may be How many target sites are negotiated and determined.
- the first target station may perform the admission control after receiving the handover request message sent by the first station, and determine the target cell used for the handover by the UE, The PCI and frequency of the target cell used to generate the first security key, and the security algorithm used to generate the first security key, and then send the PCI and frequency of the target cell and the security algorithm identifier of the security algorithm to the first
- the second target station notifies the second target station that the UE will switch to work under its site, and instructs the second target station to generate the first security key based on the PCI and frequency of the target cell and the security algorithm identifier of the security algorithm.
- the target node only needs to determine the PCI and frequency of the target cell used to generate the first security key, and the security algorithm identifier of the security algorithm, and can send the above handover request acknowledgement message to the first station without generating After the first security key, the foregoing handover request acknowledgement message is sent to the first station.
- the first station sends a handover command message to the UE, and carries, in the handover command message, a PCI and a frequency of the target cell that is used by the target station to generate the first security key, and is related to the PCI and the frequency of the target cell.
- the ⁇ and security algorithm identifiers. Further, switching lives
- the message also carries the PCI and frequency of other target cells that are not security related.
- the UE generates a first security secret according to the indication of the received handover command message, based on the PCI and frequency of the target cell used to generate the first security key, and the security algorithm indicated by the security algorithm identifier indicated in the handover command message. Key
- the step of the UE generating the first security key may be as follows:
- the first security key is generated using the security algorithm indicated by the security algorithm identifier in the handover command message, and the generated ⁇ ⁇ * ⁇ .
- the target station generates the first security key by using the security algorithm used by the foregoing determination and the ⁇ ⁇ .
- the UE uses the first security key to perform data security transmission with the target site.
- step 608 may be performed after step 604 to before step 608, which is not limited herein.
- the embodiment of the present invention is described based on the foregoing method embodiment, where the first site and the second site are switched to the target site, and in actual applications, the service site of the UE may also be the third site and the fourth site. If the third site is the site responsible for the UE handover control, the first intermediate key in this embodiment may be replaced with the intermediate key currently used by the third site for data security transmission with the UE.
- the first site, the second site, and the target site may be, for example, a base station or a relay station, and the like, which is not limited herein.
- the data for secure transmission with the target site may be generated.
- the security key enables secure transmission of data between the UE and the target site to be switched when switching from the current serving site to other target sites.
- the present invention can also be used to generate a security key based on the security algorithm used by the first site.
- the following describes the data security transmission method in the embodiment of the present invention by using the UE as a description body. Referring to FIG. 7, the method includes:
- the UE sends a first measurement report message to the first station.
- step 1 01 in Figure 1-a For details, refer to the description of step 1 01 in Figure 1-a, and details are not described here.
- the 702. Receive a cell addition command message returned by the first station.
- the UE receives the cell addition command message returned by the first station, where the cell addition command message includes the PCI and the frequency of the newly added cell.
- the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE.
- the first site is determined to be newly added by the UE.
- the cell is called a new cell.
- the first station may generate a second intermediate key (hereinafter replaced by ⁇ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ⁇ ) used by the UE for data secure transmission, or ⁇ ⁇ first station may be generated based on the current parameter value of the new cell ⁇ PCI and frequency, and a first station, particularly, the first station based on the parameter values to generate or ⁇ ⁇ ⁇ * dependent on the first local site maintenance the (NCC, Next Hop Chaining count) count value, if the NCC count value overflows, the first station based on the parameter values to generate NH K sNB *, if no overflow, the K ⁇ B is generated based on the K sNB *.
- the first site transmits the security algorithm identifier of the first site to the second site, and the second site may be based on
- the K eNB * and the security algorithm used by the first station generate a security key, and return a cell addition request acknowledgement message to the first station.
- the first station After receiving the cell increase request acknowledgement message returned by the second station, the first station sends a cell to the UE.
- the command message is added to instruct the UE to generate a security key for secure transmission of data with the second station.
- the first station may generate multiple ⁇ 6 ⁇ * based on PCI and frequency of multiple newly added cells, and send multiple ⁇ * to the second.
- the second site generates multiple sets of security keys based on multiple ⁇ *s. Since the UE and the different cells under the same site can share a set of security keys for data security transmission, the first station may indicate a new one for generating a security key in the cell addition command message sent to the UE.
- the cell increase command message carries a plurality of other cells of the new safety-related and frequency may be a PCI, or the second site may also be generated based on a plurality of security in a ⁇ ⁇ *
- the key is used to notify the first site to generate the security key by using the message , ⁇ *, and the first station sends the PCI and the frequency of the new cell that generates the k ⁇ B* to the UE, which is not limited herein.
- the first station may be received at a second cell site adding request returned confirmation message, using a security key updates the security algorithm identifier and first site ⁇ ⁇ * use, in order to use thereafter
- the security key is securely transmitted with the UE.
- the first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or The first station may also not carry the transmission pause time in the cell addition command message, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may also After the uplink synchronization of the newly added cell is successfully obtained, the data is securely transmitted with the first site, and the data is securely transmitted to the first site after the security key is successfully generated, which is not limited herein. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
- the UE may indicate, according to the cell increase command message, a PCI and a frequency of a new cell used to generate the security key, and the first according to the indication of the cell increase command message.
- the security algorithm used by the site generates a security key.
- the step of generating a security key may include:
- the UE determines whether the count value of the locally maintained NCC overflows, and if so, generates k B* according to the PCI and frequency of the newly added cell and the current NH parameter value of the UE, and if not, according to the PCI of the newly added cell Frequency, and the first intermediate key used by the UE for data secure transmission to generate K eNB*;
- the UE can use the security key to perform data secure transmission with the second station.
- the UE and the first station still use the original security key for data security transmission, if the first station is based on ⁇
- the security algorithm used by the first site updates the security key, and the UE can perform data security transmission with the first site by using the security key generated in step 703.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE receives the small After the command message is added to the area, the security key can be generated according to the indication of the cell addition command message, and the security key is used to securely transmit data with the newly added station, so that the UE can perform data security transmission with the original service station. It can also transmit data securely with the newly added sites, and realize the secure transmission of data between the UE and different service sites.
- the present invention can also be used to generate a security key based on the security algorithm used by the first site.
- the data security transmission method in the embodiment of the present invention is described below with reference to the first site.
- the first station receives a first measurement report message sent by the UE.
- the UE when it needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- the UE may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- One site when the UE needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message.
- the first station may determine, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine the UE. New service area.
- the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE.
- the first site is determined to be newly added by the UE.
- the cell is called a new cell.
- the first station may generate a second intermediate key (hereinafter replaced by ⁇ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ⁇ ) used by the UE for data secure transmission, or
- the first station may generate ⁇ * based on the PCI and frequency of the newly added cell and the current lower flea parameter value of the first station.
- the first station generates ⁇ based on the ⁇ or ⁇ parameter value* depending on the first The count value of the NCC maintained locally by the station. If the count value of the NCC overflows, the first station generates ⁇ * based on the ⁇ parameter value, and if it does not overflow, generates K eNB * based on K e B .
- the first station after generating KB *, K B * may be carried to the second station in a cell transmits a message addition request, a second request for the station serving the UE, further, the first site can be used
- the security algorithm identifier of the security algorithm is carried in the cell addition request message, or the security algorithm identifier of the security algorithm used by the security algorithm is sent to the second site by other independent messages, which is not limited herein.
- the second site may return a cell increase request acknowledgement message to the first site. Further, after the second site learns the security algorithm used by the first site, the second site may be based on the ⁇ and the first site.
- the security algorithm used generates a security key for subsequent UE lifetime After the security key is formed, the security key can be used to securely transmit data to the second site.
- the first site may generate multiple*s based on the PCI and frequency of the multiple newly added cells, and send multiple bearer cell addition request messages to the second site. by the second station based on the plurality of sets of K B * generated security key, or by selecting a second site from a plurality of K sNB K sNB * *, * generating a security key based on the selected K sNB.
- the first station receiving the request to increase the cell site are returned after the second acknowledgment message, using a security algorithm may update the security key security algorithm identifier and first site ⁇ ⁇ indication, in order to Thereafter, the security key is used to securely transmit data with the UE.
- the first station After receiving the cell addition request acknowledgement message returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station, and carrying the message in the cell addition command message.
- the PCI and frequency of a new cell used to generate the security key, so that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm used by the first site.
- the UE when the UE accesses the first station, the UE can learn the security algorithm used by the first station, and therefore does not need to carry the security algorithm identifier of the first station in the cell addition command message.
- the first station adds a command message to the cell sent to the UE.
- the PCI and the frequency of the newly added cell that is used to generate the security key may be instructed, and the cell addition command message may carry the PCI and the frequency of the multiple other newly added cells, or may be used to learn the second site.
- to generate a security key ⁇ ⁇ * after the ⁇ generated, the frequency of the new cell and the PCI transmission to the UE is not limited herein.
- the first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or the first station may not increase in the cell.
- the command message carries the transmission pause time, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may successfully acquire the new cell. After the uplink synchronization, pause the data security transmission with the first site, and resume the data with the first site after the security key is successfully generated. Secure transmission, not limited here. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE may generate a security key according to the indication of the cell addition command message, and use the security key to perform with the newly added site.
- the data is securely transmitted, so that the UE can perform data secure transmission with the original service site, and can also perform data secure transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- the UE and the MME further derive an intermediate key ⁇ , a second key 1 ⁇ and an NH parameter value based on the KASME.
- the MME sends the generated ⁇ NAS and ⁇ parameter values to the first site.
- security 904 UE generates security key 0 according to ⁇ and a security algorithm used by the first station, where security key 0 includes KlJPenc , KcPenc, and K CPmt
- the first station generates a security key according to the security algorithm used by the ⁇ and the first station.
- the UE and the first station use the generated security key 0 for data security transmission.
- the UE sends a first measurement report message to the first station.
- the first station After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as a service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, generates a second intermediate key (substituted by ⁇ ⁇ ) according to the determined PCI and frequency of the newly added cell and the current lower flea parameter value of the first station. If not, a new cell is determined according to the PCI and the frequency, and a first intermediate key that the UE currently used for secure transfer of data (hereinafter to replace [kappa]) generated ⁇ ⁇ .
- the first station sends a cell addition request message to the second station, requesting the second station to provide the UE with the service, where the cell increase request message carries the ⁇ generated by step 908 and the first station enables The security algorithm identifier of the security algorithm used.
- the second station After receiving the cell addition request message from the first station, the second station returns a cell addition request acknowledgement message to the first station.
- the first station After receiving the cell increase request acknowledgement message, the first station sends a cell add command message to the UE, and the cell add command message carries the PCI and frequency of an added cell for generating the second security key.
- the UE After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows. If yes, according to the PCI and frequency of the newly added cell in the cell increase command message, and the current downlink hop NH parameter value of the UE. Generate ⁇ ⁇ . If not, the PCI and frequency of a newly added cell used to generate the security key in the cell addition command message, and the Ke generated KeNB * used by the UE for data security transmission are generated.
- the UE, the first station and the second station generate a security key 1 based on K B * and a security algorithm used by the first site, where the security key 1 includes K ⁇ n. 2, K cp ⁇ . 2 and K CPint2 .
- step 914 The UE uses the second security key to perform data security transmission with the first site and the second site. It should be noted that, in step 913, the action of generating the security key 1 by the first station may be performed at any time in steps 911 to 913, and the action of generating the second security key by the second station may be performed in steps 910 to Any time in 913 is performed without strict limitation in step 913.
- the first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
- the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site.
- the data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
- the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "first site + the second" during the mobile process.
- the data transfer mode of the site “switches to the data transfer mode of the "first target site + second target site”.
- the security key generation process in this scenario can be referred to the descriptions in FIG. 5 and FIG. 6, and details are not described herein again.
- the user equipment 1 000 in the embodiment includes:
- the sending unit 1 001 is configured to send a first measurement report message to the first station, where the first station is a current serving station of the user equipment 1000.
- a receiving unit 1 002 configured to receive a cell addition command message returned by the first station, where the cell addition command message includes a PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, where The new cell is determined by the first station to be a new serving cell added by the user equipment 1000 based on the first measurement report message.
- the generating unit 1 003 is configured to generate a security key based on the PCI and the frequency of the newly added cell, and the security algorithm indicated by the security algorithm identifier included in the cell addition command message received by the receiving unit 1002.
- the generating unit 1 003 can include:
- a determining unit configured to determine whether a count value of the locally maintained NCC overflows
- a first generating unit configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the user equipment 1000 when the determining result of the determining unit is YES; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the user equipment 1000 for data security transmission;
- a second generating unit configured to generate a security key by using a security algorithm indicated by a security algorithm identifier included in the cell addition command message, and a second intermediate key generated by the first generating unit.
- the user equipment 1 000 further includes: a transmission unit 1004, configured to perform data secure transmission with the second station by using the security key generated by the generating unit 1 003. Further transmission unit 1 004 can also be used for secure data transmission with the first site using the security key generated by the generating unit 1003.
- the user equipment 1 000 may need to switch from the current service station to work under other stations. For example, the UE may need to be from the mobile process.
- the data transmission mode of the first site + the second site is switched to the data transmission mode of the "first target site + second target site". Therefore, in an application scenario, when the user equipment 1000 performs data secure transmission with the first station and the second station respectively by using different security keys, the sending unit 1 001 may be further configured to send the second measurement report message to the first station.
- the first station is a station responsible for the handover control of the user equipment 1000.
- the receiving unit 1002 is further configured to receive a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of the first target cell, and a second target.
- the PCI and frequency of the cell, and the PCI and frequency of the first target cell a first intermediate key and a security algorithm identifier of the first target site, a second intermediate key associated with the PCI and frequency of the second target cell, and a security algorithm identifier of the second target site, wherein a target cell and the second target cell are cells determined by the first station to switch the user equipment 1000 based on the second measurement report message, where the first target station and the second target station are based on the foregoing
- the second measurement report message determines the site to which the user equipment is switched;
- the generating unit 1 003 is further configured to: based on the indication of the foregoing handover command message, based on the PCI and frequency of the first target cell, and the security algorithm identifier of the first target station
- the sending unit 1001 may be configured to send a second measurement report message to the first station;
- the first command may be used to receive the handover command message sent by the first station, where the handover command message includes the PCI and frequency of the target cell used by the target station to generate the first security key, and is related to the PCI and frequency of the target cell.
- the first intermediate key and the security algorithm identifier wherein the target station determines, for the first station, the site to which the user equipment 1000 is switched based on the second measurement report message; the generating unit 1003 is configured to use the handover command message according to the foregoing And generating, by the security algorithm indicated by the PCI and the frequency in the handover command message, and the security algorithm identifier, the first security key; the transmission unit 1004 is configured to use the first security key generated by the generating unit 1 003 and the foregoing The target site performs data security transmission.
- the user equipment 1000 in this embodiment may be used as the user equipment in the foregoing method embodiments in FIG. 1 -a to FIG. 6 , and may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 1 -a to FIG.
- the function of each of the functional modules may be specifically implemented according to the method in the foregoing method embodiment.
- the network site 11 00 in the embodiment of the present invention includes:
- the receiving unit 11 01 is configured to receive a first measurement report message sent by the UE.
- the sending unit 102 is configured to send a cell addition command message to the UE, where the cell is increased.
- the command message includes the PCI and frequency of the newly added cell, and the security algorithm identifier of the second site to which the new cell belongs, so that the UE is based on the PCI and frequency of the newly added cell, and the security algorithm identifier of the second site.
- the security algorithm indicated by the symbol generates a security key, where the new cell is determined by the network station 1 00 to be a new serving cell of the UE based on the received first measurement report message.
- the network site 11 00 further includes a determining unit 1103 and a generating unit 11 04, wherein: the determining unit 1103 is configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows;
- the generating unit 1104 is configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the network station 1100 when the determining result of the determining unit 1103 is YES; when the determining unit 11 03 determines the result If not, the second intermediate key is generated according to the PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission.
- the sending unit 102 is further configured to send a cell addition request message to the second station, where the cell increase request message carries the second intermediate key generated by the generating unit 1104; the receiving unit 1101 is further used to Receiving a cell increase request acknowledgement message returned by the second station.
- the generating unit 104 is further configured to generate a new security key based on the security algorithm indicated by the security algorithm identifier of the second site, and the second intermediate key, so as to utilize the new security key and the foregoing
- the foregoing UE performs data security transmission, where the security algorithm identifier of the second site may be obtained from the cell addition request acknowledgement message received by the receiving unit 1101, or may also be obtained from other received messages from the second site. , here is not limited.
- the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "network site 1100 + the second" during the mobile process.
- the data transfer mode of the site “switches to the data transfer mode of the "first target site + second target site”.
- the receiving unit 1101 may be further configured to receive a second measurement report message sent by the UE; 1102 is configured to send a handover indication message to the second station, where the handover indication message carries a PCI and a frequency of the second target cell, so that the second site generates a fourth intermediate key based on the PCI and the frequency of the second target cell.
- the second target cell is a cell that the network site 110 determines to switch the UE to based on the second measurement report message, and the receiving unit 1101 is configured to receive the handover indication sent by the second site.
- the handover indication feedback message carries a fourth intermediate key generated by the second station based on the PCI and frequency of the second target cell; and the generating unit 10 04 is further configured to use the PCI and the frequency based on the first target cell.
- the sending unit 1102 is further configured to use the third intermediate key and the third The fourth intermediate key is sent to the first target station and the second target station, respectively, so that the first target station generates the first security key according to the third intermediate key and the security algorithm used by the first target station, and the second The target station generates a second security key according to the fourth intermediate key and the security algorithm used by the second target station, where the first target station and the second target station are the network station 1100 based on the received second measurement.
- the report message determines the site to which the UE is switched; further, the network site 1100 may further include an obtaining unit for Obtaining the security algorithm identifiers of the first target station and the second target station; the sending unit 102 is further configured to send a handover command message to the UE, where the handover command message includes the PCI and the frequency of the first target cell, and the foregoing a PCI and a frequency of the second target cell, and a first intermediate key associated with the PCI and frequency of the first target cell and a security algorithm identifier of the first target site, associated with the PCI and frequency of the second target cell a second intermediate key and a security algorithm identifier of the second target station, so that the UE can be based on the PCI and frequency of the first target cell and the security algorithm identifier of the first target station according to the indication of the handover command message
- the indicated security algorithm generates a first security key for secure transmission of data with the first target site, a PCI and frequency based on the second target cell, and
- the receiving unit 101 may be further configured to receive the second measurement report message sent by the UE.
- the third intermediate key is further generated according to the PCI and the frequency of the target cell, where the target cell determines, by the network station 1 00, the cell to which the UE is switched based on the received second measurement report message; And sending, by the target station, a handover request message, where the handover request message carries the third intermediate key, so that the target station generates a first security key based on the third intermediate key, where the target site is a network.
- the station 1100 determines, according to the received second measurement report message, the station to which the UE is switched.
- the receiving unit 1101 is further configured to receive a handover request acknowledgement message returned by the target station, where the handover request acknowledges The information carries the target cell determined by the target station to generate the first security key.
- the sending unit 1102 is further configured to send a handover command message to the UE, where the handover command message includes the target cell determined by the target station to generate the first security key.
- PCI and frequency, and a security algorithm identifier of the used security algorithm so that the UE is generated based on the PCI and frequency of the target cell and the security algorithm indicated by the security algorithm identifier according to the indication of the handover command message.
- the first security key for secure transmission of data with the above target site.
- the network site 1100 of this embodiment may be the first site in the foregoing method embodiment, FIG. 1 - a - FIG. 6 , and may be used to implement all the technologies in the foregoing method embodiments in FIG. 1 - a - FIG.
- the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment.
- the user equipment in the embodiment of the present invention includes:
- a sending unit configured to send a first measurement report message to the first station, where the first site is a current serving site of the user equipment.
- a receiving unit configured to receive a cell addition command message returned by the first station, where the cell addition command message includes a PCI and a frequency of the newly added cell, where the newly added cell is determined by the first station according to the first measurement report message.
- a service cell added for the above user equipment.
- a generating unit configured to generate a security key based on the PCI and frequency of the newly added cell and the security algorithm used by the first site;
- the generating unit may include:
- a determining unit configured to determine whether a count value of the locally maintained NCC overflows
- a first generating unit configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the user equipment when the determining result of the determining unit is YES; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the user equipment for data security transmission;
- a second generating unit configured to generate a security key by using a security algorithm used by the first site, and a second intermediate key generated by the first generating unit.
- a transmission unit configured to perform data security transmission with the second site by using the security key generated by the generating unit.
- a further transmission unit can also be used to utilize the security key generated by the above generating unit The first site performs data security transmission.
- the user equipment in this embodiment may be used as the user equipment in the foregoing method embodiments in FIG. 7 to FIG. 9 , and may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 7 to FIG. 9 .
- the specific implementation process reference may be made to the related description in the foregoing embodiments, and details are not described herein again.
- the network site in the embodiment of the present invention includes:
- a receiving unit configured to receive a first measurement report message sent by the UE
- a sending unit configured to send a cell addition command message to the UE, where the cell add command message includes a PCI and a frequency of the newly added cell, so that the UE is based on the PCI and frequency of the newly added cell, and the network station uses
- the security algorithm generates a security key, where the new cell is determined by the network station to be a new serving cell of the UE based on the first measurement report message.
- the network node further includes a determining unit and a generating unit, wherein the determining unit is configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows; and the generating unit is configured to: when the determining result of the determining unit is yes, according to Adding the physical cell identifier PCI and frequency of the cell, and the current NH parameter value of the network site to generate a second intermediate key; when the judgment result of the determining unit is no, according to the physical cell identifier PCI and frequency of the newly added cell And generating, by the first intermediate key used by the UE for data secure transmission, a second intermediate key.
- the determining unit is configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows
- the generating unit is configured to: when the determining result of the determining unit is yes, according to Adding the physical cell identifier PCI and frequency of the cell, and the current NH parameter value of the network site to generate a second intermediate key; when the judgment result of the determining
- the sending unit is further configured to send a cell addition request message to the second station to which the new cell belongs, where the cell increase request message carries the second intermediate key generated by the generating unit, and the receiving unit is further configured to receive the foregoing The cell returned by the second station adds a request acknowledgement message.
- the generating unit may be further configured to generate a security key based on the security algorithm used by the network site and the second intermediate key, so as to perform data security transmission with the UE by using the security key.
- the network device in this embodiment may be the network device in the foregoing method embodiment, and the network device in FIG. 7 to FIG. 9 may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 7 to FIG.
- the network device in FIG. 7 to FIG. 9 may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 7 to FIG.
- the above-mentioned storage medium may be a read only memory, a random access memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A secure data transmission method and an associated device. Secure data transmission includes: user equipment (UE) sending a first measurement report message to a first station, the first station being a current service station of the UE; receiving a cell adding command message returned by the first station, the cell adding a command message containing the physical cell identifier (PCI) and frequency of a newly added cell as well as the security algorithm identifier of a second station to which the newly added cell belongs, wherein the newly added cell is determined as a newly added service cell for the UE by the first station based on the first measurement report message; generating a security key based on the PCI and frequency of the newly added cell and the security algorithm specified by the security algorithm identifier; and carrying out secure data transmission using the generated security key and the second station. The technical solution provided in the embodiments of the present invention can realize secure data transmission between UE and different service stations.
Description
一种数据安全传输方法 目关设备 A data security transmission method
本申请要求于 2011 年 8 月 29 日提交中国专利局、 申请号为 201110251201.5、 发明名称为"一种数据安全传输方法及相关设备 "的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 This application claims priority to Chinese Patent Application No. 201110251201.5, entitled "A Data Security Transmission Method and Related Equipment", filed on August 29, 2011, the entire contents of which are incorporated herein by reference. In the application.
技术领域 Technical field
本发明涉及通信领域, 尤其涉及一种数据安全传输方法及相关设备。 背景技术 The present invention relates to the field of communications, and in particular, to a data security transmission method and related equipment. Background technique
为了满足高级国际移动通信 ( IMT- Advanced , Internation Mobile Telecommunication- Advanced ) 的要求, 支持高达 lGbps的峰值数据速率, 增 强的长期演进系统( LTE-A, Long Term Evolution-Advanced ) 目前已经同意将 载波汇聚(CA, Carrier Aggregation )技术作为其扩展系统带宽的方法。 载波 汇聚的主要思想就是将多个组成载波( CC, Component Carrier )汇聚成一个较 大带宽的载波, 以支持高速数据速率。 In order to meet the requirements of IMT-Advanced (International Mobile Telecommunications-Advanced), supporting peak data rates up to 1 Gbps, the Enhanced Long Term Evolution-Advanced (LTE-A, Long Term Evolution-Advanced) has agreed to aggregate carriers. (CA, Carrier Aggregation) technology as a way to extend system bandwidth. The main idea of carrier aggregation is to aggregate multiple component carriers (CCs) into a larger bandwidth carrier to support high-speed data rates.
载波汇聚进一步分为 intra-band CA和 inter-band CA,对于 intra-band CA, 由于汇聚的多个载波处于同一频段, 因此其覆盖范围能够保持一致, 而对于 inter-band CA, 如果参与汇聚的两个载波的频段之间相距较远, 则这两个载波 的覆盖范围也有较大的差别, 一般而言, 低频段的载波覆盖范围较大, 高频段 的载波覆盖范围较小。 The carrier aggregation is further divided into an intra-band CA and an inter-band CA. For the intra-band CA, since the aggregated multiple carriers are in the same frequency band, the coverage can be consistent, and for the inter-band CA, if the aggregation is involved If the frequency bands of the two carriers are far apart, the coverage of the two carriers also has a large difference. Generally, the carrier coverage of the low frequency band is large, and the carrier coverage of the high frequency band is small.
假设用户设备(UE, User Equipment )处于某小区的中心地带, 则 UE可 同时聚合高低频的载波进行使用, 但是, 如果 UE移动到该小区的边缘地带, 高频的载波可能无法覆盖该地带,则 UE将无法使用该高频的载波进行数据收 发, 因此, 处于小区边缘的用户相比处于小区中心的用户吞吐量将下降很多。 Assuming that the user equipment (UE, User Equipment) is in the center of a certain cell, the UE can simultaneously aggregate the high and low frequency carriers for use. However, if the UE moves to the edge of the cell, the high frequency carrier may not cover the area. Then, the UE will not be able to use the high frequency carrier for data transmission and reception. Therefore, the user at the cell edge will have a much lower user throughput than the cell center.
因此, 为了提高小区边缘用户的吞吐量, 扩大高频载波的覆盖, 可使用中 继站来扩大高频载波的覆盖范围,但是,使用中继站扩大高频载波的覆盖范围 后, 处于小区边缘的 UE若想同时使用高频段和低频段的组成载波, 则 UE需 汇聚来自两个不同站点的载波, 即低频段的载波来自宏基站, 高频段的载波来 自中继站,此时需保证 UE可同时在宏基站和中继站这两个不同站点间进行数
据安全传输。 然而, 当 UE需要与超过一个站点进行数据安全传输时, 目前并 没有相关的解决方案可保证 UE同时在不同站点间进行数据安全传输。 发明内容 Therefore, in order to improve the throughput of the cell edge user and expand the coverage of the high frequency carrier, the relay station can be used to expand the coverage of the high frequency carrier. However, if the relay station is used to expand the coverage of the high frequency carrier, the UE at the cell edge needs to When the component carriers of the high frequency band and the low frequency band are used at the same time, the UE needs to aggregate the carriers from two different stations, that is, the carrier of the low frequency band is from the macro base station, and the carrier of the high frequency band is from the relay station, and the UE needs to ensure that the UE can simultaneously be in the macro base station and Relay station between two different sites According to secure transmission. However, when the UE needs to perform data secure transmission with more than one site, there is currently no related solution to ensure that the UE simultaneously performs data security transmission between different sites. Summary of the invention
本发明实施例提供了一种数据安全传输方法及相关设备,用于实现 UE与 不同服务站点间的数据安全传输。 Embodiments of the present invention provide a data security transmission method and related device, which are used to implement data security transmission between a UE and different service sites.
为解决上述技术问题, 本发明实施例提供以下技术方案: To solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
一种多站点下的数据安全传输方法, 包括: A data security transmission method under multiple sites, including:
用户设备 UE 向第一站点发送第一测量报告消息, 上述第一站点为上述 UE的当前服务站点; The user equipment UE sends a first measurement report message to the first station, where the first station is the current serving station of the UE;
接收上述第一站点返回的小区增加命令消息,上述小区增加命令消息包含 新增小区的物理小区标识 PCI和频率、以及上述新增小区所属的第二站点的安 全算法标识符, 其中, 上述新增小区是上述第一站点基于上述第一测量报告消 息确定为上述 UE新增的服务小区; And receiving, by the foregoing first station, a cell addition command message, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, where the foregoing new The cell is determined by the first station to be the service cell added by the UE according to the foregoing first measurement report message;
基于上述新增小区的 PCI 和频率、 及上述安全算法标识符指示的安全算 法, 生成安全密钥; Generating a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier;
利用上述生成的安全密钥与上述第二站点进行数据安全传输。 The data security transmission is performed with the second site by using the generated security key.
一种多站点下的数据安全传输方法, 包括: A data security transmission method under multiple sites, including:
第一站点接收用户设备 UE发送的第一测量报告消息; Receiving, by the first station, a first measurement report message sent by the user equipment UE;
向上述 UE发送小区增加命令消息,上述小区增加命令消息包含新增小区 的物理小区标识 PCI和频率、以及上述新增小区所属的第二站点的安全算法标 识符, 以便于上述 UE基于上述新增小区的 PCI和频率、 以及上述第二站点的 安全算法标识符指示的安全算法生成安全密钥, 其中, 上述新增小区是上述第 一站点基于上述第一测量报告消息确定为上述 UE新增的服务小区。 Sending a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, so that the UE is added based on the foregoing The security algorithm indicated by the PCI and the frequency of the cell and the security algorithm identifier of the second site generates a security key, where the newly added cell is determined by the first station to be added to the UE according to the first measurement report message. Service area.
一种多站点下的数据安全传输方法, 包括: A data security transmission method under multiple sites, including:
用户设备 UE 向第一站点发送第一测量报告消息, 上述第一站点为上述
UE的当前月良务站点; The user equipment UE sends a first measurement report message to the first station, where the first station is the foregoing UE's current monthly service site;
接收上述第一站点返回的小区增加命令消息,上述小区增加命令消息包含 新增小区的物理小区标识 PCI和频率,其中,上述新增小区为第二站点覆盖范 围内的小区,是上述第一站点基于上述第一测量报告消息确定为上述 UE新增 的服务小区; And receiving, by the first station, a cell addition command message, where the cell addition command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is a cell in a coverage of the second site, and is the first site. Determining, according to the foregoing first measurement report message, a service cell added by the UE;
基于上述新增小区的 PCI和频率、及上述第一站点使用的安全算法,生成 安全密钥; Generating a security key based on the PCI and frequency of the newly added cell and the security algorithm used by the first site;
利用上述安全密钥与上述第二站点进行数据安全传输。 Data security transmission is performed with the above second site by using the above security key.
一种多站点下的数据安全传输方法, 包括: A data security transmission method under multiple sites, including:
第一站点接收用户设备 UE发送的第一测量报告消息; Receiving, by the first station, a first measurement report message sent by the user equipment UE;
向上述 UE发送小区增加命令消息,上述小区增加命令消息包含新增小区 的 PCI和频率, 以便于上述 UE基于上述新增小区的 PCI和频率, 以及上述第 一站点使用的安全算法生成安全密钥, 其中, 上述新增小区是上述第一站点基 于上述第一测量报告消息确定为上述 UE新增的服务小区。 Sending a cell addition command message to the UE, where the cell increase command message includes a PCI and a frequency of the newly added cell, so that the UE generates a security key based on the PCI and frequency of the new cell and the security algorithm used by the first site. The new cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message.
一种用户设备, 包括: A user equipment, including:
发送单元, 用于向第一站点发送第一测量报告消息, 上述第一站点为上述 用户设备的当前服务站点; a sending unit, configured to send a first measurement report message to the first station, where the first site is a current service site of the user equipment;
接收单元, 用于接收上述第一站点返回的小区增加命令消息, 上述小区增 加命令消息包含新增小区的物理小区标识 pci和频率、以及上述新增小区所属 的第二站点的安全算法标识符, 其中, 上述新增小区是上述第一站点基于上述 第一测量报告消息确定为上述用户设备新增的服务小区; a receiving unit, configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier pci and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, The new cell is determined by the first station to be a service cell added by the user equipment based on the first measurement report message;
生成单元,用于基于上述新增小区的 PCI和频率、及上述安全算法标识符 指示的安全算法, 生成安全密钥; a generating unit, configured to generate a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier;
传输单元,用于利用上述生成单元生成的安全密钥与上述第二站点进行数 据安全传输。 And a transmission unit, configured to perform data security transmission with the second station by using the security key generated by the generating unit.
一种网络站点, 包括:
接收单元, 用于接收用户设备 UE发送的第一测量报告消息; 发送单元, 用于向上述 UE发送小区增加命令消息, 上述小区增加命令消 息包含新增小区的物理小区标识 PCI和频率、以及上述新增小区所属的第二站 点的安全算法标识符, 以便于上述 UE基于上述新增小区的 PCI和频率、 以及 上述第二站点的安全算法标识符指示的安全算法生成安全密钥, 其中,上述新 增小区是上述第一站点基于上述第一测量报告消息确定为上述 UE新增的服务 小区。 A network site, including: a receiving unit, configured to receive a first measurement report message sent by the user equipment UE, and a sending unit, configured to send a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and the foregoing Adding a security algorithm identifier of the second site to which the cell belongs, so that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier of the second site, where The newly added cell is determined by the first station to be a new serving cell of the UE according to the first measurement report message.
一种用户设备, 包括: A user equipment, including:
发送单元, 用于向第一站点发送第一测量报告消息, 上述第一站点为上述 用户设备的当前服务站点; a sending unit, configured to send a first measurement report message to the first station, where the first site is a current service site of the user equipment;
接收单元, 用于接收上述第一站点返回的小区增加命令消息, 上述小区增 加命令消息包含新增小区的物理小区标识 PCI和频率,其中,上述新增小区是 上述第一站点基于上述第一测量报告消息确定为上述用户设备新增的服务小 区; a receiving unit, configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is the first station based on the first measurement The report message is determined to be a new service cell added to the user equipment;
生成单元,用于基于上述新增小区的 PCI和频率、及上述第一站点使用的 安全算法, 生成安全密钥; a generating unit, configured to generate a security key based on the PCI and frequency of the newly added cell and a security algorithm used by the first site;
传输单元,用于利用上述生成单元生成的安全密钥与上述第二站点进行数 据安全传输。 And a transmission unit, configured to perform data security transmission with the second station by using the security key generated by the generating unit.
一种网络站点, 包括: A network site, including:
接收单元, 用于接收用户设备 UE发送的第一测量报告消息; a receiving unit, configured to receive a first measurement report message sent by the user equipment UE;
发送单元, 用于向上述 UE发送小区增加命令消息, 上述小区增加命令消 息包含新增小区的物理小区标识 PCI和频率,以便于上述 UE基于上述新增小 区的 PCI和频率, 以及上述网络站点使用的安全算法生成安全密钥, 其中, 上 述新增小区是上述第一站点基于上述第一测量报告消息确定为上述 UE新增的 服务小区。
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输, 实现了在小区增加的场景下, UE与 新增的服务站点间的数据安全传输; 另一方面, 当 UE需要从当前服务站点切 换到两个以上的目标站点时, 可依据接收到的切换命令消息的指示, 生成用于 与该目标站点进行数据安全传输的安全密钥,实现了从当前服务站点切换到多 个目标站点时, UE与切换到的目标站点间的数据安全传输。 综上, 本发明实 施例提供的技术方案可实现 UE与不同服务站点间的数据安全传输。 附图说明 a sending unit, configured to send a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, so that the UE is used according to the PCI and frequency of the newly added cell, and the foregoing network site The security algorithm generates a security key, where the new cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message. It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site. Data security transmission is implemented, and data security transmission between the UE and the newly added service station is implemented in a scenario where the cell is added; on the other hand, when the UE needs to switch from the current service site to more than two target sites, Receiving an indication of the handover command message, generating a security key for secure transmission of data with the target site, and implementing data security between the UE and the target site to be switched when switching from the current service site to the multiple target sites transmission. In summary, the technical solution provided by the embodiment of the present invention can implement data security transmission between the UE and different service sites. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其它的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is merely some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without any inventive labor.
图 1-a为本发明提供的一种数据安全传输方法的一个实施例流程示意图; 图 1-b为 LTE系统中的安全密钥生成机制的一个实施例流程示意图; 图 2为本发明提供的一种数据安全传输方法的另一个实施例流程示意图; 图 3为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 4为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 5为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 6为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 7为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 8为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 9为本发明提供的一种数据安全传输方法的再一个实施例流程示意图; 图 10为本发明提供的一种用户设备的一个实施例结构示意图; FIG. 1 is a schematic flowchart of an embodiment of a data security transmission method according to the present invention; FIG. 1B is a schematic flowchart of an embodiment of a security key generation mechanism in an LTE system; FIG. 3 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention; FIG. 4 is a schematic diagram of a data security transmission method provided by the present invention; FIG. 5 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention; FIG. 6 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention; A flow chart of still another embodiment of a data security transmission method provided by the present invention; FIG. 8 is a schematic flowchart of still another embodiment of a data security transmission method according to the present invention; FIG. 9 is a data provided by the present invention. A schematic flowchart of still another embodiment of a secure transmission method; FIG. 10 is a user equipment provided by the present invention It shows a structure of an embodiment;
图 11为本发明提供的一种网络站点的一个实施例结构示意图。
具体实施方式 FIG. 11 is a schematic structural diagram of an embodiment of a network site according to the present invention. detailed description
本发明实施例提供了一种数据安全传输方法及相关设备。 Embodiments of the present invention provide a data security transmission method and related equipment.
为使得本发明的发明目的、 特征、优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全部实施例。 基 于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其它实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. The embodiments are merely a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
下面以 UE为描述主体,对本发明实施例中的一种数据安全传输方法进行 描述, 请参阅图 1 -a, —种数据安全传输方法的一个实施例包括: A data security transmission method in the embodiment of the present invention is described below with reference to the UE. Referring to FIG. 1 - a, an embodiment of a data security transmission method includes:
101、 UE向第一站点发送第一测量报告消息; 101. The UE sends a first measurement report message to the first station.
其中, 上述第一站点为 UE的当前服务站点。 The first site is the current serving site of the UE.
在实际应用中, UE需要增加新的服务小区时, 其可对第一站点下的小区 或第一站点的邻居站点下的小区进行测量,并通过第一测量报告消息将测量结 果发送给第一站点。第一站点基于该第一测量报告消息以及该 UE的业务量等 信息对该 UE待新增的服务小区进行判决, 以确定为该 UE新增的服务小区。 In a practical application, when the UE needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message. Site. The first station determines, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine a serving cell added for the UE.
需要说明的是, 在 UE接入第一站点时, UE与第一站点间可利用 LTE系 统定义的密钥生成机制生成安全密钥,则 UE在从第一站点切换到其它站点之 前, 可利用该安全密钥与第一站点进行数据安全传输, 具体的, 该密钥生成机 制可如图 1 -b所示: It should be noted that, when the UE accesses the first station, the UE and the first station may generate a security key by using a key generation mechanism defined by the LTE system, and the UE may use the switch from the first site to another site. The security key is securely transmitted with the first site. Specifically, the key generation mechanism can be as shown in Figure 1-b:
S1 .当 UE 接入第一站点时, UE 和移动性管理实体 (MME , Mobility S1. When the UE accesses the first site, the UE and the mobility management entity (MME, Mobility)
Management Entity )生成相同的基础密钥 Kasme ; Management Entity ) generates the same base key Kasme ;
S2.UE和 MME基于 KASME进一步派生出中间密钥 K , 第二密钥 NAS 和 下跳(NH , Next Hop )参数值; The S2. UE and the MME further derive an intermediate key K, a second key NAS, and a hop (NH, Next Hop) parameter value based on the KASME;
具体的, 如何从 KASME派生 KENB的过程在现有技术中已有描述, 此处以一 个具体示例做筒略描述如下: Specifically, the process of deriving K ENB from KASME has been described in the prior art, and a specific example is described here as follows:
首先确定如下参数: First determine the following parameters:
- FC = 0x11 ; - FC = 0x11;
- P0 = 上行非接入层 COUNT, 这里 COUNT值由数据包的超帧号和序 列号组成; - P0 = upstream non-access stratum COUNT, where the COUNT value consists of the superframe number and the sequence number of the packet;
- L0 = 上行非接入层 COUNT值的长度;
然后将上述参数组合成一个输入链 S; - L0 = length of the upstream non-access stratum COUNT value; Then combine the above parameters into an input chain S;
最后, 根据 HMAC-SHA-256密钥衍生函数计算得到: Finally, based on the HMAC-SHA-256 key derivation function, it is calculated:
K^ = HMAC-SHA-256 ( k^ME , s )。 K ^ = HMAC-SHA-256 ( k ^ME , s ).
其中, HMAC-SHA-256 密钥衍生函数由 IETF RFC 2104 (1997)和 ISO/IEC 1 0118-3:2004标准规定。 Among them, the HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 1 0118-3:2004 standards.
具体地, 从 kASME派生出 N H值的方法如下: Specifically, the method of deriving the NH value from k ASME is as follows:
首先确定如下参数: First determine the following parameters:
- FC = 0x12; - FC = 0x12;
- P0 = SYNC-输入, 该参数在第一次生成 NH时取新的 κ 在随后的 ΝΗ生成中, 总是取前一个 ΝΗ值; - P0 = SYNC-input, this parameter takes the new κ in the first generation of NH in the subsequent ΝΗ generation, always taking the previous ΝΗ value;
- L0 = SYNC-输入的长度值; - L0 = SYNC-length value of the input;
然后将上述参数组合成一个输入链 S; Then combine the above parameters into an input chain S;
最后, 根据 HMAC-SHA-256密钥衍生函数计算得到: Finally, based on the HMAC-SHA-256 key derivation function, it is calculated:
NH = HMAC-SHA-256 ( κ S )。 NH = HMAC-SHA-256 ( κ S ).
其中, HMAC-SHA-256 密钥衍生函数由 IETF RFC 2104 (1997)和 Among them, the HMAC-SHA-256 key derivation function is composed of IETF RFC 2104 (1997) and
ISO/IEC 1 0118-3:2004标准规定。 ISO/IEC 1 0118-3:2004 standard.
53. MME将生成的 κ NAS 和 NH参数值发送第一站点; 53. The MME sends the generated κ NAS and NH parameter values to the first site;
54. UE根据 κ 和第一站点使用的安全算法生成安全密钥, 其中, 安全密 钥包括 KuPenc、 KcPenc和 Kcpint , 其中, KuPenc用于用户面数据的力口密, KcPenc用于 控制信令的加密, Kcpmt用于控制信令的完整性保护; 54. The UE generates a security key according to the security algorithm used by the κ and the first site, where the security key includes KuPenc , KcPenc, and Kcpint , where KuPenc is used for the strength of the user plane data, and KcPenc is used for control signaling. Encryption, K cp mt is used to control the integrity protection of signaling;
55.第一站点根据 κ 和第一站点使用的安全算法生成安全密钥, 同样的, 安全密钥包括 KuPenc , KcPenc和 Kcp int; 55. The first site generates a security key according to the security algorithm used by the κ and the first site. Similarly, the security key includes KuPenc , KcPenc, and Kc p int ;
56. UE和第一站点利用生成的安全密钥进行数据安全传输。 56. The UE and the first site use the generated security key for secure data transmission.
102、 接收第一站点返回的小区增加命令消息; 102. Receive a cell addition command message returned by the first station.
UE接收第一站点返回的小区增加命令消息, 其中, 该小区增加命令消息 中包含新增小区的物理小区标识(Physic, Physical Cell Identity )和频率, 以及第二站点的安全算法标识符。 The UE receives the cell addition command message returned by the first station, where the cell addition command message includes a physical cell identifier (Physic, Physical Cell Identity) and a frequency of the newly added cell, and a security algorithm identifier of the second station.
在本发明实施例中,第一站点基于上述第一测量报告消息决定将第二站点 下的小区作为该 UE新增的服务小区, 为便于描述, 下面将第一站点确定为该 UE新增的小区称为新增小区。 第一站点可基于新增小区的 PCI和频率, 以及
该 UE当前进行数据安全传输使用的第一中间密钥(下面以^^替代)生成第 二中间密钥 (下面以 κ 替代), 或者, 第一站点可基于新增小区的 PCI和频 率, 以及第一站点当前的 ΝΗ参数值生成 κ· , 具体的, 第一站点是基于 还是 ΝΗ参数值来生成 κ *取决于第一站点本地维护的下跳链计数器( NCC, Next Hop Chaining Count )的计数值, 若 NCC的计数值溢出, 则第一站点基 于 NH参数值来生成 NB* , 若未溢出, 则基于 κ 来生成 k 6NB* , 具体地, 基于 新增小区的 PCI和频率, 以及 或者, 基于新增小区的 PCI和频率, 以 及 NH生成 k B*的过程可参见现有技术, 此处以一个示例进行描述, 如下: 首先确定输入参数: In the embodiment of the present invention, the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE. For convenience of description, the first site is determined to be newly added by the UE. The cell is called a new cell. The first site can be based on the PCI and frequency of the newly added cell, and The first intermediate key used by the UE for data security transmission (hereinafter replaced by ^^) generates a second intermediate key (hereinafter replaced by κ ), or the first station may be based on the PCI and frequency of the newly added cell, and The current ΝΗ parameter value of the first site generates κ · , specifically, whether the first site generates κ based on the ΝΗ parameter value * depends on the count of the next hop chain counter ( NCC, Next Hop Chaining Count ) maintained locally by the first site Value, if the count value of the NCC overflows, the first station generates NB* based on the NH parameter value, and if not overflows, generates k 6 N B * based on κ , specifically, based on the PCI and frequency of the newly added cell, and Alternatively, based on the PCI and frequency of the newly added cell, and the process of generating k B* by NH, refer to the prior art, which is described by way of an example, as follows: First, the input parameters are determined:
- FC = 0x13; - FC = 0x13;
- P0 =新增小区的 PCI; - P0 = PCI of the newly added cell;
- L0 = 目标小区的 PCI长度; - L0 = PCI length of the target cell;
- P1 = 目标小区的频率 EARFCN-DL; - P1 = frequency of the target cell EARFCN-DL;
- L1 =目标小区的频率 EARFCN-DL的长度; - L1 = frequency of the target cell EARFCN-DL length;
然后将上述参数组合成一个输入链 S; Then combine the above parameters into an input chain S;
最后, 根据 HMAC-SHA-256密钥衍生函数计算得到: Finally, based on the HMAC-SHA-256 key derivation function, it is calculated:
KeNB* = HMAC-SHA-256 ( κ^ , S ) 或者 κ HMAC-SHA-256 (NH ,K eNB * = HMAC-SHA-256 ( κ ^ , S ) or κ HMAC-SHA-256 (NH ,
S ) S)
其中, HMAC-SHA-256 密钥衍生函数由 IETF RFC 2104 (1997)和 ISO/IEC 10118-3:2004标准规定。 Among them, the HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 10118-3:2004 standards.
在生成 κεΝΒ*之后,第一站点将 κ·发送给第二站点,第二站点可基于 κ· 和第二站点使用的安全算法生成安全密钥,并向第一站点返回其使用的安全算 法的安全算法标识符, 第一站点接收到第二站点返回的安全算法标识符后, 向 该 UE发送小区增加命令消息, 指示该 UE生成与第二站点进行数据安全传输 的安全密钥。 After generating κ ε ΝΒ *, the first site sends κ · to the second site, and the second site can generate a security key based on the security algorithm used by κ · and the second site, and return the security algorithm used by the first site to the first site. The security algorithm identifier, after receiving the security algorithm identifier returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station.
可理解的是, 在实际应用中, 上述新增小区可能有多个, 则第一站点可基 于多个新增小区的 PCI和频率生成多个 Κ6ΝΒ* , 并将多个 Κ Β*发送给第二站点, 由第二站点基于多个 κ *生成多套安全密钥。由于 UE与同一站点下的不同小 区可共用一套安全密钥进行数据安全传输, 因此, 第一站点在发送给该 UE的 小区增加命令消息中, 可指示确定用于生成安全密钥的一个新增小区的 PCI
和频率, 此外, 小区增加命令消息中可以携带多个其它的新增小区的 PCI 和 频率。 或者, 第二站点也可基于多个^ 中的一个生成安全密钥, 并通过消息 通知第一站点生成安全密钥所使用的 Κ , 第一站点将生成该 K6NB*的新增小 区的 PCI和频率发送给 UE, 此处不作限定。 It can be understood that, in actual applications, if there are multiple new cells, the first station may generate multiple ΝΒ6ΝΒ *s based on the PCI and frequency of the multiple newly added cells, and send multiple Κ * to the first The second site generates multiple sets of security keys based on multiple κ *s by the second site. Since the UE and the different cells under the same site can share a set of security keys for data security transmission, the first station may indicate a new one for generating a security key in the cell addition command message sent to the UE. Increase the PCI of the cell And the frequency, in addition, the cell addition command message may carry the PCI and frequency of multiple other newly added cells. Alternatively, the second station may be based on a plurality of ^ generate a security key, and notifies the first station Κ generated security key used by the message, the first station generates K 6 NB * New cell The PCI and the frequency are sent to the UE, which is not limited herein.
在一种应用场景下,第一站点也可在接收到第二站点返回的安全算法标识 符后, 利用 κ·和第二站点的安全算法标识符指示的安全算法更新安全密钥, 以便于此后利用该安全密钥与该 UE进行数据安全传输。 In one application scenario, the first station may also receive security algorithm identifier returned by the second station, using a security algorithm security key updates the security algorithm identifier κ · indication and the second site, so as thereafter Secure transmission of data with the UE using the security key.
在一种应用场景下, 在第一站点确定新站点(如第二站点)加入时, 由于 安全密钥的更新会导致该 UE 当前的服务小区也都要暂停工作以暂停与第一 站点的数据安全传输, 因此, 第一站点可在小区增加命令消息中携带传输暂停 时间,以使得 U Ε可在该传输暂停时间指示的时间段内暂停与该第一站点进行 数据安全传输, 或者, 第一站点也可不在小区增加命令消息中携带传输暂停时 间, UE在接收到该小区增加命令消息后时, 在预置的时间段内暂停与第一站 点进行数据安全传输, 或者, UE也可在成功获取上述新增小区的上行同步后 暂停与第一站点进行数据安全传输,在安全密钥成功生成后重新恢复与第一站 点进行数据安全传输, 此处不作限定。 需要说明的是, 上述数据安全传输指的 是需要加密和 /或完整性保护的数据传输。 In an application scenario, when the first site determines that a new site (such as the second site) joins, the current serving cell of the UE also needs to suspend work to suspend data with the first site due to the update of the security key. Secure transmission, therefore, the first station may carry the transmission suspension time in the cell addition command message, so that the U 暂停 may suspend data security transmission with the first station within the time period indicated by the transmission suspension time, or The station may also not carry the transmission pause time in the cell addition command message, and the UE pauses the data security transmission with the first station within the preset time period after receiving the cell increase command message, or the UE may also succeed. After the uplink synchronization of the newly added cell is obtained, the data is securely transmitted with the first site, and the data is securely transmitted with the first site after the security key is successfully generated, which is not limited herein. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
103、 基于上述新增小区的 PCI和频率、 及上述安全算法标识符指示的安 全算法, 生成安全密钥; 103. Generate a security key based on the PCI and the frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier.
当 UE接收到来自第一站点发送小区增加命令消息后,可依据该小区增加 命令消息的指示,基于小区增加命令消息指示的用于生成安全密钥的一个新增 小区的 PCI 和频率, 以及第二站点的安全算法标识符指示的安全算法生成安 全密钥。 具体的, 生成安全密钥的步骤可包括: After receiving the cell increase command message from the first station, the UE may use the indication of the cell increase command message, based on the PCI and frequency of a new cell used to generate the security key indicated by the cell increase command message, and The security algorithm indicated by the security algorithm identifier of the second site generates a security key. Specifically, the step of generating a security key may include:
UE判断本地维护的 NCC的计数值是否溢出, 若是, 则根据上述新增小 区的 PCI和频率, 以及 UE当前的 ΝΗ参数值, 生成 κ * , 若否, 则根据上述 新增小区的 PCI和频率,以及 UE当前进行数据安全传输使用的第一中间密钥 生成 KeNB*; The UE determines whether the count value of the locally maintained NCC overflows, and if so, generates κ * according to the PCI and frequency of the newly added cell and the current ΝΗ parameter value of the UE, and if not, according to the PCI and frequency of the newly added cell And the first intermediate key generation K eNB* used by the UE for data secure transmission;
利用第二站点的安全算法标识符指示的安全算法,及生成的 K B*生成安全 密钥 (如包括 KuP^2、 KCPenc2 ^ Kcpint2 )? 具体地, 生成安全密钥过程可参见现 有技术, 此处以一个示例进行描述, 如下:
首先, 确定如下参数: Using the security algorithm indicated by the security algorithm identifier of the second site, and the generated K B* to generate a security key (including, for example, KuP ^ 2 , K CPenc2 ^ K cpint2 )? Specifically, the process of generating a security key can be found in the existing Technology, described here as an example, as follows: First, determine the following parameters:
- FC = 0x15; - FC = 0x15;
- P0 = 算法类似识别值(由表 1确定); - P0 = algorithm similar identification value (determined by Table 1);
- L0 =算法类似识别值的长度; - L0 = the length of the algorithm similar to the identification value;
- P1 = 算法标识符; - P1 = algorithm identifier;
- L1 = 算法标识符长度; - L1 = algorithm identifier length;
表 1 Table 1
然后将上述参数组合成一个输入链 S; Then combine the above parameters into an input chain S;
最后, 根据 HMAC-SHA-256密钥衍生函数计算得到: Finally, based on the HMAC-SHA-256 key derivation function, it is calculated:
安全密钥= HMAC-SHA-256 ( κ , S ) Security Key = HMAC-SHA-256 ( κ , S )
这里, 针对表 1取不同的参数, 可以分别根据上面公式得到 K^n。2 , 即用 户面加密密钥, Kcp^, 即控制面 RRC加密密钥, 以及 Kcp^, 即控制面 RRC 完整性保护密钥。 Here, taking different parameters for Table 1, K ^n can be obtained according to the above formula. 2, that is, the user plane encryption key, K cp^, that is, the control plane RRC encryption key, and K cp^, that is, the control plane RRC integrity protection key.
其中, HMAC-SHA-256 密钥衍生函数由 IETF RFC 2104 (1997)和 ISO/IEC 10118-3:2004标准规定。 Among them, the HMAC-SHA-256 key derivation function is defined by the IETF RFC 2104 (1997) and ISO/IEC 10118-3:2004 standards.
104、 利用生成的安全密钥与第二站点进行数据安全传输。 104. Perform secure data transmission with the second site by using the generated security key.
当步骤 103生成安全密钥之后, UE可利用该安全密钥与第二站点进行数 据安全传输。 After the security key is generated by the step 103, the UE can use the security key to perform data secure transmission with the second station.
可理解, 若第一站点没有更新与该 UE 用于进行数据安全传输的安全密 钥, 则该 UE与第一站点仍沿用原有的安全密钥进行数据安全传输, 若第一站 点在接收到第二站点返回的安全算法标识符后 ,也基于 κ 和第二站点的安全 算法标识符指示的安全算法更新了安全密钥,则 UE可利用步骤 103生成的安 全密钥与第一站点进行数据安全传输。 It can be understood that if the first site does not update the security key used by the UE for data security transmission, the UE and the first station still use the original security key for data security transmission, if the first site receives After the security algorithm identifier returned by the second site, the security key is also updated based on the security algorithm indicated by the security algorithm identifier of the κ and the second site, and the UE may perform data with the first site by using the security key generated in step 103. Secure transmission.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限
定。 The foregoing first site and the second site may be, for example, a base station or a relay station, etc., and are not limited herein. Set.
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site. The data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
下面以第一站点为描述主体,对本发明实施例中的一种数据安全传输方法 进行描述, 请参阅图 2, —种数据安全传输方法另一个实施例包括: The data security transmission method in the embodiment of the present invention is described below with reference to the first site. Referring to FIG. 2, another embodiment of the data security transmission method includes:
201、 第一站点接收 UE发送的第一测量报告消息; 201. The first station receives a first measurement report message sent by the UE.
在实际应用中, 当 UE需要增加新的服务小区时, 其可对第一站点下的小 区或第一站点的邻居站点下的小区进行测量,并通过第一测量报告消息将测量 结果发送给第一站点。 In a practical application, when the UE needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message. One site.
当接收到来自 UE发送的第一测量报告消息后,第一站点可基于该第一测 量报告消息以及该 UE的业务量等信息对该 UE待新增的服务小区进行判决, 以确定为该 UE新增的服务小区。 After receiving the first measurement report message sent by the UE, the first station may determine, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine the UE. New service area.
在本发明实施例中,第一站点基于上述第一测量报告消息决定将第二站点 下的小区作为该 UE新增的服务小区, 为便于描述, 下面将第一站点确定为该 UE新增的小区称为新增小区。 第一站点可基于新增小区的 PCI和频率, 以及 该 UE当前进行数据安全传输使用的第一中间密钥(下面以^^替代)生成第 二中间密钥 (下面以 κ 替代), 或者, 第一站点可基于新增小区的 PCI和频 率, 以及第一站点当前的 ΝΗ参数值生成 κ· , 具体的, 第一站点是基于 还是 ΝΗ 参数值来生成 ΝΒ*取决于第一站点本地维护的 NCC 的计数值, 若In the embodiment of the present invention, the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE. For convenience of description, the first site is determined to be newly added by the UE. The cell is called a new cell. The first station may generate a second intermediate key (hereinafter replaced by κ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ^^) used by the UE for data secure transmission, or The first station may generate κ based on the PCI and frequency of the newly added cell and the current ΝΗ parameter value of the first station. Specifically, whether the first site is generated based on the ΝΗ parameter value or not depends on the local maintenance of the first site. NCC count value, if
NCC的计数值溢出, 则第一站点基于 NH参数值来生成 若未溢出, 则 基于 KeNB来生成 KeNB*。 If the count value of the NCC overflows, the first station generates a K eNB * based on the K eNB if it does not overflow based on the NH parameter value.
进一步的, 第一站点可在生成 k B*后, 将 κ·携带在小区增加请求消息 中发送给第二站点, 请求第二站点为该 UE提供服务。 第二站点在接收到该小 区增加请求消息后, 可向第一站点返回小区增加请求确认消息, 并在小区增加 请求确认消息中携带其使用的安全算法的安全算法标识符,并可基于 κ 及其 使用的安全算法生成安全密钥, 以便在 UE后续生成该安全密钥后, 可利用该 安全密钥与第二站点进行数据安全传输。
在实际应用中, 上述新增小区可能有多个, 则第一站点可基于多个新增小 区的 PCI和频率生成多个 * , 并将多个 携带在小区增加请求消息发送 给第二站点, 由第二站点基于多个 K B*生成多套安全密钥, 或者, 由第二站点 从多个 KeNB*选择一个 KeNB* , 基于所选的 KeNB*来生成安全密钥。 Further, after generating the k B*, the first station may send the κ · carried in the cell addition request message to the second station, requesting the second station to provide the UE with the service. After receiving the cell addition request message, the second station may return a cell addition request acknowledgement message to the first station, and carry the security algorithm identifier of the security algorithm used by the cell in the cell increase request acknowledgement message, and may be based on κ and The security algorithm used by the security algorithm generates a security key, so that after the security key is subsequently generated by the UE, the security key can be used to securely transmit data with the second site. In an actual application, if there are multiple new cells, the first site may generate multiple*s based on the PCI and frequency of the multiple newly added cells, and send multiple bearer cell addition request messages to the second site. * generate sets a security key, or by selecting a second site from a plurality of K eNB * K eNB *, to generate a security key K eNB * based on the selected second station based on the plurality of K B.
在一种应用场景下,第二站点可在上述小区增加请求确认消息中包含第二 站点的安全算法标识符, 或者,也可通过其它独立消息将第二站点的安全算法 标识符传输给第一站点, 此处不作限定。 In an application scenario, the second site may include the security algorithm identifier of the second site in the cell increase request acknowledgement message, or may transmit the second site security algorithm identifier to the first site by using other independent messages. Site, here is not limited.
在一种应用场景下,第一站点可在接收到第二站点返回的第二站点的安全 算法标识符之后,利用 *和第二站点的安全算法标识符指示的安全算法更新 安全密钥, 以便于此后利用该安全密钥与该 UE进行数据安全传输。 In an application scenario, after receiving the security algorithm identifier of the second site returned by the second site, the first site may update the security key by using a security algorithm indicated by the security algorithm identifier of the second site and the second site. Thereafter, the security key is used to securely transmit data with the UE.
202、 向 UE发送小区增加命令消息; 202. Send a cell addition command message to the UE.
第一站点在接收到第二站点返回的小区增加请求确认消息后,向 UE发送 小区增加命令消息, 指示 UE生成与第二站点进行数据安全传输的安全密钥, 并在小区增加命令消息中携带用于生成安全密钥的一个新增小区的 PCI 和频 率, 以及第二站点的安全算法标识, 以便 UE基于该新增小区的 PCI和频率, 以及第二站点的安全算法标识符指示的安全算法生成安全密钥。 After receiving the cell addition request acknowledgement message returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station, and carrying the message in the cell addition command message. The PCI and frequency of a new cell used to generate the security key, and the security algorithm identifier of the second site, so that the UE is based on the PCI and frequency of the newly added cell, and the security algorithm indicated by the security algorithm identifier of the second site Generate a security key.
可理解的是, 在实际应用中, 上述新增小区可能有多个, 由于 UE与同一 站点下的不同小区可共用一套安全密钥进行数据安全传输, 因此, 第一站点在 发送给该 UE的小区增加命令消息中,可指示确定用于生成安全密钥的一个新 增小区的 PCI 和频率, 此外, 小区增加命令消息中可以携带多个其它的新增 小区的 PCI 和频率, 或者, 在获知第二站点用于生成安全密钥的 κ *后, 将 生成该 的新增小区的 PCI和频率发送给 UE, 此处不作限定。 It can be understood that, in actual applications, there may be multiple new cells, because the UE and the different cells under the same site can share a set of security keys for data security transmission, so the first station is sent to the UE. The cell addition command message may indicate the PCI and the frequency of the newly added cell used to generate the security key. In addition, the cell addition command message may carry the PCI and the frequency of the multiple other newly added cells, or After the second site is configured to generate the κ * of the security key, the PCI and the frequency of the generated new cell are sent to the UE, which is not limited herein.
在一种应用场景下,在第一站点确定第二站点加入时, 由于安全密钥的更 新会导致该 UE 当前的服务小区也都要暂停工作以暂停与第一站点的数据安 全传输, 因此, 第一站点可在小区增加命令消息中携带传输暂停时间, 以使得 UE 可在该传输暂停时间指示的时间段内暂停与该第一站点进行数据安全传 输, 或者, 第一站点也可不在小区增加命令消息中携带传输暂停时间, UE在 接收到该小区增加命令消息后时,在预置的时间段内暂停与第一站点进行数据 安全传输, 或者, UE也可在成功获取上述新增小区的上行同步后暂停与第一 站点进行数据安全传输,在安全密钥成功生成后重新恢复与第一站点进行数据
安全传输, 此处不作限定。 需要说明的是, 上述数据安全传输指的是需要加密 和 /或完整性保护的数据传输。 In an application scenario, when the first site determines that the second site joins, the update of the security key may cause the current serving cell of the UE to also suspend work to suspend data transmission with the first site. Therefore, The first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or the first station may not increase in the cell. The command message carries the transmission pause time, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may successfully acquire the new cell. After the uplink synchronization, pause the data security transmission with the first site, and resume the data with the first site after the security key is successfully generated. Secure transmission, not limited here. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell addition command message, and use the security key to perform with the newly added site. The data is securely transmitted, so that the UE can perform data secure transmission with the original service site, and can also perform data secure transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
为便于更好的理解本发明技术方案,下面以一应用场景对本发明实施例中 的一种数据安全传输方法进行描述, 在此应用场景下第一站点不更新安全密 钥, 请参阅图 3, 包括: In order to facilitate a better understanding of the technical solution of the present invention, a data security transmission method in the embodiment of the present invention is described in an application scenario. In this application scenario, the first site does not update the security key. Referring to FIG. 3, Includes:
301 UE接入第一站点, 此时, UE和 MME生成相同的基础密钥 kASME301 UE accesses the first station, at this time, the UE and the MME generate the same basic key k ASME
302 UE和 MME基于 KASME进一步派生出中间密钥 ^ , 第二密钥1^^ 和 NH参数值。 302 UE and MME further derive intermediate key ^, second key 1 ^^ and NH parameter values based on KASME.
303 MME将生成的 κ NAS 和 ΝΗ参数值发送第一站点。 303 The MME sends the generated κ NAS and ΝΗ parameter values to the first station.
304 UE根据 κ 和第一站点使用的安全算法生成安全密钥 0, 其中, 安 全密钥 0包括 KlJPenc、 KcPenc和 KCPmt The 304 UE generates a security key 0 according to the security algorithm used by the κ and the first site, where the security key 0 includes KlJPenc , KcPenc, and K CPmt
305、 第一站点根据 κ 和第一站点使用的安全算法生成安全密钥 0 306 UE和第一站点利用生成的安全密钥 0进行数据安全传输。 305. The first station generates a security key according to the security algorithm used by the κ and the first station. The UE and the first station use the generated security key 0 for data security transmission.
307 UE向第一站点发送第一测量报告消息。 307 The UE sends a first measurement report message to the first station.
308、 第一站点接收到 UE发送的第一测量报告消息后, 基于该第一测量 报告消息及该 UE的业务量等信息决定将第二站点下的小区作为该 UE新增的 服务小区, 判断本地维护的 NCC的计数值是否溢出, 若是, 则第一站点根据 确定的新增小区的 PCI和频率,以及第一站点当前的 ΝΗ参数值生成第二中间 密钥 (下面以 κ·替代), 若否, 则第一站点根据确定的新增小区的 PCI和频 率,以及该 UE当前进行数据安全传输使用的第一中间密钥(下面以 κ 替代) 生成 KENB* 308. After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as the service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, the first station generates a second intermediate key (substituted by κ ·) according to the determined PCI and frequency of the newly added cell and the current ΝΗ parameter value of the first station, If not, the first station generates K ENB according to the determined PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data secure transmission (substituted by κ )
309、 向第二站点发送小区增加请求消息; 309. Send a cell increase request message to the second site.
第一站点向第二站点发送小区增加请求消息,请求第二站点为该 UE提供
服务, 其中, 小区增加请求消息中携带步骤 308生成的 K B*。 The first station sends a cell addition request message to the second station, requesting the second station to provide the UE with the The service, where the cell addition request message carries the K B * generated by step 308.
31 0、 第二站点接收来自第一站点的小区增加请求消息后, 向第一站点返 回小区增加请求确认消息, 并可在小区增加请求确认消息中携带一个黑盒子, 黑盒子中包含第二站点使用的安全算法的安全算法标识符。 After receiving the cell addition request message from the first site, the second station returns a cell addition request acknowledgement message to the first station, and may carry a black box in the cell increase request confirmation message, and the second box is included in the black box. The security algorithm identifier of the security algorithm used.
31 1、 第一站点接收到该小区增加请求消息后, 不解析黑盒子中的内容, 向 UE发送小区增加命令消息,并在小区增加命令消息中携带上述黑盒子,即, 将第二站点的安全算法标识符携带在该小区增加命令消息中, 同时,在小区增 加命令消息中携带用于生成第二安全密钥的新增小区的 PCI和频率。 After receiving the cell addition request message, the first station does not parse the content in the black box, sends a cell addition command message to the UE, and carries the black box in the cell addition command message, that is, the second station The security algorithm identifier is carried in the cell addition command message, and the cell addition command message carries the PCI and frequency of the new cell used to generate the second security key.
31 2、 UE接收到小区增加命令消息后, 判断本地维护的 NCC的计数值是 否溢出, 若是, 则根据小区增加命令消息中的新增小区的 PCI 和频率, 以及 该 UE当前的 NH参数值生成 κ· , 若否, 则根据小区增加命令消息中的新增 小区的 PCI和频率, 以及该 UE当前进行数据安全传输使用的 Κ 生成 KeNB*。 After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows, and if yes, generates the PCI and the frequency of the newly added cell in the cell increase command message, and the current NH parameter value of the UE. κ · , if not, generating K eNB* according to the PCI and frequency of the newly added cell in the cell addition command message and the 使用 used by the UE for data security transmission.
31 3、 UE 与第二站点基于 ΝΒ*和第二站点使用的安全算法生成安全密钥 31 3. The UE and the second station generate a security key based on the security algorithm used by the ΝΒ* and the second site.
1 , 其中, 安全密钥 1 包括 ΚυΡ 2、 KCPenc2 ^ KCP mt 2 ; 1 , wherein the security key 1 includes Κ υΡ 2, K CPenc2 ^ K CP mt 2 ;
可理解, UE可由小区增加命令消息中携带的第二站点的安全算法标识符 获知第二站点使用的安全算法。 It can be understood that the UE can learn the security algorithm used by the second station by using the security algorithm identifier of the second station carried in the cell addition command message.
31 4、 UE使用安全密钥 0与第一站点进行数据安全传输,使用安全密钥 1 与第二站点进行数据安全传输。 31 4. The UE uses the security key 0 to perform data security transmission with the first site, and uses the security key 1 to securely transmit data with the second site.
需要说明的是, 在步骤 31 3 中, 第二站点基于 κ·和第二站点使用的安 全算法生成安全密钥 1 的动作可在步骤 309至步骤 31 3中的任意时刻进行, 而不严格限制在步骤 31 3中进行。 It should be noted that, in step 31 3, the action of the second station to generate the security key 1 based on the security algorithm used by the κ · and the second site may be performed at any time in steps 309 to 31 3 without strictly restricting This is done in step 31 3.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site. The data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
为便于更好的理解本发明技术方案,下面以一应用场景对本发明实施例中 的一种数据安全传输方法进行描述, 在此应用场景下第一站点更新安全密钥,
请参阅图 4, 包括: In order to facilitate a better understanding of the technical solution of the present invention, a data security transmission method in the embodiment of the present invention is described in an application scenario. In this application scenario, the first site updates the security key. Please refer to Figure 4, including:
401 UE接入第一站点, 此时, UE和 MME生成相同的基础密钥 kASME401 UE accesses the first station, at this time, the UE and the MME generate the same basic key k ASME
402 UE和 MME基于 KASME进一步派生出中间密钥 ^ , 第二密钥1^^ 和 NH参数值。 402 UE and MME further derive intermediate key ^, second key 1 ^^ and NH parameter values based on KASME.
403 MME将生成的 κ NAS 和 ΝΗ参数值发送第一站点。 403 The MME sends the generated κ NAS and ΝΗ parameter values to the first site.
404 UE根据 κ 和第一站点使用的安全算法生成安全密钥 0, 其中, 安 全密钥 0包括 KlJPenc、 KcPenc和 KCPmt 404 UE generates security key 0 according to κ and a security algorithm used by the first station, where security key 0 includes KlJPenc , KcPenc, and K CPmt
405、 第一站点根据 κ 和第一站点使用的安全算法生成安全密钥 0405. The first station generates a security key according to the security algorithm used by the κ and the first site.
406 UE和第一站点利用生成的安全密钥 0进行数据安全传输。 406 The UE and the first station perform secure data transmission using the generated security key 0.
407 UE向第一站点发送第一测量报告消息。 407 The UE sends a first measurement report message to the first station.
408、 第一站点接收到 UE发送的第一测量报告消息后, 基于该第一测量 报告消息及该 UE的业务量等信息决定将第二站点下的小区作为该 UE新增的 服务小区, 判断本地维护的 NCC的计数值是否溢出, 若是, 则根据确定的新 增小区的 PCI和频率, 以及第一站点当前的 ΝΗ参数值生成第二中间密钥(下 面以 κ·替代)。 若否, 则根据确定的新增小区的 PCI和频率, 以及该 UE当 前进行数据安全传输使用的第一中间密钥 (下面以 替代)生成 Κ^Β* 408. After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as a service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, generates a second intermediate key (substituted by κ ·) according to the determined PCI and frequency of the newly added cell and the current ΝΗ parameter value of the first station. If not, generating Κ ^Β* according to the determined PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission (hereinafter referred to as an alternative)
409、 向第二站点发送小区增加请求消息; 409. Send a cell increase request message to the second site.
第一站点向第二站点发送小区增加请求消息,请求第二站点为该 UE提供 服务, 其中, 小区增加请求消息中携带步骤 408生成的 K B*。 The first station sends a cell addition request message to the second station, and requests the second station to provide the service for the UE, where the cell addition request message carries the K B * generated by step 408.
41 0、 第二站点接收来自第一站点的小区增加请求消息后, 向第一站点返 回小区增加请求确认消息,并可在小区增加请求确认消息中携带第二站点使用 的安全算法的安全算法标识符。 After receiving the cell addition request message from the first station, the second station returns a cell addition request acknowledgement message to the first station, and may carry the security algorithm identifier of the security algorithm used by the second station in the cell increase request acknowledgement message. symbol.
411、 第一站点接收到该小区增加请求消息后, 向 UE发送小区增加命令 消息, 并在小区增加命令消息中携带第二站点的安全算法标识符,及用于生成 第二安全密钥的新增小区的 PCI和频率。 411. After receiving the cell addition request message, the first station sends a cell addition command message to the UE, and carries the security algorithm identifier of the second site in the cell addition command message, and a new function for generating the second security key. Increase the PCI and frequency of the cell.
412 UE接收到小区增加命令消息后, 判断本地维护的 NCC的计数值是 否溢出, 若是, 则根据小区增加命令消息中的新增小区的 PCI 和频率, 以及 该 UE当前的 NH参数值生成 K B* , 若否, 则根据小区增加命令消息中的新增 小区的 PCI和频率, 以及该 UE当前进行数据安全传输使用的 Κ 生成 KeNB* 413 UE, 第一站点和第二站点基于 K B*和第二站点使用的安全算法生
成安全密钥 1 , 其中, 安全密钥 1 包括 Kw2、 KCP∞。2和 K CPint2 ; 412. After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows. If yes, generates a K B according to the PCI and frequency of the newly added cell in the cell increase command message, and the current NH parameter value of the UE. * if not, then the cell according to the PCI and the frequency increasing command message of the new cell, and the UE currently Κ for secure transfer of data is generated using K eNB * 413 UE, based on the first site and the second site K B * And the security algorithm used by the second site 1 as a security key, wherein the security key comprises a K w2, K CP∞. 2 and K CPint2 ;
可理解, UE、 第一站点可由第二站点的安全算法标识符获知第二站点使 用的安全算法。 It can be understood that the UE and the first station can learn the security algorithm used by the second station by using the security algorithm identifier of the second station.
414、 UE使用安全密钥 1与第一站点和第二站点进行数据安全传输。 需要说明的是, 在步骤 413中, 第一站点生成安全密钥 1 的动作可在步 骤 411至步骤 413中的任意时刻进行, 第二站点生成安全密钥 1 的动作可在 步骤 41 0至步骤 413中的任意时刻进行, 而不严格限制在步骤 413中进行。 414. The UE uses the security key 1 to perform data security transmission with the first site and the second site. It should be noted that, in step 413, the action of generating the security key 1 by the first station may be performed at any time in steps 411 to 413, and the action of generating the security key 1 by the second station may be performed in step 41 0 to the step. Any time in 413 is performed, and is not strictly limited in step 413.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site. The data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
在一种应用场景下, 由于 UE本身的移动或者信号的变化, UE可能需要 从当前服务站点切换到其它站点下工作, 例如, UE在移动的过程中, 可能需 要从"第一站点 +第二站点"的数据传输模式切换到"第一目标站点 +第二目标站 点"的数据传输模式。假设第一站点负责该 UE的切换控制,且 UE使用不同的 安全密钥分别与第一站点和第二站点进行数据安全传输,则在此场景下的安全 密钥生成过程可如图 5所示: In an application scenario, the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "first site + the second" during the mobile process. The data transfer mode of the site "switches to the data transfer mode of the "first target site + second target site". Assuming that the first site is responsible for the handover control of the UE, and the UE uses different security keys to perform data security transmission with the first site and the second site respectively, the security key generation process in this scenario may be as shown in FIG. :
501、 UE向第一站点发送第二测量报告消息。 501. The UE sends a second measurement report message to the first station.
502、 第一站点基于第二测量报告消息作出切换决定, 决定将该 UE切换 到第一目标站点和第二目标站点下工作。 502. The first station makes a handover decision based on the second measurement report message, and determines to switch the UE to work under the first target site and the second target site.
503、 第一站点向第二站点发送切换指示消息, 并在该切换指示消息中携 带第二目标小区的 PCI 和频率, 其中, 该第二目标小区是第一站点基于上述 第二测量报告消息决定将该 UE切换到的小区,其可以是第一目标站点下的小 区, 或者是第二目标站点下的小区, 此处不作限定。 503. The first station sends a handover indication message to the second station, where the handover indication message carries the PCI and the frequency of the second target cell, where the second target cell is determined by the first station according to the second measurement report message. The cell to which the UE is handed over may be a cell under the first target site or a cell under the second target site, which is not limited herein.
504、第二站点基于切换指示消息中的第二目标小区的 PCI和频率生成第 四中间密钥 (下面以 KeNB*2替代), 具体的, 第二站点生成 KeNB*2的过程可如下: 判断本地维护的 NCC的计数值是否溢出, 若是, 则根据第二目标小区的 PCI
和频率, 以及第二站点当前的 NH参数值, 生成第四中间密钥, 若否, 则根据 第二目标小区的 PCI 和频率, 以及上述第二中间密钥 (下面以 NB*替代)生 成 KeNB*2。 504, the second site to generate intermediate key based on the PCI and the fourth frequency handover indication message in a second target cell (hereinafter to replace KeNB * 2). Specifically, the second station 2 generates K eNB * process may be as follows: Determining whether the count value of the locally maintained NCC overflows, and if so, according to the PCI of the second target cell And the frequency, and the current NH parameter value of the second station, generating a fourth intermediate key, and if not, generating K according to the PCI and frequency of the second target cell and the second intermediate key (hereinafter replaced by NB*) eNB*2.
505、 第二站点向第一站点发送切换指示反馈消息, 该切换指示反馈消息 中携带有步骤 504生成的 k^B*2。 505. The second station sends a handover indication feedback message to the first station, where the handover indication feedback message carries the k ^B* 2 generated by step 504.
506、 第一站点基于第一目标小区 PCI和频率生成第三中间密钥(下面以 κ·^ 代),具体的,第一站点生成 k 6NB*^ 过程可如下: 判断本地维护的 NCC 的计数值是否溢出, 若是, 则根据第一目标小区的 PCI 和频率, 以及第一站 点当前的 NH参数值, 生成
, 若否, 则根据第一目标小区的 PCI和频率, 以及上述第一中间密钥 (下面以 Κ 替代 )生成 KeNM。 506. The first station generates a third intermediate key based on the first target cell PCI and the frequency (hereinafter referred to as κ·^ generation). Specifically, the first station generates the k 6 NB*^ process as follows: determining the locally maintained NCC Whether the count value overflows, if yes, according to the PCI and frequency of the first target cell, and the current NH parameter value of the first station, If not, the target cell is generated according to the first PCI and the frequency, and the first intermediate key (Κ below to replace) K eNM.
507、 第一站点将 K6NB*1和 K^B*2分别发送给第一目标站点和第二目标站点; 在实际应用中, 第一站点可通过切换请求消息将 K^*^ K^B*2发送给第一 目标站点和第二目标站点, 或者, 也可以通过其它独立消息将 和 KeNB*2发 送给第一目标站点和第二目标站点。 507, the first station K 6NB * 1 and K ^ B * 2 are transmitted to a first target site and a second target site; In practical applications, the first station may be a handover request message K ^ * ^ K ^ B * 2 is sent to the first target site and the second target site, or K eNB* 2 can also be sent to the first target site and the second target site by other independent messages.
需要说明的是, 本发明实施例中第一目标站点和第二目标站点允许该 UE 进行切换, 在实际应用中, 第一目标站点和第二目标站点也有可能不允许该 UE切换到其站点下进行工作, 具体的, 最终是否允许该 UE切换到第一目标 站点和第二目标站点,可由第一目标站点和第二目标站点经过消息协商方式进 行决定, 也可由其中一个站点作为控制站点作出决定, 此处不作限定。 It should be noted that, in the embodiment of the present invention, the first target station and the second target station allow the UE to perform handover. In an actual application, the first target station and the second target station may also not allow the UE to switch to its site. Working, specifically, whether the UE is allowed to switch to the first target station and the second target station, may be determined by the first target station and the second target station by message negotiation, or may be decided by one of the stations as the control station. , here is not limited.
508、 获取第一目标站点和第二目标站点的安全算法标识符; 508. Obtain a security algorithm identifier of the first target site and the second target site.
第一目标站点和第二目标站点可在确定允许 UE切换到其站点下后,向第 一站点返回切换请求确认消息,在该切换请求确认消息中携带第一目标站点和 第二目标站点的安全算法标识符。可理解的是, 第一目标站点和第二目标站点 可各自向第一站点返回切换请求确认消息,并在各自返回的切换请求确认消息 中携带本地使用的安全算法的安全算法标识符, 或者,也可以由其中一个站点 作为控制站点向第一站点发送切换请求确认消息,在该切换请求确认消息中携 带第一目标站点和第二目标站点的安全算法标识符, 或者,也可以在第一目标 站点和第二目标站点经过协商后,由其中一个站点向第一站点返回切换请求确 认消息,在该切换请求确认消息中携带第一目标站点和第二目标站点的安全算 法标识符, 此处不作限定。 第一站点可从接收到的切换请求确认消息中获取第
一目标站点和第二目标站点的安全算法标识符, 或者, 第一站点可以通过其它 方式获取第一目标站点和第二目标站点的安全算法标识符, 此处不作限定。 The first target station and the second target station may return a handover request acknowledgement message to the first site after determining that the UE is allowed to switch to the site, and carry the security of the first target site and the second target site in the handover request acknowledgement message. Algorithm identifier. It is to be understood that the first target station and the second target station may each return a handover request acknowledgement message to the first site, and carry the security algorithm identifier of the locally used security algorithm in the respective handover request acknowledgement message returned, or The handover request acknowledgement message may be sent to the first site by using one of the sites as the control site, and the security request identifier of the first target site and the second target site is carried in the handover request acknowledgement message, or may be in the first target. After the negotiation between the site and the second target site, the one of the sites returns a handover request acknowledgement message to the first site, and the handover request acknowledgement message carries the security algorithm identifiers of the first target site and the second target site, where the security algorithm identifier is not used herein. limited. The first site can obtain the first from the received handover request confirmation message. The security algorithm identifiers of the first target site and the second target site may be obtained by other means, and are not limited herein.
509、 第一站点向 UE发送切换命令消息; 509. The first station sends a handover command message to the UE.
其中, 切换命令消息包含第一目标小区的 PCI 和频率、 第二目标小区的 PCI 和频率、 第一目标站点的安全算法标识符, 以及与第一目标小区的 PCI 和频率相关联的 和第一目标站点的安全算法标识符, 与第二目标小区的 PCI和频率相关联的 κ·和第二目标站点的安全算法标识符。此外, 切换命令 消息还可以包含非安全相关的其它第一目标小区的 PCI 和频率, 非安全相关 的其它第二目标小区的 PCI和频率。所谓非安全相关,指这些目标小区的 PCI 和频率不被用作安全密钥的产生。 The handover command message includes a PCI and a frequency of the first target cell, a PCI and a frequency of the second target cell, a security algorithm identifier of the first target station, and a first and a first associated with a PCI and a frequency of the first target cell. The security algorithm identifier of the target site, the κ associated with the PCI and frequency of the second target cell, and the security algorithm identifier of the second target site. In addition, the handover command message may also include PCI and frequency of other first target cells that are not security related, and PCI and frequency of other second target cells that are not security related. The so-called non-security related means that the PCI and frequency of these target cells are not used as security keys.
51 0、 UE依据接收到的切换命令消息的指示, 基于第一目标小区的 PCI 和频率,以及第一目标站点的安全算法标识符指示的安全算法生成第一安全密 钥、 基于第二目标小区的 PCI 和频率, 以及第二目标站点的安全算法标识符 指示的安全算法生成第二安全密钥; The UE generates a first security key based on the PCI and the frequency of the first target cell and the security algorithm indicated by the security algorithm identifier of the first target station according to the received indication of the handover command message, and is based on the second target cell. PCI and frequency, and a security algorithm indicated by the security algorithm identifier of the second target site generates a second security key;
具体地, UE生成第一安全密钥的步骤可如下: 判断本地维护的 NCC的 计数值是否溢出, 若是, 则根据第二目标小区的 PCI和频率, 以及该 UE当前 的 ΝΗ参数值,生成 ΝΜ ;若否,则根据第一目标小区的 PCI和频率,以及 κ 生成 利用第一目标站点的安全算法标识符指示的安全算法, 及生成的 KeNM生成第一安全密钥; Specifically, the step of the UE generating the first security key may be as follows: determining whether the count value of the locally maintained NCC overflows, and if yes, generating according to the PCI and frequency of the second target cell and the current parameter value of the UE. If not, generating a first security key according to the PCI and frequency of the first target cell, and κ generating a security algorithm indicated by the security algorithm identifier of the first target station, and the generated K eNM ;
UE生成第二安全密钥的步骤可如下: 判断本地维护的 NCC的计数值是 否溢出, 若是, 则根据第一目标小区的 PCI和频率, 以及该 UE当前的 NH参 数值, 生成 κ^*2 ; 若否, 则根据第一目标小区的 PCI和频率, 以及 κ 生成 KeNB*2 ; 利用第一目标站点的安全算法标识符指示的安全算法, 及生成的 κ·2 生成第二安全密钥。 The step of the UE generating the second security key may be as follows: determining whether the count value of the locally maintained NCC overflows, and if yes, generating κ ^* 2 according to the PCI and frequency of the first target cell and the current NH parameter value of the UE. If not, generating K eNB * 2 according to the PCI and frequency of the first target cell, and κ ; generating a second security key by using the security algorithm indicated by the security algorithm identifier of the first target site, and the generated κ · 2 .
51 1、 第一目标站点基于 和其本地使用的安全算法生成第一安全密 钥。 51 1. The first target site generates a first security key based on a security algorithm used locally.
51 2、 第二目标站点基于 Κ 2和其本地使用的安全算法生成第二安全密 钥。 51 2. The second target site generates a second security key based on Κ 2 and its locally used security algorithm.
51 3、 UE 分别利用第一安全密钥和第二安全密钥与第一目标站点和第二 目标站点进行数据安全传输。
需要说明的是, 本发明实施例中的 Κ·2是由第二站点生成后发送给第一 站点,在实际应用中, 第一站点也可向第二站点请求获取第二站点当前使用的 κ *, 在获知第二站点当前使用的 κ·后, 基于 κ·及第二目标小区的 PCI 和频率生成 κ^*2 , 或者, 第一站点也可基于 κ 及第二目标小区的 PCI来生 成 κ^*2 ,并在发送给 UE的切换命令消息中指示 UE基于 κ 及第二目标小区 的 PCI来生成 κ^*2 , 此处不作限定。 51. The UE performs data security transmission with the first target station and the second target station by using the first security key and the second security key, respectively. Incidentally, in the embodiment Κ · 2 is the first site to a second site generated by the embodiment of the present invention, in practice, the first station may be a request to the second site a second Web site currently used κ *, after learning κ · second station currently in use, and a PCI-based frequency and the second target cell κ · generating κ ^ * 2, or the first site may be generated based on the PCI target and the second cell [kappa] κ ^ * 2 , and in the handover command message sent to the UE, the UE is instructed to generate κ ^* 2 based on the κ and the PCI of the second target cell, which is not limited herein.
需要说明的是,上述步骤 51 1和步骤 51 2也可在步骤 507之后至步骤 51 0 之前执行, 此处不作限定。 It should be noted that the foregoing step 51 1 and step 51 2 may also be performed after step 507 to before step 51 0 , which is not limited herein.
需要说明的是, 本发明实施例是基于前述方法实施例, 以第一站点和第二 站点切换到第一目标站点和第二目标站点进行描述的, 在实际应用中, UE的 服务站点也可能是第三站点、 第四站点, 若第三站点为负责 UE切换控制的站 点, 则相应的, 可将本实施例中的第一中间密钥替换为第三站点当前与 UE进 行数据安全传输使用的中间密钥,可将本发明实施例中的第二中间密钥替换为 第四站点当前与 UE进行数据安全传输使用的中间密钥。 It should be noted that the embodiment of the present invention is described based on the foregoing method embodiment, where the first site and the second site are switched to the first target site and the second target site, and in actual applications, the service site of the UE may also be The third site and the fourth site are used. If the third site is the site responsible for UE handover control, the first intermediate key in this embodiment may be replaced with the third site currently used for data security transmission with the UE. The intermediate key can replace the second intermediate key in the embodiment of the present invention with an intermediate key currently used by the fourth station for data security transmission with the UE.
上述第一站点、第二站点、第一目标站点和第二目标站点例如可以是基站 或者是中继站等, 此处不作限定。 The first site, the second site, the first target site, and the second target site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 当 UE需要从当前服务站 点切换到两个以上的目标站点时, 可依据接收到的切换命令消息的指示, 生成 用于与该目标站点进行数据安全传输的安全密钥,实现了从当前服务站点切换 到多个目标站点时, UE与切换到的目标站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, when the UE needs to switch from the current serving site to more than two target sites, it may be generated for performing with the target site according to the indication of the received handover command message. The security key of data security transmission realizes the secure transmission of data between the UE and the target station to be switched when switching from the current service site to multiple target sites.
在一种应用场景下, UE也可使用相同的安全密钥与第一站点和第二站点 进行数据安全传输,则在此场景下当 UE切换到其它站点下工作时的安全密钥 生成过程可如图 6所示: In an application scenario, the UE may use the same security key to perform data security transmission with the first site and the second site. In this scenario, the security key generation process when the UE switches to work at other sites may be used. As shown in Figure 6:
601、 UE向第一站点发送第二测量报告消息。 601. The UE sends a second measurement report message to the first station.
602、 第一站点基于第二测量报告消息作出切换决定, 决定将该 UE切换 到第一目标站点和第二目标站点下工作; 602. The first station makes a handover decision based on the second measurement report message, and determines to switch the UE to work under the first target site and the second target site.
603、基于目标小区的 PCI和频率生成第三中间密钥(下面以 替代); 其中, 目标小区为第一站点基于第二测量报告消息决定将 UE切换到的小 区, 上述目标小区可以是一个, 或者也可以是多个, 若上述目标小区为多个, 则可生成多个 ΝΜ , 具体地, 生成第三中间密钥的过程可如下: 判断本地维
护的 NCC的计数值是否溢出, 若是, 则根据目标小区的 PCI和频率, 以及第 一站点当前的 NH参数值, 生成 若否, 则根据目标小区的 PCI和频率, 以及第一中间密钥 (下面以 替代 )生成 κ^ΝΜ。 603. Generate a third intermediate key (hereinafter referred to as an alternative) based on the PCI and the frequency of the target cell. The target cell is a cell that the first station determines to switch the UE to based on the second measurement report message, where the target cell may be one. Alternatively, if there are multiple target cells, multiple processes may be generated. Specifically, the process of generating the third intermediate key may be as follows: Whether the count value of the protected NCC overflows, and if so, according to the PCI and frequency of the target cell, and the current NH parameter value of the first station, if not, according to the PCI and frequency of the target cell, and the first intermediate key ( The following is an alternative to generating κ^ΝΜ.
604、 第一站点向目标站点发送切换请求消息, 并在该切换指示消息中携 带 ,其中, 目标站点是第一站点基于第二测量报告消息决定将 UE切换到 的站点, 目标站点可以是一个, 也可以是多个, 若目标站点为多个, 则第一站 点可分别向多个目标站点发送切换请求消息, 或者,将该切换请求消息发送给 其中一个目标站点, 由该目标站点转发给其它目标站点, 或者, 也可以将切换 请求消息发送给一个目标站点, 由该目标站点执行准入控制后通过消息(如切 换指示消息)通知其它目标站点 UE将发生切换, 此处不作限定。 604. The first station sends a handover request message to the target station, and is carried in the handover indication message, where the target site is a site that the first site decides to switch the UE to based on the second measurement report message, and the target site may be one. There may be multiple. If there are multiple target sites, the first site may separately send a handover request message to multiple target sites, or send the handover request message to one of the target sites, and the target site forwards to the other site. The target site, or the handover request message may be sent to a target site, and the target site performs the admission control, and then the other target station UE is notified of the handover by using a message (such as a handover indication message), which is not limited herein.
605、 第一站点接收目标站点返回的切换请求确认消息, 切换请求确认消 息中携带有目标站点确定的用于生成第一安全密钥的目标小区的 PCI和频率, 以及安全算法的安全算法标识符; 进一步地,切换请求确认消息还携带非安全 相关的其它目标小区的 PCI和频率。 605. The first station receives a handover request acknowledgement message returned by the target station, where the handover request acknowledgement message carries the PCI and frequency of the target cell that is used by the target site to generate the first security key, and the security algorithm identifier of the security algorithm. Further, the handover request acknowledgement message also carries the PCI and frequency of other target cells that are not security related.
需要说明的是,该切换请求确认消息中包含的目标站点确定的用于生成第 一安全密钥的目标小区的 PCI 和频率、 以及安全算法标识符可以是单个目标 站点决定的, 也可以是由多少目标站点进行协商确定的。 如, H殳目标站点包 括第一目标站点和第二目标站点,则可由第一目标站在接收到第一站点发送的 切换请求消息后执行准入控制, 确定用于 UE将切换的目标小区、 用于生成第 一安全密钥的目标小区的 PCI 和频率, 以及生成第一安全密钥使用的安全算 法, 之后将该目标小区的 PCI 和频率, 以及该安全算法的安全算法标识符发 送给第二目标站点, 通知第二目标站点 UE将切换到其站点下工作, 并指示第 二目标站点基于该目标小区的 PCI 和频率, 以及该安全算法的安全算法标识 符生成第一安全密钥。目标节点只需确定了用于生成第一安全密钥时使用的目 标小区的 PCI 和频率, 以及安全算法的安全算法标识符, 便可向第一站点发 送上述切换请求确认消息,而无需在生成第一安全密钥后再向第一站点发送上 述切换请求确认消息。 It should be noted that the PCI and frequency of the target cell used to generate the first security key determined by the target station included in the handover request acknowledgement message, and the security algorithm identifier may be determined by a single target site, or may be How many target sites are negotiated and determined. For example, if the target station includes the first target station and the second target station, the first target station may perform the admission control after receiving the handover request message sent by the first station, and determine the target cell used for the handover by the UE, The PCI and frequency of the target cell used to generate the first security key, and the security algorithm used to generate the first security key, and then send the PCI and frequency of the target cell and the security algorithm identifier of the security algorithm to the first The second target station notifies the second target station that the UE will switch to work under its site, and instructs the second target station to generate the first security key based on the PCI and frequency of the target cell and the security algorithm identifier of the security algorithm. The target node only needs to determine the PCI and frequency of the target cell used to generate the first security key, and the security algorithm identifier of the security algorithm, and can send the above handover request acknowledgement message to the first station without generating After the first security key, the foregoing handover request acknowledgement message is sent to the first station.
606、 第一站点向 UE发送切换命令消息, 并在切换命令消息中携带上述 目标站点确定的用于生成第一安全密钥的目标小区的 PCI 和频率, 以及与上 述目标小区的 PCI和频率相关联的^^及安全算法标识符。进一步地,切换命
令消息还携带非安全相关的其它目标小区的 PCI和频率。 606. The first station sends a handover command message to the UE, and carries, in the handover command message, a PCI and a frequency of the target cell that is used by the target station to generate the first security key, and is related to the PCI and the frequency of the target cell. The ^^ and security algorithm identifiers. Further, switching lives The message also carries the PCI and frequency of other target cells that are not security related.
607、 UE依据接收到的切换命令消息的指示, 基于切换命令消息中指示 的用于生成第一安全密钥的目标小区的 PCI 和频率、 及安全算法标识符指示 的安全算法生成第一安全密钥; 607. The UE generates a first security secret according to the indication of the received handover command message, based on the PCI and frequency of the target cell used to generate the first security key, and the security algorithm indicated by the security algorithm identifier indicated in the handover command message. Key
具体地, UE生成第一安全密钥的步骤可如下: Specifically, the step of the UE generating the first security key may be as follows:
判断本地维护的 NCC的计数值是否溢出, 若是, 则根据切换命令消息中 的 PCI和频率, 以及 UE当前的 NH参数值, 生成 κ 若否, 则根据切换 命令消息中的上述 PCI和频率, 以及 κ 生成 ΝΜ ; 利用切换命令消息中的 安全算法标识符指示的安全算法, 及生成的 κ^*ι生成第一安全密钥。 Determining whether the count value of the locally maintained NCC overflows, and if so, generating a κ according to the PCI and the frequency in the handover command message and the current NH parameter value of the UE, according to the PCI and the frequency in the handover command message, and κ ΝΜ ; The first security key is generated using the security algorithm indicated by the security algorithm identifier in the handover command message, and the generated κ ^*ι.
608、 目标站点利用上述确定使用的安全算法及 κ·ι生成第一安全密钥。 608. The target station generates the first security key by using the security algorithm used by the foregoing determination and the κ ·ι.
609、 UE利用第一安全密钥与目标站点进行数据安全传输。 609. The UE uses the first security key to perform data security transmission with the target site.
需要说明的是, 上述步骤 608可在步骤 604之后至步骤 608之前执行, 此处不作限定。 It should be noted that the foregoing step 608 may be performed after step 604 to before step 608, which is not limited herein.
需要说明的是, 本发明实施例是基于前述方法实施例, 以第一站点和第二 站点切换到目标站点进行描述的, 在实际应用中, UE的服务站点也可能是第 三站点、 第四站点等, 若第三站点为负责 UE切换控制的站点, 则相应的, 可 将本实施例中的第一中间密钥替换为第三站点当前与 UE 进行数据安全传输 使用的中间密钥。 It should be noted that the embodiment of the present invention is described based on the foregoing method embodiment, where the first site and the second site are switched to the target site, and in actual applications, the service site of the UE may also be the third site and the fourth site. If the third site is the site responsible for the UE handover control, the first intermediate key in this embodiment may be replaced with the intermediate key currently used by the third site for data security transmission with the UE.
上述第一站点、 第二站点、 目标站点例如可以是基站或者是中继站等, 此 处不作限定。 The first site, the second site, and the target site may be, for example, a base station or a relay station, and the like, which is not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 当 UE需要从当前服务站 点切换到其它站点时, 可依据接收到的切换命令消息的指示, 生成用于与该目 标站点进行数据安全传输的安全密钥,实现了从当前服务站点切换到其它目标 站点时, UE与切换到的目标站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, when the UE needs to switch from the current serving site to another site, according to the indication of the received handover command message, the data for secure transmission with the target site may be generated. The security key enables secure transmission of data between the UE and the target site to be switched when switching from the current serving site to other target sites.
本发明也可基于第一站点使用的安全算法来生成安全密钥,下面以 UE为 描述主体,对本发明实施例中的一种数据安全传输方法进行描述,请参阅图 7, 包括: The present invention can also be used to generate a security key based on the security algorithm used by the first site. The following describes the data security transmission method in the embodiment of the present invention by using the UE as a description body. Referring to FIG. 7, the method includes:
701、 UE向第一站点发送第一测量报告消息; 701. The UE sends a first measurement report message to the first station.
具体的, 此步骤可参阅图 1 -a中步骤 1 01的描述, 此处不再赘述。 For details, refer to the description of step 1 01 in Figure 1-a, and details are not described here.
702、 接收第一站点返回的小区增加命令消息;
UE接收第一站点返回的小区增加命令消息, 其中, 该小区增加命令消息 中包含新增小区的 PCI和频率。 702. Receive a cell addition command message returned by the first station. The UE receives the cell addition command message returned by the first station, where the cell addition command message includes the PCI and the frequency of the newly added cell.
在本发明实施例中,第一站点基于上述第一测量报告消息决定将第二站点 下的小区作为该 UE新增的服务小区, 为便于描述, 下面将第一站点确定为该 UE新增的小区称为新增小区。 第一站点可基于新增小区的 PCI和频率, 以及 该 UE当前进行数据安全传输使用的第一中间密钥(下面以^^替代)生成第 二中间密钥 (下面以 κ 替代), 或者, 第一站点可基于新增小区的 PCI和频 率, 以及第一站点当前的 ΝΗ参数值生成 κ· , 具体的, 第一站点是基于 还是 ΝΗ 参数值来生成 Κ Β*取决于第一站点本地维护的 (NCC, Next Hop Chaining Count ) 的计数值, 若 NCC的计数值溢出, 则第一站点基于 NH参 数值来生成 KsNB*, 若未溢出, 则基于 K^B来生成 KsNB*。 在生成 KsNB*之后, 第一 站点将 和第一站点的安全算法标识符发送给第二站点, 第二站点可基于In the embodiment of the present invention, the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE. For convenience of description, the first site is determined to be newly added by the UE. The cell is called a new cell. The first station may generate a second intermediate key (hereinafter replaced by κ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ^^) used by the UE for data secure transmission, or κ · first station may be generated based on the current parameter value of the new cell ΝΗ PCI and frequency, and a first station, particularly, the first station based on the parameter values to generate or ΝΗ Κ Β * dependent on the first local site maintenance the (NCC, Next Hop Chaining count) count value, if the NCC count value overflows, the first station based on the parameter values to generate NH K sNB *, if no overflow, the K ^ B is generated based on the K sNB *. After generating K sNB*, the first site transmits the security algorithm identifier of the first site to the second site, and the second site may be based on
KeNB*和第一站点使用的安全算法生成安全密钥,并向第一站点返回小区增加请 求确认消息, 第一站点接收到第二站点返回的小区增加请求确认消息后, 向该 UE发送小区增加命令消息, 指示该 UE生成与第二站点进行数据安全传输的 安全密钥。 The K eNB * and the security algorithm used by the first station generate a security key, and return a cell addition request acknowledgement message to the first station. After receiving the cell increase request acknowledgement message returned by the second station, the first station sends a cell to the UE. The command message is added to instruct the UE to generate a security key for secure transmission of data with the second station.
可理解的是, 在实际应用中, 上述新增小区可能有多个, 则第一站点可基 于多个新增小区的 PCI和频率生成多个 Κ6ΝΒ* , 并将多个 ΚβΝΒ*发送给第二站点, 由第二站点基于多个 κ *生成多套安全密钥。由于 UE与同一站点下的不同小 区可共用一套安全密钥进行数据安全传输, 因此, 第一站点在发送给该 UE的 小区增加命令消息中, 可指示确定用于生成安全密钥的一个新增小区的 PCI 和频率, 此外, 小区增加命令消息中可以携带多个其它的安全相关的新增小区 的 PCI和频率, 或者, 第二站点也可基于多个 Κ Β*中的一个来生成安全密钥, 并通过消息通知第一站点生成安全密钥所使用的 Κ Β* , 第一站点将生成该 k^B*的新增小区的 PCI和频率发送给 UE, 此处不作限定。 It can be understood that, in actual applications, there may be multiple new cells, and the first station may generate multiple Κ6ΝΒ * based on PCI and frequency of multiple newly added cells, and send multiple ΚβΝΒ * to the second. At the site, the second site generates multiple sets of security keys based on multiple κ *s. Since the UE and the different cells under the same site can share a set of security keys for data security transmission, the first station may indicate a new one for generating a security key in the cell addition command message sent to the UE. PCI frequency cell growth and, in addition, the cell increase command message carries a plurality of other cells of the new safety-related and frequency may be a PCI, or the second site may also be generated based on a plurality of security in a Κ Β * The key is used to notify the first site to generate the security key by using the message , Β *, and the first station sends the PCI and the frequency of the new cell that generates the k ^ B* to the UE, which is not limited herein.
在一种应用场景下,第一站点也可在接收到第二站点返回的小区增加请求 确认消息后,利用 Κ Β*和第一站点使用的安全算法标识符更新安全密钥, 以便 于此后利用该安全密钥与该 UE进行数据安全传输。 In one application scenario, the first station may be received at a second cell site adding request returned confirmation message, using a security key updates the security algorithm identifier and first site Κ Β * use, in order to use thereafter The security key is securely transmitted with the UE.
在一种应用场景下, 在第一站点确定新站点(如第二站点)加入时, 由于 安全密钥的更新会导致该 UE 当前的服务小区也都要暂停工作以停止与第一
站点的数据安全传输, 因此, 第一站点可在小区增加命令消息中携带传输暂停 时间,以使得 U E可在该传输暂停时间指示的时间段内暂停与该第一站点进行 数据安全传输, 或者, 第一站点也可不在小区增加命令消息中携带传输暂停时 间, UE在接收到该小区增加命令消息后时, 在预置的时间段内暂停与第一站 点进行数据安全传输, 或者, UE也可在成功获取上述新增小区的上行同步后 暂停与第一站点进行数据安全传输,在安全密钥成功生成后重新恢复与第一站 点进行数据安全传输, 此处不作限定。 需要说明的是, 上述数据安全传输指的 是需要加密和 /或完整性保护的数据传输。 In an application scenario, when the first site determines that a new site (such as the second site) joins, the current serving cell of the UE also needs to suspend work to stop and first because the security key is updated. The data transmission of the station is securely transmitted. Therefore, the first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or The first station may also not carry the transmission pause time in the cell addition command message, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may also After the uplink synchronization of the newly added cell is successfully obtained, the data is securely transmitted with the first site, and the data is securely transmitted to the first site after the security key is successfully generated, which is not limited herein. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
703、 基于上述新增小区的 PCI和频率、 及第一站点使用的安全算法, 生 成安全密钥; 703. Generate a security key based on the PCI and frequency of the newly added cell and a security algorithm used by the first station.
当 UE接收到来自第一站点发送小区增加命令消息后,可依据该小区增加 命令消息的指示,基于小区增加命令消息指示用于生成安全密钥的一个新增小 区的 PCI 和频率, 以及第一站点使用的安全算法生成安全密钥。 具体的, 生 成安全密钥的步骤可包括: After receiving the cell increase command message from the first station, the UE may indicate, according to the cell increase command message, a PCI and a frequency of a new cell used to generate the security key, and the first according to the indication of the cell increase command message. The security algorithm used by the site generates a security key. Specifically, the step of generating a security key may include:
UE判断本地维护的 NCC的计数值是否溢出, 若是, 则根据上述新增小 区的 PCI和频率, 以及 UE当前的 NH参数值, 生成 k B* , 若否, 则根据上述 新增小区的 PCI和频率,以及 UE当前进行数据安全传输使用的第一中间密钥 生成 KeNB*; The UE determines whether the count value of the locally maintained NCC overflows, and if so, generates k B* according to the PCI and frequency of the newly added cell and the current NH parameter value of the UE, and if not, according to the PCI of the newly added cell Frequency, and the first intermediate key used by the UE for data secure transmission to generate K eNB*;
利用第一站点使用的安全算法, 及生成的 K B*生成安全密钥 (如包括 Kupenc2、 KCPenc2和 cp Μ 2 )。 Use the security algorithm used by the first site, and the generated K B * to generate a security key (including Kup enc2 , K CPenc2 and cp Μ 2 ).
704、 利用生成的安全密钥与第二站点进行数据安全传输。 704. Perform secure data transmission with the second site by using the generated security key.
当步骤 703生成安全密钥之后, UE可利用该安全密钥与第二站点进行数 据安全传输。 After the security key is generated in step 703, the UE can use the security key to perform data secure transmission with the second station.
可理解, 若第一站点没有更新与该 UE 用于进行数据安全传输的安全密 钥, 则该 UE与第一站点仍沿用原有的安全密钥进行数据安全传输, 若第一站 基于 κ·和第一站点使用的安全算法更新了安全密钥,则 UE可利用步骤 703 生成的安全密钥与第一站点进行数据安全传输。 It can be understood that if the first station does not update the security key used by the UE for data security transmission, the UE and the first station still use the original security key for data security transmission, if the first station is based on κ· The security algorithm used by the first site updates the security key, and the UE can perform data security transmission with the first site by using the security key generated in step 703.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小
区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, the UE receives the small After the command message is added to the area, the security key can be generated according to the indication of the cell addition command message, and the security key is used to securely transmit data with the newly added station, so that the UE can perform data security transmission with the original service station. It can also transmit data securely with the newly added sites, and realize the secure transmission of data between the UE and different service sites.
本发明也可基于第一站点使用的安全算法来生成安全密钥,下面以第一站 点为描述主体,对本发明实施例中的一种数据安全传输方法进行描述,请参阅 图 8, 包括: The present invention can also be used to generate a security key based on the security algorithm used by the first site. The data security transmission method in the embodiment of the present invention is described below with reference to the first site.
801、 第一站点接收 UE发送的第一测量报告消息; 801. The first station receives a first measurement report message sent by the UE.
在实际应用中, 当 UE需要增加新的服务小区时, 其可对第一站点下的小 区或第一站点的邻居站点下的小区进行测量,并通过第一测量报告消息将测量 结果发送给第一站点。 In a practical application, when the UE needs to add a new serving cell, it may perform measurement on the cell in the first station or the cell in the neighboring site of the first station, and send the measurement result to the first through the first measurement report message. One site.
当接收到来自 UE发送的第一测量报告消息后,第一站点可基于该第一测 量报告消息以及该 UE的业务量等信息对该 UE待新增的服务小区进行判决, 以确定为该 UE新增的服务小区。 After receiving the first measurement report message sent by the UE, the first station may determine, according to the first measurement report message and the traffic of the UE, the serving cell to be added by the UE, to determine the UE. New service area.
在本发明实施例中,第一站点基于上述第一测量报告消息决定将第二站点 下的小区作为该 UE新增的服务小区, 为便于描述, 下面将第一站点确定为该 UE新增的小区称为新增小区。 第一站点可基于新增小区的 PCI和频率, 以及 该 UE当前进行数据安全传输使用的第一中间密钥(下面以^^替代)生成第 二中间密钥 (下面以 κ 替代), 或者, 第一站点可基于新增小区的 PCI和频 率, 以及第一站点当前的下跳 ΝΗ参数值生成 κ *, 具体的, 第一站点是基于 κ 还是 ΝΗ参数值来生成 κ Β*取决于第一站点本地维护的 NCC的计数值, 若 NCC的计数值溢出, 则第一站点基于 ΝΗ参数值来生成 κ * , 若未溢出, 则基于 Ke B来生成 KeNB*。 In the embodiment of the present invention, the first station determines, according to the foregoing first measurement report message, the cell under the second site as the new serving cell of the UE. For convenience of description, the first site is determined to be newly added by the UE. The cell is called a new cell. The first station may generate a second intermediate key (hereinafter replaced by κ ) based on the PCI and frequency of the newly added cell, and the first intermediate key (hereinafter replaced by ^^) used by the UE for data secure transmission, or The first station may generate κ * based on the PCI and frequency of the newly added cell and the current lower flea parameter value of the first station. Specifically, the first station generates κ based on the κ or ΝΗ parameter value* depending on the first The count value of the NCC maintained locally by the station. If the count value of the NCC overflows, the first station generates κ * based on the ΝΗ parameter value, and if it does not overflow, generates K eNB * based on K e B .
进一步的, 第一站点在生成 K B*后, 可将 K B*携带在小区增加请求消息 中发送给第二站点, 请求第二站点为该 UE提供服务, 进一步的, 第一站点可 将其使用的安全算法的安全算法标识符携带在小区增加请求消息中, 或者,也 可通过其它独立消息将其使用的安全算法的安全算法标识符发送给第二站点, 此处不作限定。 第二站点在接收到该小区增加请求消息后, 可向第一站点返回 小区增加请求确认消息, 进一步的,在第二站点获知第一站点使用的安全算法 后, 可基于 κ·和第一站点使用的安全算法生成安全密钥, 以便在 UE后续生
成该安全密钥后, 可利用该安全密钥与第二站点进行数据安全传输。 在实际应用中, 上述新增小区可能有多个, 则第一站点可基于多个新增小 区的 PCI和频率生成多个 * , 并将多个 携带在小区增加请求消息发送 给第二站点, 由第二站点基于多个 K B*生成多套安全密钥, 或者, 由第二站点 从多个 KsNB*选择一个 KsNB* , 基于所选的 KsNB*来生成安全密钥。 Further, the first station after generating KB *, K B * may be carried to the second station in a cell transmits a message addition request, a second request for the station serving the UE, further, the first site can be used The security algorithm identifier of the security algorithm is carried in the cell addition request message, or the security algorithm identifier of the security algorithm used by the security algorithm is sent to the second site by other independent messages, which is not limited herein. After receiving the cell increase request message, the second site may return a cell increase request acknowledgement message to the first site. Further, after the second site learns the security algorithm used by the first site, the second site may be based on the κ and the first site. The security algorithm used generates a security key for subsequent UE lifetime After the security key is formed, the security key can be used to securely transmit data to the second site. In an actual application, if there are multiple new cells, the first site may generate multiple*s based on the PCI and frequency of the multiple newly added cells, and send multiple bearer cell addition request messages to the second site. by the second station based on the plurality of sets of K B * generated security key, or by selecting a second site from a plurality of K sNB K sNB * *, * generating a security key based on the selected K sNB.
在一种应用场景下,第一站点在接收到第二站点返回的小区增加请求确认 消息之后,也可利用 Κ·和第一站点的安全算法标识符指示的安全算法更新安 全密钥, 以便于此后利用该安全密钥与该 UE进行数据安全传输。 In one application scenario, the first station receiving the request to increase the cell site are returned after the second acknowledgment message, using a security algorithm may update the security key security algorithm identifier and first site Κ · indication, in order to Thereafter, the security key is used to securely transmit data with the UE.
802、 向 UE发送小区增加命令消息; 802. Send a cell addition command message to the UE.
第一站点在接收到第二站点返回的小区增加请求确认消息后,向 UE发送 小区增加命令消息, 指示 UE生成与第二站点进行数据安全传输的安全密钥, 并在小区增加命令消息中携带用于生成安全密钥的一个新增小区的 PCI 和频 率, 以便 UE基于该新增小区的 PCI和频率, 以及第一站点使用的安全算法生 成安全密钥。 After receiving the cell addition request acknowledgement message returned by the second station, the first station sends a cell addition command message to the UE, instructing the UE to generate a security key for data security transmission with the second station, and carrying the message in the cell addition command message. The PCI and frequency of a new cell used to generate the security key, so that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm used by the first site.
可理解的是, 在 UE接入第一站点时, UE可获知第一站点使用的安全算 法, 因此无需在小区增加命令消息中携带第一站点的安全算法标识符。在实际 应用中, 上述新增小区可能有多个, 由于 UE与同一站点下的不同小区可共用 一套安全密钥进行数据安全传输, 因此, 第一站点在发送给该 UE的小区增加 命令消息中, 可指示确定用于生成安全密钥的一个新增小区的 PCI 和频率, 此外, 小区增加命令消息中可以携带多个其它的新增小区的 PCI 和频率, 或 者, 在获知第二站点用于生成安全密钥的 Κ Β*后, 将生成该^,的新增小区 的 PCI和频率发送给 UE , 此处不作限定。 It can be understood that, when the UE accesses the first station, the UE can learn the security algorithm used by the first station, and therefore does not need to carry the security algorithm identifier of the first station in the cell addition command message. In the actual application, there may be multiple new cells, because the UE and the different cells under the same site can share a set of security keys for data security transmission. Therefore, the first station adds a command message to the cell sent to the UE. The PCI and the frequency of the newly added cell that is used to generate the security key may be instructed, and the cell addition command message may carry the PCI and the frequency of the multiple other newly added cells, or may be used to learn the second site. to generate a security key Κ Β * after the ^ generated, the frequency of the new cell and the PCI transmission to the UE, is not limited herein.
在一种应用场景下,在第一站点确定第二站点加入时, 由于安全密钥的更 新会导致该 UE 当前的服务小区也都要暂停工作以停止与第一站点的数据安 全传输, 因此, 第一站点可在小区增加命令消息中携带传输暂停时间, 以使得 UE 可在该传输暂停时间指示的时间段内暂停与该第一站点进行数据安全传 输, 或者, 第一站点也可不在小区增加命令消息中携带传输暂停时间, UE在 接收到该小区增加命令消息后时,在预置的时间段内暂停与第一站点进行数据 安全传输, 或者, UE也可在成功获取上述新增小区的上行同步后暂停与第一 站点进行数据安全传输,在安全密钥成功生成后重新恢复与第一站点进行数据
安全传输, 此处不作限定。 需要说明的是, 上述数据安全传输指的是需要加密 和 /或完整性保护的数据传输。 In an application scenario, when the first site determines that the second site joins, the current serving cell of the UE also needs to suspend work to stop the data transmission with the first site due to the update of the security key. Therefore, The first station may carry the transmission suspension time in the cell addition command message, so that the UE may suspend data security transmission with the first station during the time period indicated by the transmission suspension time, or the first station may not increase in the cell. The command message carries the transmission pause time, and the UE pauses the data security transmission with the first station in the preset time period after receiving the cell increase command message, or the UE may successfully acquire the new cell. After the uplink synchronization, pause the data security transmission with the first site, and resume the data with the first site after the security key is successfully generated. Secure transmission, not limited here. It should be noted that the above data security transmission refers to data transmission requiring encryption and/or integrity protection.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell addition command message, and use the security key to perform with the newly added site. The data is securely transmitted, so that the UE can perform data secure transmission with the original service site, and can also perform data secure transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
为便于更好的理解本发明技术方案,下面以一应用场景对本发明实施例中 的一种数据安全传输方法进行描述, 在此应用场景下第一站点更新安全密钥, 请参阅图 9, 包括: In order to facilitate a better understanding of the technical solution of the present invention, a data security transmission method in the embodiment of the present invention is described in an application scenario. In this application scenario, the first site updates the security key, see FIG. 9, including :
901 UE接入第一站点, 此时, UE和 MME生成相同的基础密钥 kASME901 UE accesses the first station, at this time, the UE and the MME generate the same basic key k ASME
902 UE和 MME基于 KASME进一步派生出中间密钥 ^ , 第二密钥1^^ 和 NH参数值。 902 The UE and the MME further derive an intermediate key ^, a second key 1 ^^ and an NH parameter value based on the KASME.
903 MME将生成的 κ NAS 和 ΝΗ参数值发送第一站点。 903 The MME sends the generated κ NAS and ΝΗ parameter values to the first site.
904 UE根据 κ 和第一站点使用的安全算法生成安全密钥 0, 其中, 安 全密钥 0包括 KlJPenc、 KcPenc和 KCPmt 904 UE generates security key 0 according to κ and a security algorithm used by the first station, where security key 0 includes KlJPenc , KcPenc, and K CPmt
905、 第一站点根据 κ 和第一站点使用的安全算法生成安全密钥 0 906 UE和第一站点利用生成的安全密钥 0进行数据安全传输。 905. The first station generates a security key according to the security algorithm used by the κ and the first station. The UE and the first station use the generated security key 0 for data security transmission.
907 UE向第一站点发送第一测量报告消息。 907 The UE sends a first measurement report message to the first station.
908、 第一站点接收到 UE发送的第一测量报告消息后, 基于该第一测量 报告消息及该 UE的业务量等信息决定将第二站点下的小区作为该 UE新增的 服务小区, 判断本地维护的 NCC的计数值是否溢出, 若是, 则根据确定的新 增小区的 PCI和频率,以及第一站点当前的下跳 ΝΗ参数值生成第二中间密钥 (下面以 κ·替代)。 若否, 则根据确定的新增小区的 PCI 和频率, 以及该 UE当前进行数据安全传输使用的第一中间密钥(下面以 κ 替代 )生成 κ·。 908. After receiving the first measurement report message sent by the UE, the first station determines, according to the information about the first measurement report message and the service volume of the UE, that the cell under the second site is used as a service cell added by the UE, and determining Whether the count value of the locally maintained NCC overflows, and if so, generates a second intermediate key (substituted by κ ·) according to the determined PCI and frequency of the newly added cell and the current lower flea parameter value of the first station. If not, a new cell is determined according to the PCI and the frequency, and a first intermediate key that the UE currently used for secure transfer of data (hereinafter to replace [kappa]) generated κ ·.
909、 向第二站点发送小区增加请求消息; 909. Send a cell increase request message to the second site.
第一站点向第二站点发送小区增加请求消息,请求第二站点为该 UE提供 服务, 其中, 小区增加请求消息中携带步骤 908生成的 κ·以及第一站点使
用的安全算法的安全算法标识符。 The first station sends a cell addition request message to the second station, requesting the second station to provide the UE with the service, where the cell increase request message carries the κ generated by step 908 and the first station enables The security algorithm identifier of the security algorithm used.
91 0、 第二站点接收来自第一站点的小区增加请求消息后, 向第一站点返 回小区增加请求确认消息。 91: After receiving the cell addition request message from the first station, the second station returns a cell addition request acknowledgement message to the first station.
911、 第一站点接收到该小区增加请求确认消息后, 向 UE发送小区增加 命令消息,并在小区增加命令消息中携带用于生成第二安全密钥的一个新增小 区的 PCI和频率。 911. After receiving the cell increase request acknowledgement message, the first station sends a cell add command message to the UE, and the cell add command message carries the PCI and frequency of an added cell for generating the second security key.
912、 UE接收到小区增加命令消息后, 判断本地维护的 NCC的计数值是 否溢出, 若是, 则根据小区增加命令消息中的新增小区的 PCI 和频率, 以及 该 UE当前的下跳 NH参数值生成 κ·。 若否, 则根据小区增加命令消息中指 示用于生成安全密钥的一个新增小区的 PCI和频率,以及该 UE当前进行数据 安全传输使用的 Ke 生成 KeNB*。 912. After receiving the cell addition command message, the UE determines whether the count value of the locally maintained NCC overflows. If yes, according to the PCI and frequency of the newly added cell in the cell increase command message, and the current downlink hop NH parameter value of the UE. Generate κ ·. If not, the PCI and frequency of a newly added cell used to generate the security key in the cell addition command message, and the Ke generated KeNB * used by the UE for data security transmission are generated.
913、 UE, 第一站点和第二站点基于 K B*和第一站点使用的安全算法生 成安全密钥 1 , 其中, 安全密钥 1 包括 K^n。2、 Kcp∞。2和 KCPint2。 913. The UE, the first station and the second station generate a security key 1 based on K B * and a security algorithm used by the first site, where the security key 1 includes K ^n. 2, K cp∞ . 2 and K CPint2 .
914、 UE使用第二安全密钥与第一站点和第二站点进行数据安全传输。 需要说明的是, 在步骤 913中, 第一站点生成安全密钥 1 的动作可在步 骤 911 至步骤 913中的任意时刻进行, 第二站点生成第二安全密钥的动作可 在步骤 910至步骤 913中的任意时刻进行,而不严格限制在步骤 913中进行。 914. The UE uses the second security key to perform data security transmission with the first site and the second site. It should be noted that, in step 913, the action of generating the security key 1 by the first station may be performed at any time in steps 911 to 913, and the action of generating the second security key by the second station may be performed in steps 910 to Any time in 913 is performed without strict limitation in step 913.
上述第一站点和第二站点例如可以是基站或者是中继站等, 此处不作限 定。 The first site and the second site may be, for example, a base station or a relay station, and are not limited herein.
由上可见, 基于本发明实施例提供的技术方案, 一方面, UE在接收到小 区增加命令消息后, 可依据小区增加命令消息的指示生成安全密钥, 利用该安 全密钥与新增的站点进行数据安全传输,使得 UE可在与原有的服务站点进行 数据安全传输的同时, 也可与新增的站点进行数据安全传输, 实现了 UE与不 同服务站点间的数据安全传输。 It can be seen that, according to the technical solution provided by the embodiment of the present invention, on the one hand, after receiving the cell addition command message, the UE may generate a security key according to the indication of the cell increase command message, and use the security key and the added site. The data is transmitted securely, so that the UE can perform data security transmission with the original service site, and can also perform data security transmission with the newly added site, thereby realizing secure data transmission between the UE and different service stations.
在一种应用场景下, 由于 UE本身的移动或者信号的变化, UE可能需要 从当前服务站点切换到其它站点下工作, 例如, UE在移动的过程中, 可能需 要从"第一站点 +第二站点"的数据传输模式切换到"第一目标站点 +第二目标站 点"的数据传输模式。 在此场景下的安全密钥生成过程可参照图 5和图 6中的 描述, 此处不再赘述。 In an application scenario, the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "first site + the second" during the mobile process. The data transfer mode of the site "switches to the data transfer mode of the "first target site + second target site". The security key generation process in this scenario can be referred to the descriptions in FIG. 5 and FIG. 6, and details are not described herein again.
下面对本发明实施例中的一种用户设备进行描述, 请参阅图 10, 本发明
实施例中的用户设备 1 000包括: A user equipment in the embodiment of the present invention is described below. Referring to FIG. 10, the present invention is described. The user equipment 1 000 in the embodiment includes:
发送单元 1 001 , 用于向第一站点发送第一测量报告消息, 其中, 上述第 一站点为用户设备 1000的当前服务站点。 The sending unit 1 001 is configured to send a first measurement report message to the first station, where the first station is a current serving station of the user equipment 1000.
接收单元 1 002, 用于接收第一站点返回的小区增加命令消息, 其中, 小 区增加命令消息包含新增小区的 PCI 和频率, 以及新增小区所属的第二站点 的安全算法标识符, 其中, 上述新增小区是上述第一站点基于第一测量报告消 息确定为用户设备 1000新增的服务小区。 a receiving unit 1 002, configured to receive a cell addition command message returned by the first station, where the cell addition command message includes a PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, where The new cell is determined by the first station to be a new serving cell added by the user equipment 1000 based on the first measurement report message.
生成单元 1 003,用于基于上述新增小区的 PCI和频率,及接收单元 1002 接收到的小区增加命令消息包含的安全算法标识符指示的安全算法,生成安全 密钥; The generating unit 1 003 is configured to generate a security key based on the PCI and the frequency of the newly added cell, and the security algorithm indicated by the security algorithm identifier included in the cell addition command message received by the receiving unit 1002.
具体的, 生成单元 1 003可包含: Specifically, the generating unit 1 003 can include:
判断单元, 用于判断本地维护的 NCC的计数值是否溢出; a determining unit, configured to determine whether a count value of the locally maintained NCC overflows;
第一生成单元, 用于当判断单元的判断结果为是时,根据上述新增小区的 PCI和频率、 以及用户设备 1000当前的 NH参数值, 生成第二中间密钥; 当 判断单元的判断结果为否时, 根据上述新增小区的 PCI 和频率、 以及用户设 备 1000当前进行数据安全传输使用的第一中间密钥生成第二中间密钥; a first generating unit, configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the user equipment 1000 when the determining result of the determining unit is YES; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the user equipment 1000 for data security transmission;
第二生成单元,用于利用小区增加命令消息包含的安全算法标识符指示的 安全算法, 及上述第一生成单元生成的第二中间密钥生成安全密钥。 And a second generating unit, configured to generate a security key by using a security algorithm indicated by a security algorithm identifier included in the cell addition command message, and a second intermediate key generated by the first generating unit.
用户设备 1 000还包含: 传输单元 1004, 用于利用生成单元 1 003生成的 安全密钥与第二站点进行数据安全传输。 进一步的传输单元 1 004还可用于利 用生成单元 1003生成的安全密钥与第一站点进行数据安全传输。 The user equipment 1 000 further includes: a transmission unit 1004, configured to perform data secure transmission with the second station by using the security key generated by the generating unit 1 003. Further transmission unit 1 004 can also be used for secure data transmission with the first site using the security key generated by the generating unit 1003.
在一种应用场景下, 由于用户设备 1 000本身的移动或者信号的变化, 用 户设备 1 000可能需要从当前服务站点切换到其它站点下工作, 例如, UE在 移动的过程中, 可能需要从"第一站点 +第二站点"的数据传输模式切换到"第一 目标站点 +第二目标站点 "的数据传输模式。 因此, 在一种应用场景, 当用户设 备 1000使用不同的安全密钥分别与第一站点和第二站点进行数据安全传输 时, 发送单元 1 001还可用于向第一站点发送第二测量报告消息, 其中, 第一 站点为负责用户设备 1000切换控制的站点; 接收单元 1002还用于接收上述 第一站点发送的切换命令消息, 该切换命令消息包含第一目标小区的 PCI 和 频率、 第二目标小区的 PCI和频率、 以及与第一目标小区的 PCI和频率相关
联的第一中间密钥和第一目标站点的安全算法标识符,与第二目标小区的 PCI 和频率相关联的第二中间密钥和第二目标站点的安全算法标识符, 其中, 上述 第一目标小区和上述第二目标小区是上述第一站点基于上述第二测量报告消 息决定将用户设备 1000切换到的小区, 上述第一目标站点和上述第二目标站 点是上述第一站点基于上述第二测量报告消息决定将上述用户设备切换到的 站点; 生成单元 1 003还用于依据上述切换命令消息的指示, 基于上述第一目 标小区的 PCI 和频率, 以及上述第一目标站点的安全算法标识符指示的安全 算法生成第一安全密钥、 基于上述第二目标小区的 PCI 和频率, 以及上述第 二目标站点的安全算法标识符指示的安全算法生成第二安全密钥; 传输单元 1 004还可用于利用生成单元 1 003生成的第一安全密钥与上述第一目标站点 进行数据安全传输; 利用生成单元 1003生成的第二安全密钥与上述第二目标 站点进行数据安全传输。 In an application scenario, due to the movement of the user equipment 1 000 or the change of the signal, the user equipment 1 000 may need to switch from the current service station to work under other stations. For example, the UE may need to be from the mobile process. The data transmission mode of the first site + the second site is switched to the data transmission mode of the "first target site + second target site". Therefore, in an application scenario, when the user equipment 1000 performs data secure transmission with the first station and the second station respectively by using different security keys, the sending unit 1 001 may be further configured to send the second measurement report message to the first station. The first station is a station responsible for the handover control of the user equipment 1000. The receiving unit 1002 is further configured to receive a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of the first target cell, and a second target. The PCI and frequency of the cell, and the PCI and frequency of the first target cell a first intermediate key and a security algorithm identifier of the first target site, a second intermediate key associated with the PCI and frequency of the second target cell, and a security algorithm identifier of the second target site, wherein a target cell and the second target cell are cells determined by the first station to switch the user equipment 1000 based on the second measurement report message, where the first target station and the second target station are based on the foregoing The second measurement report message determines the site to which the user equipment is switched; the generating unit 1 003 is further configured to: based on the indication of the foregoing handover command message, based on the PCI and frequency of the first target cell, and the security algorithm identifier of the first target station The security algorithm indicated by the symbol generates a first security key, based on the PCI and frequency of the second target cell, and the security algorithm indicated by the security algorithm identifier of the second target station generates a second security key; the transmission unit 1 004 further Can be used to perform the first security key generated by the generating unit 1 003 with the first target site According secure transmission; secure transmission of data to the second target site using the second security key generating unit 1003 generates.
在一种应用场景下, 当用户设备 1000使用相同的安全密钥与第一站点和 第二站点进行数据安全传输时, 发送单元 1001可用于向上述第一站点发送第 二测量报告消息; 接收单元 1 002可用于接收上述第一站点发送的切换命令消 息, 其中, 该切换命令消息包含目标站点生成第一安全密钥时使用的目标小区 的 PCI和频率, 以及与该目标小区的 PCI和频率相关联的第一中间密钥及安 全算法标识符, 其中, 该目标站点为上述第一站点基于上述第二测量报告消息 决定将用户设备 1000切换到的站点; 生成单元 1003可用于依据上述切换命 令消息的指示, 基于上述切换命令消息中的 PCI 和频率、 及上述安全算法标 识符指示的安全算法生成第一安全密钥; 传输单元 1004可用于利用生成单元 1 003生成的第一安全密钥与上述目标站点进行数据安全传输。 In an application scenario, when the user equipment 1000 uses the same security key to perform data secure transmission with the first station and the second station, the sending unit 1001 may be configured to send a second measurement report message to the first station; The first command may be used to receive the handover command message sent by the first station, where the handover command message includes the PCI and frequency of the target cell used by the target station to generate the first security key, and is related to the PCI and frequency of the target cell. The first intermediate key and the security algorithm identifier, wherein the target station determines, for the first station, the site to which the user equipment 1000 is switched based on the second measurement report message; the generating unit 1003 is configured to use the handover command message according to the foregoing And generating, by the security algorithm indicated by the PCI and the frequency in the handover command message, and the security algorithm identifier, the first security key; the transmission unit 1004 is configured to use the first security key generated by the generating unit 1 003 and the foregoing The target site performs data security transmission.
需要说明的是,本实施例的用户设备 1000可以如上述方法实施例图 1 -a~ 图 6中的用户设备, 可以用于实现上述方法实施例图 1 -a〜图 6中的全部技术 方案, 其各个功能模块的功能可以根据上述方法实施例中的方法具体实现, 其 具体实现过程可参照上述实施例中的相关描述, 此处不再赘述。 It should be noted that the user equipment 1000 in this embodiment may be used as the user equipment in the foregoing method embodiments in FIG. 1 -a to FIG. 6 , and may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 1 -a to FIG. The function of each of the functional modules may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description in the foregoing embodiments, and details are not described herein again.
下面对本发明实施例中的一种网络站点进行描述, 请参阅图 11 , 本发明 实施例中的网络站点 11 00包括: A network site in the embodiment of the present invention is described below. Referring to FIG. 11, the network site 11 00 in the embodiment of the present invention includes:
接收单元 11 01 , 用于接收 UE发送的第一测量报告消息; The receiving unit 11 01 is configured to receive a first measurement report message sent by the UE.
发送单元 11 02用于向该 UE发送小区增加命令消息, 其中, 该小区增加
命令消息包含新增小区的 PCI 和频率, 以及上述新增小区所属的第二站点的 安全算法标识符, 以便于该 UE基于上述新增小区的 PCI和频率, 以及上述第 二站点的安全算法标识符指示的安全算法生成安全密钥, 其中, 上述新增小区 是网络站点 11 00基于接收到的第一测量报告消息确定为该 UE新增的服务小 区。 The sending unit 102 is configured to send a cell addition command message to the UE, where the cell is increased. The command message includes the PCI and frequency of the newly added cell, and the security algorithm identifier of the second site to which the new cell belongs, so that the UE is based on the PCI and frequency of the newly added cell, and the security algorithm identifier of the second site. The security algorithm indicated by the symbol generates a security key, where the new cell is determined by the network station 1 00 to be a new serving cell of the UE based on the received first measurement report message.
进一步, 网络站点 11 00还包括判断单元 1103和生成单元 11 04, 其中: 判断单元 1103用于判断本地维护的下跳链计数器 NCC的计数值是否溢 出; Further, the network site 11 00 further includes a determining unit 1103 and a generating unit 11 04, wherein: the determining unit 1103 is configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows;
生成单元 1104用于当判断单元 1103的判断结果为是时, 根据新增小区 的 PCI和频率, 以及网络站点 1100当前的 NH参数值, 生成第二中间密钥; 当判断单元 11 03的判断结果为否时, 根据新增小区的 PCI和频率, 以及上述 UE当前进行数据安全传输使用的第一中间密钥生成第二中间密钥。 The generating unit 1104 is configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the network station 1100 when the determining result of the determining unit 1103 is YES; when the determining unit 11 03 determines the result If not, the second intermediate key is generated according to the PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission.
在实际应用中, 发送单元 11 02还用于向上述第二站点发送小区增加请求 消息, 其中, 该小区增加请求消息中携带上述生成单元 1104生成的第二中间 密钥;接收单元 1101还用于接收上述第二站点返回的小区增加请求确认消息。 In an actual application, the sending unit 102 is further configured to send a cell addition request message to the second station, where the cell increase request message carries the second intermediate key generated by the generating unit 1104; the receiving unit 1101 is further used to Receiving a cell increase request acknowledgement message returned by the second station.
在实际应用中, 生成单元 11 04还可用于基于上述第二站点的安全算法标 识符指示的安全算法, 和上述第二中间密钥生成新的安全密钥, 以便利用上述 新的安全密钥与上述 UE进行数据安全传输, 其中, 第二站点的安全算法标识 符可从接收单元 1101接收到的小区增加请求确认消息中获得, 或者, 也可以 从接收到的来自第二站点的其它消息中获得, 此处不作限定。 In a practical application, the generating unit 104 is further configured to generate a new security key based on the security algorithm indicated by the security algorithm identifier of the second site, and the second intermediate key, so as to utilize the new security key and the foregoing The foregoing UE performs data security transmission, where the security algorithm identifier of the second site may be obtained from the cell addition request acknowledgement message received by the receiving unit 1101, or may also be obtained from other received messages from the second site. , here is not limited.
在一种应用场景下, 由于 UE本身的移动或者信号的变化, UE可能需要 从当前服务站点切换到其它站点下工作, 例如, UE在移动的过程中, 可能需 要从"网络站点 1100+第二站点"的数据传输模式切换到"第一目标站点 +第二目 标站点 "的数据传输模式。 因此, 在一种应用场景, 当 UE使用不同的安全密 钥分别与网络站点 11 00和第二站点进行数据安全传输时, 接收单元 1101还 可用于接收 UE发送的第二测量报告消息; 发送单元 1102用于向第二站点发 送切换指示消息, 其中, 该切换指示消息中携带第二目标小区的 PCI和频率, 以便上述第二站点基于上述第二目标小区的 PCI 和频率生成第四中间密钥, 其中, 上述第二目标小区是网络站点 11 00基于上述第二测量报告消息决定将 UE切换到的小区; 接收单元 1101 用于接收上述第二站点发送的切换指示反
馈消息, 其中, 该切换指示反馈消息中携带上述第二站点基于上述第二目标小 区的 PCI和频率生成的第四中间密钥; 生成单元 11 04还可用于基于第一目标 小区的 PCI 和频率生成第三中间密钥, 其中, 上述第一目标小区是网络站点 11 00基于上述第二测量报告消息决定将该 UE切换到的小区; 发送单元 1102 还可用于将上述第三中间密钥和第四中间密钥分别发送给第一目标站点和第 二目标站点,以便上述第一目标站点根据上述第三中间密钥及上述第一目标站 点使用的安全算法生成第一安全密钥、上述第二目标站点根据上述第四中间密 钥及上述第二目标站点使用的安全算法生成第二安全密钥, 其中, 上述第一目 标站点和上述第二目标站点是网络站点 1100基于接收到的第二测量报告消息 决定将该 UE切换到的站点; 进一步的, 网络站点 1100还可包括获取单元, 用于获取上述第一目标站点和第二目标站点的安全算法标识符; 发送单元 11 02还可用于向上述 UE发送切换命令消息, 其中, 该切换命令消息包含上 述第一目标小区的 PCI和频率、 上述第二目标小区的 PCI和频率、 以及与第 一目标小区的 PCI 和频率相关联的第一中间密钥和第一目标站点的安全算法 标识符, 与第二目标小区的 PCI 和频率相关联的第二中间密钥和第二目标站 点的安全算法标识符, 以便于该 UE可依据切换命令消息的指示, 基于上述第 一目标小区的 PCI 和频率, 以及上述第一目标站点的安全算法标识符指示的 安全算法生成用于与上述第一目标站点进行数据安全传输的第一安全密钥、基 于上述第二目标小区的 PCI 和频率, 以及上述第二目标站点的安全算法标识 符指示的安全算法生成用于与上述第二目标站点进行数据安全传输的第二安 全密钥。 In an application scenario, the UE may need to switch from the current serving site to work under other sites due to the UE's own mobile or signal changes. For example, the UE may need to go from the "network site 1100 + the second" during the mobile process. The data transfer mode of the site "switches to the data transfer mode of the "first target site + second target site". Therefore, in an application scenario, when the UE performs data secure transmission with the network site 11 00 and the second site by using different security keys, the receiving unit 1101 may be further configured to receive a second measurement report message sent by the UE; 1102 is configured to send a handover indication message to the second station, where the handover indication message carries a PCI and a frequency of the second target cell, so that the second site generates a fourth intermediate key based on the PCI and the frequency of the second target cell. The second target cell is a cell that the network site 110 determines to switch the UE to based on the second measurement report message, and the receiving unit 1101 is configured to receive the handover indication sent by the second site. a feed message, where the handover indication feedback message carries a fourth intermediate key generated by the second station based on the PCI and frequency of the second target cell; and the generating unit 10 04 is further configured to use the PCI and the frequency based on the first target cell. Generating a third intermediate key, where the first target cell is a cell that the network site 11 00 determines to switch the UE to based on the second measurement report message; the sending unit 1102 is further configured to use the third intermediate key and the third The fourth intermediate key is sent to the first target station and the second target station, respectively, so that the first target station generates the first security key according to the third intermediate key and the security algorithm used by the first target station, and the second The target station generates a second security key according to the fourth intermediate key and the security algorithm used by the second target station, where the first target station and the second target station are the network station 1100 based on the received second measurement. The report message determines the site to which the UE is switched; further, the network site 1100 may further include an obtaining unit for Obtaining the security algorithm identifiers of the first target station and the second target station; the sending unit 102 is further configured to send a handover command message to the UE, where the handover command message includes the PCI and the frequency of the first target cell, and the foregoing a PCI and a frequency of the second target cell, and a first intermediate key associated with the PCI and frequency of the first target cell and a security algorithm identifier of the first target site, associated with the PCI and frequency of the second target cell a second intermediate key and a security algorithm identifier of the second target station, so that the UE can be based on the PCI and frequency of the first target cell and the security algorithm identifier of the first target station according to the indication of the handover command message The indicated security algorithm generates a first security key for secure transmission of data with the first target site, a PCI and frequency based on the second target cell, and a security algorithm indicated by the security algorithm identifier of the second target site Generating a second security key for secure transmission of data with the second target site described above.
在一种应用场景下, 当 UE使用相同的安全密钥与网络站点 11 00和第二 站点进行数据安全传输时, 接收单元 11 01还可用于接收 UE发送的第二测量 报告消息; 生成单元 1104还用于基于目标小区的 PCI和频率生成第三中间密 钥, 其中, 上述目标小区为网络站点 11 00基于接收到的第二测量报告消息决 定将该 UE切换到的小区; 发送单元 11 02还用于向目标站点发送切换请求消 息, 其中, 该切换请求消息中携带上述第三中间密钥, 以便上述目标站点基于 上述第三中间密钥生成第一安全密钥, 其中, 上述目标站点是网络站点 1100 基于接收到的第二测量报告消息决定将该 UE切换到的站点; 接收单元 1101 还用于接收上述目标站点返回的切换请求确认消息, 其中, 该切换请求确认消
息中携带有上述目标站点确定的用于生成上述第一安全密钥的目标小区的In an application scenario, when the UE uses the same security key to perform data secure transmission with the network site 11 00 and the second site, the receiving unit 101 may be further configured to receive the second measurement report message sent by the UE. And the third intermediate key is further generated according to the PCI and the frequency of the target cell, where the target cell determines, by the network station 1 00, the cell to which the UE is switched based on the received second measurement report message; And sending, by the target station, a handover request message, where the handover request message carries the third intermediate key, so that the target station generates a first security key based on the third intermediate key, where the target site is a network. The station 1100 determines, according to the received second measurement report message, the station to which the UE is switched. The receiving unit 1101 is further configured to receive a handover request acknowledgement message returned by the target station, where the handover request acknowledges The information carries the target cell determined by the target station to generate the first security key.
PCI和频率, 以及安全算法的安全算法标识符; 发送单元 1102还用于向上述 UE发送切换命令消息, 其中, 该切换命令消息包含上述目标站点确定的用于 生成第一安全密钥的目标小区的 PCI 和频率, 以及使用的安全算法的安全算 法标识符, 以便于上述 UE依据该切换命令消息的指示, 基于上述目标小区的 PCI和频率,以及上述安全算法标识符指示的安全算法生成用于与上述目标站 点进行数据安全传输的第一安全密钥。 The PCI and the frequency, and the security algorithm identifier of the security algorithm; the sending unit 1102 is further configured to send a handover command message to the UE, where the handover command message includes the target cell determined by the target station to generate the first security key. PCI and frequency, and a security algorithm identifier of the used security algorithm, so that the UE is generated based on the PCI and frequency of the target cell and the security algorithm indicated by the security algorithm identifier according to the indication of the handover command message. The first security key for secure transmission of data with the above target site.
需要说明的是,本实施例的网络站点 1100可以如上述方法实施例图 1 -a~ 图 6中的第一站点, 可以用于实现上述方法实施例图 1 -a〜图 6中的全部技术 方案, 其各个功能模块的功能可以根据上述方法实施例中的方法具体实现, 其 具体实现过程可参照上述实施例中的相关描述, 此处不再赘述。 It should be noted that the network site 1100 of this embodiment may be the first site in the foregoing method embodiment, FIG. 1 - a - FIG. 6 , and may be used to implement all the technologies in the foregoing method embodiments in FIG. 1 - a - FIG. For example, the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description in the foregoing embodiments, and details are not described herein again.
下面对本发明实施例中的另一种用户设备进行描述,本发明实施例中的用 户设备包括: The following describes another user equipment in the embodiment of the present invention. The user equipment in the embodiment of the present invention includes:
发送单元, 用于向第一站点发送第一测量报告消息, 其中, 上述第一站点 为上述用户设备的当前服务站点。 And a sending unit, configured to send a first measurement report message to the first station, where the first site is a current serving site of the user equipment.
接收单元, 用于接收第一站点返回的小区增加命令消息, 其中, 小区增加 命令消息包含新增小区的 PCI 和频率, 其中, 上述新增小区是上述第一站点 基于上述第一测量报告消息确定为上述用户设备新增的服务小区。 a receiving unit, configured to receive a cell addition command message returned by the first station, where the cell addition command message includes a PCI and a frequency of the newly added cell, where the newly added cell is determined by the first station according to the first measurement report message. A service cell added for the above user equipment.
生成单元, 用于基于上述新增小区的 PCI 和频率、 及上述第一站点使用 的安全算法, 生成安全密钥; a generating unit, configured to generate a security key based on the PCI and frequency of the newly added cell and the security algorithm used by the first site;
具体的, 上述生成单元可包含: Specifically, the generating unit may include:
判断单元, 用于判断本地维护的 NCC的计数值是否溢出; a determining unit, configured to determine whether a count value of the locally maintained NCC overflows;
第一生成单元, 用于当判断单元的判断结果为是时,根据上述新增小区的 PCI和频率, 以及上述用户设备当前的 NH参数值, 生成第二中间密钥; 当判 断单元的判断结果为否时, 根据上述新增小区的 PCI 和频率, 以及上述用户 设备当前进行数据安全传输使用的第一中间密钥生成第二中间密钥; a first generating unit, configured to generate a second intermediate key according to the PCI and frequency of the newly added cell and the current NH parameter value of the user equipment when the determining result of the determining unit is YES; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the user equipment for data security transmission;
第二生成单元, 用于利用上述第一站点使用的安全算法,及上述第一生成 单元生成的第二中间密钥生成安全密钥。 And a second generating unit, configured to generate a security key by using a security algorithm used by the first site, and a second intermediate key generated by the first generating unit.
传输单元,用于利用上述生成单元生成的安全密钥与上述第二站点进行数 据安全传输。进一步的传输单元还可用于利用上述生成单元生成的安全密钥与
第一站点进行数据安全传输。 And a transmission unit, configured to perform data security transmission with the second site by using the security key generated by the generating unit. A further transmission unit can also be used to utilize the security key generated by the above generating unit The first site performs data security transmission.
需要说明的是, 本实施例的用户设备可以如上述方法实施例图 7〜图 9中 的用户设备, 可以用于实现上述方法实施例图 7〜图 9中的全部技术方案, 其 各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现 过程可参照上述实施例中的相关描述, 此处不再赘述。 It should be noted that the user equipment in this embodiment may be used as the user equipment in the foregoing method embodiments in FIG. 7 to FIG. 9 , and may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 7 to FIG. 9 . For the specific implementation process, reference may be made to the related description in the foregoing embodiments, and details are not described herein again.
下面对本发明实施例中的另一种网络站点进行描述,本发明实施例中的网 络站点包括: Another network site in the embodiment of the present invention is described below. The network site in the embodiment of the present invention includes:
接收单元, 用于接收 UE发送的第一测量报告消息; a receiving unit, configured to receive a first measurement report message sent by the UE;
发送单元, 用于向该 UE发送小区增加命令消息, 其中, 该小区增加命令 消息包含新增小区的 PCI和频率, 以便于该 UE基于该新增小区的 PCI和频 率, 以及上述网络站点使用的安全算法生成安全密钥, 其中, 上述新增小区是 上述网络站点基于上述第一测量报告消息确定为该 UE新增的服务小区。 a sending unit, configured to send a cell addition command message to the UE, where the cell add command message includes a PCI and a frequency of the newly added cell, so that the UE is based on the PCI and frequency of the newly added cell, and the network station uses The security algorithm generates a security key, where the new cell is determined by the network station to be a new serving cell of the UE based on the first measurement report message.
进一步, 上述网络节点还包括判断单元和生成单元, 其中, 判断单元用于 判断本地维护的下跳链计数器 NCC的计数值是否溢出; 生成单元用于当上述 判断单元的判断结果为是时, 根据新增小区的物理小区标识 PCI 和频率, 以 及上述网络站点当前的 NH参数值, 生成第二中间密钥; 当上述判断单元的判 断结果为否时,根据新增小区的物理小区标识 PCI和频率, 以及上述 UE当前 进行数据安全传输使用的第一中间密钥生成第二中间密钥。 Further, the network node further includes a determining unit and a generating unit, wherein the determining unit is configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows; and the generating unit is configured to: when the determining result of the determining unit is yes, according to Adding the physical cell identifier PCI and frequency of the cell, and the current NH parameter value of the network site to generate a second intermediate key; when the judgment result of the determining unit is no, according to the physical cell identifier PCI and frequency of the newly added cell And generating, by the first intermediate key used by the UE for data secure transmission, a second intermediate key.
其中,上述发送单元还用于向上述新增小区所属的第二站点发送小区增加 请求消息, 上述小区增加请求消息中携带上述生成单元生成的第二中间密钥; 上述接收单元还用于接收上述第二站点返回的小区增加请求确认消息。 The sending unit is further configured to send a cell addition request message to the second station to which the new cell belongs, where the cell increase request message carries the second intermediate key generated by the generating unit, and the receiving unit is further configured to receive the foregoing The cell returned by the second station adds a request acknowledgement message.
在实际应用中, 上述生成单元还可用于基于上述网络站点使用的安全算 法, 和上述第二中间密钥生成安全密钥, 以便利用上述安全密钥与 UE进行数 据安全传输。 In an actual application, the generating unit may be further configured to generate a security key based on the security algorithm used by the network site and the second intermediate key, so as to perform data security transmission with the UE by using the security key.
需要说明的是, 本实施例的网络设备可以如上述方法实施例图 7〜图 9中 的网络设备, 可以用于实现上述方法实施例图 7〜图 9中的全部技术方案, 其 各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现 过程可参照上述实施例中的相关描述, 此处不再赘述。 It should be noted that the network device in this embodiment may be the network device in the foregoing method embodiment, and the network device in FIG. 7 to FIG. 9 may be used to implement all the technical solutions in the foregoing method embodiments in FIG. 7 to FIG. For the specific implementation process, reference may be made to the related description in the foregoing embodiments, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可
读存储介质中, 上述提到的存储介质可以是只读存储器, 随机存储器、磁盘或 光盘等。 A person skilled in the art can understand that all or part of the steps in implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer. In the read storage medium, the above-mentioned storage medium may be a read only memory, a random access memory, a magnetic disk or an optical disk or the like.
以上对本发明所提供的一种数据安全传输方法及相关设备进行了详细介 绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施方式 及应用范围上均会有改变之处, 综上, 本说明书内容不应理解为对本发明的限 制。
The data security transmission method and the related device provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, there are changes in the specific implementation manner and application scope. In conclusion, the contents of this specification are not to be construed as limiting the invention.
Claims
1、 一种多站点下的数据安全传输方法, 其特征在于, 包括: A data security transmission method under a multi-site, characterized in that:
用户设备 UE 向第一站点发送第一测量报告消息, 所述第一站点为所述 UE的当前月良务站点; The user equipment UE sends a first measurement report message to the first station, where the first station is the current monthly service station of the UE;
接收所述第一站点返回的小区增加命令消息,所述小区增加命令消息包含 新增小区的物理小区标识 PCI和频率、以及所述新增小区所属的第二站点的安 全算法标识符, 其中, 所述新增小区是所述第一站点基于所述第一测量报告消 息确定为所述 UE新增的服务小区; Receiving, by the first station, a cell addition command message, where the cell addition command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the new cell belongs, where The new cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message;
基于所述新增小区的 PCI 和频率、 及所述安全算法标识符指示的安全算 法, 生成安全密钥; Generating a security key based on the PCI and frequency of the newly added cell and a security algorithm indicated by the security algorithm identifier;
利用所述生成的安全密钥与所述第二站点进行数据安全传输。 Securely transmitting data to the second site using the generated security key.
2、 根据权利要求 1所述的方法, 其特征在于, 2. The method of claim 1 wherein
所述生成安全密钥包括: The generating a security key includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述新增小区的 PCI和频率、 以及所述 UE当前的下跳 NH 参数值, 生成第二中间密钥, If yes, generating a second intermediate key according to the PCI and the frequency of the newly added cell, and the current NH hop NH parameter value of the UE,
若否, 则根据所述新增小区的 PCI和频率、 以及所述 UE当前进行数据安 全传输使用的第一中间密钥生成第二中间密钥; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell and the first intermediate key used by the UE for data security transmission;
利用所述安全算法标识符指示的安全算法、及所述生成的第二中间密钥生 成安全密钥。 A security key is generated using the security algorithm indicated by the security algorithm identifier and the generated second intermediate key.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 3. A method according to claim 1 or 2, characterized in that
在生成安全密钥之后, 还包括: After generating the security key, it also includes:
利用所述安全密钥与所述第一站点进行数据安全传输。 Securely transmitting data to the first site using the security key.
4、 根据权利要求 1或 2中任一项所述的方法, 其特征在于, 4. A method according to any one of claims 1 or 2, characterized in that
所述小区增加命令消息还包含传输暂停时间; The cell increase command message further includes a transmission pause time;
在所述接收所述第一站点返回的小区增加命令消息之后, 还包括:
在所述传输暂停时间指示的时间段内暂停与所述第一站点进行数据安全 传输。 After the receiving the cell addition command message returned by the first site, the method further includes: Data secure transmission with the first station is suspended during the time period indicated by the transmission pause time.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 5. A method according to claim 1 or 2, characterized in that
在所述接收所述第一站点返回的小区增加命令消息之后, 还包括: 在成功获取所述新增小区的上行同步后,暂停与所述第一站点进行数据安 全传输。 After the receiving the cell addition command message returned by the first station, the method further includes: suspending data security transmission with the first station after successfully acquiring the uplink synchronization of the new cell.
6、 根据权利要求 1或 2所述的方法, 其特征在于, 6. A method according to claim 1 or 2, characterized in that
在所述利用所述生成的安全密钥与所述第二站点进行数据安全传输之后, 还包括: After the data security transmission with the second site by using the generated security key, the method further includes:
向所述第一站点发送第二测量报告消息; Sending a second measurement report message to the first station;
接收所述第一站点发送的切换命令消息,所述切换命令消息包含第一目标 小区的 PCI和频率、 第二目标小区的 PCI和频率、 与所述第一目标小区的 PCI 和频率相关联的第一中间密钥和所述第一目标站点的安全算法标识符、与所述 第二目标小区的 PCI和频率相关联的第二中间密钥和所述第二目标站点的安 全算法标识符, 其中, 所述第一目标小区和所述第二目标小区是所述第一站点 基于所述第二测量报告消息决定将所述 UE切换到的小区,所述第一目标站点 和所述第二目标站点是所述第一站点基于所述第二测量报告消息决定将所述 UE切换到的站点; Receiving a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of a first target cell, a PCI and a frequency of a second target cell, and a PCI and a frequency associated with the first target cell. a first intermediate key and a security algorithm identifier of the first target site, a second intermediate key associated with a PCI and a frequency of the second target cell, and a security algorithm identifier of the second target site, The first target cell and the second target cell are cells that the first station decides to switch the UE to based on the second measurement report message, the first target station and the second The target station is a site that the first station decides to switch the UE to based on the second measurement report message;
依据所述切换命令消息的指示,基于所述第一目标小区的 PCI和频率、所 述第一中间密钥、以及所述第一目标站点的安全算法标识符指示的安全算法生 成第一安全密钥, 基于所述第二目标小区的 PCI和频率、 所述第二中间密钥、 以及所述第二目标站点的安全算法标识符指示的安全算法生成第二安全密钥; 利用所述第一安全密钥与所述第一目标站点进行数据安全传输; And generating, according to the indication of the handover command message, a first security secret based on a PCI and a frequency of the first target cell, the first intermediate key, and a security algorithm indicated by a security algorithm identifier of the first target station Key, generating a second security key based on a PCI and frequency of the second target cell, the second intermediate key, and a security algorithm indicated by a security algorithm identifier of the second target site; Securely transmitting data to the first target site;
利用所述第二安全密钥与所述第二目标站点进行数据安全传输。 Securely transmitting data to the second target site using the second security key.
7、 根据权利要求 6所述的方法, 其特征在于, 7. The method of claim 6 wherein:
所述生成第一安全密钥包括:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, The generating the first security key includes: Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述第一目标小区的 PCI和频率、 以及所述 UE当前的下跳 NH参数值, 生成第三中间密钥, If yes, generating a third intermediate key according to the PCI and frequency of the first target cell and the current downlink hop NH parameter value of the UE,
若否,则根据所述第一目标小区的 PCI和频率、以及所述第一中间密钥生 成第三中间密钥; If not, generating a third intermediate key according to the PCI and frequency of the first target cell and the first intermediate key;
利用所述第一目标站点的安全算法标识符指示的安全算法、及所述生成的 第三中间密钥生成第一安全密钥; Generating a first security key by using a security algorithm indicated by the security algorithm identifier of the first target site and the generated third intermediate key;
所述生成第二安全密钥包括: The generating the second security key includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述第二目标小区的 PCI和频率、 以及所述 UE当前的下跳 If yes, according to the PCI and frequency of the second target cell, and the current downlink of the UE.
NH参数值, 生成第四中间密钥, The NH parameter value, generating a fourth intermediate key,
若否,则根据所述第二目标小区的 PCI和频率、以及所述第二中间密钥生 成第四中间密钥; If not, generating a fourth intermediate key according to the PCI and the frequency of the second target cell and the second intermediate key;
利用所述第二目标站点的安全算法标识符指示的安全算法、及所述生成的 第四中间密钥生成第二安全密钥。 Generating a second security key using the security algorithm indicated by the security algorithm identifier of the second target site and the generated fourth intermediate key.
8、 根据权利要求 3所述的方法, 其特征在于, 8. The method of claim 3, wherein
在所述利用所述生成的安全密钥与所述第二站点进行数据安全传输之后, 还包括: After the data security transmission with the second site by using the generated security key, the method further includes:
向所述第一站点发送第二测量报告消息; Sending a second measurement report message to the first station;
接收所述第一站点发送的切换命令消息,所述切换命令消息包含目标站点 确定的用于生成第一安全密钥的目标小区的 PCI和频率、以及与所述目标小区 的 PCI和频率相关联的第一中间密钥及安全算法标识符,其中,所述目标站点 为所述第一站点基于所述第二测量报告消息决定将所述 UE切换到的站点; 依据所述切换命令消息的指示,基于所述切换命令消息中的所述 PCI和频 率、所述第一中间密钥、及所述安全算法标识符指示的安全算法生成第一安全 密钥;
利用所述第一安全密钥与所述目标站点进行数据安全传输。 Receiving a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of a target cell determined by the target station for generating the first security key, and is associated with a PCI and a frequency of the target cell. a first intermediate key and a security algorithm identifier, wherein the target station is a station that the first station decides to switch the UE to based on the second measurement report message; according to the indication of the handover command message Generating a first security key based on the PCI and frequency in the handover command message, the first intermediate key, and a security algorithm indicated by the security algorithm identifier; Securely transmitting data to the target site using the first security key.
9、 根据权利要求 8所述的方法, 其特征在于, 9. The method of claim 8 wherein:
所述生成第一安全密钥包括: The generating the first security key includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述切换命令消息中的所述 PCI和频率、 以及所述 UE当前 的下跳 NH参数值, 生成第三中间密钥, If yes, generating a third intermediate key according to the PCI and the frequency in the handover command message, and the current downlink hop NH parameter value of the UE,
若否,则根据所述切换命令消息中的所述 PCI和频率、以及所述第一中间 密钥生成第三中间密钥; If not, generating a third intermediate key according to the PCI and the frequency in the handover command message, and the first intermediate key;
利用所述切换命令消息中的安全算法标识符指示的安全算法、及所述生成 的第三中间密钥生成第一安全密钥。 A first security key is generated using the security algorithm indicated by the security algorithm identifier in the handover command message and the generated third intermediate key.
10、 一种多站点下的数据安全传输方法, 其特征在于, 包括: 10. A data security transmission method under a multi-site, characterized in that:
第一站点接收用户设备 UE发送的第一测量报告消息; Receiving, by the first station, a first measurement report message sent by the user equipment UE;
向所述 UE发送小区增加命令消息,所述小区增加命令消息包含新增小区 的物理小区标识 PCI和频率、以及所述新增小区所属的第二站点的安全算法标 识符, 以便于所述 UE基于所述新增小区的 PCI和频率、 以及所述第二站点的 安全算法标识符指示的安全算法生成安全密钥, 其中, 所述新增小区是所述第 一站点基于所述第一测量报告消息确定为所述 UE新增的服务小区。 Sending a cell addition command message to the UE, where the cell addition command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second station to which the new cell belongs, to facilitate the UE Generating a security key based on a PCI and a frequency of the newly added cell and a security algorithm indicated by a security algorithm identifier of the second site, where the newly added cell is the first site based on the first measurement The report message is determined to be a new serving cell of the UE.
11、 根据权利要求 10所述的方法, 其特征在于, 11. The method of claim 10, wherein
在向所述 UE发送小区增加命令消息之前, 还包括: Before sending the cell addition command message to the UE, the method further includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是,则根据所述新增小区的 PCI和频率、以及所述第一站点当前的下跳 NH参数值, 生成第二中间密钥, If yes, generating a second intermediate key according to the PCI and frequency of the newly added cell and the current down-going NH parameter value of the first station,
若否, 则根据所述新增小区的 PCI和频率、 以及所述 UE当前进行数据安 全传输使用的第一中间密钥生成第二中间密钥; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell and the first intermediate key used by the UE for data security transmission;
向所述第二站点发送小区增加请求消息,所述小区增加请求消息中携带所 述生成的第二中间密钥;
接收所述第二站点返回的小区增加请求确认消息。 Sending a cell addition request message to the second station, where the cell addition request message carries the generated second intermediate key; Receiving a cell increase request acknowledgement message returned by the second station.
12、 根据权利要求 11所述的方法, 其特征在于, 12. The method of claim 11 wherein:
在向所述 UE发送小区增加命令消息之前, 还包括: Before sending the cell addition command message to the UE, the method further includes:
接收所述第二站点发送的所述第二站点的安全算法标识符; Receiving a security algorithm identifier of the second site sent by the second station;
基于所述第二站点的安全算法标识符指示的安全算法、和所述第二中间密 钥生成新的安全密钥, 以便利用所述新的安全密钥与所述 UE进行数据安全传 输。 Generating a new security key based on the security algorithm indicated by the security algorithm identifier of the second site and the second intermediate key to securely transmit data with the UE using the new security key.
13、 根据权利要求 11或 12所述的方法, 其特征在于, 13. Method according to claim 11 or 12, characterized in that
所述小区增加命令消息还包含传输暂停时间; The cell increase command message further includes a transmission pause time;
在所述向 UE发送小区增加命令消息之后, 还包括: After the sending the cell addition command message to the UE, the method further includes:
在所述传输暂停时间指示的时间段内暂停与所述 UE进行数据安全传输。 The data secure transmission with the UE is suspended during the period indicated by the transmission pause time.
14、 根据权利要求 11或 12所述的方法, 其特征在于, 14. Method according to claim 11 or 12, characterized in that
在所述向 UE发送小区增加命令消息之后, 还包括: After the sending the cell addition command message to the UE, the method further includes:
接收 UE发送的第二测量报告消息; Receiving a second measurement report message sent by the UE;
向所述第二站点发送切换指示消息,所述切换指示消息中携带第二目标小 区的 PCI和频率,以便所述第二站点基于所述第二目标小区的 PCI和频率生成 第四中间密钥, 其中, 所述第二目标小区是所述第一站点基于所述第二测量报 告消息决定将所述 UE切换到的小区; Sending a handover indication message to the second station, where the handover indication message carries a PCI and a frequency of the second target cell, so that the second station generates a fourth intermediate key based on the PCI and the frequency of the second target cell. The second target cell is a cell that the first station decides to switch the UE to based on the second measurement report message;
接收所述第二站点发送的切换指示反馈消息,所述切换指示反馈消息中携 带所述第二站点基于所述第二目标小区的 PCI和频率生成的第四中间密钥; 基于第一目标小区的 PCI和频率生成第三中间密钥,其中,所述第一目标 小区是所述第一站点基于所述第二测量报告消息决定将所述 UE切换到的小 区; And receiving, by the second station, a handover indication feedback message, where the handover indication feedback message carries a fourth intermediate key generated by the second station based on a PCI and a frequency of the second target cell; The PCI and the frequency generate a third intermediate key, wherein the first target cell is a cell that the first station decides to switch the UE to based on the second measurement report message;
将所述第三中间密钥和第四中间密钥分别发送给第一目标站点和第二目 标站点,以便所述第一目标站点根据所述第三中间密钥及所述第一目标站点使 用的安全算法生成第一安全密钥、所述第二目标站点根据所述第四中间密钥及
所述第二目标站点使用的安全算法生成第二安全密钥,其中, 所述第一目标站 点和所述第二目标站点是所述第一站点基于所述测量报告消息决定将所述 UE 切换到的站点; Transmitting the third intermediate key and the fourth intermediate key to the first target site and the second target site, respectively, so that the first target site is used according to the third intermediate key and the first target site The security algorithm generates a first security key, and the second target site is based on the fourth intermediate key and The security algorithm used by the second target site generates a second security key, where the first target site and the second target site are that the first site decides to switch the UE based on the measurement report message To the site;
获取所述第一目标站点和所述第二目标站点的安全算法标识符; Obtaining a security algorithm identifier of the first target site and the second target site;
向所述 UE发送切换命令消息,所述切换命令消息包含所述第一目标小区 的 PCI和频率、所述第二目标小区的 PCI和频率、以及与所述第一目标小区的 PCI和频率相关联的第一中间密钥和所述第一目标站点的安全算法标识符, 与 所述第二目标小区的 PCI和频率相关联的第二中间密钥和所述第二目标站点 的安全算法标识符, 以便于所述 UE依据所述切换命令消息的指示, 基于所述 第一目标小区的 PCI和频率、所述第一中间密钥,以及所述第一目标站点的安 全算法标识符指示的安全算法生成用于与所述第一目标站点进行数据安全传 输的第一安全密钥、基于所述第二目标小区的 PCI和频率、所述第二中间密钥, 以及所述第二目标站点的安全算法标识符指示的安全算法生成用于与所述第 二目标站点进行数据安全传输的第二安全密钥。 Sending a handover command message to the UE, where the handover command message includes a PCI and a frequency of the first target cell, a PCI and a frequency of the second target cell, and a PCI and a frequency related to the first target cell a first intermediate key and a security algorithm identifier of the first target site, a second intermediate key associated with a PCI and a frequency of the second target cell, and a security algorithm identifier of the second target site So that the UE is based on the indication of the handover command message, based on the PCI and frequency of the first target cell, the first intermediate key, and the security algorithm identifier of the first target station. a security algorithm generates a first security key for secure transmission of data with the first target site, a PCI and frequency based on the second target cell, the second intermediate key, and the second target site The security algorithm indicated by the security algorithm identifier generates a second security key for secure transmission of data with the second target site.
15、 根据权利要求 11或 12所述的方法, 其特征在于, 15. A method according to claim 11 or 12, characterized in that
在所述向 UE发送小区增加命令消息之后, 还包括: After the sending the cell addition command message to the UE, the method further includes:
接收 UE发送的第二测量报告消息; Receiving a second measurement report message sent by the UE;
向所述第二站点发送切换指示消息,指示所述第二站点反馈所述第二站点 当前进行数据安全传输使用的第二中间密钥; Sending a handover indication message to the second station, instructing the second station to feed back a second intermediate key used by the second station for data security transmission;
接收所述第二站点发送的切换指示反馈消息,所述切换指示反馈消息中包 含所述第二中间密钥; Receiving a handover indication feedback message sent by the second station, where the handover indication feedback message includes the second intermediate key;
基于第一目标小区的 PCI和频率, 以及第一中间密钥生成第三中间密钥, 基于第二目标小区的 PCI和频率, 以及所述第二中间密钥生成第四中间密钥, 其中,所述第一目标小区和所述第二目标小区是所述第一站点基于所述第二测 量报告消息决定将所述 UE切换到的小区; Generating a third intermediate key based on the PCI and frequency of the first target cell, and the first intermediate key, generating a fourth intermediate key based on the PCI and frequency of the second target cell, and the second intermediate key, where The first target cell and the second target cell are cells that the first station decides to switch the UE to based on the second measurement report message;
将所述第三中间密钥和第四中间密钥分别发送给第一目标站点和第二目
标站点,以便所述第一目标站点根据所述第三中间密钥及所述第一目标站点使 用的安全算法生成第一安全密钥、所述第二目标站点根据所述第四中间密钥及 所述第二目标站点使用的安全算法生成第二安全密钥,其中, 所述第一目标站 点和所述第二目标站点是所述第一站点基于所述测量报告消息决定将所述 UE 切换到的站点; Transmitting the third intermediate key and the fourth intermediate key to the first target site and the second mesh respectively Marking a site, so that the first target site generates a first security key according to the third intermediate key and a security algorithm used by the first target site, and the second target site is according to the fourth intermediate key And the security algorithm used by the second target site generates a second security key, where the first target station and the second target station are the first station, determining, according to the measurement report message, the UE Switch to the site;
获取所述第一目标站点和所述第二目标站点的安全算法标识符; 向所述 UE发送切换命令消息,所述切换命令消息包含所述第一目标小区 的 PCI和频率、所述第二目标小区的 PCI和频率、以及与所述第一目标小区的 PCI 和频率相关联的所述第一中间密钥和所述第一目标站点的安全算法标识 符,与所述第二目标小区的 PCI和频率相关联的所述第二中间密钥和所述第二 目标站点的安全算法标识符, 以便于所述 UE依据所述切换命令消息的指示, 基于所述第一目标小区的 PCI和频率、所述第一中间密钥, 以及所述第一目标 站点的安全算法标识符指示的安全算法生成用于与所述第一目标站点进行数 据安全传输的第一安全密钥、基于所述第二目标小区的 PCI和频率、所述第二 中间密钥,以及所述第二目标站点的安全算法标识符指示的安全算法生成用于 与所述第二目标站点进行数据安全传输的第二安全密钥。 Obtaining a security algorithm identifier of the first target station and the second target station; sending a handover command message to the UE, where the handover command message includes a PCI and a frequency of the first target cell, and the second a PCI and a frequency of the target cell, and the first intermediate key associated with the PCI and frequency of the first target cell and a security algorithm identifier of the first target site, and the second target cell And the second intermediate key associated with the frequency and the security algorithm identifier of the second target station, so that the UE is based on the PCI of the first target cell according to the indication of the handover command message a frequency, the first intermediate key, and a security algorithm indicated by a security algorithm identifier of the first target site generating a first security key for secure transmission of data with the first target site, based on the a PCI and frequency of the second target cell, the second intermediate key, and a security algorithm indicated by the security algorithm identifier of the second target site are generated for use with the second Site security standard for data transmission to the second security key.
16、 根据权利要求 12所述的方法, 其特征在于, 16. The method of claim 12, wherein
在所述向 UE发送小区增加命令消息之后, 还包括: After the sending the cell addition command message to the UE, the method further includes:
接收 UE发送的第二测量报告消息; Receiving a second measurement report message sent by the UE;
基于目标小区的 PCI和频率生成第三中间密钥,其中,所述目标小区为所 述第一站点基于所述第二测量报告消息决定将所述 UE切换到的小区; Generating a third intermediate key based on the PCI and the frequency of the target cell, where the target cell is a cell that the first station decides to switch the UE to based on the second measurement report message;
向目标站点发送切换请求消息,所述切换请求消息中携带所述第三中间密 钥, 以便所述目标站点基于所述第三中间密钥生成第一安全密钥, 其中, 所述 目标站点是所述第一站点基于所述第二测量报告消息决定将所述 UE切换到的 站点; Sending a handover request message to the target station, where the handover request message carries the third intermediate key, so that the target station generates a first security key based on the third intermediate key, where the target site is Determining, by the first station, a site to which the UE is handed over based on the second measurement report message;
接收所述目标站点返回的切换请求确认消息,所述切换请求确认消息中携
带有所述目标站点确定的用于生成所述第一安全密钥的目标小区的 PCI和频 率, 以及安全算法的安全算法标识符; Receiving a handover request acknowledgement message returned by the target station, where the handover request acknowledgement message carries a PCI and a frequency of the target cell for generating the first security key determined by the target station, and a security algorithm identifier of the security algorithm;
向所述 UE发送切换命令消息,所述切换命令消息包含所述目标站点确定 的用于生成所述第一安全密钥的目标小区的 PCI和频率,以及与所述目标小区 的 PCI和频率相关联的第一中间密钥及安全算法标识符,以便于所述 UE依据 所述切换命令消息的指示,基于所述目标小区的 PCI和频率、所述第一中间密 钥、以及所述安全算法标识符指示的安全算法生成用于与所述目标站点进行数 据安全传输的第一安全密钥。 Transmitting, to the UE, a handover command message, where the handover command message includes a PCI and a frequency of a target cell that is used by the target station to generate the first security key, and is related to a PCI and a frequency of the target cell. a first intermediate key and a security algorithm identifier, so that the UE is based on the PCI and frequency of the target cell, the first intermediate key, and the security algorithm according to the indication of the handover command message The security algorithm indicated by the identifier generates a first security key for secure transmission of data with the target site.
17、 根据权利要求 16所述的方法, 其特征在于, 17. The method of claim 16 wherein:
所述目标节点具体为第一目标节点和第二目标节点; The target node is specifically a first target node and a second target node;
所述向目标站点发送切换请求消息包括: The sending the handover request message to the target site includes:
向第一目标站点发送切换请求消息; Sending a handover request message to the first target station;
所述接收所述目标站点返回的切换请求确认消息包括: The receiving the handover request acknowledgement message returned by the target site includes:
接收第一目标站点返回的切换请求确认消息; Receiving a handover request acknowledgement message returned by the first target station;
所述切换请求确认消息中携带的所述目标站点确定的用于生成所述第一 安全密钥的目标小区的 PCI和频率,以及安全算法的安全算法标识符通过如下 方式确定: The PCI and frequency of the target cell for generating the first security key determined by the target station carried in the handover request acknowledgement message, and the security algorithm identifier of the security algorithm are determined by:
所述第一目标站点接收到切换请求消息后,确定用于生成所述第一安全密 钥的目标小区的 PCI和频率, 以及安全算法; After receiving the handover request message, the first target station determines a PCI and a frequency of a target cell used to generate the first security key, and a security algorithm;
向所述第二目标站点发送切换指示消息,所述切换指示消息包含与所述确 定的用于生成所述第一安全密钥的目标小区的 PCI和频率相关联的第三中间 密钥, 以及所述安全算法的安全算法标识符, 以便所述第二目标站点基于所述 第三中间密钥及所述安全算法标识符指示的安全算法生成第一安全密钥; 所述第二目标站点向所述第一目标站点返回切换指示确认消息,向所述第 一目标站点确认切换。 Transmitting, to the second target station, a handover indication message, the handover indication message including a third intermediate key associated with the determined PCI and frequency of the target cell for generating the first security key, and a security algorithm identifier of the security algorithm, such that the second target site generates a first security key based on the third intermediate key and a security algorithm indicated by the security algorithm identifier; The first target station returns a handover indication acknowledgement message, and confirms the handover to the first target site.
18、 一种多站点下的数据安全传输方法, 其特征在于, 包括:
用户设备 UE 向第一站点发送第一测量报告消息, 所述第一站点为所述 UE的当前月良务站点; 18. A method for secure transmission of data under a multi-site, comprising: The user equipment UE sends a first measurement report message to the first station, where the first station is a current monthly service station of the UE;
接收所述第一站点返回的小区增加命令消息,所述小区增加命令消息包含 新增小区的物理小区标识 PCI和频率,其中,所述新增小区为第二站点覆盖范 围内的小区,是所述第一站点基于所述第一测量报告消息确定为所述 UE新增 的服务小区; Receiving, by the first station, a cell addition command message, where the cell addition command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is a cell in the coverage of the second station, Determining, by the first station, that the UE is a new serving cell according to the first measurement report message;
基于所述新增小区的 PCI和频率、及所述第一站点使用的安全算法,生成 安全密钥; Generating a security key based on the PCI and frequency of the newly added cell and a security algorithm used by the first station;
利用所述安全密钥与所述第二站点进行数据安全传输。 Securely transmitting data to the second site using the security key.
19、 根据权利要求 18所述的方法, 其特征在于, 19. The method of claim 18, wherein
所述生成安全密钥包括: The generating a security key includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述新增小区的 PCI和频率, 以及所述 UE当前的下跳 NH 参数值, 生成第二中间密钥, If yes, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the current down-hop NH parameter value of the UE,
若否, 则根据所述新增小区的 PCI和频率, 以及所述 UE当前进行数据安 全传输使用的第一中间密钥生成第二中间密钥; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission;
利用所述第一站点使用的安全算法和所述生成的第二中间密钥生成安全 密钥。 A security key is generated using the security algorithm used by the first site and the generated second intermediate key.
20、 根据权利要求 18或 19所述的方法, 其特征在于, 20. A method according to claim 18 or 19, characterized in that
在所述生成安全密钥的之后, 还包括: After the generating the security key, the method further includes:
利用所述安全密钥与所述第一站点进行数据安全传输。 Securely transmitting data to the first site using the security key.
21、 根据权利要求 18或 19所述的方法, 其特征在于, 21. A method according to claim 18 or 19, characterized in that
所述小区增加命令消息还包含传输暂停时间; The cell increase command message further includes a transmission pause time;
在所述接收所述第一站点返回的小区增加命令消息之后, 还包括: 在所述传输暂停时间指示的时间段内暂停与所述第一站点进行数据安全 传输。
After the receiving the cell addition command message returned by the first station, the method further includes: suspending data security transmission with the first station within a time period indicated by the transmission suspension time.
22、 根据权利要求 18或 19所述的方法, 其特征在于, 22. A method according to claim 18 or 19, characterized in that
在所述接收所述第一站点返回的小区增加命令消息之后, 还包括: 在成功获取所述新增小区的上行同步后,暂停与所述第一站点进行数据安 全传输。 After the receiving the cell addition command message returned by the first station, the method further includes: suspending data security transmission with the first station after successfully acquiring the uplink synchronization of the new cell.
23、 一种多站点下的数据安全传输方法, 其特征在于, 包括: A data security transmission method under a multi-site, characterized in that:
第一站点接收用户设备 UE发送的第一测量报告消息; Receiving, by the first station, a first measurement report message sent by the user equipment UE;
向所述 UE发送小区增加命令消息,所述小区增加命令消息包含新增小区 的 PCI和频率, 以便于所述 UE基于所述新增小区的 PCI和频率, 以及所述第 一站点使用的安全算法生成安全密钥, 其中, 所述新增小区是所述第一站点基 于所述第一测量报告消息确定为所述 UE新增的服务小区。 Sending a cell addition command message to the UE, where the cell addition command message includes a PCI and a frequency of the newly added cell, so that the UE is based on the PCI and frequency of the newly added cell, and the security used by the first station. The algorithm generates a security key, where the newly added cell is determined by the first station to be a new serving cell of the UE based on the first measurement report message.
24、 根据权利要求 23所述的方法, 其特征在于, 24. The method of claim 23, wherein
在向所述 UE发送小区增加命令消息之前, 还包括: Before sending the cell addition command message to the UE, the method further includes:
判断本地维护的下跳链计数器 NCC的计数值是否溢出, Determine whether the count value of the NCC of the local maintenance of the next hop chain counter overflows.
若是, 则根据所述新增小区的 PCI和频率, 以及所述第一站点当前的 NH 参数值, 生成第二中间密钥, If yes, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the current NH parameter value of the first station,
若否, 则根据所述新增小区的 PCI和频率, 以及所述 UE当前进行数据安 全传输使用的第一中间密钥生成第二中间密钥; If not, generating a second intermediate key according to the PCI and frequency of the newly added cell, and the first intermediate key used by the UE for data security transmission;
向所述新增小区所属的第二站点发送小区增加请求消息,所述小区增加请 求消息中携带所述生成的第二中间密钥; Sending a cell addition request message to the second station to which the new cell belongs, where the cell addition request message carries the generated second intermediate key;
接收所述第二站点返回的小区增加请求确认消息。 Receiving a cell increase request acknowledgement message returned by the second station.
25、 根据权利要求 24所述的方法, 其特征在于, 25. The method of claim 24, wherein
所述小区增加请求消息中还携带所述第一站点的安全算法标识符。 The cell addition request message further carries a security algorithm identifier of the first site.
26、 根据权利要求 24或 25所述的方法, 其特征在于, 26. A method according to claim 24 or 25, characterized in that
在向所述 UE发送小区增加命令消息之前, 还包括: Before sending the cell addition command message to the UE, the method further includes:
基于所述第一站点使用的安全算法,和所述第二中间密钥生成新的安全密 钥, 以便与所述 UE通过所述新的安全密钥进行数据安全传输。
Generating a new security key based on the security algorithm used by the first site and the second intermediate key to perform data secure transmission with the UE through the new security key.
27、 根据权利要求 23至 25任一项所述的方法, 其特征在于, 所述小区增加命令消息还包含传输暂停时间; The method according to any one of claims 23 to 25, wherein the cell addition command message further includes a transmission pause time;
在所述向 UE发送小区增加命令消息之后, 还包括: After the sending the cell addition command message to the UE, the method further includes:
在所述传输暂停时间指示的时间段内暂停与所述 UE进行数据安全传输。 The data secure transmission with the UE is suspended during the period indicated by the transmission pause time.
28、 一种用户设备, 其特征在于, 包括: 28. A user equipment, comprising:
发送单元, 用于向第一站点发送第一测量报告消息, 所述第一站点为所述 用户设备的当前服务站点; a sending unit, configured to send a first measurement report message to the first station, where the first site is a current serving site of the user equipment;
接收单元, 用于接收所述第一站点返回的小区增加命令消息, 所述小区增 加命令消息包含新增小区的物理小区标识 pci和频率、以及所述新增小区所属 的第二站点的安全算法标识符, 其中, 所述新增小区是所述第一站点基于所述 第一测量报告消息确定为所述用户设备新增的服务小区; a receiving unit, configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier pci and a frequency of the newly added cell, and a security algorithm of the second site to which the newly added cell belongs An identifier, where the newly added cell is a serving cell that is determined by the first station to be added to the user equipment based on the first measurement report message;
生成单元,用于基于所述新增小区的 PCI和频率、及所述安全算法标识符 指示的安全算法, 生成安全密钥; a generating unit, configured to generate a security key based on a PCI and a frequency of the newly added cell and a security algorithm indicated by the security algorithm identifier;
传输单元,用于利用所述生成单元生成的安全密钥与所述第二站点进行数 据安全传输。 And a transmission unit, configured to perform data security transmission with the second station by using a security key generated by the generating unit.
29、 根据权利要求 28所述的用户设备, 其特征在于, 29. The user equipment of claim 28, wherein
所述生成单元包括: The generating unit includes:
判断单元, 用于判断本地维护的下跳链计数器 NCC的计数值是否溢出; 第一生成单元, 用于当所述判断单元的判断结果为是时,根据所述新增小 区的 PCI和频率、 以及所述用户设备当前的 NH参数值, 生成第二中间密钥; 当所述判断单元的判断结果为否时,根据所述新增小区的 PCI和频率、以及所 述用户设备当前进行数据安全传输使用的第一中间密钥生成第二中间密钥; 第二生成单元, 用于利用所述安全算法标识符指示的安全算法、及所述第 一生成单元生成的第二中间密钥生成安全密钥。 a judging unit, configured to determine whether the count value of the locally maintained down hopping chain counter NCC overflows; the first generating unit, configured to: when the determining result of the determining unit is yes, according to the PCI and frequency of the newly added cell, And generating, by the current NH parameter value of the user equipment, a second intermediate key; when the determining result of the determining unit is negative, performing data security according to the PCI and frequency of the newly added cell, and the user equipment And generating, by the first intermediate key used by the transmission, a second intermediate key; the second generating unit, configured to generate security by using a security algorithm indicated by the security algorithm identifier and a second intermediate key generated by the first generating unit Key.
30、 根据权利要求 28或 29所述的用户设备, 其特征在于, 30. The user equipment according to claim 28 or 29, characterized in that
所述传输单元还用于利用所述生成单元生成的安全密钥与所述第一站点
进行数据安全传输。 The transmission unit is further configured to use the security key generated by the generating unit and the first site Secure data transmission.
31、 根据权利要求 28或 29所述的用户设备, 其特征在于, The user equipment according to claim 28 or 29, characterized in that
所述发送单元还用于向所述第一站点发送第二测量报告消息; The sending unit is further configured to send a second measurement report message to the first station;
所述接收单元还用于接收所述第一站点发送的切换命令消息,所述切换命 令消息包含第一目标小区的 PCI和频率、第二目标小区的 PCI和频率、与所述 第一目标小区的 PCI和频率相关联的第一中间密钥和所述第一目标站点的安 全算法标识符、与所述第二目标小区的 PCI和频率相关联的第二中间密钥和所 述第二目标站点的安全算法标识符, 其中, 所述第一目标小区和所述第二目标 小区是所述第一站点基于所述第二测量报告消息决定将所述用户设备切换到 的小区,所述第一目标站点和所述第二目标站点是所述第一站点基于所述第二 测量报告消息决定将所述用户设备切换到的站点; The receiving unit is further configured to receive a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of the first target cell, a PCI and a frequency of the second target cell, and the first target cell. PCI and frequency associated first intermediate key and security algorithm identifier of the first target site, second intermediate key associated with PCI and frequency of the second target cell, and the second target a security algorithm identifier of the station, where the first target cell and the second target cell are cells that the first station decides to switch the user equipment to based on the second measurement report message, where a target site and the second target site are sites at which the first site decides to switch the user equipment based on the second measurement report message;
所述生成单元还用于依据所述切换命令消息的指示,基于所述第一目标小 区的 PCI和频率、所述第一中间密钥、 以及所述第一目标站点的安全算法标识 符指示的安全算法生成第一安全密钥, 基于所述第二目标小区的 PCI和频率、 所述第二中间密钥、以及所述第二目标站点的安全算法标识符指示的安全算法 生成第二安全密钥; The generating unit is further configured to indicate, according to the indication of the handover command message, based on a PCI and a frequency of the first target cell, the first intermediate key, and a security algorithm identifier of the first target station. The security algorithm generates a first security key, and generates a second security secret based on the PCI and frequency of the second target cell, the second intermediate key, and a security algorithm indicated by the security algorithm identifier of the second target site. Key
所述传输单元还用于利用所述第一安全密钥与所述第一目标站点进行数 据安全传输; 利用所述第二安全密钥与所述第二目标站点进行数据安全传输。 The transmission unit is further configured to perform data security transmission with the first target station by using the first security key; and perform data security transmission with the second target site by using the second security key.
32、 根据权利要求 30所述的用户设备, 且特征在于, 32. The user equipment of claim 30, and wherein
所述发送单元还用于向所述第一站点发送第二测量报告消息; The sending unit is further configured to send a second measurement report message to the first station;
所述接收单元还用于接收所述第一站点发送的切换命令消息,所述切换命 令消息包含目标站点生成第一安全密钥时使用的目标小区的 PCI和频率、以及 与所述目标小区的 PCI和频率相关联的第一中间密钥及安全算法标识符, 其 中,所述目标站点为所述第一站点基于所述第二测量报告消息决定将所述用户 设备切换到的站点; The receiving unit is further configured to receive a handover command message sent by the first station, where the handover command message includes a PCI and a frequency of a target cell used by a target station to generate a first security key, and a target cell a first intermediate key and a security algorithm identifier associated with the PCI and the frequency, wherein the target site is a site at which the first station decides to switch the user equipment based on the second measurement report message;
所述生成单元还用于依据所述切换命令消息的指示,基于所述切换命令消
息中的所述 PCI和频率、所述第一中间密钥、及所述安全算法标识符指示的安 全算法生成第一安全密钥; The generating unit is further configured to perform, according to the indication of the handover command message, based on the handover command The PCI and the frequency, the first intermediate key, and the security algorithm indicated by the security algorithm identifier generate a first security key;
所述传输单元还用于利用所述第一安全密钥与所述目标站点进行数据安 全传输。 The transmission unit is further configured to perform data security transmission with the target site by using the first security key.
33、 一种网络站点, 其特征在于, 包括: 33. A network site, comprising:
接收单元, 用于接收用户设备 UE发送的第一测量报告消息; a receiving unit, configured to receive a first measurement report message sent by the user equipment UE;
发送单元, 用于向所述 UE发送小区增加命令消息, 所述小区增加命令消 息包含新增小区的物理小区标识 PCI和频率、以及所述新增小区所属的第二站 点的安全算法标识符, 以便于所述 UE基于所述新增小区的 PCI和频率、 以及 所述第二站点的安全算法标识符指示的安全算法生成安全密钥, 其中,所述新 增小区是所述第一站点基于所述第一测量报告消息确定为所述 UE新增的服务 小区。 a sending unit, configured to send a cell addition command message to the UE, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, and a security algorithm identifier of the second site to which the newly added cell belongs, So that the UE generates a security key based on the PCI and frequency of the newly added cell and the security algorithm indicated by the security algorithm identifier of the second site, where the newly added cell is based on the first site. The first measurement report message is determined to be a new serving cell of the UE.
34、 根据权利要求 33所述的网络站点, 其特征在于, 还包括: The network site according to claim 33, further comprising:
判断单元, 用于判断本地维护的下跳链计数器 NCC的计数值是否溢出; 生成单元, 用于当所述判断单元的判断结果为是时,根据所述新增小区的 a determining unit, configured to determine whether the count value of the local hop chain counter NCC is overflowed, and a generating unit, configured to: when the determining result of the determining unit is yes, according to the newly added cell
PCI和频率、 以及所述网络站点当前的 NH参数值, 生成第二中间密钥; 当所 述判断单元的判断结果为否时, 根据所述新增小区的 PCI和频率、 以及所述 UE当前进行数据安全传输使用的第一中间密钥生成第二中间密钥; a PCI and a frequency, and a current NH parameter value of the network site, generating a second intermediate key; when the determining result of the determining unit is no, according to the PCI and frequency of the newly added cell, and the current Generating a second intermediate key by using a first intermediate key used for data secure transmission;
所述发送单元,还用于向所述第二站点发送小区增加请求消息, 所述小区 增加请求消息中携带所述生成单元生成的第二中间密钥; The sending unit is further configured to send a cell addition request message to the second station, where the cell increase request message carries a second intermediate key generated by the generating unit;
所述接收单元, 还用于接收所述第二站点返回的小区增加请求确认消息。 The receiving unit is further configured to receive a cell addition request acknowledgement message returned by the second station.
35、 根据权利要求 34所述的网络站点, 其特征在于, 35. The network site of claim 34, wherein:
所述接收单元还用于接收所述第二站点发送的所述第二站点的安全算法 标识符; The receiving unit is further configured to receive a security algorithm identifier of the second site sent by the second station;
所述生成单元还用于基于所述第二站点的安全算法标识符指示的安全算 法、和所述第二中间密钥生成新的安全密钥, 以便利用所述新的安全密钥与所
述 UE进行数据安全传输。 The generating unit is further configured to generate a new security key based on a security algorithm indicated by the security algorithm identifier of the second site, and the second intermediate key, so as to utilize the new security key and the security key The UE performs data security transmission.
36、 根据权利要求 34或 35所述的网络站点, 其特征在于, 36. A network station according to claim 34 or 35, characterized in that
所述接收单元还用于接收 UE发送的第二测量报告消息; The receiving unit is further configured to receive a second measurement report message sent by the UE.
所述发送单元还用于向所述第二站点发送切换指示消息,所述切换指示消 息中携带第二目标小区的 PCI和频率,以便所述第二站点基于所述第二目标小 区的 PCI和频率生成第四中间密钥,其中,所述第二目标小区是所述网络站点 基于所述第二测量报告消息决定将所述 UE切换到的小区; The sending unit is further configured to send a handover indication message to the second station, where the handover indication message carries a PCI and a frequency of the second target cell, so that the second site is based on the PCI of the second target cell. The frequency generates a fourth intermediate key, where the second target cell is a cell that the network station decides to switch the UE to based on the second measurement report message;
所述接收单元还用于接收所述第二站点发送的切换指示反馈消息,所述切 换指示反馈消息中携带所述第二站点基于所述第二目标小区的 PCI和频率生 成的第四中间密钥; The receiving unit is further configured to receive a handover indication feedback message sent by the second station, where the handover indication feedback message carries a fourth intermediate density generated by the second station based on a PCI and a frequency of the second target cell. Key
所述生成单元还用于基于第一目标小区的 PCI和频率生成第三中间密钥, 其中,所述第一目标小区是所述网络站点基于所述第二测量报告消息决定将所 述 UE切换到的小区; The generating unit is further configured to generate a third intermediate key based on a PCI and a frequency of the first target cell, where the first target cell is that the network station decides to switch the UE according to the second measurement report message To the community;
所述发送单元还用于将所述第三中间密钥和第四中间密钥分别发送给第 一目标站点和第二目标站点,以便所述第一目标站点根据所述第三中间密钥及 所述第一目标站点使用的安全算法生成第一安全密钥、所述第二目标站点根据 所述第四中间密钥及所述第二目标站点使用的安全算法生成第二安全密钥,其 中,所述第一目标站点和所述第二目标站点是所述网络站点基于所述第二测量 报告消息决定将所述 UE切换到的站点; The sending unit is further configured to send the third intermediate key and the fourth intermediate key to the first target site and the second target site, respectively, so that the first target site is according to the third intermediate key and The security algorithm used by the first target site generates a first security key, and the second target site generates a second security key according to the fourth intermediate key and a security algorithm used by the second target site, where The first target station and the second target station are stations that the network station decides to switch the UE to based on the second measurement report message;
所述网络站点还包括获取单元,用于获取所述第一目标站点和所述第二目 标站点的安全算法标识符; 含所述第一目标小区的 PCI和频率、所述第二目标小区的 PCI和频率、以及与 所述第一目标小区的 PCI和频率相关联的第一中间密钥和所述第一目标站点 的安全算法标识符,与所述第二目标小区的 PCI和频率相关联的第二中间密钥 和所述第二目标站点的安全算法标识符, 以便于所述 UE依据所述切换命令消
息的指示, 基于所述第一目标小区的 PCI和频率、 所述第一中间密钥, 以及所 述第一目标站点的安全算法标识符指示的安全算法生成用于与所述第一目标 站点进行数据安全传输的第一安全密钥、 基于所述第二目标小区的 PCI和频 率、所述第二中间密钥, 以及所述第二目标站点的安全算法标识符指示的安全 算法生成用于与所述第二目标站点进行数据安全传输的第二安全密钥。 The network site further includes an obtaining unit, configured to acquire a security algorithm identifier of the first target station and the second target station, including a PCI and a frequency of the first target cell, and a second target cell a PCI and frequency, and a first intermediate key associated with the PCI and frequency of the first target cell and a security algorithm identifier of the first target site, associated with PCI and frequency of the second target cell a second intermediate key and a security algorithm identifier of the second target site, so that the UE cancels according to the handover command An indication of a security algorithm based on the PCI and frequency of the first target cell, the first intermediate key, and the security algorithm identifier of the first target site is generated for use with the first target site a first security key for data secure transmission, a PCI and frequency based on the second target cell, the second intermediate key, and a security algorithm identifier indicated by the second target site's security algorithm identifier are generated for A second security key for secure transmission of data with the second target site.
37、 根据权利要求 34或 35所述的网络站点, 其特征在于, 37. A network station according to claim 34 or 35, characterized in that
所述接收单元还用于接收 UE发送的第二测量报告消息; The receiving unit is further configured to receive a second measurement report message sent by the UE.
所述发送单元还用于向所述第二站点发送切换指示消息,指示所述第二站 点反馈所述第二站点当前进行数据安全传输使用的第二中间密钥; The sending unit is further configured to send a handover indication message to the second station, to instruct the second site to feed back a second intermediate key used by the second site for data security transmission;
所述接收单元还用于接收所述第二站点发送的切换指示反馈消息,所述切 换指示反馈消息中包含所述第二中间密钥; The receiving unit is further configured to receive a handover indication feedback message sent by the second station, where the handover indication feedback message includes the second intermediate key;
所述生成单元还用于基于第一目标小区的 PCI和频率,以及第一中间密钥 生成第三中间密钥,基于第二目标小区的 PCI和频率, 以及所述第二中间密钥 生成第四中间密钥, 其中, 所述第一目标小区和所述第二目标小区是所述第一 站点基于所述第二测量报告消息决定将所述 UE切换到的小区; The generating unit is further configured to generate a third intermediate key based on a PCI and a frequency of the first target cell, and a first intermediate key, based on a PCI and a frequency of the second target cell, and the second intermediate key generation a fourth intermediate key, where the first target cell and the second target cell are cells that the first station decides to switch the UE to based on the second measurement report message;
所述发送单元还用于将所述第三中间密钥和第四中间密钥分别发送给第 一目标站点和第二目标站点,以便所述第一目标站点根据所述第三中间密钥及 所述第一目标站点使用的安全算法生成第一安全密钥、所述第二目标站点根据 所述第四中间密钥及所述第二目标站点使用的安全算法生成第二安全密钥,其 中,所述第一目标站点和所述第二目标站点是所述第一站点基于所述测量报告 消息决定将所述 UE切换到的站点; The sending unit is further configured to send the third intermediate key and the fourth intermediate key to the first target site and the second target site, respectively, so that the first target site is according to the third intermediate key and The security algorithm used by the first target site generates a first security key, and the second target site generates a second security key according to the fourth intermediate key and a security algorithm used by the second target site, where The first target station and the second target station are stations that the first station decides to switch the UE to based on the measurement report message;
所述网络站点还包括获取单元,用于获取所述第一目标站点和所述第二目 标站点的安全算法标识符; 含所述第一目标小区的 PCI和频率、所述第二目标小区的 PCI和频率、以及与 所述第一目标小区的 PCI和频率相关联的所述第一中间密钥和所述第一目标
站点的安全算法标识符,与所述第二目标小区的 PCI和频率相关联的所述第二 中间密钥和所述第二目标站点的安全算法标识符, 以便于所述 UE依据所述切 换命令消息的指示,基于所述第一目标小区的 PCI和频率、所述第一中间密钥, 以及所述第一目标站点的安全算法标识符指示的安全算法生成用于与所述第 一目标站点进行数据安全传输的第一安全密钥、基于所述第二目标小区的 PCI 和频率、所述第二中间密钥, 以及所述第二目标站点的安全算法标识符指示的 安全算法生成用于与所述第二目标站点进行数据安全传输的第二安全密钥。 The network site further includes an obtaining unit, configured to acquire a security algorithm identifier of the first target station and the second target station, including a PCI and a frequency of the first target cell, and a second target cell PCI and frequency, and the first intermediate key and the first target associated with PCI and frequency of the first target cell a security algorithm identifier of the station, the second intermediate key associated with the PCI and frequency of the second target cell, and a security algorithm identifier of the second target site, to facilitate the UE to switch according to the An indication of a command message, based on a PCI and frequency of the first target cell, the first intermediate key, and a security algorithm indicated by a security algorithm identifier of the first target site, generated for use with the first target a first security key for data secure transmission by the station, a PCI and frequency based on the second target cell, the second intermediate key, and a security algorithm identifier indicated by the security algorithm identifier of the second target site And a second security key for data security transmission with the second target site.
38、 根据权利要求 35所述的网络站点, 其特征在于, 38. The network site of claim 35, wherein
所述接收单元还用于接收 UE发送的第二测量报告消息; The receiving unit is further configured to receive a second measurement report message sent by the UE.
所述生成单元还用于基于目标小区的 PCI和频率生成第三中间密钥, 其 中, 所述目标小区为所述网络站点基于所述第二测量 4艮告消息决定将所述 UE 切换到的小区; The generating unit is further configured to generate a third intermediate key based on the PCI and the frequency of the target cell, where the target cell determines, according to the second measurement message, that the network station switches the UE to Community
所述发送单元还用于向目标站点发送切换请求消息,所述切换请求消息中 携带所述第三中间密钥,以便所述目标站点基于所述第三中间密钥生成第一安 全密钥, 其中, 所述目标站点是所述网络站点基于所述第二测量报告消息决定 将所述 UE切换到的站点; The sending unit is further configured to send a handover request message to the target station, where the handover request message carries the third intermediate key, so that the target station generates a first security key based on the third intermediate key, The target site is a site that the network site decides to switch the UE to based on the second measurement report message;
所述接收单元还用于接收所述目标站点返回的切换请求确认消息,所述切 换请求确认消息中携带有所述目标站点确定的用于生成所述第一安全密钥的 目标小区的 PCI和频率, 以及使用的安全算法的安全算法标识符; 含所述目标站点确定的用于生成第一安全密钥的目标小区的 PCI和频率,以及 与所述目标小区的 PCI和频率相关联的第一中间密钥及安全算法标识符,以便 于所述 UE依据所述切换命令消息的指示, 基于所述目标小区的 PCI和频率、 所述第一中间密钥、以及安全算法标识符指示的安全算法生成用于与所述目标 站点进行数据安全传输的第一安全密钥。 The receiving unit is further configured to receive a handover request acknowledgement message returned by the target station, where the handover request acknowledgement message carries a PCI of a target cell that is used by the target site to generate the first security key. a frequency, and a security algorithm identifier of the used security algorithm; a PCI and a frequency of the target cell determined by the target station for generating the first security key, and a number associated with the PCI and frequency of the target cell An intermediate key and a security algorithm identifier, so that the UE is based on the indication of the handover command message, based on the PCI and frequency of the target cell, the first intermediate key, and the security algorithm identifier indication The algorithm generates a first security key for secure transmission of data with the target site.
39、 一种用户设备, 其特征在于, 包括:
发送单元, 用于向第一站点发送第一测量报告消息, 所述第一站点为所述 用户设备的当前服务站点; 39. A user equipment, comprising: a sending unit, configured to send a first measurement report message to the first station, where the first site is a current serving site of the user equipment;
接收单元, 用于接收所述第一站点返回的小区增加命令消息, 所述小区增 加命令消息包含新增小区的物理小区标识 PCI和频率,其中,所述新增小区是 所述第一站点基于所述第一测量报告消息确定为所述用户设备新增的服务小 区; a receiving unit, configured to receive a cell addition command message returned by the first station, where the cell increase command message includes a physical cell identifier PCI and a frequency of the newly added cell, where the newly added cell is based on the first site The first measurement report message is determined to be a service cell added by the user equipment;
生成单元,用于基于所述新增小区的 PCI和频率、及所述第一站点使用的 安全算法, 生成安全密钥; a generating unit, configured to generate a security key based on a PCI and a frequency of the newly added cell, and a security algorithm used by the first site;
传输单元,用于利用所述生成单元生成的安全密钥与所述第二站点进行数 据安全传输。 And a transmission unit, configured to perform data security transmission with the second station by using a security key generated by the generating unit.
40、 根据权利要求 39所述的用户设备, 其特征在于, 40. The user equipment of claim 39, wherein
所述生成单元包括: The generating unit includes:
判断单元, 用于判断本地维护的下跳链计数器 NCC的计数值是否溢出; 第一生成单元, 用于当所述判断单元的判断结果为是时,根据所述新增小 区的 PCI和频率, 以及所述用户设备当前的下跳 NH参数值, 生成第二中间密 钥; 当所述判断单元的判断结果为否时, 才艮据所述新增小区的 PCI和频率, 以 及所述用户设备当前进行数据安全传输使用的第一中间密钥生成第二中间密 钥; a judging unit, configured to determine whether the count value of the locally maintained down link counter NCC overflows; the first generating unit, configured to: when the judgment result of the judging unit is yes, according to the PCI and the frequency of the newly added cell, And generating, by the user equipment, a current intermediate hop NH parameter value, generating a second intermediate key; when the determining result of the determining unit is negative, determining the PCI and frequency of the newly added cell, and the user equipment Generating a second intermediate key by using a first intermediate key used for data security transmission;
第二生成单元, 用于利用所述第一站点使用的安全算法,及所述生成单元 生成的第二中间密钥生成安全密钥。 And a second generating unit, configured to generate a security key by using a security algorithm used by the first site, and a second intermediate key generated by the generating unit.
41、 根据权利要求 39或 40所述的用户设备, 其特征在于, 41. The user equipment according to claim 39 or 40, wherein
所述传输单元还用于利用所述生成单元生成的安全密钥与所述第一站点 进行数据安全传输。 The transmission unit is further configured to perform data security transmission with the first station by using a security key generated by the generating unit.
42、 一种网络站点, 其特征在于, 包括: 42. A network site, comprising:
接收单元, 用于接收用户设备 UE发送的第一测量报告消息; a receiving unit, configured to receive a first measurement report message sent by the user equipment UE;
发送单元, 用于向所述 UE发送小区增加命令消息, 所述小区增加命令消
息包含新增小区的物理小区标识 PCI和频率,以便于所述 UE基于所述新增小 区的 PCI和频率, 以及所述网络站点使用的安全算法生成安全密钥, 其中, 所 述新增小区是所述第一站点基于所述第一测量报告消息确定为所述 UE新增的 服务小区。 a sending unit, configured to send a cell addition command message to the UE, where the cell adds a command cancellation The information includes the physical cell identifier PCI and the frequency of the newly added cell, so that the UE generates a security key based on the PCI and the frequency of the newly added cell, and a security algorithm used by the network site, where the new cell is generated. And determining, by the first station, a serving cell added to the UE according to the first measurement report message.
43、 根据权利要求 42所述的网络节点, 其特征在于, 还包括: The network node according to claim 42, further comprising:
判断单元, 用于判断本地维护的下跳链计数器 NCC的计数值是否溢出; 生成单元, 当所述判断单元的判断结果为是时, 根据所述新增小区的 PCI 和频率, 以及所述网络站点当前的 NH参数值, 生成第二中间密钥; 当所述判 断单元的判断结果为否时, 根据所述新增小区的 PCI和频率, 以及所述 UE当 前进行数据安全传输使用的第一中间密钥生成第二中间密钥; a judging unit, configured to determine whether the count value of the locally maintained lower hop chain counter NCC overflows; generating unit, when the judgment result of the judging unit is yes, according to the PCI and frequency of the newly added cell, and the network a current intermediate parameter of the site, generating a second intermediate key; when the determining result of the determining unit is no, according to the PCI and frequency of the newly added cell, and the first use of the data security transmission currently performed by the UE The intermediate key generates a second intermediate key;
所述发送单元,还用于向所述新增小区所属的第二站点发送小区增加请求 消息, 所述小区增加请求消息中携带所述生成单元生成的第二中间密钥; The sending unit is further configured to send a cell addition request message to the second station to which the new cell belongs, where the cell increase request message carries the second intermediate key generated by the generating unit;
所述接收单元还用于接收所述第二站点返回的小区增加请求确认消息。 The receiving unit is further configured to receive a cell increase request acknowledgement message returned by the second station.
44、 根据权利要求 43所述的网络站点, 其特征在于, 44. The network site of claim 43 wherein:
所述生成单元还用于基于所述网络站点使用的安全算法,和所述第二中间 密钥生成新的安全密钥, 以便利用所述新的安全密钥与所述 UE进行数据安全 传输。 The generating unit is further configured to generate a new security key based on the security algorithm used by the network site, and the second intermediate key, to perform data secure transmission with the UE by using the new security key.
+
+
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110251201.5A CN102958052B (en) | 2011-08-29 | 2011-08-29 | A kind of data safe transmission method and relevant device |
CN201110251201.5 | 2011-08-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013029461A1 true WO2013029461A1 (en) | 2013-03-07 |
Family
ID=47755299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/079801 WO2013029461A1 (en) | 2011-08-29 | 2012-08-08 | Secure data transmission method and associated device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102958052B (en) |
WO (1) | WO2013029461A1 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185177B (en) * | 2013-05-27 | 2019-02-01 | 中兴通讯股份有限公司 | A kind of safety key managing method, device and system |
US10624005B2 (en) * | 2013-08-08 | 2020-04-14 | Nokia Technologies Oy | Method and apparatus for proxy algorithm identity selection |
KR102078866B1 (en) * | 2013-08-09 | 2020-02-19 | 삼성전자주식회사 | SCHEME FOR Security key management for PDCP distribution in dual connectivity |
WO2015027524A1 (en) * | 2013-09-02 | 2015-03-05 | 华为技术有限公司 | Communication method, network side device, and user equipment |
MX363294B (en) * | 2013-12-24 | 2019-03-19 | Nec Corp | Apparatus, system and method for sce. |
CN104936174B (en) * | 2014-03-21 | 2019-04-19 | 上海诺基亚贝尔股份有限公司 | The method of more new key under the dual link situation based on user plane 1A framework |
CN108347410B (en) | 2017-01-24 | 2021-08-31 | 华为技术有限公司 | Safety implementation method, equipment and system |
CN109309920B (en) * | 2017-07-28 | 2021-09-21 | 华为技术有限公司 | Security implementation method, related device and system |
CN112385266B (en) * | 2018-07-09 | 2022-06-14 | 华为技术有限公司 | Communication method, device and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026324A (en) * | 2009-09-18 | 2011-04-20 | 大唐移动通信设备有限公司 | Method, equipment and system for reconfiguring aggregated cell |
CN102056160A (en) * | 2009-11-03 | 2011-05-11 | 华为技术有限公司 | Method, device and system for generating key |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010109488A (en) * | 2008-10-28 | 2010-05-13 | Sharp Corp | Mobile communication system, base station apparatus and mobile station apparatus |
JP2010154399A (en) * | 2008-12-26 | 2010-07-08 | Sharp Corp | Communication system and mobile station device |
-
2011
- 2011-08-29 CN CN201110251201.5A patent/CN102958052B/en not_active Expired - Fee Related
-
2012
- 2012-08-08 WO PCT/CN2012/079801 patent/WO2013029461A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026324A (en) * | 2009-09-18 | 2011-04-20 | 大唐移动通信设备有限公司 | Method, equipment and system for reconfiguring aggregated cell |
CN102056160A (en) * | 2009-11-03 | 2011-05-11 | 华为技术有限公司 | Method, device and system for generating key |
Also Published As
Publication number | Publication date |
---|---|
CN102958052B (en) | 2017-07-14 |
CN102958052A (en) | 2013-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11050727B2 (en) | Security key generation and management method of PDCP distributed structure for supporting dual connectivity | |
US10567957B1 (en) | Dual connectivity mode of operation of a user equipment in a wireless communication network | |
CN110086764B (en) | Method and system for enabling secure communication for inter-ENB transmission | |
WO2013029461A1 (en) | Secure data transmission method and associated device | |
US9049594B2 (en) | Method and device for key generation | |
EP3474584B1 (en) | Method and apparatus to enable multiple wireless connections | |
TWI745415B (en) | Techniques for deriving security keys for a cellular network based on performance of an extensible authentication protocol (eap) procedure | |
CN109417740B (en) | Maintaining security key usage during handover of the same wireless terminal | |
WO2013097672A1 (en) | Inter-base station carrier aggregation security communication method and device | |
US10028307B2 (en) | Configurable access stratum security | |
WO2015062097A1 (en) | Dual connection mode key processing method and device | |
KR102142875B1 (en) | Method for synchronizing encryption information between scell and ue | |
WO2014109968A1 (en) | Secure radio access with inter-enb carrier aggregation | |
KR102416366B1 (en) | Method for configuring and transmitting key | |
WO2012009972A1 (en) | Key distribution method and system for handover | |
WO2014190828A1 (en) | Method, apparatus and system for security key management |
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: 12828184 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12828184 Country of ref document: EP Kind code of ref document: A1 |