WO2021077898A1 - Network registration method and electronic device - Google Patents

Network registration method and electronic device Download PDF

Info

Publication number
WO2021077898A1
WO2021077898A1 PCT/CN2020/112279 CN2020112279W WO2021077898A1 WO 2021077898 A1 WO2021077898 A1 WO 2021077898A1 CN 2020112279 W CN2020112279 W CN 2020112279W WO 2021077898 A1 WO2021077898 A1 WO 2021077898A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
user identification
identification data
request instruction
sent
Prior art date
Application number
PCT/CN2020/112279
Other languages
French (fr)
Chinese (zh)
Inventor
刘凯
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021077898A1 publication Critical patent/WO2021077898A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a network registration method and electronic equipment.
  • an electronic device installed with a Subscriber Identity Module (SIM) card can only use the service provided by the operator whose SIM card is connected to the network.
  • SIM Subscriber Identity Module
  • the electronic device can only use the service provided by the operator whose SIM card is connected to the network.
  • Voice services, data services, etc. when the SIM card is unusable, such as arrears, damage, etc., the electronic device may not be able to normally use the services provided by the network operator, which may result in the electronic device not being able to perform communication services normally.
  • the embodiments of the present application provide a network registration method and an electronic device to solve the problem that the electronic device may not be able to communicate normally.
  • an embodiment of the present application provides a network registration method, which is applied to a first electronic device, and the method includes: sending a data request instruction to a second electronic device, and the data request instruction is used to request the second electronic device The user identification data corresponding to the communication module; receive the user identification data sent by the second electronic device; use the user identification data to register in the target network.
  • an embodiment of the present application provides a network registration method, which is applied to a second electronic device, and the method includes: receiving a data request instruction sent by a first electronic device, and the data request instruction is used to request the second electronic device The user identification data corresponding to the communication module in the communication module; according to the data request instruction, the user identification data is sent to the first electronic device, so that the first electronic device uses the user identification data to register in the target network.
  • an embodiment of the present application also provides an electronic device, the electronic device is a first electronic device, and the electronic device includes: a sending module, a receiving module, and a registration module; a sending module for sending to a second electronic device Data request instruction, the data request instruction is used to request the user identification data corresponding to the communication module in the second electronic device; the receiving module is used to receive the user identification data sent by the second electronic device; the registration module is used to use The user identification data received by the receiving module is registered in the target network.
  • an embodiment of the present application also provides an electronic device, the electronic device is a second electronic device, the electronic device includes: a receiving module and a sending module; a receiving module for receiving a data request sent by the first electronic device Instruction, the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the sending module is used to send the data request instruction in the second electronic device to the first electronic device according to the data request instruction received by the receiving module The user identification data corresponding to the communication module, so that the first electronic device uses the user identification data corresponding to the communication module in the second electronic device to register in the target network.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, the following The steps of the network registration method described in one aspect, or the steps of implementing the network registration method described in the second aspect.
  • the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network registration method as described in the first aspect are implemented , Or implement the steps of the network registration method as described in the second aspect.
  • the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, and the second electronic device is receiving the data sent by the first electronic device.
  • the data request instruction the above-mentioned user identification data can be sent to the first electronic device.
  • the first electronic device receives the user identification data sent by the second electronic device, it can perform the process in the target network according to the user identification data.
  • Network registration can enable the first electronic device to use the services of the target network registered with the user identification data corresponding to the communication module of the second electronic device, such as surfing the Internet, making and receiving calls, and sending and receiving short messages.
  • the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally.
  • the first electronic device is a mobile phone and the second electronic device is a watch
  • the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch.
  • the content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of the interaction process of a network registration method provided by an embodiment of this application;
  • FIG. 3 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of another possible structure of another electronic device provided by an embodiment of this application.
  • FIG. 5 is a schematic diagram of another possible structure of another electronic device provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • Multiple means two or more than two.
  • first and second in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of objects.
  • first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
  • users can apply for eSIM card access online, and no longer need to go to the business hall to apply for card access to the network. In this way, when users are in different regions or different countries, they can use the services provided by local operators after the eSIM card accesses the network online.
  • the electronic device in the embodiment of the present application may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the following takes the Android operating system as an example to introduce the software environment applied by the network registration method provided by the embodiment of the present application.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications in the Android operating system (including system applications and third-party applications).
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the network registration method provided by the embodiment of the application based on the system architecture of the Android operating system as shown in FIG.
  • the registration method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the network registration method provided in the embodiment of the present application by running the software program in the Android operating system.
  • FIG. 2 is a schematic flowchart of a network registration method provided by an embodiment of the application. As shown in FIG. 2, the network registration method includes S201 to S205:
  • the first electronic device sends a data request instruction to the second electronic device.
  • the above-mentioned data request instruction is used to request user identification data corresponding to the communication module in the second electronic device.
  • the communication module in the embodiment of the present application may be a SIM card or a built-in chip user identification (Embedded-SIM, eSIM) card.
  • SIM Subscriber Identity
  • eSIM built-in chip user identification
  • both the first electronic device and the second electronic device may be configured with a baseband chip for reading the SIM card.
  • the first electronic device may be a mobile phone configured with a SIM card
  • the second electronic device may be a watch configured with an eSIM card.
  • a SIM card may be installed in the first electronic device, or a SIM card may not be installed, which is not specifically limited in the embodiment of the present application.
  • the aforementioned data request instruction may be an answer to reset (ATR) instruction and an application protocol data unit (APDU) instruction used to access the SIM card.
  • ATR answer to reset
  • APDU application protocol data unit
  • S202 The second electronic device receives the data request instruction sent by the first electronic device.
  • the second electronic device may transmit the data request instruction to the communication module in the second electronic device.
  • the second electronic device sends user identification data to the first electronic device according to the data request instruction.
  • the second electronic device sends the user identification data corresponding to the communication module in the second electronic device to the first electronic device, so that the first electronic device can use the user identification data to register in the target network.
  • the communication module in the second electronic device can respond to the data request instruction sent by the first electronic device, and pass the user identification data corresponding to the communication module.
  • the second electronic device sends to the first electronic device.
  • the target network is the network to which the user identification data corresponding to the communication module in the second electronic device is subscribed. For example, if the eSIM card in the second electronic device is contracted by the first operator, the target network is the first operator. Provider’s network.
  • S204 The first electronic device receives the user identification data sent by the second electronic device.
  • S205 The first electronic device uses the user identification data sent by the second electronic device to register in the target network.
  • the second electronic device when the first electronic device successfully registers in the target network using the user identification data corresponding to the communication module of the second electronic device, the second electronic device is in an offline state.
  • the first electronic device can perform communication services, such as receiving/calling, receiving/sending short messages, and downloading /Upload data and other services.
  • two modes can be configured in the first electronic device, namely "exclusive mode” and "shared mode".
  • the "exclusive mode” can also be referred to as the "mobile phone only mode”.
  • the first electronic device receives incoming calls, short messages, etc.
  • the first electronic device An electronic device can only display incoming calls, short messages, etc. on the first electronic device, and the user can make calls and view short messages on the first electronic device.
  • the user can also use the first electronic device to perform other data services.
  • the first electronic device can also send the incoming call or short message to the second electronic device after receiving the incoming call or short message. The user can either process the incoming call or short message on the first electronic device. Can be processed on the second electronic device.
  • the first electronic device if the first electronic device receives an incoming call, the first electronic device sends incoming call notification information to the second electronic device to notify the second electronic device that there is an incoming call message.
  • the second electronic device can display the incoming call information.
  • the user can process the incoming call message on the second electronic device, such as answering or hanging up.
  • the second electronic device may notify the first electronic device to trigger answering or hanging up.
  • the first electronic device may control the first electronic device to hang up the incoming call after receiving the instruction information that the second electronic device instructs to hang up.
  • the first electronic device may send a data request instruction to the second electronic device to obtain the user identification data corresponding to the communication module in the second electronic device, and the second electronic device is receiving the first
  • the above-mentioned user identification data can be sent to the first electronic device.
  • the first electronic device can use the user identification data in the target Network registration in the network enables the first electronic device to use the services of the target network registered by the user identification data corresponding to the communication module of the second electronic device, such as surfing the Internet, making and receiving calls, and sending and receiving short messages.
  • the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally.
  • the first electronic device is a mobile phone and the second electronic device is a watch
  • the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch.
  • the content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
  • the network registration method provided in the embodiment of the present application may further include the following S206 before the above S201.
  • the user can manually control the first electronic device and the second electronic device to establish a Bluetooth connection.
  • the mobile phone can use the user identification data corresponding to the eSIM card in the watch.
  • This function can be called "remote eSIM card”.
  • the user can manually enable the "remote eSIM card" in the interface of the mobile phone to trigger the phone to start.
  • the mobile phone first determines whether the Bluetooth function is turned on, and if the Bluetooth function is not turned on, the first electronic device may first enable the Bluetooth function. Then the user controls the phone and the watch to pair with Bluetooth and establish a Bluetooth connection.
  • the first electronic device may also establish other wireless connections with the second electronic device, for example, establishing a wireless connection via WiFi, Internet of Things, infrared and other approach communication.
  • S201 may be specifically executed through S201a:
  • the first electronic device After establishing a Bluetooth connection between the first electronic device and the second electronic device, the first electronic device sends a data request instruction to the second electronic device.
  • the first electronic device may send a data request instruction to the second electronic device based on the Bluetooth connection.
  • the aforementioned S202 may be executed by the following S202a:
  • S202a After establishing a Bluetooth connection between the first electronic device and the second electronic device, the second electronic device receives the data request instruction sent by the first electronic device.
  • the first electronic device and the second electronic device can first establish a Bluetooth connection, and then the first electronic device and the second electronic device can transmit data based on the Bluetooth connection, which can facilitate users to quickly share data.
  • the network registration method provided in the embodiment of the present application may further include the following S207 after the foregoing S206:
  • S207 The first electronic device and the second electronic device establish a logical channel based on the Bluetooth connection.
  • the logical channel can be used for the first electronic device and the second electronic device to transmit data.
  • the foregoing logical channel may be referred to as a remote eSIM card access channel between the first electronic device and the second electronic device.
  • the foregoing S201a may be executed through the following S201b:
  • the first electronic device After establishing a Bluetooth connection between the first electronic device and the second electronic device, the first electronic device sends a data request instruction to the second electronic device through a logical channel established based on the Bluetooth connection.
  • S201a in the case that S201a is executed by S201b, the above-mentioned S203a may be executed by the following S203b:
  • the second electronic device After the Bluetooth connection is established between the first electronic device and the second electronic device, the second electronic device sends the user identity device data to the first electronic device through the logical channel established based on the Bluetooth connection.
  • the baseband chip of the first electronic device can control the mapping of the user equipment module (UIM) to the logical channel, and the baseband chip of the first electronic device can use the logical channel to access
  • the atr command and apdu command of the SIM card (or eSIM card) are sent to the SIM card (or eSIM card) of the remote second electronic device, and the SIM card (or eSIM card) of the second electronic device receives the instruction to access the card
  • the second electronic device can respond to the instruction to send the user identification data to the baseband chip of the first electronic device through the logical channel.
  • the first electronic device can trigger the first electronic device to perform network registration.
  • the baseband chip in the first electronic device was originally used to access the communication module of the first electronic device, and after the Bluetooth connection is established, it can be used to access the communication module of the second electronic device.
  • the first electronic device can establish a safer data transmission channel with the second electronic device based on the Bluetooth connection, such as establishing a logical channel.
  • the first electronic device and the second electronic device can send and receive data through the logical channel.
  • the first electronic device can send a data request instruction to the second electronic device based on the logical channel
  • the second electronic device can The user identity device data is sent to the first electronic device based on the logical channel.
  • the network registration method provided in the embodiment of the present application may further include the following S208 to S209 before the above S201.
  • the first electronic device sends a notification message to the second electronic device.
  • the notification message is used to notify the second electronic device to share the user identification data corresponding to the communication module in the second electronic device.
  • the second electronic device receives the notification message sent by the first electronic device.
  • the second electronic device may receive the notification message sent by the first electronic device based on the Bluetooth connection.
  • the first electronic device may send a notification message to the second electronic device through a private communication protocol, and the private protocol may include data transmission format and data Transmission rate, etc.
  • the second electronic device deregisters in the target network.
  • the second electronic device can control the baseband chip in the second electronic device to disconnect from the eSIM card, so that the second electronic device can deregister in the target network .
  • the second electronic device sends a feedback message to the first electronic device.
  • the feedback message is used to instruct the second electronic device to share the user identification data corresponding to the communication module in the second electronic device with the first electronic device.
  • the first electronic device when the first electronic device needs the second electronic device to share the user identification data corresponding to the communication module in the second electronic device, it can first send a notification message to the second electronic device to notify the second electronic device to share The user identification data corresponding to the communication module in the second electronic device; after receiving the notification message, if the second electronic device can share the user identification data, it can send a feedback message to the first electronic device to notify the first electronic device The electronic device can share user identification data corresponding to the communication module in the second electronic device.
  • the above method can be used for security authentication, making data sharing more secure.
  • the network registration method provided in the embodiment of the present application may further include the following S212 and S213 after the foregoing S205:
  • the first electronic device can be disconnected from the target network.
  • the first electronic device and the second electronic device may disconnect the logical channel.
  • the first electronic device uses the user identification data corresponding to the communication module of the first electronic device Register in the first network.
  • the aforementioned S212 and S213 may be executed. If the distance between the first electronic device and the second electronic device is close to the Bluetooth connection again, the first electronic device may re-execute the aforementioned S201 to S205.
  • the Bluetooth connection between the first electronic device and the second electronic device is disconnected, the first electronic device is deregistered in the target network, and the second electronic device is registered in the target network, that is, the first electronic device The device no longer continues to use the service of the target network corresponding to the user identification data corresponding to the communication module of the second electronic device, and the second electronic device reselects to register in the target network and continues to use the service of the target network.
  • FIG. 3 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the application.
  • the electronic device 300 is the first electronic device, and the electronic device 300 includes: a sending module 301, a receiving module 302, and a registration module 303;
  • the sending module 301 is used to send a data request instruction to the second electronic device, and the data request instruction is used to request the user identification data corresponding to the communication module in the second electronic device;
  • the receiving module 302 is used to receive the data sent by the second electronic device The user identification data; the registration module 303, used to use the user identification data received by the receiving module 302 to register in the target network.
  • the sending module 301 is specifically configured to send a data request instruction to the second electronic device after the Bluetooth connection is established between the first electronic device and the second electronic device.
  • the sending module 301 is specifically configured to send a data request instruction to the second electronic device through a logical channel established based on a Bluetooth connection.
  • the sending module 301 is further configured to send a notification message to the second electronic device before sending the data request instruction to the second electronic device, where the notification message is used to notify the second electronic device to share user identification data; receiving module 302. It is further configured to receive a feedback message sent by the second electronic device, where the feedback message is used to instruct the second electronic device to share user identification data with the first electronic device.
  • the registration module 303 is further configured to perform de-registration in the target network after the Bluetooth connection with the second electronic device is disconnected after using the user identification data to register in the target network.
  • the communication module is a SIM card or an eSIM card.
  • the electronic device 300 provided in the embodiment of the present application can implement each process implemented by the first electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device provided by the embodiment of the present application is a first electronic device, and the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, After receiving the data request instruction sent by the first electronic device, the second electronic device may send the aforementioned user identification data to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device may Perform network registration in the target network according to the user identification data, so that the first electronic device can use the user identification data corresponding to the communication module of the second electronic device to register the services of the target network, such as surfing the Internet, making calls, sending and receiving short messages Wait.
  • the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally.
  • the first electronic device is a mobile phone and the second electronic device is a watch
  • the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch.
  • the content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
  • FIG. 4 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the application.
  • the electronic device 400 is a second electronic device, and the electronic device 400 includes: a receiving module 401 and a sending module 402; a receiving module 401, For receiving a data request instruction sent by the first electronic device, the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the sending module 402 is used to request the data according to the data request instruction received by the receiving module 401 Send the user identification data corresponding to the communication module in the second electronic device to the first electronic device, so that the first electronic device uses the user identification data corresponding to the communication module in the second electronic device to register in the target network.
  • the receiving module 401 is specifically configured to receive a data request instruction sent by the first electronic device after the Bluetooth connection is established between the first electronic device and the second electronic device.
  • the sending module 402 is specifically configured to send the user identification data corresponding to the communication module in the second electronic device to the first electronic device through the logical channel established based on the Bluetooth connection.
  • the receiving module 401 is further configured to receive a notification message sent by the first electronic device before receiving the data request instruction sent by the first electronic device, where the notification message is used to notify the second electronic device to share user identification data;
  • the sending module 402 is configured to send a feedback message to the first electronic device, where the feedback message is used to instruct the second electronic device to share user identification data with the first electronic device.
  • the electronic device 400 further includes a registration module 403; the registration module 403 is used to perform the process in the target network after the receiving module 401 receives the notification message sent by the first electronic device. registered.
  • the electronic device 400 provided in the embodiment of the present application can implement each process implemented by the second electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device provided by the embodiment of the present application is a second electronic device.
  • the second electronic device After receiving the data request instruction sent by the first electronic device, the second electronic device can send the communication module corresponding to the second electronic device to the first electronic device.
  • the first electronic device After receiving the user identification data sent by the second electronic device, the first electronic device can perform network registration in the target network according to the user identification data, so that the first electronic device can use the second electronic device.
  • the service of the target network registered by the user identification data corresponding to the communication module of the device such as surfing the Internet, making and receiving calls, sending and receiving short messages, etc.
  • the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally.
  • the first electronic device is a mobile phone and the second electronic device is a watch
  • the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch.
  • the content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and
  • the radio frequency unit 101 is used to send a data request instruction to the second electronic device, and the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the radio frequency unit 101 is also used to receive the second electronic device.
  • the user identification data corresponding to the communication module of the second electronic device sent by the electronic device; the processor 110 is configured to use the user identification data to register in the target network.
  • the electronic device provided by the embodiment of the present application is a first electronic device, and the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, After receiving the data request instruction sent by the first electronic device, the second electronic device may send the aforementioned user identification data to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device may Perform network registration in the target network according to the user identification data, so that the first electronic device can use the user identification data corresponding to the communication module of the second electronic device to register the services of the target network, such as surfing the Internet, making calls, sending and receiving short messages Wait.
  • the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally.
  • the first electronic device is a mobile phone and the second electronic device is a watch
  • the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch.
  • the content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (e.g., call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device and the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides an electronic device.
  • the electronic device may be the above-mentioned first electronic device or the second electronic device.
  • the electronic device includes a processor 110, a memory 109, and can be stored on the memory 109.
  • the computer program running on the processor 110 when the computer program is executed by the processor 110, realizes the various processes of the above-mentioned network registration method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned network registration method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the present application relate to the technical field of communications, and provide a network registration method and an electronic device. The method is applied to a first electronic device, and comprises: sending a data request instruction to a second electronic device, wherein the data request instruction is used for requesting subscriber identity data corresponding to a communication module in the second electronic device; and performing registration in a target network by means of the subscriber identity data.

Description

网络注册方法及电子设备Network registration method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月23日在中国提交的中国专利申请号201911014079.2的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911014079.2 filed in China on October 23, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种网络注册方法及电子设备。The embodiments of the present application relate to the field of communication technologies, and in particular, to a network registration method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的应用越来越广泛。With the development of communication technology, the application of electronic devices has become more and more extensive.
目前,安装有用户识别模块(Subscriber Identity Module,SIM)卡的电子设备只能使用该SIM卡入网的运营商提供的服务,例如该电子设备只能使用该SIM卡入网的运营商提供的服务进行语音业务、数据业务等。然而,当该SIM卡出现欠费、损坏等无法使用的情况时,该电子设备可能无法正常使用其入网的运营商提供的服务,从而导致电子设备可能无法正常进行通信业务。At present, an electronic device installed with a Subscriber Identity Module (SIM) card can only use the service provided by the operator whose SIM card is connected to the network. For example, the electronic device can only use the service provided by the operator whose SIM card is connected to the network. Voice services, data services, etc. However, when the SIM card is unusable, such as arrears, damage, etc., the electronic device may not be able to normally use the services provided by the network operator, which may result in the electronic device not being able to perform communication services normally.
发明内容Summary of the invention
本申请实施例提供一种网络注册方法及电子设备,以解决电子设备可能无法正常通信的问题。The embodiments of the present application provide a network registration method and an electronic device to solve the problem that the electronic device may not be able to communicate normally.
为了解决上述技术问题,本申请实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present application are implemented as follows:
第一方面,本申请实施例提供一种网络注册方法,该方法应用于第一电子设备,该方法包括:向第二电子设备发送数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;接收第二电子设备发送的用户身份识别数据;采用该用户身份识别数据在目标网络中进行注册。In the first aspect, an embodiment of the present application provides a network registration method, which is applied to a first electronic device, and the method includes: sending a data request instruction to a second electronic device, and the data request instruction is used to request the second electronic device The user identification data corresponding to the communication module; receive the user identification data sent by the second electronic device; use the user identification data to register in the target network.
第二方面,本申请实施例提供一种网络注册方法,该方法应用于第二电子设备,该方法包括:接收第一电子设备发送的数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;根据该数据请求指令,向第一电子设备发送该用户身份识别数据,以使得第一电子设备采用该用户身份识别数据在目标网络中进行注册。In a second aspect, an embodiment of the present application provides a network registration method, which is applied to a second electronic device, and the method includes: receiving a data request instruction sent by a first electronic device, and the data request instruction is used to request the second electronic device The user identification data corresponding to the communication module in the communication module; according to the data request instruction, the user identification data is sent to the first electronic device, so that the first electronic device uses the user identification data to register in the target network.
第三方面,本申请实施例还提供了一种电子设备,该电子设备为第一电子设备,该电子设备包括:发送模块、接收模块和注册模块;发送模块,用于向第二电子设备发送数据请求指令,该数据请求指令用于请求的第二电子设备中的通信模块对应的用户身份识别数据;接收模块,用于接收第二电子设备发送的用户身份识别数据;注册模块,用于采用接收模块接收的用户身份识别数据在目标网络中进行注册。In a third aspect, an embodiment of the present application also provides an electronic device, the electronic device is a first electronic device, and the electronic device includes: a sending module, a receiving module, and a registration module; a sending module for sending to a second electronic device Data request instruction, the data request instruction is used to request the user identification data corresponding to the communication module in the second electronic device; the receiving module is used to receive the user identification data sent by the second electronic device; the registration module is used to use The user identification data received by the receiving module is registered in the target network.
第四方面,本申请实施例还提供了一种电子设备,该电子设备为第二电子设备,该电子设备包括:接收模块和发送模块;接收模块,用于接收第一电子设备发送的数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;发送模块,用于根据接收模块接收的数据请求指令,向第一电子设备发送第二电子设备中的通信模块对应的用户身份识别数据,以使得第一电子设备采用第二电子设备中的通信模块对应的用户身份识别数据在目标网络中进行注册。In a fourth aspect, an embodiment of the present application also provides an electronic device, the electronic device is a second electronic device, the electronic device includes: a receiving module and a sending module; a receiving module for receiving a data request sent by the first electronic device Instruction, the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the sending module is used to send the data request instruction in the second electronic device to the first electronic device according to the data request instruction received by the receiving module The user identification data corresponding to the communication module, so that the first electronic device uses the user identification data corresponding to the communication module in the second electronic device to register in the target network.
第五方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的网络注册方法的步骤,或实现如第二方面所述的网络注册方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the following The steps of the network registration method described in one aspect, or the steps of implementing the network registration method described in the second aspect.
第六方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的网络注册方法的步骤,或实现如第二方面所述的网络注册方法的步骤。In a sixth aspect, the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network registration method as described in the first aspect are implemented , Or implement the steps of the network registration method as described in the second aspect.
在本申请实施例中,第一电子设备可以向第二电子设备发送数据请求 指令,以获取第二电子设备中的通信模块对应的用户身份识别数据,第二电子设备在接收第一电子设备发送的数据请求指令后,可以向第一电子设备发送上述用户身份识别数据,第一电子设备在接收到第二电子设备发送的用户身份识别数据之后,可以根据该用户身份识别数据在目标网络中进行网络注册,可以使得第一电子设备使用第二电子设备的通信模块对应的用户身份识别数据注册的目标网络的服务,例如上网、接打电话、收发短信等。在第一电子设备中的通信模块对应的用户身份识别数据对应的账户欠费、通信模块损坏等无法使用的情况下,采用本申请实施例提供的网络注册方法,第一电子设备可以使用第二电子设备中的通信模块对应的用户身份识别数据,在目标网络中进行注册,使得第一电子设备可以正常进行通信业务。在第一电子设备为手机、第二电子设备为手表的情况下,可以通过将手表中的SIM卡或者eSIM卡对应的用户身份识别数据发送给手机,可以使得用户在手表上不方便操作或者无法操作的内容转移到手机上,使得用户操作更加方便。In the embodiment of the present application, the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, and the second electronic device is receiving the data sent by the first electronic device. After the data request instruction, the above-mentioned user identification data can be sent to the first electronic device. After the first electronic device receives the user identification data sent by the second electronic device, it can perform the process in the target network according to the user identification data. Network registration can enable the first electronic device to use the services of the target network registered with the user identification data corresponding to the communication module of the second electronic device, such as surfing the Internet, making and receiving calls, and sending and receiving short messages. In the case that the account arrears corresponding to the user identification data corresponding to the communication module in the first electronic device is unavailable, the communication module is damaged, etc., using the network registration method provided in the embodiments of the present application, the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally. When the first electronic device is a mobile phone and the second electronic device is a watch, the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch. The content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
附图说明Description of the drawings
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application;
图2为本申请实施例提供的一种网络注册方法交互流程示意图;FIG. 2 is a schematic diagram of the interaction process of a network registration method provided by an embodiment of this application;
图3为本申请实施例提供的一种电子设备可能的结构示意图;FIG. 3 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of this application;
图4为本申请实施例提供的又一种电子设备可能的结构示意图;FIG. 4 is a schematic diagram of another possible structure of another electronic device provided by an embodiment of this application;
图5为本申请实施例提供的又一种电子设备可能的结构示意图;FIG. 5 is a schematic diagram of another possible structure of another electronic device provided by an embodiment of this application;
图6为本申请实施例提供的一种电子设备的硬件示意图。FIG. 6 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that the "/" in this article means or, for example, A/B can mean A or B; the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean: A alone exists, A and B exist at the same time, and B exists alone. "Multiple" means two or more than two.
本申请的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一电子设备和第二电子设备等是用于区别不同的电子设备,而不是用于描述电子设备的特定顺序。The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更可选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more optional or more advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
下面对本申请中所涉及的部分术语进行解释,以方便读者理解:The following explains some terms involved in this application to facilitate readers’ understanding:
1、内置芯片式用户身份识别(Embedded-SIM,eSIM)卡1. Built-in chip-based user identification (Embedded-SIM, eSIM) card
通常,用户可以通过线上办理eSIM卡的入网,不再需要到营业厅办理卡的入网。这样,当用户在不同区域或不同国家时,通过线上办理eSIM卡的入网后,eSIM卡即可使用当地运营商提供的服务。Generally, users can apply for eSIM card access online, and no longer need to go to the business hall to apply for card access to the network. In this way, when users are in different regions or different countries, they can use the services provided by local operators after the eSIM card accesses the network online.
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The electronic device in the embodiment of the present application may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
下面以安卓操作系统为例,介绍一下本申请实施例提供的网络注册方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment applied by the network registration method provided by the embodiment of the present application.
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用 程序和第三方应用程序)。Among them, the application layer includes various applications in the Android operating system (including system applications and third-party applications).
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的网络注册方法的软件程序,从而使得该网络注册方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的网络注册方法。Taking the Android operating system as an example, in this embodiment of the application, a developer can develop a software program that implements the network registration method provided by the embodiment of the application based on the system architecture of the Android operating system as shown in FIG. The registration method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the network registration method provided in the embodiment of the present application by running the software program in the Android operating system.
下面结合图2中对本申请实施例的网络注册方法进行说明。图2为本申请实施例提供的一种网络注册方法的流程示意图,如图2所示,该网络注册方法包括S201至S205:The network registration method of the embodiment of the present application will be described below with reference to FIG. 2. FIG. 2 is a schematic flowchart of a network registration method provided by an embodiment of the application. As shown in FIG. 2, the network registration method includes S201 to S205:
S201、第一电子设备向第二电子设备发送数据请求指令。S201: The first electronic device sends a data request instruction to the second electronic device.
其中,上述数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据。Wherein, the above-mentioned data request instruction is used to request user identification data corresponding to the communication module in the second electronic device.
可选地,本申请实施例中的通信模块可以为SIM卡或内置芯片式用户身份识别(Embedded-SIM,eSIM)卡。Optionally, the communication module in the embodiment of the present application may be a SIM card or a built-in chip user identification (Embedded-SIM, eSIM) card.
需要说明的是,在本申请实施例中,第一电子设备和第二电子设备中均可以配置有读取SIM卡的基带芯片。It should be noted that, in the embodiment of the present application, both the first electronic device and the second electronic device may be configured with a baseband chip for reading the SIM card.
例如,第一电子设备可以为配置有SIM卡的手机,第二电子设备为配置有eSIM卡的手表。For example, the first electronic device may be a mobile phone configured with a SIM card, and the second electronic device may be a watch configured with an eSIM card.
可选地,本申请实施例中,第一电子设备中可以安装有SIM卡,也可以 未安装有SIM卡,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, a SIM card may be installed in the first electronic device, or a SIM card may not be installed, which is not specifically limited in the embodiment of the present application.
示例性的,上述的数据请求指令可以为用于访问SIM卡的复位应答(answer to reset,ATR)指令和应用协议数据单元(application protocol data unit,APDU)指令。Exemplarily, the aforementioned data request instruction may be an answer to reset (ATR) instruction and an application protocol data unit (APDU) instruction used to access the SIM card.
S202、第二电子设备接收第一电子设备发送的数据请求指令。S202: The second electronic device receives the data request instruction sent by the first electronic device.
具体的,第二电子设备在接收到第一电子设备发送的数据请求指令后,可以将该数据请求指令传输到第二电子设备中的通信模块。Specifically, after receiving the data request instruction sent by the first electronic device, the second electronic device may transmit the data request instruction to the communication module in the second electronic device.
S203、第二电子设备根据数据请求指令,向第一电子设备发送用户身份识别数据。S203. The second electronic device sends user identification data to the first electronic device according to the data request instruction.
其中,第二电子设备向第一电子设备发送第二电子设备中的通信模块对应的用户身份识别数据,可以使得第一电子设备采用该用户身份识别数据在目标网络中进行注册。Wherein, the second electronic device sends the user identification data corresponding to the communication module in the second electronic device to the first electronic device, so that the first electronic device can use the user identification data to register in the target network.
具体的,第二电子设备中的通信模块接收到数据请求指令之后,第二电子设备中的通信模块可以响应第一电子设备发送的数据请求指令,将该通信模块对应的用户身份识别数据,通过第二电子设备向第一电子设备发送。Specifically, after the communication module in the second electronic device receives the data request instruction, the communication module in the second electronic device can respond to the data request instruction sent by the first electronic device, and pass the user identification data corresponding to the communication module. The second electronic device sends to the first electronic device.
需要说明的是,目标网络为第二电子设备中的通信模块对应的用户身份识别数据签约的网络,例如第二电子设备中的eSIM卡签约的是第一运营商,则目标网络为第一运营商提供的网络。It should be noted that the target network is the network to which the user identification data corresponding to the communication module in the second electronic device is subscribed. For example, if the eSIM card in the second electronic device is contracted by the first operator, the target network is the first operator. Provider’s network.
S204、第一电子设备接收第二电子设备发送的用户身份识别数据。S204: The first electronic device receives the user identification data sent by the second electronic device.
S205、第一电子设备采用第二电子设备发送的用户身份识别数据在目标网络中进行注册。S205: The first electronic device uses the user identification data sent by the second electronic device to register in the target network.
需要说明的是,在第一电子设备采用第二电子设备的通信模块对应的用户身份识别数据在目标网络中注册成功的情况下,第二电子设备处于脱网状态。It should be noted that, when the first electronic device successfully registers in the target network using the user identification data corresponding to the communication module of the second electronic device, the second electronic device is in an offline state.
需要说明的是,在第一电子设备采用第二电子设备发送的用户身份识别数据在目标网络中成功注册之后,第一电子设备可以进行通信业务,例如接/打电话、收/发短信以及下载/上传数据等业务。It should be noted that after the first electronic device uses the user identification data sent by the second electronic device to successfully register in the target network, the first electronic device can perform communication services, such as receiving/calling, receiving/sending short messages, and downloading /Upload data and other services.
可选地,可以在第一电子设备中配置两种模式,分别为“独占模式”和“共享模式”。若第一电子设备为手机,“独占模式”也可以称为“仅手机模式”。其中,在“独占模式”下,第二电子设备向第一电子设备共享了第二电子设备的通信模块中的用户身份识别数据之后,若通过第一电子设备接收到来电、短信等时,第一电子设备可以仅在第一电子设备中显示来电、短信等,用户可以在第一电子设备上接打电话,查看短信等,当然用户也可以使用第一电子设备进行其他数据业务。在“共享模式下”,第一电子设备也可以在收到来电或短信之后,第一电子设备可以将来电、短信等发送给第二电子设备,用户既可以在第一电子设备上处理,也可以在第二电子设备上处理。Optionally, two modes can be configured in the first electronic device, namely "exclusive mode" and "shared mode". If the first electronic device is a mobile phone, the "exclusive mode" can also be referred to as the "mobile phone only mode". Among them, in the "exclusive mode", after the second electronic device shares the user identification data in the communication module of the second electronic device with the first electronic device, if the first electronic device receives incoming calls, short messages, etc., the first electronic device An electronic device can only display incoming calls, short messages, etc. on the first electronic device, and the user can make calls and view short messages on the first electronic device. Of course, the user can also use the first electronic device to perform other data services. In the "sharing mode", the first electronic device can also send the incoming call or short message to the second electronic device after receiving the incoming call or short message. The user can either process the incoming call or short message on the first electronic device. Can be processed on the second electronic device.
示例性的,在共享模式下,若第一电子设备接收来电,第一电子设备向第二电子设备发送来电通知信息,以通知第二电子设备有来电消息。第二电子设备接收到来电通知信息后,可以显示来电信息。用户可以在第二电子设备上处理来电消息,例如接听或者挂断。第二电子设备在接收到用户的输入之后,可以通知第一电子设备触发接听或者挂断。例如,第一电子设备在接收到第二电子设备指示挂断的指示信息后,可以控制第一电子设备挂断来电。Exemplarily, in the sharing mode, if the first electronic device receives an incoming call, the first electronic device sends incoming call notification information to the second electronic device to notify the second electronic device that there is an incoming call message. After receiving the incoming call notification information, the second electronic device can display the incoming call information. The user can process the incoming call message on the second electronic device, such as answering or hanging up. After receiving the user's input, the second electronic device may notify the first electronic device to trigger answering or hanging up. For example, the first electronic device may control the first electronic device to hang up the incoming call after receiving the instruction information that the second electronic device instructs to hang up.
本申请实施例提供的网络注册方法,第一电子设备可以向第二电子设备发送数据请求指令,以获取第二电子设备中的通信模块对应的用户身份识别数据,第二电子设备在接收第一电子设备发送的数据请求指令后,可以向第一电子设备发送上述用户身份识别数据,第一电子设备在接收到第二电子设备发送的用户身份识别数据之后,可以根据该用户身份识别数据在目标网络中进行网络注册,可以使得第一电子设备使用第二电子设备的通信模块对应的用户身份识别数据注册的目标网络的服务,例如上网、接打电话、收发短信等。在第一电子设备中的通信模块对应的用户身份识别数据对应的账户欠费、通信模块损坏等无法使用的情况下,采用本申请实施例提供的网络注册方法,第一电子设备可以使用第二电子设备中的通信模块对应的用户身份识别数据,在目标网络中进行注册,使得第一电子设备可以正常进行通信业务。 在第一电子设备为手机、第二电子设备为手表的情况下,可以通过将手表中的SIM卡或者eSIM卡对应的用户身份识别数据发送给手机,可以使得用户在手表上不方便操作或者无法操作的内容转移到手机上,使得用户操作更加方便。In the network registration method provided by the embodiments of the present application, the first electronic device may send a data request instruction to the second electronic device to obtain the user identification data corresponding to the communication module in the second electronic device, and the second electronic device is receiving the first After the data request instruction sent by the electronic device, the above-mentioned user identification data can be sent to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device can use the user identification data in the target Network registration in the network enables the first electronic device to use the services of the target network registered by the user identification data corresponding to the communication module of the second electronic device, such as surfing the Internet, making and receiving calls, and sending and receiving short messages. In the case that the account arrears corresponding to the user identification data corresponding to the communication module in the first electronic device is unavailable, the communication module is damaged, etc., using the network registration method provided in the embodiments of the present application, the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally. When the first electronic device is a mobile phone and the second electronic device is a watch, the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch. The content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
可选地,本申请实施例提供的网络注册方法,在上述的S201之前,还可以包括下述的S206。Optionally, the network registration method provided in the embodiment of the present application may further include the following S206 before the above S201.
S206、第一电子设备和第二电子设备建立蓝牙连接。S206: The first electronic device and the second electronic device establish a Bluetooth connection.
通常,用户可以手动控制第一电子设备和第二电子设备建立蓝牙连接。Generally, the user can manually control the first electronic device and the second electronic device to establish a Bluetooth connection.
示例性的,例如手机可以使用手表中的eSIM卡对应的用户身份识别数据,可以将该功能称为“远程eSIM卡”,用户可以在手机的界面中手动启用“远程eSIM卡”,触发手机启动数据共享的流程,手机先确定若蓝牙功能是否开启,若蓝牙功能未开启,则第一电子设备可以先启用蓝牙功能。然后用户再控制手机和手表进行蓝牙配对、建立蓝牙连接。Exemplarily, for example, the mobile phone can use the user identification data corresponding to the eSIM card in the watch. This function can be called "remote eSIM card". The user can manually enable the "remote eSIM card" in the interface of the mobile phone to trigger the phone to start. In the process of data sharing, the mobile phone first determines whether the Bluetooth function is turned on, and if the Bluetooth function is not turned on, the first electronic device may first enable the Bluetooth function. Then the user controls the phone and the watch to pair with Bluetooth and establish a Bluetooth connection.
可选地,第一电子设备还可以和第二电子设备建立其他无线连接,例如通过WiFi、物联网,红外等进场通信建立无线连接。Optionally, the first electronic device may also establish other wireless connections with the second electronic device, for example, establishing a wireless connection via WiFi, Internet of Things, infrared and other approach communication.
进而,本申请实施例中,上述的S201具体可以通过S201a执行:Furthermore, in the embodiment of the present application, the above-mentioned S201 may be specifically executed through S201a:
S201a、在第一电子设备和第二电子设备之间建立蓝牙连接之后,第一电子设备向第二电子设备发送数据请求指令。S201a. After establishing a Bluetooth connection between the first electronic device and the second electronic device, the first electronic device sends a data request instruction to the second electronic device.
具体的,第一电子设备可以基于蓝牙连接向第二电子设备发数据请求指令。Specifically, the first electronic device may send a data request instruction to the second electronic device based on the Bluetooth connection.
相应的,本申请实施例中,在S201通过S201a执行的情况下,上述的S202可以通过下述的S202a执行:Correspondingly, in the embodiment of the present application, in the case that S201 is executed by S201a, the aforementioned S202 may be executed by the following S202a:
S202a、在第一电子设备和第二电子设备之间建立蓝牙连接之后,第二电子设备接收第一电子设备发送的数据请求指令。S202a: After establishing a Bluetooth connection between the first electronic device and the second electronic device, the second electronic device receives the data request instruction sent by the first electronic device.
基于该方案,第一电子设备和第二电子设备可以先建立蓝牙连接,然后第一电子设备和第二电子设备可以基于该蓝牙连接传输数据,可以方便用户快速进行数据共享。Based on this solution, the first electronic device and the second electronic device can first establish a Bluetooth connection, and then the first electronic device and the second electronic device can transmit data based on the Bluetooth connection, which can facilitate users to quickly share data.
可选地,本申请实施例提供的网络注册方法,在上述的S206之后,还可以包括下述的S207:Optionally, the network registration method provided in the embodiment of the present application may further include the following S207 after the foregoing S206:
S207、第一电子设备和第二电子设备基于蓝牙连接建立逻辑通道。S207: The first electronic device and the second electronic device establish a logical channel based on the Bluetooth connection.
其中,逻辑通道可以用于第一电子设备和第二电子设备传输数据。Among them, the logical channel can be used for the first electronic device and the second electronic device to transmit data.
示例性的,若第一电子设备需要使用第二电子设备的eSIM卡对应的用户数据,上述逻辑通道可以称为第一电子设备和第二电子设备之间的远程eSIM卡访问通道。Exemplarily, if the first electronic device needs to use user data corresponding to the eSIM card of the second electronic device, the foregoing logical channel may be referred to as a remote eSIM card access channel between the first electronic device and the second electronic device.
具体的,本申请实施例中,上述的S201a可以通过下述的S201b执行:Specifically, in the embodiment of the present application, the foregoing S201a may be executed through the following S201b:
S201b、在第一电子设备和第二电子设备之间建立蓝牙连接之后,第一电子设备通过基于蓝牙连接建立的逻辑通道,向第二电子设备发送数据请求指令。S201b. After establishing a Bluetooth connection between the first electronic device and the second electronic device, the first electronic device sends a data request instruction to the second electronic device through a logical channel established based on the Bluetooth connection.
相应的,本申请实施例中,在S201a通过S201b执行的情况下,上述的S203a可以通过下述的S203b执行:Correspondingly, in the embodiment of the present application, in the case that S201a is executed by S201b, the above-mentioned S203a may be executed by the following S203b:
S203b、在第一电子设备和第二电子设备之间建立蓝牙连接之后,第二电子设备通过基于蓝牙连接建立的逻辑通道,向第一电子设备发送用户身份设备数据。S203b. After the Bluetooth connection is established between the first electronic device and the second electronic device, the second electronic device sends the user identity device data to the first electronic device through the logical channel established based on the Bluetooth connection.
需要说明的是,在逻辑通道建立后,第一电子设备基带芯片可以控制用户设备模块(user identity module,UIM)映射到逻辑通道上,第一电子设备的基带芯片可以通过该逻辑通道,将访问SIM卡(或eSIM卡)的atr指令和apdu指令发送至远端的第二电子设备的SIM卡(或eSIM卡),第二电子设备的SIM卡(或eSIM卡)在接收到访问卡的指令后,第二电子设备可以响应该指令将用户身份识别数据,通过逻辑信道发送至第一电子设备的基带芯片中。第一电子设备收到用户身份识别数据后,可以触发第一电子设备进行网络注册。It should be noted that after the logical channel is established, the baseband chip of the first electronic device can control the mapping of the user equipment module (UIM) to the logical channel, and the baseband chip of the first electronic device can use the logical channel to access The atr command and apdu command of the SIM card (or eSIM card) are sent to the SIM card (or eSIM card) of the remote second electronic device, and the SIM card (or eSIM card) of the second electronic device receives the instruction to access the card Then, the second electronic device can respond to the instruction to send the user identification data to the baseband chip of the first electronic device through the logical channel. After receiving the user identification data, the first electronic device can trigger the first electronic device to perform network registration.
也就是说,第一电子设备中基带芯片原用于访问第一电子设备的通信模块,在蓝牙连接建立之后,可以用于访问第二电子设备的通信模块。That is, the baseband chip in the first electronic device was originally used to access the communication module of the first electronic device, and after the Bluetooth connection is established, it can be used to access the communication module of the second electronic device.
基于该方案,第一电子设备可以基于蓝牙连接与第二电子设备建立更加 安全的数据传输通道,例如建立一个逻辑通道。在逻辑通道建立之后,第一电子设备可以和第二电子设备通过该逻辑通道收发数据,具体的,第一电子设备可以基于该逻辑通道向第二电子设备发送数据请求指令,第二电子设备可以基于该逻辑通道向第一电子设备发送用户身份设备数据。Based on this solution, the first electronic device can establish a safer data transmission channel with the second electronic device based on the Bluetooth connection, such as establishing a logical channel. After the logical channel is established, the first electronic device and the second electronic device can send and receive data through the logical channel. Specifically, the first electronic device can send a data request instruction to the second electronic device based on the logical channel, and the second electronic device can The user identity device data is sent to the first electronic device based on the logical channel.
可选地,本申请实施例提供的网络注册方法,在上述的S201之前,还可以包括下述的S208至S209。Optionally, the network registration method provided in the embodiment of the present application may further include the following S208 to S209 before the above S201.
S208、第一电子设备向第二电子设备发送通知消息。S208. The first electronic device sends a notification message to the second electronic device.
其中,该通知消息用于通知第二电子设备共享第二电子设备中的通信模块对应的用户身份识别数据。Wherein, the notification message is used to notify the second electronic device to share the user identification data corresponding to the communication module in the second electronic device.
S209、第二电子设备接收第一电子设备发送的通知消息。S209. The second electronic device receives the notification message sent by the first electronic device.
可以理解,在第一电子设备基于蓝牙连接向第二电子设备发送通知消息的情况下,第二电子设备可以基于蓝牙连接接收第一电子设备发送的通知消息。It can be understood that in the case where the first electronic device sends a notification message to the second electronic device based on the Bluetooth connection, the second electronic device may receive the notification message sent by the first electronic device based on the Bluetooth connection.
可选地,第一电子设备和第二电子设备可以在蓝牙连接建立之后,第一电子设备可以通过私有的通信协议向第二电子设备发送通知消息,该私有协议可以包括数据传输的格式、数据传输的速率等。Optionally, after the Bluetooth connection is established between the first electronic device and the second electronic device, the first electronic device may send a notification message to the second electronic device through a private communication protocol, and the private protocol may include data transmission format and data Transmission rate, etc.
可选地,本申请实施例提供的网络注册方法中,在上述的S209之后,还可以包括下述的S210和S211:Optionally, in the network registration method provided in the embodiment of the present application, after the above S209, the following S210 and S211 may also be included:
S210、第二电子设备在目标网络中进行去注册。S210. The second electronic device deregisters in the target network.
具体的,第二电子设备在收到第一电子设备发送的通知消息后,可以控制第二电子设备中的基带芯片与eSIM卡断开连接,以使得第二电子设备在目标网络中进行去注册。Specifically, after receiving the notification message sent by the first electronic device, the second electronic device can control the baseband chip in the second electronic device to disconnect from the eSIM card, so that the second electronic device can deregister in the target network .
S211、第二电子设备向第一电子设备发送反馈消息。S211. The second electronic device sends a feedback message to the first electronic device.
其中,反馈消息用于指示第二电子设备向第一电子设备共享第二电子设备中的通信模块对应的用户身份识别数据。The feedback message is used to instruct the second electronic device to share the user identification data corresponding to the communication module in the second electronic device with the first electronic device.
基于该方案,第一电子设备在需要第二电子设备共享第二电子设备中的通信模块对应的用户身份识别数据的情况下,可以先向第二电子设备发送通 知消息,通知第二电子设备共享第二电子设备中的通信模块对应的用户身份识别数据;第二电子设备在收到该通知消息后,若可以共享用户身份识别数据,则可以向第一电子设备发送反馈消息,以通知第一电子设备可以共享第二电子设备中的通信模块对应的用户身份识别数据。使用上述方式可以进行安全认证,使得数据分享更加安全。Based on this solution, when the first electronic device needs the second electronic device to share the user identification data corresponding to the communication module in the second electronic device, it can first send a notification message to the second electronic device to notify the second electronic device to share The user identification data corresponding to the communication module in the second electronic device; after receiving the notification message, if the second electronic device can share the user identification data, it can send a feedback message to the first electronic device to notify the first electronic device The electronic device can share user identification data corresponding to the communication module in the second electronic device. The above method can be used for security authentication, making data sharing more secure.
可选地,本申请实施例提供的网络注册方法,在上述的S205之后,还可以包括下述的S212和S213:Optionally, the network registration method provided in the embodiment of the present application may further include the following S212 and S213 after the foregoing S205:
S212、在与第二电子设备断开蓝牙连接之后,第一电子设备在目标网络中进行去注册。S212. After disconnecting the Bluetooth connection with the second electronic device, the first electronic device deregisters in the target network.
可以理解,若第一电子设备在目标网络中进行去注册,则第一电子设备可以与目标网络断开。It can be understood that if the first electronic device deregisters in the target network, the first electronic device can be disconnected from the target network.
需要说明的是,在第一电子设备和第二电子设备之间断开蓝牙连接之后,第一电子设备和第二电子设备可以断开逻辑通道。It should be noted that after the Bluetooth connection between the first electronic device and the second electronic device is disconnected, the first electronic device and the second electronic device may disconnect the logical channel.
可选地,若第一电子设备中包括通信模块,则在第一电子设备和第二电子设备之间断开蓝牙连接之后,第一电子设备采用第一电子设备的通信模块对应的用户身份识别数据在第一网络中进行注册。Optionally, if the first electronic device includes a communication module, after the Bluetooth connection is disconnected between the first electronic device and the second electronic device, the first electronic device uses the user identification data corresponding to the communication module of the first electronic device Register in the first network.
S213、在第一电子设备和第二电子设备之间断开蓝牙连接之后,第二电子设备在目标网络中进行注册。S213. After the Bluetooth connection is disconnected between the first electronic device and the second electronic device, the second electronic device is registered in the target network.
需要说明的是,在第一电子设备和第二电子设备之间的蓝牙连接由于距离较远断开,则可以执行上述的S212和S213。若第一电子设备和第二电子设备距离再次接近蓝牙重新连接之后,第一电子设备可以重新执行上述的S201至S205。It should be noted that if the Bluetooth connection between the first electronic device and the second electronic device is disconnected due to a long distance, the aforementioned S212 and S213 may be executed. If the distance between the first electronic device and the second electronic device is close to the Bluetooth connection again, the first electronic device may re-execute the aforementioned S201 to S205.
基于该方案,若第一电子设备和第二电子设备之间的蓝牙连接断开,则第一电子设备在目标网络中进行去注册,第二电子设备在目标网络中进行注册,即第一电子设备不再继续使用第二电子设备的通信模块对应的用户身份识别数据对应的目标网络的服务,第二电子设备重选在目标网络中注册,继续使用目标网络的服务。Based on this solution, if the Bluetooth connection between the first electronic device and the second electronic device is disconnected, the first electronic device is deregistered in the target network, and the second electronic device is registered in the target network, that is, the first electronic device The device no longer continues to use the service of the target network corresponding to the user identification data corresponding to the communication module of the second electronic device, and the second electronic device reselects to register in the target network and continues to use the service of the target network.
图3为本申请实施例提供的一种电子设备可能的结构示意图,如图3所示,电子设备300为第一电子设备,电子设备300包括:发送模块301、接收模块302和注册模块303;发送模块301,用于向第二电子设备发送数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;接收模块302,用于接收第二电子设备发送的用户身份识别数据;注册模块303,用于采用接收模块302接收的用户身份识别数据在目标网络中进行注册。FIG. 3 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the application. As shown in FIG. 3, the electronic device 300 is the first electronic device, and the electronic device 300 includes: a sending module 301, a receiving module 302, and a registration module 303; The sending module 301 is used to send a data request instruction to the second electronic device, and the data request instruction is used to request the user identification data corresponding to the communication module in the second electronic device; the receiving module 302 is used to receive the data sent by the second electronic device The user identification data; the registration module 303, used to use the user identification data received by the receiving module 302 to register in the target network.
可选地,发送模块301,具体用于在第一电子设备和第二电子设备之间建立蓝牙连接之后,向第二电子设备发送数据请求指令。Optionally, the sending module 301 is specifically configured to send a data request instruction to the second electronic device after the Bluetooth connection is established between the first electronic device and the second electronic device.
可选地,发送模块301,具体用于通过基于蓝牙连接建立的逻辑通道,向第二电子设备发送数据请求指令。Optionally, the sending module 301 is specifically configured to send a data request instruction to the second electronic device through a logical channel established based on a Bluetooth connection.
可选地,发送模块301,还用于在向第二电子设备发送数据请求指令之前,向第二电子设备发送通知消息,该通知消息用于通知第二电子设备共享用户身份识别数据;接收模块302,还用于接收第二电子设备发送的反馈消息,该反馈消息用于指示第二电子设备向第一电子设备共享用户身份识别数据。Optionally, the sending module 301 is further configured to send a notification message to the second electronic device before sending the data request instruction to the second electronic device, where the notification message is used to notify the second electronic device to share user identification data; receiving module 302. It is further configured to receive a feedback message sent by the second electronic device, where the feedback message is used to instruct the second electronic device to share user identification data with the first electronic device.
可选地,注册模块303,还用于在采用用户身份识别数据在目标网络中进行注册之后,在与第二电子设备断开蓝牙连接之后,在目标网络中进行去注册。Optionally, the registration module 303 is further configured to perform de-registration in the target network after the Bluetooth connection with the second electronic device is disconnected after using the user identification data to register in the target network.
可选地,通信模块为SIM卡或eSIM卡。Optionally, the communication module is a SIM card or an eSIM card.
本申请实施例提供的电子设备300能够实现上述方法实施例中第一电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 300 provided in the embodiment of the present application can implement each process implemented by the first electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
本申请实施例提供的电子设备,该电子设备为第一电子设备,第一电子设备可以向第二电子设备发送数据请求指令,以获取第二电子设备中的通信模块对应的用户身份识别数据,第二电子设备在接收第一电子设备发送的数据请求指令后,可以向第一电子设备发送上述用户身份识别数据,第一电子设备在接收到第二电子设备发送的用户身份识别数据之后,可以根据该用户身份识别数据在目标网络中进行网络注册,可以使得第一电子设备使用第二 电子设备的通信模块对应的用户身份识别数据注册的目标网络的服务,例如上网、接打电话、收发短信等。在第一电子设备中的通信模块对应的用户身份识别数据对应的账户欠费、通信模块损坏等无法使用的情况下,采用本申请实施例提供的网络注册方法,第一电子设备可以使用第二电子设备中的通信模块对应的用户身份识别数据,在目标网络中进行注册,使得第一电子设备可以正常进行通信业务。在第一电子设备为手机、第二电子设备为手表的情况下,可以通过将手表中的SIM卡或者eSIM卡对应的用户身份识别数据发送给手机,可以使得用户在手表上不方便操作或者无法操作的内容转移到手机上,使得用户操作更加方便。The electronic device provided by the embodiment of the present application is a first electronic device, and the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, After receiving the data request instruction sent by the first electronic device, the second electronic device may send the aforementioned user identification data to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device may Perform network registration in the target network according to the user identification data, so that the first electronic device can use the user identification data corresponding to the communication module of the second electronic device to register the services of the target network, such as surfing the Internet, making calls, sending and receiving short messages Wait. In the case that the account arrears corresponding to the user identification data corresponding to the communication module in the first electronic device is unavailable, the communication module is damaged, etc., using the network registration method provided in the embodiments of the present application, the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally. When the first electronic device is a mobile phone and the second electronic device is a watch, the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch. The content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
图4为本申请实施例提供的一种电子设备可能的结构示意图,如图4所示,电子设备400为第二电子设备,电子设备400包括:接收模块401和发送模块402;接收模块401,用于接收第一电子设备发送的数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;发送模块402,用于根据接收模块401接收的数据请求指令,向第一电子设备发送第二电子设备中的通信模块对应的用户身份识别数据,以使得第一电子设备采用第二电子设备中的通信模块对应的用户身份识别数据在目标网络中进行注册。FIG. 4 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the application. As shown in FIG. 4, the electronic device 400 is a second electronic device, and the electronic device 400 includes: a receiving module 401 and a sending module 402; a receiving module 401, For receiving a data request instruction sent by the first electronic device, the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the sending module 402 is used to request the data according to the data request instruction received by the receiving module 401 Send the user identification data corresponding to the communication module in the second electronic device to the first electronic device, so that the first electronic device uses the user identification data corresponding to the communication module in the second electronic device to register in the target network.
可选地,接收模块401,具体用于在第一电子设备和第二电子设备之间建立蓝牙连接之后,接收第一电子设备发送的数据请求指令。Optionally, the receiving module 401 is specifically configured to receive a data request instruction sent by the first electronic device after the Bluetooth connection is established between the first electronic device and the second electronic device.
可选地,发送模块402,具体用于通过基于蓝牙连接建立的逻辑通道,向第一电子设备发送第二电子设备中的通信模块对应的用户身份识别数据。Optionally, the sending module 402 is specifically configured to send the user identification data corresponding to the communication module in the second electronic device to the first electronic device through the logical channel established based on the Bluetooth connection.
可选地,接收模块401,还用于在接收第一电子设备发送的数据请求指令之前,接收第一电子设备发送的通知消息,该通知消息用于通知第二电子设备共享用户身份识别数据;发送模块402,用于向第一电子设备发送反馈消息,该反馈消息用于指示第二电子设备向第一电子设备共享用户身份识别数据。Optionally, the receiving module 401 is further configured to receive a notification message sent by the first electronic device before receiving the data request instruction sent by the first electronic device, where the notification message is used to notify the second electronic device to share user identification data; The sending module 402 is configured to send a feedback message to the first electronic device, where the feedback message is used to instruct the second electronic device to share user identification data with the first electronic device.
可选地,结合图4,如图5所示,电子设备400还包括注册模块403;注册模块403,用于在接收模块401接收第一电子设备发送的通知消息之后,在 目标网络中进行去注册。Optionally, in conjunction with FIG. 4, as shown in FIG. 5, the electronic device 400 further includes a registration module 403; the registration module 403 is used to perform the process in the target network after the receiving module 401 receives the notification message sent by the first electronic device. registered.
本申请实施例提供的电子设备400能够实现上述方法实施例中第二电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 400 provided in the embodiment of the present application can implement each process implemented by the second electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
本申请实施例提供的电子设备,该电子设备为第二电子设备,第二电子设备在接收第一电子设备发送的数据请求指令后,可以向第一电子设备发送第二电子设备的通信模块对应的用户身份识别数据,第一电子设备在接收到第二电子设备发送的用户身份识别数据之后,可以根据该用户身份识别数据在目标网络中进行网络注册,可以使得第一电子设备使用第二电子设备的通信模块对应的用户身份识别数据注册的目标网络的服务,例如上网、接打电话、收发短信等。在第一电子设备中的通信模块对应的用户身份识别数据对应的账户欠费、通信模块损坏等无法使用的情况下,采用本申请实施例提供的网络注册方法,第一电子设备可以使用第二电子设备中的通信模块对应的用户身份识别数据,在目标网络中进行注册,使得第一电子设备可以正常进行通信业务。在第一电子设备为手机、第二电子设备为手表的情况下,可以通过将手表中的SIM卡或者eSIM卡对应的用户身份识别数据发送给手机,可以使得用户在手表上不方便操作或者无法操作的内容转移到手机上,使得用户操作更加方便。The electronic device provided by the embodiment of the present application is a second electronic device. After receiving the data request instruction sent by the first electronic device, the second electronic device can send the communication module corresponding to the second electronic device to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device can perform network registration in the target network according to the user identification data, so that the first electronic device can use the second electronic device. The service of the target network registered by the user identification data corresponding to the communication module of the device, such as surfing the Internet, making and receiving calls, sending and receiving short messages, etc. In the case that the account arrears corresponding to the user identification data corresponding to the communication module in the first electronic device is unavailable, the communication module is damaged, etc., using the network registration method provided in the embodiments of the present application, the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally. When the first electronic device is a mobile phone and the second electronic device is a watch, the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch. The content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
图6为实现本申请各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。6 is a schematic diagram of the hardware structure of an electronic device implementing each embodiment of the present application. The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present application, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,射频单元101,用于向第二电子设备发送数据请求指令,该数据请求指令用于请求第二电子设备中的通信模块对应的用户身份识别数据;射频 单元101,还用于接收第二电子设备发送的第二电子设备的通信模块对应的用户身份识别数据;处理器110用于,采用上述用户身份识别数据在目标网络中进行注册。The radio frequency unit 101 is used to send a data request instruction to the second electronic device, and the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device; the radio frequency unit 101 is also used to receive the second electronic device. The user identification data corresponding to the communication module of the second electronic device sent by the electronic device; the processor 110 is configured to use the user identification data to register in the target network.
本申请实施例提供的电子设备,该电子设备为第一电子设备,第一电子设备可以向第二电子设备发送数据请求指令,以获取第二电子设备中的通信模块对应的用户身份识别数据,第二电子设备在接收第一电子设备发送的数据请求指令后,可以向第一电子设备发送上述用户身份识别数据,第一电子设备在接收到第二电子设备发送的用户身份识别数据之后,可以根据该用户身份识别数据在目标网络中进行网络注册,可以使得第一电子设备使用第二电子设备的通信模块对应的用户身份识别数据注册的目标网络的服务,例如上网、接打电话、收发短信等。在第一电子设备中的通信模块对应的用户身份识别数据对应的账户欠费、通信模块损坏等无法使用的情况下,采用本申请实施例提供的网络注册方法,第一电子设备可以使用第二电子设备中的通信模块对应的用户身份识别数据,在目标网络中进行注册,使得第一电子设备可以正常进行通信业务。在第一电子设备为手机、第二电子设备为手表的情况下,可以通过将手表中的SIM卡或者eSIM卡对应的用户身份识别数据发送给手机,可以使得用户在手表上不方便操作或者无法操作的内容转移到手机上,使得用户操作更加方便。The electronic device provided by the embodiment of the present application is a first electronic device, and the first electronic device may send a data request instruction to the second electronic device to obtain user identification data corresponding to the communication module in the second electronic device, After receiving the data request instruction sent by the first electronic device, the second electronic device may send the aforementioned user identification data to the first electronic device. After receiving the user identification data sent by the second electronic device, the first electronic device may Perform network registration in the target network according to the user identification data, so that the first electronic device can use the user identification data corresponding to the communication module of the second electronic device to register the services of the target network, such as surfing the Internet, making calls, sending and receiving short messages Wait. In the case that the account arrears corresponding to the user identification data corresponding to the communication module in the first electronic device is unavailable, the communication module is damaged, etc., using the network registration method provided in the embodiments of the present application, the first electronic device can use the second The user identification data corresponding to the communication module in the electronic device is registered in the target network, so that the first electronic device can perform communication services normally. When the first electronic device is a mobile phone and the second electronic device is a watch, the user identification data corresponding to the SIM card or eSIM card in the watch can be sent to the mobile phone, which can make it inconvenient or impossible for the user to operate on the watch. The content of the operation is transferred to the mobile phone, which makes the operation more convenient for the user.
应理解的是,本申请实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present application, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输 出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子 设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图6中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 6, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device and the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括 存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本申请实施例还提供一种电子设备,电子设备可以为上述的第一电子设备或第二电子设备,结合图6,包括处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述网络注册方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device. The electronic device may be the above-mentioned first electronic device or the second electronic device. With reference to FIG. 6, the electronic device includes a processor 110, a memory 109, and can be stored on the memory 109. The computer program running on the processor 110, when the computer program is executed by the processor 110, realizes the various processes of the above-mentioned network registration method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述网络注册方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned network registration method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变 体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ) Includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (22)

  1. 一种网络注册方法,应用于第一电子设备,所述方法包括:A network registration method applied to a first electronic device, the method including:
    向第二电子设备发送数据请求指令,所述数据请求指令用于请求所述第二电子设备中的通信模块对应的用户身份识别数据;Sending a data request instruction to the second electronic device, where the data request instruction is used to request user identification data corresponding to the communication module in the second electronic device;
    接收所述第二电子设备发送的所述用户身份识别数据;Receiving the user identification data sent by the second electronic device;
    采用所述用户身份识别数据在目标网络中进行注册。Use the user identification data to register in the target network.
  2. 根据权利要求1所述的方法,其中,所述向第二电子设备发送数据请求指令,包括:The method according to claim 1, wherein the sending a data request instruction to the second electronic device comprises:
    在所述第一电子设备和所述第二电子设备之间建立蓝牙连接之后,向所述第二电子设备发送所述数据请求指令。After the Bluetooth connection is established between the first electronic device and the second electronic device, the data request instruction is sent to the second electronic device.
  3. 根据权利要求2所述的方法,其中,所述向第二电子设备发送数据请求指令,包括:The method according to claim 2, wherein the sending a data request instruction to the second electronic device comprises:
    通过基于所述蓝牙连接建立的逻辑通道,向所述第二电子设备发送所述数据请求指令。The data request instruction is sent to the second electronic device through the logical channel established based on the Bluetooth connection.
  4. 根据权利要求1至3中任意一项所述的方法,其中,所述向第二电子设备发送数据请求指令之前,还包括:The method according to any one of claims 1 to 3, wherein before the sending a data request instruction to the second electronic device, the method further comprises:
    向所述第二电子设备发送通知消息,所述通知消息用于通知所述第二电子设备共享所述用户身份识别数据;Sending a notification message to the second electronic device, where the notification message is used to notify the second electronic device to share the user identification data;
    接收所述第二电子设备发送的反馈消息,所述反馈消息用于指示所述第二电子设备向所述第一电子设备共享所述用户身份识别数据。Receiving a feedback message sent by the second electronic device, where the feedback message is used to instruct the second electronic device to share the user identification data with the first electronic device.
  5. 根据权利要求2所述的方法,其中,所述采用所述用户身份识别数据在目标网络中进行注册之后,所述方法还包括:The method according to claim 2, wherein, after the registration in the target network by using the user identification data, the method further comprises:
    在与所述第二电子设备断开蓝牙连接之后,在所述目标网络中进行去注册。After disconnecting the Bluetooth connection with the second electronic device, deregister in the target network.
  6. 一种网络注册方法,应用于第二电子设备,A network registration method applied to a second electronic device,
    接收第一电子设备发送的数据请求指令,所述数据请求指令用于请求所述第二电子设备中的通信模块对应的用户身份识别数据;Receiving a data request instruction sent by a first electronic device, where the data request instruction is used to request user identification data corresponding to a communication module in the second electronic device;
    根据所述数据请求指令,向所述第一电子设备发送所述用户身份识别数据,以使得所述第一电子设备采用所述用户身份识别数据在目标网络中进行注册。According to the data request instruction, the user identification data is sent to the first electronic device, so that the first electronic device uses the user identification data to register in the target network.
  7. 根据权利要求6所述的方法,其中,所述接收第一电子设备发送的数据请求指令,包括:The method according to claim 6, wherein said receiving the data request instruction sent by the first electronic device comprises:
    在所述第一电子设备和所述第二电子设备之间建立蓝牙连接之后,接收第一电子设备发送的数据请求指令。After establishing a Bluetooth connection between the first electronic device and the second electronic device, receiving a data request instruction sent by the first electronic device.
  8. 根据权利要求7所述的方法,其中,向所述第一电子设备发送所述用户身份识别数据,包括:The method according to claim 7, wherein sending the user identification data to the first electronic device comprises:
    通过基于所述蓝牙连接建立的逻辑通道,向所述第一电子设备发送所述用户身份识别数据。The user identification data is sent to the first electronic device through a logical channel established based on the Bluetooth connection.
  9. 根据权利要求6至8中任一项所述的方法,其中,所述接收第一电子设备发送的数据请求指令之前,所述方法还包括:The method according to any one of claims 6 to 8, wherein before the receiving the data request instruction sent by the first electronic device, the method further comprises:
    接收所述第一电子设备发送的通知消息,所述通知消息用于通知所述第二电子设备共享所述用户身份识别数据;Receiving a notification message sent by the first electronic device, where the notification message is used to notify the second electronic device to share the user identification data;
    向所述第一电子设备发送反馈消息,所述反馈消息用于指示所述第二电子设备向所述第一电子设备共享所述用户身份识别数据。Sending a feedback message to the first electronic device, where the feedback message is used to instruct the second electronic device to share the user identification data with the first electronic device.
  10. 根据权利要求9所述的方法,其中,在接收所述第一电子设备发送的通知消息之后,所述方法还包括:The method according to claim 9, wherein after receiving the notification message sent by the first electronic device, the method further comprises:
    在所述目标网络中进行去注册。Deregister in the target network.
  11. 一种电子设备,所述电子设备为第一电子设备,所述电子设备包括:发送模块、接收模块和注册模块;An electronic device, the electronic device being a first electronic device, the electronic device comprising: a sending module, a receiving module, and a registration module;
    所述发送模块,用于向第二电子设备发送数据请求指令,所述数据请求指令用于请求所述第二电子设备中的通信模块对应的用户身份识别数据;The sending module is configured to send a data request instruction to a second electronic device, where the data request instruction is used to request user identification data corresponding to a communication module in the second electronic device;
    所述接收模块,用于接收所述第二电子设备发送的所述用户身份识别数据;The receiving module is configured to receive the user identification data sent by the second electronic device;
    所述注册模块,用于采用所述接收模块接收的所述用户身份识别数据在目标网络中进行注册。The registration module is configured to use the user identification data received by the receiving module to register in the target network.
  12. 根据权利要求11所述的电子设备,其中,所述发送模块,具体用于在所述第一电子设备和所述第二电子设备之间建立蓝牙连接之后,向所述第二电子设备发送所述数据请求指令。The electronic device according to claim 11, wherein the sending module is specifically configured to send all the data to the second electronic device after the Bluetooth connection is established between the first electronic device and the second electronic device. The data request instruction.
  13. 根据权利要求12所述的电子设备,其中,所述发送模块,具体用于:通过基于所述蓝牙连接建立的逻辑通道,向所述第二电子设备发送所述数据请求指令。The electronic device according to claim 12, wherein the sending module is specifically configured to send the data request instruction to the second electronic device through a logical channel established based on the Bluetooth connection.
  14. 根据权利要求11至13中任意一项所述的电子设备,其中,The electronic device according to any one of claims 11 to 13, wherein:
    所述发送模块,还用于向所述第二电子设备发送所述数据请求指令之前,向所述第二电子设备发送通知消息,所述通知消息用于通知所述第二电子设备共享所述用户身份识别数据;The sending module is further configured to send a notification message to the second electronic device before sending the data request instruction to the second electronic device, where the notification message is used to notify the second electronic device to share the User identification data;
    所述接收模块,还用于接收所述第二电子设备发送的反馈消息,所述反馈消息用于指示所述第二电子设备向所述第一电子设备共享所述用户身份识别数据。The receiving module is further configured to receive a feedback message sent by the second electronic device, where the feedback message is used to instruct the second electronic device to share the user identification data with the first electronic device.
  15. 根据权利要求12所述的电子设备,其中,The electronic device according to claim 12, wherein:
    所述注册模块,还用于在所述采用所述用户身份识别数据在目标网络中进行注册之后,在与所述第二电子设备断开蓝牙连接之后,在所述目标网络中进行去注册。The registration module is further configured to perform de-registration in the target network after the registration in the target network using the user identification data and after the Bluetooth connection with the second electronic device is disconnected.
  16. 一种电子设备,所述电子设备为第二电子设备,所述电子设备包括:接收模块和发送模块;An electronic device, the electronic device being a second electronic device, the electronic device comprising: a receiving module and a sending module;
    所述接收模块,用于接收第一电子设备发送的数据请求指令,所述数据请求指令用于请求所述第二电子设备中的通信模块对应的用户身份识别数据;The receiving module is configured to receive a data request instruction sent by a first electronic device, and the data request instruction is used to request user identification data corresponding to a communication module in the second electronic device;
    所述发送模块,用于根据所述数据请求指令,向所述第一电子设备发送所述用户身份识别数据,以使得所述第一电子设备采用所述用户身份识别数据在目标网络中进行注册。The sending module is configured to send the user identification data to the first electronic device according to the data request instruction, so that the first electronic device uses the user identification data to register in the target network .
  17. 根据权利要求16所述的电子设备,其中,所述接收模块,具体用于:The electronic device according to claim 16, wherein the receiving module is specifically configured to:
    在所述第一电子设备和所述第二电子设备之间建立蓝牙连接之后,接收第一电子设备发送的数据请求指令。After establishing a Bluetooth connection between the first electronic device and the second electronic device, receiving a data request instruction sent by the first electronic device.
  18. 根据权利要求17所述的电子设备,其中,所述发送模块,具体用于:The electronic device according to claim 17, wherein the sending module is specifically configured to:
    通过基于所述蓝牙连接建立的逻辑通道,向所述第一电子设备发送所述用户身份识别数据。The user identification data is sent to the first electronic device through a logical channel established based on the Bluetooth connection.
  19. 根据权利要求16至18中任一项所述的电子设备,其中,所述接收模块还用于:在所述接收第一电子设备发送的数据请求指令之前,接收所述第一电子设备发送的通知消息,所述通知消息用于通知所述第二电子设备共享所述用户身份识别数据;The electronic device according to any one of claims 16 to 18, wherein the receiving module is further configured to: before the receiving the data request instruction sent by the first electronic device, receive the data request instruction sent by the first electronic device A notification message, where the notification message is used to notify the second electronic device to share the user identification data;
    所述发送模块,具体用于向所述第一电子设备发送反馈消息,所述反馈消息用于指示所述第二电子设备向所述第一电子设备共享所述用户身份识别数据。The sending module is specifically configured to send a feedback message to the first electronic device, where the feedback message is used to instruct the second electronic device to share the user identification data with the first electronic device.
  20. 根据权利要求19所述的电子设备,其中,所述电子设备还包括注册模块;The electronic device according to claim 19, wherein the electronic device further comprises a registration module;
    所述注册模块,用于在接收所述第一电子设备发送的通知消息之后,在所述目标网络中进行去注册。The registration module is configured to deregister in the target network after receiving the notification message sent by the first electronic device.
  21. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的网络注册方法的步骤,或如权利要求6至10中任一项所述的网络注册方法的步骤。An electronic device that includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to implement as claimed in claim 1. The steps of the network registration method according to any one of to 5, or the steps of the network registration method according to any one of claims 6 to 10.
  22. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的网络注册方法的步骤,或如权利要求6至10中任一项所述的网络注册方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network registration method according to any one of claims 1 to 5 are realized, or The steps of the network registration method according to any one of claims 6 to 10.
PCT/CN2020/112279 2019-10-23 2020-08-28 Network registration method and electronic device WO2021077898A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911014079.2A CN110856163A (en) 2019-10-23 2019-10-23 Network registration method and electronic equipment
CN201911014079.2 2019-10-23

Publications (1)

Publication Number Publication Date
WO2021077898A1 true WO2021077898A1 (en) 2021-04-29

Family

ID=69596967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112279 WO2021077898A1 (en) 2019-10-23 2020-08-28 Network registration method and electronic device

Country Status (2)

Country Link
CN (1) CN110856163A (en)
WO (1) WO2021077898A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110856163A (en) * 2019-10-23 2020-02-28 维沃移动通信有限公司 Network registration method and electronic equipment
CN113747457A (en) * 2020-05-27 2021-12-03 维沃移动通信有限公司 Configuration information acquisition method and device, user equipment and system
CN114189846B (en) * 2021-06-30 2023-04-11 荣耀终端有限公司 Method, system, electronic device and storage medium for avoiding missed call

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070004457A1 (en) * 2005-02-07 2007-01-04 Samsung Electronics Co., Ltd. SIM card sharing method in a mobile station
US20080171561A1 (en) * 2007-01-11 2008-07-17 Texas Instruments Incorporated Apparatus for and method of radio link establishment between two communication devices
CN105611524A (en) * 2015-06-30 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method, device, terminal and system for sharing virtual SIM (Subscriber Identity Module) card parameters
CN107484155A (en) * 2017-09-30 2017-12-15 联想(北京)有限公司 A kind of method for network access, a kind of electronic equipment and a kind of mobile terminal
CN108769954A (en) * 2018-05-28 2018-11-06 爱驰汽车有限公司 Flow sharing method, system, equipment and the storage medium of vehicle and mobile terminal
CN110856163A (en) * 2019-10-23 2020-02-28 维沃移动通信有限公司 Network registration method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472125B (en) * 2015-11-16 2019-11-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN108419232A (en) * 2017-02-10 2018-08-17 联发科技(新加坡)私人有限公司 The method and mobile terminal of shared user identity module card

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070004457A1 (en) * 2005-02-07 2007-01-04 Samsung Electronics Co., Ltd. SIM card sharing method in a mobile station
US20080171561A1 (en) * 2007-01-11 2008-07-17 Texas Instruments Incorporated Apparatus for and method of radio link establishment between two communication devices
CN105611524A (en) * 2015-06-30 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method, device, terminal and system for sharing virtual SIM (Subscriber Identity Module) card parameters
CN107484155A (en) * 2017-09-30 2017-12-15 联想(北京)有限公司 A kind of method for network access, a kind of electronic equipment and a kind of mobile terminal
CN108769954A (en) * 2018-05-28 2018-11-06 爱驰汽车有限公司 Flow sharing method, system, equipment and the storage medium of vehicle and mobile terminal
CN110856163A (en) * 2019-10-23 2020-02-28 维沃移动通信有限公司 Network registration method and electronic equipment

Also Published As

Publication number Publication date
CN110856163A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021077898A1 (en) Network registration method and electronic device
CN112799577B (en) Method, terminal and storage medium for projecting small window
WO2020186964A1 (en) Audio signal outputting method and terminal device
WO2021109959A1 (en) Application sharing method and electronic device
JP7168671B2 (en) Service processing method and mobile communication terminal
WO2021208815A1 (en) Service processing method, user equipment, and computer-readable storage medium
WO2021052419A1 (en) Radio capability id transmission method, terminal device, and network node
WO2020181954A1 (en) Application program control method and terminal device
WO2021185254A1 (en) Content sharing method, and electronic device
WO2021190373A1 (en) Interaction method, interaction system, and display device
WO2019214706A1 (en) Access control method, message broadcast method, and related device
WO2020211692A1 (en) Information interaction method and terminal device
WO2020173281A1 (en) Interface display method and terminal device
CN111093289A (en) Service transmission method and electronic equipment
EP4132111A1 (en) Data transmission method and electronic device
WO2021208991A1 (en) Screen extension method and electronic device
WO2023015774A1 (en) Switching method, mobile terminal, and storage medium
WO2021017785A1 (en) Data transmission method and terminal device
KR102596801B1 (en) PC5 link establishment methods, equipment and systems
CN111314903B (en) Information sharing method and electronic equipment
WO2020211613A1 (en) Display method and terminal device
CN109743469B (en) VOLTE-based communication method and mobile terminal
CN111565388B (en) Network registration method and electronic equipment
WO2021258984A1 (en) Display method and device, computer readable storage medium, and electronic device

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: 20879177

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: 20879177

Country of ref document: EP

Kind code of ref document: A1