WO2016154886A1 - 获取鉴权信息的方法、装置及终端 - Google Patents

获取鉴权信息的方法、装置及终端 Download PDF

Info

Publication number
WO2016154886A1
WO2016154886A1 PCT/CN2015/075479 CN2015075479W WO2016154886A1 WO 2016154886 A1 WO2016154886 A1 WO 2016154886A1 CN 2015075479 W CN2015075479 W CN 2015075479W WO 2016154886 A1 WO2016154886 A1 WO 2016154886A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
authentication information
communication module
user authentication
base station
Prior art date
Application number
PCT/CN2015/075479
Other languages
English (en)
French (fr)
Inventor
王彦辉
王强
杨东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/075479 priority Critical patent/WO2016154886A1/zh
Priority to CN201580030011.7A priority patent/CN106416337B/zh
Publication of WO2016154886A1 publication Critical patent/WO2016154886A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for obtaining authentication information.
  • each device needs to rely on the mobile phone as an Internet main body, and cannot work alone, resulting in poor use flexibility between devices.
  • an embodiment of the present invention provides a method, an apparatus, and a terminal for obtaining authentication information.
  • the technical solution is as follows:
  • a first aspect of the present invention provides a method for obtaining authentication information, which is applied to a device having a communication module, including:
  • the network access request is sent to the base station;
  • the method further includes:
  • the sending the random character string to the associated with the local end includes: one of a low-power LAN protocol ZigBee protocol, a Bluetooth protocol, a wireless fidelity WI-FI protocol, and a short-range wireless communication technology NFC protocol.
  • the device with the communication module includes: a smart watch , one or more of smart bracelets, in-vehicle devices, and smart home appliances.
  • a second aspect of the present invention provides a method for obtaining authentication information, which is applied to a shared device having a user authentication module, including:
  • the method further includes:
  • the device having the communication module belongs to the device associated with the local end, performing, according to the first random character string, calculating, in the user authentication module, the first device corresponding to the device having the communication module The steps to authenticate information.
  • the method further includes:
  • the user authentication module includes: soft client identification Module SIM card.
  • the third aspect of the present invention provides an apparatus for obtaining authentication information, which is applied to a device having a communication module, including:
  • a first sending module configured to send a network access request to the base station when the local end needs to access the mobile network
  • a first receiving module configured to receive a first random character string returned by the base station according to the network access request
  • a second sending module configured to send the first random string to a shared device with a user authentication module associated with the local end
  • the second receiving module is configured to receive first authentication information returned by the shared device.
  • the device further includes:
  • the first network access module is configured to send the first authentication information to the base station to complete a process of accessing the network.
  • the sending the random character string to the associated with the local end includes one of ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
  • the device with the communication module includes: a smart watch, One or more of smart bracelets, in-vehicle devices, and smart home appliances.
  • the device for obtaining the authentication information provided by the embodiment of the present invention is applied to a shared device having a user authentication module, including:
  • a third receiving module configured to receive a first random character string sent by the device with the communication module
  • a first calculation module configured to calculate first authentication information corresponding to the device with the communication module in the user authentication module according to the first random string
  • a third sending module configured to send the first authentication information to the device that has the communication module.
  • the device further includes:
  • a querying module configured to query whether the device with the communication module belongs to a device associated with the local end
  • An execution module configured to calculate, according to the first random string, the calculation of the communication module in the user authentication module, if the device having the communication module belongs to the device associated with the local end The step of the first authentication information corresponding to the device.
  • the apparatus in conjunction with the fourth aspect, or the first possible implementation manner of the fourth aspect, further includes:
  • a fourth sending module configured to send a network access request to the base station when the shared device that has the user authentication module needs to access the mobile network
  • a fourth receiving module configured to receive a second random character string returned by the base station according to the network access request
  • a second calculating module configured to calculate second authentication information corresponding to the user in the user authentication module according to the second random string
  • the second network access module is configured to send the second authentication information to the base station to complete a process of accessing the network.
  • the user authentication module includes: soft customer identification Module SIM card.
  • a terminal provided by an embodiment of the present invention is applied to a device that includes a communication module, where the terminal includes: a transmitter and a receiver, where
  • the transmitter is configured to send a network access request to the base station when the local end needs to access the mobile network, and send the first random character string to the shared device with the user authentication module associated with the local end;
  • the receiver is configured to receive a first random character string returned by the base station according to the network access request, and receive first authentication information returned by the shared device.
  • the transmitter is further configured to send the first authentication information to the base station to complete a process of accessing the network.
  • the sending the random character string to the associated end includes one of ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
  • the device with the communication module includes one or more of a smart watch, a smart wristband, an in-vehicle device, and a smart home device.
  • a terminal provided by the embodiment of the present invention is applied to a shared device that has a user authentication module, where the terminal includes: a transmitter, a receiver, and a processor.
  • the receiver is configured to receive a first random character string sent by a device that has a communication module
  • the processor is configured to calculate first authentication information corresponding to the device with the communication module in the user authentication module according to the first random string;
  • the transmitter is configured to send the first authentication information to the device that has the communication module.
  • the processor is further configured to query whether the device with the communication module belongs to a device associated with the local end; if the device that is configured to be the communication module belongs to the device associated with the local end, a first random string, in which the first authentication information corresponding to the device having the communication module is calculated in the user authentication module.
  • the transmitter is further configured to: when the shared device that has the user authentication module needs to access the mobile network, send a network access request to the base station; and send the second authentication information to the base station to complete the access.
  • Network process
  • the receiver is further configured to receive a second random character string returned by the base station according to the network access request;
  • the processor is further configured to calculate second authentication information corresponding to the user in the user authentication module according to the second random string.
  • the user authentication module includes: soft customer identification Module SIM card.
  • the technical solution provided by the embodiment of the present invention sends a random character string returned by the base station to a shared device with a user authentication module associated with the device having the communication module when the device having the communication module needs to access the mobile network.
  • the sharing device determines authentication information and accesses the mobile network through the authentication information. Realize the device with communication module without relying on other Internet access entities, independent connection Into the mobile network, the flexibility of the use of the device is increased, and the efficiency of the device accessing the network is improved.
  • FIG. 1 is a flowchart of a method for obtaining authentication information according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for obtaining authentication information according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a shared device according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of another sharing device according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a method for obtaining authentication information according to Embodiment 3 of the present invention.
  • FIG. 6 is a system architecture diagram of a shared device according to Embodiment 3 of the present invention.
  • FIG. 7 is a system architecture diagram of another shared device according to Embodiment 3 of the present invention.
  • FIG. 8 is a flowchart of a method for obtaining authentication information according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for acquiring authentication information according to Embodiment 5 of the present invention.
  • FIG. 10 is a schematic structural diagram of an apparatus for acquiring authentication information according to Embodiment 6 of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal according to Embodiment 7 of the present invention.
  • FIG. 12 is a schematic structural diagram of a terminal according to Embodiment 8 of the present invention.
  • An embodiment of the present invention provides a method for obtaining authentication information, which is applied to a device having a communication module, as shown in FIG. 1 .
  • the method includes:
  • Step 102 Receive a first random character string returned by the base station according to the network access request, and send the first random character string to the shared device with the user authentication module associated with the local end;
  • the local end is a device having a communication module
  • the device having the communication module includes: a smart watch, One or more of smart bracelets, in-vehicle devices, and smart home appliances.
  • the communication module is configured to enable the local device to perform signaling interaction with the base station to access the mobile network, and perform data interaction with the base station after accessing the mobile network.
  • the user authentication module may be an existing SIM (Subscriber Identity Module) card, or may be a built-in SIM module, a soft SIM card, or even no SIM card entity, and only a software function module SIM card.
  • the user authentication module can generate the authentication information through the authentication algorithm by using a random character string sent by the base station and key information saved by the base station.
  • the communication method may select one of a Zigbee protocol transmission mode, a Bluetooth protocol transmission mode, and a WI-FI protocol transmission mode.
  • the local device needs to have the transmission module corresponding to the various transmission protocols selected above.
  • the device associated with the communication module and the shared device with the user authentication module establish an association relationship through a preset transmission protocol, and store corresponding device identifiers with each other.
  • the method of establishing the association relationship may be performed by the transmission module corresponding to the foregoing transmission protocol, and the local end is paired with the shared device having the user authentication module, and after the pairing is successful, the two devices respectively record the other party.
  • logo the transmission module corresponding to the foregoing transmission protocol
  • the communication module includes a baseband main chip and a radio frequency chip.
  • the authentication information may include, but is not limited to, the following content:
  • the second generation mobile phone communication technology authentication 3-tuple includes elements: RAND (Random Number), SRES (Signed Response, authentication response), Kc (Ciphering Key, key);
  • the third-generation mobile communication technology authentication 5-tuple includes elements: RAND (Random Number), XRES (Expected Response), IK (Integrity Key), CK (Cipher Key, Encryption key), AUTN (Authentication Token).
  • the technical solution provided by the embodiment of the present invention sends a random character string returned by the base station to a shared device with a user authentication module associated with the device having the communication module when the device having the communication module needs to access the mobile network.
  • the sharing device determines authentication information and accesses the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on other Internet access entities, improves the flexibility of the device, and improves the efficiency of the device accessing the network.
  • the embodiment of the invention provides a method for obtaining authentication information, which is applied to a shared device with a user authentication module, as shown in FIG. 2 .
  • the method includes:
  • the local end of the embodiment of the present invention is a shared device with a user authentication module.
  • the local end can include two forms:
  • the first form is a first form:
  • the shared device exists as a standalone device and has a user authentication module itself, but does not have a communication module.
  • the local device exists only in the network as a device that assists in generating authentication information.
  • the shared device needs to have a transmission module for transmitting data with the device having the communication module. Therefore, the transmission mode selected in the transmission module in the shared device needs to support the same transmission protocol as the device with the communication module.
  • the wearable device is a smart watch or a smart bracelet
  • the wearable device may include: a SIM card slot, a SIM card, a transmission chip, a wearable device circuit, a display screen, and a battery.
  • the SIM card slot and the SIM card provide the function of generating authentication information;
  • the transmission chip integrates a processor and a wireless channel, and is mainly used to manage the authentication priority of a plurality of devices having the communication module, and through the wireless channel in the chip. Transmission of authentication information; the wearable device circuit and display complete the function of the watch bracelet itself.
  • FIG. 3 a schematic diagram of the structure in the shared device in the current situation is shown in the figure.
  • the shared device is integrated into the network card of the USB (Universal Serial Bus) interface, and can be powered by the USB interface in the vehicle or the computer.
  • the shared device needs to have a transmission module for transmitting data with the device having the communication module. Therefore, the transmission mode selected in the transmission module in the shared device needs to support the same transmission protocol as the device with the communication module.
  • the battery, the wearable device circuit, and the display screen are omitted.
  • the other parts are the same as above.
  • a communication module is built in the shared device to form a shared device, which can assist the device that needs to access the network to generate authentication information, and can also assist the shared device to generate authentication information and access the network.
  • the shared device with the communication module also belongs to the device with the communication module, and the physical device may include, but is not limited to, a wearable device, and may also be a device such as a mobile phone or a tablet computer.
  • FIG. 4 a schematic diagram of the structure in the shared device in the present case is shown in the figure.
  • the embodiment of the invention receives the random character string sent by the device with the communication module, and calculates the authentication information in the user authentication module according to the random character string, and returns the authentication information to the device that needs to access the network.
  • the device having the communication module can complete the process of accessing the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on the shared device with the user authentication module, thereby improving the flexibility of the device and improving the efficiency of the device accessing the network.
  • An embodiment of the present invention provides a method for obtaining authentication information, as shown in FIG. 5.
  • the embodiment of the present invention is described with respect to the case of the first form in Embodiment 2.
  • the embodiments of the present invention may include, but are not limited to, LTE (Long Term Evolution) and/or UMTS (Universal Mobile Telecommunications System) networks for authentication and obtaining authentication information.
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunications System
  • Network access process may include, but are not limited to, LTE (Long Term Evolution) and/or UMTS (Universal Mobile Telecommunications System) networks for authentication and obtaining authentication information.
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunications System
  • the method comprises:
  • the base station receives the network access request, generates a first random character string according to the network access request, and returns the first random character string to the device that has the communication module.
  • the transmission protocol for sending the random string to the shared device with the user authentication module associated with the local end includes: a low-power LAN protocol ZigBee protocol, a Bluetooth protocol, WI-FI (WIreless-FIdelity, wireless fidelity) Protocol and one of NFC (Near Field Communication) protocols.
  • the shared device with the user authentication module receives the first random string sent by the device with the communication module.
  • step 505 Query whether the device with the communication module belongs to the device associated with the shared device, and When it is found that the device having the communication module belongs to the device associated with the shared device, step 506 is performed.
  • 507 Send the first authentication information to the device that has the communication module, so that the device that has the communication module completes the access procedure of the mobile network according to the first authentication information.
  • the device with the communication module receives the first authentication information returned by the shared device.
  • 509 Send the first authentication information to the base station, and complete the process of accessing the network.
  • the base station receives the first authentication information, and performs authentication on the device that includes the communication module according to the first authentication information.
  • the base station After confirming the passage of the first authentication information, the base station returns legal information to the device having the communication module.
  • the device with the communication module receives the legal information returned by the base station to complete the process of accessing the network.
  • FIG. 6 is a system architecture diagram of a shared device having a user authentication module in a case where a plurality of devices pass the first form in Embodiment 2 in the embodiment of the present invention.
  • FIG. 7 is a system architecture diagram of a shared device having a user authentication module in a case where a plurality of devices pass the second form in Embodiment 2 in the embodiment of the present invention.
  • the wristband is a device with a communication module;
  • the mobile phone is a shared device with a user authentication module;
  • the user wears a wristband to prepare for a fitness workout, and after the wristband is connected to the network, the wristband is sensed through the network.
  • the somatosensory data is synced to the cloud for storage. Therefore, before the user goes out, the user needs to control the step of the wristband to perform access to the network.
  • the user's mobile phone can transmit data through the transmission module between the wristband and the wristband through the specified connection mode;
  • Each step in the embodiment of the present invention obtains the authentication information through the mobile phone, and accesses the network through the communication module according to the authentication information; after receiving the message of the access network prompted by the wristband, the user can go out and proceed.
  • Fitness activities, and the network of bracelet access can be realized without carrying a mobile phone.
  • the technical solution provided by the embodiment of the present invention sends a random character string returned by the base station to a shared device with a user authentication module associated with the device having the communication module when the device having the communication module needs to access the mobile network.
  • the sharing device determines authentication information and accesses the mobile network through the authentication information. Realize the device with communication module without relying on other Internet access entities, independent connection Into the mobile network, the flexibility of the use of the device is increased, and the efficiency of the device accessing the network is improved.
  • the device of the communication module can complete the process of accessing the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on the shared device with the user authentication module, thereby improving the flexibility of the device and improving the efficiency of the device accessing the network.
  • An embodiment of the present invention provides a method for obtaining authentication information, which is applied to a shared device having a user authentication module, as shown in FIG. 8.
  • the embodiment of the present invention is described with respect to the case of the second form in Embodiment 2.
  • embodiments of the present invention may include, but are not limited to, an authentication process performed after LTE and/or UMTS networks are authenticated and authentication information is obtained.
  • the method comprises:
  • the base station receives the network access request, generates a second random string according to the network access request, and returns the second random string to the shared device that has the user authentication module.
  • the base station receives the second authentication information, and performs authentication on the shared device that has the user authentication module according to the second authentication information.
  • the base station After confirming the passage of the second authentication information, the base station returns the legal information to the shared device that has the user authentication module.
  • the embodiment of the present invention directly calculates the authentication information through the user authentication module of the user, so that the shared device accesses the mobile network through its own user authentication module.
  • An embodiment of the present invention provides an apparatus for acquiring authentication information, which is applied to a device having a communication module, as shown in FIG. 9.
  • the device includes:
  • the first sending module 901 is configured to send a network access request to the base station when the local end needs to access the mobile network;
  • the first receiving module 902 is configured to receive a first random string returned by the base station according to the network access request;
  • the second sending module 903 is configured to send the first random character string to the shared device with the user authentication module associated with the local end;
  • the second receiving module 904 is configured to receive first authentication information returned by the shared device.
  • the device further comprises:
  • the first network access module 905 is configured to send the first authentication information to the base station to complete the process of accessing the network.
  • the transmission protocol for sending the random string to the shared device with the user authentication module associated with the local end includes: one of a ZigBee protocol, a Bluetooth protocol, a WI-FI protocol, and an NFC protocol.
  • the device with the communication module includes one or more of a smart watch, a smart wristband, an in-vehicle device, and a smart home appliance.
  • the technical solution provided by the embodiment of the present invention sends a random character string returned by the base station to a shared device with a user authentication module associated with the device having the communication module when the device having the communication module needs to access the mobile network.
  • the sharing device determines authentication information and accesses the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on other Internet access entities, improves the flexibility of the device, and improves the efficiency of the device accessing the network.
  • An embodiment of the present invention provides an apparatus for acquiring authentication information, which is applied to a shared device having a user authentication module, as shown in FIG.
  • the device includes:
  • the third receiving module 1001 is configured to receive a first random character string sent by the device that has the communication module;
  • the first calculation module 1002 is configured to calculate first authentication information corresponding to the device with the communication module in the user authentication module according to the first random string;
  • the third sending module 1003 is configured to send the first authentication information to the device that includes the communication module.
  • the device further comprises:
  • the query module 1004 is configured to query whether the device with the communication module belongs to the device associated with the local end;
  • the executing module 1005 is configured to: when the device that is configured to be the communication module belongs to the device associated with the local end, perform the first authentication corresponding to the device with the communication module in the user authentication module according to the first random string The steps of the information.
  • the device further comprises:
  • the fourth sending module 1006 is configured to: when the shared device that has the user authentication module needs to access the mobile network, send a network access request to the base station;
  • the fourth receiving module 1007 is configured to receive a second random character string returned by the base station according to the network access request.
  • the second calculation module 1008 is configured to calculate, according to the second random string, the second authentication information corresponding to the user in the user authentication module;
  • the second network access module 1009 is configured to send the second authentication information to the base station to complete the process of accessing the network.
  • the user authentication module includes: a soft SIM card.
  • the embodiment of the invention receives the random character string sent by the device with the communication module, and calculates the authentication information in the user authentication module according to the random character string, and returns the authentication information to the device that needs to access the network.
  • the device having the communication module can complete the process of accessing the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on the shared device with the user authentication module, thereby improving the flexibility of the device and improving the efficiency of the device accessing the network.
  • An embodiment of the present invention provides a terminal, which is applied to a device having a communication module, as shown in FIG. 11.
  • the terminal includes: a transmitter 1101 and a receiver 1102,
  • the transmitter 1101 is configured to: when the local end needs to access the mobile network, send a network access request to the base station; and send the first random character string to the shared device with the user authentication module associated with the local end;
  • the receiver 1102 is configured to receive a first random character string returned by the base station according to the network access request, and receive first authentication information returned by the shared device.
  • the transmitter 1101 is further configured to send the first authentication information to the base station to complete a process of accessing the network.
  • the transmission protocol for sending the random string to the shared device with the user authentication module associated with the local end includes: one of a ZigBee protocol, a Bluetooth protocol, a WI-FI protocol, and an NFC protocol.
  • the device with the communication module includes one or more of a smart watch, a smart wristband, an in-vehicle device, and a smart home appliance.
  • the technical solution provided by the embodiment of the present invention sends a random character string returned by the base station to a shared device with a user authentication module associated with the device having the communication module when the device having the communication module needs to access the mobile network.
  • the sharing device determines authentication information and accesses the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on other Internet access entities, improves the flexibility of the device, and improves the efficiency of the device accessing the network.
  • the embodiment of the invention provides a terminal, which is applied to a shared device with a user authentication module, as shown in FIG. 12 .
  • the terminal includes: a transmitter 1201, a receiver 1202, and a processor 1203,
  • a receiver 1202 configured to receive a first random character string sent by a device that has a communication module
  • the processor 1203 is configured to calculate first authentication information corresponding to the device with the communication module in the user authentication module according to the first random string;
  • the transmitter 1201 is configured to send the first authentication information to the device that includes the communication module.
  • the processor 1203 is further configured to: query whether the device with the communication module belongs to the device associated with the local end; and if the device with the communication module belongs to the device associated with the local end, performing the first random string according to the first random string And the step of calculating the first authentication information corresponding to the device having the communication module in the user authentication module.
  • the transmitter 1201 is further configured to: when the shared device that has the user authentication module needs to access the mobile network, send a network access request to the base station; and send the second authentication information to the base station to complete the process of accessing the network;
  • the receiver 1202 is further configured to receive a second random string returned by the base station according to the network access request.
  • the processor 1203 is further configured to calculate, according to the second random string, the second authentication information corresponding to the user in the user authentication module.
  • the user authentication module includes: a soft SIM card.
  • the embodiment of the invention receives the random character string sent by the device with the communication module, and calculates the authentication information in the user authentication module according to the random character string, and returns the authentication information to the device that needs to access the network.
  • the device having the communication module can complete the process of accessing the mobile network through the authentication information.
  • the device with the communication module realizes independent access to the mobile network without relying on the shared device with the user authentication module, thereby improving the flexibility of the device and improving the efficiency of the device accessing the network.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种获取鉴权信息的方法、装置及终端,应用于具备通信模块的设备,涉及终端技术领域,方法包括:当本端需要接入移动网络时,向基站发送入网请求;接收所述基站根据所述入网请求返回的第一随机字符串,并将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;接收所述共享设备返回的第一鉴权信息。本发明实现了具备通信模块的设备无需依赖其他上网主体,独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。

Description

获取鉴权信息的方法、装置及终端 技术领域
本发明涉及终端技术领域,特别涉及一种获取鉴权信息的方法、装置及终端。
背景技术
随着网络技术的发展,各种具备网络访问功能的设备已经普及到人们的生活中,如:平板电脑,智能手环,智能眼镜等。用户可以通过网络来控制这些设备,或者将设备中的数据通过网络进行云同步等操作。
目前,用户在户外使用上述设备访问网络时,需要开启手机中的热点功能将手机作为接入点,其他设备通过蓝牙或者WI-FI(WIreless-Fidelity,无线保真)接入该手机的接入点,并通过手机来访问网络。
发明人发现现有技术至少存在以下问题:
上述方式中各个设备都需要依赖手机这一上网主体,不能单独工作,造成设备间的使用灵活性较差。
发明内容
为了解决现有技术的缺陷,本发明实施例提供了一种获取鉴权信息的方法、装置及终端。所述技术方案如下:
第一方面、本发明实施例提供的一种获取鉴权信息的方法,应用于具备通信模块的设备,包括:
当本端需要接入移动网络时,向基站发送入网请求;
接收所述基站根据所述入网请求返回的第一随机字符串,并将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
接收所述共享设备返回的第一鉴权信息。
在第一方面的第一种可能的实现方式中,所述接收所述共享设备返回的第一鉴权信息之后,所述方法还包括:
将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述将所述随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:低功耗局域网协议ZigBee协议,蓝牙协议,无线保真WI-FI协议和近距离无线通讯技术NFC协议中的一种。
结合第一方面或第一方面的第一种或第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
第二方面、本发明实施例提供的一种获取鉴权信息的方法,应用于具备用户鉴权模块的共享设备,包括:
接收具备通信模块的设备发送的第一随机字符串;
根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
将所述第一鉴权信息发送给所述具备通信模块的设备。
在第二方面的第一种可能的实现方式中,所述接收具备通信模块的设备发送的随机字符串之后,所述方法还包括:
查询所述具备通信模块的设备是否属于与本端相关联的设备;
如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述方法还包括:
当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
接收所述基站根据所述入网请求返回的第二随机字符串;
根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息;
将所述第二鉴权信息发送给所述基站,完成接入网络的流程。
结合第二方面或第二方面的第一种或第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述用户鉴权模块包括:软客户识别 模块SIM卡。
第三方面、本发明实施例提供的一种获取鉴权信息的装置,应用于具备通信模块的设备,包括:
第一发送模块,用于当本端需要接入移动网络时,向基站发送入网请求;
第一接收模块,用于接收所述基站根据所述入网请求返回的第一随机字符串;
第二发送模块,用于将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
第二接收模块,用于接收所述共享设备返回的第一鉴权信息。
在第三方面的第一种可能的实现方式中,所述装置还包括:
第一入网模块,用于将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述将所述随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
结合第三方面或第三方面的第一种或第三方面的第二种可能的实现方式在第三方面的第三种可能的实现方式中,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
第四方面、本发明实施例提供的一种获取鉴权信息的装置,应用于具备用户鉴权模块的共享设备,包括:
第三接收模块,用于接收具备通信模块的设备发送的第一随机字符串;
第一计算模块,用于根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
第三发送模块,用于将所述第一鉴权信息发送给所述具备通信模块的设备。
在第四方面的第一种可能的实现方式中所述装置还包括:
查询模块,用于查询所述具备通信模块的设备是否属于与本端相关联的设备;
执行模块,用于如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中所述装置还包括:
第四发送模块,用于当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
第四接收模块,用于接收所述基站根据所述入网请求返回的第二随机字符串;
第二计算模块,用于根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息;
第二入网模块,用于将所述第二鉴权信息发送给所述基站,完成接入网络的流程。
结合第四方面或第四方面的第一种或第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述用户鉴权模块包括:软客户识别模块SIM卡。
第五方面、本发明实施例提供的一种终端,应用于具备通信模块的设备,所述终端包括:发送器和接收器,
所述发送器,用于当本端需要接入移动网络时,向基站发送入网请求;将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
所述接收器,用于接收所述基站根据所述入网请求返回的第一随机字符串;接收所述共享设备返回的第一鉴权信息。
在第五方面的第一种可能的实现方式中,所述发送器,还用于将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
结合第五方面或第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述将所述随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
结合第五方面或第五方面的第一种或第五方面的第二种可能的实现方式, 在第五方面的第三种可能的实现方式中,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
第六方面、本发明实施例提供的一种终端,应用于具备用户鉴权模块的共享设备,所述终端包括:发送器,接收器和处理器,
所述接收器,用于接收具备通信模块的设备发送的第一随机字符串;
所述处理器,用于根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
所述发送器,用于将所述第一鉴权信息发送给所述具备通信模块的设备。
在第六方面的第一种可能的实现方式中,
所述处理器,还用于查询所述具备通信模块的设备是否属于与本端相关联的设备;如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,
所述发送器,还用于当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;将所述第二鉴权信息发送给所述基站,完成接入网络的流程;
所述接收器,还用于接收所述基站根据所述入网请求返回的第二随机字符串;
所述处理器,还用于根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息。
结合第六方面或第六方面的第一种或第六方面的第二种可能的实现方式,在第六方面的第三种可能的实现方式中,所述用户鉴权模块包括:软客户识别模块SIM卡。
本发明实施例提供的技术方案通过在具备通信模块的设备需要接入移动网络时,将基站返回的随机字符串发送给与具备通信模块的设备相关联的具备用户鉴权模块的共享设备,通过该共享设备确定鉴权信息,并通过该鉴权信息接入移动网络。实现了具备通信模块的设备无需依赖其他上网主体,独立的接 入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例1提供的获取鉴权信息的的方法流程图;
图2是本发明实施例2提供的获取鉴权信息的的方法流程图;
图3是本发明实施例2提供的一种共享设备中的结构示意图;
图4是本发明实施例2提供的另一种共享设备中的结构示意图;
图5是本发明实施例3提供的获取鉴权信息的的方法流程图;
图6是本发明实施例3提供的一种共享设备的系统架构图;
图7是本发明实施例3提供的另一种共享设备的系统架构图;
图8是本发明实施例4提供的获取鉴权信息的的方法流程图;
图9是本发明实施例5提供的获取鉴权信息的的装置结构示意图;
图10是本发明实施例6提供的获取鉴权信息的的装置结构示意图;
图11是本发明实施例7提供的终端的结构示意图;
图12是本发明实施例8提供的终端的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
实施例1
本发明实施例提供了一种获取鉴权信息的方法,应用于具备通信模块的设备,参见图1。该方法包括:
101:当本端需要接入移动网络时,向基站发送入网请求;
102:接收基站根据入网请求返回的第一随机字符串,并将第一随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备;
103:接收共享设备返回的第一鉴权信息。
其中,本端为具备通信模块的设备,具备通信模块的设备包括:智能手表, 智能手环,车载设备,智能家电设备中的一种或多种。该通信模块用于使本端设备与基站进行信令交互接入移动网络,并在接入移动网络之后与基站进行数据交互。
另外,在获取鉴权信息的流程中,需要与具备用户鉴权模块的共享设备进行无线通信。其中,用户鉴权模块可以是现有的SIM(Subscriber Identity Module,客户识别模块)卡,也可以是内置SIM模块,软SIM卡,甚至没有SIM卡实体,仅有软件功能模块SIM卡。用户鉴权模块可以通过基站发送的随机字符串以及自身保存的密钥信息等内容,通过鉴权算法生成鉴权信息。例如,该通信方式可以选取Zigbee协议传输方式,蓝牙协议传输方式以及WI-FI协议传输方式中的一种。相应的,本端设备中需要具备上述选取的各种传输协议所对应的传输模块。
其中,相关联指具备通信模块的设备与具有用户鉴权模块的共享设备通过预设的传输协议建立关联关系,并互相存储对应的设备标识。其中,建立关联关系的方式,可以通过上述传输协议对应的传输模块传输认证码等,将本端与具备用户鉴权模块的共享设备之间进行配对,并在配对成功后两台设备分别记录对方的标识。
其中,通信模块中包括基带主芯片和射频芯片。
其中,鉴权信息可以包括但不限于如下内容:
第二代手机通信技术鉴权3元组包括的元素:RAND(Random Number,随机字符串),SRES(Signed Response,鉴权响应),Kc(Ciphering Key,密钥);
第三代手机通信技术鉴权5元组包括的元素:RAND(Random Number,随机字符串),XRES(Expected Response,预期回应),IK(Integrity Key,完整性密钥),CK(Cipher Key,加密密钥),AUTN(Authentication Token,身份验证令牌)。
本发明实施例提供的技术方案通过在具备通信模块的设备需要接入移动网络时,将基站返回的随机字符串发送给与具备通信模块的设备相关联的具备用户鉴权模块的共享设备,通过该共享设备确定鉴权信息,并通过该鉴权信息接入移动网络。实现了具备通信模块的设备无需依赖其他上网主体,独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例2
本发明实施例提供了一种获取鉴权信息的方法,应用于具备用户鉴权模块的共享设备,参见图2。该方法包括:
201:接收具备通信模块的设备发送的第一随机字符串;
202:根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息;
203:将第一鉴权信息发送给具备通信模块的设备。
其中,本发明实施例中本端为具备用户鉴权模块的共享设备。本端可以包括两种形式:
第一种形式:
共享设备作为一个独立设备存在,本身具备用户鉴权模块,但不具备通信模块。此种情况下,本端设备仅作为协助生成鉴权信息的设备存在于网络中。
此种形式下的共享设备可以为以下两种方式:
1.将共享设备集成入可穿戴设备中,由可穿戴设备中的电池进行供电。其中,共享设备需要具备传输模块,用于与具备通信模块的设备传输数据。因此,共享设备中的传输模块中选取的传输方式,需要与具备通信模块的设备支持相同的传输协议。
其中,可穿戴设备如智能手表或智能手环,该可穿戴设备中可以包括:SIM卡插槽,SIM卡,传输芯片,可穿戴设备电路,显示屏以及电池。SIM卡插槽和SIM卡提供生成鉴权信息的功能;传输芯片内部集成有处理器和无线通道,主要用来管理多个具备通信模块的设备的鉴权优先级,以及通过芯片内的无线通道传输鉴权信息;可穿戴设备电路和显示屏完成手表手环本身的功能。
如图3所示,该图中示出了当前情况下共享设备中的结构示意图。
2.将共享设备集成于USB(Universal Serial Bus,通用串行总线)接口的上网卡中,可以在车辆或电脑中利用USB接口供电。其中,共享设备需要具备传输模块,用于与具备通信模块的设备传输数据。因此,共享设备中的传输模块中选取的传输方式,需要与具备通信模块的设备支持相同的传输协议。
此种情况下省略掉了电池,可穿戴设备电路以及显示屏。其他部分与上述方式相同。
第二种形式:
共享设备中内置有通信模块,共同构成一个共享设备,既可以协助需要接入网络的设备生成鉴权信息,又可以协助共享设备自身生成鉴权信息并接入网 络。其中,该具备通信模块的共享设备也属于上述具备通信模块的设备中的一个具备通信模块的设备,其中该实体设备可以包括但不限于可穿戴设备,还可以为手机、平板电脑等设备。
如图4所示,该图中示出了当前情况下共享设备中的结构示意图。
本发明实施例通过接收具备通信模块的设备发送的随机字符串,并根据该随机字符串在自身的用户鉴权模块中计算鉴权信息,并将鉴权信息返回给需要接入网络的设备,使得具备通信模块的设备可以通过该鉴权信息完成接入移动网络的流程。实现了具备通信模块的设备无需依赖具备用户鉴权模块的共享设备,而进行独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例3
本发明实施例提供了一种获取鉴权信息的方法,参见图5。本发明实施例针对实施例2中第一种形式的情况进行描述。
需要说明的是,本发明实施例可以包括但不限于LTE(Long Term Evolution,长期演进)和/或UMTS(Universal Mobile Telecommunications System,通用移动通信系统)网络下进行鉴权以及获得鉴权信息之后的入网流程。
其中,该方法包括:
501:当具备通信模块的设备需要接入移动网络时,向基站发送入网请求。
502:基站接收入网请求,根据该入网请求生成第一随机字符串,并将第一随机字符串返回具备通信模块的设备。
503:接收基站根据入网请求返回的第一随机字符串,并将第一随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备。
其中,将随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备的传输协议包括:低功耗局域网协议ZigBee协议,蓝牙协议,WI-FI(WIreless-FIdelity,无线保真)协议和NFC(Near Field Communication,近距离无线通讯技术)协议中的一种。
504:具备用户鉴权模块的共享设备接收具备通信模块的设备发送的第一随机字符串;
505:查询具备通信模块的设备是否属于与共享设备相关联的设备,并在 查询到具备通信模块的设备属于与共享设备相关联的设备时,执行在步骤506。
506:根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息。
507:将第一鉴权信息发送给具备通信模块的设备,以使具备通信模块的设备根据第一鉴权信息完成移动网络的接入流程。
508:具备通信模块的设备接收共享设备返回的第一鉴权信息。
509:将第一鉴权信息发送给基站,完成接入网络的流程。
510:基站接收第一鉴权信息,并根据第一鉴权信息对具备通信模块的设备进行鉴权。
511:基站在对第一鉴权信息确认通过后,向具备通信模块的设备返回合法信息。
512:具备通信模块的设备接收基站返回的合法信息,以完成接入网络的流程。
其中,如图6所示,该图中示出了本发明实施例中多个设备通过实施例2中第一种形式的情况中具备用户鉴权模块的共享设备的系统架构图。
其中,如图7所示,该图中示出了本发明实施例中多个设备通过实施例2中第二种形式的情况中具备用户鉴权模块的共享设备的系统架构图。
进一步的,以一具体实施场景的实例来描述本发明实施例中具备通信模块的设备接入网络的过程。
例如:手环为一个具备通信模块的设备;手机为一个具备用户鉴权模块的共享设备;用户佩戴手环准备出门健身锻炼,此时需要手环接入网络后,通过网络将手环感应到的体感数据同步至云端保存。因此,用户在出门之前需要控制手环执行接入网络的步骤,用户的手机在家中并可以通过指定的连接方式与手环之间通过传输模块进行数据传输;此时手环与手机之间执行本发明实施例中的各个步骤,通过手机获取到了鉴权信息,并根据该鉴权信息通过自身的通信模块接入网络;用户在接到手环提示的接入网络的消息后,便可出门进行健身活动,并且无需携带手机即可实现手环接入的网络。
本发明实施例提供的技术方案通过在具备通信模块的设备需要接入移动网络时,将基站返回的随机字符串发送给与具备通信模块的设备相关联的具备用户鉴权模块的共享设备,通过该共享设备确定鉴权信息,并通过该鉴权信息接入移动网络。实现了具备通信模块的设备无需依赖其他上网主体,独立的接 入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
另外,通过接收具备通信模块的设备发送的随机字符串,并根据该随机字符串在自身的用户鉴权模块中计算鉴权信息,并将鉴权信息返回给需要接入网络的设备,使得具备通信模块的设备可以通过该鉴权信息完成接入移动网络的流程。实现了具备通信模块的设备无需依赖具备用户鉴权模块的共享设备,而进行独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例4
本发明实施例提供了一种获取鉴权信息的方法,应用于具备用户鉴权模块的共享设备,参见图8。本发明实施例针对实施例2中第二种形式的情况进行描述。
需要说明的是,本发明实施例可以包括但不限于LTE和/或UMTS网络下进行鉴权以及获得鉴权信息之后的入网流程。
其中,该方法包括:
801:当具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
802:基站接收入网请求,根据该入网请求生成第二随机字符串,并将第二随机字符串返回具备用户鉴权模块的共享设备。
803:接收基站根据入网请求返回的第二随机字符串;
804:根据第二随机字符串,在用户鉴权模块中计算自身对应的第二鉴权信息;
805:将第二鉴权信息发送给基站,完成接入网络的流程。
806:基站接收第二鉴权信息,并根据第二鉴权信息对具备用户鉴权模块的共享设备进行鉴权。
807:基站在对第二鉴权信息确认通过后,向具备用户鉴权模块的共享设备返回合法信息。
808:接收基站返回的合法信息,完成共享设备接入网络的接入流程。
本发明实施例在具备用户鉴权模块的共享设备需要接入网络时,直接通过自身的用户鉴权模块计算鉴权信息,实现了共享设备通过自身的用户鉴权模块接入移动网络。
实施例5
本发明实施例提供了一种获取鉴权信息的装置,应用于具备通信模块的设备,参见图9。该装置包括:
第一发送模块901,用于当本端需要接入移动网络时,向基站发送入网请求;
第一接收模块902,用于接收基站根据入网请求返回的第一随机字符串;
第二发送模块903,用于将第一随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备;
第二接收模块904,用于接收共享设备返回的第一鉴权信息。
其中,装置还包括:
第一入网模块905,用于将第一鉴权信息发送给基站,完成接入网络的流程。
其中,将随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
其中,具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
本发明实施例提供的技术方案通过在具备通信模块的设备需要接入移动网络时,将基站返回的随机字符串发送给与具备通信模块的设备相关联的具备用户鉴权模块的共享设备,通过该共享设备确定鉴权信息,并通过该鉴权信息接入移动网络。实现了具备通信模块的设备无需依赖其他上网主体,独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例6
本发明实施例提供了一种获取鉴权信息的装置,应用于具备用户鉴权模块的共享设备,参见图10。该装置包括:
第三接收模块1001,用于接收具备通信模块的设备发送的第一随机字符串;
第一计算模块1002,用于根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息;
第三发送模块1003,用于将第一鉴权信息发送给具备通信模块的设备。
其中,装置还包括:
查询模块1004,用于查询具备通信模块的设备是否属于与本端相关联的设备;
执行模块1005,用于如果查询到具备通信模块的设备属于与本端相关联的设备时,执行根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息的步骤。
其中,装置还包括:
第四发送模块1006,用于当具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
第四接收模块1007,用于接收基站根据入网请求返回的第二随机字符串;
第二计算模块1008,用于根据第二随机字符串,在用户鉴权模块中计算自身对应的第二鉴权信息;
第二入网模块1009,用于将第二鉴权信息发送给基站,完成接入网络的流程。
其中,用户鉴权模块包括:软SIM卡。
本发明实施例通过接收具备通信模块的设备发送的随机字符串,并根据该随机字符串在自身的用户鉴权模块中计算鉴权信息,并将鉴权信息返回给需要接入网络的设备,使得具备通信模块的设备可以通过该鉴权信息完成接入移动网络的流程。实现了具备通信模块的设备无需依赖具备用户鉴权模块的共享设备,而进行独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例7
本发明实施例提供了一种终端,其特征在于,应用于具备通信模块的设备,参见图11。
终端包括:发送器1101和接收器1102,
发送器1101,用于当本端需要接入移动网络时,向基站发送入网请求;将第一随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备;
接收器1102,用于接收基站根据入网请求返回的第一随机字符串;接收共享设备返回的第一鉴权信息。
发送器1101,还用于将第一鉴权信息发送给基站,完成接入网络的流程。
其中,将随机字符串发送给与本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
其中,具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
本发明实施例提供的技术方案通过在具备通信模块的设备需要接入移动网络时,将基站返回的随机字符串发送给与具备通信模块的设备相关联的具备用户鉴权模块的共享设备,通过该共享设备确定鉴权信息,并通过该鉴权信息接入移动网络。实现了具备通信模块的设备无需依赖其他上网主体,独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
实施例8
本发明实施例提供了一种终端,其特征在于,应用于具备用户鉴权模块的共享设备,参见图12。
终端包括:发送器1201,接收器1202和处理器1203,
接收器1202,用于接收具备通信模块的设备发送的第一随机字符串;
处理器1203,用于根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息;
发送器1201,用于将第一鉴权信息发送给具备通信模块的设备。
其中,处理器1203,还用于查询具备通信模块的设备是否属于与本端相关联的设备;如果查询到具备通信模块的设备属于与本端相关联的设备时,执行根据第一随机字符串,在用户鉴权模块中计算具备通信模块的设备对应的第一鉴权信息的步骤。
其中,发送器1201,还用于当具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;将第二鉴权信息发送给基站,完成接入网络的流程;
接收器1202,还用于接收基站根据入网请求返回的第二随机字符串;
处理器1203,还用于根据第二随机字符串,在用户鉴权模块中计算自身对应的第二鉴权信息。
其中,用户鉴权模块包括:软SIM卡。
本发明实施例通过接收具备通信模块的设备发送的随机字符串,并根据该随机字符串在自身的用户鉴权模块中计算鉴权信息,并将鉴权信息返回给需要接入网络的设备,使得具备通信模块的设备可以通过该鉴权信息完成接入移动网络的流程。实现了具备通信模块的设备无需依赖具备用户鉴权模块的共享设备,而进行独立的接入移动网络,提高了设备使用的灵活性,并提高了设备接入网络的效率。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (24)

  1. 一种获取鉴权信息的方法,其特征在于,应用于具备通信模块的设备,所述方法包括:
    当本端需要接入移动网络时,向基站发送入网请求;
    接收所述基站根据所述入网请求返回的第一随机字符串,并将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
    接收所述共享设备返回的第一鉴权信息。
  2. 根据权利要求1所述的方法,其特征在于,所述接收所述共享设备返回的第一鉴权信息之后,所述方法还包括:
    将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
  3. 根据权利要求1或2中任意项所述的方法,其特征在于,所述将所述随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:低功耗局域网协议ZigBee协议,蓝牙协议,无线保真WI-FI协议和近距离无线通讯技术NFC协议中的一种。
  4. 根据权利要求1-3中任意项所述的方法,其特征在于,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
  5. 一种获取鉴权信息的方法,其特征在于,应用于具备用户鉴权模块的共享设备,所述方法包括:
    接收具备通信模块的设备发送的第一随机字符串;
    根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
    将所述第一鉴权信息发送给所述具备通信模块的设备。
  6. 根据权利要求5所述的方法,其特征在于,所述接收具备通信模块的设备发送的随机字符串之后,所述方法还包括:
    查询所述具备通信模块的设备是否属于与本端相关联的设备;
    如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
  7. 根据权利要求5或6中任意项所述的方法,其特征在于,所述方法还包括:
    当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
    接收所述基站根据所述入网请求返回的第二随机字符串;
    根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息;
    将所述第二鉴权信息发送给所述基站,完成接入网络的流程。
  8. 根据权利要求5-7中任意项所述的方法,其特征在于,所述用户鉴权模块包括:软客户识别模块SIM卡。
  9. 一种获取鉴权信息的装置,其特征在于,应用于具备通信模块的设备,所述装置包括:
    第一发送模块,用于当本端需要接入移动网络时,向基站发送入网请求;
    第一接收模块,用于接收所述基站根据所述入网请求返回的第一随机字符串;
    第二发送模块,用于将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
    第二接收模块,用于接收所述共享设备返回的第一鉴权信息。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    第一入网模块,用于将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
  11. 根据权利要求9或10中任意项所述的装置,其特征在于,所述将所述 随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
  12. 根据权利要求9-11中任意项所述的装置,其特征在于,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
  13. 一种获取鉴权信息的装置,其特征在于,应用于具备用户鉴权模块的共享设备,所述装置包括:
    第三接收模块,用于接收具备通信模块的设备发送的第一随机字符串;
    第一计算模块,用于根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
    第三发送模块,用于将所述第一鉴权信息发送给所述具备通信模块的设备。
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:
    查询模块,用于查询所述具备通信模块的设备是否属于与本端相关联的设备;
    执行模块,用于如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
  15. 根据权利要求13或14中任意项所述的装置,其特征在于,所述装置还包括:
    第四发送模块,用于当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;
    第四接收模块,用于接收所述基站根据所述入网请求返回的第二随机字符串;
    第二计算模块,用于根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息;
    第二入网模块,用于将所述第二鉴权信息发送给所述基站,完成接入网络的流程。
  16. 根据权利要求13-15中任意项所述的装置,其特征在于,所述用户鉴权模块包括:软客户识别模块SIM卡。
  17. 一种终端,其特征在于,应用于具备通信模块的设备,所述终端包括:发送器和接收器,
    所述发送器,用于当本端需要接入移动网络时,向基站发送入网请求;将所述第一随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备;
    所述接收器,用于接收所述基站根据所述入网请求返回的第一随机字符串;接收所述共享设备返回的第一鉴权信息。
  18. 根据权利要求17所述的终端,其特征在于,
    所述发送器,还用于将所述第一鉴权信息发送给所述基站,完成接入网络的流程。
  19. 根据权利要求17或18中任意项所述的终端,其特征在于,所述将所述随机字符串发送给与所述本端相关联的具备用户鉴权模块的共享设备的传输协议包括:ZigBee协议,蓝牙协议,WI-FI协议和NFC协议中的一种。
  20. 根据权利要求17-19中任意项所述的终端,其特征在于,所述具备通信模块的设备包括:智能手表,智能手环,车载设备,智能家电设备中的一种或多种。
  21. 一种终端,其特征在于,应用于具备用户鉴权模块的共享设备,所述终端包括:发送器,接收器和处理器,
    所述接收器,用于接收具备通信模块的设备发送的第一随机字符串;
    所述处理器,用于根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息;
    所述发送器,用于将所述第一鉴权信息发送给所述具备通信模块的设备。
  22. 根据权利要求21所述的终端,其特征在于,
    所述处理器,还用于查询所述具备通信模块的设备是否属于与本端相关联的设备;如果查询到所述具备通信模块的设备属于与本端相关联的设备时,执行根据所述第一随机字符串,在所述用户鉴权模块中计算所述具备通信模块的设备对应的第一鉴权信息的步骤。
  23. 根据权利要求21或22中任意项所述的终端,其特征在于,
    所述发送器,还用于当所述具备用户鉴权模块的共享设备自身需要接入移动网络时,向基站发送入网请求;将所述第二鉴权信息发送给所述基站,完成接入网络的流程;
    所述接收器,还用于接收所述基站根据所述入网请求返回的第二随机字符串;
    所述处理器,还用于根据所述第二随机字符串,在所述用户鉴权模块中计算自身对应的第二鉴权信息。
  24. 根据权利要求21-23中任意项所述的终端,其特征在于,所述用户鉴权模块包括:软客户识别模块SIM卡。
PCT/CN2015/075479 2015-03-31 2015-03-31 获取鉴权信息的方法、装置及终端 WO2016154886A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/075479 WO2016154886A1 (zh) 2015-03-31 2015-03-31 获取鉴权信息的方法、装置及终端
CN201580030011.7A CN106416337B (zh) 2015-03-31 2015-03-31 获取鉴权信息的方法、装置及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075479 WO2016154886A1 (zh) 2015-03-31 2015-03-31 获取鉴权信息的方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2016154886A1 true WO2016154886A1 (zh) 2016-10-06

Family

ID=57005496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075479 WO2016154886A1 (zh) 2015-03-31 2015-03-31 获取鉴权信息的方法、装置及终端

Country Status (2)

Country Link
CN (1) CN106416337B (zh)
WO (1) WO2016154886A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905396A (zh) * 2012-10-25 2013-01-30 宁波市北仑海伯精密机械制造有限公司 一种智能家居系统设备组网及入网管理方法
CN103476030A (zh) * 2013-08-29 2013-12-25 小米科技有限责任公司 移动终端连接网络的方法、移动终端与终端设备
CN103813328A (zh) * 2012-11-12 2014-05-21 中国移动通信集团公司 一种利用移动通信终端实施业务的方法及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8789154B2 (en) * 2011-06-30 2014-07-22 Qualcomm Incorporated Anti-shoulder surfing authentication method
CN104066075A (zh) * 2013-03-20 2014-09-24 华为终端有限公司 一种基于用户识别模块的通信方法、装置和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905396A (zh) * 2012-10-25 2013-01-30 宁波市北仑海伯精密机械制造有限公司 一种智能家居系统设备组网及入网管理方法
CN103813328A (zh) * 2012-11-12 2014-05-21 中国移动通信集团公司 一种利用移动通信终端实施业务的方法及终端
CN103476030A (zh) * 2013-08-29 2013-12-25 小米科技有限责任公司 移动终端连接网络的方法、移动终端与终端设备

Also Published As

Publication number Publication date
CN106416337B (zh) 2020-01-31
CN106416337A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
US12010519B2 (en) Information sharing method, terminal device, storage medium, and computer program product
CN104620613B (zh) 用于在邻域知悉型网络内进行发现后通信的系统和方法
US10298398B2 (en) Peer discovery, connection, and data transfer
US11765577B2 (en) Identity obscuration for a wireless station
US8555063B2 (en) Method for establishing a wireless link key between a remote device and a group device
CN103391545B (zh) 装置间通信的认证系统及认证方法
US9756036B2 (en) Mechanisms for certificate revocation status verification on constrained devices
US20140013100A1 (en) Establish bidirectional wireless communication between electronic devices using visual codes
US10769615B2 (en) Device and method in wireless communication system and wireless communication system
CN110235424A (zh) 用于在通信系统中提供和管理安全信息的设备和方法
KR20160083128A (ko) 암호화된 통신을 위한 방법 및 시스템
US9860738B2 (en) Method for processing multiple pieces of SIM information and electronic device thereof
BR112013000214A2 (pt) método para permitir, em um dispositivo de comunicação, um canal de comunicação indireta entre o dispositivo de comunicação e pelo menos um dispositivo de comunicação adicional, dispositivo de comunicação para permitir um canal de comunicação indireta entre o dispositivo de comunicação e pelo menos um dispositivo de comunicações adicional, e produto de programa de computador
BRPI0609971B1 (pt) Método para gerenciar o acesso a uma rede sem fio por um dispositivo terminal e dispositivo de controle de acesso
CN113840266B (zh) 蓝牙配对方法、装置、系统、电子设备和存储介质
US20140380443A1 (en) Network connection in a wireless communication device
JP2018170010A (ja) 移動通信システムに用いられる端末認証方法及び装置
US20170339128A1 (en) Method and apparatus for authenticating a device using bluetooth technology
JP2018524865A (ja) ワイヤレスデバイスの柔軟な構成および認証
US20160328714A1 (en) Method and apparatus for authenticating payment related information in mobile communication system
CN107079273B (zh) 在不建立持久连接的情况下的设备之间的通信
US10152587B2 (en) Device pairing method
US11012227B2 (en) Authentication method and system for device using Bluetooth technology
WO2016101774A1 (zh) 无线通信方法、装置及其应用系统和设备
US20210243599A1 (en) User authentication method through bluetooth device and device therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15886872

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15886872

Country of ref document: EP

Kind code of ref document: A1