CN106416337A - Method, apparatus and terminal for acquiring authentication information - Google Patents
Method, apparatus and terminal for acquiring authentication information Download PDFInfo
- Publication number
- CN106416337A CN106416337A CN201580030011.7A CN201580030011A CN106416337A CN 106416337 A CN106416337 A CN 106416337A CN 201580030011 A CN201580030011 A CN 201580030011A CN 106416337 A CN106416337 A CN 106416337A
- Authority
- CN
- China
- Prior art keywords
- module
- equipment
- authentication information
- communication module
- character string
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
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
Embodiments of the present invention relate to the technical field of terminals. Provided are a method, apparatus and terminal for acquiring authentication information, which are applied to a device having a communication module. The method comprises: when a home terminal needs to access a mobile network, sending a networking request to a base station; receiving a first random character string returned by the base station according to the networking request, and sending the first random character string to a sharing device which is associated with the home terminal and has a user authentication module; and receiving first authentication information returned by the sharing device. The present invention achieves independent access of a device having a communication module to a mobile network without dependence on other networking bodies, improves the use flexibility of the device, and improves the network access efficiency of the device.
Description
The present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for acquiring authentication information.
With the development of network technology, various devices with network access function have been popularized in people's lives, such as: tablet computer, intelligent bracelet, intelligent glasses etc.. The user can control the devices through the network, or perform cloud synchronization and other operations on data in the devices through the network.
At present, when a user uses the above device outdoors to access a network, the user needs to start a hotspot function in the mobile phone to use the mobile phone as an access point, and other devices access the access point of the mobile phone through bluetooth or WI-FI (WIreless Fidelity), and access the network through the mobile phone.
The inventor finds that the prior art has at least the following problems:
in the above mode, each device needs to rely on the mobile phone, which is the main internet-surfing body, and cannot work independently, so that the flexibility of use among the devices is poor.
Disclosure of Invention
In order to solve the defects of the prior art, embodiments of the present invention provide a method, an apparatus, and a terminal for acquiring authentication information. The technical scheme is as follows:
in a first aspect, a method for acquiring authentication information provided in an embodiment of the present invention is applied to a device having a communication module, and includes:
when the local terminal needs to access a mobile network, a network access request is sent to a base station;
receiving a first random character string returned by the base station according to the network access request, and sending the first random character string to sharing equipment which is associated with the local terminal and is provided with a user authentication module;
and receiving first authentication information returned by the sharing device.
In a first possible implementation manner of the first aspect, after receiving the first authentication information returned by the sharing device, the method further includes:
and sending the first authentication information to the base station to complete the process of accessing the network.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the sending the random string to the sharing device associated with the home terminal and having the user authentication module includes: the low-power local area network protocol ZigBee protocol, the Bluetooth protocol, the wireless fidelity WI-FI protocol and the Near Field Communication (NFC) protocol.
With reference to the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the apparatus with a communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
A second aspect and a method for obtaining authentication information provided in an embodiment of the present invention are applied to a sharing device with a user authentication module, and the method includes:
receiving a first random character string sent by equipment with a communication module;
calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;
sending the first authentication information to the device having the communication module.
In a first possible implementation manner of the second aspect, after the receiving the random character string sent by the device with a communication module, the method further includes:
inquiring whether the equipment with the communication module belongs to equipment associated with a local terminal;
and if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal, executing the step of calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes:
when the sharing equipment with the user authentication module needs to access a mobile network, sending a network access request to a base station;
receiving a second random character string returned by the base station according to the network access request;
according to the second random character string, second authentication information corresponding to the user authentication module is calculated in the user authentication module;
and sending the second authentication information to the base station to complete the network access process.
With reference to the second aspect or the first or second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the user authentication module includes: soft subscriber identity module SIM card.
A third aspect and an apparatus for obtaining authentication information provided in an embodiment of the present invention are applied to a device having a communication module, and include:
the first sending module is used for sending a network access request to the base station when the local terminal 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;
the second sending module is used for sending the first random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module;
and the second receiving module is used for receiving the first authentication information returned by the sharing equipment.
In a first possible implementation manner of the third aspect, the apparatus further includes:
and the first network access module is used for sending the first authentication information to the base station to complete the network access process.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the sending the random string to the sharing device with the user authentication module, which is associated with the local terminal, includes: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
With reference to the third aspect or the first or second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the apparatus with a communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
A fourth aspect and an apparatus for obtaining authentication information provided in an embodiment of the present invention are applied to a sharing device with a user authentication module, and the apparatus includes:
the third receiving module is used for receiving the first random character string sent by the equipment with the communication module;
the first calculation module is used for calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;
a third sending module, configured to send the first authentication information to the device with a communication module.
In a first possible implementation manner of the fourth aspect, the apparatus further includes:
the query module is used for querying whether the equipment with the communication module belongs to equipment associated with a local terminal;
and the execution module is used for executing the step of calculating the first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the apparatus further includes:
the fourth sending module is used for sending a network access request to the base station when the sharing equipment with 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;
the second calculation module is used for calculating second authentication information corresponding to the second calculation module in the user authentication module according to the second random character string;
and the second network access module is used for sending the second authentication information to the base station to complete the network access process.
With reference to the fourth aspect or the first or second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the user authentication module includes: soft subscriber identity module SIM card.
In a fifth aspect, a terminal provided in an embodiment of the present invention is applied to a device having a communication module, where the terminal includes: a transmitter and a receiver, and a control unit,
the transmitter is used for transmitting a network access request to the base station when the local terminal needs to access the mobile network; sending the first random character string to sharing equipment which is associated with the local terminal and is provided with a user authentication module;
the receiver is used for receiving a first random character string returned by the base station according to the network access request; and receiving first authentication information returned by the sharing device.
In a first possible implementation manner of the fifth aspect, the transmitter is further configured to transmit the first authentication information to the base station, so as to complete a network access procedure.
With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the transmitting a random string to a sharing device with a user authentication module, which is associated with the home terminal, includes: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
With reference to the fifth aspect or the first or second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the apparatus with a communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
A sixth aspect and a terminal provided in an embodiment of the present invention are applied to a sharing device with a user authentication module, where the terminal includes: the set of instructions for the transmitter, the receiver and the processor,
the receiver is used for receiving a first random character string sent by equipment with a communication module;
the processor is used for calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;
the transmitter is configured to transmit the first authentication information to the device having the communication module.
In a first possible implementation form of the sixth aspect,
the processor is further configured to query whether the device with the communication module belongs to a device associated with a home terminal; and if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal, executing the step of calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect,
the transmitter is further configured to transmit a network access request to the base station when the sharing device with the user authentication module needs to access the mobile network; sending the second authentication information to the base station to complete the network access process;
the receiver is further configured to receive a second random character string returned by the base station according to the network access request;
and the processor is further configured to calculate, in the user authentication module, second authentication information corresponding to the processor according to the second random character string.
With reference to the sixth aspect or the first or second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect, the user authentication module includes: soft subscriber identity module SIM card.
The technical scheme provided by the embodiment of the invention sends the random character string returned by the base station to the sharing equipment which is associated with the equipment with the communication module and is provided with the user authentication module when the equipment with the communication module needs to be accessed into the mobile network, determines the authentication information through the sharing equipment and accesses the mobile network through the authentication information. The device with the communication module can be independently accessed into the mobile network without depending on other internet access main bodies, so that the flexibility of the device is improved, and the network access efficiency of the device is improved.
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring authentication information according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a method for acquiring authentication information according to embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a sharing device according to embodiment 2 of the present invention;
fig. 4 is a schematic structural diagram of another sharing device provided in embodiment 2 of the present invention;
fig. 5 is a flowchart of a method for acquiring authentication information according to embodiment 3 of the present invention;
fig. 6 is a system architecture diagram of a sharing device according to embodiment 3 of the present invention;
fig. 7 is a system architecture diagram of another sharing device provided in 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 provided in embodiment 7 of the present invention;
fig. 12 is a schematic structural diagram of a terminal provided in embodiment 8 of the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
The embodiment of the invention provides a method for acquiring authentication information, which is applied to equipment with a communication module and is shown in figure 1. The method comprises the following steps:
101: when the local terminal needs to access a mobile network, a network access request is sent to a base station;
102: receiving a first random character string returned by the base station according to the network access request, and sending the first random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module;
103: and receiving first authentication information returned by the sharing device.
Wherein, the equipment that possesses communication module of this end for possessing communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment. The communication module is used for enabling the local terminal equipment and the base station to carry out signaling interaction to access the mobile network and carrying out data interaction with the base station after accessing the mobile network.
In addition, in the process of acquiring the authentication information, wireless communication with a sharing device having a user authentication module is required. 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 a SIM card entity that does not have a SIM card, but only a software function Module SIM card. The user authentication module can generate authentication information through an authentication algorithm through contents such as random character strings sent by the base station and key information stored by the user authentication module. For example, the communication mode may be one of a Zigbee protocol transmission mode, a bluetooth protocol transmission mode, and a WI-FI protocol transmission mode. Correspondingly, the home terminal equipment needs to have the transmission modules corresponding to the selected various transmission protocols.
The association means that the device with the communication module and the sharing 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 for establishing the association relationship can pair the home terminal and the sharing device with the user authentication module through the transmission module corresponding to the transmission protocol to transmit the authentication code and the like, and the two devices respectively record the identification of the other party after the pairing is successful.
The communication module comprises a baseband main chip and a radio frequency chip.
The authentication information may include, but is not limited to, the following:
the second generation mobile phone communication technology authenticates the elements included in the 3-tuple: RAND (Random Number, Random string), SRES (Signed Response, authentication Response), Kc (cryptographic Key, secret Key);
the third generation mobile phone communication technology authenticates the elements included in the 5-tuple: RAND (Random Number), XRES (Expected Response), IK (Integrity Key), CK (Cipher Key), AUTN (Authentication Token).
The technical scheme provided by the embodiment of the invention sends the random character string returned by the base station to the sharing equipment which is associated with the equipment with the communication module and is provided with the user authentication module when the equipment with the communication module needs to be accessed into the mobile network, determines the authentication information through the sharing equipment and accesses the mobile network through the authentication information. The device with the communication module can be independently accessed into the mobile network without depending on other internet access main bodies, so that the flexibility of the device is improved, and the network access efficiency of the device is improved.
Example 2
The embodiment of the invention provides a method for acquiring authentication information, which is applied to shared equipment with a user authentication module and is shown in figure 2. The method comprises the following steps:
201: receiving a first random character string sent by equipment with a communication module;
202: calculating first authentication information corresponding to equipment with a communication module in a user authentication module according to the first random character string;
203: the first authentication information is transmitted to a device having a communication module.
The home terminal in the embodiment of the invention is a sharing device with a user authentication module. The local terminal can comprise two forms:
in a first form:
the sharing device exists as an independent device, and is provided with a user authentication module but not a communication module. In this case, the home device exists in the network only as a device assisting in generating the authentication information.
The sharing device in this form can be in the following two ways:
1. the sharing device is integrated into the wearable device and is powered by a battery in the wearable device. The sharing device needs to be provided with a transmission module for transmitting data with the device provided with the communication module. Therefore, the transmission mode selected by the transmission module in the shared device needs to support the same transmission protocol as the device having the communication module.
Wherein, wearable equipment such as intelligent wrist-watch or intelligent bracelet can include among this wearable equipment: the SIM card slot, the SIM card, transmit chip, wearable equipment circuit, display screen and battery. The SIM card slot and the SIM card provide the function of generating authentication information; the transmission chip is internally integrated with a processor and a wireless channel and is mainly used for managing the authentication priority of a plurality of devices with communication modules and transmitting authentication information through the wireless channel in the chip; wearable equipment circuit and display screen accomplish the function of wrist-watch bracelet itself.
As shown in fig. 3, a schematic diagram of the structure of the sharing device in the current situation is shown in the figure.
2. The sharing device is integrated in a network card with a Universal Serial Bus (USB) interface, and can be powered by the USB interface in a vehicle or a computer. The sharing device needs to be provided with a transmission module for transmitting data with the device provided with the communication module. Therefore, the transmission mode selected by the transmission module in the shared device needs to support the same transmission protocol as the device having the communication module.
In this case, the battery, the circuit of the wearable device and the display screen are omitted. The other portions are the same as described above.
In a second form:
the sharing device is internally provided with a communication module which jointly forms a sharing device, and can assist the device needing to be accessed into the network to generate the authentication information and also assist the sharing device to generate the authentication information and access the network. The sharing device with the communication module also belongs to one of the devices with the communication module, wherein the entity 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.
As shown in fig. 4, a schematic diagram of the structure of the sharing device in the current situation is shown.
The embodiment of the invention receives the random character string sent by the equipment with the communication module, calculates the authentication information in the user authentication module of the equipment according to the random character string, and returns the authentication information to the equipment needing to be accessed to the network, so that the equipment with the communication module can complete the process of accessing the mobile network through the authentication information. The device with the communication module can independently access the mobile network without relying on the sharing device with the user authentication module, so that the flexibility of the device use is improved, and the efficiency of the device accessing the network is improved.
Example 3
The embodiment of the invention provides a method for acquiring authentication information, and the method is shown in figure 5. The embodiment of the present invention will be described with respect to the case of the first form in embodiment 2.
It should be noted that the embodiment of the present invention may include, but is not limited to, an access procedure after performing authentication and obtaining authentication information in an LTE (Long Term Evolution) and/or UMTS (Universal Mobile Telecommunications System) network.
Wherein, the method comprises the following steps:
501: and when the equipment with the communication module needs to access the mobile network, sending a network access request to the base station.
502: 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 equipment with the communication module.
503: and receiving a first random character string returned by the base station according to the network access request, and sending the first random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module.
The transmission protocol for sending the random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module comprises the following steps: a low power consumption local area network protocol ZigBee protocol, a Bluetooth protocol, a WI-FI (Wireless-Fidelity) protocol and an NFC (Near Field Communication) protocol.
504: the method comprises the steps that sharing equipment with a user authentication module receives a first random character string sent by equipment with a communication module;
505: the device having the communication module is inquired whether it belongs to the device associated with the shared device, and when it is inquired that the device having the communication module belongs to the device associated with the shared device, the process proceeds to step 506.
506: and calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string.
507: and sending the first authentication information to the device with the communication module so that the device with the communication module completes the access process of the mobile network according to the first authentication information.
508: the device with the communication module receives first authentication information returned by the sharing device.
509: and sending the first authentication information to the base station to complete the process of accessing the network.
510: the base station receives the first authentication information and authenticates the equipment with the communication module according to the first authentication information.
511: and the base station returns legal information to the equipment with the communication module after the first authentication information is confirmed to pass.
512: the equipment with the communication module receives the legal information returned by the base station to complete the process of accessing the network.
As shown in fig. 6, this figure shows a system architecture diagram of a shared device with a user authentication module in the case where a plurality of devices pass through the first form in embodiment 2 in the embodiment of the present invention.
Fig. 7 is a diagram showing a system architecture of a shared device with a user authentication module in a case where a plurality of devices pass through the second form in embodiment 2 according to an embodiment of the present invention.
Further, the process of accessing the network by the device with the communication module in the embodiment of the present invention is described as an example of a specific implementation scenario.
For example: the bracelet is a device with a communication module; the mobile phone is a sharing device with a user authentication module; the user wears the bracelet and prepares to go out body-building exercise, needs bracelet access network this moment after, and the body feeling data that sense the bracelet through the network is synchronous to high in the clouds and is preserved. Therefore, before going out, a user needs to control the bracelet to execute the step of accessing the network, and the mobile phone of the user is at home and can perform data transmission with the bracelet through the transmission module in a specified connection mode; at the moment, the steps of the embodiment of the invention are executed between the bracelet and the mobile phone, the authentication information is obtained through the mobile phone, and the bracelet accesses the network through the communication module of the bracelet according to the authentication information; after receiving the information of the access network prompted by the bracelet, the user can go out to perform fitness activities, and the network accessed by the bracelet can be realized without carrying a mobile phone.
The technical scheme provided by the embodiment of the invention sends the random character string returned by the base station to the sharing equipment which is associated with the equipment with the communication module and is provided with the user authentication module when the equipment with the communication module needs to be accessed into the mobile network, determines the authentication information through the sharing equipment and accesses the mobile network through the authentication information. The device with the communication module can be independently accessed into the mobile network without depending on other internet access main bodies, so that the flexibility of the device is improved, and the network access efficiency of the device is improved.
In addition, the device with the communication module can complete the process of accessing the mobile network through the authentication information by receiving the random character string sent by the device with the communication module, calculating the authentication information in the user authentication module of the device according to the random character string and returning the authentication information to the device needing to access the network. The device with the communication module can independently access the mobile network without relying on the sharing device with the user authentication module, so that the flexibility of the device use is improved, and the efficiency of the device accessing the network is improved.
Example 4
The embodiment of the invention provides a method for acquiring authentication information, which is applied to shared equipment with a user authentication module and is shown in figure 8. The embodiment of the present invention will be described with respect to the case of the second form in embodiment 2.
It should be noted that, the embodiments of the present invention may include, but are not limited to, a network access procedure after performing authentication and obtaining authentication information in an LTE and/or UMTS network.
Wherein, the method comprises the following steps:
801: when the sharing equipment with the user authentication module needs to access a mobile network, sending a network access request to a base station;
802: and the base station receives the network access request, generates a second random character string according to the network access request and returns the second random character string to the sharing equipment with the user authentication module.
803: receiving a second random character string returned by the base station according to the network access request;
804: according to the second random character string, second authentication information corresponding to the user authentication module is calculated in the user authentication module;
805: and sending the second authentication information to the base station to complete the network access process.
806: and the base station receives the second authentication information and authenticates the sharing equipment with the user authentication module according to the second authentication information.
807: and after the base station passes the confirmation of the second authentication information, the base station returns legal information to the sharing equipment with the user authentication module.
808: and receiving legal information returned by the base station, and completing the access flow of the shared equipment to the network.
When the sharing equipment with the user authentication module needs to access the network, the embodiment of the invention directly calculates the authentication information through the user authentication module of the sharing equipment, thereby realizing that the sharing equipment accesses the mobile network through the user authentication module of the sharing equipment.
Example 5
The embodiment of the invention provides a device for acquiring authentication information, which is applied to equipment with a communication module, and is shown in fig. 9. The device includes:
a first sending module 901, configured to send a network access request to a base station when a home terminal needs to access a mobile network;
a first receiving module 902, configured to receive a first random string returned by a base station according to a network access request;
a second sending module 903, configured to send the first random character string to a sharing device associated with the home terminal and provided with a user authentication module;
a second receiving module 904, configured to receive the first authentication information returned by the sharing device.
Wherein, the device still includes:
the first network access module 905 is configured to send the first authentication information to the base station, so as to complete a network access process.
The transmission protocol for sending the random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module comprises the following steps: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
Wherein, the equipment that possesses communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
The technical scheme provided by the embodiment of the invention sends the random character string returned by the base station to the sharing equipment which is associated with the equipment with the communication module and is provided with the user authentication module when the equipment with the communication module needs to be accessed into the mobile network, determines the authentication information through the sharing equipment and accesses the mobile network through the authentication information. The device with the communication module can be independently accessed into the mobile network without depending on other internet access main bodies, so that the flexibility of the device is improved, and the network access efficiency of the device is improved.
Example 6
The embodiment of the invention provides a device for acquiring authentication information, which is applied to shared equipment with a user authentication module and is shown in figure 10. The device includes:
a third receiving module 1001, configured to receive a first random string sent by a device equipped with a communication module;
a first calculating module 1002, configured to calculate, in the user authentication module, first authentication information corresponding to a device having a communication module according to the first random character string;
a third sending module 1003, configured to send the first authentication information to the device having the communication module.
Wherein, the device still includes:
a query module 1004 for querying whether the device provided with the communication module belongs to a device associated with the home terminal;
an executing module 1005, configured to, if it is found that the device with the communication module belongs to the device associated with the home terminal, execute the step of calculating, in the user authentication module, first authentication information corresponding to the device with the communication module according to the first random character string.
Wherein, the device still includes:
a fourth sending module 1006, configured to send a network access request to the base station when the sharing device with the user authentication module needs to access the mobile network;
a fourth receiving module 1007, 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 used for calculating second authentication information corresponding to the second calculation module in the user authentication module according to the second random character string;
the second network accessing module 1009 is configured to send the second authentication information to the base station, so as to complete a network accessing process.
Wherein, the user authentication module includes: a soft SIM card.
The embodiment of the invention receives the random character string sent by the equipment with the communication module, calculates the authentication information in the user authentication module of the equipment according to the random character string, and returns the authentication information to the equipment needing to be accessed to the network, so that the equipment with the communication module can complete the process of accessing the mobile network through the authentication information. The device with the communication module can independently access the mobile network without relying on the sharing device with the user authentication module, so that the flexibility of the device use is improved, and the efficiency of the device accessing the network is improved.
Example 7
An embodiment of the present invention provides a terminal, which is characterized in that the terminal is applied to a device having a communication module, see fig. 11.
The terminal includes: a transmitter 1101 and a receiver 1102 which are,
a transmitter 1101, configured to send a network access request to a base station when a home terminal needs to access a mobile network; sending the first random character string to sharing equipment which is associated with a local terminal and is provided with a user authentication module;
a receiver 1102, configured to receive a first random string returned by a base station according to a network access request; and receiving first authentication information returned by the sharing device.
The transmitter 1101 is further configured to send the first authentication information to the base station, so as to complete a process of accessing the network.
The transmission protocol for sending the random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module comprises the following steps: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
Wherein, the equipment that possesses communication module includes: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
The technical scheme provided by the embodiment of the invention sends the random character string returned by the base station to the sharing equipment which is associated with the equipment with the communication module and is provided with the user authentication module when the equipment with the communication module needs to be accessed into the mobile network, determines the authentication information through the sharing equipment and accesses the mobile network through the authentication information. The device with the communication module can be independently accessed into the mobile network without depending on other internet access main bodies, so that the flexibility of the device is improved, and the network access efficiency of the device is improved.
Example 8
An embodiment of the present invention provides a terminal, which is applied to a sharing device with a user authentication module, and refer to fig. 12.
The terminal includes: the transmitter 1201, the receiver 1202 and the processor 1203,
a receiver 1202 for receiving a first random string transmitted by a device equipped with a communication module;
a processor 1203, configured to calculate, in the user authentication module, first authentication information corresponding to a device having a communication module according to the first random character string;
a transmitter 1201 for transmitting the first authentication information to the device having the communication module.
The processor 1203 is further configured to query whether the device with the communication module belongs to a device associated with the home terminal; and if the device with the communication module is inquired to belong to the device associated with the home terminal, the step of calculating first authentication information corresponding to the device with the communication module in the user authentication module according to the first random character string is executed.
The transmitter 1201 is further configured to send a network access request to the base station when the sharing device with the user authentication module needs to access the mobile network; sending the second authentication information to the base station to complete the network access process;
the receiver 1202 is further configured to receive a second random character string returned by the base station according to the network access request;
the processor 1203 is further configured to calculate, in the user authentication module, second authentication information corresponding to the user, according to the second random character string.
Wherein, the user authentication module includes: a soft SIM card.
The embodiment of the invention receives the random character string sent by the equipment with the communication module, calculates the authentication information in the user authentication module of the equipment according to the random character string, and returns the authentication information to the equipment needing to be accessed to the network, so that the equipment with the communication module can complete the process of accessing the mobile network through the authentication information. The device with the communication module can independently access the mobile network without relying on the sharing device with the user authentication module, so that the flexibility of the device use is improved, and the efficiency of the device accessing the network is improved.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (24)
- A method for obtaining authentication information, which is applied to a device having a communication module, the method comprising:when the local terminal needs to access a mobile network, a network access request is sent to a base station;receiving a first random character string returned by the base station according to the network access request, and sending the first random character string to sharing equipment which is associated with the local terminal and is provided with a user authentication module;and receiving first authentication information returned by the sharing device.
- The method according to claim 1, wherein after receiving the first authentication information returned by the sharing device, the method further comprises:and sending the first authentication information to the base station to complete the process of accessing the network.
- The method according to any of claims 1 or 2, wherein the transmission protocol for transmitting the random string to the sharing device with the user authentication module associated with the home terminal comprises: the low-power local area network protocol ZigBee protocol, the Bluetooth protocol, the wireless fidelity WI-FI protocol and the Near Field Communication (NFC) protocol.
- The method according to any of claims 1-3, wherein the device having the communication module comprises: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
- A method for obtaining authentication information is applied to a sharing device with a user authentication module, and the method comprises the following steps:receiving a first random character string sent by equipment with a communication module;calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;sending the first authentication information to the device having the communication module.
- The method of claim 5, wherein after receiving the random string sent by the device having the communication module, the method further comprises:inquiring whether the equipment with the communication module belongs to equipment associated with a local terminal;and if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal, executing the step of calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string.
- The method according to any of claims 5 or 6, further comprising:when the sharing equipment with the user authentication module needs to access a mobile network, sending a network access request to a base station;receiving a second random character string returned by the base station according to the network access request;according to the second random character string, second authentication information corresponding to the user authentication module is calculated in the user authentication module;and sending the second authentication information to the base station to complete the network access process.
- The method according to any of claims 5-7, wherein the user authentication module comprises: soft subscriber identity module SIM card.
- An apparatus for obtaining authentication information, the apparatus being applied to a device having a communication module, the apparatus comprising:the first sending module is used for sending a network access request to the base station when the local terminal 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;the second sending module is used for sending the first random character string to the sharing equipment which is associated with the local terminal and is provided with the user authentication module;and the second receiving module is used for receiving the first authentication information returned by the sharing equipment.
- The apparatus of claim 9, further comprising:and the first network access module is used for sending the first authentication information to the base station to complete the network access process.
- The apparatus according to any of claims 9 or 10, wherein the transmission protocol for transmitting the random string to the sharing device with the user authentication module associated with the home terminal comprises: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
- The apparatus according to any of claims 9-11, wherein the device having the communication module comprises: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
- An apparatus for obtaining authentication information, applied to a sharing device with a user authentication module, the apparatus comprising:the third receiving module is used for receiving the first random character string sent by the equipment with the communication module;the first calculation module is used for calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;a third sending module, configured to send the first authentication information to the device with a communication module.
- The apparatus of claim 13, further comprising:the query module is used for querying whether the equipment with the communication module belongs to equipment associated with a local terminal;and the execution module is used for executing the step of calculating the first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal.
- The apparatus according to any of claims 13 or 14, further comprising:the fourth sending module is used for sending a network access request to the base station when the sharing equipment with 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;the second calculation module is used for calculating second authentication information corresponding to the second calculation module in the user authentication module according to the second random character string;and the second network access module is used for sending the second authentication information to the base station to complete the network access process.
- The apparatus according to any of claims 13-15, wherein the user authentication module comprises: soft subscriber identity module SIM card.
- A terminal applied to a device having a communication module, the terminal comprising: a transmitter and a receiver, and a control unit,the transmitter is used for transmitting a network access request to the base station when the local terminal needs to access the mobile network; sending the first random character string to sharing equipment which is associated with the local terminal and is provided with a user authentication module;the receiver is used for receiving a first random character string returned by the base station according to the network access request; and receiving first authentication information returned by the sharing device.
- The terminal of claim 17,the transmitter is further configured to transmit the first authentication information to the base station, so as to complete a network access procedure.
- The terminal according to any of claims 17 or 18, wherein the transmission protocol for transmitting the random string to the sharing device with the user authentication module associated with the home terminal comprises: ZigBee protocol, Bluetooth protocol, WI-FI protocol and NFC protocol.
- The terminal according to any of claims 17-19, wherein the device having the communication module comprises: the intelligent watch comprises one or more of an intelligent watch, an intelligent bracelet, vehicle-mounted equipment and intelligent household electrical equipment.
- A terminal, applied to a sharing device having a user authentication module, the terminal comprising: the set of instructions for the transmitter, the receiver and the processor,the receiver is used for receiving a first random character string sent by equipment with a communication module;the processor is used for calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string;the transmitter is configured to transmit the first authentication information to the device having the communication module.
- The terminal of claim 21,the processor is further configured to query whether the device with the communication module belongs to a device associated with a home terminal; and if the equipment with the communication module is inquired to belong to the equipment associated with the home terminal, executing the step of calculating first authentication information corresponding to the equipment with the communication module in the user authentication module according to the first random character string.
- The terminal according to any of claims 21 or 22,the transmitter is further configured to transmit a network access request to the base station when the sharing device with the user authentication module needs to access the mobile network; sending the second authentication information to the base station to complete the network access process;the receiver is further configured to receive a second random character string returned by the base station according to the network access request;and the processor is further configured to calculate, in the user authentication module, second authentication information corresponding to the processor according to the second random character string.
- The terminal according to any of claims 21-23, wherein the user authentication module comprises: soft subscriber identity module SIM card.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/075479 WO2016154886A1 (en) | 2015-03-31 | 2015-03-31 | Method, apparatus and terminal for acquiring authentication information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106416337A true CN106416337A (en) | 2017-02-15 |
CN106416337B CN106416337B (en) | 2020-01-31 |
Family
ID=57005496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201580030011.7A Active CN106416337B (en) | 2015-03-31 | 2015-03-31 | Method, device and terminal for acquiring authentication information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106416337B (en) |
WO (1) | WO2016154886A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007857A1 (en) * | 2011-06-30 | 2013-01-03 | Qualcomm Incorporate | Anti-shoulder surfing authentication method |
CN102905396A (en) * | 2012-10-25 | 2013-01-30 | 宁波市北仑海伯精密机械制造有限公司 | Device networking and network-accessing management method for intelligent housing system |
CN103476030A (en) * | 2013-08-29 | 2013-12-25 | 小米科技有限责任公司 | Method for connecting mobile terminal to network, mobile terminal and terminal equipment |
CN103813328A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团公司 | Method and terminal for implementing services through mobile communication terminal |
CN104066075A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Communication method, device and system based on user identification module |
-
2015
- 2015-03-31 WO PCT/CN2015/075479 patent/WO2016154886A1/en active Application Filing
- 2015-03-31 CN CN201580030011.7A patent/CN106416337B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007857A1 (en) * | 2011-06-30 | 2013-01-03 | Qualcomm Incorporate | Anti-shoulder surfing authentication method |
CN102905396A (en) * | 2012-10-25 | 2013-01-30 | 宁波市北仑海伯精密机械制造有限公司 | Device networking and network-accessing management method for intelligent housing system |
CN103813328A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团公司 | Method and terminal for implementing services through mobile communication terminal |
CN104066075A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Communication method, device and system based on user identification module |
CN103476030A (en) * | 2013-08-29 | 2013-12-25 | 小米科技有限责任公司 | Method for connecting mobile terminal to network, mobile terminal and terminal equipment |
Non-Patent Citations (1)
Title |
---|
李晖: "《无线通信安全理论与技术》", 9 October 2011 * |
Also Published As
Publication number | Publication date |
---|---|
WO2016154886A1 (en) | 2016-10-06 |
CN106416337B (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12010519B2 (en) | Information sharing method, terminal device, storage medium, and computer program product | |
CA2935199C (en) | Communication device, method and system for establishing communications using the subscriber identity data of another communication device | |
CN105141568B (en) | Secured communication channel method for building up and system, client and server | |
US12096207B2 (en) | Network access authentication method and device | |
US9781085B2 (en) | Device to device security using NAF key | |
CN108040367A (en) | A kind of UE bands of position update method, access network entity, UE and core network entity | |
US20140137197A1 (en) | Data integrity for proximity-based communication | |
US9326114B2 (en) | Transferring a voice call | |
US20130340064A1 (en) | Mechanisms for Certificate Revocation Status Verification on Constrained Devices | |
CN114071452B (en) | Method and device for acquiring user subscription data | |
CN104406600A (en) | Method, equipment and system for updating vehicle-mounted offline map data | |
US20160345376A1 (en) | Wireless communication methods, apparatuses, and associated application systems and devices | |
CN113613197A (en) | Vehicle and digital key pairing method and device | |
CN115002764A (en) | Secret key updating, obtaining and canceling method and communication device | |
CN114514726A (en) | Secure key generation in wireless networks | |
CN109152046B (en) | Uplink resource configuration method and related equipment | |
CN105340353A (en) | Device to device communication security | |
US11012835B2 (en) | Method and terminal for acquiring transmission resource in vehicle to everything | |
CN107277935B (en) | Bluetooth communication method, device and application system and equipment thereof | |
CN106416337B (en) | Method, device and terminal for acquiring authentication information | |
CN105142098A (en) | Data sharing method and device | |
WO2023070433A1 (en) | Authentication between wireless devices and edge servers | |
EP4231681A1 (en) | Trusted relay communication method and apparatus, terminal, and network side device | |
CN109495982B (en) | Communication method and device and readable storage medium | |
CN106658699B (en) | Data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |