Communication mode switching method and system of communication equipment, medium and equipment

By integrating communication control chips and software circuits on the motherboard of communication equipment, the problems of configuration confusion and card slot switching failure in module adaptation and mode switching are solved, realizing fast and secure communication mode switching and improving business continuity and communication link reliability.

CN121284531APending Publication Date: 2026-01-06FIBOCOM TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511506826.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-20
Publication Date
2026-01-06

AI Technical Summary

Technical Problem

Existing communication equipment suffers from problems such as chaotic configuration, inconvenient operation, and card slot switching failures during module adaptation and mode switching, resulting in poor service continuity, especially in cross-network roaming and dual-card switching scenarios.

Method used

A communication control chip is integrated on the motherboard of the communication equipment, and software circuits are embedded inside the chip. By acquiring switching instructions, closing the activated SIM card session, and updating registers and protocol stack parameters, fast and secure communication mode switching can be achieved.

Benefits of technology

It achieves millisecond-level seamless switching, improves business continuity, enhances the reliability and security of communication links, reduces configuration path latency and error probability, and avoids authentication information crosstalk and protocol conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121284531A_ABST
    Figure CN121284531A_ABST
Patent Text Reader

Abstract

The invention provides a communication mode switching method and system of communication equipment, a medium and equipment, and relates to the field of communication products, and the method comprises the steps: obtaining a communication mode switching instruction, and carrying out the analysis and determining a to-be-switched target communication mode; closing the activated SIM card session, and determining a target SIM card or a mode configuration file corresponding to the target communication mode; calling a communication control chip to update an internal register and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to a target communication mode; and in the target communication mode, if the network registration is successful, generating a mode switching success message to respond to the communication mode switching instruction. Unified management and mode switching of multiple communication modes are realized through the communication control chip, and the reliability of the communication equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication products, and in particular to a communication mode switching method, system, medium, device and program product for a communication device. Background Technology

[0002] In existing solutions, a particular module model needs to be compatible with three different operating modes. However, this design leads to numerous challenges in module management, maintenance, and configuration switching, easily causing configuration confusion and operational inconvenience. Especially when adapting and importing modules across different customer machines, incorrect mode matching often significantly increases factory management costs.

[0003] In addition, traditional mode switching relies on card slot operation, which can easily lead to failures when inserting or switching cards during the out-of-the-box experience. Summary of the Invention

[0004] The purpose of this application is to provide a communication mode switching method, system, computer-readable storage medium, communication device, and computer program product for a communication device, which can ensure the stability of communication module switching.

[0005] To address the aforementioned technical problems, this application provides a communication mode switching method for a communication device. The communication device's motherboard integrates a communication control chip, which in turn integrates software circuitry. The specific technical solution is as follows:

[0006] Obtain the communication mode switching command and parse it to determine the target communication mode to be switched to;

[0007] Close the activated SIM card session and determine the target SIM card or mode configuration file corresponding to the target communication mode;

[0008] The communication control chip is invoked to update its internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode;

[0009] In the target communication mode, if network registration is successful, a mode switching success message is generated in response to the communication mode switching instruction.

[0010] Optionally, the method for obtaining the communication mode switching instruction includes:

[0011] Obtain the communication mode switching command issued by the preset card switching control program in the BIOS; the preset card switching control program is used to receive the target communication mode selected by the user through the BIOS settings interface, or to generate recommended information for the target communication mode based on the real-time status parameters of the system.

[0012] Optionally, if the target communication mode is a dual-SIM single-activation mode, after calling the communication control chip to update the internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, the method further includes:

[0013] Determine whether the communication mode switching command specifies the activation of the SIM card;

[0014] If no SIM card is specified for activation, the communication control chip will be invoked to apply the SIM card switching strategy to set the SIM card for activation.

[0015] If an activation SIM card is specified, a network registration request is initiated based on the specified activation SIM card.

[0016] Optionally, calling the communication control chip to apply the SIM card switching strategy to set and activate the SIM card includes:

[0017] The communication control chip is invoked to send a dual-card status query command to detect the current status of the eSIM card and the USIM card respectively;

[0018] If the eSIM card configuration file has been downloaded and enabled, and the USIM card has been inserted and initialized, confirm that both the eSIM card and the USIM card are in a usable state;

[0019] If the card switching strategy prioritizes the eSIM card, then enable the eSIM card and disable the USIM card;

[0020] If the card switching strategy prioritizes the USIM card, then enable the USIM card and disable the eSIM card;

[0021] If the card switching strategy prioritizes signal quality, the signal strength of the eSIM card and the USIM card is measured, and the SIM card with the better signal strength is enabled.

[0022] If the activated SIM card is determined to be the eSIM card, the logical channel with the embedded general-purpose integrated circuit card is enabled, the specified configuration file is enabled, and the International Mobile Subscriber Identity and authentication parameters corresponding to the eSIM card are read.

[0023] If the activated SIM card is confirmed to be the USIM card, power on the USIM card slot and wait for the USIM card to respond with a reset response, and read the International Mobile Subscriber Identity (IMSI) and authentication parameters corresponding to the USIM card.

[0024] Optional, also includes:

[0025] Write the International Mobile Subscriber Identity (IMSI) and authentication parameters to the protocol stack register, update the status register corresponding to the activated SIM card, and set the status register corresponding to the inactive SIM card to the off state.

[0026] Optionally, before generating a mode switching success message in response to the communication mode switching instruction, the method further includes:

[0027] Based on the International Mobile Subscriber Identity (IMSI) corresponding to the activated SIM card and the authentication parameters, an attach request is initiated to the base station via the radio frequency module.

[0028] After completing authentication and receiving the attachment success message corresponding to the attachment request, the network registration is confirmed to be successful.

[0029] This application also provides a communication mode switching system for a communication device, wherein a communication control chip is integrated on the motherboard of the communication device, and the communication control chip integrates software circuitry; the system includes:

[0030] The target communication module determination module is used to acquire communication mode switching instructions and parse and determine the target communication mode to be switched to;

[0031] The switching preparation module is used to close the activated SIM card session and determine the target SIM card or mode configuration file corresponding to the target communication mode;

[0032] The mode switching module is used to call the communication control chip to update the internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode;

[0033] The mode switching response module is used to generate a mode switching success message in response to the communication mode switching instruction if network registration is successful under the target communication mode.

[0034] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.

[0035] This application also provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described above when it calls the computer program in the memory.

[0036] This application also provides a computer program product, including a computer program that, when executed, implements the steps of the method described above.

[0037] This application provides a method for switching communication modes in a communication device. The communication device has a communication control chip integrated on its motherboard, and the communication control chip integrates software circuitry. The method includes: acquiring a communication mode switching instruction; parsing and determining the target communication mode to be switched to; closing an active SIM card session and determining the target SIM card or mode configuration file corresponding to the target communication mode; calling the communication control chip to update its internal registers and protocol stack parameters according to the target SIM card or the mode configuration file to switch the current communication mode to the target communication mode; and, if network registration is successful under the target communication mode, generating a mode switching success message in response to the communication mode switching instruction.

[0038] This application achieves rapid and secure switching of communication modes by integrating a communication control chip on the motherboard of the communication equipment and embedding software circuitry within the chip. Upon receiving a mode switching command, the system first closes the activated SIM card session and disconnects the link with the original network to prevent residual data from the old connection from interfering with subsequent processes. Then, it accurately locates the SIM card or configuration file corresponding to the target communication mode, ensuring the switching target is clear and unambiguous. Based on this, the communication control chip directly performs atomic updates to its internal registers and protocol stack parameters without external processor intervention, shortening the configuration path and reducing latency and error probability caused by peripheral access. After the registers and protocol stack are synchronously refreshed, the terminal immediately initiates network registration with the new parameters. Once registration is successful, a confirmation message is generated and sent back to the upper-layer application. This application transforms the traditional mode change, which requires a restart or manual SIM card insertion / removal, into a millisecond-level seamless switching, significantly improving service continuity for users in cross-network roaming, dual-SIM switching, or public / private network isolation scenarios. Simultaneously, because the old session is actively released and the new session uses an independent configuration space, authentication information crosstalk and protocol conflicts are effectively eliminated, enhancing the reliability and security of the communication link.

[0039] This application also provides a communication mode switching system, a computer-readable storage medium, a communication device, and a computer program product, which have the above-mentioned beneficial effects, and will not be elaborated here. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0041] Figure 1 A flowchart illustrating a communication mode switching method for a communication device provided in an embodiment of this application;

[0042] Figure 2 This is a schematic diagram of a communication mode switching system structure for a communication device provided in an embodiment of this application;

[0043] Figure 3 A structural diagram of a communication device provided in an embodiment of this application. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0045] Please see Figure 1 , Figure 1 A flowchart illustrating a communication mode switching method for a communication device provided in this application embodiment, the method comprising:

[0046] S101: Obtain the communication mode switching instruction and parse it to determine the target communication mode to be switched to;

[0047] S102: Close the activated SIM card session and determine the target SIM card or mode configuration file corresponding to the target communication mode;

[0048] S103: The communication control chip is invoked to update the internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode;

[0049] S104: In the target communication mode, if network registration is successful, a mode switching success message is generated in response to the communication mode switching instruction.

[0050] In step S101, the communication mode switching command is first obtained. The source and generation method of the communication mode switching command are not limited here. In one feasible implementation, the communication mode switching command issued by the pre-set card switching control program in the BIOS can be directly obtained. In practical applications, the administrator or user can select the target communication mode to switch to in the BIOS settings interface. Furthermore, the card switching control program can detect real-time system status parameters, including but not limited to system temperature, voltage, signal strength, etc., and automatically generate the communication mode switching command according to a preset strategy.

[0051] During the communication mode switching process of actual communication devices, communication mode switching commands initiated by users or the system can be received through the human-computer interaction interface of the communication device (such as touch screen, physical buttons or external management system); the communication mode switching command is decoded by the protocol parsing module to identify the target mode identifier (such as USIM mode, eSIM mode and dual-SIM single activation mode) carried in it.

[0052] In step S102, it is necessary to trigger the currently activated SIM card session. It should be noted that if this application is applied to processes such as the first power-on, i.e., there is no currently activated SIM card session, then the activated SIM card session is essentially closed by default. In this case, the target SIM card or mode configuration file corresponding to the target communication mode can be directly determined.

[0053] If the communication device is in normal application mode during the communication mode switching process, it needs to close the activated SIM card session first, including but not limited to releasing logical channels and clearing cached data. There is no limitation on how to close the activated SIM card session. One feasible implementation is to issue a session closure command to the protocol stack to orderly disconnect the currently active SIM card sessions. First, the ongoing paging response and data transmission are terminated, then radio frequency resources and transport layer security context are released to ensure that no residual signaling from the old session occupies the space. After the SIM card session is closed, based on the preset mapping relationship between modes and resources, the SIM card or mode configuration file corresponding to the target communication mode is retrieved and marked as an object to be activated. This prevents two SIM cards from simultaneously occupying the radio frequency hardware of the communication device, thereby eliminating protocol stack anomalies caused by resource contention, while ensuring that the target resource is available before the switch.

[0054] In step S103, the communication control chip needs to be invoked to update its internal registers and protocol stack parameters. Specifically, a reconfiguration command can be sent to the communication control chip via the high-speed internal bus. The command payload includes the access layer parameters, network selection strategy, and RF front-end configuration corresponding to the target SIM card or mode configuration file. After receiving the command, the communication control chip writes the RF front-end gain, frequency band selection, and antenna switch status into a dedicated register, enabling the hardware path to match the new standard within microseconds. It can also rebuild the protocol stack context, clear the old session cache, and load the system message block and neighbor cell list for the new mode.

[0055] Both USIM and eSIM modes specify a corresponding SIM card. Dual SIM single activation mode is the operating mode of a dual-SIM communication device. In dual SIM single activation mode, the communication device supports two SIM cards, but only one SIM card is active at any given time. This means that although both SIM cards can receive calls and SMS messages, when one SIM card is in a call or data connection state, the other SIM card will be unable to make calls or transmit data.

[0056] In step S104, after the communication control chip completes parameter reconstruction, it immediately triggers the network registration process, scans the downlink broadcast channel according to the system message cycle of the target communication mode, and obtains the public land mobile network identifier and cell parameters. Subsequently, it initiates a registration request in the uplink time slot and completes authentication, encryption, and capability negotiation. When the communication device successfully receives the registration success indication returned by the network side, it is determined that the communication mode switch has been achieved, and a mode switch success message can be constructed and sent back to the instruction initiator of the communication mode switch command.

[0057] This application embodiment achieves rapid and secure switching of communication modes by integrating a communication control chip on the motherboard of the communication device and embedding software circuitry within the chip. Upon receiving a mode switching command, the system first closes the activated SIM card session and disconnects the link with the original network to prevent residual data from the old connection from interfering with subsequent processes. Then, it accurately locates the SIM card or configuration file corresponding to the target communication mode, ensuring the switching target is clear and unambiguous. Based on this, the communication control chip directly performs atomic updates to its internal registers and protocol stack parameters without external processor intervention, shortening the configuration path and reducing latency and error probability caused by peripheral access. After the registers and protocol stack are synchronously refreshed, the terminal immediately initiates network registration with the new parameters. Once registration is successful, a confirmation message is generated and sent back to the upper-layer application. This application transforms the traditional mode change, which requires a restart or manual SIM card insertion / removal, into a millisecond-level seamless switching, significantly improving service continuity for users in cross-network roaming, dual-SIM switching, or public / private network isolation scenarios. Simultaneously, because the old session is actively released and the new session uses an independent configuration space, authentication information crosstalk and protocol conflicts are effectively eliminated, enhancing the reliability and security of the communication link.

[0058] Based on the above embodiments, as a feasible implementation, if the target communication mode is a dual-SIM single-activation mode, it can be further determined whether the communication mode switching instruction specifies an activated SIM card. If no activated SIM card is specified, the communication control chip is invoked to apply a SIM card switching strategy to set the activated SIM card; if an activated SIM card is specified, a network registration request is initiated based on the specified activated SIM card.

[0059] The specific SIM card switching strategy used is not limited here; it can include a set SIM card priority or a SIM card priority under set conditions. One feasible method for setting and activating the SIM card is as follows:

[0060] The first step is to call the communication control chip to send a dual-card status query command to detect the current status of the eSIM card and the USIM card respectively;

[0061] In practice, a dual-SIM status query command can be sent to the communication control chip via the internal control bus. This command carries query identifiers pointing to the eSIM controller and the USIM card slot, respectively. Upon receiving the dual-SIM status query command, the communication control chip sequentially initiates a status scan of the eSIM logical channel and the USIM physical contacts: on the eSIM side, it reads the configuration file download and activation flags; on the USIM side, it detects the insertion status and verifies the contact electrical characteristics.

[0062] Step 2: If the eSIM card configuration file has been downloaded and enabled, and the USIM card has been inserted and initialized, confirm that both the eSIM card and the USIM card are in a usable state.

[0063] When the query results show that the eSIM configuration file has been downloaded and is enabled, and the USIM card slot indicates that the card has been inserted and the initialization process is complete, both cards are considered to be in a usable state. At this point, the arbitration process for the subsequent card-switching strategy is triggered. This step confirms that the action has passed status bit aggregation and legality verification, ensuring that only card resources with genuine access capabilities participate in the strategy comparison, thereby filtering out abnormal cards such as those that have not been downloaded, are not enabled, or have poor contact, improving the reliability of subsequent card-switching strategy execution. Afterwards, depending on the card-switching strategy, the process proceeds to step three, four, or five.

[0064] Third step: If the card switching strategy prioritizes the eSIM card, enable the eSIM card and disable the USIM card;

[0065] Step 4: If the card switching strategy prioritizes the USIM card, enable the USIM card and disable the eSIM card;

[0066] Step 5: If the card switching strategy prioritizes signal quality, measure the signal strength of the eSIM card and the USIM card, and enable the SIM card with the better signal strength.

[0067] If the card switching strategy prioritizes the eSIM card, an eSIM activation command is sent to the communication control chip, and a USIM power-down command is sent at the same time to put the USIM card slot into a high-impedance state, so as to prevent the two cards from occupying the radio frequency channel at the same time.

[0068] If the card switching strategy prioritizes the USIM card, then the reverse operation is performed: first, the USIM card slot is powered on and reset, and then the eSIM logic channel is turned off to ensure that the embedded card completely releases baseband resources.

[0069] If the SIM card switching strategy prioritizes signal quality, then the dual-SIM power supply is temporarily maintained, the radio frequency measurement module is activated, and the received level of the common pilot channel corresponding to eSIM and USIM is sampled respectively. Then the instantaneous values ​​are compared, and the one with the better value is retained and activated, while the other SIM card is immediately powered off.

[0070] Step 6: If the activated SIM card is confirmed to be the eSIM card, enable the logical channel with the embedded general-purpose integrated circuit card, enable the specified configuration file, and read the International Mobile Subscriber Identity and authentication parameters corresponding to the eSIM card;

[0071] Step 7: If the activated SIM card is confirmed to be the USIM card, power on the USIM card slot and wait for the USIM card to respond with a reset response, and read the International Mobile Subscriber Identity and authentication parameters corresponding to the USIM card.

[0072] When the SIM card is activated and identified as an eSIM card, the logical channel between it and the embedded general-purpose integrated circuit card can be opened. The specified configuration file is enabled according to the card operating system process. Then, the International Mobile Subscriber Identity, authentication key and serial number are read in sequence, and the above parameters are written into the baseband security domain to provide credentials for the subsequent authentication process.

[0073] When the SIM card is confirmed to be a USIM card, a working voltage can be applied to the USIM card slot. Wait for the return of the reset response character. After confirming that the electrical connection is reliable, the International Mobile Subscriber Identity (IMSI) and authentication parameters are read through the standard application protocol, and the key availability verification is completed simultaneously.

[0074] To ensure that other communication modes besides the target communication mode no longer adversely affect the target communication mode, the International Mobile Subscriber Identity (IMSI) and authentication parameters can be written into the protocol stack register, the status register corresponding to the activated SIM card can be updated, and the status register corresponding to the inactive SIM card can be set to the off state.

[0075] Accordingly, an attach request can be initiated to the base station via the radio frequency module based on the International Mobile Subscriber Identity (IMSI) corresponding to the activated SIM card and the authentication parameters. After authentication is completed and an attach success message corresponding to the attach request is received, network registration is confirmed to be successful.

[0076] This embodiment enables unified management of multiple modes, including USIM, eSIM, and dual-SIM single-activation. Compared to traditional solutions that require developing separate modules for each mode, this embodiment significantly reduces the number of product models and versions, thereby lowering production, logistics, and after-sales maintenance costs during mass production. Furthermore, by using a communication control chip, the software-implemented SIM card switching solution eliminates the need for external SIM card insertion, avoiding SIM card switching failures caused by physical switching. This improves the overall system integration and stability, and supports future communication needs.

[0077] In the specific application scenario of this application, a communication control chip can be integrated on the motherboard of the communication equipment. The communication control chip integrates software circuitry to switch between USIM, eSIM, and DSSA modes. The communication control chip is interconnected with the motherboard BIOS via a dedicated bus. The BIOS has a pre-installed card switching control program, allowing the user to select the desired operating mode in the BIOS settings interface.

[0078] When the user selects the target communication mode in the BIOS settings interface, the BIOS notifies the communication control chip through control signals. The target communication mode performs card switching action according to the built-in algorithm, activating the corresponding functional units and disabling irrelevant functional units.

[0079] Furthermore, the card-switching policy can be built into the BIOS advanced configuration, which is not visible to end users. The card-switching policy can only be configured before the communication device leaves the factory or with administrator privileges. This can restrict the communication modes that customized communication devices can use, such as restricting customized communication devices to only use eSIM mode, even if the customized communication device has a USIM card slot and related hardware and software. The application of customized communication devices can be restricted through the built-in card-switching policy.

[0080] Meanwhile, the card switching status can be monitored via software drivers after the operating system boots up, and the card switching strategy can be optimized through firmware updates. Each card switching event can also be logged, facilitating later troubleshooting and performance optimization.

[0081] See Figure 2 , Figure 2 This is a schematic diagram of a communication mode switching system structure for a communication device provided in an embodiment of this application. The system includes:

[0082] The target communication module determination module is used to acquire communication mode switching instructions and parse and determine the target communication mode to be switched to;

[0083] The switching preparation module is used to close the activated SIM card session and determine the target SIM card or mode configuration file corresponding to the target communication mode;

[0084] The mode switching module is used to call the communication control chip to update the internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode;

[0085] The mode switching response module is used to generate a mode switching success message in response to the communication mode switching instruction if network registration is successful under the target communication mode.

[0086] This application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described in the above method embodiments.

[0087] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0088] The computer-readable storage medium provided in this embodiment includes the method mentioned above, and has the same effect.

[0089] This application also provides a communication device, see [link to relevant documentation] Figure 3 The present application provides a structural diagram of a communication device, as shown in the embodiment. Figure 3 As shown, it may include a processor 1410 and a memory 1420.

[0090] The processor 1410 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 1410 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1410 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 1410 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 1410 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0091] The memory 1420 may include one or more computer-readable storage media, which may be non-transitory. The memory 1420 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 1420 is used to store at least the following computer program 1421, which, after being loaded and executed by the processor 1410, is capable of implementing the relevant steps in the method executed by the communication device side as disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 1420 may also include an operating system 1422 and data 1423, etc., and the storage method may be temporary storage or permanent storage. The operating system 1422 may include Windows, Linux, Android, etc.

[0092] In some embodiments, the communication device may further include a display screen 1430, an input / output interface 1440, a communication interface 1450, a sensor 1460, a power supply 1470, and a communication bus 1480.

[0093] certainly, Figure 3 The structure of the communication device shown does not constitute a limitation on the communication device in the embodiments of this application. In practical applications, the communication device may include more than Figure 3 More or fewer components as shown, or combinations of certain components.

[0094] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. As the system provided in the embodiments corresponds to the method provided in the embodiments, the description is relatively simple; relevant parts can be found in the method section.

[0095] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of this application.

[0096] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A communication mode switching method of a communication device, characterized by, The mainboard of the communication device is integrated with a communication control chip, and the communication control chip is internally integrated with a software circuit, and the method comprises the following steps: An instruction for switching a communication mode is acquired, and a target communication mode to be switched is determined by analysis; A session of an activated SIM card is closed, and a target SIM card or a mode configuration file corresponding to the target communication mode is determined; The communication control chip is called to update internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode; In the target communication mode, if network registration is successful, a mode switching success message is generated to respond to the instruction for switching the communication mode.

2. The communication mode switching method according to claim 1, characterized by, The instruction for switching the communication mode is acquired by: Acquiring an instruction for switching the communication mode issued by a preset card switching control program in BIOS; the preset card switching control program is used to receive a target communication mode selected by a user through a BIOS setting interface, or to generate recommended information of the target communication mode according to real-time state parameters of the system.

3. The communication mode switching method of claim 1, wherein, If the target communication mode is a dual-card single-activation mode, after the internal registers and the protocol stack parameters are updated according to the target SIM card or the mode configuration file by calling the communication control chip, the following steps are further included: Determining whether the instruction for switching the communication mode specifies an activated SIM card; If the activated SIM card is not specified, the communication control chip is called to set the activated SIM card by using a card switching strategy; If the activated SIM card is specified, a network registration request is initiated based on the specified activated SIM card.

4. The communication mode switching method according to claim 3, characterized by, The communication control chip is called to set the activated SIM card by using the card switching strategy, which comprises the following steps: The communication control chip is called to send a dual-card state query instruction to detect the current states of an eSIM card and a USIM card respectively; If an eSIM card configuration file has been downloaded and enabled, and the USIM card has been inserted and initialized, it is determined that both the eSIM card and the USIM card are in an available state; If the card switching strategy is eSIM card priority, the eSIM card is enabled and the USIM card is closed; If the card switching strategy is USIM card priority, the USIM card is enabled and the eSIM card is closed; If the card switching strategy is signal quality priority, the signal strengths of the eSIM card and the USIM card are measured, and the SIM card with better signal strength is enabled. If the activated SIM card is determined to be the eSIM card, a logical channel with an embedded universal integrated circuit card is enabled, a specified configuration file is enabled, and an international mobile subscriber identity and authentication parameters corresponding to the eSIM card are read; If the activated SIM card is determined to be the USIM card, the USIM card seat is powered on, and a reset response of the USIM card is waited for, and an international mobile subscriber identity and authentication parameters corresponding to the USIM card are read.

5. The communication mode switching method according to claim 4, characterized by, Further comprising: The international mobile subscriber identity and the authentication parameters are written into a protocol stack register, a state register corresponding to the activated SIM card is updated, and a state register corresponding to the SIM card that is not enabled is set to a closed state.

6. The communication mode switching method according to claim 5, characterized by, Before the mode switching success message is generated to respond to the instruction for switching the communication mode, the following steps are further included: According to the activated SIM card corresponding international mobile subscriber identity and the authentication parameters, the radio frequency module initiates an attachment request to a base station; After completing the authentication and receiving an attachment success message corresponding to the attachment request, it is confirmed that the network registration is successful.

7. A communication mode switching system of a communication device, characterized by comprising: The mainboard of the communication device is integrated with a communication control chip, and the communication control chip is internally integrated with a software circuit. A target communication module determination module is configured to acquire a communication mode switching instruction and analyze and determine a target communication mode to be switched; A switching preparation module is configured to close a session of an activated SIM card and determine a target SIM card or a mode configuration file corresponding to the target communication mode; A mode switching module is configured to call the communication control chip to update internal registers and protocol stack parameters according to the target SIM card or the mode configuration file, so as to switch the current communication mode to the target communication mode; A mode switching response module is configured to generate a mode switching success message to respond to the communication mode switching instruction if the network registration is successful in the target communication mode.

8. A communication device, characterized by It comprises: A memory for storing a computer program; A processor for executing the computer program to realize the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer program stored on the computer readable storage medium realizes the steps of the method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterised in that, It comprises a computer program, which realizes the steps of the method according to any one of claims 1 to 6 when executed.