WO2016101489A1 - 一种实现一卡多机的方法及装置 - Google Patents

一种实现一卡多机的方法及装置 Download PDF

Info

Publication number
WO2016101489A1
WO2016101489A1 PCT/CN2015/078587 CN2015078587W WO2016101489A1 WO 2016101489 A1 WO2016101489 A1 WO 2016101489A1 CN 2015078587 W CN2015078587 W CN 2015078587W WO 2016101489 A1 WO2016101489 A1 WO 2016101489A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
bluetooth module
module
bluetooth
information
Prior art date
Application number
PCT/CN2015/078587
Other languages
English (en)
French (fr)
Inventor
于维纳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US15/538,812 priority Critical patent/US10638300B2/en
Priority to EP15871565.6A priority patent/EP3223579A4/en
Publication of WO2016101489A1 publication Critical patent/WO2016101489A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • 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/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/43Security arrangements using identity modules using shared identity modules, e.g. SIM sharing

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and an apparatus for implementing a card multi-machine.
  • Copying the phone card The owner of the machine will often receive a message like "I can make the same phone number for you, use it to hear his conversation, see the information he sent, and find out where he is. Also That is to say, his whereabouts are all in your control. First of all, in this case, it is impossible to copy without mobile phone card by mobile phone number alone. In the case of a card, the mobile phone card that the operator produced a few years ago is easy to copy. Now the new mobile phone card has anti-copy function, but the business hall also provides the function of copy card, one card is used to make a call, and one card is used to access the Internet. With this technology, the two cards cannot be used at the same time, and when the phone is received, the ringing mobile phone is random.
  • the copy card may sometimes receive a text message, a phone call, and sometimes it may not be received (can make a call at the same time). Which card is connected afterwards, then this card will be used as an online card, and all received calls and text messages will be sent to the mobile phone where the mobile phone card is located.
  • IMSI International Mobile Subscriber Identification Number
  • the same International Mobile Subscriber Identification Number (IMSI) can only have one card online. For example, if the copy card is used last, and the mobile phone where the copy card is located is now turned off, the phone where the original card is located is turned on, but when you call this number, you will be prompted to call the phone. .
  • the mobile phone customer identification module produced by the operator has anti-copy function, which is difficult to copy and takes a long time; the copy of the business hall is cumbersome; the mobile phone physical card is required to increase the cost;
  • the copy card can only receive calls and text messages, with fewer functions and no market value.
  • an embodiment of the present invention provides a method and an apparatus for implementing a card multi-machine, which can truly implement a card multi-machine, and is easy to operate and has a good user experience value.
  • an embodiment of the present invention provides a method for implementing a card multi-machine, which is applied to a first terminal device side, and includes:
  • the customer identification module information of the first terminal device is sent to the Bluetooth module of the second terminal device by the Bluetooth module of the first terminal device, and the second terminal device stores the customer identification module information to the fixed storage area of the second terminal device.
  • the method further includes: acquiring Bluetooth buffer parameter information of the Bluetooth module of the first terminal device.
  • the establishing the connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device includes:
  • connection request information includes: a Bluetooth address of the first terminal device, a device type, and a connection parameter of the connection mode information;
  • connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device is established by the Bluetooth module of the second terminal device receiving the connection request information and sending an instruction.
  • the sending, by the Bluetooth module of the first terminal device, the information of the customer identification module of the first terminal device to the Bluetooth module of the second terminal device includes:
  • the split customer identification module information is defined in a Bluetooth packet format and identified by a data packet header, and the identified customer identification module information is sent to the second terminal device by using a Bluetooth module of the first terminal device.
  • Bluetooth module is defined in a Bluetooth packet format and identified by a data packet header, and the identified customer identification module information is sent to the second terminal device by using a Bluetooth module of the first terminal device.
  • the embodiment of the invention further provides a method for implementing a card multi-machine, which is applied to the second terminal device side, and includes:
  • the second terminal device performs card authentication according to the customer identification module information stored in the fixed storage area.
  • the establishing the connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device includes:
  • connection request information includes: a Bluetooth address of the second terminal device, a device type, and a connection parameter of the connection mode information;
  • connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device is established by the Bluetooth module of the first terminal device receiving the connection request information and sending an instruction.
  • the Bluetooth module of the second terminal device receives the customer identification module information of the first terminal device sent by the Bluetooth module of the first terminal device, and stores the customer identification module information in a fixed storage area of the second terminal device.
  • the second terminal device stores the reassembled customer identification module information to the fixed storage area.
  • the embodiment of the invention provides a device for implementing a card multi-machine, which is applied to the first terminal device side, and includes:
  • a first search module configured to search for one or more surrounding second terminal devices by using a Bluetooth module of the first terminal device, or receive a search for the first terminal device by a Bluetooth module of one or more second terminal devices information;
  • a first connection module configured to establish a connection between a Bluetooth module of the first terminal device and a Bluetooth module of the second terminal device
  • a first processing module configured to send, by using a Bluetooth module of the first terminal device, the customer identification module information of the first terminal device to the Bluetooth module of the second terminal device, where the second terminal device stores the customer identification module information to the second terminal device Fixed storage area.
  • the device further includes: an obtaining module, configured to acquire Bluetooth buffer parameter information of the Bluetooth module of the first terminal device.
  • the first connection module includes:
  • a first sending unit configured to send connection request information to a Bluetooth module of the second terminal device by using a Bluetooth module of the first terminal device, where the connection request information includes: a Bluetooth address of the first terminal device, a device type, and Connection parameter information of the connection mode;
  • the first connection unit is configured to receive the connection request information and send the instruction by using the Bluetooth module of the second terminal device, and establish a connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device.
  • the first processing module includes:
  • a splitting unit configured to split the customer identification module information sent by the Bluetooth module of the second terminal device according to the Bluetooth buffer parameter
  • a first processing unit configured to define the split customer identification module information in a Bluetooth data packet format and identify the data by using a data packet header, and send the identified customer identification module information to the Bluetooth module of the first terminal device To the Bluetooth module of the second terminal device.
  • the embodiment of the invention further provides a device for implementing a card multi-machine, which is applied to the second terminal device side, and includes:
  • a second search module configured to receive, by using a Bluetooth module of the second terminal device, search information sent by one or more Bluetooth modules of the first terminal device or to one or more surrounding first terminal devices Line search
  • a second connection module configured to establish a connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device
  • a second processing module configured to receive, by using a Bluetooth module of the second terminal device, customer identification module information of the first terminal device sent by the Bluetooth module of the first terminal device, and storing the customer identification module information in the fixed storage of the second terminal device region;
  • the authentication module is configured to perform card authentication according to the customer identification module information stored in the fixed storage area.
  • the second connection module includes:
  • a second sending unit configured to send connection request information to the Bluetooth module of the first terminal device by using a Bluetooth module of the second terminal device, where the connection request information includes: a Bluetooth address of the second terminal device, a device type, and Connection parameter information of the connection mode;
  • a second connecting unit configured to receive, by using a Bluetooth module of the first terminal device, connection request information, and send an instruction, to establish a connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device.
  • the second processing module includes:
  • a second processing unit configured to receive, by using a Bluetooth module of the second terminal device, a plurality of split customer identification module information sent by the Bluetooth module of the first terminal device, and split the split customer identification module information Reorganize;
  • a storage unit configured to store the reassembled customer identification module information into the fixed storage area.
  • the Bluetooth module of the first terminal device searches for one or more surrounding second terminal devices or receives the Bluetooth module of the one or more second terminal devices to the Bluetooth of the first terminal device. Searching information of the module, establishing a connection with the second terminal device, and transmitting the customer identification module information of the first terminal device to the second terminal device, thereby realizing one card multi-machine, and being easy to operate, for new and old terminals
  • the alternate replacement of the equipment brings a certain convenience and is convenient for the user's experience. At the same time, in the case of convenient operation, it also has high security.
  • FIG. 1 is a flowchart of a method for implementing a card multi-machine applied to a first terminal device side according to an embodiment of the present invention
  • FIG. 2 is a flowchart of establishing a connection between a Bluetooth module of a first terminal device and a Bluetooth module of a second terminal device in a method for implementing a card multi-machine according to an embodiment of the present invention
  • FIG. 3 is a flow chart of sending a customer identification module in a method for implementing a card multi-machine on a first terminal device side according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for implementing a card multi-machine applied to a second terminal device side according to an embodiment of the present invention
  • FIG. 5 is a flowchart of establishing a connection between a Bluetooth module of a second terminal device and a Bluetooth module of a first terminal device in a method for implementing a card multi-machine according to an embodiment of the present invention
  • FIG. 6 is a flow chart of receiving a customer identification module by a method for implementing a card multi-machine on a second terminal device side according to an embodiment of the present invention
  • FIG. 7 is a block diagram of an apparatus for implementing a card multi-machine applied to a first terminal device side according to an embodiment of the present invention
  • FIG. 8 is a block diagram of a first connection module in an apparatus for implementing a card multi-machine according to an embodiment of the present invention.
  • FIG. 9 is a block diagram of a first processing module in an apparatus for implementing a card multi-machine applied to a first terminal device side according to an embodiment of the present invention.
  • FIG. 10 is a block diagram of an apparatus for implementing a card multi-machine applied to a second terminal device side according to an embodiment of the present invention
  • FIG. 11 is a block diagram of a second connection module in an apparatus for implementing a card multi-machine on a second terminal device side according to an embodiment of the present invention
  • FIG. 12 is a block diagram of a second processing module in an apparatus for implementing a card multi-machine on a second terminal device side according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for implementing a card multi-machine, which is applied to a first terminal device side, and includes:
  • Step 100 Searching for one or more surrounding second terminal devices by using a Bluetooth module of the first terminal device or receiving search information of the first terminal device by the Bluetooth module of one or more second terminal devices;
  • Step 200 Establish a connection between a Bluetooth module of the first terminal device and a Bluetooth module of the second terminal device.
  • Step 300 The user identification module information of the first terminal device is sent to the Bluetooth module of the second terminal device by using the Bluetooth module of the first terminal device, and the second terminal device stores the customer identification module information to the fixed storage area of the second terminal device.
  • the customer identification module is: SIM card, USIM card, ISIM card, Nano-SIM card or UIM card.
  • each pair of devices must have a primary role, that is, the primary end, and the other is the secondary role, that is, the secondary end, in order to communicate.
  • the primary end When communicating, the primary end must search, initiate pairing, and establish a connection. After successful, both parties can send and receive data.
  • a Bluetooth master device can communicate with seven Bluetooth slave devices at the same time. In slave mode, wait for other master devices to connect, and if necessary, switch to master mode and initiate a call to other devices.
  • a Bluetooth device initiates a call in the main mode, it needs to know the other party's Bluetooth address, pairing password and other information. After the pairing is completed, the call can be directly initiated.
  • the Bluetooth module of the first terminal device performs an inquiry on the surrounding second terminal device.
  • the first terminal device enters a state of waiting for the second terminal device connection request.
  • the first terminal device performs a scan to discover the second terminal device within the valid range, thereby determining the state that the first terminal device should be. After the first terminal device starts this scan, further state settings will be made.
  • the query command issued during the query will cause the first terminal device to enter a state of seeking proximity to the second terminal device, and the main parameters of the query command include the query interval and the number of responses.
  • the first terminal device is set to The master device sends a connection request; if the second device is not found, after the query interval is exceeded, the first terminal device is set as the slave device and enters the periodic query state, waiting for the second terminal device to be the connection request of the master device.
  • the parameters that are queried regularly include the query interval, the time of each query, and the number of devices allowed to respond.
  • the method before the first terminal device searches for the surrounding second terminal device or receives the search information of the second terminal device, the method further includes: acquiring a Bluetooth buffer of the Bluetooth module of the first terminal device Parameter information.
  • Initialization of the first terminal device including initialization of the Bluetooth module and initial state setting of the first terminal device; after the physical connection of the first terminal device is completed, the driver automatically loads and starts the initialization work; the first terminal device first performs resetting and driving
  • the program issues a reset command to the Bluetooth module to reset the Bluetooth module.
  • the Bluetooth module completes the reset operation and returns a command completion event to the first terminal device to notify the reset completion; the first terminal device receives the reset completion event.
  • the Bluetooth module information is read and saved, and the Bluetooth module information here includes version information, Bluetooth address, and Bluetooth buffer parameters.
  • the Bluetooth address will be used for the connection operation, the Bluetooth address is already set when the Bluetooth module is shipped, and the Bluetooth buffer parameter will be submitted to the first terminal device, so that the first terminal device blocks the data to be transmitted. Then, the first terminal device performs preliminary setting on the Bluetooth module.
  • the buffer size parameter of the first terminal device is transmitted to the Bluetooth module by a reset command, and the first terminal device uses the information when controlling the data transmission.
  • the Bluetooth module defaults to the common information, and there is no special requirement in the actual application without modifying it. However, it is easy to use by applying the relevant instructions to read them out and save them by the first terminal device.
  • step 200 specifically includes:
  • Step 201 Send, by using a Bluetooth module of the first terminal device, connection request information to the Bluetooth module of the second terminal device, where the connection request information includes: a Bluetooth address of the first terminal device, a device type, and connection parameter information of the connection mode;
  • Step 202 Receive connection request information and send an instruction by using a Bluetooth module of the second terminal device, and establish a connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device.
  • the Bluetooth module sets the pairing information between the two Bluetooth modules in advance before leaving the factory.
  • the master terminal pre-stores the PIN code of the slave device (the personal identification password of the customer identification module), the address, etc.
  • the connection is automatically established and transmitted through the serial port without external circuit intervention.
  • the slave device can be set to two states. One is the silent state, that is, it can only communicate with the designated master, and is not searched by other Bluetooth modules. The second is the development state, which can be searched by the designated master. It can also be found by other Bluetooth modules to establish a connection.
  • the first terminal device sends a connection request to the second terminal device as the master device, and the Bluetooth module of the second terminal device sends a connection request event to the second terminal device after receiving the request, where the event includes the Bluetooth of the first terminal device.
  • Connection parameters such as address, device type, and connection mode.
  • the second terminal device receives the connection request of the first terminal device and sends an instruction, and specifies its own role with the parameter. After the command is issued, the first terminal device and the second terminal device will receive a connection completion event, where the event parameter includes the other party's Bluetooth address, connection mode, encryption mode, and connection handle, where the link handle is the connection.
  • the name the operation of the connection will be made by reference to the connection handle.
  • connection between the first terminal device and the second terminal device is established, and data transmission can be performed. Interrupting a connection is relatively straightforward. If either party issues an interrupt instruction, the connection can be broken. The interrupt instruction has parameters to indicate which connection is interrupted. After the current data transfer operation is completed, both the first terminal device and the second terminal device will receive an interrupt connection event with a connection handle.
  • the Bluetooth module of the second terminal device records the information of the second terminal device.
  • the first terminal device can initiate a call to the second terminal device.
  • the present invention is a data link call, and the paired device is in the next call. No longer need to re-pair.
  • step 300 includes:
  • Step 301 The first terminal device splits the customer identification module information sent by the Bluetooth module of the second terminal device according to the Bluetooth buffer parameter.
  • Step 302 The split customer identification module information is defined in a Bluetooth packet format and identified by a data packet header, and the identified customer identification module information is sent through the Bluetooth module of the first terminal device to the second terminal device. Bluetooth module.
  • the Bluetooth module of the first terminal device may determine the split client according to the buffer size parameter of the first terminal device acquired previously.
  • the identification module information can reach the Bluetooth module several times.
  • the data transmission is relatively simple. Since the communication channel has been established, it is only necessary to send the data to be transmitted to the USB bus.
  • An important part of data transmission is to group the data to be transmitted to fit the size of the Bluetooth buffer, which is based on the value of reading the Bluetooth buffer parameters.
  • the data to be split is also based on the definition of the Bluetooth packet format, plus the packet header so that the Bluetooth module can correctly identify and process it.
  • the data to be sent is processed according to the Bluetooth format and then combined into larger data blocks.
  • Another important part of the data transfer part is the programming of the USB bus.
  • the USB driver does not talk directly to the hardware, but instead does the hardware operation by creating a USB request block (URB) and submitting it to the bus driver (USBD.SYS).
  • URB USB request block
  • USB.SYS bus driver
  • the data-packed data received URB, the driver's call to the URB is converted to the code with the main function to complete the specified operation.
  • the driver first creates a URB in accordance with the rules in the DDK (Device Development Kit). Once the URB is created, it can be used to interact with USBD.SYS.
  • DDK Device Development Kit
  • the embodiment of the present invention further provides a method for implementing a card multi-machine, which is applied to the second terminal device side, as shown in FIG. 4, and includes:
  • Step 400 Receive, by using a Bluetooth module of the second terminal device, search information sent by one or more Bluetooth modules of the first terminal device or search for one or more surrounding first terminal devices;
  • Step 500 Establish a connection between a Bluetooth module of the second terminal device and a Bluetooth module of the first terminal device.
  • Step 600 Receive, by the Bluetooth module of the second terminal device, the customer identification module information of the first terminal device sent by the Bluetooth module of the first terminal device, and store the customer identification module information in a fixed storage area of the second terminal device;
  • Step 700 The second terminal device performs card authentication according to the customer identification module information stored in the fixed storage area.
  • the second terminal device receives the customer identification module information sent by the first terminal device and stores the information, but the current problem is where to store the second terminal device, which needs to refer to the early form of the integrated machine card.
  • the customer identification module that is, the specified data content is written in a certain storage area of the mobile phone, and the mobile phone can be matched with the number.
  • the early domestic big brother is this form, and later the PHS has also adopted In this way, today’s one-card multi-machine
  • the information in the customer identification module in the first terminal device such as user identity authentication, data information storage, and information related to the proliferation service provided by the STK, may be written to a certain fixed in the second terminal device.
  • the storage area thereby implementing the binding function of the first terminal device and the second terminal device.
  • the code IMSI and the key Ki are secret data that need to be securely stored.
  • a random number RAND is generated from the network, and the authentication result (SRES) and the call encryption key Kc are calculated by using the IMSI and the key Ki stored in the client identification module, if the customer identification module calculates the SRES
  • the authentication is successful if it is the same as the SRES calculated by the network.
  • the main network elements participating in the authentication include the Visited Registration Center (VLR), the Mobile Switching Center (MSC), and the Home Location Register (HLR). Authentication Center (AUC, Authentication Center).
  • the mobile phone When the mobile phone is turned on, it first reads a series of service information stored in the customer identification module, and then performs network authentication. If the authentication succeeds, the current operator name is displayed, and the user can perform normal operations. Moreover, the mobile phone sends a query command within a certain time interval to check the status of the current customer identification module. Once the customer identification module is found to have not sent back the correct response, the connection between the network and the network is cut off, prompting the insertion of the customer identification module. After the mobile phone with the binding function, the query needs to include the part of the SIM information written to the fixed storage location of the mobile phone.
  • step 500 specifically includes:
  • Step 501 Send, by using a Bluetooth module of the second terminal device, connection request information to the Bluetooth module of the first terminal device, where the connection request information includes: a Bluetooth address of the second terminal device, a device type, and connection parameter information of the connection mode;
  • Step 502 Receive a connection request message by using a Bluetooth module of the first terminal device, and send an instruction to establish a connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device.
  • the second terminal device sends a connection request to the first terminal device as the master device, and the Bluetooth module of the first terminal device sends a connection request event to the first terminal device after receiving the request, where the event includes the Bluetooth of the second terminal device.
  • Connection parameters such as address, device type, and link mode.
  • the first terminal device receives the connection request of the second terminal device and sends an instruction, and specifies its own role with the parameter. After the command is issued, the second terminal device and the first terminal device will receive a connection completion.
  • the event parameter includes the other party's Bluetooth address, link mode, encryption mode, and connection handle.
  • the link handle is the "name" of the connection, and the operation of the connection will be performed by referring to the connection handle.
  • connection between the second terminal device and the first terminal device is established, and data transmission can be performed. Interrupting a connection is relatively straightforward. If either party issues an interrupt instruction, the connection can be broken. The interrupt instruction has parameters to indicate which connection is interrupted. After the current data transfer operation is completed, both the second terminal device and the first terminal device will receive an interrupt connection event with a connection handle.
  • step 600 specifically includes:
  • Step 601 Receive, by using a Bluetooth module of the second terminal device, a plurality of split customer identification module information sent by the Bluetooth module of the first terminal device, and reassemble the split customer identification module information;
  • Step 602 The second terminal device stores the reassembled customer identification module information into a fixed storage area.
  • the second terminal device stores the reassembled customer identification module information in a fixed storage area and then authenticates the number card
  • the following functions can be implemented:
  • the call log can be set to synchronize, and you need to note which phone to use for the call.
  • the embodiment of the present invention further provides a device for implementing a card multi-machine, which is applied to the first terminal device side, as shown in FIG. 7, and includes:
  • a first search module 10 configured to search for one or more surrounding second terminal devices by using a Bluetooth module of the first terminal device, or receive a Bluetooth module of one or more second terminal devices to the first terminal device Search Information;
  • the first connection module 20 is configured to establish a connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device;
  • the first processing module 30 is configured to send the customer identification module information of the first terminal device to the Bluetooth module of the second terminal device by using the Bluetooth module of the first terminal device, and store the customer identification module information to the second terminal by the second terminal device The fixed storage area of the device.
  • the apparatus further includes: an obtaining module (not shown) for acquiring Bluetooth buffer parameter information of the Bluetooth module of the first terminal device.
  • the first connection module 20 includes:
  • the first sending unit 21 is configured to send connection request information to the Bluetooth module of the second terminal device by using a Bluetooth module of the first terminal device, where the connection request information includes: a Bluetooth address of the first terminal device, a device type, and a connection parameter of the connection mode. information;
  • the first connection unit 22 is configured to receive connection request information and send an instruction by using a Bluetooth module of the second terminal device, and establish a connection between the Bluetooth module of the first terminal device and the Bluetooth module of the second terminal device.
  • the first processing module 30 includes:
  • the splitting unit 31 is configured to split the customer identification module information sent by the Bluetooth module of the second terminal device according to the Bluetooth buffer parameter;
  • the first processing unit 32 is configured to define the split customer identification module information in a Bluetooth packet format and identify the data by using a data packet header, and send the identified customer identification module information to the Bluetooth module of the first terminal device to The Bluetooth module of the second terminal device.
  • the embodiment of the present invention further provides a device for implementing a card multi-machine, which is applied to the second terminal device side, as shown in FIG. 10, and includes:
  • the second search module 40 is configured to receive, by using a Bluetooth module of the second terminal device, search information sent by the Bluetooth module of the one or more first terminal devices or to one or more surrounding first terminal devices Search;
  • a second connection module 50 configured to establish a connection between a Bluetooth module of the second terminal device and a Bluetooth module of the first terminal device
  • the second processing module 60 is configured to receive, by using a Bluetooth module of the second terminal device, customer identification module information of the first terminal device that is sent by the Bluetooth module of the first terminal device, and store the customer identification module information in the second terminal device Storage area
  • the authentication module 70 is configured to perform card authentication according to the customer identification module information stored in the fixed storage area.
  • the second connection module 50 includes:
  • the second sending unit 51 is configured to send connection request information to the Bluetooth module of the first terminal device by using a Bluetooth module of the second terminal device, where the connection request information includes: a Bluetooth address of the second terminal device, a device type, and a connection parameter of the connection mode. information;
  • the second connection unit 52 is configured to receive connection request information and send an instruction by using a Bluetooth module of the first terminal device, and establish a connection between the Bluetooth module of the second terminal device and the Bluetooth module of the first terminal device.
  • the second processing module 60 includes:
  • the second processing unit 61 is configured to receive, by using a Bluetooth module of the second terminal device, the plurality of split customer identification module information sent by the Bluetooth module of the first terminal device, and reassemble the split customer identification module information;
  • the storage unit 62 is configured to store the reassembled customer identification module information into a fixed storage area.
  • a method for implementing a card multi-machine by using a Bluetooth module of a first terminal device to search for one or more surrounding second terminal devices or receiving a Bluetooth module of one or more second terminal devices to the first terminal Searching information of the Bluetooth module of the device, establishing a connection with the second terminal device, and transmitting the information of the customer identification module of the first terminal device to the second terminal device, so that a card multi-machine is realized, and the operation is simple.
  • the replacement of new terminal devices brings convenience and user experience. At the same time, in the case of convenient operation, it also has high security.
  • the apparatus for implementing a card multi-machine is a device applying the above method, and all embodiments of the above method are applicable to the device, and both can achieve the same or similar beneficial effects.
  • the method and device for implementing a card multi-machine wherein the method applied to the first terminal device side includes: searching, by using a Bluetooth module of the first terminal device, one or more surrounding second terminal devices or Receiving, by the Bluetooth module of the one or more second terminal devices, search information of the Bluetooth module of the first terminal device; establishing a connection between the Bluetooth modules of the two terminal devices; and transmitting, by the Bluetooth module of the first terminal device, to the second terminal device
  • the Bluetooth module transmits the customer identification module information of the first terminal device, and the second terminal device stores the customer identification module information to the fixed storage area of the second terminal device.
  • the replacement of new and old terminal equipment brings a certain convenience and has a good user experience value.

Landscapes

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

Abstract

一种实现一卡多机的方法及装置,其中应用于第一终端设备侧的方法包括:通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的蓝牙模块的搜索信息;建立两个终端设备的蓝牙模块之间的连接;通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。通过蓝牙技术对搜索到的第二终端设备与第一终端设备进行绑定,将第一终端设备的客户识别模块信息传输到第二终端设备中,真正实现了一卡多机,而且操作简易,对于新旧终端设备的交替更换带来了一定便捷性,具有较好的用户体验价值。

Description

一种实现一卡多机的方法及装置 技术领域
本发明实施例涉及通信技术领域,尤指一种实现一卡多机的方法及装置。
背景技术
现有技术中存在多种多样的类似“一卡多机”功能的技术,而现存的这些技术存在一定的缺陷,具体分析如下:
复制手机卡:机主用户经常会收到类似“我处能为您制作与别人同样的电话号码,用它你能听到他的对话,看到他发送的信息,查到他在哪里。也就是说,他的行踪全在你的掌控中”等的短信。首先说明的是,此种情况下,仅凭手机号,无手机卡复制是不可能实现的。而在有卡的情况下,运营商在几年前所生产的手机卡,是容易复制的。而现在的新手机卡,具有防复制的功能,但营业厅也提供复制卡的功能,一卡用来打电话,一卡用来上网。而这种技术,此两卡不能同时使用,且当接收到电话时,振铃的手机是随机的。由于基站只记录手机的最后一次状态的工作原理,复制卡会出现有时能收到短信、电话而有时收不到的情况(可同时拨打电话)。哪一张卡后接入,那么这张卡就被作为在线卡,所有接收的电话和短信,都将发到这张手机卡所在的手机上。换句话说,同一个国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number),只能有一卡在线。举个例子,比如说复制卡是最后使用的,而复制卡所在的手机现在关机了,此时原卡所在的手机虽然开机在线,但是给此号码打电话的时候会提示您拨打的手机已关机。除非原卡所在的手机现在拨个号码或者发个短信,这时候基站才会知道此手机现在的状态是开机在网。而且多方同时接听电话根本是不可能的,充其量只能接收到电话和短信。即使复制卡,也是只有一卡在线的状态。只能使用一款手机。综上所述,此种技术存在如下弊端:
(1)在无手机卡的情况下,不可进行复制;
(2)运营商生产的手机客户识别模块具有防复制功能,不易复制,耗时较长;营业厅复制,较繁琐;需要有手机实体卡,增加成本;
(3)复制卡与原卡,只能有一个是开机在网,实现不了电话会议的功能;
(4)复制卡只能接到电话与短信,功能较少,不具有市场价值。
同理其它实现“一卡多机”的技术,同样存在“需要去营业厅复制手机卡的情况”,这种方式着实增加了一定的难度,不仅浪费了消费者的时间,还增加了工作人员的工作量。也是因为这个原因,现存在的那些实现的“一卡多机”技术没有得到广大的推广应用。
发明内容
为了解决上述技术问题,本发明实施例提供一种实现一卡多机的方法及装置,能够真正实现一卡多机,而且操作简易,具有较好的用户体验价值。
为了达到上述技术目的,本发明实施例提供了一种实现一卡多机的方法,应用于第一终端设备侧,包括:
通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的搜索信息;
建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接;
通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。
可选地,该方法还包括:获取所述第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。
可选地,所述建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接包括:
通过所述第一终端设备的蓝牙模块向所述第二终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
通过所述第二终端设备的蓝牙模块接收连接请求信息并发送指令,建立所述第一终端设备的蓝牙模块与所述第二终端设备的蓝牙模块的连接。
可选地,所述通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息包括:
所述第一终端设备以蓝牙缓冲区参数为依据对向所述第二终端设备的蓝牙模块发送的客户识别模块信息进行拆分;
将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,并将标识后的客户识别模块信息通过所述第一终端设备的蓝牙模块发送至所述第二终端设备的蓝牙模块。
本发明实施例还提供了一种实现一卡多机的方法,应用于第二终端设备侧,包括:
通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块发送的搜索信息或对周围的一个或多个第一终端设备进行搜索;
建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域;
第二终端设备根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
可选地,所述建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接包括:
通过所述第二终端设备的蓝牙模块向所述第一终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
通过所述第一终端设备的蓝牙模块接收连接请求信息并发送指令,建立所述第二终端设备的蓝牙模块与所述第一终端设备的蓝牙模块的连接。
可选地,所述通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域包括:
通过所述第二终端设备的蓝牙模块接收所述第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
第二终端设备将重组后的客户识别模块信息存储到所述固定存储区域。
本发明实施例提供一种实现一卡多机的装置,应用于第一终端设备侧,包括:
第一搜索模块,用于通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对所述第一终端设备的搜索信息;
第一连接模块,用于建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接;
第一处理模块,用于通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。
可选地,该装置还包括:获取模块,用于获取所述第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。
可选地,所述第一连接模块包括:
第一发送单元,用于通过所述第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
第一连接单元,用于通过所述第二终端设备的蓝牙模块接收连接请求信息并发送指令,建立所述第一终端设备的蓝牙模块与所述第二终端设备的蓝牙模块的连接。
可选地,所述第一处理模块包括:
拆分单元,用于以所述蓝牙缓冲区参数为依据对向所述第二终端设备的蓝牙模块发送的客户识别模块信息进行拆分;
第一处理单元,用于将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,并将标识后的客户识别模块信息通过所述第一终端设备的蓝牙模块发送至所述第二终端设备的蓝牙模块。
本发明实施例还提供了一种实现一卡多机的装置,应用于第二终端设备侧,包括:
第二搜索模块,用于通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块发送的搜索信息或对周围的一个或多个第一终端设备进 行搜索;
第二连接模块,用于建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
第二处理模块,用于通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域;
鉴权模块,用于根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
可选地,所述第二连接模块包括:
第二发送单元,用于通过所述第二终端设备的蓝牙模块向第一终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
第二连接单元,用于通过所述第一终端设备的蓝牙模块接收连接请求信息并发送指令,建立所述第二终端设备的蓝牙模块与所述第一终端设备的蓝牙模块的连接。
可选地,所述第二处理模块包括:
第二处理单元,用于通过所述第二终端设备的蓝牙模块接收所述第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
存储单元,用于将重组后的客户识别模块信息存储到所述固定存储区域。
本发明实施例提供的技术方案,通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的蓝牙模块的搜索信息,建立与第二终端设备的连接,并将第一终端设备的客户识别模块信息传输到第二终端设备中,这样,真正实现了一卡多机,而且操作简易,对于新旧终端设备的交替更换带来了一定便捷性,便于用户的体验。同时在操作便捷的情况下,也具有较高的安全性。
附图概述
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为本发明实施例应用于第一终端设备侧的实现一卡多机的方法流程图;
图2为本发明实施例应用于第一终端设备侧的实现一卡多机的方法中建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间连接的流程图;
图3为本发明实施例应用于第一终端设备侧的实现一卡多机的方法中发送客户识别模块信息流程图;
图4为本发明实施例应用于第二终端设备侧的实现一卡多机的方法流程图;
图5为本发明实施例应用于第二终端设备侧的实现一卡多机的方法中建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间连接的流程图;
图6为本发明实施例应用于第二终端设备侧的实现一卡多机的方法接收客户识别模块信息流程图;
图7为本发明实施例应用于第一终端设备侧的实现一卡多机的装置框图;
图8为本发明实施例应用于第一终端设备侧的实现一卡多机的装置中第一连接模块框图;
图9为本发明实施例应用于第一终端设备侧的实现一卡多机的装置中第一处理模块框图;
图10为本发明实施例应用于第二终端设备侧的实现一卡多机的装置框图;
图11为本发明实施例应用于第二终端设备侧的实现一卡多机的装置中第二连接模块框图;
图12为本发明实施例应用于第二终端设备侧的实现一卡多机的装置中第二处理模块框图。
本发明的较佳实施方式
为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
如图1所示,本发明实施例提供一种实现一卡多机的方法,应用于第一终端设备侧,包括:
步骤100、通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的搜索信息;
步骤200、建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接;
步骤300、通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。
应当说明的是,客户识别模块为:SIM卡、USIM卡、ISIM卡、Nano-SIM卡或UIM卡。采用蓝牙技术进行通讯时,每一对设备之间必须一个为主角色即主端,另一为从角色即从端,才能进行通信,通信时,必须由主端进行查找,发起配对,建立连接成功后,双方即可收发数据。理论上,一个蓝牙主端设备,可同时与7个蓝牙从端设备进行通讯。在从模式下,等待其它主设备来连接,需要时,转换为主模式,向其它设备发起呼叫。一个蓝牙设备以主模式发起呼叫时,需要知道对方的蓝牙地址,配对密码等信息,配对完成后,可直接发起呼叫。
具体的,第一终端设备的蓝牙模块对周围的第二终端设备进行查询(Inquiry)。在Inquiry没有响应的情况下,第一终端设备进入等待第二终端设备连接请求的状态。首先,第一终端设备进行一次扫描,以便发现有效范围内的第二终端设备,从而决定第一终端设备应处的状态。第一终端设备在开始这次扫描后,将进行进一步的状态设置。查询时发出的查询指令将使第一终端设备进入寻找临近第二终端设备的状态,查询指令的主要参数包括查询间隔和个数响应。这里:如果找到第二终端设备,则第一终端设备设置为 主设备,并发送连接请求;如果没有找到第二设备,那么在超过查询间隔之后,第一终端设备设置为从设备,并进入定期查询状态,等待第二终端设备作为主设备的连接请求。定期查询的参数则包括查询间隔、每次查询时间及允许应答的设备数量。
在本发明上述实施例中,第一终端设备在对周围的第二终端设备进行搜索或接收第二终端设备的搜索信息之前,该方法还包括:获取第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。具体的,
第一终端设备的初始化,包括蓝牙模块的初始化和第一终端设备初始状态设定;第一终端设备物理连接完成后,驱动程序自动加载,并开始初始化工作;第一终端设备首先进行复位,驱动程序向蓝牙模块发出复位指令,对蓝牙模块进行复位,蓝牙模块接收到复位指令后,完成复位操作并向第一终端设备返回一个命令完成事件,通知复位完成;第一终端设备接收到复位完成事件后,读取并保存蓝牙模块信息,这里的蓝牙模块信息包括版本信息、蓝牙地址和蓝牙缓冲区参数。其中,蓝牙地址将用于连接操作,蓝牙地址在蓝牙模块出厂时已经设定好,蓝牙缓冲区参数将提交给第一终端设备,以使第一终端设备对要传输的数据进行分块。然后,第一终端设备对蓝牙模块进行初步设置。通过复位指令,将第一终端设备的缓冲区大小参数传递给蓝牙模块,第一终端设备在对数据传输进行控制时将用到该信息。对于计时器的设置,包括查询时间值的大小、间隔等内容,蓝牙模块默认了常用信息,实际应用中没有特别要求不用对其进行修改。但要应用相关指令将其读取出来并由第一终端设备保存,便于使用。
在本发明上述实施例中,如图2所示,步骤200具体包括:
步骤201、通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送连接请求信息,连接请求信息包括:第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
步骤202、通过第二终端设备的蓝牙模块接收连接请求信息并发送指令,建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块的连接。
具体的,蓝牙模块在出厂前即提前设好两个蓝牙模块之间的配对信息,主端预存有从端设备的PIN码(客户识别模块的个人识别密码)、地址等,两 端设备加电即自动建立连接,通过串口传输,无需***电路干预。一对一应用中从端设备可以设为两种状态,一是静默状态,即只能与指定的主端通信,不被别的蓝牙模块查找;二是开发状态,既可被指定主端查找,也可以被别的蓝牙模块查找建立连接。
第一终端设备作为主设备向第二终端设备发送了连接请求,第二终端设备的蓝牙模块接到该请求后向第二终端设备发送一个连接请求事件,该事件中包含第一终端设备的蓝牙地址、设备类型、连接模式等连接参数。第二终端设备接收第一终端设备的连接请求并发送指令,同时用参数指定自己的角色。该指令发出后,第一终端设备、第二终端设备都将收到一个连接完成事件,该事件参数中包括了对方蓝牙地址、连接模式、加密方式以及连接句柄,其中链接句柄是该连接的“名字”,对该连接的操作都将通过引用连接句柄进行。这样,第一终端设备和第二终端设备间的连接就建立完成,可以进行数据传输了。中断连接相对较为简单。任一方发出中断指令,就可以中断连接。中断指令中带有参数,以表示中断哪个连接。在当前数据传输操作完成后,第一终端设备和第二终端设备都将收到一个带有连接句柄的中断连接事件。
连接建立成功后,第一终端设备和第二终端设备之间即可进行双向的数据或语音通讯。且第二终端设备的蓝牙模块会记录第二终端设备的信息,此时第一终端设备即可向第二终端设备发起呼叫,本发明为数据链路呼叫,已配对的设备在下次呼叫时,不再需要重新配对。
在本发明上述实施例中,如图3所示,步骤300包括:
步骤301、第一终端设备以蓝牙缓冲区参数为依据对向第二终端设备的蓝牙模块发送的客户识别模块信息进行拆分;
步骤302、将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,并将标识后的客户识别模块信息发送通过第一终端设备的蓝牙模块至第二终端设备的蓝牙模块。
应当说明的是,在第一终端设备对要发送的客户识别模块信息进行拆分后,第一终端设备的蓝牙模块可以依据之前获取的第一终端设备的缓冲区大小参数确定拆分后的客户识别模块信息可以通过几次到达蓝牙模块。
具体的,***建立连接后,数据传输就比较简单了。因为通信信道已经建立,只需要向USB总线上发送要发送的数据即可。数据传输的一个重要内容是对要传输的数据进行分组,以适应蓝牙缓冲区的大小,这是以读取蓝牙缓冲区参数的值为依据的。被拆分的数据还要根据蓝牙数据包格式的定义,加上数据包头,以便蓝牙模块对其进行正确的识别和处理。所要发送的数据根据蓝牙格式处理后再组合成较大的数据块。数据传输部分另一个重要内容就是针对USB总线的编程。USB驱动程序并不直接与硬件对话,而是通过创建USB请求块(URB),并把它提交给总线驱动程序(USBD.SYS)来完成硬件操作。经过数据打包处理过的数据接收URB,把驱动程序对URB的调用转化为带有主功能的代码,来完成指定的操作。由此,驱动程序首先要依照DDK(设备开发包)中的规则创建URB。URB创建后,就可以使用它与USBD.SYS进行交互。当然在本设计中,也可以完全不用USB接口来传输数据,而直接由RS232串口来完成数据的传输。
本发明实施例还提供了一种实现一卡多机的方法,应用于第二终端设备侧,如图4所示,包括:
步骤400、通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块发送的搜索信息或对周围的一个或多个第一终端设备进行搜索;
步骤500、建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
步骤600、通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域;
步骤700、第二终端设备根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
具体的,第二终端设备接收第一终端设备发送的客户识别模块信息并进行存储,但现在的问题是,存储到第二终端设备的哪里,这就需要参照早期的机卡一体的形式,在还没有客户识别模块的概念时,即在手机的某个存储区写入指定的数据内容,才能把手机与号码匹配起来,比如国内早期的大哥大就是这种形式,后来的小灵通也曾经采用这样的方式,现如今的一卡多机, 就可以采用如此方式,将第一终端设备中的客户识别模块中的信息,如用户身份鉴权、数据信息存储、利用STK提供增殖服务的相关信息写入到第二终端设备中的某个固定的存储区域,从而实现第一终端设备和第二终端设备的绑定功能。
对于客户识别模块的鉴权操作,码IMSI和密钥Ki是需要安全存储的保密数据。对于用户的鉴权,会从网络端生成一个随机数RAND,利用客户识别模块中存储的IMSI和密钥Ki计算出鉴权结果(SRES)以及通话加密密钥Kc,如果客户识别模块计算的SRES和网络计算的SRES相同,则鉴权成功。因为手机用户可以漫游,所以参与鉴权的主要网络单元包括访问地注册中心(VLR,Visited Location Register)、移动交换中心(MSC,Mobile Switching Center)、归属地注册中心(HLR,Home Location Register)、鉴权中心(AUC,Authentication Center)。
手机开机时,首先要读取客户识别模块中存储的一系列服务信息,然后进行登网鉴权,如果鉴权成功则会显示当前运营商的名称,这时用户就可以进行正常的操作了。而且,手机在一定时间间隔内会发送一条查询指令,察看目前客户识别模块的状态,一旦发现客户识别模块没有回送正确的应答,那么就切断和网络之间的联系,提示***客户识别模块。有绑定功能的手机后,进行查询时,需要包括查询写入手机固定存储部位的那部分SIM信息。
在本发明上述实施例中,如图5所示,步骤500具体包括:
步骤501、通过第二终端设备的蓝牙模块向第一终端设备的蓝牙模块发送连接请求信息,连接请求信息包括:第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
步骤502、通过第一终端设备的蓝牙模块接收连接请求信息并发送指令,建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块的连接。
第二终端设备作为主设备向第一终端设备发送了连接请求,第一终端设备的蓝牙模块接到该请求后向第一终端设备发送一个连接请求事件,该事件中包含第二终端设备的蓝牙地址、设备类型、链接模式等连接参数。第一终端设备接收第二终端设备的连接请求并发送指令,同时用参数指定自己的角色。该指令发出后,第二终端设备、第一终端设备都将收到一个连接完成事 件,该事件参数中包括了对方蓝牙地址、链接模式、加密方式以及连接句柄,其中链接句柄是该连接的“名字”,对该连接的操作都将通过引用连接句柄进行。这样,第二终端设备和第一终端设备间的连接就建立完成,可以进行数据传输了。中断连接相对较为简单。任一方发出中断指令,就可以中断连接。中断指令中带有参数,以表示中断哪个连接。在当前数据传输操作完成后,第二终端设备和第一终端设备都将收到一个带有连接句柄的中断连接事件。
在本发明上述实施例中,如图6所示,步骤600具体包括:
步骤601、通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
步骤602、第二终端设备将重组后的客户识别模块信息存储到固定存储区域。
通过本发明实施例提供的技术方案,第二终端设备将重组后的客户识别模块信息存储到固定存储区域再经过号卡鉴权后,即可实现以下功能:
打电话,可使用任意手机进行通话,但通话记录可设置进行同步,需要备注使用哪款手机进行的通话。当使用一款手机打电话时,同时也可以使用另外一款手机拨打电话,此时进入拨打等待中,当然也可以设置第二款手机是否可以收听到第一款手机与其它人的通话内容,收听时,也可以设置是否通知对话双方。
接电话,振铃后,可使用任意手机接电话,可设置是否两个手机可以同时接听电话,也可设置优先级是否轮询接听,第二款手机接听第一款手机正在通话时,是否需要通知通话的双方。
打电话与接电话。当第一款手机在打电话,有其它号码再打此号码时,则进行呼叫等待,或者正在通话中,即第二款手机则不能再接听电话。一个号码只能在一个通话中。但是第二款手机可以设置是否可以接听第一款手机的通话内容,及是否通知对话双方。
如果用户想尝试第三款新手机,同上如是操作,如果想把第二款手机取消,则即可取消绑定。
本发明实施例还提供了一种实现一卡多机的装置,应用于第一终端设备侧,如图7所示,包括:
第一搜索模块10,用于通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对所述第一终端设备的搜索信息;
第一连接模块20,用于建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接;
第一处理模块30,用于通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。
在本发明上述实施例中,该装置还包括:获取模块(图中未示出),用于获取第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。
在本发明上述实施例中,如图8所示,第一连接模块20包括:
第一发送单元21,用于通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送连接请求信息,连接请求信息包括:第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
第一连接单元22,用于通过第二终端设备的蓝牙模块接收连接请求信息并发送指令,建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块的连接。
在本发明上述实施例中,如图9所示,第一处理模块30包括:
拆分单元31,用于以蓝牙缓冲区参数为依据对向第二终端设备的蓝牙模块发送的客户识别模块信息进行拆分;
第一处理单元32,用于将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,并将标识后的客户识别模块信息通过第一终端设备的蓝牙模块发送至第二终端设备的蓝牙模块。
本发明实施例还提供了一种实现一卡多机的装置,应用于第二终端设备侧,如图10所示,包括:
第二搜索模块40,用于通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块发送的搜索信息或对周围的一个或多个第一终端设备 进行搜索;
第二连接模块50,用于建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
第二处理模块60,用于通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域;
鉴权模块70,用于根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
在本发明上述实施例中,如图11所示,第二连接模块50包括:
第二发送单元51,用于通过第二终端设备的蓝牙模块向第一终端设备的蓝牙模块发送连接请求信息,连接请求信息包括:第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
第二连接单元52,用于通过第一终端设备的蓝牙模块接收连接请求信息并发送指令,建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块的连接。
在本发明上述实施例中,如图12所示,第二处理模块60包括:
第二处理单元61,用于通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
存储单元62,用于将重组后的客户识别模块信息存储到固定存储区域。
本发明实施例实现一卡多机的方法,通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的蓝牙模块的搜索信息,建立与第二终端设备的连接,并将第一终端设备的客户识别模块信息传输到第二终端设备中,这样,真正实现了一卡多机,而且操作简易,对于新的终端设备的交替更换带来了一定便捷性,便于用户的体验。同时在操作便捷的情况下,也具有较高的安全性。
需要说明的是,本发明提供的实现一卡多机的装置是应用上述方法的装置,则上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。
工业实用性
本发明实施例提出的实现一卡多机的方法及装置,其中应用于第一终端设备侧的方法包括:通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的蓝牙模块的搜索信息;建立两个终端设备的蓝牙模块之间的连接;通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。通过蓝牙技术对搜索到的第二终端设备与第一终端设备进行绑定,将第一终端设备的客户识别模块信息传输到第二终端设备中,真正实现了一卡多机,而且操作简易,对于新旧终端设备的交替更换带来了一定便捷性,具有较好的用户体验价值。

Claims (14)

  1. 一种实现一卡多机的方法,其特征在于,包括:
    通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的搜索信息;
    建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接;
    通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到自身的固定存储区域。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:获取所述第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。
  3. 根据权利要求1所述的方法,其特征在于,所述建立第一终端设备的蓝牙模块与第二终端设备的蓝牙模块之间的连接包括:
    通过所述第一终端设备的蓝牙模块向所述第二终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
    通过所述第二终端设备的蓝牙模块接收所述连接请求信息并发送指令,建立所述第一终端设备的蓝牙模块与所述第二终端设备的蓝牙模块的连接。
  4. 根据权利要求2所述的方法,其特征在于,所述通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息包括:
    所述第一终端设备以所述蓝牙缓冲区参数为依据对向所述第二终端设备的蓝牙模块发送的所述客户识别模块信息进行拆分;
    将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,将标识后的客户识别模块信息通过所述第一终端设备的蓝牙模块发送至所述第二终端设备的蓝牙模块。
  5. 一种实现一卡多机的方法,其特征在于,包括:
    通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块 发送的搜索信息或对周围的一个或多个第一终端设备进行搜索;
    建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
    通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域;
    第二终端设备根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
  6. 权利要求5所述的方法,其特征在于,所述建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接包括:
    通过所述第二终端设备的蓝牙模块向所述第一终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
    通过所述第一终端设备的蓝牙模块接收所述连接请求信息并发送指令,建立所述第二终端设备的蓝牙模块与所述第一终端设备的蓝牙模块的连接。
  7. 根据权利要求5所述的方法,其特征在于,所述通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息存储在第二终端设备的固定存储区域包括:
    通过所述第二终端设备的蓝牙模块接收所述第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
    所述第二终端设备将重组后的客户识别模块信息存储到所述固定存储区域。
  8. 一种实现一卡多机的装置,应用于第一终端设备侧,其特征在于,包括:
    第一搜索模块,用于通过第一终端设备的蓝牙模块对周围的一个或多个第二终端设备进行搜索或接收一个或多个第二终端设备的蓝牙模块对第一终端设备的搜索信息;
    第一连接模块,用于建立第一终端设备的蓝牙模块与第二终端设备的蓝 牙模块之间的连接;
    第一处理模块,用于通过第一终端设备的蓝牙模块向第二终端设备的蓝牙模块发送第一终端设备的客户识别模块信息,由第二终端设备将客户识别模块信息存储到第二终端设备的固定存储区域。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:获取模块,用于获取所述第一终端设备的蓝牙模块的蓝牙缓冲区参数信息。
  10. 根据权利要求8所述的装置,其特征在于,所述第一连接模块包括:
    第一发送单元,用于通过所述第一终端设备的蓝牙模块向所述第二终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第一终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
    第一连接单元,用于通过所述第二终端设备的蓝牙模块接收所述连接请求信息并发送指令,建立所述第一终端设备的蓝牙模块与所述第二终端设备的蓝牙模块的连接。
  11. 根据权利要求9所述的装置,其特征在于,所述第一处理模块包括:
    拆分单元,用于以所述蓝牙缓冲区参数为依据对向所述第二终端设备的蓝牙模块发送的所述客户识别模块信息进行拆分;
    第一处理单元,用于将拆分后的客户识别模块信息以蓝牙数据包格式进行定义并以数据包头进行标识,并将标识后的客户识别模块信息通过所述第一终端设备的蓝牙模块发送至所述第二终端设备的蓝牙模块。
  12. 一种实现一卡多机的装置,应用于第二终端设备侧,其特征在于,包括:
    第二搜索模块,用于通过第二终端设备的蓝牙模块接收一个或多个第一终端设备的蓝牙模块发送的搜索信息或对周围的一个或多个第一终端设备进行搜索;
    第二连接模块,用于建立第二终端设备的蓝牙模块与第一终端设备的蓝牙模块之间的连接;
    第二处理模块,用于通过第二终端设备的蓝牙模块接收第一终端设备的蓝牙模块发送的第一终端设备的客户识别模块信息,并将客户识别模块信息 存储在第二终端设备的固定存储区域;
    鉴权模块,用于根据存储在固定存储区域内的客户识别模块信息进行号卡鉴权。
  13. 根据权利要求12所述的装置,其特征在于,所述第二连接模块包括:
    第二发送单元,用于通过所述第二终端设备的蓝牙模块向所述第一终端设备的蓝牙模块发送连接请求信息;其中,连接请求信息包括:所述第二终端设备的蓝牙地址、设备类型和连接模式的连接参数信息;
    第二连接单元,用于通过所述第一终端设备的蓝牙模块接收所述连接请求信息并发送指令,建立所述第二终端设备的蓝牙模块与所述第一终端设备的蓝牙模块的连接。
  14. 根据权利要求12所述的装置,其特征在于,所述第二处理模块包括:
    第二处理单元,用于通过所述第二终端设备的蓝牙模块接收所述第一终端设备的蓝牙模块发送的多个拆分后的客户识别模块信息,并将拆分后的客户识别模块信息进行重组;
    存储单元,用于将重组后的客户识别模块信息存储到所述固定存储区域。
PCT/CN2015/078587 2014-12-22 2015-05-08 一种实现一卡多机的方法及装置 WO2016101489A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/538,812 US10638300B2 (en) 2014-12-22 2015-05-08 Method and device for enabling plurality of mobile phones to share one SIM card
EP15871565.6A EP3223579A4 (en) 2014-12-22 2015-05-08 Method and device for enabling plurality of mobile phones to share one sim card

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410810811.8 2014-12-22
CN201410810811.8A CN105792094B (zh) 2014-12-22 2014-12-22 一种实现一卡多机的方法及装置

Publications (1)

Publication Number Publication Date
WO2016101489A1 true WO2016101489A1 (zh) 2016-06-30

Family

ID=56149081

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078587 WO2016101489A1 (zh) 2014-12-22 2015-05-08 一种实现一卡多机的方法及装置

Country Status (4)

Country Link
US (1) US10638300B2 (zh)
EP (1) EP3223579A4 (zh)
CN (1) CN105792094B (zh)
WO (1) WO2016101489A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559850B (zh) * 2016-11-22 2020-10-16 宇龙计算机通信科技(深圳)有限公司 一种入网切换的方法及装置
CN107995614B (zh) * 2017-12-12 2019-05-24 恒宝股份有限公司 一种运营商数据共享方法及装置
CN110049544B (zh) * 2018-01-15 2022-04-01 ***通信有限公司研究院 一种信息同步方法、设备和计算机存储介质
WO2019184016A1 (zh) * 2018-03-29 2019-10-03 华为技术有限公司 Sim卡鉴权方法及终端
CN109120802B (zh) * 2018-09-25 2020-06-26 天地融科技股份有限公司 一种智能呼叫方法及***
KR20230119262A (ko) * 2018-09-28 2023-08-16 애플 인크. 모바일 디바이스들 사이의 레인징
CN112789934B (zh) * 2018-12-25 2023-04-18 华为技术有限公司 一种蓝牙服务的查询方法及电子设备
CN113055979B (zh) * 2019-12-26 2022-08-09 Oppo广东移动通信有限公司 驻网方法和穿戴式设备、通信卡组件、可读存储介质
WO2022025420A1 (ko) * 2020-07-30 2022-02-03 삼성전자(주) 전자장치 및 그 제어방법

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003105508A1 (de) * 2002-06-05 2003-12-18 Siemens Aktiengesellschaft Nutzung eines subscriber identity modul durch mehrere mobile kommunikationsgeräte
CN101742731A (zh) * 2008-11-24 2010-06-16 华为终端有限公司 一种共享用户识别卡的方法及装置
CN103428250A (zh) * 2012-05-23 2013-12-04 联想(北京)有限公司 匹配设备的方法、服务器和终端设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040042442A1 (en) * 2002-08-29 2004-03-04 Pecen Mark E. Methods and apparatus for simultaneous independent voice and data services using a remote subscriber identity module (SIM)
WO2005036822A1 (fr) * 2003-09-24 2005-04-21 France Telecom Procede et dispositif d'echange de donnees entre un terminal connecte a un reseau et une carte sim logee dans un terminal mobile
EP1895790B1 (en) * 2006-08-31 2013-10-23 STMicroelectronics International N.V. A communication method between a handset device and IC cards and corresponding system
US7801098B2 (en) * 2007-01-23 2010-09-21 Broadcom Corporation Parallel MAC/PHY for enhanced transmission rate in a wireless network
CA2881633A1 (en) * 2011-08-15 2013-02-21 Connectquest Close proximity notification system
CN103795445B (zh) * 2014-01-20 2017-02-08 惠州Tcl移动通信有限公司 一种基于蓝牙的通讯录信息转移的方法及***
CN103955739B (zh) * 2014-05-20 2017-03-15 北京智联安科技有限公司 一种蓝牙薄膜sim卡和访问手机sim卡的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003105508A1 (de) * 2002-06-05 2003-12-18 Siemens Aktiengesellschaft Nutzung eines subscriber identity modul durch mehrere mobile kommunikationsgeräte
CN101742731A (zh) * 2008-11-24 2010-06-16 华为终端有限公司 一种共享用户识别卡的方法及装置
CN103428250A (zh) * 2012-05-23 2013-12-04 联想(北京)有限公司 匹配设备的方法、服务器和终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3223579A4 *

Also Published As

Publication number Publication date
US10638300B2 (en) 2020-04-28
EP3223579A4 (en) 2018-01-17
CN105792094A (zh) 2016-07-20
CN105792094B (zh) 2019-11-05
US20190104396A1 (en) 2019-04-04
EP3223579A1 (en) 2017-09-27

Similar Documents

Publication Publication Date Title
WO2016101489A1 (zh) 一种实现一卡多机的方法及装置
US9288229B2 (en) Device association via video handshake
JP6320501B2 (ja) デバイス・ツー・デバイス通信セッションの確立
WO2017076269A1 (zh) 一种智能设备及其建立设备间蓝牙连接的方法、装置
US8925042B2 (en) Connecting devices to an existing secure wireless network
US9450930B2 (en) Device association via video handshake
US10477030B2 (en) LTE cellular mobile network access system and corresponding communication method
WO2013071208A2 (en) Device association via video handshake
GB2515859A (en) Network connection in a wireless communication device
CN106105131B (zh) 对多个装置配对的电子装置、方法、装置和计算机介质
CN109313679A (zh) 基于令牌到符号的映射定义的用户设备的质询响应接近度验证
CN106878987B (zh) 一种通信方法、***及云服务器
CN111093196B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
US10404863B2 (en) Base phone and additional phone implementation, answering, calling, and intercom method, and IP terminal
CN106686542B (zh) 一种呼叫处理的方法和装置
EP3105900B1 (en) Method and system for determining that a sim and a sip client are co-located in the same mobile equipment
WO2016095498A1 (zh) 自动呼叫同步***及方法
WO2016165429A1 (zh) 业务处理方法及装置、终端
WO2018010361A1 (zh) 一种通讯方法及终端
CN101938855B (zh) 单cdma芯片双号双待手机的实现方法
WO2018053749A1 (zh) 一种呼叫方法、装置、终端及核心网***
WO2016095499A1 (zh) 一种自动呼叫同步***及方法
CN110098933B (zh) 一种手机应用自动身份认证方法和***
KR20170052427A (ko) 개방형 와이파이 존에서 사용자 단말기를 위한 통신 보안 제공 방법
CN204539170U (zh) 一种转接装置、转接***以及通话***

Legal Events

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

Ref document number: 15871565

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015871565

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE