Data communication method and apparatus, electronic device, and storage medium
By dividing the eSIM chip into multiple SIM units and utilizing the cooperation of the processor and the switching unit, the problem that the eSIM function cannot meet the dual-SIM requirement is solved, multi-SIM communication is realized, and the user experience is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-12-14
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, smartwatches with eSIM functionality can only bind one SIM card, which cannot meet the needs of dual SIM cards, resulting in a poor user experience.
By dividing the eSIM chip into at least two SIM units and utilizing the cooperation of the processor and the switching unit, the switching connection of the target SIM unit can be realized, thus meeting the multi-SIM communication requirements.
This enables multi-SIM communication to be supported on a single eSIM chip, avoiding missed calls and improving user experience.
Smart Images

Figure CN116264683B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of electronic devices, and in particular, to a data communication method and device, an electronic device, and a storage medium. BACKGROUND
[0002] An eSIM (Embedded-SIM) card refers to a traditional SIM (Subscriber Identity Module) card directly embedded on an eSIM chip, without the need for a user to additionally insert a physical SIM card. Since it does not require a SIM card slot, it saves device space, and is increasingly popular, especially on small wearable devices such as smartwatches.
[0003] Taking a smartwatch supporting an eSIM function as an example, in the related art, one dual-terminal can be achieved through the binding of the watch and a mobile phone. However, most existing mobile terminals have a dual-card dual-standby function, and a wearable device can only bind one number through an eSIM, which is difficult to cover the dual-card demand. SUMMARY
[0004] To solve the technical problem that an eSIM function cannot cover the dual-card demand in the related art, the embodiments of the present disclosure provide a data communication method and device, an electronic device, and a storage medium
[0005] In a first aspect, the embodiments of the present disclosure provide a data communication method applied to an electronic device, and the method comprises:
[0006] Determining eSIM identification information according to received request data;
[0007] Establishing a communication connection between the eSIM chip and a target SIM unit according to the eSIM identification information; wherein the eSIM chip comprises at least two SIM units, and the at least two SIM units are respectively used to store different user identity information.
[0008] In some embodiments, the establishing a communication connection between the eSIM chip and a target SIM unit according to the eSIM identification information comprises:
[0009] Determining the target SIM unit in the eSIM chip according to the eSIM identification information;
[0010] Controlling a switch unit to act, and turning on a communication channel of the target SIM unit to establish a communication connection with the target SIM unit.
[0011] In some embodiments, before the determining eSIM identification information according to received request data, the method further comprises:
[0012] In response to receiving the request data, determining whether the electronic device establishes a communication connection with the binding device of the electronic device through near field communication;
[0013] In response to the electronic device not establishing a communication connection with the binding device through near field communication, performing the step of determining the eSIM identification information according to the received request data.
[0014] In some embodiments, the method further comprises:
[0015] In response to the electronic device establishing a communication connection with the binding device through near field communication and receiving a hang-up request sent by the binding device, performing the step of determining the eSIM identification information according to the received request data.
[0016] In some embodiments, the control switch unit action, turn on the communication channel of the target SIM unit, comprising:
[0017] In response to the currently turned on communication channel being a communication channel other than the communication channel of the target SIM unit, controlling the switch unit to switch the currently turned on communication channel to the communication channel of the target SIM unit.
[0018] In some embodiments, the eSIM chip includes a first SIM unit and a second SIM unit, and the switch unit includes a matrix switch.
[0019] In some embodiments, the determining the eSIM identification information according to the received request data comprises:
[0020] Receiving the request data sent by the base station, wherein the request data includes the eSIM identification information;
[0021] Parsing the request data to obtain the eSIM identification information carried by the request data.
[0022] In some embodiments, after establishing a communication connection with the target SIM unit in the eSIM chip, the method further comprises:
[0023] Obtaining user identity information of the target SIM unit;
[0024] Generating sending data for sending to the base station according to the user identity information.
[0025] In a second aspect, the embodiments of the present disclosure provide a data communication device applied to an electronic device, the device comprising:
[0026] The determining module is configured to determine eSIM identification information according to the received request data.
[0027] The communication establishing module is configured to establish a communication connection with a target SIM unit in an eSIM chip according to the eSIM identification information, wherein the eSIM chip includes at least two SIM units, and the at least two SIM units are respectively used to store different user identity identification information.
[0028] In some embodiments, the communication establishing module is configured to:
[0029] determine the target SIM unit in the eSIM chip according to the eSIM identification information;
[0030] control the switch unit to turn on a communication channel of the target SIM unit to establish the communication connection with the target SIM unit.
[0031] In some embodiments, the communication establishing module is configured to:
[0032] In response to a currently turned-on communication channel being a communication channel of the target SIM unit, control the switch unit to switch the currently turned-on communication channel to a communication channel of the target SIM unit.
[0033] In some embodiments, the eSIM chip includes a first SIM unit and a second SIM unit, and the switch unit includes a matrix switch.
[0034] In some embodiments, the determining module is configured to:
[0035] receive the request data sent by the base station, wherein the request data includes the eSIM identification information;
[0036] perform parsing processing on the request data to obtain the eSIM identification information carried by the request data.
[0037] In some embodiments, the communication establishing module is configured to:
[0038] obtain user identity identification information of the target SIM unit;
[0039] generate sending data for sending to a base station according to the user identity identification information.
[0040] In a third aspect, an electronic device is provided, including:
[0041] a processor;
[0042] a memory storing computer instructions readable by the processor, when the computer instructions are read, the processor executes the method according to any one of the embodiments of the first aspect.
[0043] In some embodiments, the electronic device according to the present disclosure further comprises:
[0044] an eSIM chip comprising at least two SIM units, the at least two SIM units being respectively used for storing different user identity information;
[0045] a switch unit arranged on a communication channel between the eSIM chip and the processor, used for controlling the connection of the processor and the at least two SIM units.
[0046] In some embodiments, the electronic device according to the present disclosure further comprises:
[0047] a communication unit in communication connection with the processor, used for receiving or sending communication data.
[0048] In the fourth aspect, the embodiments of the present disclosure provide a storage medium for storing computer readable instructions, the computer readable instructions being used for making a computer execute the method according to any one of the embodiments of the first aspect.
[0049] The data communication method according to the embodiments of the present disclosure comprises determining eSIM identification information according to received request data, and establishing a communication connection between the processor and a target SIM unit in an eSIM chip according to the eSIM identification information, the eSIM chip comprising at least two SIM units, the at least two SIM units being respectively used for storing different user identity information. In the embodiments of the present disclosure, the processor and each SIM unit of the eSIM chip are switched and connected, and a single eSIM chip is used to realize multi-card data communication, so that the scene requirement of multi-card can be met, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings needed in the description of the embodiments or the prior art will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.
[0051] Figure 1 is a structural schematic diagram of an electronic device according to some embodiments of the present disclosure.
[0052] Figure 2 is a flowchart of a data communication method according to some embodiments of the present disclosure.
[0053] Figure 3 is a flowchart of a data communication method according to some embodiments of the present disclosure.
[0054] Figure 4 is a flowchart of a data communication method according to some embodiments of the present disclosure.
[0055] Figure 5 is a flowchart of a data communication method according to some embodiments of the present disclosure.
[0056] Figure 6 is a flowchart of a data communication method according to some embodiments of the present disclosure.
[0057] Figure 7 is a flowchart of a data communication device according to some embodiments of the present disclosure.
[0058] Figure 8 is a structural schematic diagram of an electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0059] The technical solutions of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the protection scope of the present disclosure. In addition, the technical features involved in different embodiments of the present disclosure described below can be combined with each other as long as there is no conflict.
[0060] An eSIM (Embedded-SIM) card refers to embedding a traditional SIM (Subscriber Identity Module) card directly on an eSIM chip, without the need for users to additionally insert a physical SIM card. The eSIM can save device costs for ordinary consumers and electronic device manufacturers, and bring more convenience and security. Since the eSIM does not require users to insert a physical SIM card, there is no need to additionally set a card slot space on the electronic device, which improves the sealing of the device and saves internal space of the device, and is increasingly popular on small wearable devices such as smart watches and smart bands.
[0061] Taking a smart watch supporting an eSIM function as an example, in the related art, one number dual-terminal can be realized by binding the watch and the mobile phone, that is, the watch and the mobile phone share the same number, call charges, and package traffic, and present the same number to the outside world whether calling or being called. In this way, the user can go out alone wearing the watch, without missing information and calls.
[0062] However, most smartphones currently support dual SIM dual standby, while smartwatches using this technology can only be linked to one of the phone's SIM cards via eSIM. When users only wear the watch, they will miss messages from the unlinked SIM card, meaning the watch's eSIM function cannot adequately cover the needs of dual SIM cards, resulting in a poor user experience.
[0063] Based on the deficiencies existing in the aforementioned related technologies, this disclosure provides a data communication method, apparatus, electronic device, and storage medium, aiming to realize dual-SIM communication using the device's existing eSIM chip.
[0064] Firstly, embodiments of this disclosure provide a data communication method, which can be applied to an electronic device and is executed by the processor of the electronic device. It is understood that the electronic device described in embodiments of this disclosure can be any suitable type of device, such as a smartphone, tablet computer, smartwatch, etc., and this disclosure does not impose any limitations thereon.
[0065] Figure 1 The following diagram illustrates the structural block diagram of an electronic device in some embodiments of this disclosure. Figure 1 Explain the working principle of electronic devices.
[0066] like Figure 1 As shown, the electronic device 1800 includes a processor 1820, a communication unit 1818, an eSIM chip 1830, and a switching unit 1840. The communication unit 1818, the eSIM chip 1830, and the switching unit 1840 establish a communicative connection with the processor 1820 through a data interface and a bus.
[0067] The processor 1820 is used to control the overall operation of the electronic device 1800. It can be any type of processor with one or more processing cores. It can perform single-threaded or multi-threaded operations, and is used to parse instructions to perform operations such as acquiring data, performing logical operations, and sending out the results of the operations.
[0068] For example, in embodiments of this disclosure, the processor 1820 of the electronic device may be, for example, a CPU (central processing unit) chip, a SoC (System on Chip), etc., and this disclosure does not limit it.
[0069] The communication unit 1818 is configured to enable wireless communication between the electronic device 1800 and a base station or other devices. The communication unit 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
[0070] For example, in some embodiments, the electronic device 1800 is a smartphone, and the communication unit 1818 can be an antenna system of the smartphone, so that the smartphone can receive a called signal sent by a base station through the communication unit 1818, or send a calling signal to the base station through the communication unit 1818. In the embodiments of the present disclosure, the communication unit 1818 can be an antenna system that implements, for example, 2G / 3G / 4G / 5G cellular network signal reception and transmission.
[0071] The eSIM chip 1830 is pre-written with network parameters and user data related to a user in a network to which the eSIM card belongs, such as authentication and encryption information, an international mobile subscriber identification number (IMSI), an IMSI authentication seed, and an encryption key algorithm. In the embodiments of the present disclosure, the network parameters and user data related to communication written in the eSIM card are collectively referred to as user identity information.
[0072] It can be understood that one user identity information uniquely identifies one user ID (Identity document, identity number), that is, one user identity information corresponds to one phone number. In the embodiments of the present disclosure, the eSIM chip 1830 is divided into at least two SIM units, and each SIM unit is used to store different user identity information, so that at least two phone numbers related data are stored in one eSIM chip 1830.
[0073] For example, in one example, the storage space of the eSIM chip 1830 can be divided, so as to be divided into two storage spaces, and each storage space stores one user identity information, that is, each storage space forms one SIM unit. Therefore, when the processor 1820 accesses the eSIM chip 1830, the user identity information of the first SIM unit can be accessed, and the user identity information of the second SIM unit can also be accessed.
[0074] The switch unit 1840 is connected with the processor 1820 and the eSIM chip 1830 at two ends, and is connected with the processor 1820 at a control end and controlled by the processor 1820 to turn on or off. The switch unit 1840 is used to control the switching connection between the processor 1820 and the plurality of SIM units in the eSIM chip 1830. Taking the above example, the processor 1820 can control the switch unit 1840 to turn on the communication channel of the first SIM unit and turn off the communication channel of the second SIM unit, so that the processor 1820 can establish a communication connection with the first SIM unit. Similarly, the processor 1820 can also control the switch unit 1840 to turn on the communication channel of the second SIM unit and turn off the communication channel of the first SIM unit, so that the processor 1820 can establish a communication connection with the second SIM unit.
[0075] As shown in Figure 1 The connection end of the switch unit 1840 and the processor 1820 includes two connection terminals, and the two connection terminals are connected to the SIM1 pin and the SIM2 pin of the processor 1820 respectively. The processor 1820 can control the on-off of the switch unit 1840 to realize the switching on of the two pins and the eSIM chip 1830.
[0076] In some embodiments, the switch unit 1840 can be a matrix switch, which can be used to switch the signal channel between the processor 1920 and the eSIM chip 1830. Of course, those skilled in the art can understand that the switch unit 1840 is not limited to the matrix switch, but can also be any other switch structure suitable for realizing the switching on-off of the signal channel, and the present disclosure does not limit this.
[0077] On the basis of the structure of the above electronic device 1800, the data communication method of the embodiment of the present disclosure is described below.
[0078] As shown in Figure 2 In some embodiments, the data communication method of the present disclosure includes:
[0079] S210, determining the eSIM identification information according to the received request data.
[0080] S220, establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information.
[0081] In the embodiments of the present disclosure, the request data refers to the request data received by the communication unit 1818, and the target SIM unit in the eSIM chip is expected to establish a communication connection. For example, when the electronic device is called by another calling device as a called device, the base station will send request data to the electronic device after receiving the calling device signal, so that the electronic device can receive the request data sent by the base station through the communication unit 1818.
[0082] It can be understood that since the eSIM chip 1830 includes at least two SIM units, that is, the eSIM chip 1830 corresponds to multiple phone numbers, when a phone number is called, that is, the target SIM unit corresponding to the phone number is requested to access, the request data sent by the base station will carry the identification information of the phone number, that is, the eSIM identification information of the embodiments of the present disclosure.
[0083] As shown in FIG. 1, Figure 3 In some embodiments, the data communication method of the present disclosure includes the process of determining the eSIM identification information of the request data, which includes:
[0084] S211, receiving the request data sent by the base station, and the request data includes eSIM identification information.
[0085] S212, performing analysis processing on the request data to obtain the eSIM identification information carried by the request data.
[0086] Specifically, in one example, the eSIM chip 1830 includes two SIM units, and the data stored therein can be as shown in Table 1:
[0087] Table 1
[0088] SIM unit eSIM identification information Phone number First SIM unit Identification information 1 Number 1 Second SIM unit Identification information 2 Number 2
[0089] As can be seen from Table 1, for each SIM unit in the eSIM chip, different user identification information is stored, and the corresponding phone number is also different. Therefore, different eSIM identification information can be set for each SIM unit.
[0090] In one example scenario, it is assumed that the "number 1" of the electronic device is called by the calling device as the called number. The electronic device can receive the request data sent by the base station, and the request data carries the eSIM identification information corresponding to the number 1, that is, "identification information 1", so that the electronic device can determine the corresponding "first SIM unit" as the target SIM unit for this call after analyzing the request data.
[0091] As shown in FIG. 1, Figure 4As shown, in some embodiments, the data communication method of the present disclosure example, the process of establishing a communication connection between the processor and the target SIM unit of the eSIM chip, includes:
[0092] S410, according to the eSIM identification information, determine the target SIM unit in the eSIM chip.
[0093] S420, control the switch unit to act, the communication channel of the target SIM unit is turned on, to establish a communication connection with the target SIM unit.
[0094] Specifically, the electronic device can receive the request data sent by the base station or other devices through the communication unit, and then analyze and process the request data to obtain the eSIM identification information carried in the request data. After obtaining the eSIM identification information, the corresponding target SIM unit corresponding to the current call can be determined according to the corresponding relationship described in Table 1, for example.
[0095] Still taking the above-mentioned Table 1 example for illustration, assuming that the "number 1" of the electronic device is called by the calling device as the called number, the processor can determine the target SIM unit corresponding to the current call as "the first SIM unit" according to the eSIM identification information carried in the request data after analyzing and processing the request data.
[0096] In combination Figure 1 As shown, after determining the target SIM unit, the processor 1820 can send control information to the control end of the switch unit 1840, so as to control the switch unit 1840 to act, so that the processor 1820 and the target SIM unit of the eSIM chip 1830 establish a communication connection.
[0097] In some embodiments, the switch unit 1840 can be a matrix switch, so that the switch unit 1840 can switch between the connection channels of each SIM unit and the processor. Still taking the above-mentioned Table 1 example for illustration, after determining that the target SIM unit is "the first SIM unit", the processor 1820 can control the switch unit 1840 to switch to connect the first SIM unit and the processor 1820, and disconnect the second SIM unit and the processor 1820.
[0098] It can be understood that in the present example, before switching, the switch unit 1840 can first judge whether the communication channel currently connected with the processor 1820 is the communication channel of the target SIM unit. If yes, no action needs to be performed, and the current connection state can be maintained; if not, the switch unit 1840 can be controlled to switch to switch the currently connected communication channel to the communication channel of the target SIM unit.
[0099] Still taking the example of Table 1 as described above, after determining that the target SIM unit is the "first SIM unit", the processor 1820 can determine whether the currently connected SIM unit is the first SIM unit. If yes, no action is needed and the current connection state can be maintained; if no, the switch unit 1840 can be controlled to switch the currently connected SIM unit from the second SIM unit to the first SIM unit.
[0100] As can be seen from the above, in the embodiments of the present disclosure, the processor and the eSIM chip are connected to each other through the switch of each SIM unit, and the single eSIM chip is used to realize the data communication of multiple cards, thereby meeting the scene requirements of multiple cards.
[0101] For example, assuming that the electronic device 1800 of the embodiments of the present disclosure is a smart watch, when the smart watch is bound to a smart phone with dual cards and standby through an eSIM, the first SIM unit in the eSIM chip 1830 of the smart watch is bound to the SIM card 1 of the smart phone, and the second SIM unit in the eSIM chip 1830 is bound to the SIM card 2 of the smart phone. In this case, when the user goes out alone with the smart watch, the SIM card 1 or the SIM card 2 can receive the called information, avoiding information omission, realizing the coverage of the dual card scene, and improving the user experience.
[0102] In addition, for some smart phones with dual cards and standby and single call, when the SIM card 1 is used for online, if the SIM card 2 has an incoming call, since only one SIM card can be connected to the network, the online process of the SIM card 1 will be interrupted. However, through the method of the embodiments of the present disclosure, the smart phone can answer the incoming call of the SIM card 2 through the smart watch while using the SIM card 1 for online, without affecting the online process of the SIM card 1. The interaction process between the smart phone and the smart watch in the embodiments of the present disclosure will be described below.
[0103] It should be noted that the above example is described for the scenario of binding the wearable device and the mobile terminal, and it can be understood that the embodiments of the present disclosure are also applicable to the single device scenario. For example, the electronic device 1800 of the embodiments of the present disclosure can be a smart phone, so as to realize the communication of the smart phone through the eSIM chip 1830. Those skilled in the art can understand this, and the present disclosure will not be described again.
[0104] As shown in Figure 5 In some embodiments, after establishing the communication connection between the processor and the target SIM unit of the eSIM chip, the method of the present disclosure further includes:
[0105] S510, obtaining the user identity information of the target SIM unit.
[0106] S520, generating sending data for sending to the base station according to the user identity recognition information.
[0107] In some embodiments, still taking the above Table 1 example for illustration, after the communication connection between the processor 1820 and the first SIM unit is established, the electronic device 1800 can communicate with the calling device. Thus, for the call information sent by the electronic device 1800 to the base station, the call information can be processed according to the user identity recognition information corresponding to the target SIM unit (i.e., the first SIM unit), to obtain sending data, so that the electronic device 1800 can send the sending data to the base station through the communication unit 1818, to realize communication with the calling device.
[0108] Those skilled in the art can understand that for the details not described in the embodiments of the present disclosure, they can be understood and fully implemented by referring to the related art, and the present disclosure will not be repeated here.
[0109] As can be seen from the above, in the embodiments of the present disclosure, by switching the connection of the processor and each SIM unit of the eSIM chip, the data communication of multiple cards is realized by using a single eSIM chip, so that the scene demand of multiple cards can be met.
[0110] In some embodiments, the electronic device of the present disclosure can establish a communication connection with the binding device through near field communication technology. For example, taking the electronic device and the smart watch as an example, the binding device can be, for example, a smart phone, and the smart watch and the smart phone can establish a communication connection through, for example, Bluetooth, WiFi, etc. In the example embodiment, when the smart watch receives the request data, it can determine whether to establish a near field communication connection with the smart phone, and determine whether to perform data communication by the smart watch according to the determination. The following will be described in combination with Figure 6 the embodiments.
[0111] As Figure 6 shown, in some embodiments, the data communication method of the present disclosure example, the electronic device further includes, before receiving the request for determining the eSIM identification information:
[0112] S610, in response to receiving the request data, determining whether the electronic device establishes a communication connection with the binding device of the electronic device through near field communication.
[0113] S620, in response to the electronic device not establishing a communication connection with the binding device through near field communication, performing the step of determining the eSIM identification information according to the received request data.
[0114] In one example, the electronic device is taken as a smart watch, the binding device of the electronic device is taken as a smart phone, and the smart watch and the smart phone establish a near field communication connection through Bluetooth.
[0115] When the smart watch receives the request data, it is first determined whether the smart watch and the smart phone are connected through Bluetooth. If yes, it indicates that the smart phone is near the smart watch, i.e. the user carries both the smart phone and the smart watch, and the smart phone can be used to communicate data, such as making and receiving calls. If no, it indicates that the smart phone is not near the smart watch, i.e. the user only carries the smart watch, and the data communication method in the above embodiment can be performed to use the smart watch to communicate data, such as making and receiving calls, to avoid missing calls.
[0116] In some embodiments, the data communication method of the present disclosure example further comprises:
[0117] In response to the electronic device establishing a communication connection with the binding device through near field communication, and receiving the hang-up request sent by the binding device, the step of determining the eSIM identification information according to the received request data is performed.
[0118] Still taking the above example, in the case where the smart watch determines that the smart watch and the smart phone are connected through Bluetooth, it indicates that the smart phone is near the smart watch, and the smart phone can be used to make and receive calls.
[0119] For the smart phone side, the specific action of the user can be detected, such as placing the smart phone near the ear, or the user triggering the touch operation of answering the call, so as to realize the data communication on the smart phone side.
[0120] For the smart watch side, it can be detected whether the smart phone sends a hang-up request, which indicates that the smart phone hangs up the current request signal, indicating that the user is currently inconvenient to answer the call using the smart phone, so the method of the above embodiment can be executed to realize the call connection on the smart watch side.
[0121] As can be seen from the above, in the embodiment of the present disclosure, based on the interaction between the electronic device and the binding device, the data communication switching between the electronic device and the binding device is realized, the missing call is avoided, and the incoming call can be answered using the smart watch without affecting the online process of the smart phone.
[0122] In a second aspect, the present disclosure provides a data communication device, which can be applied to an electronic device and is executed by a processor of the electronic device. It can be understood that the electronic device described in the embodiment of the present disclosure can be any suitable device type, such as a smart phone, a tablet computer, a smart watch, etc., and the present disclosure does not limit the same.
[0123] As Figure 7 shown, in some embodiments, the data communication device of the present disclosure example comprises:
[0124] The determining module 10 is configured to determine the eSIM identification information according to the received request data.
[0125] The communication establishing module 20 is configured to establish a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information; wherein the eSIM chip comprises at least two SIM units, and the at least two SIM units are respectively used to store different user identity identification information.
[0126] From the above, in the embodiment of the present disclosure, the processor and the switching connection of each SIM unit of the eSIM chip are utilized, and the data communication of multiple cards is realized by using a single eSIM chip, so that the scene demand of multiple cards can be met.
[0127] In some embodiments, the communication establishing module 20 is configured to:
[0128] determine the target SIM unit in the eSIM chip according to the eSIM identification information;
[0129] control the switch unit to turn on the communication channel of the target SIM unit to establish the communication connection with the target SIM unit.
[0130] In some embodiments, the communication establishing module 20 is configured to:
[0131] in response to the currently turned-on communication channel being a communication channel of a non-target SIM unit, control the switch unit to switch the currently turned-on communication channel to a communication channel of the target SIM unit.
[0132] In some embodiments, the eSIM chip comprises a first SIM unit and a second SIM unit, and the switch unit comprises a matrix switch.
[0133] In some embodiments, the determining module 10 is configured to:
[0134] receive request data sent by the base station, and the request data comprises the eSIM identification information;
[0135] perform parsing processing on the request data to obtain the eSIM identification information carried by the request data.
[0136] In some embodiments, the communication establishing module 20 is configured to:
[0137] obtain user identity identification information of the target SIM unit;
[0138] generate sending data for sending to the base station according to the user identity identification information.
[0139] It can be known from the above that, in the embodiments of the present disclosure, the processor is connected to each SIM unit of the eSIM chip, and the single eSIM chip is used to realize the data communication of the multi-card, so as to meet the scene requirements of the multi-card.
[0140] In a third aspect, the embodiments of the present disclosure provide an electronic device, comprising:
[0141] a processor;
[0142] a memory storing computer instructions readable by the processor, and when the computer instructions are read, the processor executes the method according to any one of the embodiments of the first aspect.
[0143] In particular, the electronic device of the embodiments of the present disclosure can refer to the foregoing Figure 1 Embodiments, which will not be repeated here by the present disclosure.
[0144] In a fourth aspect, the embodiments of the present disclosure provide a storage medium for storing computer readable instructions, which are used to make a computer execute the method according to any one of the embodiments of the first aspect.
[0145] Figure 8 The structural block diagram of the electronic device in some embodiments of the present disclosure is further shown in the foregoing Figure 8 The principles related to the electronic device and the storage medium in some embodiments of the present disclosure are further described.
[0146] Referring to Figure 8 , the electronic device 1800 can include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input / output (I / O) interface 1812, a sensor component 1816, and a communication unit 1818.
[0147] The processing component 1802 generally controls the overall operation of the electronic device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 can include one or more processors 1820 to execute instructions. In addition, the processing component 1802 can include one or more modules to facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802. For another example, the processing component 1802 can read executable instructions from the memory to implement electronic device related functions.
[0148] The memory 1804 is configured to store various types of data to support operations of the electronic device 1800. Examples of such data include instructions for any application or method operating on the electronic device 1800, contact data, phonebook data, messages, pictures, videos, etc. The memory 1804 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disc or optical disc.
[0149] The power component 1806 provides power to various components of the electronic device 1800. The power component 1806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1800.
[0150] The multimedia component 1808 includes a display screen that provides an output interface between the electronic device 1800 and a user. In some embodiments, the multimedia component 1808 includes a front-facing camera and / or a rear-facing camera. The front-facing camera and / or the rear-facing camera can receive external multimedia data when the electronic device 1800 is in an operational mode, such as a photographing mode or a video mode. Each of the front-facing camera and the rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0151] The audio component 1810 is configured to output and / or input audio signals. For example, the audio component 1810 includes a microphone (MIC) configured to receive external audio signals when the electronic device 1800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 1804 or transmitted via the communication unit 1818. In some embodiments, the audio component 1810 includes a speaker for outputting audio signals.
[0152] The I / O interface 1812 provides an interface between the processing component 1802 and peripheral interface modules, which can be a keyboard, a click wheel, a button, etc. These buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0153] The sensor component 1816 includes one or more sensors for providing status assessments for various aspects of the electronic device 1800. For example, the sensor component 1816 can detect an open / closed position of the electronic device 1800, relative positioning of components of the electronic device 1800, such as a display and a keypad of the electronic device 1800, a change in position of the electronic device 1800 or a component of the electronic device 1800, presence or absence of user contact with the electronic device 1800, orientation or acceleration / deceleration / g-force and temperature changes of the electronic device 1800. The sensor component 1816 can include an optical sensor for use in imaging applications. In some embodiments, the sensor component 1816 can include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0154] The communication unit 1818 is configured to facilitate wired or wireless communication between the electronic device 1800 and other devices. The electronic device 1800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G, or 6G, or a combination thereof, for example. In an example embodiment, the communication unit 1818 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication unit 1818 includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technology.
[0155] In an example embodiment, the electronic device 1800 can be implemented using one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements.
[0156] Obviously, the above-described embodiments are only examples for clearly illustrating the present disclosure and are not intended to limit the present disclosure. Based on the above description, those skilled in the art can make other different forms of changes or modifications without departing from the spirit of the present disclosure. Here, it is not necessary or possible to enumerate all the embodiments. The obvious changes or modifications derived therefrom are still within the protection scope of the present disclosure.
Claims
1. A method of data communication, characterized by, The method is applied to an electronic device, the electronic device comprising an eSIM chip, the eSIM chip comprising at least two SIM units, each SIM unit being used for storing one user identity information, and each SIM unit in the eSIM chip being one-to-one bound to a SIM card in a bound device, the method comprising: in response to receiving request data sent by a base station, determining whether the electronic device establishes a communication connection with the bound device through near field communication; in response to the electronic device not establishing a communication connection with the bound device through near field communication, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information; in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information.
2. The method of claim 1, wherein, The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises:
3. The method according to claim 1 or 2, characterized in that, in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information.
4. The method according to claim 1 or 2, characterized in that, The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises:
5. A data communication device, characterized by in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic device establishing a communication connection with the bound device through near field communication and receiving a hang-up request sent by the bound device, determining eSIM identification information according to the received request data, and establishing a communication connection with a target SIM unit in the eSIM chip according to the eSIM identification information. The method further comprises: in response to the electronic The communication establishing module is configured to, in response to receiving the request data sent by the base station, determine whether the electronic device establishes a communication connection with the binding device through near field communication; in response to the electronic device not establishing a communication connection with the binding device through near field communication, establish a communication connection between the electronic device and a target SIM unit in the eSIM chip according to the eSIM identifier information; and in response to the electronic device establishing a communication connection with the binding device through near field communication and receiving a hang-up request sent by the binding device, establish a communication connection between the electronic device and the target SIM unit in the eSIM chip according to the eSIM identifier information.
6. An electronic device, comprising: Comprise: a processor; a memory storing computer instructions readable by the processor, when the computer instructions are read, the processor executes the method according to any one of claims 1 to 4.
7. The electronic device of claim 6, wherein, Also include: an eSIM chip comprising at least two SIM units, the at least two SIM units being respectively used to store different user identity information; a switch unit arranged on a communication channel between the eSIM chip and the processor, used to control the connection of the processor and the at least two SIM units.
8. The electronic device of claim 7, wherein, Also include: a communication unit in communication connection with the processor, used to receive or send communication data.
9. A storage medium, characterized by Computer readable instructions for storing, the computer readable instructions are used to make the computer execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for processing service
CN105682207A
ESIM (Embedded Subscriber Identification Module) card automatic switching device
CN108184256A
Communication connection method and electronic equipment
CN113055857A