[go: up one dir, main page]

CN104883339B - A method, device and system for user privacy protection - Google Patents

A method, device and system for user privacy protection Download PDF

Info

Publication number
CN104883339B
CN104883339B CN201410070160.3A CN201410070160A CN104883339B CN 104883339 B CN104883339 B CN 104883339B CN 201410070160 A CN201410070160 A CN 201410070160A CN 104883339 B CN104883339 B CN 104883339B
Authority
CN
China
Prior art keywords
location server
user
identifier
random value
user identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410070160.3A
Other languages
Chinese (zh)
Other versions
CN104883339A (en
Inventor
何文裕
何承东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410070160.3A priority Critical patent/CN104883339B/en
Priority to PCT/CN2014/080869 priority patent/WO2015127736A1/en
Publication of CN104883339A publication Critical patent/CN104883339A/en
Application granted granted Critical
Publication of CN104883339B publication Critical patent/CN104883339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/42Anonymization, e.g. involving pseudonyms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/75Temporary identity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention discloses a kind of method, apparatus and system of privacy of user protection, is related to communication network application technology, by hiding the true ID of user using random user ID, solves the problems, such as privacy of user exposure, improves the sense of security of user network experience.This method comprises: user equipment (UE) sends login request message to location server by router;The UE receives the random value that the location server is sent by the router;The UE is according to the shared key, the user identifier of the UE, and the identifier of the random value and the location server obtained in advance generates the interim subscriber identity, and the common key is corresponding with the user identifier of the UE.The embodiment of the present invention is applied to hide the true ID of user equipment.

Description

一种用户隐私保护的方法、设备和系统A method, device and system for user privacy protection

技术领域technical field

本发明涉及通信网络应用技术,尤其涉及一种用户隐私保护的方法、设备和系统。The present invention relates to communication network application technology, in particular to a method, device and system for user privacy protection.

背景技术Background technique

随着网络安全越来越被全球所关注,IP(Internet Protocol,因特网协议)地址的安全,以及用户ID的安全得到了广泛的关注,其中,由于长期以来IP地址既是标识符(即主机身份标识),又是定位符(即网络位置标识),这使得传输层与网络层的分离不够彻底。这使得传统TCP/IP网络无法支持主机多宿主场景,即同一主机的多个网卡同时接入网络,切换网卡会导致IP变化、业务中断。With the increasing attention of network security around the world, the security of IP (Internet Protocol, Internet Protocol) addresses and the security of user IDs have received extensive attention. ), which is also a locator (that is, a network location identifier), which makes the separation of the transport layer and the network layer not thorough enough. This makes the traditional TCP/IP network unable to support the host multi-homing scenario, that is, multiple network cards of the same host access the network at the same time, and switching network cards will cause IP changes and service interruptions.

在移动网络中,终端移动时可能引起IP地址重分配,尽管在同一个终端同一个用户使用下,但传输层的四元组(<本地IP,远端IP,本地端口,远端端口>)却发生了变化,这将导致连接中断并重建。若出现一个用户多台设备的场景,要求的业务流量需要在多台设备间无缝切换,而传统的TCP/IP网络却无法支持。In a mobile network, when a terminal moves, it may cause IP address redistribution. Although it is used by the same terminal and the same user, the four-tuple of the transport layer (<local IP, remote IP, local port, remote port>) has changed, which will cause the connection to be broken and re-established. If a user has multiple devices, the required service traffic needs to be seamlessly switched between multiple devices, which cannot be supported by traditional TCP/IP networks.

在现有解决技术中,在用户身份协议UIP(User Identity Protocol)的网络架构中,用户标识符UserID由运营商分配,永久不变;设备标识符DeviceID由设备制造商或运营商分配,一个UserID可以关联多个DeviceID;定位符Locator通常为IP地址,由运营商分配或用户指定,一个DeviceID可以关联多个Locator。但是关于网络安全,攻击者很有可能将根据用户ID跟踪用户的位置信息,其中由于某些国家的用户ID可能采取一定的编码规则,例如不同地区的用户其ID的前缀不一样。因此攻击者可以根据用户ID的前缀猜测其隐私信息,例如地理位置。若攻击者根据用户ID获得其订阅的业务将会得到用户大量的隐私信息,威胁到了用户隐私安全和财产安全。In the prior art, in the network architecture of the User Identity Protocol (UIP), the user identifier UserID is assigned by the operator and remains unchanged; the device identifier DeviceID is assigned by the device manufacturer or operator, and a UserID Multiple DeviceIDs can be associated; the Locator is usually an IP address, which is assigned by the operator or specified by the user, and one DeviceID can be associated with multiple Locators. But with regard to network security, attackers are likely to track the user's location information based on the user ID, which may adopt certain coding rules for user IDs in some countries, such as the prefixes of the IDs of users in different regions. Therefore, an attacker can guess private information such as geographic location based on the prefix of the user ID. If an attacker obtains the services subscribed by the user based on the user ID, a large amount of private information of the user will be obtained, threatening user privacy security and property security.

发明内容SUMMARY OF THE INVENTION

本发明的实施例提供一种用户隐私保护的方法、设备和系统,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。Embodiments of the present invention provide a method, device and system for user privacy protection. By using random user IDs to hide user real IDs, the problem of user privacy exposure is solved and the user's sense of security in network experience is improved.

为达到上述目的,本发明的实施例采用如下技术方案:To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

第一方面,一种用户隐私保护的方法,包括:A first aspect provides a method for user privacy protection, comprising:

用户设备UE通过路由器向位置服务器发送注册请求消息,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并将所述随机值发送给所述UE,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应;The user equipment UE sends a registration request message to the location server through the router, so that the location server generates a random value when receiving the registration request message of the UE, and sends the random value to the UE, and the registration request The message contains the user identifier of the UE, so that the location server generates a temporary user identifier according to the random value, the common key, the user identifier of the UE, and the identifier of the location server, and saves the temporary user identifier. a corresponding relationship between the user identity, the user identity of the UE, the UE identity and the identity of the location server, so that the location server recognizes the message containing the temporary user identity sent by the UE according to the corresponding relationship, the common key corresponds to the user identity of the UE;

所述UE通过所述路由器接收所述位置服务器发送的所述随机值;The UE receives the random value sent by the location server through the router;

所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成所述临时用户标识,所述共同密钥与所述UE的用户标识对应。The UE generates the temporary user identity according to the shared key, the user identity of the UE, the random value and the pre-acquired identifier of the location server, and the shared key is associated with the user of the UE. corresponding to the logo.

结合第一方面,在第一种可能的实现方式中具体包括,所述UE通过所述路由器接收所述位置服务器发送的所述随机值包括:With reference to the first aspect, a first possible implementation specifically includes: the UE receiving the random value sent by the location server through the router includes:

所述UE通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。The UE receives, through the router, an authentication request message sent by the location server, where the authentication request message includes the random value.

结合第一方面,在第二种可能的实现方式中具体包括,所述UE通过所述路由器接收所述位置服务器发送的所述随机值包括:With reference to the first aspect, in a second possible implementation manner, the UE receives, through the router, the random value sent by the location server, including:

所述UE通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述随机值。The UE receives, through the router, a registration response message sent by the location server, where the registration response message includes the random value.

第二方面,一种用户隐私保护的方法,包括:A second aspect provides a method for user privacy protection, comprising:

位置服务器通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述UE发送的注册请求消息时,所述位置服务器生成随机值;The location server receives the registration request message sent by the user equipment UE through the router, and the registration request message includes the user identity of the UE, wherein, when the location server receives the registration request message sent by the UE, the location server generate random values;

所述位置服务器通过所述路由器将所述随机值发送给所述UE,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识;The location server sends the random value to the UE through the router, so that the UE uses the shared key, the user identity of the UE, the random value and the pre-acquired location server identifier to generate a temporary user ID;

所述位置服务器根据所述UE的用户标识获取共同密钥,并根据所述共享密钥,所述UE的用户标识,所述随机值以及所述位置服务器的标识符生成所述临时用户标识;The location server obtains a common key according to the user identity of the UE, and generates the temporary user identity according to the shared key, the user identity of the UE, the random value and the identifier of the location server;

所述位置服务器保存所述临时用户标识、所述UE的用户标识、所述UE标识以及所述位置服务器的标识的对应关系,并通过所述对应关系识别所述UE发送的包含所述临时用户标识的消息。The location server saves the correspondence between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, and identifies, through the correspondence, that the temporary user information sent by the UE includes the temporary user. The identified message.

结合第二方面,在第一种可能的实现方式中具体包括,所述位置服务器通过所述路由器将所述随机值发送给所述UE包括:With reference to the second aspect, in a first possible implementation manner, the location server sending the random value to the UE through the router includes:

所述位置服务器通过所述路由器向所述UE发送认证请求消息,所述认证请求消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。The location server sends an authentication request message to the UE through the router, and the authentication request message includes a random value, so that the UE can obtain the random value according to the shared key, the UE's user identity, and the random value. and the pre-acquired identifier of the location server to generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

结合第二方面,在第二种可能的实现方式中具体包括,所述位置服务器通过所述路由器将所述随机值发送给所述UE包括:With reference to the second aspect, in a second possible implementation manner, the location server sending the random value to the UE through the router includes:

所述位置服务器通过所述路由器向所述UE转发注册响应消息,所述注册响应消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。The location server forwards a registration response message to the UE through the router, and the registration response message includes a random value, so that the UE can use the shared key, the UE's user identity, the random value and the pre-acquired identifier of the location server to generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

第三方面,一种用户隐私保护的方法,包括:A third aspect provides a method for user privacy protection, comprising:

用户设备UE通过路由器向位置服务器发送注册请求消息,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;The user equipment UE sends a registration request message to the location server through the router, and the registration request message includes the user identity of the UE, so that the location server generates a random value when receiving the registration request message of the UE, and according to The random value, the user identity of the UE and the identifier of the location server generate a temporary user identity, and save the correspondence between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server. relationship, so that the location server identifies the message containing the temporary user identity sent by the UE according to the corresponding relationship;

所述UE通过所述路由器接收所述临时用户标识。The UE receives the temporary user identity through the router.

结合第三方面,在第一种可能的实现方式中具体包括,所述UE通过所述路由器接收所述临时用户标识包括:With reference to the third aspect, in a first possible implementation manner, the UE receiving the temporary user identifier through the router includes:

所述UE通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。The UE receives, through the router, a registration response message sent by the location server, where the registration response message includes the temporary user identifier.

第四方面,一种用户隐私保护的方法,包括:A fourth aspect provides a method for user privacy protection, comprising:

位置服务器通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值;The location server receives the registration request message sent by the user equipment UE through the router, and the registration request message includes the user identity of the UE, wherein, when the location server receives the registration request message sent by the user equipment UE, the registration request message The location server generates random values;

所述位置服务器根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识;generating, by the location server, a temporary user identity according to the random value, the user identity of the UE and the identifier of the location server;

所述位置服务器保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;The location server saves the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify, according to the corresponding relationship, that the information sent by the UE includes the message of the temporary user identification;

所述位置服务器通过所述路由器将所述临时用户标识转发至所述UE。The location server forwards the temporary user identity to the UE through the router.

结合第四方面,在第一种可能实现的方式中具体包括,所述位置服务器根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识包括:With reference to the fourth aspect, in a first possible implementation manner, the generation of the temporary user identifier by the location server according to the random value, the user identifier of the UE, and the identifier of the location server includes:

所述位置服务器根据所述随机值、共享密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。The location server generates a temporary user identifier according to the random value, the shared key, the user identifier of the UE, and the identifier of the location server, and the common key corresponds to the user identifier of the UE.

结合第四方面,在第二种可能实现的方式中具体包括,所述位置服务器通过所述路由器将所述临时用户标识转发至所述UE,包括:With reference to the fourth aspect, in a second possible implementation manner, the location server forwards the temporary user identity to the UE through the router, including:

所述位置服务器通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。The location server forwards a registration response message to the UE through the router, where the registration response message includes the temporary user identifier.

第五方面,一种用户设备,包括:A fifth aspect, a user equipment, comprising:

通信单元,用于通过路由器向位置服务器发送注册请求消息,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并将所述随机值发送给所述UE,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应;a communication unit, configured to send a registration request message to a location server through a router, so that the location server generates a random value when receiving the registration request message of the UE, and sends the random value to the UE, the The registration request message includes the UE's user identity, so that the location server generates a temporary user identity according to the random value, the common key, the UE's user identity, and the location server's identifier, and saves all The corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify, according to the corresponding relationship, the information sent by the UE that contains the temporary user identity. message, the common key corresponds to the user identity of the UE;

所述通信单元,还用于通过所述路由器接收所述位置服务器发送的所述随机值;The communication unit is further configured to receive, through the router, the random value sent by the location server;

生成单元,用于根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成所述临时用户标识,所述共同密钥与所述UE的用户标识对应。a generating unit, configured to generate the temporary user identity according to the shared key, the user identity of the UE, the random value and the pre-acquired identifier of the location server, the shared key and the UE corresponding to the user ID.

结合第五方面,在第一种可能实现的方式中具体包括,所述通信单元,具体还用于:With reference to the fifth aspect, in the first possible implementation manner, the communication unit is specifically further configured to:

通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。The authentication request message sent by the location server is received by the router, where the authentication request message includes the random value.

结合第五方面,在第二种可能的实现方式中具体包括,所述通信单元,具体还用于:With reference to the fifth aspect, in the second possible implementation manner, the communication unit is specifically further used for:

通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述随机值。A registration response message sent by the location server is received by the router, where the registration response message includes the random value.

第六方面,一种位置服务器,包括:A sixth aspect, a location server, comprising:

通信单元,用于通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述UE发送的注册请求消息时,所述位置服务器生成随机值;A communication unit, configured to receive a registration request message sent by a user equipment UE through a router, where the registration request message includes a user identity of the UE, wherein when the location server receives the registration request message sent by the UE, the The location server generates a random value;

所述通信单元,还用于通过所述路由器将所述随机值发送给所述UE,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识;The communication unit is further configured to send the random value to the UE through the router, so that the UE can use the shared key, the user identity of the UE, the random value and the pre-acquired The identifier of the location server generates a temporary user identity;

生成单元,用于根据所述UE的用户标识获取共同密钥,并根据所述共享密钥,所述UE的用户标识,所述随机值以及所述位置服务器的标识符生成所述临时用户标识;a generating unit, configured to obtain a common key according to the user identity of the UE, and generate the temporary user identity according to the shared key, the user identity of the UE, the random value and the identifier of the location server ;

存储单元,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、所述UE标识以及所述位置服务器的标识的对应关系,并通过所述对应关系识别所述UE发送的包含所述临时用户标识的消息。a storage unit, configured to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server generated by the generating unit, and identify the UE through the corresponding relationship The sent message contains the temporary user identification.

结合第六方面,在第一种可能的实现方式中具体包括,所述通信单元,具体还用于:With reference to the sixth aspect, the first possible implementation manner specifically includes that the communication unit is further configured to:

通过所述路由器向所述UE发送认证请求消息,所述认证请求消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Send an authentication request message to the UE through the router, and the authentication request message includes a random value, so that the UE can use the shared key, the UE's user identity, the random value and the pre-acquired The identifier of the location server generates a temporary user identity, and the common key corresponds to the user identity of the UE.

结合第六方面,在第二种可能的实现方式中具体包括,所述通信单元,具体还用于:With reference to the sixth aspect, in the second possible implementation manner, the communication unit is specifically further used for:

通过所述路由器向所述UE转发注册响应消息,所述注册响应消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。The router forwards a registration response message to the UE, where the registration response message includes a random value, so that the UE can use the shared key, the UE's user identity, the random value and a pre-acquired The identifier of the location server generates a temporary user identity, and the common key corresponds to the user identity of the UE.

第七方面,一种用户设备,包括:A seventh aspect, a user equipment, comprising:

发送单元,用于通过路由器向位置服务器发送注册请求消息,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;a sending unit, configured to send a registration request message to the location server through the router, where the registration request message includes the user identity of the UE, so that the location server generates a random value when receiving the registration request message of the UE, and generate a temporary user identity according to the random value, the user identity of the UE and the identifier of the location server, and save the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server The corresponding relationship, so that the location server recognizes the message containing the temporary user identity sent by the UE according to the corresponding relationship;

接收单元,用于通过所述路由器接收所述临时用户标识。A receiving unit, configured to receive the temporary user identifier through the router.

结合第七方面,在第一种可能实现的方式中具体包括,所述接收单元,具体还用于:With reference to the seventh aspect, in the first possible implementation manner, the receiving unit is specifically further configured to:

通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。A registration response message sent by the location server is received by the router, where the registration response message includes the temporary user identifier.

第八方面,一种位置服务器,包括:In an eighth aspect, a location server, comprising:

通信单元,用于通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值;a communication unit, configured to receive a registration request message sent by the user equipment UE through the router, where the registration request message includes the user identity of the UE, wherein when the location server receives the registration request message sent by the user equipment UE , the location server generates a random value;

生成单元,用于根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识;a generating unit, configured to generate a temporary user identity according to the random value, the user identity of the UE and the identifier of the location server;

存储单元,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;a storage unit, configured to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server generated by the generating unit, so that the location server can identify the corresponding relationship a message sent by the UE that includes the temporary user identity;

所述通信单元,还用于通过所述路由器将所述生成单元生成的所述临时用户标识转发至所述UE。The communication unit is further configured to forward the temporary user identity generated by the generating unit to the UE through the router.

结合第八方面,在第一种可能实现的方式中具体包括,所述生成单元,具体还用于:With reference to the eighth aspect, in the first possible implementation manner, the generating unit is specifically further configured to:

根据所述随机值、共享密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。A temporary user identity is generated according to the random value, the shared key, the user identity of the UE and the identifier of the location server, and the common key corresponds to the user identity of the UE.

结合第八方面,在第二种可能的实现方式中具体包括,所述通信单元,具体还用于:With reference to the eighth aspect, in the second possible implementation manner, the communication unit is specifically further configured to:

通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。The router forwards a registration response message to the UE, where the registration response message includes the temporary user identity.

第九方面,一种通信系统,包括:位置服务器、路由器以及与所述路由器连接的用户设备UE,其中,In a ninth aspect, a communication system includes: a location server, a router, and a user equipment UE connected to the router, wherein,

所述位置服务器为第六方面或第六方面中任一种可能的实现方式所述的位置服务器;The location server is the location server described in the sixth aspect or any possible implementation manner of the sixth aspect;

所述用户设备UE为第五方面或第五方面中任一种可能的实现方式所述的用户设备;The user equipment UE is the user equipment described in the fifth aspect or any possible implementation manner of the fifth aspect;

或者,or,

所述位置服务器为第八方面或第八方面中任一种可能的实现方式所述的位置服务器;The location server is the location server described in the eighth aspect or any possible implementation manner of the eighth aspect;

所述用户设备UE为第七方面或第七方面中任一种可能的实现方式所述的用户设备。The user equipment UE is the user equipment described in the seventh aspect or any possible implementation manner of the seventh aspect.

本发明实施例提供的用户隐私保护的方法、设备和系统,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method, device and system for user privacy protection provided by the embodiments of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, and the user equipment By using the random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1为本发明实施例提供的一种UIP(User Identity Protocol,用户身份协议)的网络拓扑结构示意图;1 is a schematic diagram of a network topology structure of a UIP (User Identity Protocol, User Identity Protocol) according to an embodiment of the present invention;

图2为本发明实施例提供的一种用户隐私保护的方法的流程示意图;2 is a schematic flowchart of a method for protecting user privacy according to an embodiment of the present invention;

图3为本发明实施例提供的另一种用户隐私保护的方法的流程示意图;3 is a schematic flowchart of another method for protecting user privacy provided by an embodiment of the present invention;

图4为本发明另一实施例提供的一种用户隐私保护的方法的流程示意图;4 is a schematic flowchart of a method for protecting user privacy according to another embodiment of the present invention;

图5为本发明另一实施例提供的另一种用户隐私保护的方法的流程示意图;5 is a schematic flowchart of another method for protecting user privacy provided by another embodiment of the present invention;

图6为本发明又一实施例提供的一种用户隐私保护的方法的流程示意图;6 is a schematic flowchart of a method for protecting user privacy according to another embodiment of the present invention;

图7为本发明又一实施例提供的另一种用户隐私保护的方法的流程示意图;7 is a schematic flowchart of another method for protecting user privacy provided by another embodiment of the present invention;

图8为本发明又一实施例提供的再一种用户隐私保护的方法的流程示意图;FIG. 8 is a schematic flowchart of still another method for protecting user privacy according to still another embodiment of the present invention;

图9为本发明实施例提供的一种用户设备的结构示意图;FIG. 9 is a schematic structural diagram of a user equipment according to an embodiment of the present invention;

图10为本发明实施例提供的一种位置服务器的结构示意图;10 is a schematic structural diagram of a location server according to an embodiment of the present invention;

图11为本发明另一实施例提供的一种用户设备的结构示意图;FIG. 11 is a schematic structural diagram of a user equipment according to another embodiment of the present invention;

图12为本发明另一实施例提供的一种位置服务器的结构示意图;12 is a schematic structural diagram of a location server according to another embodiment of the present invention;

图13为本发明又一实施例提供的一种用户设备的结构示意图;FIG. 13 is a schematic structural diagram of a user equipment according to another embodiment of the present invention;

图14为本发明又一实施例提供的一种位置服务器的结构示意图;14 is a schematic structural diagram of a location server according to another embodiment of the present invention;

图15为本发明再一实施例提供的一种用户设备的结构示意图;FIG. 15 is a schematic structural diagram of a user equipment according to still another embodiment of the present invention;

图16为本发明再一实施例提供的一种位置服务器的结构示意图;FIG. 16 is a schematic structural diagram of a location server according to still another embodiment of the present invention;

图17为本发明实施例提供的一种通信系统的结构示意图。FIG. 17 is a schematic structural diagram of a communication system according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明适用于用户身份协议UIP(User Identity Protocol)网络架构,其中如图1所示,UIP网络由一个或多个UIP域组成,一个UIP域由一个位置服务器SLS(SubscriberLocation Server),一个或多个域路由器DR(Domain Router),一个或多个网关GW(GateWay)组成。其中,DR用于保存用户标识UserID及该用户的定位符Locator的映射关系、用户数据转发以及报文地址变换,域内、域间的DR相互连结。SLS用于保存用户标识UserID及用户当前DR的映射关系。UE通过无线接入网接入UIP域。而本发明提供一种用户隐私保护的方法,参照图2所示,在用户设备侧,具体步骤如下所述:The present invention is applicable to the user identity protocol UIP (User Identity Protocol) network architecture, wherein as shown in Figure 1, the UIP network consists of one or more UIP domains, and a UIP domain consists of a location server SLS (SubscriberLocation Server), one or more A domain router (DR) consists of one or more gateway GWs (GateWay). The DR is used to save the mapping relationship between the user ID UserID and the user's locator Locator, user data forwarding and message address conversion, and the DRs within and between domains are connected to each other. SLS is used to save the mapping relationship between the user ID UserID and the current DR of the user. The UE accesses the UIP domain through the radio access network. The present invention provides a method for user privacy protection. Referring to FIG. 2 , on the user equipment side, the specific steps are as follows:

101、用户设备UE通过路由器向位置服务器发送注册请求消息,以使得该位置服务器在接收到UE的注册请求消息时生成随机值,并将该随机值发送给该UE。101. The user equipment UE sends a registration request message to a location server through a router, so that the location server generates a random value when receiving the registration request message from the UE, and sends the random value to the UE.

其中,注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应。The registration request message includes the UE's user identity, so that the location server generates a temporary user identity according to the random value, the common key, the UE's user identity, and the location server's identifier, and Save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify, according to the corresponding relationship, that the information sent by the UE includes the temporary user ID message, the common key corresponds to the user ID of the UE.

这里获取共享密钥的方法可以是认证与密钥协商AKA(Authentication and KeyAgreement)或者其他密钥协商方法。The method for obtaining the shared key here may be Authentication and Key Agreement (AKA) or other key agreement methods.

这里用户设备UE(User Equipment)可以通过域路由器DR(Domain Router)转发注册请求消息,将UE本身的基本信息,例如用户标识UserID、设备标识符Device ID和定位符Locator发送至用户位置服务器SLS(Subscriber Location Server),以便SLS根据UE的注册请求消息获取UE的基本信息(即基础参数)。Here, the user equipment UE (User Equipment) can forward the registration request message through the domain router DR (Domain Router), and send the basic information of the UE itself, such as the user ID UserID, the device ID Device ID and the locator Locator to the user location server SLS ( Subscriber Location Server), so that the SLS obtains the basic information (ie basic parameters) of the UE according to the registration request message of the UE.

其中,注册请求消息还包括:设备标识符和/或UE的定位符。Wherein, the registration request message further includes: a device identifier and/or a locator of the UE.

102、UE通过路由器接收该位置服务器发送的随机值。102. The UE receives the random value sent by the location server through the router.

103、UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。103. The UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value, and the identifier of the location server acquired in advance.

其中,该共同密钥与所述UE的用户标识对应。Wherein, the common key corresponds to the user identity of the UE.

这里UE可以根据与SLS协商得到共享密钥SKey之前接收到的认证请求消息,获取由SLS生成的随机值nonce,并根据该nonce,预先获取的SLS的SLS ID,SKey和UE自身的UserID生成临时用户标识TempUser ID;Here, the UE can obtain the random value nonce generated by the SLS according to the authentication request message received before negotiating with the SLS to obtain the shared key SKey, and generate a temporary value based on the nonce, the SLS ID of the SLS obtained in advance, the SKey and the UE's own UserID. User ID TempUser ID;

或者,or,

根据与SLS协商得到共享密钥SKey之后,接收的注册响应消息中获取随机值nonce,并根据该nonce,SLS的SLS ID,SKey和UE自身的UserID生成临时用户标识TempUserID;After obtaining the shared key SKey through negotiation with the SLS, the random value nonce is obtained from the received registration response message, and the temporary user identifier TempUserID is generated according to the nonce, the SLS ID of the SLS, the SKey and the UE's own UserID;

或者,or,

除UE自身根据SLS发送的nonce生成TempUser ID外,可选的,UE通过接收SLS发送的注册响应消息接收SLS已经生成的临时用户标识TempUser ID。In addition to generating the TempUser ID by the UE itself according to the nonce sent by the SLS, optionally, the UE receives the temporary user identifier TempUser ID that has been generated by the SLS by receiving the registration response message sent by the SLS.

本发明提供一种用户隐私保护的方法,参照图3所示,在位置服务器侧,具体步骤如下所述:The present invention provides a method for user privacy protection. Referring to FIG. 3 , on the location server side, the specific steps are as follows:

201、位置服务器通过路由器接收用户设备UE发送的注册请求消息。201. The location server receives, through the router, a registration request message sent by the user equipment UE.

这里注册请求消息中包含该UE的用户标识,其中,当位置服务器接收UE发送的注册请求消息时,位置服务器生成随机值。Here, the registration request message includes the user identity of the UE, wherein, when the location server receives the registration request message sent by the UE, the location server generates a random value.

其中,该注册请求消息还包括用户设备标识符Device ID和/或UE的定位符Locator。Wherein, the registration request message further includes the user equipment identifier Device ID and/or the UE's locator Locator.

202、位置服务器通过路由器将随机值发送给UE,以使得该UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。202. The location server sends the random value to the UE through the router, so that the UE generates a temporary user identity according to the shared key, the user identity of the UE, the random value and the pre-acquired identifier of the location server.

203、位置服务器根据该共享密钥,UE的用户标识,随机值以及位置服务器的标识符生成临时用户标识。203. The location server generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and the identifier of the location server.

其中,获取共享密钥的方法可以是认证与密钥协商AKA(Authentication and KeyAgreement)或者其他密钥协商方法。The method for obtaining the shared key may be Authentication and Key Agreement (AKA) or other key agreement methods.

这里用户位置服务器SLS(Subscriber Location Server)可以根据与UE协商得到共享密钥SKey之前,SLS生成的随机值nonce,并根据该nonce,SLS自身的SLS ID,SKey和UE的UserID生成临时用户标识TempUser ID;Here, the subscriber location server SLS (Subscriber Location Server) can generate a temporary user identifier TempUser according to the random value nonce generated by the SLS before negotiating with the UE to obtain the shared key SKey, and based on the nonce, the SLS ID of the SLS itself, the SKey and the UserID of the UE ID;

或者,or,

根据与UE协商得到共享密钥SKey之后,SLS生成随机值nonce,并在发送携带nonce的注册响应消息之前SLS根据该nonce,SLS的SLS ID,SKey和UE自身的UserID生成临时用户标识TempUser ID;After obtaining the shared key SKey through negotiation with the UE, the SLS generates a random value nonce, and before sending the registration response message carrying the nonce, the SLS generates a temporary user identifier TempUser ID according to the nonce, the SLS ID of the SLS, the SKey and the UserID of the UE itself;

或者,or,

SLS在接收到UE发送的认证响应消息之后,SLS生成nonce,并根据nonce生成TempUser ID,通过发送注册响应消息将生成的TempUser ID发送至UE。After the SLS receives the authentication response message sent by the UE, the SLS generates a nonce, generates a TempUser ID according to the nonce, and sends the generated TempUser ID to the UE by sending a registration response message.

204、位置服务器保存临时用户标识、UE的用户标识、UE标识以及位置服务器的标识的对应关系,并通过该对应关系识别UE发送的包含临时用户标识的消息。204. The location server stores the correspondence between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, and identifies the message including the temporary user identity sent by the UE through the correspondence.

其中,可选的,该SLS保存的是临时用户标识TempUser ID与UE的用户标识UserID、设备标识符Device ID和定位符Locator的映射关系。Wherein, optionally, the SLS stores the mapping relationship between the temporary user identifier TempUser ID and the user identifier UserID of the UE, the device identifier Device ID and the locator Locator.

本发明实施例提供的用户隐私保护的方法,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method for user privacy protection provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, The pre-obtained identity of the location server and the shared key are used to generate a temporary user identity, and the user's real ID is hidden by using a random user ID, which solves the problem of user privacy exposure and improves the security of the user's network experience.

本发明提供另一种用户隐私保护的方法,参照图4所示,在用户设备侧,具体步骤如下所述:The present invention provides another method for user privacy protection. Referring to FIG. 4 , on the user equipment side, the specific steps are as follows:

301、用户设备UE通过路由器向位置服务器发送注册请求消息。301. The user equipment UE sends a registration request message to a location server through a router.

其中,注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息。The registration request message includes the UE's user identity, so that the location server generates a random value when receiving the UE's registration request message, and generates a random value according to the random value, the UE's user identity and the The identifier of the location server generates a temporary user identity, and saves the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server, so that the location server is based on the corresponding relationship. A message sent by the UE containing the temporary user identity is identified.

302、UE通过路由器接收临时用户标识。302. The UE receives the temporary user identifier through the router.

其中,UE通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。The UE receives, through the router, a registration response message sent by the location server, where the registration response message includes the temporary user identifier.

本发明提供另一种用户隐私保护的方法,参照图5所示,在位置服务器侧,具体步骤如下所述:The present invention provides another method for user privacy protection. Referring to FIG. 5 , on the location server side, the specific steps are as follows:

401、位置服务器通过路由器接收用户设备UE发送的注册请求消息。401. The location server receives, through the router, a registration request message sent by the user equipment UE.

这里注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值。Here, the registration request message includes the user identity of the UE, wherein when the location server receives the registration request message sent by the user equipment UE, the location server generates a random value.

402、位置服务器根据随机值、UE的用户标识以及位置服务器的标识符生成临时用户标识。402. The location server generates a temporary user identifier according to the random value, the user identifier of the UE, and the identifier of the location server.

403、位置服务器保存该临时用户标识、UE的用户标识、UE标识以及位置服务器的标识的对应关系,以使得该位置服务器根据该对应关系识别UE的发送的包含临时用户标识的消息。403. The location server saves the correspondence between the temporary user identifier, the user identifier of the UE, the UE identifier, and the identifier of the location server, so that the location server identifies the message containing the temporary user identifier sent by the UE according to the correspondence.

其中,可选的,该SLS保存的是临时用户标识TempUser ID与UE的用户标识UserID、设备标识符Device ID和定位符Locator的映射关系。Wherein, optionally, the SLS stores the mapping relationship between the temporary user identifier TempUser ID and the user identifier UserID of the UE, the device identifier Device ID and the locator Locator.

404、位置服务器通过路由器将该临时用户标识转发至UE。404. The location server forwards the temporary user identity to the UE through the router.

其中,位置服务器通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。The location server forwards a registration response message to the UE through the router, and the registration response message includes the temporary user identifier.

本发明实施例提供的用户隐私保护的方法,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method for user privacy protection provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a randomly generated random value, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the user by using a random user ID. The real ID solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明实施例中的路由器以域路由器DR,位置服务器以用户位置服务器SLS为例进行说明,以实现本发明实施例提供的用户隐私保护的方法为准,不作具体限定。The router in the embodiment of the present invention is described by taking the domain router DR, and the location server taking the user location server SLS as an example.

具体的,以下结合具体的实施例进行说明。Specifically, the following description is made with reference to specific embodiments.

实施例一Example 1

可以在图2或图3所示的实施例的基础上,参照图6所示,本发明的实施例提供了一种用户隐私保护的方法,参照图6所示,为用户位置服务器SLS与用户设备UE通过协商生成共享密钥SKey,并根据SKey,SLS和或UE的ID生成临时用户标识TempUserID的过程,具体步骤如下:On the basis of the embodiment shown in FIG. 2 or FIG. 3, referring to FIG. 6, an embodiment of the present invention provides a method for user privacy protection. Referring to FIG. 6, the user location server SLS and the user are provided. The process that the device UE generates the shared key SKey through negotiation, and generates the temporary user identifier TempUserID according to the SKey, SLS and/or UE ID. The specific steps are as follows:

501、用户设备UE通过路由器向位置服务器发送注册请求消息,以使得改位置服务器在接收到UE的注册请求消息时生成随机值,并将该随机值发送给该UE。501. The user equipment UE sends a registration request message to a location server through a router, so that the location server generates a random value when receiving the registration request message from the UE, and sends the random value to the UE.

其中,注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应。The registration request message includes the UE's user identity, so that the location server generates a temporary user identity according to the random value, the common key, the UE's user identity, and the location server's identifier, and Save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify, according to the corresponding relationship, that the information sent by the UE includes the temporary user ID message, the common key corresponds to the user ID of the UE.

这里获取共享密钥的方法可以是认证与密钥协商AKA(Authentication and KeyAgreement)或者其他密钥协商方法。The method for obtaining the shared key here may be Authentication and Key Agreement (AKA) or other key agreement methods.

可选的,注册请求消息还包括:设备标识符和/或UE的定位符。Optionally, the registration request message further includes: a device identifier and/or a UE locator.

这里用户设备UE(User Equipment)可以通过域路由器DR(Domain Router)转发注册请求消息,将UE本身的基本信息,例如用户标识UserID、设备标识符Device ID和定位符Locator发送至用户位置服务器SLS(Subscriber Location Server),以便SLS根据UE的注册请求消息获取UE的基本信息(即基础参数)。Here, the user equipment UE (User Equipment) can forward the registration request message through the domain router DR (Domain Router), and send the basic information of the UE itself, such as the user ID UserID, the device ID Device ID and the locator Locator to the user location server SLS ( Subscriber Location Server), so that the SLS obtains the basic information (ie basic parameters) of the UE according to the registration request message of the UE.

502、位置服务器通过路由器接收用户设备UE发送的注册请求消息。502. The location server receives, through the router, a registration request message sent by the user equipment UE.

这里注册请求消息中包含该UE的用户标识,其中,当位置服务器接收UE发送的注册请求消息时,位置服务器生成随机值。Here, the registration request message includes the user identity of the UE, wherein, when the location server receives the registration request message sent by the UE, the location server generates a random value.

其中,该注册请求消息还包括用户设备标识符Device ID和/或UE的定位符Locator。Wherein, the registration request message further includes the user equipment identifier Device ID and/or the UE's locator Locator.

这里域路由器DR用于承担转发UE与SLS之间信令交互报文的功能。The router DR in this domain is used to undertake the function of forwarding the signaling exchange messages between the UE and the SLS.

503、位置服务器通过路由器将随机值发送给UE,以使得该UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。503. The location server sends the random value to the UE through the router, so that the UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and the pre-acquired identifier of the location server.

其中随机值可以用nonce表示。以实现本发明实施例提供的一种用户隐私保护的方法为准,具体不做限定。The random value can be represented by nonce. The method for implementing a user privacy protection provided by the embodiment of the present invention shall prevail, which is not specifically limited.

这里位置服务器在认证请求消息中携带随机值,并通过路由器发送至UE。Here, the location server carries a random value in the authentication request message and sends it to the UE through the router.

504、UE通过路由器接收该位置服务器发送的随机值。504. The UE receives the random value sent by the location server through the router.

其中UE通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。The UE receives an authentication request message sent by the location server through the router, and the authentication request message includes the random value.

505、UE根据该认证请求消息通过路由器向位置服务器发送认证响应消息。505. The UE sends an authentication response message to the location server through the router according to the authentication request message.

506、位置服务器接收UE通过路由器发送的认证响应消息。506. The location server receives the authentication response message sent by the UE through the router.

507、位置服务器根据该共享密钥,UE的用户标识,随机值以及位置服务器的标识符生成临时用户标识。507. The location server generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and the identifier of the location server.

其中,获取共享密钥的方法可以是认证与密钥协商AKA(Authentication and KeyAgreement)或者其他密钥协商方法。The method for obtaining the shared key may be Authentication and Key Agreement (AKA) or other key agreement methods.

这里临时用户标识以临时用户标识TempUser ID为例:Here the temporary user ID takes the temporary user ID TempUser ID as an example:

其中,TempUser ID的生成方法可表示为:Among them, the generation method of TempUser ID can be expressed as:

TempUser ID=KDF(SKey,UserID,SLS ID,nonce)TempUser ID=KDF(SKey,UserID,SLS ID,nonce)

即临时用户标识TempUser ID为SLS根据协商得到的SKey,UE的UserID,SLS ID以及SLS生成的nonce生成;That is, the temporary user identifier TempUser ID is generated by SLS according to the negotiated SKey, the UserID of the UE, the SLS ID and the nonce generated by the SLS;

其中:in:

SKey是SLS和UE的某个共享的密钥;SKey is a key shared by SLS and UE;

SLS ID(SLS标识)是SLS的ID,比如UUID(Universally Unique Identifier)形式的标识符;SLS ID (SLS identifier) is the ID of the SLS, such as an identifier in the form of UUID (Universally Unique Identifier);

nonce是SLS产生的随机值。nonce is a random value generated by SLS.

508、UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。508. The UE generates a temporary user identity according to the shared key, the user identity of the UE, the random value, and the pre-acquired identifier of the location server.

其中,该共同密钥与所述UE的用户标识对应。Wherein, the common key corresponds to the user identity of the UE.

这里UE根据认证请求消息中获取到的随机值nonce,与SLS协商得到的SKey,预先获取的SLS的ID以及UE自身的UserID生成临时用户标识TempUser ID。Here, the UE generates the temporary user identifier TempUser ID according to the random value nonce obtained in the authentication request message, the SKey obtained through negotiation with the SLS, the ID of the SLS obtained in advance, and the UserID of the UE itself.

509、位置服务器保存临时用户标识、UE的用户标识、UE标识以及位置服务器的标识的对应关系,并通过该对应关系识别UE发送的包含临时用户标识的消息。509. The location server stores the correspondence between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, and identifies the message including the temporary user identity sent by the UE through the correspondence.

其中,可选的,该SLS保存的是临时用户标识TempUser ID与UE的用户标识UserID、设备标识符Device ID和定位符Locator的映射关系。Wherein, optionally, the SLS stores the mapping relationship between the temporary user identifier TempUser ID and the user identifier UserID of the UE, the device identifier Device ID and the locator Locator.

510、位置服务器通过路由器向UE发送注册响应消息。510. The location server sends a registration response message to the UE through the router.

511、UE通过路由器接收位置服务器发送的注册响应消息。511. The UE receives, through the router, a registration response message sent by the location server.

本发明实施例提供的用户隐私保护的方法,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method for user privacy protection provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, The pre-obtained identity of the location server and the shared key are used to generate a temporary user identity, and the user's real ID is hidden by using a random user ID, which solves the problem of user privacy exposure and improves the security of the user's network experience.

实施例二Embodiment 2

可以在图2或图3所示的实施例的基础上,参照图7所示,本发明的实施例提供了一种用户隐私保护的方法,参照图7所示,为用户位置服务器SLS与用户设备UE通过协商生成共享密钥SKey,其中在UE与SLS协商生成SKey之后SLS生成随机值nonce,SLS根据SKey,SLS和或UE的ID生成临时用户标识TempUserID,再经由DR转发注册响应消息将nonce发送至UE,以便UE根据nonce生成TempUserID的过程,具体步骤如下:On the basis of the embodiment shown in FIG. 2 or FIG. 3, referring to FIG. 7, an embodiment of the present invention provides a method for user privacy protection. Referring to FIG. 7, the user location server SLS and the user are provided. The device UE generates a shared key SKey through negotiation. After the UE negotiates with the SLS to generate the SKey, the SLS generates a random value nonce, and the SLS generates a temporary user identifier TempUserID according to the SKey, SLS and/or UE ID, and then forwards the registration response message via the DR to the nonce. It is sent to the UE so that the UE can generate the TempUserID according to the nonce. The specific steps are as follows:

601用户设备UE通过路由器向位置服务器发送注册请求消息,以使得改位置服务器在接收到UE的注册请求消息时生成随机值,并将该随机值发送给该UE。601 The user equipment UE sends a registration request message to the location server through the router, so that the location server generates a random value when receiving the registration request message from the UE, and sends the random value to the UE.

其中,注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应。The registration request message includes the UE's user identity, so that the location server generates a temporary user identity according to the random value, the common key, the UE's user identity, and the location server's identifier, and Save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify, according to the corresponding relationship, that the information sent by the UE includes the temporary user ID message, the common key corresponds to the user ID of the UE.

可选的,注册请求消息还包括:设备标识符和/或UE的定位符。Optionally, the registration request message further includes: a device identifier and/or a UE locator.

这里用户设备UE(User Equipment)可以通过域路由器DR(Domain Router)转发注册请求消息,将UE本身的基本信息,例如用户标识UserID、设备标识符Device ID和定位符Locator发送至用户位置服务器SLS(Subscriber Location Server),以便SLS根据UE的注册请求消息获取UE的基本信息(即基础参数)。Here, the user equipment UE (User Equipment) can forward the registration request message through the domain router DR (Domain Router), and send the basic information of the UE itself, such as the user ID UserID, the device ID Device ID and the locator Locator to the user location server SLS ( Subscriber Location Server), so that the SLS obtains the basic information (ie basic parameters) of the UE according to the registration request message of the UE.

602、位置服务器通过路由器接收用户设备UE发送的注册请求消息。602. The location server receives, through the router, a registration request message sent by the user equipment UE.

这里注册请求消息中包含该UE的用户标识,其中,当位置服务器接收UE发送的注册请求消息时,位置服务器生成随机值。Here, the registration request message includes the user identity of the UE, wherein, when the location server receives the registration request message sent by the UE, the location server generates a random value.

其中,该注册请求消息还包括用户设备标识符Device ID和/或UE的定位符Locator。Wherein, the registration request message further includes the user equipment identifier Device ID and/or the UE's locator Locator.

这里域路由器DR用于承担转发UE与SLS之间信令交互报文的功能。The router DR in this domain is used to undertake the function of forwarding the signaling exchange messages between the UE and the SLS.

603、位置服务器通过路由器将随机值发送给UE,以使得该UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。603. The location server sends the random value to the UE through the router, so that the UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and the pre-acquired identifier of the location server.

其中随机值可以用nonce表示。以实现本发明实施例提供的一种用户隐私保护的方法为准,具体不做限定。The random value can be represented by nonce. The method for implementing a user privacy protection provided by the embodiment of the present invention shall prevail, which is not specifically limited.

这里位置服务器在认证请求消息中携带随机值,并通过路由器发送至UE。Here, the location server carries a random value in the authentication request message and sends it to the UE through the router.

位置服务器通过路由器向UE发送认证请求消息。The location server sends an authentication request message to the UE through the router.

这里SLS通过DR向UE发送的认证请求消息中不限定为随机值nonce是否为生成TempUser ID所需的随机值nonce。与实施例一中的区别在于本发明实施例中用于生成TempUser ID的随机值nonce可以为SLS重新产生的一个新的nonce,即可以不重用本步骤中向UE发送的认证请求消息中的nonce。Here, the authentication request message sent by the SLS to the UE through the DR is not limited to whether the random value nonce is the random value nonce required for generating the TempUser ID. The difference from Embodiment 1 is that the random value nonce used to generate the TempUser ID in this embodiment of the present invention may be a new nonce regenerated by SLS, that is, the nonce in the authentication request message sent to the UE in this step may not be reused. .

604、UE通过路由器接收该位置服务器发送的随机值。604. The UE receives the random value sent by the location server through the router.

其中UE通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。The UE receives an authentication request message sent by the location server through the router, and the authentication request message includes the random value.

605、UE根据该认证请求消息通过路由器向位置服务器发送认证响应消息。605. The UE sends an authentication response message to the location server through the router according to the authentication request message.

606、位置服务器接收UE通过路由器发送的认证响应消息。606. The location server receives the authentication response message sent by the UE through the router.

607、位置服务器根据该共享密钥,UE的用户标识,随机值以及位置服务器的标识符生成临时用户标识。607. The location server generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value, and the identifier of the location server.

其中,获取共享密钥的方法可以是认证与密钥协商AKA(Authentication and KeyAgreement)或者其他密钥协商方法。The method for obtaining the shared key may be Authentication and Key Agreement (AKA) or other key agreement methods.

这里临时用户标识以临时用户标识TempUser ID为例:Here the temporary user ID takes the temporary user ID TempUser ID as an example:

其中,TempUser ID的生成方法可表示为:Among them, the generation method of TempUser ID can be expressed as:

TempUser ID=KDF(SKey,UserID,SLS ID,nonce)TempUser ID=KDF(SKey,UserID,SLS ID,nonce)

即临时用户标识TempUser ID为SLS根据协商得到的SKey,UE的UserID,SLS ID以及SLS生成的nonce生成;That is, the temporary user identifier TempUser ID is generated by SLS according to the negotiated SKey, the UserID of the UE, the SLS ID and the nonce generated by the SLS;

其中:in:

SKey是SLS和UE的某个共享的密钥;SKey is a key shared by SLS and UE;

SLS ID(SLS标识)是SLS的ID,比如UUID(Universally Unique Identifier)形式的标识符;SLS ID (SLS identifier) is the ID of the SLS, such as an identifier in the form of UUID (Universally Unique Identifier);

nonce是SLS产生的随机值。nonce is a random value generated by SLS.

608、位置服务器通过路由器将随机值发送给UE。608. The location server sends the random value to the UE through the router.

其中,注册响应消息,还包括:SLS生成的随机值nonce,以便UE根据随机值nonce生成所述TempUser ID。The registration response message further includes: a random value nonce generated by the SLS, so that the UE generates the TempUser ID according to the random value nonce.

位置服务器通过所述路由器向所述UE转发注册响应消息,所述注册响应消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述UE根据所述UE的用户标识获取所述共享密钥。The location server forwards a registration response message to the UE through the router, and the registration response message includes a random value, so that the UE can use the shared key, the user identity of the UE, the random value and the pre- The acquired identifier of the location server generates a temporary user identifier, and the UE acquires the shared key according to the user identifier of the UE.

609、位置服务器保存临时用户标识、UE的用户标识、UE标识以及位置服务器的标识的对应关系,并通过该对应关系识别UE发送的包含临时用户标识的消息。609. The location server stores the correspondence between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, and identifies the message including the temporary user identity sent by the UE through the correspondence.

这里具体的,SLS保存的是临时用户标识TempUser ID与UE的用户标识User ID、设备标识符Device ID和定位符Locator的映射关系。Specifically, the SLS stores the mapping relationship between the temporary user identifier TempUser ID and the user identifier User ID of the UE, the device identifier Device ID, and the locator Locator.

610、UE通过路由器接收位置服务器发送的随机值。610. The UE receives, through the router, a random value sent by the location server.

其中,UE通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述随机值。The UE receives, through the router, a registration response message sent by the location server, where the registration response message includes the random value.

611、UE根据共享密钥,UE的用户标识,随机值以及预先获取的位置服务器的标识符生成临时用户标识。611. The UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value, and the identifier of the location server acquired in advance.

其中,UE根据所述UE的用户标识获取所述共享密钥The UE obtains the shared key according to the user identity of the UE

这里UE根据认证请求消息中获取到的随机值nonce,与SLS协商得到的SKey,预先获取的SLS的ID以及UE自身的UserID生成临时用户标识TempUser ID。Here, the UE generates the temporary user identifier TempUser ID according to the random value nonce obtained in the authentication request message, the SKey obtained through negotiation with the SLS, the ID of the SLS obtained in advance, and the UserID of the UE itself.

本发明实施例提供的用户隐私保护的方法,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并通过与位置服务器协商得到共享密钥,再根据用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method for user privacy protection provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, obtains a shared key through negotiation with the location server, and then pre-registers the user equipment according to the user identification of the user equipment. The obtained identification of the location server and the shared key generate a temporary user identification, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

本发明实施例与实施例一的区别在于SLS用于生成TempUser ID的随机值nonce为在与UE协商得到共享密钥SKey之后,并在生成TempUser ID之后将生成TempUser ID的随机值nonce通过注册响应消息通过DR发送至UE。其中,用于生成TempUser ID的随机值nonce为可以与发送认证请求消息时所携带的nonce不同。The difference between the embodiment of the present invention and the first embodiment is that the random value nonce used by the SLS to generate the TempUser ID is after negotiating with the UE to obtain the shared key SKey, and after the TempUser ID is generated, the random value nonce of the TempUser ID will be generated through the registration response The message is sent to the UE through the DR. The random value nonce used to generate the TempUser ID may be different from the nonce carried when sending the authentication request message.

实施例三Embodiment 3

可以在图4或图5所示的实施例的基础上,参照图8所示,本发明的实施例提供了一种用户隐私保护的方法,参照图8所示,为用户位置服务器SLS与用户设备UE通过协商生成共享密钥SKey,SLS根据SKey,SLS和UE的ID生成临时用户标识TempUserID,再经由DR转发TempUserID至UE的过程,具体步骤如下:On the basis of the embodiment shown in FIG. 4 or FIG. 5, referring to FIG. 8, an embodiment of the present invention provides a method for user privacy protection. Referring to FIG. 8, the user location server SLS and the user are provided. The device UE generates a shared key SKey through negotiation, and the SLS generates a temporary user identifier TempUserID according to the SKey, SLS and the ID of the UE, and then forwards the TempUserID to the UE through the DR. The specific steps are as follows:

701、用户设备UE通过路由器向位置服务器发送注册请求消息。701. The user equipment UE sends a registration request message to a location server through a router.

其中,注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息。The registration request message includes the UE's user identity, so that the location server generates a random value when receiving the UE's registration request message, and generates a random value according to the random value, the UE's user identity and the The identifier of the location server generates a temporary user identity, and saves the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server, so that the location server is based on the corresponding relationship. A message sent by the UE containing the temporary user identity is identified.

其中,注册请求消息还包括:设备标识符和/或UE的定位符。Wherein, the registration request message further includes: a device identifier and/or a locator of the UE.

这里用户设备UE(User Equipment)可以通过域路由器DR(Domain Router)转发注册请求消息,将UE本身的基本信息,例如用户标识UserID、设备标识符Device ID和定位符Locator发送至用户位置服务器SLS(Subscriber Location Server),以便SLS根据UE的注册请求消息获取UE的基本信息(即基础参数)。Here, the user equipment UE (User Equipment) can forward the registration request message through the domain router DR (Domain Router), and send the basic information of the UE itself, such as the user ID UserID, the device ID Device ID and the locator Locator to the user location server SLS ( Subscriber Location Server), so that the SLS obtains the basic information (ie basic parameters) of the UE according to the registration request message of the UE.

702、位置服务器通过路由器接收用户设备UE发送的注册请求消息。702. The location server receives, through the router, a registration request message sent by the user equipment UE.

其中,注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值;Wherein, the registration request message includes the user identity of the UE, wherein when the location server receives the registration request message sent by the user equipment UE, the location server generates a random value;

这里域路由器DR用于承担转发UE与SLS之间信令交互报文的功能。The router DR in this domain is used to undertake the function of forwarding the signaling exchange messages between the UE and the SLS.

703、位置服务器通过路由器向UE发送认证请求消息。703. The location server sends an authentication request message to the UE through the router.

704、UE通过路由器接收位置服务器发送的认证请求消息。704. The UE receives, through the router, an authentication request message sent by the location server.

705、UE根据该认证请求消息通过路由器向位置服务器发送认证响应消息。705. The UE sends an authentication response message to the location server through the router according to the authentication request message.

706、位置服务器接收UE通过路由器发送的认证响应消息。706. The location server receives the authentication response message sent by the UE through the router.

707、位置服务器根据随机值、UE的用户标识以及位置服务器的标识符生成临时用户标识。707. The location server generates a temporary user identifier according to the random value, the user identifier of the UE, and the identifier of the location server.

其中,该相关参数至少包括所述随机值、所述UE的用户标识以及所述位置服务器的标识符;Wherein, the relevant parameter includes at least the random value, the user identity of the UE and the identifier of the location server;

可选的,该相关参数还包括共同密钥,位置服务器根据所述随机值、共享密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识。Optionally, the relevant parameter further includes a common key, and the location server generates a temporary user identifier according to the random value, the shared key, the user identifier of the UE, and the identifier of the location server.

其中,该位置服务器根据所述UE的用户标识获取共同密钥。Wherein, the location server obtains the common key according to the user identity of the UE.

这里如上所述SLS可以如实施例一与实施例二中所述的方法根据SKey,UE的基本信息,随机值nonce以及SLS的标识符SLS ID生成临时用户标识TempUser ID。As mentioned above, the SLS can generate the temporary user identifier TempUser ID according to the SKey, the basic information of the UE, the random value nonce and the SLS identifier SLS ID according to the methods described in the first and second embodiments.

本实施例中SLS还可以根据随机值nonce生成TempUser ID。In this embodiment, the SLS may also generate the TempUser ID according to the random value nonce.

708、位置服务器保存临时用户标识、UE的用户标识、UE标识以及位置服务器的标识的对应关系,以使得该位置服务器根据该对应关系识别UE的发送的包含临时用户标识的消息。708. The location server stores the correspondence between the temporary user identifier, the user identifier of the UE, the UE identifier, and the identifier of the location server, so that the location server identifies the message containing the temporary user identifier sent by the UE according to the correspondence.

这里具体的,SLS保存的是临时用户标识TempUser ID与UE的用户标识User ID、设备标识符Device ID和定位符Locator的映射关系。Specifically, the SLS stores the mapping relationship between the temporary user identifier TempUser ID and the user identifier User ID of the UE, the device identifier Device ID, and the locator Locator.

709、位置服务器通过路由器将临时用户标识转发至UE。709. The location server forwards the temporary user identity to the UE through the router.

其中,位置服务器通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。The location server forwards a registration response message to the UE through the router, and the registration response message includes the temporary user identifier.

710、UE通过路由器接收临时用户标识。710. The UE receives the temporary user identifier through the router.

其中,UE通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。The UE receives, through the router, a registration response message sent by the location server, where the registration response message includes the temporary user identifier.

本发明实施例提供的用户隐私保护的方法,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the method for user privacy protection provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a randomly generated random value, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the user by using a random user ID. The real ID solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明提供一种用户设备UE8,该用户设备UE8以可以实现本发明的实施例所提供的任一用户隐私保护的方法为准,参照图9所示,包括:The present invention provides a user equipment UE8. The user equipment UE8 is subject to any user privacy protection method provided by the embodiments of the present invention. Referring to FIG. 9, the user equipment UE8 includes:

通信单元81,用于通过路由器向位置服务器发送注册请求消息,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并将所述随机值发送给所述UE,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应;The communication unit 81 is configured to send a registration request message to the location server through the router, so that the location server generates a random value when receiving the registration request message of the UE, and sends the random value to the UE, so The registration request message contains the user identity of the UE, so that the location server generates a temporary user identity according to the random value, the common key, the user identity of the UE, and the identifier of the location server, and saves it. The corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server recognizes according to the corresponding relationship that the information sent by the UE includes the temporary user identity message, the common key corresponds to the user identity of the UE;

通信单元81,还用于通过所述路由器接收所述位置服务器发送的所述随机值;The communication unit 81 is further configured to receive the random value sent by the location server through the router;

生成单元82,用于根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成所述临时用户标识,所述共同密钥与所述UE的用户标识对应。The generating unit 82 is configured to generate the temporary user identity according to the shared key, the user identity of the UE, the random value and the pre-acquired identifier of the location server, the shared key and the corresponding to the user identity of the UE.

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,通信单元81,具体还用于:通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。Optionally, the communication unit 81 is further configured to receive, through the router, an authentication request message sent by the location server, where the authentication request message includes the random value.

可选的,通信单元81,具体还用于:通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述随机值。Optionally, the communication unit 81 is further configured to receive, through the router, a registration response message sent by the location server, where the registration response message includes the random value.

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

本发明提供一种位置服务器SLS9,该位置服务器SLS9以可以实现本发明的实施例所提供的任一用户隐私保护的方法为准,参照图10所示,包括:The present invention provides a location server SLS9. The location server SLS9 is subject to any method that can implement any user privacy protection provided by the embodiments of the present invention. Referring to FIG. 10 , the location server SLS9 includes:

通信单元91,用于通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述UE发送的注册请求消息时,所述位置服务器生成随机值;The communication unit 91 is configured to receive, through a router, a registration request message sent by a user equipment UE, where the registration request message includes a user identity of the UE, wherein when the location server receives the registration request message sent by the UE, the location server generates a random value;

通信单元91,还用于通过所述路由器将所述随机值发送给所述UE,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识;The communication unit 91 is further configured to send the random value to the UE through the router, so that the UE can use the shared key, the user identity of the UE, the random value and the pre-acquired The identifier of the location server described above generates a temporary user identity;

生成单元92,用于根据所述UE的用户标识获取共同密钥,并根据所述共享密钥,所述UE的用户标识,所述随机值以及所述位置服务器的标识符生成所述临时用户标识;A generating unit 92, configured to obtain a common key according to the user identity of the UE, and generate the temporary user according to the shared key, the user identity of the UE, the random value and the identifier of the location server identification;

存储单元93,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、所述UE标识以及所述位置服务器的标识的对应关系,并通过所述对应关系识别所述UE发送的包含所述临时用户标识的消息。The storage unit 93 is configured to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server generated by the generating unit, and identify the A message sent by the UE including the temporary user identity.

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,通信单元91,具体还用于:通过所述路由器向所述UE发送认证请求消息,所述认证请求消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the communication unit 91 is further configured to: send an authentication request message to the UE through the router, where the authentication request message includes a random value, so that the UE, according to the shared key, The user identifier of the UE, the random value and the pre-acquired identifier of the location server generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

可选的,通信单元91,具体还用于:通过所述路由器向所述UE转发注册响应消息,所述注册响应消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the communication unit 91 is specifically further configured to: forward a registration response message to the UE through the router, where the registration response message includes a random value, so that the UE according to the shared key, the The user identifier of the UE, the random value and the pre-acquired identifier of the location server generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

本发明提供一种用户设备UE10,该用户设备UE10以可以实现本发明的实施例所提供的任一用户隐私保护的方法为准,参照图11所示,包括:The present invention provides a user equipment UE10. The user equipment UE10 is subject to any user privacy protection method provided by the embodiments of the present invention. Referring to FIG. 11 , the user equipment UE10 includes:

发送单元1001,用于通过路由器向位置服务器发送注册请求消息,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;Sending unit 1001, configured to send a registration request message to a location server through a router, where the registration request message includes the user identity of the UE, so that the location server generates a random value when receiving the registration request message of the UE , and generate a temporary user identifier according to the random value, the user identifier of the UE and the identifier of the location server, and save the temporary user identifier, the user identifier of the UE, the UE identifier and the location server's identifier. The correspondence between the identifiers, so that the location server recognizes the message containing the temporary user identifier sent by the UE according to the correspondence;

接收单元1002,用于通过所述路由器接收所述临时用户标识。A receiving unit 1002, configured to receive the temporary user identifier through the router.

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

进一步的,接收单元1002,具体还用于:通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。Further, the receiving unit 1002 is specifically further configured to: receive, through the router, a registration response message sent by the location server, where the registration response message includes the temporary user identifier.

本发明实施例提供的用户设备,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a randomly generated random value, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the real user ID by using the random user ID, It solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明提供一种位置服务器SLS11,该位置服务器SLS11以可以实现本发明的实施例所提供的任一用户隐私保护的方法为准,参照图12所示,包括:The present invention provides a location server SLS11, and the location server SLS11 is subject to any user privacy protection method provided by the embodiments of the present invention, as shown in FIG. 12, including:

通信单元1101,用于通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值;The communication unit 1101 is configured to receive, through a router, a registration request message sent by a user equipment UE, where the registration request message includes a user identity of the UE, wherein, when the location server receives the registration request message sent by the user equipment UE , the location server generates a random value;

生成单元1102,用于根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识;a generating unit 1102, configured to generate a temporary user identity according to the random value, the user identity of the UE and the identifier of the location server;

存储单元1103,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;The storage unit 1103 is configured to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server generated by the generating unit, so that the location server is based on the corresponding relationship. identifying the message sent by the UE and containing the temporary user identity;

通信单元1101,还用于通过所述路由器将所述生成单元生成的所述临时用户标识转发至所述UE。The communication unit 1101 is further configured to forward the temporary user identity generated by the generating unit to the UE through the router.

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,生成单元1102,具体还用于:根据所述随机值、共享密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the generating unit 1102 is specifically further configured to: generate a temporary user identifier according to the random value, the shared key, the user identifier of the UE, and the identifier of the location server, and the common key is the same as the identifier of the location server. corresponding to the user identity of the UE.

可选的,通信单元1101,具体还用于:通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。Optionally, the communication unit 1101 is further configured to: forward a registration response message to the UE through the router, where the registration response message includes the temporary user identifier.

本发明实施例提供的位置服务器,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a random value generated randomly, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the real user ID by using the random user ID, It solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明的实施例提供一种用户设备UE12,参照图13所示,该用户设备UE12包括:至少一个处理器1201、存储器1202、通信端口1203和总线1204,该至少一个处理器1201、存储器1202和通信接口1203通过总线1204连接并完成相互间的通信。An embodiment of the present invention provides a user equipment UE12. Referring to FIG. 13 , the user equipment UE12 includes: at least one processor 1201, a memory 1202, a communication port 1203 and a bus 1204, the at least one processor 1201, the memory 1202 and the The communication interface 1203 is connected through the bus 1204 and completes mutual communication.

该总线1204可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线1304可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 1204 may be an Industry Standard Architecture (ISA for short) bus, a Peripheral Component (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus Wait. The bus 1304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus. in:

存储器1202用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器1202可能包含高速RAM(Random Access Memory,随机存储器),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1202 is used to store executable program code, which includes computer operation instructions. The memory 1202 may include a high-speed RAM (Random Access Memory, random access memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

处理器1201可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1201 may be a central processing unit (Central Processing Unit, CPU for short), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or is configured to implement one or more embodiments of the present invention integrated circuit.

通信接口1203,主要用于实现本实施例中的装置之间的通信。The communication interface 1203 is mainly used to implement communication between devices in this embodiment.

其中,处理器1201,用于通过至少一个通信接口1203通过路由器向位置服务器发送注册请求消息,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并将所述随机值发送给所述UE,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器根据所述随机值、共同密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息,所述共同密钥与所述UE的用户标识对应;The processor 1201 is configured to send a registration request message to a location server through a router through at least one communication interface 1203, so that the location server generates a random value when receiving the registration request message of the UE, and sends the random value to the location server. value is sent to the UE, and the registration request message includes the user identity of the UE, so that the location server can use the random value, the common key, the user identity of the UE, and the identity of the location server according to the random value. generate a temporary user identity from the identifier, and save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity, and the identity of the location server, so that the location server can identify the UE's identity according to the corresponding relationship. The sent message includes the temporary user identity, and the common key corresponds to the user identity of the UE;

处理器1201,还用于通过至少一个通信接口1203通过所述路由器接收所述位置服务器发送的所述随机值;The processor 1201 is further configured to receive the random value sent by the location server through the router through at least one communication interface 1203;

处理器1201,还用于根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成所述临时用户标识,所述共同密钥与所述UE的用户标识对应。The processor 1201 is further configured to generate the temporary user identity according to the shared key, the user identity of the UE, the random value and the pre-acquired identifier of the location server, the shared key and the The user identity of the UE described above corresponds to.

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,处理器1201,具体还用于:通过至少一个通信接口1203通过所述路由器接收所述位置服务器发送的认证请求消息,所述认证请求消息中包括所述随机值。Optionally, the processor 1201 is further configured to: receive an authentication request message sent by the location server through the router through at least one communication interface 1203, where the authentication request message includes the random value.

可选的,处理器1201,具体还用于:通过至少一个通信接口1203通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述随机值。Optionally, the processor 1201 is further configured to: receive a registration response message sent by the location server through the router through at least one communication interface 1203, where the registration response message includes the random value.

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

本发明的实施例提供一种位置服务器SLS13,参照图14所示,该位置服务器SLS13包括:至少一个处理器1301、存储器1302、通信端口1303和总线1304,该至少一个处理器1301、存储器1302和通信接口1303通过总线1304连接并完成相互间的通信。An embodiment of the present invention provides a location server SLS13, as shown in FIG. 14, the location server SLS13 includes: at least one processor 1301, a memory 1302, a communication port 1303 and a bus 1304, the at least one processor 1301, the memory 1302 and the The communication interface 1303 is connected through the bus 1304 and completes mutual communication.

该总线1304可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线1304可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 1304 may be an Industry Standard Architecture (ISA for short) bus, a Peripheral Component (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus Wait. The bus 1304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 14, but it does not mean that there is only one bus or one type of bus. in:

存储器1302用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器1302可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1302 is used to store executable program code, the program code including computer operating instructions. The memory 1302 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

处理器1301可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1301 may be a central processing unit (Central Processing Unit, CPU for short), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or is configured to implement one or more embodiments of the present invention integrated circuit.

通信接口1303,主要用于实现本实施例中的装置之间的通信。The communication interface 1303 is mainly used to implement communication between devices in this embodiment.

其中,处理器1301,用于通过至少一个通信接口1303通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述UE发送的注册请求消息时,所述位置服务器生成随机值;The processor 1301 is configured to receive a registration request message sent by a user equipment UE through a router through at least one communication interface 1303, where the registration request message includes the user identity of the UE, wherein when the location server receives the registration request message When the registration request message is sent by the UE, the location server generates a random value;

处理器1301,还用于通过至少一个通信接口1303通过所述路由器将所述随机值发送给所述UE,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识;The processor 1301 is further configured to send the random value to the UE through the router through at least one communication interface 1303, so that the UE can obtain the random value according to the shared key, the user identity of the UE, the random value value and the pre-acquired identifier of the location server to generate a temporary user identity;

处理器1301,还用于根据所述UE的用户标识获取共同密钥,并根据所述共享密钥,所述UE的用户标识,所述随机值以及所述位置服务器的标识符生成所述临时用户标识;The processor 1301 is further configured to obtain a common key according to the user identity of the UE, and generate the temporary key according to the shared key, the user identity of the UE, the random value and the identifier of the location server User ID;

存储器1302,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、所述UE标识以及所述位置服务器的标识的对应关系,并通过所述对应关系识别所述UE发送的包含所述临时用户标识的消息。The memory 1302 is used to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server generated by the generating unit, and identify the UE through the corresponding relationship The sent message contains the temporary user identification.

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,处理器1301,具体还用于:通过至少一个通信接口1303通过所述路由器向所述UE发送认证请求消息,所述认证请求消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the processor 1301 is further configured to: send an authentication request message to the UE through the router through at least one communication interface 1303, where the authentication request message includes a random value, so that the UE according to the The shared key, the user identifier of the UE, the random value and the pre-acquired identifier of the location server generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

可选的,处理器1301,具体还用于:通过至少一个通信接口1303通过所述路由器向所述UE转发注册响应消息,所述注册响应消息中包括随机值,以使得所述UE根据所述共享密钥,所述UE的用户标识,所述随机值以及预先获取的所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the processor 1301 is further configured to: forward a registration response message to the UE through the router through at least one communication interface 1303, where the registration response message includes a random value, so that the UE can make the UE according to the The shared key, the user identifier of the UE, the random value and the pre-acquired identifier of the location server generate a temporary user identifier, and the common key corresponds to the user identifier of the UE.

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

本发明的实施例提供一种用户设备UE14,参照图15所示,该用户设备UE14包括:至少一个处理器1401、存储器1402、通信端口1403和总线1404,该至少一个处理器1401、存储器1402和通信接口1403通过总线1404连接并完成相互间的通信。An embodiment of the present invention provides a user equipment UE14. Referring to FIG. 15, the user equipment UE14 includes: at least one processor 1401, a memory 1402, a communication port 1403 and a bus 1404, the at least one processor 1401, the memory 1402 and the The communication interface 1403 is connected through the bus 1404 and completes mutual communication.

该总线1404可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线1404可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 1404 may be an Industry Standard Architecture (ISA for short) bus, a Peripheral Component (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus Wait. The bus 1404 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 15, but it does not mean that there is only one bus or one type of bus. in:

存储器1402用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器1402可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1402 is used to store executable program code, which includes computer operation instructions. The memory 1402 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

处理器1401可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1401 may be a central processing unit (Central Processing Unit, CPU for short), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or is configured to implement one or more embodiments of the present invention integrated circuit.

通信接口1403,主要用于实现本实施例中的装置之间的通信。The communication interface 1403 is mainly used to implement communication between devices in this embodiment.

其中,处理器1401,用于通过至少一个通信接口1403通过路由器向位置服务器发送注册请求消息,所述注册请求消息中包含所述UE的用户标识,以使得所述位置服务器在接收到所述UE的注册请求消息时生成随机值,并根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,并保存所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;The processor 1401 is configured to send a registration request message to the location server through the router through at least one communication interface 1403, where the registration request message includes the user identifier of the UE, so that the location server receives the UE A random value is generated when the registration request message is sent, and a temporary user identity is generated according to the random value, the UE's user identity and the location server's identifier, and the temporary user identity, the UE's user identity, The correspondence between the UE identity and the identity of the location server, so that the location server identifies the message containing the temporary user identity sent by the UE according to the correspondence;

处理器1401,还用于通过至少一个通信接口1403通过所述路由器接收所述临时用户标识。The processor 1401 is further configured to receive the temporary user identifier through the router through at least one communication interface 1403 .

本发明实施例提供的用户设备,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

进一步的,处理器1401,具体还用于通过至少一个通信接口1403通过所述路由器接收所述位置服务器发送的注册响应消息,所述注册响应消息中包括所述临时用户标识。Further, the processor 1401 is further configured to receive a registration response message sent by the location server through the router through at least one communication interface 1403, where the registration response message includes the temporary user identifier.

本发明实施例提供的用户设备,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the user equipment provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a randomly generated random value, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the real user ID by using the random user ID, It solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明的实施例提供一种位置服务器SLS15,参照图16所示,该位置服务器SLS15包括:至少一个处理器1501、存储器1502、通信端口1503和总线1504,该至少一个处理器1501、存储器1502和通信接口1503通过总线1504连接并完成相互间的通信。An embodiment of the present invention provides a location server SLS15, as shown in FIG. 16 , the location server SLS15 includes: at least one processor 1501, a memory 1502, a communication port 1503 and a bus 1504, the at least one processor 1501, the memory 1502 and the The communication interface 1503 is connected through the bus 1504 and communicates with each other.

该总线1504可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线1504可以分为地址总线、数据总线、控制总线等。为便于表示,图16中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 1504 may be an Industry Standard Architecture (ISA for short) bus, a Peripheral Component (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus Wait. The bus 1504 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 16, but it does not mean that there is only one bus or one type of bus. in:

存储器1502用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器1502可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1502 is used to store executable program code, which includes computer operation instructions. The memory 1502 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.

处理器1501可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1501 may be a central processing unit (Central Processing Unit, CPU for short), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or is configured to implement one or more embodiments of the present invention integrated circuit.

通信接口1503,主要用于实现本实施例中的装置之间的通信。The communication interface 1503 is mainly used to implement communication between the devices in this embodiment.

其中,处理器1501,用于通过至少一个通信接口1503通过路由器接收用户设备UE发送的注册请求消息,所述注册请求消息中包含所述UE的用户标识,其中,当所述位置服务器接收所述用户设备UE发送的注册请求消息时,所述位置服务器生成随机值;The processor 1501 is configured to receive a registration request message sent by a user equipment UE through a router through at least one communication interface 1503, where the registration request message includes the user identity of the UE, wherein when the location server receives the registration request message When a registration request message is sent by the user equipment UE, the location server generates a random value;

处理器1501,还用于根据所述随机值、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识;The processor 1501 is further configured to generate a temporary user identifier according to the random value, the user identifier of the UE and the identifier of the location server;

存储器1502,用于保存所述生成单元生成的所述临时用户标识、所述UE的用户标识、UE标识以及所述位置服务器的标识的对应关系,以使得所述位置服务器根据所述对应关系识别所述UE的发送的包含所述临时用户标识的消息;The memory 1502 is used to save the corresponding relationship between the temporary user identity, the user identity of the UE, the UE identity and the identity of the location server generated by the generating unit, so that the location server can identify the corresponding relationship a message sent by the UE that includes the temporary user identity;

处理器1501,还用于通过至少一个通信接口1503通过所述路由器将所述生成单元生成的所述临时用户标识转发至所述UE。The processor 1501 is further configured to forward the temporary user identity generated by the generating unit to the UE through the router through at least one communication interface 1503 .

本发明实施例提供的位置服务器,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the user equipment UE sends the user identity of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identity of the UE, the user identity of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

可选的,处理器1501,具体还用于:根据所述随机值、共享密钥、所述UE的用户标识以及所述位置服务器的标识符生成临时用户标识,所述共同密钥与所述UE的用户标识对应。Optionally, the processor 1501 is further configured to: generate a temporary user identifier according to the random value, the shared key, the user identifier of the UE, and the identifier of the location server, and the common key is the same as the identifier of the location server. corresponding to the user identity of the UE.

可选的,处理器1501,具体还用于:通过至少一个通信接口1503通过所述路由器转发注册响应消息至所述UE,所述注册响应消息中包括所述临时用户标识。Optionally, the processor 1501 is further configured to: forward a registration response message to the UE through the router through at least one communication interface 1503, where the registration response message includes the temporary user identifier.

本发明实施例提供的位置服务器,位置服务器根据随机生成的随机值生成临时用户标识,并通过注册响应消息携带临时用户标识经由路由器发送至用户设备UE,进而通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the location server provided by the embodiment of the present invention, the location server generates a temporary user identifier according to a random value generated randomly, and sends the temporary user identifier to the user equipment UE through a router through a registration response message, and then hides the real user ID by using the random user ID, It solves the problem of user privacy exposure and improves the user's sense of security in the network experience.

本发明的实施例提供一种通信系统16,参照图17所示,包括:位置服务器SLS1601、域路由器DR1602以及与DR连接的用户设备UE1603,其中,An embodiment of the present invention provides a communication system 16, as shown in FIG. 17, including: a location server SLS1601, a domain router DR1602, and a user equipment UE1603 connected to the DR, wherein,

该位置服务器SLS1601为图10所示的位置服务器SLS;The location server SLS1601 is the location server SLS shown in Figure 10;

该用户设备UE1603为图9所示的用户设备UE;The user equipment UE1603 is the user equipment UE shown in FIG. 9;

或者,or,

该位置服务器SLS1601为图12所示的位置服务器SLS;The location server SLS1601 is the location server SLS shown in Figure 12;

该用户设备UE1603为图11所示的用户设备UE;The user equipment UE1603 is the user equipment UE shown in FIG. 11 ;

或者,or,

该位置服务器SLS1601为图14所示的位置服务器SLS;The location server SLS1601 is the location server SLS shown in Figure 14;

该用户设备UE1603为图13所示的用户设备UE;The user equipment UE1603 is the user equipment UE shown in FIG. 13 ;

或者,or,

该位置服务器SLS1601为图16所示的位置服务器SLS;The location server SLS1601 is the location server SLS shown in Figure 16;

该用户设备UE1603为图15所示的用户设备UE。The user equipment UE1603 is the user equipment UE shown in FIG. 15 .

本发明实施例提供的通信系统,用户设备UE通过注册请求消息将用户设备的用户标识发送至位置服务器,并根据该UE的用户标识获取所述共享密钥,用户设备的用户标识,预先获得的位置服务器的标识以及共享密钥生成临时用户标识,通过利用随机用户ID隐藏用户真实ID,解决了用户隐私暴露的问题,提升了用户网络体验的安全感。In the communication system provided by the embodiment of the present invention, the user equipment UE sends the user identification of the user equipment to the location server through a registration request message, and obtains the shared key according to the user identification of the UE, the user identification of the user equipment, the pre-obtained The ID of the location server and the shared key generate a temporary user ID, and by using a random user ID to hide the user's real ID, the problem of user privacy exposure is solved, and the user's sense of security in the network experience is improved.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM(Read Only Memory,只读存储器)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。From the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that a computer can access. Taking this as an example but not limited to: the computer readable medium may include RAM, ROM (Read Only Memory, read only memory) or other optical disk storage, magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store instructions or desired program code in the form of data structures and any other medium that can be accessed by a computer. also. Any connection can be appropriately made into a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fusing of the pertinent medium. As used in the present invention, Disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disc and blu-ray disc, where discs usually reproduce data magnetically, while discs Lasers are used to optically copy data. Combinations of the above should also be included within the scope of computer-readable media.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (23)

1. A method of user privacy protection, comprising:
user Equipment (UE) sends a registration request message to a location server through a router, so that the location server generates a random value when receiving the registration request message of the UE and sends the random value to the UE, wherein the registration request message comprises a user identifier of the UE, so that the location server generates a temporary user identifier according to the random value, a shared key, the user identifier of the UE and an identifier of the location server, and stores a corresponding relation among the temporary user identifier, the user identifier of the UE, the UE identifier and the identifier of the location server, so that the location server identifies the message which is sent by the UE and contains the temporary user identifier according to the corresponding relation, and the shared key corresponds to the user identifier of the UE;
the UE receives the random value sent by the location server through the router;
and the UE generates the temporary user identifier according to the shared secret key, the user identifier of the UE, the random value and the identifier of the position server acquired in advance, wherein the shared secret key corresponds to the user identifier of the UE.
2. The method of claim 1, wherein the UE receiving, by the router, the random value sent by the location server comprises:
and the UE receives an authentication request message sent by the location server through the router, wherein the authentication request message comprises the random value.
3. The method of claim 1, wherein the UE receiving, by the router, the random value sent by the location server comprises:
and the UE receives a registration response message sent by the location server through the router, wherein the registration response message comprises the random value.
4. A method of user privacy protection, comprising:
a location server receives a registration request message sent by User Equipment (UE) through a router, wherein the registration request message comprises a user identifier of the UE, and when the location server receives the registration request message sent by the UE, the location server generates a random value;
the location server sends the random value to the UE through the router, so that the UE generates a temporary user identifier according to a shared key, a user identifier of the UE, the random value and a pre-acquired identifier of the location server;
the location server acquires a shared key according to the user identifier of the UE, and generates the temporary user identifier according to the shared key, the user identifier of the UE, the random value and the identifier of the location server;
and the position server stores the corresponding relation among the temporary user identification, the user identification of the UE, the UE identification and the identification of the position server, and identifies the message which is sent by the UE and contains the temporary user identification through the corresponding relation.
5. The method of claim 4, wherein the location server sending the random value to the UE via the router comprises:
and the location server sends an authentication request message to the UE through the router, wherein the authentication request message comprises a random value, so that the UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and a pre-acquired identifier of the location server, and the shared key corresponds to the user identifier of the UE.
6. The method of claim 4, wherein the location server sending the random value to the UE via the router comprises:
and the location server forwards a registration response message to the UE through the router, wherein the registration response message comprises a random value, so that the UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and a pre-acquired identifier of the location server, and the shared key corresponds to the user identifier of the UE.
7. A method of user privacy protection, comprising:
user Equipment (UE) sends a registration request message to a location server through a router, wherein the registration request message contains a user identifier of the UE, so that the location server generates a random value when receiving the registration request message of the UE, generates a temporary user identifier according to the random value, the user identifier of the UE and an identifier of the location server, and stores a corresponding relation among the temporary user identifier, the user identifier of the UE, the UE identifier and the identifier of the location server, so that the location server identifies the message which contains the temporary user identifier and is sent by the UE according to the corresponding relation;
and the UE receives the temporary user identification through the router.
8. The method of claim 7, wherein the UE receiving the temporary subscriber identity through the router comprises:
and the UE receives a registration response message sent by the location server through the router, wherein the registration response message comprises the temporary user identification.
9. A method of user privacy protection, comprising:
a location server receives a registration request message sent by User Equipment (UE) through a router, wherein the registration request message comprises a user identifier of the UE, and when the location server receives the registration request message sent by the UE, the location server generates a random value;
the location server generates a temporary user identifier according to the random value, the user identifier of the UE and the identifier of the location server;
the location server stores the corresponding relation among the temporary user identifier, the user identifier of the UE, the UE identifier and the identifier of the location server, so that the location server identifies the message which is sent by the UE and contains the temporary user identifier according to the corresponding relation;
and the location server forwards the temporary user identification to the UE through the router.
10. The method of claim 9, wherein the location server generating a temporary subscriber identity based on the random value, the UE subscriber identity, and the location server identifier comprises:
and the location server generates a temporary user identifier according to the random value, a shared key, the user identifier of the UE and the identifier of the location server, wherein the shared key corresponds to the user identifier of the UE.
11. The method of claim 9, wherein the location server forwards the temporary subscriber identity to the UE through the router, comprising:
and the location server forwards a registration response message to the UE through the router, wherein the registration response message comprises the temporary user identification.
12. A user device, comprising:
a communication unit, configured to send a registration request message to a location server through a router, so that the location server generates a random value when receiving a registration request message of a UE, and sends the random value to the UE, where the registration request message includes a user identifier of the UE, so that the location server generates a temporary user identifier according to the random value, a shared key, the user identifier of the UE, and an identifier of the location server, and stores a correspondence between the temporary user identifier, the user identifier of the UE, the UE identifier, and the identifier of the location server, so that the location server identifies, according to the correspondence, a message sent by the UE and including the temporary user identifier, where the shared key corresponds to the user identifier of the UE;
the communication unit is further configured to receive, by the router, the random value sent by the location server;
and a generating unit, configured to generate the temporary user identifier according to the shared key, the user identifier of the UE, the random value, and a pre-acquired identifier of the location server, where the shared key corresponds to the user identifier of the UE.
13. The ue of claim 12, wherein the communication unit is further configured to:
and receiving an authentication request message sent by the location server through the router, wherein the authentication request message comprises the random value.
14. The ue of claim 12, wherein the communication unit is further configured to:
and receiving a registration response message sent by the location server through the router, wherein the registration response message comprises the random value.
15. A location server, comprising:
a communication unit, configured to receive, through a router, a registration request message sent by a user equipment UE, where the registration request message includes a user identifier of the UE, and where, when the location server receives the registration request message sent by the UE, the location server generates a random value;
the communication unit is further configured to send the random value to the UE through the router, so that the UE generates a temporary user identifier according to a shared key, a user identifier of the UE, the random value, and a pre-acquired identifier of the location server;
a generating unit, configured to obtain a shared key according to the user identifier of the UE, and generate the temporary user identifier according to the shared key, the user identifier of the UE, the random value, and the identifier of the location server;
and the storage unit is used for storing the corresponding relation among the temporary user identifier, the user identifier of the UE, the UE identifier and the identifier of the location server generated by the generation unit and identifying the message which is sent by the UE and contains the temporary user identifier through the corresponding relation.
16. The location server according to claim 15, wherein the communication unit is further configured to:
and sending an authentication request message to the UE through the router, wherein the authentication request message comprises a random value, so that the UE generates a temporary user identifier according to the shared secret key, the user identifier of the UE, the random value and the identifier of the position server acquired in advance, and the shared secret key corresponds to the user identifier of the UE.
17. The location server according to claim 15, wherein the communication unit is further configured to:
and forwarding a registration response message to the UE through the router, wherein the registration response message comprises a random value, so that the UE generates a temporary user identifier according to the shared key, the user identifier of the UE, the random value and the identifier of the location server acquired in advance, and the shared key corresponds to the user identifier of the UE.
18. A user device, comprising:
a sending unit, configured to send a registration request message to a location server through a router, where the registration request message includes a user identifier of a user equipment UE, so that the location server generates a random value when receiving the registration request message of the UE, generates a temporary user identifier according to the random value, the user identifier of the UE, and an identifier of the location server, and stores a correspondence between the temporary user identifier, the user identifier of the UE, the UE identifier, and the identifier of the location server, so that the location server identifies, according to the correspondence, the message that includes the temporary user identifier and is sent by the UE;
a receiving unit, configured to receive the temporary user identifier through the router.
19. The ue of claim 18, wherein the receiving unit is further specifically configured to:
and receiving a registration response message sent by the location server through the router, wherein the registration response message comprises the temporary user identification.
20. A location server, comprising:
a communication unit, configured to receive, through a router, a registration request message sent by a user equipment UE, where the registration request message includes a user identifier of the UE, and where, when the location server receives the registration request message sent by the user equipment UE, the location server generates a random value;
a generating unit, configured to generate a temporary user identifier according to the random value, the user identifier of the UE, and the identifier of the location server;
a storage unit, configured to store a correspondence between the temporary user identifier, the user identifier of the UE, the UE identifier, and the identifier of the location server, which are generated by the generation unit, so that the location server identifies, according to the correspondence, a message that is sent by the UE and contains the temporary user identifier;
the communication unit is further configured to forward the temporary user identifier generated by the generation unit to the UE through the router.
21. The location server according to claim 20, wherein the generating unit is further configured to:
and generating a temporary user identifier according to the random value, a shared key, the user identifier of the UE and the identifier of the location server, wherein the shared key corresponds to the user identifier of the UE.
22. The location server of claim 20, wherein the communication unit is further configured to:
and forwarding a registration response message to the UE through the router, wherein the registration response message comprises the temporary user identification.
23. A communication system, comprising: a location server, a router, and a user equipment, UE, connected to the router, wherein,
the location server is the location server of any one of claims 15-17;
the user equipment UE is the user equipment of any one of claims 12-14;
or,
the location server is the location server of any one of claims 20-22;
the user equipment UE is the user equipment of any one of claims 18-19.
CN201410070160.3A 2014-02-27 2014-02-27 A method, device and system for user privacy protection Active CN104883339B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410070160.3A CN104883339B (en) 2014-02-27 2014-02-27 A method, device and system for user privacy protection
PCT/CN2014/080869 WO2015127736A1 (en) 2014-02-27 2014-06-26 Method, device and system for user privacy protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410070160.3A CN104883339B (en) 2014-02-27 2014-02-27 A method, device and system for user privacy protection

Publications (2)

Publication Number Publication Date
CN104883339A CN104883339A (en) 2015-09-02
CN104883339B true CN104883339B (en) 2019-06-21

Family

ID=53950674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410070160.3A Active CN104883339B (en) 2014-02-27 2014-02-27 A method, device and system for user privacy protection

Country Status (2)

Country Link
CN (1) CN104883339B (en)
WO (1) WO2015127736A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254308A (en) * 2016-07-01 2016-12-21 捷开通讯科技(上海)有限公司 Communication device intimacy protection system and method
KR102212873B1 (en) 2018-07-03 2021-02-09 한양대학교 산학협력단 Device and method for requesting message transmission, server for managing message transmission, and base station
CN109842880B (en) * 2018-08-23 2020-04-03 华为技术有限公司 Routing method, device and system
CN110858992A (en) 2018-08-23 2020-03-03 华为技术有限公司 Routing method, device and system
CN109889541A (en) * 2019-03-25 2019-06-14 郑州轻工业学院 Mobile device authentication method with anonymous reward distribution and identity privacy protection
CN110069945B (en) * 2019-04-11 2021-02-26 西华大学 Method, device and system for protecting user privacy

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1313287A2 (en) * 2001-11-20 2003-05-21 Nokia Corporation SIP-level confidentiality protection
CN101272589A (en) * 2007-03-21 2008-09-24 展讯通信(上海)有限公司 Method for switch mobile phone device number and protecting user intimacy and mobile phone thereof
CN101488945A (en) * 2008-01-14 2009-07-22 北京大唐高鸿数据网络技术有限公司 Authentication method oriented to SIP
EP2237473A4 (en) * 2008-01-31 2011-05-18 Huawei Tech Co Ltd Method, apparatus and system for configuring key
CN102348280A (en) * 2010-08-02 2012-02-08 中兴通讯股份有限公司 Terminal location information obtaining method, system and device
CN103281672A (en) * 2013-06-08 2013-09-04 南京大学 Method for protecting position privacy by mobile terminals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1313287A2 (en) * 2001-11-20 2003-05-21 Nokia Corporation SIP-level confidentiality protection
CN101272589A (en) * 2007-03-21 2008-09-24 展讯通信(上海)有限公司 Method for switch mobile phone device number and protecting user intimacy and mobile phone thereof
CN101488945A (en) * 2008-01-14 2009-07-22 北京大唐高鸿数据网络技术有限公司 Authentication method oriented to SIP
EP2237473A4 (en) * 2008-01-31 2011-05-18 Huawei Tech Co Ltd Method, apparatus and system for configuring key
CN102348280A (en) * 2010-08-02 2012-02-08 中兴通讯股份有限公司 Terminal location information obtaining method, system and device
CN103281672A (en) * 2013-06-08 2013-09-04 南京大学 Method for protecting position privacy by mobile terminals

Also Published As

Publication number Publication date
CN104883339A (en) 2015-09-02
WO2015127736A1 (en) 2015-09-03

Similar Documents

Publication Publication Date Title
US12057963B2 (en) Connecting to a home area network via a mobile communication network
CN104883339B (en) A method, device and system for user privacy protection
CN111147421B (en) Authentication method based on general guide architecture GBA and related equipment
JP4965671B2 (en) Distribution of user profiles, policies and PMIP keys in wireless communication networks
WO2019158028A1 (en) Communication method and device
CN108769292B (en) Message data processing method and device
CN104917605B (en) The method and apparatus of key agreement during a kind of terminal device switching
US20170026896A1 (en) Terminal device, relay terminal device, and communication control method
CN104852891B (en) A kind of method, equipment and system that key generates
CN107006052B (en) Method, storage medium, node, device and system for connection establishment
TW201935991A (en) Method and system for apparatus awaiting network configuration to access hot spot network apparatus
CN104426887B (en) Service authority determines method and apparatus
CN102143136B (en) Method for accessing service wholesale network, equipment, server and system
CN104767715A (en) Network access control method and device
US11171927B2 (en) Method for enabling establishment of a direct connection
CN106878259B (en) Message forwarding method and device
CN103650457A (en) Detection method, device and terminal device of share access
JP6056970B2 (en) Information processing apparatus, terminal, information processing system, and information processing method
JP2010041590A (en) Communication system, server apparatus, information notification method, and program
CN116711387A (en) Method, device and system for authentication and authorization by using edge data network
CN102811263A (en) Communication method and system based on IPv6 for mobile terminal and mobile terminal
CN110224980B (en) Credible MPTCP transmission method and system
CN109361684B (en) Dynamic encryption method and system for VXLAN tunnel
WO2015131567A1 (en) Ipv6 address management method, device and terminal
CN103188258B (en) A kind of encryption device and method that realizes safety amendment information protocol message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant