Communication method and device and storage medium

By performing status query and switching before the terminal's SIM card switch, the problem of inflexible network selection in the cellular network and satellite communication network is solved, and more stable network access and communication system fluency is achieved.

CN119893492APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311389001.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

During the use of the existing terminals, it is difficult for existing terminals to flexibly select networks in cellular networks and satellite communication networks, resulting in unstable network switching.

Method used

By performing status query before SIM card switching, SIM card switching is performed based on the query results, and communication is performed based on the switched SIM card. The specific steps include: in response to switching to the second SIM card, performing status query for the second SIM card, obtaining a general status and a PIN code lock status, and accessing the corresponding network link based on these results.

Benefits of technology

It realizes more stable network access after SIM card switching, ensures the smoothness of the communication system, and clarifies the SIM card switching solution used to handle satellite communication services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893492A_ABST
    Figure CN119893492A_ABST
Patent Text Reader

Abstract

The invention relates to a communication method and device and a storage medium. The method comprises the steps that in response to switching from a first SIM card to a second SIM card, state query is carried out on the second SIM card to obtain a state query result, and the first SIM card or the second SIM card is an SIM card used for processing satellite communication services; accessing a network link corresponding to the second SIM card based on the state query result; and sending first information to a network device, wherein the first information is information that the terminal communicates with the network device based on the network link corresponding to the second SIM card. According to the invention, a system for carrying out communication based on the switched SIM card is more stable, and a scheme for switching the SIM card for processing satellite communication service is also clarified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information communication technology, and in particular to communication methods, devices and storage media. Background Art

[0002] With the development of communication technology and terminal technology, terminals that can support satellite communications have gradually occupied the market.

[0003] In the related art, the internal system architecture that can support satellite communication terminals usually adopts a dual-modem solution, in which one modem is dedicated to providing services for cellular services and the other modem is dedicated to providing services for satellite communications.

[0004] Based on this, how to flexibly select a network between cellular networks and satellite communication networks during the user's use of the terminal is a problem that needs to be solved urgently. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present disclosure provides a communication method, device and storage medium.

[0006] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, including: in response to switching from a first SIM card to a second SIM card, performing a status query on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services; accessing a network link corresponding to the second SIM card based on the status query result; and sending first information to a network device, wherein the first information is information for a terminal to communicate with the network device based on the network link corresponding to the second SIM card.

[0007] In one implementation, accessing the network link corresponding to the second SIM card based on the status query result includes: obtaining a first query result and a second query result of the second SIM card, wherein the first query result represents a general status of the second SIM card, and the second query result represents whether the second SIM card has a PIN code lock; and accessing the network link corresponding to the second SIM card based on the first query result and the second query result.

[0008] In another embodiment, accessing the network link corresponding to the second SIM card based on the first query result and the second query result includes: accessing the network link corresponding to the second SIM card when the first query result is that the universal status of the second SIM card is normal and the second query result is that the second SIM card does not have a PIN code lock.

[0009] In another embodiment, accessing the network link corresponding to the second SIM card based on the first query result and the second query result includes: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card has a PIN code lock, performing PIN code unlocking; in response to completing the PIN code unlocking, accessing the network link corresponding to the second SIM card.

[0010] In yet another embodiment, the switching of the first SIM card to the second SIM card comprises: powering off the first SIM card and powering on the second SIM card.

[0011] According to a second aspect of an embodiment of the present disclosure, a communication method is provided, including: acquiring first information sent by a terminal; the first information is information for the terminal to communicate with the network device based on a network link corresponding to a second SIM card, wherein the network link corresponding to the second SIM card is accessed by the terminal based on a status query result, the status query result is acquired by the terminal based on a status query performed on the second SIM card, the status query is performed by the terminal after switching the first SIM card to the second SIM card, and the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

[0012] In one implementation manner, the network link corresponding to the second SIM card is accessed by the terminal based on a status query result in the following manner, including: obtaining a first query result and a second query result of the second SIM card, wherein the first query result represents a general status of the second SIM card, and the second query result is based on a status representing whether the second SIM card has a PIN code lock; and accessing the network link corresponding to the second SIM card based on the first query result and the second query result.

[0013] In another embodiment, the network link corresponding to the second SIM card is accessed by the terminal based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card does not have a PIN code lock, accessing the network link corresponding to the second SIM card.

[0014] In another embodiment, the network link corresponding to the second SIM card is accessed by the terminal based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card has a PIN code lock, performing PIN code unlocking; in response to completing the PIN code unlocking, accessing the network link corresponding to the second SIM card.

[0015] In another embodiment, the terminal switches the first SIM card to the second SIM card in the following manner, including:

[0016] The terminal performs a power-off process on the first SIM card and a power-on process on the second SIM card.

[0017] According to a third aspect of an embodiment of the present disclosure, a communication method is provided, including: in response to switching from a first SIM card to a second SIM card, a terminal performs a status query on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services; accessing a network link corresponding to the second SIM card based on the status query result; sending first information to a network device, the first information being information for communication between the terminal and the network device based on the network link corresponding to the second SIM card; and the network device acquiring the first information.

[0018] According to a fourth aspect of an embodiment of the present disclosure, a communication device is provided, including: a processing unit, configured to, in response to switching from a first SIM card to a second SIM card, perform a status query on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services; the processing unit is also configured to access a network link corresponding to the second SIM card based on the status query result; and a transceiver unit, configured to send first information to a network device, wherein the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

[0019] In one implementation, the processing unit accesses the network link corresponding to the second SIM card based on the status query result in the following manner, including: obtaining a first query result and a second query result of the second SIM card, wherein the first query result represents a general status of the second SIM card, and the second query result represents a status of whether the second SIM card has a PIN code lock; and accessing the network link corresponding to the second SIM card based on the first query result and the second query result.

[0020] In another embodiment, the processing unit accesses the network link corresponding to the second SIM card based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card does not have a PIN code lock, accessing the network link corresponding to the second SIM card.

[0021] In another embodiment, the processing unit accesses the network link corresponding to the second SIM card based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card has a PIN code lock, performing PIN code unlocking; in response to completing the PIN code unlocking, accessing the network link corresponding to the second SIM card.

[0022] In yet another embodiment, the processing unit switches the first SIM card to the second SIM card in the following manner, including: powering off the first SIM card and powering on the second SIM card.

[0023] According to a fifth aspect of an embodiment of the present disclosure, a communication device is provided, which is applied to a network device, including: a transceiver unit, used to obtain first information sent by a terminal, the first information being information for the terminal to communicate with the network device based on a network link corresponding to a second SIM card, wherein the network link corresponding to the second SIM card is accessed by the terminal based on a status query result, the status query result is obtained by the terminal based on a status query performed on the second SIM card, the status query is performed by the terminal after switching the first SIM card to the second SIM card, and the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

[0024] According to a sixth aspect of an embodiment of the present disclosure, a communication device is provided, comprising: a memory for storing processor executable commands; wherein the processor is configured to: execute the communication method described in the first aspect or any one implementation of the first aspect.

[0025] According to the seventh aspect of an embodiment of the present disclosure, a communication device is provided, comprising: a memory for storing processor executable commands; wherein the processor is configured to: execute the communication method described in the second aspect or any one implementation of the second aspect.

[0026] According to an eighth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a device, the device is enabled to execute the communication method described in the first aspect or any one of the embodiments of the first aspect.

[0027] According to the ninth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a device, the device is enabled to execute the communication method described in the first aspect or any one of the embodiments of the first aspect.

[0028] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the present disclosure proposes a communication method, which can make the system for communicating based on the switched SIM card more stable by performing a status query before switching the SIM card, switching the SIM card based on the status query result, and communicating based on the switched SIM card. Moreover, since the SIM card switching is for the SIM card used to process satellite communication services, the solution for switching the SIM card used to process satellite communication services is also clarified.

[0029] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0031] Figure 1 The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0032] Figure 2 The present invention is a flowchart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment.

[0033] Figure 3 The present invention is a flowchart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment.

[0034] Figure 4 The present invention is a flowchart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment.

[0035] Figure 5 The present invention is a flowchart showing a method for switching from a first SIM card to a second SIM card according to an exemplary embodiment.

[0036] Figure 6The present invention is a flow chart showing a communication method according to an exemplary embodiment.

[0037] Figure 7 The diagram is an interactive diagram of a communication method according to an exemplary embodiment.

[0038] Figure 8 The diagram is an interactive diagram of a communication method according to an exemplary embodiment.

[0039] Fig. 9 The present invention is a schematic diagram of a communication system framework according to an exemplary embodiment.

[0040] Fig.10 The invention is a schematic diagram showing a framework of signal interaction in a communication system according to an exemplary embodiment.

[0041] Fig.11 The invention is a schematic diagram showing a framework of power switching of a communication system according to an exemplary embodiment.

[0042] Fig.12 The present invention is a block diagram of a communication device according to an exemplary embodiment.

[0043] Fig.13 The present invention is a block diagram of a communication device according to an exemplary embodiment.

[0044] Fig.14 The invention is a block diagram showing a device for communication according to an exemplary embodiment.

[0045] Fig.15 The invention is a block diagram showing a device for communication according to an exemplary embodiment. DETAILED DESCRIPTION

[0046] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0047] In the communication method involved in the embodiments of the present disclosure, in some embodiments, the terminal includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but is not limited thereto.

[0048] In some embodiments, the network device may include at least one of an access network device and a core network device. The access network device is, for example, a node or device that accesses a terminal to a wireless network. The access network device may include an evolved NodeB (eNB), a next generation eNB (ng-eNB), a next generation NodeB (gNB), a node B (NB), a home node B (HNB), a home evolved node B (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, a communication satellite, and at least one of an access node in a Wi-Fi system, but is not limited thereto.

[0049] In some embodiments, the access network device may be composed of a centralized unit (central unit, CU) and a distributed unit (distributed unit, DU), wherein the CU may also be referred to as a control unit (control unit). The CU-DU structure may be used to split the protocol layer of the access network device, with some functions of the protocol layer being centrally controlled by the CU, and the remaining part or all of the functions of the protocol layer being distributed in the DU, and the DU being centrally controlled by the CU, but not limited to this.

[0050] In some embodiments, the core network device may be a device including a first network element, a second network element, etc., or may be a plurality of devices or a group of devices, respectively including all or part of the first network element, the second network element, etc. The network element may be virtual or physical. The core network may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).

[0051] It should be noted that, in order to facilitate understanding of the technical solution, the following embodiments are described using a terminal in the form of a smart phone as an example.

[0052] With the development of terminal technology, terminals that can support satellite communication functions are gradually entering the market.

[0053] In some embodiments, the terminal can support both conventional communication services (e.g., services based on cellular communications) and satellite communications services. In this scenario, the system architecture set up inside the terminal usually adopts a dual-modem solution, in which one modem is dedicated to providing services for cellular services and the other modem is dedicated to providing services for satellite communications.

[0054] Based on this, how to flexibly and stably select a network between a cellular network and a satellite communication network during user use of the terminal is a problem that needs to be solved urgently.

[0055] It should be noted that, in order to facilitate understanding of the embodiments of the present disclosure, some terms used in the embodiments of the present disclosure are explained below to facilitate understanding by those skilled in the art.

[0056] A Subscriber Identity Module (SIM) card is a card that stores basic user information and network information, enabling a user's phone or other device to connect to a mobile network and make calls, send messages, or use data.

[0057] It should be noted that the two SIM cards in the terminal may belong to the same operator or different operators, and the present embodiment does not limit this. In addition, in actual applications, a terminal device may support more than two SIM cards, which may be determined according to actual usage requirements, and the present embodiment does not limit this.

[0058] For the convenience of description, in the embodiments of the present disclosure, two SIM cards installed in the terminal are described as a first SIM card and a second SIM card respectively.

[0059] PIN lock (Personal Identification Number) is a security measure used to protect SIM cards. SIM cards are an important part of mobile devices for storing personal information and identifying users. PIN lock is a password used to restrict access to SIM cards to ensure that only users with the correct PIN code can use the SIM card.

[0060] When the user inserts the SIM card into the device, the device will ask the user to enter the correct PIN code. If the user enters the wrong PIN code continuously, the SIM card will be locked and further verification will be required to reactivate. This is to prevent unauthorized access and protect the user's personal information.

[0061] The PIN code usually consists of 4 to 8 digits and is preset by the SIM card provider as a default value (usually "1234"). It is recommended that users change the default PIN code to a personal security password immediately after receiving the SIM card to increase the security of the SIM card.

[0062] Kernel GPIO device refers to the GPIO device in the operating system kernel. GPIO (General Purpose Input / Output) is a common digital interface used to control external devices and sensors in computer systems.

[0063] Figure 1 is a flow chart of a communication method according to an exemplary embodiment. Figure 1 As shown, the communication method includes the following steps.

[0064] In step S11, in response to switching from the first SIM card to the second SIM card, a status query is performed on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

[0065] In step S12, the network link corresponding to the second SIM card is accessed based on the status query result.

[0066] In step S13, first information is sent to the network device, where the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

[0067] The communication method provided by the embodiment of the present disclosure performs a status query on the second SIM card before switching between the first SIM card and the second SIM card, and performs switching based on the status query result, which can avoid the inability to switch the SIM card or abnormal communication quality after switching due to abnormal status related to the second SIM card, thereby affecting subsequent communication based on the second SIM card network link. In addition, the system is not reset during the switching process, which realizes the dynamic switching of the SIM card and ensures the smoothness of the communication system.

[0068] In some embodiments, the switching scenario between the first SIM card and the second SIM card may include at least one of the following:

[0069] The first SIM card is a SIM card used for processing satellite communication services, and the second SIM card is a SIM card not used for processing satellite communication services;

[0070] The first SIM card is a SIM card for processing satellite communication services, and the second SIM card is a SIM card for processing satellite communication services;

[0071] The first SIM card is a SIM card not used for processing satellite communication services, and the second SIM card is a SIM card used for processing satellite communication services.

[0072] It is understandable that in some application scenarios, when both the first SIM card and the second SIM card are SIM cards not used for processing satellite communication services, part or all of the contents of the above embodiments are also applicable.

[0073] In some embodiments, the first SIM card and the second SIM card each correspond to an independent management system.

[0074] For example, taking the first SIM card as a SIM card for processing cellular services and the second SIM card as a SIM card for processing satellite communication services as an example,

[0075] The first SIM card can correspond to a cellular system, or a chip integrated with a cellular system for independent control; the second SIM card can correspond to a satellite communication system, or a chip integrated with a satellite communication system for independent control.

[0076] It should be noted that, for the convenience of description, in some of the following examples, the first SIM card mentioned can be understood as a SIM card not used for processing satellite services, for example, the first SIM card is a SIM card used for processing cellular services. The second SIM card mentioned can be understood as a SIM card used for processing satellite services. The details can be judged according to the specific embodiment description, and will not be repeated here one by one.

[0077] In some embodiments, the status query of the second SIIM card may be implemented through the system architecture layer.

[0078] Exemplarily, the underlying structure (relative to the underlying structure of the system architecture layer) reports the switching status and / or switching event of the SIM card to the system architecture layer. In response to the system architecture layer receiving the switching status and / or switching event of the SIM card, a status query instruction is sent to the underlying structure, which is executed by the corresponding underlying structure.

[0079] In some embodiments, "obtain", "obtain", "get", "receive", "transmit", "bidirectional transmission", "send and / or receive" can be interchangeable, which can be interpreted as receiving from other subjects, but is not limited to this.

[0080] In some embodiments, terms such as "certain", "preset", "preset", "set", "indicated", "some", "any", and "first" can be interchangeable, and "specific A", "preset A", "preset A", "set A", "indicated A", "some A", "any A", and "first A" can be interpreted as A pre-defined in a protocol, etc., or as A obtained through setting, configuration, or indication, etc., and can also be interpreted as specific A, some A, any A, or first A, etc., but is not limited to this.

[0081] The communication method involved in the embodiment of the present disclosure may include at least one of steps S11 to S13. For example, step S11 may be implemented as an independent embodiment, step S12 may be implemented as an independent embodiment, step S13 may be implemented as an independent embodiment, and step S11+step S12+step S13 may be implemented as an independent embodiment, but is not limited thereto.

[0082] In some embodiments, step S11 and step S12 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0083] In some embodiments, step S11 and step S13 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0084] In some embodiments, step S12 and step S13 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0085] Figure 2 is a flow chart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment. Figure 2 As shown, the following steps are included.

[0086] In step S21, a first query result and a second query result of the second SIM card are obtained, wherein the first query result represents the general status of the second SIM card, and the second query result represents whether the second SIM card has a PIN code lock status.

[0087] In step S22, based on the first query result and the second query result, the network link corresponding to the second SIM card is accessed.

[0088] The communication method provided in the embodiment of the present disclosure can select a corresponding network access solution based on different query results by querying the general status and PIN code lock status corresponding to the second SIM card, thereby increasing the flexibility of network access after the SIM card is switched.

[0089] In some embodiments, the general status query includes querying at least one of the following items:

[0090] International Mobile User Identification Code (IMSI) query, Integrated Circuit Card Identification Code (ICCID) query, Mobile User International ISDN Number (MSISDN) query, SIM card status query, network registration status query, communication service status query, etc.

[0091] In some embodiments, IMSI query, ICCID query, and MSISDN query may be used to identify relevant identification information of a user or a SIM card in a mobile network.

[0092] For example, for IMSI query, user information can be identified in the mobile network, and for ICCID identification, it can be used to identify SIM card information in the network, etc.

[0093] In some embodiments, the query result of the SIM card status may include at least one of the following: the SIM card is in a normal state, the SIM card is in a locked state, and the SIM card is in arrears state. Used to determine the availability of the SIM card.

[0094] In some embodiments, the query result of the network registration status may include at least one of the following: a status such as registered and a network failure, which is used to determine whether the SIM card is successfully connected to the mobile network.

[0095] In some embodiments, the query result of the communication service status may include at least one of the following: whether there is a call, whether there is a text message, whether the data service is activated, etc. It is used to determine the activation status of the function status of the current SIM card.

[0096] It should be noted that the content of the SIM card universal status can be obtained by querying the relevant commands of the SIM card or through the query service of the mobile network operator. The specific query method may vary depending on the operator or device type. This is only an exemplary enumeration rather than an exhaustive one, and is not a specific limitation. Other related content is also included in the description of the universal status, and will not be repeated here.

[0097] In some embodiments, for different first query results and / or different second query results, a corresponding processing method is selected to access the network link corresponding to the second SIM card.

[0098] In some embodiments, "query", "detection", "monitoring", etc. can be used interchangeably.

[0099] The communication method involved in the embodiment of the present disclosure may include at least one of step S21 to step S22. For example, step S21 may be implemented as an independent embodiment, step S22 may be implemented as an independent embodiment, and step S21+step S22 may be implemented as independent embodiments, but are not limited thereto.

[0100] In some embodiments, step S21 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0101] In some embodiments, step S22 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0102] Figure 3 is a flow chart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment. Figure 3 As shown, the following steps are included.

[0103] In step S31, a first query result and a second query result are determined.

[0104] In step S32, when the first query result is that the second SIM card is in a normal state and the second query result is that the second SIM card does not have a PIN code lock, the network link corresponding to the second SIM card is accessed.

[0105] The communication method provided by the embodiment of the present disclosure clarifies the network link access scheme when the first query result is normal and the second query result is that there is no PIN code lock, thereby avoiding the inability to access the network link corresponding to the second SIM card due to unclear access scheme in this scenario.

[0106] In some embodiments, the first query result is that the universal state of the second SIM card is normal, which can be understood as all query items or part of the items in the current universal state of the second SIM card meet the preset switching requirements.

[0107] For example, the preset switching item requirement is that the second SIM card cannot be in arrears. If the second SIM card is not in arrears (for example Figure 2 In the normal state described in the relevant embodiments, the identification meets the preset switching requirements, that is, some inspection items in the current general state of the second SIM card meet the preset switching requirements.

[0108] In some embodiments, the first query result is that the second SIM card universal status is abnormal, and the network link corresponding to the second SIM card is not connected.

[0109] In some embodiments, the first query result is that the second SIM card universal status is abnormal, the second query result is not obtained, and the network link corresponding to the second SIM card is not intervened.

[0110] It is understandable that if the first query result obtained before the second query result is obtained is that the second SIM card universal state is abnormal, omitting the step of obtaining the second query result can avoid waste of related resources.

[0111] The communication method involved in the embodiment of the present disclosure may include at least one of step S31 to step S32. For example, step S31 may be implemented as an independent embodiment, step S32 may be implemented as an independent embodiment, and step S31+step S32 may be implemented as independent embodiments, but are not limited thereto.

[0112] In some embodiments, step S31 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0113] In some embodiments, step S32 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0114] Figure 4 is a flow chart showing a method for accessing a network link corresponding to a second SIM card according to an exemplary embodiment. Figure 4 As shown, the following steps are included.

[0115] In step S41, the first query result and the second query result are determined.

[0116] In step S42, when the first query result is that the second SIM card is in a normal state and the second query result is that the second SIM card is PIN locked, PIN unlocking is performed.

[0117] In step S43, in response to completing the PIN code unlocking, the network link corresponding to the second SIM card is accessed.

[0118] The communication method provided by the embodiment of the present disclosure clarifies the network link access scheme when the first query result is normal and the second query result is that there is a PIN code lock, thereby avoiding the inability to access the network link corresponding to the second SIM card due to unclear access scheme in this scenario.

[0119] In some embodiments, when the second query result is that the second SIM card has a PIN code lock, unlocking the PIN code includes:

[0120] In response to obtaining the second query result that the second SIM card has a PIN code lock, obtaining an unlock signaling, where the unlock signaling is used to unlock the PIN code;

[0121] Perform PIN code unlocking based on unlock signaling, and feedback the unlocking result after completing PIN code unlocking.

[0122] In some embodiments, the unlock signaling may be an unlock PIN code corresponding to the PIN code lock.

[0123] The communication method involved in the embodiment of the present disclosure may include at least one of step S41 to step S13. For example, step S41 may be implemented as an independent embodiment, step S42 may be implemented as an independent embodiment, step S43 may be implemented as an independent embodiment, and step S41+step S42+step S43 may be implemented as independent embodiments, but are not limited thereto.

[0124] In some embodiments, step S41 and step S42 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0125] In some embodiments, step S41 and step S43 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0126] In some embodiments, step S42 and step S43 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0127] Figure 5 FIG. 1 is a flow chart showing a method for switching from a first SIM card to a second SIM card according to an exemplary embodiment. Figure 5 As shown, the following steps are included.

[0128] In step S51, the first SIM card is powered off, and the second SIM card is powered on.

[0129] In step S52, the second SIM card is loaded.

[0130] The communication method provided in the embodiment of the present disclosure realizes circuit switching by switching the power supply modes of the first SIM card and the second SIM card, thereby providing a technical basis for subsequent signal switching.

[0131] In some embodiments, the terms "power supply", "power on", "power on" and the like can be used interchangeably to indicate that a corresponding power supply is configured for a designated SIM card so that it is connected to a circuit.

[0132] In some embodiments, the terms "power off", "power outage", "power down" and the like can be used interchangeably to indicate that the corresponding power supply is stopped from being configured for the designated SIM card, so that the card is removed from the circuit.

[0133] Figure 6 is a flow chart of a communication method according to an exemplary embodiment. Figure 6 As shown, the communication method is used in a network device and includes the following steps.

[0134] In step S61, first information sent by the terminal is obtained, where the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

[0135] In some embodiments, the network link corresponding to the second SIM card is accessed by the terminal based on the status query result.

[0136] In some embodiments, the status query result is obtained by the terminal based on a status query on the second SIM card. The status query is performed by the terminal after switching the first SIM card to the second SIM card. The first SIM card or the second SIM card is a SIM card used to process satellite communication services.

[0137] Figure 7 is an interactive schematic diagram of a communication method according to an exemplary embodiment. Figure 7 As shown, the embodiment of the present disclosure proposes a method for switching from a cellular network to a satellite service network for communication, including the following steps.

[0138] In step S71, the system architecture layer sends a first instruction, where the first instruction is used to instruct to power off the first SIM card.

[0139] In step S72, the first modem powers off the first SIM card, where the first SIM card is used to process services of the cellular communication network.

[0140] In step S73, the system architecture layer sends a second instruction, where the second instruction is used to instruct to power on the second SIM card.

[0141] In step S74, the second SIM card is powered on, wherein the second SIM card is used to process satellite communication services.

[0142] In step S75, the second modem reports a SIM card status change event.

[0143] In step S76, the system architecture layer issues a query instruction.

[0144] In step S77, the second module performs a general status query and a PIN code status query.

[0145] In step S78, randomly access and register on the network.

[0146] In some embodiments, after powering off the first SIM card, the first modem may also feed back the power-off status to the system architecture layer.

[0147] In some embodiments, the first module and the second module may be virtual modules, such as threads for executing a certain specified action.

[0148] Exemplarily, the first module may be a radio daemon (Radio Interface Layer Daemon, RILD) under a cellular network, and the second module may be a RILD under a satellite communication service.

[0149] In some embodiments, a general status and PIN code status query is performed, and the query result is used to randomly access and register the network in the following two situations:

[0150] -A) The query result is normal and there is no PIN lock.

[0151] -B) The query result is normal, there is a PIN lock, and the PIN lock has been unlocked.

[0152] In some embodiments, PIN code unlocking is performed based on the following method:

[0153] The system architecture layer obtains the PIN code lock status and sends the unlocked PIN code to the second modem;

[0154] The second modem obtains the unlocking PIN code, completes the unlocking based on the unlocking PIN code, and feeds back the unlocking status to the system architecture layer.

[0155] Figure 8 is an interactive schematic diagram of a communication method according to an exemplary embodiment. Figure 8 As shown, the embodiment of the present disclosure proposes a method for switching from a satellite service network to a cellular network for communication, including the following steps.

[0156] In step S81, the system architecture layer sends a third instruction, where the third instruction is used to instruct the link to be released and / or to power off the second SIM card.

[0157] In step S82, the second modem powers off the second SIM card.

[0158] In step S83, the system architecture layer sends a fourth instruction, wherein the fourth instruction is used to instruct to power on the first SIM card.

[0159] In step S84, the first modem powers on the first SIM card.

[0160] In step S85, the first modem loads the first SIM card and registers with the network.

[0161] In some embodiments, after the second modem completes powering off the second SIM card, it feeds back the power-off status to the system architecture layer.

[0162] Based on the above Figure 7 as well as Figure 8 The system interaction embodiment of the present disclosure also proposes an interaction framework, such as Fig. 9 As shown, Fig. 9 The present invention is a schematic diagram of a communication system framework according to an exemplary embodiment.

[0163] The framework mainly includes: system framework layer, wireless interface layer, processor interface layer, modem layer and hardware peripheral layer.

[0164] The system framework layer mainly uses the Telepony Framework to obtain the user's service instructions. For example, the user is currently in a cellular network and makes a satellite call or sends a satellite text message. The user sends the instruction to the module through operation.

[0165] The first module is the RIL module under the cellular system, which is responsible for receiving instructions issued by the telecommunications framework and then sending them to the first modem through the first interface. The second module is the RIL module under the satellite system, which is responsible for receiving instructions issued by the battery framework and then sending them to the second modem through the second interface. The first interface is the Application Processor Interface (AP) and the Baseband Processor Interface (BP) under the cellular system. The second interface is the AP interface and the BP interface under the satellite communication system. The switching module is a device deployed in the hardware peripheral layer, which is used to execute the issued switching instructions and is responsible for controlling the dynamic switching of the first SIM card and the second SIM card. The kernel GPIO device is a module connecting the wireless interface layer and the hardware peripheral layer, which is used to control the switching channel.

[0166] Based on the above Figure 7 to Figure 9 The embodiment of the present disclosure also provides an interactive framework, such as Fig.10 As shown, Fig.10 The invention is a schematic diagram showing a framework of signal interaction in a communication system according to an exemplary embodiment.

[0167] In some embodiments, the first signal switching module is used to implement signal switching for the first SIM card.

[0168] In some embodiments, the second signal switching module is used to implement signal switching for the second SIM card.

[0169] In some embodiments, the first level converter is used to implement level conversion for signal switching of the first SIM card, and the second level converter is used to implement level conversion for optical signal switching of the second SIM card.

[0170] In some embodiments, the relevant descriptions about the first modem and the second modem can refer to the above-mentioned relevant embodiments, which will not be repeated here.

[0171] Based on the above Figure 7 to Figure 9 The embodiment of the present disclosure also provides an interactive framework, such as Fig.11 As shown, Fig.11 The invention is a schematic diagram showing a framework of power switching of a communication system according to an exemplary embodiment.

[0172] In some embodiments, the first power switching module, the second power switching module and the third power switching module are all used to implement power switching between the first SIM card and the second SIM card.

[0173] In some embodiments, a first line voltage regulator and a second line voltage regulator are further introduced to achieve voltage stabilization during the switching process.

[0174] Based on the same concept, an embodiment of the present disclosure also provides a communication device.

[0175] Fig.12 FIG. 1 is a block diagram of a communication device 100 according to an exemplary embodiment. Fig.12 The device includes a processing unit 101 and a transceiver unit 102.

[0176] The processing unit 101 is used for performing a status query on the second SIM card in response to switching from the first SIM card to the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

[0177] The processing unit 101 is further configured to access a network link corresponding to the second SIM card based on the status query result.

[0178] The transceiver unit 102 is used to send first information to the network device, where the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

[0179] In some embodiments, the processing unit 101 accesses the network link corresponding to the second SIM card based on the status query result in the following manner, including: obtaining a first query result and a second query result of the second SIM card, wherein the first query result is obtained based on a general status query of the second SIM card, and the second query result is obtained based on a status query of whether a PIN code lock is present on the second SIM card; based on the first query result and the second query result, accessing the network link corresponding to the second SIM card.

[0180] In some embodiments, the processing unit 101 accesses the network link corresponding to the second SIM card based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and when the second query result is that the second SIM card does not have a PIN code lock, accessing the network link corresponding to the second SIM card.

[0181] In some embodiments, the processing unit 101 accesses the network link corresponding to the second SIM card based on the first query result and the second query result in the following manner, including: when the first query result is that the universal status of the second SIM card is normal, and the second query result is that the second SIM card has a PIN code lock, performing PIN code unlocking; in response to completing the PIN code unlocking, accessing the network link corresponding to the second SIM card.

[0182] In some embodiments, the processing unit 101 switches the first SIM card to the second SIM card in the following manner, including: powering off the first SIM card and powering on the second SIM card.

[0183] Fig.13 FIG. 2 is a block diagram of a communication device 200 according to an exemplary embodiment. Fig.13 , the device includes a transceiver unit 201.

[0184] The transceiver unit 201 is used to obtain first information sent by the terminal, where the first information is information that the terminal communicates with the network device based on the network link corresponding to the second SIM card, wherein the network link corresponding to the second SIM card is accessed by the terminal based on a status query result, the status query result is obtained by the terminal based on a status query performed on the second SIM card, and the status query is performed after the terminal switches the first SIM card to the second SIM card, and the first SIM card or the second SIM card is a SIM card used to process satellite communication services.

[0185] It is understandable that the communication device provided by the embodiment of the present disclosure includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0186] Fig.14 1 is a block diagram of a device 300 for communication according to an exemplary embodiment. For example, the device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0187] Reference Fig.14, the image processing device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .

[0188] The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 330 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0189] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device 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 disk or optical disk.

[0190] The power component 306 provides power to the various components of the device 300. The power component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 300.

[0191] The multimedia component 308 includes a screen that provides an output interface between the device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0192] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the device 300 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0193] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0194] The sensor assembly 314 includes one or more sensors for providing various aspects of the status assessment of the device 300. For example, the sensor assembly 314 can detect the open / closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, the sensor assembly 314 can also detect the position change of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration / deceleration of the device 300, and the temperature change of the device 300. The sensor assembly 314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0195] The communication component 316 is configured to facilitate wired or wireless communication between the device 300 and other devices. The device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also 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 technologies.

[0196] In an exemplary embodiment, the apparatus 300 may be implemented by 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, microcontrollers, microprocessors or other electronic components to perform the above method.

[0197] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by a processor 330 of the device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0198] Fig.15 4 is a block diagram of a device 400 for communication according to an exemplary embodiment. For example, the device 400 may be provided as a server. Fig.15 The apparatus 400 includes a processing component 422, which further includes one or more processors, and a memory resource represented by a memory 432 for storing instructions executable by the processing component 422, such as an application. The application stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 422 is configured to execute instructions to perform the above-mentioned screen display method.

[0199] The device 400 may also include a power supply component 426 configured to perform power management of the device 400, a wired or wireless network interface 450 configured to connect the device 400 to a network, and an input / output (I / O) interface 458. The device 400 may operate based on an operating system stored in the memory 432, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.

[0200] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0201] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0202] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.

[0203] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0204] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0205] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0206] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A communication method, characterized in that include: In response to switching from the first SIM card to the second SIM card, performing a status query on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services; Accessing the network link corresponding to the second SIM card based on the status query result; Sending first information to a network device, where the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

2. The communication method according to claim 1, characterized in that: The accessing the network link corresponding to the second SIM card based on the status query result includes: Obtaining a first query result and a second query result of the second SIM card, wherein the first query result indicates a general state of the second SIM card, and the second query result indicates whether the second SIM card has a PIN code lock; Based on the first query result and the second query result, access a network link corresponding to the second SIM card.

3. The communication method according to claim 2, characterized in that: The accessing the network link corresponding to the second SIM card based on the first query result and the second query result includes: When the first query result is that the second SIM card is in a normal universal state, and the second query result is that the second SIM card does not have a PIN code lock, a network link corresponding to the second SIM card is accessed.

4. The communication method according to claim 2, characterized in that: The accessing the network link corresponding to the second SIM card based on the first query result and the second query result includes: If the first query result is that the second SIM card is in a normal universal state, and the second query result is that the second SIM card is PIN locked, unlocking the PIN; In response to completing the PIN code unlocking, accessing a network link corresponding to the second SIM card.

5. The communication method according to claim 1, characterized in that: The switching of the first SIM card to the second SIM card includes: The first SIM card is powered off, and the second SIM card is powered on.

6. A communication method, characterized in that: include: Acquire first information sent by the terminal, where the first information is information about communication between the terminal and the network device based on the network link corresponding to the second SIM card; The network link corresponding to the second SIM card is accessed by the terminal based on a status query result, the status query result is obtained by the terminal based on a status query on the second SIM card, the status query is performed by the terminal after switching the first SIM card to the second SIM card, and the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

7. A communication device, characterized in that: include: a processing unit, configured to, in response to switching from the first SIM card to the second SIM card, perform a status query on the second SIM card to obtain a status query result, wherein the first SIM card or the second SIM card is a SIM card for processing satellite communication services; The processing unit is further configured to access a network link corresponding to the second SIM card based on the status query result; The transceiver unit is used to send first information to the network device, where the first information is information for the terminal to communicate with the network device based on the network link corresponding to the second SIM card.

8. A communication device, characterized in that: include: a transceiver unit, configured to obtain first information sent by a terminal, wherein the first information is information for the terminal to communicate with the network device based on a network link corresponding to the second SIM card, The network link corresponding to the second SIM card is accessed by the terminal based on a status query result, the status query result is obtained by the terminal based on a status query on the second SIM card, the status query is performed by the terminal after switching the first SIM card to the second SIM card, and the first SIM card or the second SIM card is a SIM card for processing satellite communication services.

9. A communication device, characterized in that: include: a memory for storing processor executable instructions; The processor is configured to: execute the communication method described in any one of claims 1 to 5 or claim 6.

10. A storage medium storing instructions, characterized in that: When the instruction is executed on a device, the device executes the communication method according to any one of claims 1 to 5 or claim 6.