WO2018010361A1 - Communication method and terminal - Google Patents
Communication method and terminal Download PDFInfo
- Publication number
- WO2018010361A1 WO2018010361A1 PCT/CN2016/106997 CN2016106997W WO2018010361A1 WO 2018010361 A1 WO2018010361 A1 WO 2018010361A1 CN 2016106997 W CN2016106997 W CN 2016106997W WO 2018010361 A1 WO2018010361 A1 WO 2018010361A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- sim card
- information
- card information
- communication
- Prior art date
Links
- 230000006854 communication Effects 0.000 title claims abstract description 147
- 238000004891 communication Methods 0.000 title claims abstract description 146
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000004044 response Effects 0.000 claims abstract description 35
- 238000012795 verification Methods 0.000 claims description 29
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000000977 initiatory effect Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/06—Registration at serving network Location Register, VLR or user mobility server
Definitions
- the present invention relates to the field of communications, and in particular, to a communication method and a terminal.
- SIM Subscriber Identification Module
- the embodiments of the present invention are intended to provide a communication method, which at least solves the problem of using a SIM card information stored by a non-terminal itself for communication on a terminal.
- an embodiment of the present invention provides a communication method, which is applied to a first terminal, where the method includes:
- the method before receiving the information acquisition response carrying the SIM card information of the second terminal, the method further includes: receiving password information used for verification by the second terminal; and transmitting verification that carries the password information Requesting a message to the second terminal.
- the information acquisition instruction carries the terminal identifier of the second terminal
- the information acquisition request for acquiring the SIM card information of the second terminal according to the information acquisition instruction includes: according to the information acquisition instruction
- the second terminal indicated by the terminal identifier sends an information acquisition request for acquiring the SIM card information of the second terminal.
- the method before the communication is supported by using the SIM card information stored by the non-first terminal, the method further includes: receiving an authentication parameter corresponding to the SIM card information; and correspondingly, using the second terminal
- the network card registration by the SIM card information includes: registering to the network by using the SIM card information of the second terminal and the authentication parameter.
- the method further includes: receiving an address book of the second terminal.
- the method further includes: when determining that the registration is successful, using the SIM card information of the second terminal for communication, recording a communication record corresponding to the SIM card information of the second terminal.
- the method further includes: when receiving the SIM card information communication end instruction of the second terminal, the communication record Sending to the second terminal; deleting the communication record corresponding to the SIM card information of the second terminal.
- an embodiment of the present invention further provides a terminal, where the terminal includes: receiving an instruction. a module, an information receiving module, and a communication module, wherein the instruction receiving module is configured to receive an information obtaining instruction for instructing acquiring a SIM card information of a customer identification module of the second terminal; the information receiving module is configured to The information acquisition instruction sends an information acquisition request for acquiring the SIM card information of the second terminal, and receives an information acquisition response that carries the SIM card information of the second terminal.
- the communication module is configured to support the use of the SIM stored by the non-first terminal itself. When the card information is communicated, the SIM card information of the second terminal is used for network registration, and when the registration is successful, the SIM card information of the second terminal is used for communication.
- the terminal further includes: a password verification module, configured to receive, after receiving the information acquisition response of the SIM card information carrying the second terminal, the password information used for verification by the second terminal, and sending and carrying The verification request message of the password information is sent to the second terminal.
- a password verification module configured to receive, after receiving the information acquisition response of the SIM card information carrying the second terminal, the password information used for verification by the second terminal, and sending and carrying The verification request message of the password information is sent to the second terminal.
- the information acquiring instruction carries the terminal identifier of the second terminal
- the information receiving module is configured to: send, according to the information obtaining instruction, the second terminal that is instructed by the terminal identifier to acquire the second terminal.
- Information acquisition request for SIM card information for SIM card information.
- the terminal further includes: an authentication information receiving module, configured to receive an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself;
- the communication module is specifically configured to register to the network by using the SIM card information of the second terminal and the authentication parameter.
- the terminal further includes: an address book receiving module, configured to receive an address book of the second terminal after transmitting an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction.
- the terminal further includes: a recording module configured to record a communication record corresponding to the SIM card information of the second terminal when the communication is performed by using the SIM card information of the second terminal when the registration is successful.
- the recording module is further configured to, after receiving the communication record corresponding to the SIM card information of the second terminal, after receiving the information acquisition end instruction of the second terminal, Sending the communication record to the second terminal; deleting the communication record corresponding to the SIM card information of the second terminal.
- the instruction receiving module, the information receiving module, the communication module, the password verification module, the authentication information receiving module, the address book receiving module, and the recording module may adopt a central process when performing processing
- a CPU Central Processing Unit
- DSP Digital Signal Processor
- FPGA Field-Programmable Gate Array
- a communication method applied to the first terminal includes: receiving an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal; and transmitting, according to the information acquisition instruction, acquiring the second terminal Receiving a SIM card information and an information acquisition request, receiving an information acquisition response carrying the SIM card information of the second terminal; and supporting using the SIM card information stored by the non-first terminal to communicate, using the SIM card of the second terminal
- the information is registered by the network, and when the registration is successful, the SIM card information of the second terminal is used for communication.
- the embodiment of the present invention acquires the SIM card information of the second terminal from the second terminal, and applies the network registration and communication in the first terminal, so that the first terminal can use the SIM card information of the second terminal that is not stored by itself.
- the communication is used to complete the communication related to the second terminal by using the first terminal as the temporary mobile phone when the user's own second terminal is not around.
- the user can be directly contacted by the first terminal in time.
- FIG. 1 is a schematic flowchart of a communication method according to Embodiment 1 of the present invention.
- FIG. 2 is a schematic structural diagram of a communication system according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic flowchart of initiation of information exchange according to Embodiment 2 of the present invention.
- FIG. 4 is a schematic flowchart of an information exchange end according to Embodiment 2 of the present invention.
- FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention.
- FIG. 6 is a schematic structural diagram of another terminal according to Embodiment 4 of the present invention.
- the first embodiment of the present invention provides a communication method, which is applied to a first terminal. As shown in FIG. 1, the method includes:
- S101 Receive an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal.
- the user when the user needs to use the first terminal to complete the communication of the second terminal, the user operates the first terminal, and the first terminal receives the information acquisition instruction triggered by the user.
- the second terminal is the user's own mobile phone.
- the user can operate the first terminal by using the first terminal, that is, the temporary mobile phone or the other person's mobile phone, and trigger the first terminal to trigger the acquisition of the SIM card information of the second terminal.
- the information acquisition instruction acquires the SIM card information of the second terminal.
- the first terminal itself does not store the SIM card information of the second terminal.
- the information obtaining instruction may carry the terminal identifier of the second terminal.
- the SIM card is not limited to a 3G SIM card or a 4G USIM card, and may also include other communication cards for establishing communication between the terminal and the network side.
- S102 Send an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receive an information acquisition response that carries the SIM card information of the second terminal.
- the information acquisition instruction carries the terminal identifier of the second terminal, and correspondingly, the information acquisition request for acquiring the SIM card information of the second terminal is sent according to the information acquisition instruction, including: according to the information acquisition instruction, to the terminal
- the second terminal that indicates the indication sends an information acquisition request for acquiring the SIM card information of the second terminal.
- the first terminal when the first terminal receives the information acquisition instruction, based on the trigger of the information acquisition instruction, the first terminal obtains the information acquisition request to the second terminal through the SIM card information of the first terminal and the communication link established by the network side, and acquires the second SIM card information of the terminal; when the second terminal receives the information When the request is received, and the information acquisition request is received, the information acquisition response is sent, where the information acquisition response carries the SIM card information of the second terminal. At this time, the first terminal receives the information acquisition response, and parses the information acquisition response to obtain the second terminal. SIM card information.
- the first terminal may send an information acquisition response to the network side, and the information acquisition response is sent by the network side to the second terminal; the second terminal returns the feedback information acquisition response to the network side, and the network side obtains the information again by the network side. Send to the first terminal.
- the method before receiving the information acquisition response of the SIM card information carrying the second terminal, the method further includes: receiving password information used for verification by the second terminal; and transmitting the password information Verifying the request message to the second terminal.
- the password information when receiving the information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal, the password information is received, that is, when the user triggers the information acquisition instruction, the preset may be input to the first terminal.
- the password information wherein the password information is preset by the user in the second terminal and saved in the second terminal.
- the password information is sent to the second terminal by using the verification request message, and the second terminal matches the received password information with the password information set and saved in advance, and when matched, the verification is passed.
- the information of the SIM card information of the second terminal is obtained, and the first terminal does not have the right to obtain the SIM card information of the second terminal.
- the verification process of the password information ensures that not any terminal or any user can obtain the SIM card information of the second terminal, thereby ensuring the security of the SIM card information of the second terminal.
- the second terminal is only required to send the information acquisition response of the SIM card information of the second terminal to the first terminal, and the embodiment performs the above password verification.
- the order of obtaining the information with the SIM card is not specifically limited.
- the first terminal may receive the authentication parameter corresponding to the SIM card information before supporting the communication using the SIM card information stored by the non-first terminal itself.
- the authentication parameter includes the storage in the second terminal.
- the AKey value obtained by the second terminal to the network side may also be included.
- the authentication parameter corresponding to the SIM card may be directly received from the network side, and after receiving the SIM card information of the second terminal, the SIM may be acquired and received from the network side.
- the authentication parameter corresponding to the card may be directly received from the network side, and after receiving the SIM card information of the second terminal, the SIM may be acquired and received from the network side.
- performing network registration by using the SIM card information of the second terminal includes: registering to the network by using the SIM card information of the second terminal and the authentication parameter.
- the SIM card information stored by the second terminal is used to register to the network side, and the registration is successful. In this case, it is equivalent to being another second terminal.
- the second terminal registers from the network side. For the network side, the first terminal at this time is equivalent to the previous second terminal.
- the method further includes: receiving an address book of the second terminal; and transmitting, by the second terminal, the SIM card information to The first terminal can simultaneously send the stored address book to the first terminal, so that the first terminal can obtain the address book saved by the user in the second terminal, when the user needs to call a contact or send to a contact.
- the call or the short message may be directly sent through the address book of the second terminal saved in the first terminal, which is convenient for the user to use; when a contact in the address book calls the second terminal, the first terminal performs a call response. .
- the SIM card information of the second terminal is used for communication, and the communication record corresponding to the SIM card information of the second terminal is recorded. That is, in the process of using the SIM card information of the second terminal by the first terminal, all communication records such as calls and short messages are recorded during the period, wherein the first terminal can mark all the communication records of the second terminal.
- the SIM card information belonging to the second terminal when distinguishing the communication record is also the SIM card information belonging to the first terminal.
- the method further includes: when receiving the SIM card information communication end instruction of the second terminal, sending the communication record to the The second terminal is configured to delete the communication record corresponding to the SIM card information of the second terminal.
- the communication record currently belonging to the second terminal is recorded, and when the user ends using the first terminal to perform communication of the second terminal or obtain the second terminal itself,
- the SIM card information communication end command of the second terminal is triggered, and the first terminal receives the information communication end command of the second terminal, the first terminal ends the communication by using the SIM card information of the second terminal, and the communication is performed.
- the record is sent to the second terminal; the communication record corresponding to the SIM card information of the second terminal is deleted.
- the SIM card information communication end instruction of the second terminal may be triggered by the first terminal, or the SIM card information communication end instruction of the second terminal may be triggered by the second terminal.
- the order in which the first terminal sends the communication record and ends the communication using the SIM card information of the second terminal is not limited, and may be corresponding according to the sequence Adjusting the communication transmission communication record established by the SIM card information of the second terminal to the second terminal, or transmitting the communication record to the second terminal by using the communication established by the SIM card information of the second terminal; here, when using the SIM card information of the second terminal, When the communication sends the communication record to the second terminal, the communication record can be forwarded to the server on the network side, and when the second terminal establishes normal communication through the SIM card information in the second terminal, the communication record is sent to the second terminal.
- the SIM card information of the opposite end is used as the communication address.
- the mobile phone number of the mobile phone can be communicated by using another temporary mobile phone, and the same call or the same call on the mobile phone is realized on the temporary mobile phone.
- the user presets an authentication password in the second terminal (source terminal), and when the user uses the first terminal (the destination terminal), initiates a SIM card information synchronization instruction (information acquisition) through the network side.
- the command is entered, and the authentication password is input.
- the source terminal checks the authentication password successfully, obtains the SIM card information of the current card, and the terminal contact information, and sends the information to the network side, and the network side forwards to the destination. terminal.
- the destination terminal parses the SIM card information of the source terminal, uses the information to register to the network, and saves the contact on the destination terminal.
- the destination terminal When the user no longer uses the destination terminal, the destination terminal initiates a communication end command, and the destination terminal deletes the contact synchronized from the network side, and the related call short message record, to register the source terminal SIM card.
- the source terminal re-registers with the current SIM card to the network, and synchronizes from the network side to the call record and the short message record from the time when the synchronization command is initiated to the time when the communication end command is initiated.
- the communication method provided by the embodiment of the present invention is further described by the communication system in which the interaction process between the first terminal (the destination terminal) and the second terminal (the source terminal) shown in FIG.
- the entire communication process is divided into an information acquisition initiation process and a communication termination process, that is, an information exchange initiation process and an information exchange completion process, as shown in FIG. 3 and FIG. 4, respectively.
- Step S201 The destination terminal receives an information acquisition instruction.
- the destination terminal When the user uses the destination terminal to trigger the initiation of the exchange process, the destination terminal receives the information acquisition instruction, triggers the initiation of the exchange process, and sends an information acquisition request for acquiring the SIM card information of the second terminal to the network side according to the information acquisition instruction.
- Step S202 The destination terminal receives the password information used for verification by the source terminal.
- the destination terminal When the user inputs the password information in the destination terminal, the destination terminal sends the password information to the network side through the verification request message, so as to finally perform verification when the source terminal receives the password information.
- Step S203 The network side forwards the received message to the source terminal.
- the network side After receiving the information acquisition request and the verification request message, the network side determines that the received message is an information acquisition request and an authentication request message, and forwards the information acquisition request and the verification request message to the source terminal, where the verification request message carries the password. information.
- Step S204 The source terminal receives the message and parses the received message.
- the source terminal parses the received message and parses the SIM card information command and the carried password information used to obtain the source terminal.
- Step S205 The source terminal performs verification according to the password information.
- the source terminal compares the password information with the password information preset by the user to determine whether it is valid.
- Step S206 The source terminal determines that the SIM card information and the address book of the source terminal are sent to the network side when the verification is passed;
- the current SIM card information of the source terminal and the contact information of the address book in the terminal are sent to the network side through the information acquisition response.
- Step S207 The network side forwards the SIM card information and the address book to the destination terminal.
- the network side receives the information acquisition response, and forwards the information acquisition response sent from the source terminal to the destination terminal, where the information acquisition response carries the SIM card information and the address book of the source terminal.
- Step S208 The destination terminal receives the SIM card information and the address book of the source terminal.
- the destination terminal receives the information acquisition response sent by the network side, and parses the SIM card letter of the source terminal.
- the contact information of the address and address book is saved and registered to the network using the SIM card information of the source terminal.
- the SIM card information of the source terminal can be used for communication.
- the information exchange end process is as shown in FIG. 4, and the SIM card information communication end instruction of the second terminal is triggered by the destination terminal, and the method includes:
- Step S301 The destination terminal receives the SIM card information communication end instruction of the second terminal.
- the destination terminal receives the SIM card information communication end command of the source terminal, instructs the start information to end the exchange process, and ends the communication using the SIM card information of the source terminal.
- Step S302 The destination terminal sends the communication record corresponding to the SIM card information of the source terminal to the network side, and deletes the communication record.
- the destination terminal sends the address book corresponding to the SIM card information of the source terminal to the network side, and cancels the current SIM card, registers from the network side, and deletes the SIM card information and contact information locally saved by the destination terminal and the time period. Call history and short message record, where the information can be sent to the network side with the SIM card communication end command.
- Step S303 The network side stores the received information.
- the network side receives the SIM card information communication end command sent by the destination terminal, and parses the SIM card information sent by the destination terminal. During this time, the call and the short message record are parsed and stored on the network side.
- Step S304 The network side sends a SIM card information communication end instruction and a communication record to the source terminal.
- the network side source terminal sends the source terminal to the network through the SIM card information, and the network side sends the SIM card information communication end command and the related call and short message record end to the source terminal.
- Step S305 The source terminal receives the SIM card information communication end instruction and the communication record
- the source terminal receives the SIM card information communication end command and the communication record from the network side. And save related calls and short message records.
- the user sets an authentication password in advance through his mobile phone.
- the information exchange process is initiated through the temporary mobile phone, and the destination mobile phone synchronizes the information of the SIM card of the source mobile phone, and the user input needs to be exchanged at this time.
- the identity of the source mobile phone such as the mobile phone number of the source mobile phone and the authentication password (password information).
- the information is packaged, it is sent to the network side.
- the information can be transmitted by extending the air interface command.
- the network side resolves that this is an initiate exchange command. After parsing the source mobile phone number, the relevant instruction packet is forwarded to the source mobile phone, and the authentication password is saved.
- the source mobile phone After receiving the exchange command sent by the network side, the source mobile phone parses the authentication password and compares it with the password set by the user. If it is invalid, it directly gives up the information exchange. If it is valid, it obtains the SIM card information of the current mobile phone. Contact information, synchronized to the network side after grouping.
- the network side After receiving the synchronization message sent by the source mobile phone, the network side parses the source mobile phone card information and saves it, obtains the AKey value of the corresponding card from the operator through the IMSI number of the card, writes the synchronization message, and forwards the information to the destination mobile phone. .
- the destination mobile phone After receiving the information sent by the network side, the destination mobile phone parses out the SIM card information of the source mobile phone, the corresponding Akey value and the contact information, and saves them locally, and registers with the network through the SIM card Akey value of the source mobile phone.
- the contact information of the source mobile phone stored in the destination mobile phone can be indicated by a flag bit. After the exchange process is started, the destination mobile phone can hide the original contact information and display only the synchronized contact information from the source mobile phone.
- the destination mobile phone After the user uses the destination mobile phone, after registering to the network through the SIM card of the source mobile phone, all calls are made.
- the phone of the source mobile phone or the short message sent to the source mobile phone is received by the destination mobile phone, and the network side directly sends the message to the destination mobile phone instead of forwarding through the source mobile phone.
- the call initiated by the user through the destination mobile phone and the sent short message are all considered to be sent through the SIM card of the source mobile phone.
- the relevant communication record saved in the destination phone can be marked by a flag. After the exchange process is initiated, the destination phone can only display the relevant communication records of the source phone.
- the communication record saved on the destination phone can be synchronized to the source phone.
- the end exchange process is initiated by the destination mobile phone, the communication record belonging to the source mobile phone is obtained, packaged into the end exchange instruction, and sent to the network side by ending the exchange instruction.
- the destination mobile phone cancels the source mobile phone SIM card from the current network, deletes the source SIM card information, AKey value, contact information and communication record stored in the destination mobile phone, and redisplays the original contact information and communication record of the destination mobile phone.
- the network side After receiving the end exchange command, the network side obtains the source mobile phone communication record stored on the network side, waits for the source mobile phone to register to the network, and packages the source mobile phone communication record during this period to the end command and sends it to the source mobile phone.
- the source mobile phone receives the end exchange command sent by the network side, parses out the communication record and saves it.
- This example further describes the air interface instruction in the first example.
- the first two characters indicate the type of the instruction, whether to initiate information exchange or end information exchange.
- the third character indicates whether the request is or is answered.
- this is the request. If the request is made, the location is set to the request bit.
- the source terminal successfully sends the SIM card information after the authentication succeeds the response of the source terminal to the destination terminal is set to the response bit.
- the 4th to 11th characters store the destination terminal information or number
- the 12th to 19th characters store the information or number of the source terminal.
- the load area can be set according to requirements.
- the load area saves the authentication password.
- this area saves the contact information and SIM card information.
- the communication record information for this period of time is written in this area.
- the embodiment of the present invention provides a terminal for implementing the foregoing communication method.
- the terminal includes: an instruction receiving module 501, an information receiving module 502, and a communication module 503;
- the instruction receiving module 501 is configured to receive an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal;
- the information receiving module 502 is configured to send an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receive an information acquisition response that carries the SIM card information of the second terminal;
- the communication module 503 is configured to support the use of the SIM card information stored by the non-first terminal to perform network registration, and use the SIM card information of the second terminal to perform network registration, and determine that the SIM of the second terminal is used if the registration is successful. Card information is communicated.
- the terminal further includes:
- the password verification module 504 is configured to receive the password information for performing verification by the second terminal before receiving the information acquisition response of the SIM card information of the second terminal, and send an authentication request message carrying the password information to the The second terminal.
- the information acquisition instruction carries the terminal identifier of the second terminal; correspondingly,
- the information receiving module 502 is specifically configured to: identify the terminal according to the information obtaining instruction
- the instructed second terminal sends an information acquisition request for acquiring the SIM card information of the second terminal.
- the terminal further includes: an authentication information receiving module 505, configured to receive an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself;
- the communication module 503 is specifically configured to register to the network by using the SIM card information of the second terminal and the authentication parameter.
- the terminal further includes: an address book receiving module 506, configured to receive the communication of the second terminal after sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction record.
- an address book receiving module 506 configured to receive the communication of the second terminal after sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction record.
- the terminal further includes: a recording module 507 configured to record, when the registration is successful, use the SIM card information of the second terminal to communicate, and record the SIM card information corresponding to the second terminal. Communication record.
- the recording module 507 is further configured to: after recording the communication record corresponding to the SIM card information of the second terminal, send the communication record to the second when receiving the information acquisition end instruction of the second terminal a terminal; deleting a communication record corresponding to the SIM card information of the second terminal.
- the instruction receiving module 501, the password verification module 504, the authentication information receiving module 505, and the address book receiving module 506 are described as independent according to the function of each module.
- the function module in actual use, can realize all the functions of the above module through an information processing chip or a function module.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
- the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- An embodiment of the present invention is to receive an information acquisition instruction for instructing acquiring the SIM card information of the client identification module of the second terminal, and sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information acquisition instruction, and receiving the information
- the information acquisition response of the SIM card information of the second terminal is supported; when the communication is performed by using the SIM card information stored by the non-first terminal itself, the SIM card information of the second terminal is used for network registration, and the registration is successful.
- the SIM card information of the second terminal is communicated.
- the first terminal of the mobile phone completes the communication related to the second terminal, and when another person calls the user, the user can be directly contacted by the first terminal in time.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Disclosed in embodiments of the present invention is a communication method applied to a first terminal. The method comprises: receiving an information acquisition instruction used to instruct acquisition of subscriber identity module (SIM) card information of a second terminal; sending, according to the information acquisition instruction, an information acquisition request for acquiring the SIM card information of the second terminal, and receiving an information acquisition response carrying the SIM card information of the second terminal; if communication by means of SIM card information not locally stored on the first terminal is supported, employing the SIM card information of the second terminal to perform network registration, and then performing communication by employing the SIM card information of the second terminal if the registration is determined as successful. Also disclosed in the present invention is a terminal performing the above communication method.
Description
本发明涉及通信领域,尤其涉及一种通讯方法及终端。The present invention relates to the field of communications, and in particular, to a communication method and a terminal.
随着通信的发展,手机普及率越来越高,不仅仅是一个联络工具,在人们日常生活中占据越来越重要的作用,一些日常的工作也可以通过手机这个工具来完成,一旦忘记带手机,会给生活和工作带来极大的不便,可能会错过一些重要的电话。With the development of communication, mobile phone penetration rate is getting higher and higher. It is not only a contact tool, but also plays an increasingly important role in people's daily life. Some daily work can also be done through the mobile phone tool. Mobile phones can cause great inconvenience to life and work, and you may miss some important calls.
用户可以使用一个临时手机来和别人进行联系,但是存在一些问题,临时手机号码不是固定的,其他人因为不知道号码无法联系到自己,使得用户无法接收到自己的电话或短信,而无法及时的与其他人进行联系,从而影响到正常的生活。因此,亟需一种在终端上使用非终端自身存储的客户识别模块(Subscriber Identification Module,SIM)卡信息进行通信的方法。Users can use a temporary mobile phone to contact other people, but there are some problems. The temporary mobile phone number is not fixed. Other people can't contact themselves because they don't know the number, so the user can't receive their own phone or text message, but it can't be timely. Connect with others to influence normal life. Therefore, there is a need for a method for communicating on a terminal using Subscriber Identification Module (SIM) card information that is not stored by the terminal itself.
发明内容Summary of the invention
有鉴于此,本发明实施例希望提供一种通信方法,至少解决了在终端上使用非终端自身存储的SIM卡信息进行通信的方法问题。In view of this, the embodiments of the present invention are intended to provide a communication method, which at least solves the problem of using a SIM card information stored by a non-terminal itself for communication on a terminal.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
一方面,本发明实施例提供一种通信方法,应用于第一终端,所述方法包括:In one aspect, an embodiment of the present invention provides a communication method, which is applied to a first terminal, where the method includes:
接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请
求,接收携带所述第二终端的SIM卡信息的信息获取响应;支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。Receiving an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal; and acquiring information for acquiring the SIM card information of the second terminal according to the information acquisition instruction
Obtaining, receiving an information acquisition response carrying the SIM card information of the second terminal; supporting communication using the SIM card information stored by the second terminal by using the SIM card information stored by the second terminal, and determining the registration by using the SIM card information of the second terminal In the case of success, communication is performed using the SIM card information of the second terminal.
在上述方案中,在接收携带所述第二终端的SIM卡信息的信息获取响应之前,所述方法还包括:接收用于第二终端进行校验的密码信息;发送携带所述密码信息的验证请求消息至所述第二终端。In the above solution, before receiving the information acquisition response carrying the SIM card information of the second terminal, the method further includes: receiving password information used for verification by the second terminal; and transmitting verification that carries the password information Requesting a message to the second terminal.
在上述方案中,所述信息获取指令携带所述第二终端的终端标识,根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求包括:根据所述信息获取指令向所述终端标识指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。In the above solution, the information acquisition instruction carries the terminal identifier of the second terminal, and the information acquisition request for acquiring the SIM card information of the second terminal according to the information acquisition instruction includes: according to the information acquisition instruction The second terminal indicated by the terminal identifier sends an information acquisition request for acquiring the SIM card information of the second terminal.
在上述方案中,在支持使用非第一终端自身存储的SIM卡信息进行通信之前,所述方法还包括:接收所述SIM卡信息对应的鉴权参数;相应地,使用所述第二终端的SIM卡信息进行网络注册包括:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。In the above solution, before the communication is supported by using the SIM card information stored by the non-first terminal, the method further includes: receiving an authentication parameter corresponding to the SIM card information; and correspondingly, using the second terminal The network card registration by the SIM card information includes: registering to the network by using the SIM card information of the second terminal and the authentication parameter.
在上述方案中,在根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求之后,所述方法还包括:接收所述第二终端的通讯录。In the above solution, after the information acquisition request for acquiring the SIM card information of the second terminal is sent according to the information acquisition instruction, the method further includes: receiving an address book of the second terminal.
在上述方案中,所述方法还包括:确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。In the above solution, the method further includes: when determining that the registration is successful, using the SIM card information of the second terminal for communication, recording a communication record corresponding to the SIM card information of the second terminal.
在上述方案中,在记录所述第二终端的SIM卡信息对应的通讯记录之后,所述方法还包括:在接收到所述第二终端的SIM卡信息通信结束指令时,将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。In the above solution, after recording the communication record corresponding to the SIM card information of the second terminal, the method further includes: when receiving the SIM card information communication end instruction of the second terminal, the communication record Sending to the second terminal; deleting the communication record corresponding to the SIM card information of the second terminal.
另一方面,本发明实施例还提供一种终端,所述终端包括:指令接收
模块、信息接收模块和通信模块;其中,所述指令接收模块,配置为接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;所述信息接收模块,配置为根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;所述通信模块,配置为支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。In another aspect, an embodiment of the present invention further provides a terminal, where the terminal includes: receiving an instruction.
a module, an information receiving module, and a communication module, wherein the instruction receiving module is configured to receive an information obtaining instruction for instructing acquiring a SIM card information of a customer identification module of the second terminal; the information receiving module is configured to The information acquisition instruction sends an information acquisition request for acquiring the SIM card information of the second terminal, and receives an information acquisition response that carries the SIM card information of the second terminal. The communication module is configured to support the use of the SIM stored by the non-first terminal itself. When the card information is communicated, the SIM card information of the second terminal is used for network registration, and when the registration is successful, the SIM card information of the second terminal is used for communication.
在上述方案中,所述终端还包括:密码验证模块,配置为在接收携带所述第二终端的SIM卡信息的信息获取响应之前,接收用于第二终端进行校验的密码信息,发送携带所述密码信息的验证请求消息至所述第二终端。In the above solution, the terminal further includes: a password verification module, configured to receive, after receiving the information acquisition response of the SIM card information carrying the second terminal, the password information used for verification by the second terminal, and sending and carrying The verification request message of the password information is sent to the second terminal.
在上述方案中,所述信息获取指令携带所述第二终端的终端标识;所述信息接收模块具体配置为:根据所述信息获取指令向所述终端标识指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。In the above solution, the information acquiring instruction carries the terminal identifier of the second terminal, and the information receiving module is configured to: send, according to the information obtaining instruction, the second terminal that is instructed by the terminal identifier to acquire the second terminal. Information acquisition request for SIM card information.
在上述方案中,所述终端还包括:鉴权信息接收模块,配置为在支持使用非第一终端自身存储的SIM卡信息进行通信之前,接收所述SIM卡信息对应的鉴权参数;相应地,所述通信模块具体配置为:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。In the above solution, the terminal further includes: an authentication information receiving module, configured to receive an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself; The communication module is specifically configured to register to the network by using the SIM card information of the second terminal and the authentication parameter.
在上述方案中,所述终端还包括:通讯录接收模块,配置为在根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求之后,接收所述第二终端的通讯录。In the above solution, the terminal further includes: an address book receiving module, configured to receive an address book of the second terminal after transmitting an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction.
在上述方案中,所述终端还包括:记录模块,配置为确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。In the above solution, the terminal further includes: a recording module configured to record a communication record corresponding to the SIM card information of the second terminal when the communication is performed by using the SIM card information of the second terminal when the registration is successful. .
在上述方案中,所述记录模块还配置为:在记录所述第二终端的SIM卡信息对应的通讯记录之后,在接收到所述第二终端的信息获取结束指令时,
将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。In the above solution, the recording module is further configured to, after receiving the communication record corresponding to the SIM card information of the second terminal, after receiving the information acquisition end instruction of the second terminal,
Sending the communication record to the second terminal; deleting the communication record corresponding to the SIM card information of the second terminal.
所述指令接收模块、所述信息接收模块、所述通信模块、所述密码验证模块、所述鉴权信息接收模块、所述通讯录接收模块、所述记录模块在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。The instruction receiving module, the information receiving module, the communication module, the password verification module, the authentication information receiving module, the address book receiving module, and the recording module may adopt a central process when performing processing A CPU (Central Processing Unit), a Digital Signal Processor (DSP), or a Field-Programmable Gate Array (FPGA).
本发明实施例的一种应用于第一终端的通信方法,包括:接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;根据所述信息获取指令发送获取第二终端的SIM卡信息和的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。采用本发明实施例,从第二终端获取第二终端的SIM卡信息,并应用在第一终端中进行网络注册以及通信,使得第一终端能够使用非自身存储的第二终端的SIM卡信息进行通信,从而使得用户自己的第二终端不在身边时使用作为临时手机的第一终端完成第二终端相关的通信,当别人呼叫用户时,可直接通过第一终端及时的联系到用户本人。A communication method applied to the first terminal according to the embodiment of the present invention includes: receiving an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal; and transmitting, according to the information acquisition instruction, acquiring the second terminal Receiving a SIM card information and an information acquisition request, receiving an information acquisition response carrying the SIM card information of the second terminal; and supporting using the SIM card information stored by the non-first terminal to communicate, using the SIM card of the second terminal The information is registered by the network, and when the registration is successful, the SIM card information of the second terminal is used for communication. The embodiment of the present invention acquires the SIM card information of the second terminal from the second terminal, and applies the network registration and communication in the first terminal, so that the first terminal can use the SIM card information of the second terminal that is not stored by itself. The communication is used to complete the communication related to the second terminal by using the first terminal as the temporary mobile phone when the user's own second terminal is not around. When the other party calls the user, the user can be directly contacted by the first terminal in time.
图1为本发明实施例一提供的一种通信方法的流程示意图;1 is a schematic flowchart of a communication method according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的通信系统的结构示意图;2 is a schematic structural diagram of a communication system according to Embodiment 2 of the present invention;
图3为本发明实施例二提供的信息交换的发起的流程示意图;3 is a schematic flowchart of initiation of information exchange according to Embodiment 2 of the present invention;
图4为本发明实施例二提供的信息交换结束的流程示意图;4 is a schematic flowchart of an information exchange end according to Embodiment 2 of the present invention;
图5为本发明实施例四提供的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例四提供的另一种终端的结构示意图;
FIG. 6 is a schematic structural diagram of another terminal according to Embodiment 4 of the present invention; FIG.
下面结合附图对技术方案的实施作进一步的详细描述。The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
实施例一Embodiment 1
本发明实施例一提供通信方法,应用于第一终端,如图1所示,所述方法包括:The first embodiment of the present invention provides a communication method, which is applied to a first terminal. As shown in FIG. 1, the method includes:
S101、接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;S101. Receive an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal.
具体的,当用户需要使用第一终端完成第二终端的通信时,用户操作第一终端,第一终端接收到用户触发的信息获取指令,这里,第二终端为用户本身自己的手机,当第二终端不在用户身边时,用户借助第一终端即临时手机或别人的手机进行第二终端的通信时,可操作第一终端,触发第一终端的用于指示获取第二终端的SIM卡信息的信息获取指令,获取第二终端的SIM卡信息。这里,第一终端本身未存储第二终端的SIM卡信息。其中,信息获取指令可携带第二终端的终端标识。Specifically, when the user needs to use the first terminal to complete the communication of the second terminal, the user operates the first terminal, and the first terminal receives the information acquisition instruction triggered by the user. Here, the second terminal is the user's own mobile phone. When the second terminal is not in the user's side, the user can operate the first terminal by using the first terminal, that is, the temporary mobile phone or the other person's mobile phone, and trigger the first terminal to trigger the acquisition of the SIM card information of the second terminal. The information acquisition instruction acquires the SIM card information of the second terminal. Here, the first terminal itself does not store the SIM card information of the second terminal. The information obtaining instruction may carry the terminal identifier of the second terminal.
这里,SIM卡并不限制在3G的SIM卡或4G的USIM卡,也可包括其他用于使终端与网络侧建立通信的通信卡。Here, the SIM card is not limited to a 3G SIM card or a 4G USIM card, and may also include other communication cards for establishing communication between the terminal and the network side.
S102、根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;S102. Send an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receive an information acquisition response that carries the SIM card information of the second terminal.
在S101中,信息获取指令携带第二终端的终端标识,相应地,根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,包括:根据所述信息获取指令向所述终端标识指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。In S101, the information acquisition instruction carries the terminal identifier of the second terminal, and correspondingly, the information acquisition request for acquiring the SIM card information of the second terminal is sent according to the information acquisition instruction, including: according to the information acquisition instruction, to the terminal The second terminal that indicates the indication sends an information acquisition request for acquiring the SIM card information of the second terminal.
具体的,当第一终端接收到信息获取指令时,基于信息获取指令的触发,通过第一终端自身的SIM卡信息与网络侧建立的通信链路发送信息获取请求至第二终端,获取第二终端的SIM卡信息;当第二终端向接收到信息获
取请求,并响应信息获取请求时,发送信息获取响应,其中,信息获取响应中携带第二终端的SIM卡信息,此时,第一终端接收信息获取响应,并解析信息获取响应获得第二终端的SIM卡信息。Specifically, when the first terminal receives the information acquisition instruction, based on the trigger of the information acquisition instruction, the first terminal obtains the information acquisition request to the second terminal through the SIM card information of the first terminal and the communication link established by the network side, and acquires the second SIM card information of the terminal; when the second terminal receives the information
When the request is received, and the information acquisition request is received, the information acquisition response is sent, where the information acquisition response carries the SIM card information of the second terminal. At this time, the first terminal receives the information acquisition response, and parses the information acquisition response to obtain the second terminal. SIM card information.
这里,第一终端可将信息获取响应发送至网络侧,由网络侧将信息获取响应发送至第二终端;第二终端将反馈的信息获取响应返回网络侧,并再次由网络侧将信息获取响应发送至第一终端。Here, the first terminal may send an information acquisition response to the network side, and the information acquisition response is sent by the network side to the second terminal; the second terminal returns the feedback information acquisition response to the network side, and the network side obtains the information again by the network side. Send to the first terminal.
在本实施例中,在接收携带所述第二终端的SIM卡信息的信息获取响应之前,所述方法还包括:接收用于第二终端进行校验的密码信息;发送携带所述密码信息的验证请求消息至所述第二终端。需要说明的是,接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令的同时接收密码信息,即当用户在触发信息获取指令的过程中,可向第一终端输入预设的密码信息,其中,该密码信息为用户在第二终端预先设置并保存在第二终端中。当第一终端接收到密码信息时,通过验证请求消息将密码信息发送至第二终端,第二终端将收到的密码信息与预先设置并保存的密码信息进行匹配,当匹配时,则验证通过,表明第一终端具有权限获取第二终端的SIM卡信息,可直接向第一终端发送携带所述第二终端的SIM卡信息的信息获取响应,也可向第一终端返回验证成功响应的同时发送携带所述第二终端的SIM卡信息的信息获取响应;当匹配不成功时,则验证不通过,第二终端不向第一终端反馈消息或返回验证失败响应,也不发送携带所述第二终端的SIM卡信息的信息获取响应,此时,第一终端没有权限来获取第二终端的SIM卡信息。通过该密码信息的验证过程保证了并非任意终端或任意用户都可获取第二终端的SIM卡信息,保证了第二终端的SIM卡信息的安全性,In this embodiment, before receiving the information acquisition response of the SIM card information carrying the second terminal, the method further includes: receiving password information used for verification by the second terminal; and transmitting the password information Verifying the request message to the second terminal. It should be noted that, when receiving the information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal, the password information is received, that is, when the user triggers the information acquisition instruction, the preset may be input to the first terminal. The password information, wherein the password information is preset by the user in the second terminal and saved in the second terminal. When the first terminal receives the password information, the password information is sent to the second terminal by using the verification request message, and the second terminal matches the received password information with the password information set and saved in advance, and when matched, the verification is passed. Indicates that the first terminal has the right to obtain the SIM card information of the second terminal, and may directly send the information acquisition response carrying the SIM card information of the second terminal to the first terminal, and may also return the verification success response to the first terminal. Sending an information acquisition response carrying the SIM card information of the second terminal; if the matching is unsuccessful, the verification fails, the second terminal does not feed back the message to the first terminal or returns a verification failure response, and does not send the first The information of the SIM card information of the second terminal is obtained, and the first terminal does not have the right to obtain the SIM card information of the second terminal. The verification process of the password information ensures that not any terminal or any user can obtain the SIM card information of the second terminal, thereby ensuring the security of the SIM card information of the second terminal.
需要说明的时,只要保证第二终端在验证通过的前提下才向第一终端发送携带第二终端的SIM卡信息的信息获取响应,实施例对上述的密码验证
与SIM卡信息的获取步骤的先后顺序不做具体限制。When the description is required, the second terminal is only required to send the information acquisition response of the SIM card information of the second terminal to the first terminal, and the embodiment performs the above password verification.
The order of obtaining the information with the SIM card is not specifically limited.
在本实施例中,第一终端在支持使用非第一终端自身存储的SIM卡信息进行通信之前,可接收该SIM卡信息对应的鉴权参数,这里,鉴权参数除了包括第二终端中存储的SIM卡中的鉴权参数之外,还可包括第二终端向网络侧获取的AKey值。In this embodiment, the first terminal may receive the authentication parameter corresponding to the SIM card information before supporting the communication using the SIM card information stored by the non-first terminal itself. Here, the authentication parameter includes the storage in the second terminal. In addition to the authentication parameters in the SIM card, the AKey value obtained by the second terminal to the network side may also be included.
这里,可在接收第二终端的SIM卡信息时,直接从网络侧接收该SIM卡对应的鉴权参数,也可在接收到第二终端的SIM卡信息后,从网络侧获取并接收该SIM卡对应的鉴权参数。Here, when receiving the SIM card information of the second terminal, the authentication parameter corresponding to the SIM card may be directly received from the network side, and after receiving the SIM card information of the second terminal, the SIM may be acquired and received from the network side. The authentication parameter corresponding to the card.
S103、支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。S103. When the communication is performed by using the SIM card information stored by the non-first terminal, use the SIM card information of the second terminal to perform network registration, and determine that the registration is successful, and use the SIM card information of the second terminal to perform communication. .
这里,使用所述第二终端的SIM卡信息进行网络注册包括:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。Here, performing network registration by using the SIM card information of the second terminal includes: registering to the network by using the SIM card information of the second terminal and the authentication parameter.
第一终端在支持使用非第一终端自身存储的SIM卡信息进行通信时,使用非第一终端自身存储的SIM卡信息而是从第二终端获取的SIM卡信息注册到网络侧,在注册成功的情况下相当于为另一个第二终端,此时,由于第一终端通过该SIM卡信息注册到网络侧,则第二终端从网络侧去注册。对于网络侧而言,此时的第一终端相当于之前的第二终端。When the first terminal supports communication using the SIM card information stored by the non-first terminal itself, the SIM card information stored by the second terminal is used to register to the network side, and the registration is successful. In this case, it is equivalent to being another second terminal. At this time, since the first terminal registers to the network side through the SIM card information, the second terminal registers from the network side. For the network side, the first terminal at this time is equivalent to the previous second terminal.
这里,在根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求之后,所述方法还包括:接收所述第二终端的通讯录;当第二终端将SIM卡信息发送给第一终端时,可将存储的通讯录同时发送给第一终端,从而使得第一终端能够获取第二终端中用户保存的通讯录,当用户需要呼叫某个联系人或向某个联系人发送短信时,可直接通过第一终端中保存的第二终端的通讯录进行呼叫或短信发送,方便用户的使用;当通讯录中的某个联系人呼叫第二终端时,第一终端进行呼叫响应。
Here, after transmitting the information acquisition request for acquiring the SIM card information of the second terminal according to the information acquisition instruction, the method further includes: receiving an address book of the second terminal; and transmitting, by the second terminal, the SIM card information to The first terminal can simultaneously send the stored address book to the first terminal, so that the first terminal can obtain the address book saved by the user in the second terminal, when the user needs to call a contact or send to a contact. When the short message is sent, the call or the short message may be directly sent through the address book of the second terminal saved in the first terminal, which is convenient for the user to use; when a contact in the address book calls the second terminal, the first terminal performs a call response. .
当第一终端确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。即在第一终端使用第二终端的SIM卡信息的过程中,将这段时间内所有的呼叫、短信等通信记录进行记录,这里,第一终端可将第二终端所有的通信记录进行标记,以区分出通信记录时属于第二终端的SIM卡信息还是属于第一终端的SIM卡信息。When the first terminal determines that the registration is successful, the SIM card information of the second terminal is used for communication, and the communication record corresponding to the SIM card information of the second terminal is recorded. That is, in the process of using the SIM card information of the second terminal by the first terminal, all communication records such as calls and short messages are recorded during the period, wherein the first terminal can mark all the communication records of the second terminal. The SIM card information belonging to the second terminal when distinguishing the communication record is also the SIM card information belonging to the first terminal.
这里,在记录所述第二终端的SIM卡信息对应的通讯记录之后,所述方法还包括:在接收到所述第二终端的SIM卡信息通信结束指令时,将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。Here, after recording the communication record corresponding to the SIM card information of the second terminal, the method further includes: when receiving the SIM card information communication end instruction of the second terminal, sending the communication record to the The second terminal is configured to delete the communication record corresponding to the SIM card information of the second terminal.
具体的,当用户使用第一终端执行第二终端的通信时,记录了当前属于第二终端的通信记录,当用户结束使用第一终端执行第二终端的通信或拿到第二终端本身时,触发第二终端的SIM卡信息通信结束指令,第一终端接收到所述第二终端的信息通信结束指令的情况下,第一终端结束使用第二终端的SIM卡信息进行通信,将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。Specifically, when the user performs communication of the second terminal by using the first terminal, the communication record currently belonging to the second terminal is recorded, and when the user ends using the first terminal to perform communication of the second terminal or obtain the second terminal itself, When the SIM card information communication end command of the second terminal is triggered, and the first terminal receives the information communication end command of the second terminal, the first terminal ends the communication by using the SIM card information of the second terminal, and the communication is performed. The record is sent to the second terminal; the communication record corresponding to the SIM card information of the second terminal is deleted.
这里,可通过第一终端触发第二终端的SIM卡信息通信结束指令,也可通过第二终端触发第二终端的SIM卡信息通信结束指令。当第一终端接收到第二终端的SIM卡信息通信结束指令时,第一终端发送通讯记录和结束使用第二终端的SIM卡信息进行通信的先后顺序不做限制,可相应的根据该先后顺序调整通过自身的SIM卡信息建立的通信发送通讯记录给第二终端,或通过第二终端的SIM卡信息建立的通信发送通讯记录给第二终端;这里,当使用第二终端的SIM卡信息建立的通信发送通讯记录给第二终端时,可将通讯记录转发至网络侧的服务器,待第二终端通过第二终端中的SIM卡信息建立正常通信时,将该通讯记录发送至第二终端。
Here, the SIM card information communication end instruction of the second terminal may be triggered by the first terminal, or the SIM card information communication end instruction of the second terminal may be triggered by the second terminal. When the first terminal receives the SIM card information communication end instruction of the second terminal, the order in which the first terminal sends the communication record and ends the communication using the SIM card information of the second terminal is not limited, and may be corresponding according to the sequence Adjusting the communication transmission communication record established by the SIM card information of the second terminal to the second terminal, or transmitting the communication record to the second terminal by using the communication established by the SIM card information of the second terminal; here, when using the SIM card information of the second terminal, When the communication sends the communication record to the second terminal, the communication record can be forwarded to the server on the network side, and when the second terminal establishes normal communication through the SIM card information in the second terminal, the communication record is sent to the second terminal.
需要说明的是,在本实施例中,第一终端与第二终端之间的信息交互时,相互以对端的SIM卡信息作为通信地址。It should be noted that, in this embodiment, when the information between the first terminal and the second terminal is exchanged, the SIM card information of the opposite end is used as the communication address.
通过本发明实施例提供的通信方法,当用户自己的手机不在身边时,可借助另外一个临时手机进行自己手机的电话号码的通信,并在临时手机上实现和在自己的手机上相同的呼叫或短信收发,在结束临时手机的使用时,还可通过自己的手机获知使用临时手机时候的通讯记录,使得用户的正常通信不受任何影响。According to the communication method provided by the embodiment of the present invention, when the user's own mobile phone is not around, the mobile phone number of the mobile phone can be communicated by using another temporary mobile phone, and the same call or the same call on the mobile phone is realized on the temporary mobile phone. Sending and receiving text messages, when ending the use of the temporary mobile phone, you can also know the communication record when using the temporary mobile phone through your mobile phone, so that the normal communication of the user is not affected.
在本发明实施例一实施方式中,用户在第二终端(源终端)预设一个鉴权密码,当用户使用第一终端时(目的终端),通过网络侧发起SIM卡信息同步指令(信息获取指令),并输入鉴权密码,源终端接收到信息同步指令后,校验鉴权密码成功,获取当前卡的SIM卡信息和终端联系人信息,并发送给网络侧,由网络侧转发到目的终端。目的终端解析出源终端的SIM卡信息,使用该信息注册到网络,并把联系人保存在目的终端上。当用户不再使用目的终端时,通过目的终端发起通信结束指令,目的终端删除从网络侧同步的联系人,和相关通话短信记录,去注册源终端SIM卡。源终端使用当前SIM卡重新注册到网络,并从网络侧同步到从发起同步指令到发起通信结束指令这段时间内的通话记录和短信记录。In an embodiment of the present invention, the user presets an authentication password in the second terminal (source terminal), and when the user uses the first terminal (the destination terminal), initiates a SIM card information synchronization instruction (information acquisition) through the network side. The command is entered, and the authentication password is input. After receiving the information synchronization command, the source terminal checks the authentication password successfully, obtains the SIM card information of the current card, and the terminal contact information, and sends the information to the network side, and the network side forwards to the destination. terminal. The destination terminal parses the SIM card information of the source terminal, uses the information to register to the network, and saves the contact on the destination terminal. When the user no longer uses the destination terminal, the destination terminal initiates a communication end command, and the destination terminal deletes the contact synchronized from the network side, and the related call short message record, to register the source terminal SIM card. The source terminal re-registers with the current SIM card to the network, and synchronizes from the network side to the call record and the short message record from the time when the synchronization command is initiated to the time when the communication end command is initiated.
实施例二Embodiment 2
本实施例二以图2所示的第一终端(目的终端)和第二终端(源终端)之间通过网络服务器进行的交互过程所在的通信系统对本发明实施例提供的通信方法进行进一步描述,其中,将整个通信过程分为信息获取发起流程和通信结束流程,即信息交换的发起流程和信息交换结束流程,分别如图3和图4所示。In the second embodiment, the communication method provided by the embodiment of the present invention is further described by the communication system in which the interaction process between the first terminal (the destination terminal) and the second terminal (the source terminal) shown in FIG. The entire communication process is divided into an information acquisition initiation process and a communication termination process, that is, an information exchange initiation process and an information exchange completion process, as shown in FIG. 3 and FIG. 4, respectively.
信息交换的发起流程如图3所示,包括:The initiation process of information exchange is shown in Figure 3, including:
步骤S201:目的终端接收信息获取指令;
Step S201: The destination terminal receives an information acquisition instruction.
当用户使用目的终端,触发启动交换流程时,目的终端接收到信息获取指令,指示触发启动交换流程,并根据所述信息获取指令向网络侧发送获取第二终端的SIM卡信息的信息获取请求。When the user uses the destination terminal to trigger the initiation of the exchange process, the destination terminal receives the information acquisition instruction, triggers the initiation of the exchange process, and sends an information acquisition request for acquiring the SIM card information of the second terminal to the network side according to the information acquisition instruction.
步骤S202:目的终端接收用于源终端进行校验的密码信息;Step S202: The destination terminal receives the password information used for verification by the source terminal.
当用户在目的终端中输入密码信息时,目的终端通过验证请求消息将密码信息发送到网络侧,以最终在源终端在收到密码信息时进行校验。When the user inputs the password information in the destination terminal, the destination terminal sends the password information to the network side through the verification request message, so as to finally perform verification when the source terminal receives the password information.
步骤S203:网络侧将接收的消息转发至源终端;Step S203: The network side forwards the received message to the source terminal.
网络侧接收到信息获取请求和验证请求消息后,通过解析确定接收到的消息为信息获取请求和验证请求消息,将信息获取请求和验证请求消息转发至源终端,其中,验证请求消息中携带密码信息。After receiving the information acquisition request and the verification request message, the network side determines that the received message is an information acquisition request and an authentication request message, and forwards the information acquisition request and the verification request message to the source terminal, where the verification request message carries the password. information.
步骤S204:源终端接收消息并解析接收到的消息;Step S204: The source terminal receives the message and parses the received message.
源终端接收到信息获取请求和验证请求消息时,对接收到的消息进行解析,解析其用于获取源终端的SIM卡信息指令和携带的密码信息。When receiving the information acquisition request and the verification request message, the source terminal parses the received message and parses the SIM card information command and the carried password information used to obtain the source terminal.
步骤S205:源终端根据密码信息进行校验;Step S205: The source terminal performs verification according to the password information.
源终端把密码信息和用户预设的密码信息做对比,判断是否有效。The source terminal compares the password information with the password information preset by the user to determine whether it is valid.
步骤S206:源终端确定验证通过时发送源终端的SIM卡信息和通讯录至网络侧;Step S206: The source terminal determines that the SIM card information and the address book of the source terminal are sent to the network side when the verification is passed;
如果密码有效,则获取源终端当前SIM卡信息和当终端中通讯录的联系人信息通过信息获取响应发送到网络侧。If the password is valid, the current SIM card information of the source terminal and the contact information of the address book in the terminal are sent to the network side through the information acquisition response.
步骤S207:网络侧转发SIM卡信息和通讯录至目的终端;Step S207: The network side forwards the SIM card information and the address book to the destination terminal.
网络侧接收信息获取响应,并将信息获取响应从源终端发来的信息获取响应转发到目的终端,其中,信息获取响应携带源终端的SIM卡信息和通讯录。The network side receives the information acquisition response, and forwards the information acquisition response sent from the source terminal to the destination terminal, where the information acquisition response carries the SIM card information and the address book of the source terminal.
步骤S208:目的终端接收源终端的SIM卡信息和通讯录;Step S208: The destination terminal receives the SIM card information and the address book of the source terminal.
目的终端接收到网络侧发送的信息获取响应,解析出源终端的SIM卡信
息和通讯录的联系人信息并保存,使用源终端的SIM卡信息注册到网络。The destination terminal receives the information acquisition response sent by the network side, and parses the SIM card letter of the source terminal.
The contact information of the address and address book is saved and registered to the network using the SIM card information of the source terminal.
当目的终端成功注册到网络后,可使用源终端的SIM卡信息进行通信。After the destination terminal successfully registers with the network, the SIM card information of the source terminal can be used for communication.
信息交换结束流程如图4所示,以通过目的终端触发第二终端的SIM卡信息通信结束指令,该方法包括:The information exchange end process is as shown in FIG. 4, and the SIM card information communication end instruction of the second terminal is triggered by the destination terminal, and the method includes:
步骤S301:目的终端接收第二终端的SIM卡信息通信结束指令;Step S301: The destination terminal receives the SIM card information communication end instruction of the second terminal.
当用户使用目的终端触发信息结束交换流程时,目的终端接收到源终端的SIM卡信息通信结束指令,指示开始信息结束交换流程,结束使用源终端的SIM卡信息进行通信。When the user ends the exchange process using the destination terminal trigger information, the destination terminal receives the SIM card information communication end command of the source terminal, instructs the start information to end the exchange process, and ends the communication using the SIM card information of the source terminal.
步骤S302:目的终端将源终端的SIM卡信息对应的通讯记录发送至网络侧,并删除通讯记录;Step S302: The destination terminal sends the communication record corresponding to the SIM card information of the source terminal to the network side, and deletes the communication record.
目的终端将源终端的SIM卡信息对应的通讯录发送到网络侧,并注销当前SIM卡,从网络侧去注册,并删除目的终端本地保存的SIM卡信息和联系人信息以及这段时间内的通话记录和短消息记录,这里,这些信息可随SIM卡信息通信结束指令发送至网络侧。The destination terminal sends the address book corresponding to the SIM card information of the source terminal to the network side, and cancels the current SIM card, registers from the network side, and deletes the SIM card information and contact information locally saved by the destination terminal and the time period. Call history and short message record, where the information can be sent to the network side with the SIM card communication end command.
步骤S303:网络侧将接收到的信息存储;Step S303: The network side stores the received information.
网络侧接收到目的终端发送的SIM卡信息通信结束指令,并解析出目的终端发送的SIM卡信息,这段时间内通话和短消息记录,解析后保存在网络侧。The network side receives the SIM card information communication end command sent by the destination terminal, and parses the SIM card information sent by the destination terminal. During this time, the call and the short message record are parsed and stored on the network side.
步骤S304:网络侧向源终端发送SIM卡信息通信结束指令和通讯记录;Step S304: The network side sends a SIM card information communication end instruction and a communication record to the source terminal.
网络侧向源终端发送源终端通过SIM卡信息重新注册到网络,网络侧向源终端发送SIM卡信息通信结束指令与相关的通话和短消息记录端。The network side source terminal sends the source terminal to the network through the SIM card information, and the network side sends the SIM card information communication end command and the related call and short message record end to the source terminal.
步骤S305:源终端接收SIM卡信息通信结束指令和通讯记录;Step S305: The source terminal receives the SIM card information communication end instruction and the communication record;
源终端从网络侧接收到SIM卡信息通信结束指令和通讯记录。并保存相关的通话和短消息记录。The source terminal receives the SIM card information communication end command and the communication record from the network side. And save related calls and short message records.
实施例三
Embodiment 3
在本实施例中通过具体的应用场景对本发明实施例提供的通信方法进行进一步说明。The communication method provided by the embodiment of the present invention is further described in the specific application scenario in this embodiment.
实例一Example one
用户预先通过自己的手机,设置一个鉴权密码。The user sets an authentication password in advance through his mobile phone.
当用户想要通过一个临时手机使用自己的原有的SIM卡注册到网络时,先通过该临时手机,发起信息交换流程,目的手机同步源手机的SIM卡的信息,此时需要用户输入需要交换的源手机的标识比如源手机的手机号码和鉴权密码(密码信息)。这些信息打包后,发送到网络侧,优选的,可以通过扩展空口指令来完成传输这些信息。When the user wants to register to the network through a temporary mobile phone using his or her original SIM card, the information exchange process is initiated through the temporary mobile phone, and the destination mobile phone synchronizes the information of the SIM card of the source mobile phone, and the user input needs to be exchanged at this time. The identity of the source mobile phone, such as the mobile phone number of the source mobile phone and the authentication password (password information). After the information is packaged, it is sent to the network side. Preferably, the information can be transmitted by extending the air interface command.
网络侧解析出这是一条发起交换指令,解析出源手机号码后,将相关指令包转发到源手机,并保存鉴权密码。The network side resolves that this is an initiate exchange command. After parsing the source mobile phone number, the relevant instruction packet is forwarded to the source mobile phone, and the authentication password is saved.
源手机接收到网络侧发送来的交换指令后,解析出鉴权密码,与用户预先设定的密码作对比鉴权,如果无效则直接放弃信息交换,如果有效则获取当前手机的SIM卡信息和联系人信息,组包后同步到网络侧。After receiving the exchange command sent by the network side, the source mobile phone parses the authentication password and compares it with the password set by the user. If it is invalid, it directly gives up the information exchange. If it is valid, it obtains the SIM card information of the current mobile phone. Contact information, synchronized to the network side after grouping.
网络侧接收到源手机发送的同步消息后,解析出源手机卡信息并保存,通过该卡的IMSI号从运营商获取到对应卡的AKey值,写入到同步消息,将信息转发到目的手机。After receiving the synchronization message sent by the source mobile phone, the network side parses the source mobile phone card information and saves it, obtains the AKey value of the corresponding card from the operator through the IMSI number of the card, writes the synchronization message, and forwards the information to the destination mobile phone. .
目的手机收到网络侧发送的信息后,解析出源手机相关SIM卡信息、对应的Akey值和联系人信息,都保存在本地,并通过源手机的SIM卡Akey值注册到网络。After receiving the information sent by the network side, the destination mobile phone parses out the SIM card information of the source mobile phone, the corresponding Akey value and the contact information, and saves them locally, and registers with the network through the SIM card Akey value of the source mobile phone.
保存在目的手机中的源手机的联系人信息,通过可以通过一个标志位来标示。当启动交换流程后,目的手机可隐藏原有的联系人信息,仅显示出从源手机的同步的联系人信息。The contact information of the source mobile phone stored in the destination mobile phone can be indicated by a flag bit. After the exchange process is started, the destination mobile phone can hide the original contact information and display only the synchronized contact information from the source mobile phone.
实例二Example two
在用户使用目的手机,通过源手机的SIM卡注册到网络后,所有的呼叫
源手机的电话或发送到源手机的短信,由目的手机接收,网络侧直接发送到目的手机,而不通过源手机转发。After the user uses the destination mobile phone, after registering to the network through the SIM card of the source mobile phone, all calls are made.
The phone of the source mobile phone or the short message sent to the source mobile phone is received by the destination mobile phone, and the network side directly sends the message to the destination mobile phone instead of forwarding through the source mobile phone.
用户通过目的手机发起的呼叫和发送出的短信都被认为是通过源手机的SIM卡来发出。The call initiated by the user through the destination mobile phone and the sent short message are all considered to be sent through the SIM card of the source mobile phone.
保存在目的手机中的相关通信记录,可通过一个标志位标记出来。在启动交换流程后,目的手机可仅显示源手机的相关通信记录。The relevant communication record saved in the destination phone can be marked by a flag. After the exchange process is initiated, the destination phone can only display the relevant communication records of the source phone.
实例三Example three
在结束交换流程时,可以把保存在目的手机的通信记录同步到源手机。When the exchange process is finished, the communication record saved on the destination phone can be synchronized to the source phone.
当用户不再需要借用目的手机时,通过目的手机发起结束交换流程,获取属于源手机的通信记录,打包到结束交换指令中,并通过结束交换指令发送到网络侧。When the user no longer needs to borrow the destination mobile phone, the end exchange process is initiated by the destination mobile phone, the communication record belonging to the source mobile phone is obtained, packaged into the end exchange instruction, and sent to the network side by ending the exchange instruction.
目的手机从当前网络注销源手机SIM卡,并删除保存在目的手机中源SIM卡信息、AKey值、联系人信息和通信记录,重新显示目的手机原有的联系人信息和通信记录。The destination mobile phone cancels the source mobile phone SIM card from the current network, deletes the source SIM card information, AKey value, contact information and communication record stored in the destination mobile phone, and redisplays the original contact information and communication record of the destination mobile phone.
网络侧收到结束交换指令后,获取保存在网络侧的源手机通信记录,等待源手机注册到网络后,将这段时间内的源手机通信记录打包到结束指令发送到源手机。After receiving the end exchange command, the network side obtains the source mobile phone communication record stored on the network side, waits for the source mobile phone to register to the network, and packages the source mobile phone communication record during this period to the end command and sends it to the source mobile phone.
源手机收到网络侧发送的结束交换指令,解析出通信记录并保存。The source mobile phone receives the end exchange command sent by the network side, parses out the communication record and saves it.
实例四Example four
本实例对实例一中的空口指令进行进一步描述。This example further describes the air interface instruction in the first example.
上述空口指令,可以以如下形式组包:The above air interface instructions can be grouped in the following form:
XX X XXXXXXXX XXXXXXXX XXX。。。。。。。。。。XX X XXXXXXXX XXXXXXXX XXX. . . . . . . . . .
其中头两个字符,表示该指令类型,是发起信息交换还是结束信息交换。The first two characters indicate the type of the instruction, whether to initiate information exchange or end information exchange.
第三个字符表示是请求还是应答,由目的终端发起交换时,此时为请
求,则将该位置置为请求位;源终端鉴权成功后发送SIM卡信息时,此时为源终端对目的终端的应答即响应,则将该位置置为应答位。The third character indicates whether the request is or is answered. When the destination terminal initiates the exchange, this is the request.
If the request is made, the location is set to the request bit. When the source terminal successfully sends the SIM card information after the authentication succeeds, the response of the source terminal to the destination terminal is set to the response bit.
第4~11字符,保存目的终端信息或号码,第12~19字符保存源终端的信息或号码。The 4th to 11th characters store the destination terminal information or number, and the 12th to 19th characters store the information or number of the source terminal.
从第20个字符开始为负载区域,负载区域的大小可根据需要进行设置;当目的终端发起信息交换流程时,此负载区域保存鉴权密码,当源终端应答时,此区域保存联系人信息和SIM卡信息。当目的终端发起结束交换流程时,会在这个区域写入这段时间的通信记录信息。Starting from the 20th character, the load area can be set according to requirements. When the destination terminal initiates the information exchange process, the load area saves the authentication password. When the source terminal answers, this area saves the contact information and SIM card information. When the destination terminal initiates the end of the exchange process, the communication record information for this period of time is written in this area.
实施例四Embodiment 4
本发明实施例提供一种实现上述通信方法的终端,如图5所示,所述终端包括:指令接收模块501、信息接收模块502和通信模块503;其中,The embodiment of the present invention provides a terminal for implementing the foregoing communication method. As shown in FIG. 5, the terminal includes: an instruction receiving module 501, an information receiving module 502, and a communication module 503;
指令接收模块501,配置为接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;The instruction receiving module 501 is configured to receive an information acquisition instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal;
信息接收模块502,配置为根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;The information receiving module 502 is configured to send an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receive an information acquisition response that carries the SIM card information of the second terminal;
通信模块503,配置为支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。The communication module 503 is configured to support the use of the SIM card information stored by the non-first terminal to perform network registration, and use the SIM card information of the second terminal to perform network registration, and determine that the SIM of the second terminal is used if the registration is successful. Card information is communicated.
如图6所示,所述终端还包括:As shown in FIG. 6, the terminal further includes:
密码验证模块504,配置为接收携带所述第二终端的SIM卡信息的信息获取响应之前,接收用于第二终端进行校验的密码信息,发送携带所述密码信息的验证请求消息至所述第二终端。The password verification module 504 is configured to receive the password information for performing verification by the second terminal before receiving the information acquisition response of the SIM card information of the second terminal, and send an authentication request message carrying the password information to the The second terminal.
这里,所述信息获取指令携带所述第二终端的终端标识;相应地,Here, the information acquisition instruction carries the terminal identifier of the second terminal; correspondingly,
信息接收模块502具体配置为:根据所述信息获取指令向所述终端标识
指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。The information receiving module 502 is specifically configured to: identify the terminal according to the information obtaining instruction
The instructed second terminal sends an information acquisition request for acquiring the SIM card information of the second terminal.
如图6所示,所述终端还包括:鉴权信息接收模块505,配置为在支持使用非第一终端自身存储的SIM卡信息进行通信之前,接收所述SIM卡信息对应的鉴权参数;相应地,As shown in FIG. 6, the terminal further includes: an authentication information receiving module 505, configured to receive an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself; Correspondingly,
通信模块503具体配置为:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。The communication module 503 is specifically configured to register to the network by using the SIM card information of the second terminal and the authentication parameter.
如图6所示,所述终端还包括:通讯录接收模块506,配置为在根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求之后,接收所述第二终端的通讯录。As shown in FIG. 6, the terminal further includes: an address book receiving module 506, configured to receive the communication of the second terminal after sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction record.
如图6所示,所述终端还包括:记录模块507,配置为确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。As shown in FIG. 6, the terminal further includes: a recording module 507 configured to record, when the registration is successful, use the SIM card information of the second terminal to communicate, and record the SIM card information corresponding to the second terminal. Communication record.
记录模块507还配置为:在记录所述第二终端的SIM卡信息对应的通讯记录之后,在接收到所述第二终端的信息获取结束指令时,将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。The recording module 507 is further configured to: after recording the communication record corresponding to the SIM card information of the second terminal, send the communication record to the second when receiving the information acquisition end instruction of the second terminal a terminal; deleting a communication record corresponding to the SIM card information of the second terminal.
需要说明的时是,为了对本方案描述清楚,在本实施例中将指令接收模块501、密码验证模块504、鉴权信息接收模块505、通讯录接收模块506根据每个模块的功能描述为独立的功能模块,在实际使用中,可通过一个信息处理芯片或一个功能模块实现上述模块的全部功能。It should be noted that, in order to clarify the present solution, in the embodiment, the instruction receiving module 501, the password verification module 504, the authentication information receiving module 505, and the address book receiving module 506 are described as independent according to the function of each module. The function module, in actual use, can realize all the functions of the above module through an information processing chip or a function module.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序
产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
The flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
本发明实施例是接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;根据所述信息获取指令发送获取第二终端的SIM卡信息和的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。采用本发明实施例,从第二终端获取第二终端的SIM
卡信息,并应用在第一终端中进行网络注册以及通信,使得第一终端能够使用非自身存储的第二终端的SIM卡信息进行通信,从而使得用户自己的第二终端不在身边时使用作为临时手机的第一终端完成第二终端相关的通信,当别人呼叫用户时,可直接通过第一终端及时的联系到用户本人。
An embodiment of the present invention is to receive an information acquisition instruction for instructing acquiring the SIM card information of the client identification module of the second terminal, and sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information acquisition instruction, and receiving the information The information acquisition response of the SIM card information of the second terminal is supported; when the communication is performed by using the SIM card information stored by the non-first terminal itself, the SIM card information of the second terminal is used for network registration, and the registration is successful. The SIM card information of the second terminal is communicated. Acquiring the SIM of the second terminal from the second terminal by using the embodiment of the present invention
Card information, and is applied in the first terminal for network registration and communication, so that the first terminal can communicate using the SIM card information of the second terminal that is not stored by itself, so that the user's own second terminal is used as a temporary when not nearby. The first terminal of the mobile phone completes the communication related to the second terminal, and when another person calls the user, the user can be directly contacted by the first terminal in time.
Claims (14)
- 一种通信方法,应用于第一终端,所述方法包括:A communication method is applied to a first terminal, the method comprising:接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;Receiving an information acquisition instruction for instructing acquisition of the customer identification module SIM card information of the second terminal;根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;Receiving an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receiving an information acquisition response that carries the SIM card information of the second terminal;支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。When the SIM card information stored by the non-first terminal is used for communication, the SIM card information of the second terminal is used for network registration, and when the registration is successful, the SIM card information of the second terminal is used for communication.
- 根据权利要求1所述的方法,其中,在接收携带所述第二终端的SIM卡信息的信息获取响应之前,所述方法还包括:The method of claim 1, wherein before receiving the information acquisition response of the SIM card information carrying the second terminal, the method further comprises:接收用于第二终端进行校验的密码信息;Receiving password information used for verification by the second terminal;发送携带所述密码信息的验证请求消息至所述第二终端。Sending an authentication request message carrying the password information to the second terminal.
- 根据权利要求1所述的方法,其中,所述信息获取指令携带所述第二终端的终端标识,The method according to claim 1, wherein the information acquisition instruction carries a terminal identifier of the second terminal,根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求包括:Sending the information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction includes:根据所述信息获取指令向所述终端标识指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。And sending, according to the information obtaining instruction, an information acquiring request for acquiring the SIM card information of the second terminal to the second terminal indicated by the terminal identifier.
- 根据权利要求1所述的方法,其中,在支持使用非第一终端自身存储的SIM卡信息进行通信之前,所述方法还包括:接收所述SIM卡信息对应的鉴权参数;相应地,The method according to claim 1, wherein the method further comprises: receiving an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself;使用所述第二终端的SIM卡信息进行网络注册包括:Performing network registration by using the SIM card information of the second terminal includes:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。And registering to the network by using the SIM card information of the second terminal and the authentication parameter.
- 根据权利要求1所述的方法,其中,在根据所述信息获取指令发送 获取第二终端的SIM卡信息的信息获取请求之后,所述方法还包括:The method of claim 1, wherein the sending is in accordance with the information acquisition instruction After obtaining the information acquisition request of the SIM card information of the second terminal, the method further includes:接收所述第二终端的通讯录。Receiving an address book of the second terminal.
- 根据权利要求1所述的方法,其中,所述方法还包括:确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。The method according to claim 1, wherein the method further comprises: when determining that the registration is successful, using the SIM card information of the second terminal for communication, recording communication corresponding to the SIM card information of the second terminal recording.
- 根据权利要求6所述的方法,其中,在记录所述第二终端的SIM卡信息对应的通讯记录之后,所述方法还包括:The method of claim 6, wherein after the recording of the communication record corresponding to the SIM card information of the second terminal, the method further comprises:在接收到所述第二终端的SIM卡信息通信结束指令时,将所述通讯记录发送至所述第二终端;Receiving the communication record to the second terminal when receiving the SIM card information communication end instruction of the second terminal;删除所述第二终端的SIM卡信息对应的通信记录。And deleting the communication record corresponding to the SIM card information of the second terminal.
- 一种终端,所述终端包括:指令接收模块、信息接收模块和通信模块;其中,A terminal, the terminal includes: an instruction receiving module, an information receiving module, and a communication module; wherein所述指令接收模块,配置为接收用于指示获取第二终端的客户识别模块SIM卡信息的信息获取指令;The instruction receiving module is configured to receive an information obtaining instruction for instructing acquiring the SIM card information of the customer identification module of the second terminal;所述信息接收模块,配置为根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求,接收携带所述第二终端的SIM卡信息的信息获取响应;The information receiving module is configured to send an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction, and receive an information acquisition response that carries the SIM card information of the second terminal;所述通信模块,配置为支持使用非第一终端自身存储的SIM卡信息进行通信时,使用所述第二终端的SIM卡信息进行网络注册,确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信。The communication module is configured to support network registration by using SIM card information stored by the second terminal itself, and use the SIM card information of the second terminal to perform network registration, and determine that the second terminal is used when the registration is successful. SIM card information is communicated.
- 根据权利要求8所述的终端,其中,所述终端还包括:The terminal of claim 8, wherein the terminal further comprises:密码验证模块,配置为在接收携带所述第二终端的SIM卡信息的信息获取响应之前,接收用于第二终端进行校验的密码信息,发送携带所述密码信息的验证请求消息至所述第二终端。The password verification module is configured to: before receiving the information acquisition response carrying the SIM card information of the second terminal, receive password information used for verification by the second terminal, and send an authentication request message carrying the password information to the The second terminal.
- 根据权利要求8所述的终端,其中,所述信息获取指令携带所述第 二终端的终端标识;The terminal according to claim 8, wherein said information acquisition instruction carries said first Terminal identification of the second terminal;所述信息接收模块具体配置为:根据所述信息获取指令向所述终端标识指示的第二终端发送获取第二终端的SIM卡信息的信息获取请求。The information receiving module is configured to: send, according to the information obtaining instruction, an information acquiring request for acquiring the SIM card information of the second terminal to the second terminal indicated by the terminal identifier.
- 根据权利要求8所述的终端,其中,所述终端还包括:The terminal of claim 8, wherein the terminal further comprises:鉴权信息接收模块,配置为在支持使用非第一终端自身存储的SIM卡信息进行通信之前,接收所述SIM卡信息对应的鉴权参数;相应地,The authentication information receiving module is configured to receive an authentication parameter corresponding to the SIM card information before supporting communication using the SIM card information stored by the non-first terminal itself;所述通信模块具体配置为:通过所述第二终端的SIM卡信息和所述鉴权参数注册到网络。The communication module is specifically configured to register to the network by using the SIM card information of the second terminal and the authentication parameter.
- 据权利要求8所述的终端,其中,所述终端还包括:The terminal of claim 8, wherein the terminal further comprises:通讯录接收模块,配置为在根据所述信息获取指令发送获取第二终端的SIM卡信息的信息获取请求之后,接收所述第二终端的通讯录。The address book receiving module is configured to receive an address book of the second terminal after sending an information acquisition request for acquiring the SIM card information of the second terminal according to the information obtaining instruction.
- 根据权利要求8所述的终端,其中,所述终端还包括:The terminal of claim 8, wherein the terminal further comprises:记录模块,配置为确定注册成功的情况下使用所述第二终端的SIM卡信息进行通信时,记录所述第二终端的SIM卡信息对应的通讯记录。And the recording module is configured to record the communication record corresponding to the SIM card information of the second terminal when the communication is performed by using the SIM card information of the second terminal.
- 根据权利要求13所述的终端,其中,所述记录模块还配置为:在记录所述第二终端的SIM卡信息对应的通讯记录之后,在接收到所述第二终端的信息获取结束指令时,将所述通讯记录发送至所述第二终端;删除所述第二终端的SIM卡信息对应的通信记录。 The terminal according to claim 13, wherein the recording module is further configured to: after recording the communication record corresponding to the SIM card information of the second terminal, upon receiving the information acquisition end instruction of the second terminal Transmitting the communication record to the second terminal; deleting the communication record corresponding to the SIM card information of the second terminal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610546623.8A CN107613485A (en) | 2016-07-11 | 2016-07-11 | A kind of means of communication and terminal |
CN201610546623.8 | 2016-07-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018010361A1 true WO2018010361A1 (en) | 2018-01-18 |
Family
ID=60952236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/106997 WO2018010361A1 (en) | 2016-07-11 | 2016-11-23 | Communication method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107613485A (en) |
WO (1) | WO2018010361A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111836341B (en) * | 2019-08-09 | 2024-01-05 | 维沃移动通信有限公司 | Message receiving and sending method, network searching method and terminal |
CN113055979B (en) * | 2019-12-26 | 2022-08-09 | Oppo广东移动通信有限公司 | Network residing method, wearable device, communication card assembly and readable storage medium |
Citations (5)
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) |
CN1864421A (en) * | 2001-04-30 | 2006-11-15 | 诺基亚有限公司 | Radiotelephone system |
CN103546873A (en) * | 2012-07-12 | 2014-01-29 | 中兴通讯股份有限公司 | Push-to-talk processing method and device |
CN103619053A (en) * | 2013-11-08 | 2014-03-05 | 杨睿琦 | Method for using user identification cards and communication system |
CN104811927A (en) * | 2014-01-28 | 2015-07-29 | 中兴通讯股份有限公司 | Information processing method, terminal and server and communication method and system |
-
2016
- 2016-07-11 CN CN201610546623.8A patent/CN107613485A/en active Pending
- 2016-11-23 WO PCT/CN2016/106997 patent/WO2018010361A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1864421A (en) * | 2001-04-30 | 2006-11-15 | 诺基亚有限公司 | Radiotelephone system |
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) |
CN103546873A (en) * | 2012-07-12 | 2014-01-29 | 中兴通讯股份有限公司 | Push-to-talk processing method and device |
CN103619053A (en) * | 2013-11-08 | 2014-03-05 | 杨睿琦 | Method for using user identification cards and communication system |
CN104811927A (en) * | 2014-01-28 | 2015-07-29 | 中兴通讯股份有限公司 | Information processing method, terminal and server and communication method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107613485A (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9723482B2 (en) | Anti-theft protection method and device for cellular phone | |
US7929946B2 (en) | Remote subscriber identification (RSID) system and method | |
US10638300B2 (en) | Method and device for enabling plurality of mobile phones to share one SIM card | |
US8204484B2 (en) | System and method for managing missed calls and unread messages | |
CN105451214B (en) | Card application access method and apparatus | |
CN106850530A (en) | The equipment shaken hands by video is associated | |
US8676162B2 (en) | Remote subscriber identification (RSID) system and method | |
CN104301857A (en) | Method and device for wireless communication between communication terminals | |
US20180077562A1 (en) | Method for providing multi number service | |
CN101155212A (en) | Method for limiting use of mobile terminal | |
CN102036181A (en) | Method and device for group communication with contacts | |
US10291613B1 (en) | Mobile device authentication | |
CN103098452A (en) | Portable terminal, remote operation system, method of controlling transmission of data by portable terminal, and non-transitory computer-readable medium | |
CN103067478A (en) | Method, device and system for transmitting contact person information | |
CN103609095B (en) | Wireless Telecom Equipment, messaging device, communication system and the control method for Wireless Telecom Equipment | |
CA3064797A1 (en) | Identity verification method and apparatus, and electronic device | |
CN108809969A (en) | A kind of authentication method, system and its apparatus | |
JP5823185B2 (en) | Sender information providing apparatus and program | |
WO2018010361A1 (en) | Communication method and terminal | |
JP2011151487A (en) | Terminal-line opening system, and terminal-line opening method | |
CN104581676A (en) | Communication system, mobile communication device, and method for switching user identification information | |
JP2022023321A (en) | Authentication device and authentication method | |
JP2002135407A (en) | Communication terminal and authentication method by the communication terminal | |
US20140148130A1 (en) | Remote subscriber identification (rsid) system and method | |
CN101163289A (en) | Method of limiting use region of mobile terminal |
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: 16908684 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16908684 Country of ref document: EP Kind code of ref document: A1 |