CN106792646B - Communication connection establishing method and electronic equipment - Google Patents

Communication connection establishing method and electronic equipment Download PDF

Info

Publication number
CN106792646B
CN106792646B CN201710203487.7A CN201710203487A CN106792646B CN 106792646 B CN106792646 B CN 106792646B CN 201710203487 A CN201710203487 A CN 201710203487A CN 106792646 B CN106792646 B CN 106792646B
Authority
CN
China
Prior art keywords
electronic equipment
base station
identification card
identity module
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710203487.7A
Other languages
Chinese (zh)
Other versions
CN106792646A (en
Inventor
刘建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710203487.7A priority Critical patent/CN106792646B/en
Publication of CN106792646A publication Critical patent/CN106792646A/en
Application granted granted Critical
Publication of CN106792646B publication Critical patent/CN106792646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a communication connection establishing method and electronic equipment, wherein first electronic equipment establishes a connection channel with a server; the first electronic device may transmit a communication connection establishment request to a nearby base station based on the first identity module information obtained from the server; the base station needs to authenticate the first identification card, only the second electronic equipment inserted with the first identification card can respond to authentication and ask for a case, and a corresponding authentication result is generated; therefore, the first electronic device needs to send the authentication request to the second electronic device through the server, and the second electronic device generates an authentication result based on the first identification card and feeds the authentication result back to the first electronic device through the server; and the first electronic equipment sends the authentication result to the base station, and if the base station determines that the first identification card is legal according to the authentication result, the base station determines to establish communication connection with the first electronic equipment, and at the moment, the user can communicate with other electronic equipment by using the first identity module information on the first electronic equipment.

Description

Communication connection establishing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for establishing a communication connection and an electronic device.
Background
Currently, a User Identity Module (UIM) card or a Subscriber Identity Module (SIM) card may be installed in the electronic device, and the electronic devices installed with the UIM card or the SIM card may communicate with each other.
When a user loses or forgets to carry the electronic device, the electronic device cannot be used for communication with other electronic devices.
Disclosure of Invention
In view of the above, the present invention provides a communication connection establishing method and an electronic device, so as to overcome the problem that in the prior art, when a user loses or forgets to carry the electronic device, the electronic device cannot be used to communicate with other electronic devices.
In order to achieve the purpose, the invention provides the following technical scheme:
a communication connection establishment method is applied to first electronic equipment and comprises the following steps:
establishing a connection channel with a server; the server stores first identity module information, wherein the first identity module information is information obtained and uploaded by second electronic equipment provided with a first identification card based on the first identification card;
receiving the first identity module information through the connection channel;
sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
receiving an authentication request fed back by the base station and used for identifying whether a first identification card corresponding to the first identity module information is legal or not;
sending the authentication request to the second electronic equipment through the server; to cause the second electronic device to respond to the authentication request based on the first identification card;
obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server;
and sending the authentication result to the base station so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card corresponding to the first identity module information is legal according to the authentication result.
Wherein the first identity module information includes a target home network of the first identification card, and the sending a communication connection establishment request to a base station whose communication coverage includes a location of the electronic device according to the first identity module information includes:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network;
and sending a communication connection establishment request to the base station.
The first identification card is a Subscriber Identity Module (SIM) card, and the SIM card comprises a mobile phone number; or, the first identification card is a User Identity Module (UIM) card, and the UIM card comprises a mobile phone number.
Wherein, still include:
recognizing a second identification card;
deleting the first identity module information;
or the like, or, alternatively,
deleting the first identity module information when the connection channel with the server is disconnected.
Wherein, still include:
periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
An electronic device, comprising:
the communication interface is used for the communication interaction between the processor and the server and the communication interaction between the processor and the base station;
the processor is configured to:
establishing a connection channel with a server; the server stores first identity module information, wherein the first identity module information is information obtained and uploaded by second electronic equipment provided with a first identification card based on the first identification card; receiving the first identity module information through the connection channel;
according to the first identity identification module information, sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment through the communication interface;
receiving an authentication request fed back by the base station through the communication interface and used for identifying whether a first identification card corresponding to the first identity module information is legal or not;
sending the authentication request to the second electronic equipment through the server; to cause the second electronic device to respond to the authentication request based on the first identification card;
obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server;
and sending the authentication result to the base station through the communication interface so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card corresponding to the first identity module information is legal according to the authentication result.
The first identity module information includes a target home network of the first identification card, and the processor is specifically configured to, when sending a communication connection establishment request to a base station whose communication coverage includes a location of the electronic device according to the first identity module information:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network;
and sending a communication connection establishment request to the base station.
The first identification card is a Subscriber Identity Module (SIM) card, and the SIM card comprises a mobile phone number; or, the first identification card is a User Identity Module (UIM) card, and the UIM card comprises a mobile phone number.
Wherein the processor is further configured to:
recognizing a second identification card;
deleting the first identity module information;
or the like, or, alternatively,
deleting the first identity module information when the connection channel with the server is disconnected.
Wherein the processor is further configured to:
periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
As can be seen from the foregoing technical solutions, compared with the prior art, an embodiment of the present invention provides a communication connection establishing method, in which a first electronic device establishes a connection channel with a server; the server stores the first identity module information borne by the first identification card, so that the first electronic equipment can obtain the first identity module information from the server; the first electronic device may send a communication connection establishment request to a nearby base station according to the first identity module information; the base station needs to authenticate the first identification card, but only the second electronic equipment inserted with the entity first identification card can respond to the authentication of the base station for seeking the right and generate a corresponding authentication result; therefore, the first electronic device needs to send the authentication request to the second electronic device through the server, and the second electronic device generates an authentication result based on the first identification card and feeds the authentication result back to the first electronic device through the server; and the first electronic equipment sends the authentication result to the base station, and if the base station determines that the first identification card is legal according to the authentication result, the base station determines to establish communication connection with the first electronic equipment, and at the moment, the user can communicate with other electronic equipment by using the first identity module information on the first electronic equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a communication connection establishing method according to an embodiment of the present invention;
fig. 2 is a signaling diagram of a communication connection establishment method according to an embodiment of the present invention;
fig. 3 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical applications, a User often forgets to carry an electronic device (e.g., a smart phone), in the embodiment of the present invention, the electronic device that the User forgets to carry is referred to as a second electronic device, and it is assumed that a first Identification card (e.g., a SIM (Subscriber identity Module) card or a UIM (User identity Module) card is inserted into the second electronic device); in order to solve the problem that a first electronic device (in the embodiment of the present invention, an electronic device into which a first identification card is not inserted is referred to as a first electronic device) that a user currently has does not insert the first identification card, and the second electronic device is no longer around the user, the user cannot obtain the first identification card, but the user still wants to use the first identification card to contact other users.
As shown in fig. 1, a flowchart of a communication connection establishment method provided in an embodiment of the present invention is applied to a first electronic device, and the method includes:
step S101: establishing a connection channel with a server; the server stores first identity module information.
The first identity module information is information obtained and uploaded by the second electronic device equipped with the first identification card based on the first identification card.
The first identification card is a physical carrier of the first identity module information (in the following embodiments of the present invention, the first identification card is referred to as a physical card).
The first electronic device 11 may establish a connection channel with the server 12 through a WIreless hotspot, for example, WiFi (WIreless-Fidelity).
Step S102: receiving the first identity module information through the connection channel.
The user may input information for characterizing the first identification card in the first electronic device (assuming that the first identification card is an SIM card, the information for characterizing the first identification card may be a mobile phone number or an IMSI), and after establishing a connection channel with the server, the user may send the information for characterizing the first identification card to the server. The server 12 may transmit first identification module information corresponding to information for characterizing the first identification card to the first electronic device through the connection channel.
The first identity module information includes, but is not limited to, the following:
ICCID (integrated circuit card identification); IMSI (International Mobile Subscriber identity Number); kc (Ciphering key, encryption key); PLMN selector (Public Land Mobile Network cell selection); HPPL LMN (high Priority PLMN search period); sst (simple service table); SPN (Service Provider Name); ACC (Access control class); FPLMN (Forbidden PLMNs); loci (location information); phase (phase identification); ecc (emergency Call codes); kcgprs (gprs graphing keykcprs); locigprs (gprs location information); plmnwact (user controlled PLMNSelector with Access technology); OPLMNwAcT (operator controlled PLMN selector with Access technology); HPLMNwAcT (HPLMN Selector with Access technology).
Step S103: and sending a communication connection establishment request to a base station with a communication coverage range including the position of the first electronic equipment according to the information of the first identity identification module.
The process of the first electronic device sending a communication connection establishment request to the base station is a process of selecting a cell. For example, when a smart phone is powered on or enters a coverage area of a base station from a blind area, the smart phone will search all frequency points allowed by the PLMN and select a suitable cell to camp on, which is called "cell selection".
Step S104: and receiving an authentication request fed back by the base station and used for identifying whether the first identity recognition module is legal or not.
Step S105: sending the authentication request to the second electronic equipment through the server; so that the second electronic device responds to the authentication request based on the first identification card.
The second electronic device inserted with the physical first identification card may respond to the authentication request based on the first identification card.
Step S106: and obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
Step S107: and sending the authentication result to the base station so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card is legal according to the authentication result.
And if the base station and the first electronic equipment successfully establish communication connection. The base station "thinks" that the first identification card is inserted into the first electronic equipment, and the first identification card is assumed to be an SIM card or a UIM card, and the first electronic equipment is a smart phone; if other users dial the mobile phone numbers corresponding to the first identification card, the base station can transfer the call to the first electronic equipment, and the first electronic equipment comprises the first identity identification module information, so that the users can check the communication contact ways of one or more persons stored in the first identification card through the first electronic equipment, and can also dial the calls or send short messages to other users through the first electronic equipment, and the mobile phone numbers corresponding to the first identification card are displayed in the electronic equipment of other users. And the user can also connect with a 2G network, a 3G network, a 4G network, a 5G network and the like through the first electronic equipment, and the traffic of the first identification card is consumed.
In the communication connection establishing method provided by the embodiment of the invention, a first electronic device establishes a connection channel with a server; the server stores the first identity module information borne by the first identification card, so that the first electronic equipment can obtain the first identity module information from the server; the first electronic device may send a communication connection establishment request to a nearby base station according to the first identity module information; the base station needs to authenticate the first identification card, but only the second electronic equipment inserted with the entity first identification card can respond to the authentication of the base station for seeking the right and generate a corresponding authentication result; therefore, the first electronic device needs to send the authentication request to the second electronic device through the server, and the second electronic device generates an authentication result based on the first identification card and feeds the authentication result back to the first electronic device through the server; and the first electronic equipment sends the authentication result to the base station, and if the base station determines that the first identification card is legal according to the authentication result, the base station determines to establish communication connection with the first electronic equipment, and at the moment, the user can communicate with other electronic equipment by using the first identity module information on the first electronic equipment.
In order to make the embodiment of the present invention more understood, a communication process between the first electronic device, the second electronic device, the server and the base station is described in detail below, and as shown in fig. 2, a signaling diagram of a communication connection establishment method provided by the embodiment of the present invention is shown.
In step S201, the first electronic device 11 establishes a connection channel with the server 12.
If the identification card of the entity is not inserted into the first electronic device 11, the first electronic device 11 may establish a connection channel with the server 12 through the wireless hotspot; if the third identification card of the entity is inserted into the first electronic device 11 (assuming that the first electronic device 11 is multi-card multi-standby), the first electronic device may establish a connection channel with the server 12 by using a 2G, 3G, 4G, or 5G network of the third identification card.
Step S202: the first electronic device 11 obtains information for characterizing the first identification card, and sends the information for characterizing the first identification card to the server 12 through the connection channel.
There are various methods for the first electronic device 11 to obtain the information for characterizing the first identification card, and the embodiments of the present invention provide, but are not limited to, the following:
the first method comprises the following steps: the first electronic device 11 detects whether an entity identification card is inserted into itself; when the entity identification card is not inserted, displaying an identification card information acquisition interface, wherein the identification card information acquisition interface is displayed with an input box for inputting information for representing the identification card; and acquiring information which is input in the input box by a user and used for representing the first identification card.
When the first electronic device is a smart phone, the information for representing the first identification card may be IMSI or a phone number; it will be appreciated that users are generally able to remember their mobile phone numbers, so the preferred information for characterizing the first identification card is the mobile phone number.
And the second method comprises the following steps: presetting a first key combination comprising one or more keys; when the first electronic equipment detects that the first key combination is touched and pressed, displaying an identification card information acquisition interface, wherein the identification card information acquisition interface is displayed with an input frame for inputting information for representing an identification card; and acquiring information which is input in the input box by a user and used for representing the first identification card.
Step S203: the server 12 obtains first identity module information corresponding to the information for representing the first identification card from the pre-stored identity module information corresponding to each information for representing the identification card, and sends the first identity module information to the first electronic device 11 through the connection channel.
The identity identification module information corresponding to the information which is prestored by the server and used for representing the identification card is uploaded by each electronic device.
For example, the second electronic device may obtain the first identity module information of the first identification card inserted by itself, and upload the first identity module information to the server.
The second electronic equipment can detect whether the information of the first identity identification module carried by the first identification card of the entity inserted by the second electronic equipment is uploaded to the server or not in the process of starting or normal operation.
Because a plurality of different identification cards can be inserted into the second electronic equipment, the second electronic equipment can record information which is used for representing the identification cards and corresponds to the uploaded information of the one or more identity module; and if the information corresponding to the first identification card and used for representing the first identification card is not in the recorded content of the second electronic equipment, the information is considered not to be uploaded. At this time, the first identity module information carried by the first identification card needs to be obtained and uploaded to the server 12.
Step S204: the first electronic device 11 sends a communication connection establishment request to the base station 13 whose communication coverage area includes the location of the first electronic device according to the first identity module information.
It can be understood that the operators of the first identification card are different, and the home networks thereof are different, for example, if the operators of the first identification card are connected, the home networks thereof are networks corresponding to base stations established by the connected operators; if the operator of the first identification card is telecommunication, the home network of the first identification card is a network corresponding to a base station established by the telecommunication operator; if the operator of the first identification card is mobile, the home network of the first identification card is a network corresponding to a base station established by the mobile operator. Preferably, when the first electronic device sends the communication connection request to the base station, the first electronic device preferably sends the communication connection request to a base station belonging to the same home network as the first identification card.
In summary, the sending the communication connection establishment request to the base station whose communication coverage includes the location of the electronic device according to the first identity module information includes:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network; and sending a communication connection establishment request to the base station.
Step S205: the base station 13 sends an authentication request for identifying whether the first identification card corresponding to the first identity module information is legal or not to the first electronic device 11.
Step S206: the first electronic device 11 sends an authentication request to the server 12.
Step S207: the server 12 obtains communication identification information of a second electronic device corresponding to information representing the first identification card according to pre-stored communication identification information of the electronic device inserted with the entity identification card corresponding to each information representing the identification card; and sends an authentication request to the second electronic device 14 based on the communication identification information of the second electronic device.
The server may store the following information, and assume that the information used for representing the identification card is a mobile phone number, and for clarity, a table is taken as an example for description.
TABLE 1 information stored by the Server
Figure BDA0001259252190000091
The communication identification information of the electronic device inserted with the entity identification card may be only required to uniquely determine the electronic device, and for example, the communication identification information may be an IMEI (International Mobile Equipment Identity) of the electronic device or a communication address (IP address and/or MAC address) of the electronic device.
If the IMEI of the electronic equipment is stored in the server, the communication address of the electronic equipment can be obtained through the IMEI of the electronic equipment.
In the embodiment of the present invention, the second electronic device and the server may be always in a connected state, so that before step S201, step S200 may further be included: the second electronic device 14 establishes a connection channel with the server 12.
Step S208: the second electronic device 14 responds to the authentication request based on the first identification card, generates an authentication result, and sends the authentication result to the first electronic device 11 through the server 12.
Step S209: the first electronic device 11 sends the authentication result to the base station 13.
Step S210: the base station 13 determines whether the first identification card corresponding to the first identity module information is legal or not according to the authentication result, and if so, determines to establish communication connection with the first electronic equipment; and if the communication connection is illegal, forbidding establishing the communication connection with the first electronic equipment (for example, ignoring the communication connection establishment request sent by the first electronic equipment).
It may preferably further include:
the base station 13 feeds back a result of whether the first identification card corresponding to the first identity module information is legal or not to the first electronic device.
It is understood that the electronic device may have a multi-card multi-standby function, and therefore the first electronic device may obtain one or more pieces of identification module information, and the process of obtaining the identification module information carried by each identification card in the first electronic device is the same as the above-mentioned communication connection establishment method.
It can be understood that, after the user no longer needs the first identity module information, the first identity module information in the first electronic device can be deleted to prevent the information of the user from being leaked.
There are various methods for detecting that the user no longer needs the first identity module information, and the embodiments of the present invention provide, but are not limited to, the following.
First, a second identification card (referred to as a second identification card here for distinguishing from the first identification card) is inserted into the first electronic device.
The first method is based on the following application scenarios: in the process of obtaining the first identity module information by the user using the first electronic equipment, the first electronic equipment does not insert any identification card.
The specific application scenario may be as follows: the user forgets to carry the second electronic equipment and borrows the first electronic equipment from friends or colleagues; the first electronic equipment is used for the user after the friend or the colleague pulls the second identification card of the first electronic equipment; when the user returns the first electronic equipment to the friend or the colleague, the friend or the colleague inserts the second identification card into the first electronic equipment again.
The specific method comprises the following steps: recognizing a second identification card; deleting the first identity module information;
here, recognizing the second identification card means recognizing a physical card of the second identification card.
This is true for single-card single-standby electronic devices, which can only insert one identification card at a time. But may of course also be applicable to multi-card multi-standby electronic devices.
Second, a second key combination of the first electronic device including one or more keys indicates deletion of the first identity module information.
Some electronic devices have multiple cards and multiple standby, such as dual cards and dual standby, so even if the first electronic device is inserted into the second identification card, it does not necessarily indicate that the user does not need the first identification module information. A second key combination including one or more keys may be preset; and deleting the first identity recognition module information when the second key combination is detected to be touched.
And thirdly, inputting information for representing the first identification card in a deleted identity recognition module information interface displayed by the first electronic equipment, and clicking to delete. The first electronic device identifies the module information with the first identity.
The first electronic device may be multi-card multi-standby, and the first electronic device may acquire the id module information corresponding to the plurality of identification cards, and does not know which one is to be deleted when deleting, so that a delete id module information interface may be displayed, so that a user may input information corresponding to the first id module information that the user needs to delete and used for representing the first identification card.
When the first electronic device is a single card and a single standby, the third method may also be used.
The three methods can also be used interactively, for example, when the first electronic device detects that the second key combination is touched, an identity module information deleting interface is displayed, and an input frame for inputting information for representing the identification card is displayed on the identity module information deleting interface, or information for representing the identification card corresponding to each piece of identity module information obtained in the first electronic device is displayed on the identity module information deleting interface; the method comprises the steps that first electronic equipment receives information which is input or selected by a user and used for representing a first identification card; and deleting the first identity module information corresponding to the information for representing the first identification card.
Fourthly, deleting the first identity module information when the connection channel with the server is disconnected.
It can be understood that, after the first electronic device successfully establishes the connection with the base station based on the first identity module information, the steps S103 to S107 need to be repeatedly executed instead of "once and for all", so that the first electronic device and the base station are always in a connected state.
In summary, the method further includes: periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
The embodiment of the invention also provides electronic equipment corresponding to the communication connection establishment method, and the embodiment of the electronic equipment and the embodiment of the communication connection establishment method can be referred to each other and are not described herein again.
As shown in fig. 3, a structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device may include:
a communication interface 31, configured to enable the processor to perform communication interaction with the server, and enable the processor to perform communication interaction with the base station;
alternatively, the communication interface 31 may be an interface of a communication module, such as an interface of a GSM (Global System for mobile communication) module.
The processor 32 is configured to:
establishing a connection channel with a server; the server stores first identity module information, wherein the first identity module information is information obtained and uploaded by second electronic equipment provided with a first identification card based on the first identification card; receiving the first identity module information through the connection channel;
according to the first identity identification module information, sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment through the communication interface;
receiving an authentication request fed back by the base station through the communication interface and used for identifying whether a first identification card corresponding to the first identity module information is legal or not;
sending the authentication request to the second electronic equipment through the server; to cause the second electronic device to respond to the authentication request based on the first identification card;
obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server;
and sending the authentication result to the base station through the communication interface so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card corresponding to the first identity module information is legal according to the authentication result.
The processor 32 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
Optionally, the electronic device may further include a communication bus 33, wherein the communication interface 31 and the processor 32 may perform communication interaction through the communication bus 33.
Optionally, the first identity module information includes a target home network of the first identity card, and when the processor sends a communication connection establishment request to a base station whose communication coverage includes a location of the electronic device according to the first identity module information, the processor is specifically configured to:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network;
and sending a communication connection establishment request to the base station.
Optionally, the first identification card is a subscriber identity module SIM card, and the SIM card includes a mobile phone number; or, the first identification card is a User Identity Module (UIM) card, and the UIM card comprises a mobile phone number.
Optionally, the processor is further configured to:
recognizing a second identification card;
deleting the first identity module information;
or the like, or, alternatively,
deleting the first identity module information when the connection channel with the server is disconnected.
Optionally, the processor is further configured to:
periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
According to the implementation example of the method, when the mobile phone is forgotten to take, the sim card information forgotten to take is downloaded from the cloud terminal through another mobile phone based on wifi, the mobile phone is connected with the base station in a network scanning mode based on the sim card information, and when the base station feeds back the information needing authentication and registration, the information needing authentication and registration is fed back to the mobile phone forgotten to take through the cloud terminal, so that the mobile phone forgotten to take generates an authentication result. The other mobile phone obtains the authentication result of forgetting to take the mobile phone through the cloud end and is completely connected with the base station, so that the other mobile phone can make a call and surf the internet based on the flow rate under the state of no card.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A communication connection establishment method is applied to a first electronic device, and comprises the following steps:
establishing a connection channel with a server; the server stores first identity module information, wherein the first identity module information is information obtained and uploaded by second electronic equipment provided with a first identification card based on the first identification card;
receiving the first identity module information through the connection channel;
sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
receiving an authentication request fed back by the base station and used for identifying whether a first identification card corresponding to the first identity module information is legal or not;
sending the authentication request to the second electronic equipment through the server; to cause the second electronic device to respond to the authentication request based on the first identification card;
obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server;
and sending the authentication result to the base station so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card corresponding to the first identity module information is legal according to the authentication result, and display a mobile phone number corresponding to the first identification card on the electronic equipment of other users when the base station contacts other users through the first electronic equipment or consume the flow of the first identification card when the base station connects a network through the first electronic equipment.
2. The method according to claim 1, wherein the first identity module information includes a target home network of the first identity card, and the sending the communication connection establishment request to a base station whose communication coverage area includes a location of the electronic device according to the first identity module information includes:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network;
and sending a communication connection establishment request to the base station.
3. The communication connection establishing method according to claim 1 or 2, wherein the first identification card is a subscriber identity module, SIM, card, the SIM card including a mobile phone number; or, the first identification card is a User Identity Module (UIM) card, and the UIM card comprises a mobile phone number.
4. The communication connection establishing method according to claim 1, further comprising:
recognizing a second identification card;
deleting the first identity module information;
or the like, or, alternatively,
deleting the first identity module information when the connection channel with the server is disconnected.
5. The communication connection establishing method according to claim 1, further comprising:
periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
6. An electronic device, comprising:
the communication interface is used for the communication interaction between the processor and the server and the communication interaction between the processor and the base station;
the processor is configured to:
establishing a connection channel with a server; the server stores first identity module information, wherein the first identity module information is information obtained and uploaded by second electronic equipment provided with a first identification card based on the first identification card; receiving the first identity module information through the connection channel;
according to the first identity identification module information, sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment through the communication interface;
receiving an authentication request fed back by the base station through the communication interface and used for identifying whether a first identification card corresponding to the first identity module information is legal or not;
sending the authentication request to the second electronic equipment through the server; to cause the second electronic device to respond to the authentication request based on the first identification card;
obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server;
and sending the authentication result to the base station through the communication interface so as to determine to establish communication connection with the first electronic equipment when the base station determines that the first identification card corresponding to the first identity module information is legal according to the authentication result, and display a mobile phone number corresponding to the first identification card on the electronic equipment of other users when the base station contacts other users through the first electronic equipment or consume the flow of the first identification card when the base station connects a network through the first electronic equipment.
7. The electronic device of claim 6, wherein the first identity module information includes a target home network of the first identity card, and the processor, when sending the communication connection establishment request to a base station whose communication coverage area includes a location of the electronic device according to the first identity module information, is specifically configured to:
searching a communication coverage area including a position of the first electronic equipment, wherein a home network belongs to a base station of the target home network;
and sending a communication connection establishment request to the base station.
8. The electronic device of claim 6 or 7, wherein the first identification card is a subscriber identity module, SIM, card, the SIM card including a mobile phone number; or, the first identification card is a User Identity Module (UIM) card, and the UIM card comprises a mobile phone number.
9. The electronic device of claim 6, wherein the processor is further configured to:
recognizing a second identification card;
deleting the first identity module information;
or the like, or, alternatively,
deleting the first identity module information when the connection channel with the server is disconnected.
10. The electronic device of claim 6, wherein the processor is further configured to:
periodically sending a communication connection establishment request to a base station of which the communication coverage area comprises the position of the first electronic equipment according to the information of the first identity identification module;
and periodically obtaining an authentication result generated by the second electronic equipment according to the authentication request through the server.
CN201710203487.7A 2017-03-30 2017-03-30 Communication connection establishing method and electronic equipment Active CN106792646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710203487.7A CN106792646B (en) 2017-03-30 2017-03-30 Communication connection establishing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710203487.7A CN106792646B (en) 2017-03-30 2017-03-30 Communication connection establishing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106792646A CN106792646A (en) 2017-05-31
CN106792646B true CN106792646B (en) 2020-03-20

Family

ID=58965582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710203487.7A Active CN106792646B (en) 2017-03-30 2017-03-30 Communication connection establishing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106792646B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936840B (en) * 2019-01-02 2023-01-03 百度在线网络技术(北京)有限公司 Communication method and device and electronic equipment
CN111954217B (en) * 2020-08-19 2023-10-27 ***通信集团江苏有限公司 User identity verification method and device, electronic equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763464A (en) * 2016-01-29 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Data flow sharing method, device and system
CN105872954A (en) * 2016-04-28 2016-08-17 上海吾游信息技术有限公司 Relay SIM card communication method, relay SIM card and MIFI
CN105872956A (en) * 2016-05-03 2016-08-17 深圳市云际通科技有限公司 System and method for remote authentication application based on bluetooth subscriber identification module (SIM)
CN106162607A (en) * 2015-03-24 2016-11-23 中兴通讯股份有限公司 The management method of a kind of virtual SIM card, device and system
CN106170000A (en) * 2016-08-19 2016-11-30 深圳市云际通科技有限公司 A kind of remote authentication application system and its implementation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162607A (en) * 2015-03-24 2016-11-23 中兴通讯股份有限公司 The management method of a kind of virtual SIM card, device and system
CN105763464A (en) * 2016-01-29 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Data flow sharing method, device and system
CN105872954A (en) * 2016-04-28 2016-08-17 上海吾游信息技术有限公司 Relay SIM card communication method, relay SIM card and MIFI
CN105872956A (en) * 2016-05-03 2016-08-17 深圳市云际通科技有限公司 System and method for remote authentication application based on bluetooth subscriber identification module (SIM)
CN106170000A (en) * 2016-08-19 2016-11-30 深圳市云际通科技有限公司 A kind of remote authentication application system and its implementation

Also Published As

Publication number Publication date
CN106792646A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
EP2757835B1 (en) Method of automatic SIM card selection according to network environment
Willassen Forensics and the GSM mobile telephone system
US10149234B2 (en) Network access method and mobile communication terminal
CN107182047B (en) Network searching method and device for international roaming
CN105722090B (en) Control method and device for automatically identifying pseudo base station
US8295803B2 (en) System and method for direct communication between wireless communication devices
EP2925032B1 (en) Profile download for subscribing to network in wireless communication system
CN105916151A (en) Intelligent equipment wireless network access method and system thereof
EP1796421A1 (en) A method for restricting the terminal to predetermined area or operator
US20080090548A1 (en) Method for tracking mobile communication terminal
CN102883320A (en) WiFi (Wireless Fidelity) authentication method and system thereof
CN104486818A (en) Method for selective access to cellular mobile network system and cloud server
CN107466085B (en) Method for network access and Related product
CN104469765A (en) Terminal authentication method and device used in mobile communication system
CN104618561A (en) Mobile terminal, and method and device for setting and viewing address book state thereby
US9547759B2 (en) Method and apparatus for managing user provided access tokens
EP2770766B1 (en) Displaying stored data while provisioning service functionalities of a mobile terminal
CN106792646B (en) Communication connection establishing method and electronic equipment
CN104469766A (en) Terminal authentication method and device used in mobile communication system
CN111279670A (en) Emergency number matching method and device
KR101640723B1 (en) Apparatus and methods for anonymous paired device discovery in wireless communications systems
CN105848251B (en) Hotspot access method, device and terminal
US20180027486A1 (en) Method for switching from a first to a second mobile network operator and corresponding device
CN104113837A (en) Method and device for access authentication of wireless local area network
CN103476013B (en) address book synchronization method, device and communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant