Movatterモバイル変換


[0]ホーム

URL:


CN117135281A - Communication device, telephone card switching method, and computer-readable storage medium - Google Patents

Communication device, telephone card switching method, and computer-readable storage medium
Download PDF

Info

Publication number
CN117135281A
CN117135281ACN202311088114.1ACN202311088114ACN117135281ACN 117135281 ACN117135281 ACN 117135281ACN 202311088114 ACN202311088114 ACN 202311088114ACN 117135281 ACN117135281 ACN 117135281A
Authority
CN
China
Prior art keywords
sim card
card access
switch
sim
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311088114.1A
Other languages
Chinese (zh)
Inventor
李宏源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Hangzhou Douku Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Douku Software Technology Co LtdfiledCriticalHangzhou Douku Software Technology Co Ltd
Priority to CN202311088114.1ApriorityCriticalpatent/CN117135281A/en
Publication of CN117135281ApublicationCriticalpatent/CN117135281A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The application relates to a communication device, a telephone card switching method and a computer readable storage medium. The communication device comprises a baseband chip and at least two paths of SIM card access circuits connected with the baseband chip, wherein the at least two paths of SIM card access circuits comprise a first SIM card access circuit; the first SIM card access circuit comprises a first change-over switch and a plurality of SIM card access devices connected with the first change-over switch, wherein the SIM card access devices are SIM card holders or eSIM card chips, and the SIM card holders are used for inserting SIM cards; and the baseband chip is used for controlling the first switch to switch a first SIM card access device in the plurality of SIM card access devices connected with the first switch to a working state according to a first preset switching condition so as to enable the SIM card or the eSIM card chip corresponding to the first SIM card access device to transmit communication signals with the baseband chip. The communication device can flexibly realize the utilization of a plurality of telephone cards.

Description

Translated fromChinese
通信装置、电话卡切换方法和计算机可读存储介质Communication device, phone card switching method and computer-readable storage medium

技术领域Technical field

本申请涉及电子通信技术领域,特别是涉及一种通信装置、电话卡切换方法和计算机可读存储介质。The present application relates to the field of electronic communication technology, and in particular to a communication device, a telephone card switching method and a computer-readable storage medium.

背景技术Background technique

CPE(Customer Premises Equipment)设备是一种支持连接SIM卡或eSIM卡以用于提供网络连接和数据传输服务的设备。用户可选择将闲置的电话卡用于CPE设备中,基于该电话卡的流量数据为用户提供网络服务。CPE (Customer Premises Equipment) is a device that supports the connection of a SIM card or eSIM card to provide network connection and data transmission services. Users can choose to use idle phone cards in CPE equipment to provide users with network services based on the traffic data of the phone cards.

然而,当前的CPE设备无法充分灵活的实现对多张电话卡的利用。However, current CPE equipment cannot fully flexibly utilize multiple phone cards.

发明内容Contents of the invention

基于此,有必要针对上述技术问题,提供一种能够灵活的实现对多张电话卡的利用的通信装置、电话卡切换方法和计算机可读存储介质。Based on this, it is necessary to address the above technical problems and provide a communication device, a telephone card switching method and a computer-readable storage medium that can flexibly utilize multiple telephone cards.

第一方面,本申请提供了一种通信装置。该装置包括:基带芯片以及与该基带芯片连接的至少两路SIM卡接入电路,该至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,该第一SIM卡接入电路包括第一切换开关以及与该第一切换开关连接的多个SIM卡接入装置,该SIM卡接入装置为SIM卡座或者eSIM卡芯片,该SIM卡座用于插入SIM卡;该基带芯片,用于根据第一预设切换条件控制该第一切换开关将与该第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使该第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与该基带芯片之间传输通信信号。In a first aspect, the present application provides a communication device. The device includes: a baseband chip and at least two SIM card access circuits connected to the baseband chip. The at least two SIM card access circuits include a first SIM card access circuit; wherein, the first SIM card access circuit It includes a first switch and a plurality of SIM card access devices connected to the first switch. The SIM card access device is a SIM card holder or an eSIM card chip. The SIM card holder is used to insert a SIM card; the baseband chip , used to control the first switch according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, so that the third Communication signals are transmitted between the SIM card or eSIM card chip corresponding to a SIM card access device and the baseband chip.

第二方面,本申请还提供了一种电话卡切换方法,用于通信装置包括的基带芯片中,该通信装置还包括与该基带芯片连接的至少两路SIM卡接入电路,该至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,该第一SIM卡接入电路包括第一切换开关以及与该第一切换开关连接的多个SIM卡接入装置,该SIM卡接入装置为SIM卡座或者eSIM卡芯片,该SIM卡座用于插入SIM卡;该方法包括:根据第一预设切换条件控制该第一切换开关将与该第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使该第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与该基带芯片之间传输通信信号。In a second aspect, this application also provides a phone card switching method for use in a baseband chip included in a communication device. The communication device further includes at least two SIM card access circuits connected to the baseband chip. The at least two SIM card access circuits are connected to the baseband chip. The card access circuit includes a first SIM card access circuit; wherein the first SIM card access circuit includes a first switch and a plurality of SIM card access devices connected to the first switch. The device is a SIM card holder or an eSIM card chip, and the SIM card holder is used to insert a SIM card; the method includes: controlling the first switch according to a first preset switching condition to connect multiple SIM cards to the first switch. The first SIM card access device in the access device is switched to a working state, so that communication signals are transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip.

第三方面,本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述二方面中任一项所述的方法的步骤。In a third aspect, the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in either of the above two aspects are implemented.

上述通信装置、电话卡切换方法和计算机可读存储介质,通信装置包括基带芯片以及与基带芯片连接的至少两路SIM卡接入电路,至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,第一SIM卡接入电路包括第一切换开关以及与第一切换开关连接的多个SIM卡接入装置,SIM卡接入装置为SIM卡座或者eSIM卡芯片,SIM卡座用于插入SIM卡;基带芯片,用于根据第一预设切换条件控制第一切换开关将与第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。由于第一SIM卡接入电路包括与第一切换开关连接的多个SIM卡接入装置,多个SIM卡接入装置可以为eSIM卡芯片或者为SIM卡座以供用户插入SIM卡。也即是,第一SIM卡接入电路中,可供用户插入多个闲置SIM卡或连接eSIM卡芯片。进而,基带芯片根据第一预设切换条件控制第一切换开关将与第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,也即是,基带芯片根据第一预设切换条件,灵活选择基于多个SIM卡或eSIM卡中的一个进行工作。这样,无需用户对SIM卡或eSIM卡进行置换或者配置,通信装置即可自动选择合适的SIM卡或eSIM卡进行通信,实现对各SIM卡或eSIM卡的充分利用,将该通信装置应用于CPE设备中,即可充分有效的提升CPE设备对多个SIM卡或eSIM卡使用的灵活性。In the above-mentioned communication device, phone card switching method and computer-readable storage medium, the communication device includes a baseband chip and at least two SIM card access circuits connected to the baseband chip, and the at least two SIM card access circuits include a first SIM card access circuit. ; Wherein, the first SIM card access circuit includes a first switch and a plurality of SIM card access devices connected to the first switch. The SIM card access device is a SIM card holder or an eSIM card chip, and the SIM card holder is used for Insert the SIM card; the baseband chip is used to control the first switch according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, So that the communication signal is transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip. Since the first SIM card access circuit includes multiple SIM card access devices connected to the first switch, the multiple SIM card access devices may be eSIM card chips or SIM card holders for users to insert SIM cards. That is to say, the first SIM card is connected to the circuit, allowing the user to insert multiple idle SIM cards or connect eSIM card chips. Furthermore, the baseband chip controls the first switch according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, that is, the baseband The chip flexibly chooses to work based on one of multiple SIM cards or eSIM cards according to the first preset switching condition. In this way, there is no need for the user to replace or configure the SIM card or eSIM card, and the communication device can automatically select the appropriate SIM card or eSIM card for communication, realizing full utilization of each SIM card or eSIM card, and applying the communication device to CPE In the device, it can fully and effectively improve the flexibility of the CPE device to use multiple SIM cards or eSIM cards.

附图说明Description of the drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1为一个实施例中通信装置的结构示意图;Figure 1 is a schematic structural diagram of a communication device in an embodiment;

图2为一个实施例中另一种通信装置的结构示意图;Figure 2 is a schematic structural diagram of another communication device in an embodiment;

图3为一个实施例中另一种通信装置的结构示意图;Figure 3 is a schematic structural diagram of another communication device in an embodiment;

图4为一个实施例中检测通信质量的流程示意图;Figure 4 is a schematic flowchart of detecting communication quality in one embodiment;

图5为一个实施例中CPE设备的结构示意图;Figure 5 is a schematic structural diagram of CPE equipment in an embodiment;

图6为一个实施例中CPE设备的内部结构图。Figure 6 is an internal structure diagram of a CPE device in an embodiment.

具体实施方式Detailed ways

为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图对本申请的具体实施方式做详细的说明。应当理解,在下面的描述中阐述了很多具体细节以便于充分理解本申请,但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似改进,因此本申请不受下面公开的具体实施例的限制。In order to make the above objects, features and advantages of the present application more obvious and easy to understand, the specific implementation modes of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that many specific details are set forth in the following description to fully understand the present application, but the present application can be implemented in many other ways different from those described here, and those skilled in the art can implement the application without departing from the connotation of the present application. Similar improvements are made below, so the present application is not limited by the specific embodiments disclosed below.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing specific embodiments only and is not intended to limit the application.

在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of the present application, it should be understood that the terms “first” and “second” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.

在本申请中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In this application, unless otherwise clearly stated and limited, the terms "installation", "connection", "connection", "fixing" and other terms should be understood in a broad sense. For example, it can be a fixed connection or a detachable connection. , or integrated into one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be an internal connection between two elements or an interactive relationship between two elements, unless otherwise specified restrictions. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

电话卡可以为eSIM卡或SIM卡。其中,eSIM卡和SIM卡是两种不同的卡片技术。eSIM是一种嵌入式SIM卡,可集成为芯片,通过软件进行激活和使用。SIM卡则是一种传统的物理卡片,需要插入到设备中才能使用双卡CPE设备是一种支持连接双个SIM卡或eSIM的设备,通常用于提供网络连接和数据传输服务。eSIM卡和SIM卡可以应用于CPE设备中,CPE设备基于eSIM卡和SIM卡与基站通信传输通信信号,然后转换为WiFi信号或有线信号等,供用户的智能终端连接,实现对eSIM卡和SIM卡等电话卡的利用。The phone card can be an eSIM card or a SIM card. Among them, eSIM card and SIM card are two different card technologies. eSIM is an embedded SIM card that can be integrated into a chip and activated and used through software. The SIM card is a traditional physical card that needs to be inserted into the device to use it. A dual-card CPE device is a device that supports the connection of dual SIM cards or eSIM. It is usually used to provide network connection and data transmission services. eSIM cards and SIM cards can be used in CPE equipment. The CPE equipment communicates with the base station based on the eSIM card and SIM card to transmit communication signals, and then converts them into WiFi signals or wired signals for the user's smart terminal to connect to realize the communication between eSIM cards and SIM cards. Utilization of phone cards and other phone cards.

通过使用双卡CPE设备,用户可以灵活地选择使用哪张电话卡进行数据通信,提高网络可靠性和稳定性。该设备一般也支持多种网络接口,如WiFi、有线LAN(局域网,LocalArea Network)、USB(通用串行总线,Universal Serial Bus)等,可以满足不同用户的接入需求。然而,当前用户存在多张SIM卡或者eSIM卡用于CPE设备中时,需要用户主动在CPE设备中切换闲置的电话卡,以使用各电话卡的流量数据,比较繁琐,存在对SIM卡的利用不够灵活的问题。By using dual-card CPE equipment, users can flexibly choose which phone card to use for data communication, improving network reliability and stability. The device generally also supports a variety of network interfaces, such as WiFi, wired LAN (Local Area Network), USB (Universal Serial Bus), etc., which can meet the access needs of different users. However, when users currently have multiple SIM cards or eSIM cards used in CPE equipment, the user needs to actively switch idle phone cards in the CPE equipment to use the traffic data of each phone card. This is relatively cumbersome and the use of SIM cards is not flexible enough. The problem.

有鉴于此,本申请实施例中,提供了一种通信装置,可以实现对多张SIM卡或eSIM卡的灵活利用。In view of this, embodiments of the present application provide a communication device that can flexibly utilize multiple SIM cards or eSIM cards.

在一个实施例中,如图1所示,示出了本申请实施例提供的一种通信装置的结构示意图。该通信装置包括基带芯片101以及与基带芯片101连接的至少两路SIM卡接入电路,至少两路SIM卡接入电路包括第一SIM卡接入电路102;其中,第一SIM卡接入电路102包括第一切换开关K1以及与第一切换开关K1连接的多个SIM卡接入装置J1,SIM卡接入装置J1为SIM卡座或者eSIM卡芯片,SIM卡座用于插入SIM卡。In one embodiment, as shown in FIG. 1 , a schematic structural diagram of a communication device provided by an embodiment of the present application is shown. The communication device includes a baseband chip 101 and at least two SIM card access circuits connected to the baseband chip 101. The at least two SIM card access circuits include a first SIM card access circuit 102; wherein, the first SIM card access circuit 102 includes a first switch K1 and multiple SIM card access devices J1 connected to the first switch K1. The SIM card access devices J1 are SIM card holders or eSIM card chips, and the SIM card holders are used to insert SIM cards.

基带芯片101用于根据第一预设切换条件控制第一切换开关K1将与第一切换开关K1连接的多个SIM卡接入装置J1中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。需要说明的是,图1中针对至少两路SIM卡接入电路,仅示出了第一SIM卡接入电路102,未示出其他SIM卡接入电路,并且仅以第一SIM卡接入电路102包括三个SIM卡接入装置J1作为示例,并不用于限定本申请。The baseband chip 101 is used to control the first switch K1 according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices J1 connected to the first switch K1 to the working state, so as to Communication signals are transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip 101 . It should be noted that, for at least two SIM card access circuits, only the first SIM card access circuit 102 is shown in FIG. 1 , other SIM card access circuits are not shown, and only the first SIM card access circuit is shown. The circuit 102 includes three SIM card access devices J1 as an example and is not used to limit this application.

其中,基带芯片101是指用来合成即将发射的基带信号,或对接收到的基带信号进行解码的芯片,其主要完成通信装置的信息处理功能。基带芯片101的基本结构可以为微处理器和数字信号处理器,微处理器可作为整颗芯片的控制中心。因此,通信装置中的至少两路SIM卡接入电路均需要与基带芯片101连接,以通过基带芯片101进行控制。Among them, the baseband chip 101 refers to a chip used to synthesize the baseband signal to be transmitted or to decode the received baseband signal. It mainly completes the information processing function of the communication device. The basic structure of the baseband chip 101 can be a microprocessor and a digital signal processor, and the microprocessor can serve as the control center of the entire chip. Therefore, at least two SIM card access circuits in the communication device need to be connected to the baseband chip 101 to be controlled by the baseband chip 101 .

该至少两路SIM卡接入电路中包括第一SIM卡接入电路102。也即是,第一SIM卡接入电路102与基带芯片101连接。The at least two SIM card access circuits include a first SIM card access circuit 102 . That is, the first SIM card access circuit 102 is connected to the baseband chip 101 .

其中,第一SIM卡接入电路102包括第一切换开关K1以及与第一切换开关K1连接的多个SIM卡接入装置J1。也即是,各SIM卡接入装置J1与第一切换开关K1连接,而第一切换开关K1与基带芯片101连接,从而实现第一SIM卡接入电路102。The first SIM card access circuit 102 includes a first switch K1 and a plurality of SIM card access devices J1 connected to the first switch K1. That is, each SIM card access device J1 is connected to the first switch K1, and the first switch K1 is connected to the baseband chip 101, thereby realizing the first SIM card access circuit 102.

可选的,第一SIM卡接入电路102还包括第一USIM(Universal SubscriberIdentity Module,全球用户识别卡)总线,第一切换开关K1与多个SIM卡接入装置J1连接,并与第一USIM总线连接;进而,第一USIM总线与基带芯片101连接。Optionally, the first SIM card access circuit 102 also includes a first USIM (Universal Subscriber Identity Module, Global Subscriber Identity Card) bus. The first switch K1 is connected to multiple SIM card access devices J1 and is connected to the first USIM bus connection; furthermore, the first USIM bus is connected to the baseband chip 101.

对于各SIM卡接入装置J1,该SIM卡接入装置J1为用于插入SIM卡的SIM卡座或者eSIM卡芯片,而一个eSIM卡芯片对应一张eSIM卡,也即是,一个SIM卡接入装置J1对应一张SIM卡或者一张eSIM卡。相应的,第一SIM卡接入电路102包括多个SIM卡接入装置J1,也即是,该第一SIM卡接入电路102可接入多张SIM卡或者eSIM卡。其中,eSIM卡可通过基带芯片101软件激活该eSIM卡芯片来使用;SIM卡可直接插入SIM卡座中使用。For each SIM card access device J1, the SIM card access device J1 is a SIM card holder or an eSIM card chip for inserting a SIM card, and one eSIM card chip corresponds to one eSIM card, that is, one SIM card interface The input device J1 corresponds to a SIM card or an eSIM card. Correspondingly, the first SIM card access circuit 102 includes multiple SIM card access devices J1, that is, the first SIM card access circuit 102 can access multiple SIM cards or eSIM cards. Among them, the eSIM card can be used by activating the eSIM card chip through the baseband chip 101 software; the SIM card can be directly inserted into the SIM card holder for use.

本申请实施例中,基带芯片101中可预先部署有第一预设切换条件,该第一预设切换条件用于确定将第一SIM卡接入电路102中的哪个SIM卡接入装置J1作为第一SIM卡接入装置。这样,在通信装置工作时,基带芯片101可基于第一预设切换条件从多个SIM卡接入装置J1确定第一SIM卡接入装置,并控制第一切换开关K1切换为使得该第一SIM卡接入装置与基带芯片101连通的状态,从而使得该第一SIM卡接入装置处于工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。In the embodiment of the present application, a first preset switching condition may be pre-deployed in the baseband chip 101. The first preset switching condition is used to determine which SIM card access device J1 in the first SIM card access circuit 102 is used as the The first SIM card access device. In this way, when the communication device is working, the baseband chip 101 can determine the first SIM card access device from the plurality of SIM card access devices J1 based on the first preset switching condition, and control the first switch K1 to switch to make the first The SIM card access device is connected to the baseband chip 101, so that the first SIM card access device is in a working state, so that the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip 101 are connected. Transmit communication signals.

可选的,第一切换开关K1可以为单刀多掷开关。这样,第一切换开关K1的各个固定端分别与基带芯片101和各SIM卡接入装置J1连接。基带芯片101根据第一预设切换条件控制第一切换开关K1时,可控制第一切换开关K1的活动端打到与第一SIM卡接入装置和基带芯片101连接的固定端上,从而实现第一SIM卡接入装置与基带芯片101的连通。Optionally, the first switch K1 may be a single-pole multi-throw switch. In this way, each fixed end of the first switch K1 is connected to the baseband chip 101 and each SIM card access device J1 respectively. When the baseband chip 101 controls the first switch K1 according to the first preset switching condition, the movable end of the first switch K1 can be controlled to hit the fixed end connected to the first SIM card access device and the baseband chip 101, thereby realizing The first SIM card access device is connected to the baseband chip 101.

当第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101连通后,二者之间可传输通信信号。将该通信装置应用于CPE设备中,那么,该CPE设备即可基于该第一SIM卡接入装置对应的SIM卡或者eSIM卡,接收运营商基站发出的通信信号(例如5G信号),然后转换为WiFi信号或有线信号,供用户的智能终端连接。When the SIM card or eSIM card chip corresponding to the first SIM card access device is connected to the baseband chip 101, communication signals can be transmitted between the two. If the communication device is applied to CPE equipment, then the CPE equipment can receive communication signals (such as 5G signals) sent by the operator's base station based on the SIM card or eSIM card corresponding to the first SIM card access device, and then convert It is a WiFi signal or a wired signal for the user's smart terminal to connect to.

由此可以理解,由于第一SIM卡接入电路102包括多个SIM卡接入装置J1,也即是,用户可以将闲置的多张SIM卡或者eSIM卡均配置于该通信装置中,而通信装置可根据第一预设切换条件自动从多张SIM卡或者eSIM卡对应的SIM卡接入装置J1中确定第一SIM卡接入装置,从而自动切换并使用各SIM卡或者eSIM卡进行通信,以充分利用用户家庭中的多张SIM卡,实现流量的均衡调度和更低的流量数据资费消耗,且可降低CPE使用的成本。It can be understood from this that since the first SIM card access circuit 102 includes multiple SIM card access devices J1, that is, the user can configure multiple idle SIM cards or eSIM cards in the communication device, and the communication The device can automatically determine the first SIM card access device J1 corresponding to multiple SIM cards or eSIM cards according to the first preset switching condition, thereby automatically switching and using each SIM card or eSIM card for communication, It can make full use of multiple SIM cards in the user's home to achieve balanced traffic scheduling and lower traffic data tariff consumption, and can reduce the cost of CPE usage.

上述通信装置,包括基带芯片101以及与基带芯片101连接的至少两路SIM卡接入电路,至少两路SIM卡接入电路包括第一SIM卡接入电路102;其中,第一SIM卡接入电路102包括第一切换开关K1以及与第一切换开关K1连接的多个SIM卡接入装置J1,SIM卡接入装置J1为SIM卡座或者eSIM卡芯片,SIM卡座用于插入SIM卡;基带芯片101,用于根据第一预设切换条件控制第一切换开关K1将与第一切换开关K1连接的多个SIM卡接入装置J1中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。由于第一SIM卡接入电路102包括与第一切换开关K1连接的多个SIM卡接入装置J1,多个SIM卡接入装置J1可以为eSIM卡芯片或者为SIM卡座以供用户插入SIM卡。也即是,第一SIM卡接入电路102中,可供用户插入多个闲置SIM卡或连接eSIM卡芯片。进而,基带芯片101根据第一预设切换条件控制第一切换开关K1将与第一切换开关K1连接的多个SIM卡接入装置J1中的第一SIM卡接入装置切换为工作状态,也即是,基带芯片101根据第一预设切换条件,灵活选择基于多个SIM卡或eSIM卡中的一个进行工作。这样,无需用户对SIM卡或eSIM卡进行置换或者配置,通信装置即可自动选择合适的SIM卡或eSIM卡进行通信,实现对各SIM卡或eSIM卡的充分利用,将该通信装置应用于CPE设备中,即可充分有效的提升CPE设备对多个SIM卡或eSIM卡使用的灵活性。The above communication device includes a baseband chip 101 and at least two SIM card access circuits connected to the baseband chip 101. The at least two SIM card access circuits include a first SIM card access circuit 102; wherein, the first SIM card access circuit The circuit 102 includes a first switch K1 and multiple SIM card access devices J1 connected to the first switch K1. The SIM card access devices J1 are SIM card holders or eSIM card chips, and the SIM card holders are used to insert SIM cards; The baseband chip 101 is used to control the first switch K1 according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices J1 connected to the first switch K1 to the working state, So that the communication signal is transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip 101 . Since the first SIM card access circuit 102 includes multiple SIM card access devices J1 connected to the first switch K1, the multiple SIM card access devices J1 may be eSIM card chips or SIM card holders for users to insert SIM cards. Card. That is to say, the first SIM card access circuit 102 allows the user to insert multiple idle SIM cards or connect eSIM card chips. Furthermore, the baseband chip 101 controls the first switch K1 according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices J1 connected to the first switch K1 to the working state, that is, That is, the baseband chip 101 flexibly chooses to work based on one of multiple SIM cards or eSIM cards according to the first preset switching condition. In this way, there is no need for the user to replace or configure the SIM card or eSIM card, and the communication device can automatically select the appropriate SIM card or eSIM card for communication, realizing full utilization of each SIM card or eSIM card, and applying the communication device to CPE In the device, it can fully and effectively improve the flexibility of the CPE device to use multiple SIM cards or eSIM cards.

在一个实施例中,如图2所示,示出了本申请实施例提供的另一种通信装置的结构示意图。其中,至少两路SIM卡接入电路还包括第二SIM卡接入电路103,第二SIM卡接入电路103包括一个SIM卡接入装置J1。In one embodiment, as shown in FIG. 2 , a schematic structural diagram of another communication device provided by an embodiment of the present application is shown. Among them, at least two SIM card access circuits also include a second SIM card access circuit 103, and the second SIM card access circuit 103 includes a SIM card access device J1.

如上文所说,SIM卡接入装置J1为用于插入SIM卡的SIM卡座或者eSIM卡芯片。也即是,该第二SIM卡接入电路103可用于插入SIM卡,基于SIM卡进行通信,或者,基于eSIM卡进行通信。As mentioned above, the SIM card access device J1 is a SIM card holder or an eSIM card chip for inserting a SIM card. That is to say, the second SIM card access circuit 103 can be used to insert a SIM card and communicate based on the SIM card, or communicate based on the eSIM card.

可选的,基带芯片101可同时基于第一SIM卡接入电路102和第二SIM卡接入电路103工作。也即是,第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片以及第二SIM卡接入电路103对应的SIM卡或者eSIM卡芯片,可以同时与基带芯片101之间传输通信信号。换言之,通信装置可同时基于第一SIM卡接入电路102和第二SIM卡接入电路103对应的SIM卡或者eSIM卡,与基站通信,基于这两路SIM卡接入电路中的SIM卡或者eSIM卡中的流量数据,输出WiFi等信号供终端用户使用。Optionally, the baseband chip 101 can work based on the first SIM card access circuit 102 and the second SIM card access circuit 103 at the same time. That is to say, the SIM card or eSIM card chip corresponding to the first SIM card access device and the SIM card or eSIM card chip corresponding to the second SIM card access circuit 103 can transmit communication signals with the baseband chip 101 at the same time. In other words, the communication device can communicate with the base station based on the SIM cards or eSIM cards corresponding to the first SIM card access circuit 102 and the second SIM card access circuit 103 at the same time, based on the SIM cards or eSIM cards in the two SIM card access circuits. The traffic data in the eSIM card outputs WiFi and other signals for end users to use.

可选的,基带芯片101可仅基于第一SIM卡接入电路102和第二SIM卡接入电路103中的一个工作。Optionally, the baseband chip 101 may work based on only one of the first SIM card access circuit 102 and the second SIM card access circuit 103 .

可选的,第二SIM卡接入电路103还包括第二USIM总线,第二USIM总线与这一个SIM卡接入装置J1和基带芯片101连接,以使第二SIM卡接入电路103中的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。Optionally, the second SIM card access circuit 103 also includes a second USIM bus. The second USIM bus is connected to the SIM card access device J1 and the baseband chip 101, so that the second SIM card access circuit 103 can Communication signals are transmitted between the SIM card or eSIM card chip and the baseband chip 101.

本申请实施例中,该通信装置可包括第一SIM卡接入电路102和第二SIM卡接入电路103,这样,将该通信装置应用于CPE设备中,CPE设备可同时基于两个SIM卡或eSIM卡工作,实现对闲置卡的充分利用,且保证CPE的通信质量。可以理解的是,当用户存在多张闲置卡时,在第二SIM卡接入电路103中配置一张卡,其余卡可配置于第二SIM卡接入电路103中,这样,基带芯片101根据第一切换条件对第一切换开关K1进行控制,结合两路SIM卡接入电路,自动实现对所有卡的使用,提升对电话卡的流量数据使用的灵活性。并且,仅通过第一切换开关K1即可实现,其成本和算法复杂度也很低。In the embodiment of the present application, the communication device may include a first SIM card access circuit 102 and a second SIM card access circuit 103. In this way, the communication device is applied to CPE equipment, and the CPE equipment can be based on two SIM cards at the same time. Or eSIM card work to make full use of idle cards and ensure the communication quality of CPE. It can be understood that when the user has multiple idle cards, one card can be configured in the second SIM card access circuit 103, and the remaining cards can be configured in the second SIM card access circuit 103. In this way, the baseband chip 101 can be configured according to The first switching condition controls the first switching switch K1 and combines the two SIM card access circuits to automatically realize the use of all cards and improve the flexibility of using the traffic data of the phone card. Moreover, it can be realized only through the first switch K1, and its cost and algorithm complexity are also very low.

在一个实施例中,如图3所示,示出了本申请实施例提供的另一种通信装置的结构示意图。其中,通信装置中的至少两路SIM卡接入电路还包括第三SIM卡接入电路104,第三SIM卡接入电路104包括第二切换开关K2以及与第二切换开关连接的多个SIM卡接入装置J1。In one embodiment, as shown in FIG. 3 , a schematic structural diagram of another communication device provided by an embodiment of the present application is shown. Wherein, at least two SIM card access circuits in the communication device also include a third SIM card access circuit 104. The third SIM card access circuit 104 includes a second switch K2 and a plurality of SIMs connected to the second switch. Card access device J1.

基带芯片101用于根据第二预设切换条件控制第二切换开关K2将与第二切换开关K2连接的多个SIM卡接入装置J1中的第二SIM卡接入装置切换为工作状态,以使第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。The baseband chip 101 is used to control the second switch K2 according to the second preset switching condition to switch the second SIM card access device J1 among the plurality of SIM card access devices connected to the second switch K2 to the working state, so as to Communication signals are transmitted between the SIM card or eSIM card chip corresponding to the second SIM card access device and the baseband chip 101 .

其中,该至少两路SIM卡接入电路中包括第三SIM卡接入电路104。也即是,第三SIM卡接入电路104与基带芯片101连接。The at least two SIM card access circuits include a third SIM card access circuit 104. That is, the third SIM card access circuit 104 is connected to the baseband chip 101 .

其中,第三SIM卡接入电路104包括第二切换开关K2以及与第二切换开关K2连接的多个SIM卡接入装置J1。也即是,各SIM卡接入装置J1与第二切换开关K2连接,而第二切换开关K2与基带芯片101连接,从而实现第三SIM卡接入电路104。The third SIM card access circuit 104 includes a second switch K2 and a plurality of SIM card access devices J1 connected to the second switch K2. That is, each SIM card access device J1 is connected to the second switch K2, and the second switch K2 is connected to the baseband chip 101, thereby realizing the third SIM card access circuit 104.

可选的,第三SIM卡接入电路104还包括第三USIM总线,第二切换开关K2与多个SIM卡接入装置J1连接,并与第三USIM总线连接;进而,第三USIM总线与基带芯片101连接。Optionally, the third SIM card access circuit 104 also includes a third USIM bus, and the second switch K2 is connected to multiple SIM card access devices J1 and is connected to the third USIM bus; furthermore, the third USIM bus is connected to The baseband chip 101 is connected.

可选的,第一SIM卡接入电路102中包括多个SIM卡接入装置J1,各SIM卡接入装置J1均用于插入SIM卡;同时,第三SIM卡接入电路104中包括两个SIM卡接入装置J1,其中一个为插入SIM卡的SIM卡座,另一个为eSIM卡芯片。Optionally, the first SIM card access circuit 102 includes multiple SIM card access devices J1, each SIM card access device J1 is used to insert a SIM card; at the same time, the third SIM card access circuit 104 includes two There are two SIM card access devices J1, one of which is a SIM card holder for inserting the SIM card, and the other is an eSIM card chip.

本申请实施例中,基带芯片101中可预先部署有第二预设切换条件,该第二预设切换条件用于确定将第三SIM卡接入电路104中的哪个SIM卡接入装置J1作为第二SIM卡接入装置。这样,在通信装置工作时,基带芯片101可基于第二预设切换条件从第三SIM卡接入电路104中的多个SIM卡接入装置J1中确定该第二SIM卡接入装置,并控制第二切换开关K2切换为使得该第二SIM卡接入装置与基带芯片101连通的状态,从而使得该第二SIM卡接入装置处于工作状态,以使第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片101之间传输通信信号。In the embodiment of the present application, a second preset switching condition may be pre-deployed in the baseband chip 101. The second preset switching condition is used to determine which SIM card access device J1 in the third SIM card access circuit 104 is used as the The second SIM card is connected to the device. In this way, when the communication device is working, the baseband chip 101 can determine the second SIM card access device from the plurality of SIM card access devices J1 in the third SIM card access circuit 104 based on the second preset switching condition, and Control the second switch K2 to switch to a state in which the second SIM card access device is connected to the baseband chip 101, so that the second SIM card access device is in a working state, so that the corresponding Communication signals are transmitted between the SIM card or eSIM card chip and the baseband chip 101.

可选的,与第一切换开关K1同理,第二切换开关K2可以为单刀多掷开关。这样,第二切换开关K2的各个固定端分别与基带芯片101和第三SIM卡接入电路104中的各SIM卡接入装置J1连接。基带芯片101根据第二预设切换条件控制第二切换开关K2时,可控制第二切换开关K2的活动端打到与第二SIM卡接入装置和基带芯片101连接的固定端上,从而实现第二SIM卡接入装置与基带芯片101的连通。Optionally, in the same manner as the first switch K1, the second switch K2 may be a single-pole multi-throw switch. In this way, each fixed end of the second switch K2 is connected to the baseband chip 101 and each SIM card access device J1 in the third SIM card access circuit 104 respectively. When the baseband chip 101 controls the second switch K2 according to the second preset switching condition, the movable end of the second switch K2 can be controlled to hit the fixed end connected to the second SIM card access device and the baseband chip 101, thereby achieving The second SIM card accesses the connection between the device and the baseband chip 101.

将该通信装置应用于CPE设备中,那么,该CPE设备即可基于该第二SIM卡接入装置对应的SIM卡或者eSIM卡,接收运营商基站发出的通信信号,然后转换为WiFi信号或有线信号,供用户的智能终端连接。If the communication device is applied to CPE equipment, then the CPE equipment can receive the communication signal sent by the operator's base station based on the SIM card or eSIM card corresponding to the second SIM card access device, and then convert it into a WiFi signal or a wired signal for users’ smart terminals to connect.

可选的,基带芯片101可同时基于第一SIM卡接入电路102和第三SIM卡接入电路104工作。或者,基带芯片101可仅基于第一SIM卡接入电路102和第三SIM卡接入电路104中的一个工作。Optionally, the baseband chip 101 can work based on the first SIM card access circuit 102 and the third SIM card access circuit 104 at the same time. Alternatively, the baseband chip 101 may work based on only one of the first SIM card access circuit 102 and the third SIM card access circuit 104 .

由此可以理解,由于第一SIM卡接入电路102和第三SIM卡接入电路104分别包括多个SIM卡接入装置J1,也即是,用户可以将闲置的多张SIM卡或者eSIM卡均配置于该通信装置中,而通信装置可根据第一预设切换条件以及第二预设切换条件,分别针对第一SIM卡接入电路102和第三SIM卡接入电路104,自动从多张SIM卡或者eSIM卡对应的SIM卡接入装置J1中确定第一SIM卡接入装置和第二SIM卡接入装置,从而自动切换并使用各SIM卡或者eSIM卡进行通信,以充分利用用户家庭中的多张SIM卡,实现流量的均衡调度和更低的流量数据资费消耗,且可降低CPE使用的成本。It can be understood from this that since the first SIM card access circuit 102 and the third SIM card access circuit 104 respectively include multiple SIM card access devices J1, that is, the user can use multiple idle SIM cards or eSIM cards. are configured in the communication device, and the communication device can automatically switch from multiple SIM cards to the first SIM card access circuit 102 and the third SIM card access circuit 104 respectively according to the first preset switching condition and the second preset switching condition. The first SIM card access device and the second SIM card access device are determined in the SIM card access device J1 corresponding to each SIM card or eSIM card, so as to automatically switch and use each SIM card or eSIM card for communication to fully utilize the user Multiple SIM cards in the home can achieve balanced traffic scheduling and lower traffic data tariff consumption, and can reduce the cost of CPE usage.

下面对基于第一预设切换条件控制第一切换开关的过程进行说明。The process of controlling the first switch based on the first preset switching condition will be described below.

在一个实施例中,第一预设切换条件包括以下多个条件中的至少一个:In one embodiment, the first preset switching condition includes at least one of the following conditions:

1、将与第一切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第一SIM卡接入装置。1. The one with the highest priority among the multiple SIM card access devices connected to the first switch is used as the first SIM card access device.

其中,通信装置中预先部署有针对与第一切换开关连接的多个SIM卡接入装置的优先级。例如,各SIM卡接入装置的标识与其对应的优先级标识绑定并存储于基带芯片中,从而使得基带芯片基于该绑定关系确定当前优先级最高的SIM卡接入装置并将其作为第一SIM卡接入装置,从而控制第一切换开关对应执行切换动作。Wherein, priorities for multiple SIM card access devices connected to the first switch are pre-deployed in the communication device. For example, the identification of each SIM card access device is bound to its corresponding priority identification and stored in the baseband chip, so that the baseband chip determines the current highest priority SIM card access device based on the binding relationship and uses it as the third A SIM card is connected to the device to control the first switching switch to perform a corresponding switching action.

可选的,用户可将智能终端与通信装置连接,基于智能终端设定与第一切换开关连接的多个SIM卡接入装置的优先级,进而智能终端将所设定的优先级数据发送至通信装置并存储于基带芯片中。Optionally, the user can connect the smart terminal to the communication device, set the priorities of multiple SIM card access devices connected to the first switch based on the smart terminal, and then the smart terminal sends the set priority data to communication device and stored in the baseband chip.

需要说明的是,在一段时间内,例如一个月内,随着当前的第一SIM卡接入装置对应的SIM卡或eSIM卡的可用流量数据被不断使用,在当前的第一SIM卡接入装置对应的SIM卡或eSIM卡的可用流量数据使用完后,当前的第一SIM卡接入装置将不再作为最高优先级的SIM卡接入装置。也即是,基带芯片根据上述各SIM卡接入装置的优先级,将重新确定当前优先级最高的SIM卡接入装置作为第一SIM卡接入装置,并继续基于该重新确定的第一SIM卡接入装置进行通信。It should be noted that within a period of time, such as within a month, as the available traffic data of the SIM card or eSIM card corresponding to the current first SIM card access device is continuously used, when the current first SIM card access device After the available traffic data of the SIM card or eSIM card corresponding to the device is used up, the current first SIM card access device will no longer serve as the highest priority SIM card access device. That is to say, the baseband chip will re-determine the SIM card access device with the highest current priority as the first SIM card access device based on the priorities of the above-mentioned SIM card access devices, and continue to use the re-determined first SIM card access device. The card accesses the device for communication.

2、将与第一切换开关连接的多个SIM卡接入装置中通信质量最高的作为第一SIM卡接入装置。2. Use the one with the highest communication quality among the multiple SIM card access devices connected to the first switch as the first SIM card access device.

可选的,在需要确定第一SIM卡接入装置时,基带芯片可控制通信装置主动检测与第一切换开关连接的各SIM卡接入装置的通信质量,也即是,检测通信装置基于与第一切换开关连接的各SIM卡接入装置对应的SIM卡或eSIM卡与基站或者终端通信时的通信质量。Optionally, when it is necessary to determine the first SIM card access device, the baseband chip can control the communication device to actively detect the communication quality of each SIM card access device connected to the first switch. That is, the detection communication device is based on the Communication quality when the SIM card or eSIM card corresponding to each SIM card access device connected to the first switch communicates with the base station or terminal.

可选的,基带芯片可周期性检测与第一切换开关连接的各SIM卡接入装置的通信质量,并采用对应的通信质量等级标识各SIM卡接入装置。这样,基带芯片可直接查询各SIM卡接入装置对应的通信质量等级,从而确定哪个通信质量最高,以将其作为第一SIM卡接入装置。其中,周期性检测的周期可根据通信装置所处的环境设定,例如所处环境变换程度较小,可设定较大值,这样,既可以确定各SIM卡接入装置的通信质量,也可以节省通信装置的功耗。Optionally, the baseband chip can periodically detect the communication quality of each SIM card access device connected to the first switch, and use the corresponding communication quality level to identify each SIM card access device. In this way, the baseband chip can directly query the communication quality level corresponding to each SIM card access device, thereby determining which one has the highest communication quality and uses it as the first SIM card access device. Among them, the period of periodic detection can be set according to the environment in which the communication device is located. For example, if the environment changes to a small degree, a larger value can be set. In this way, the communication quality of each SIM card access device can be determined, and the communication quality of each SIM card access device can be determined. The power consumption of the communication device can be saved.

在一个实施例中,如图4所示,示出了本申请实施例提供的一种检测通信质量的流程示意图。通信质量的检测过程包括:In one embodiment, as shown in FIG. 4 , a schematic flowchart of detecting communication quality provided by an embodiment of the present application is shown. The communication quality detection process includes:

步骤401,对于各SIM卡接入装置,检测SIM卡接入装置对应的SIM卡或eSIM卡的网速、信号强度和通信频率中的至少一个。其中,通信频率为通信装置与基站之间通信的频率。Step 401: For each SIM card access device, detect at least one of the network speed, signal strength and communication frequency of the SIM card or eSIM card corresponding to the SIM card access device. The communication frequency is the frequency used for communication between the communication device and the base station.

步骤402,根据检测结果确定SIM卡接入装置的通信质量。Step 402: Determine the communication quality of the SIM card access device according to the detection results.

在检测过程中,对于与第一切换开关连接的各SIM卡接入装置,基带芯片可控制第一切换开关将该SIM卡接入装置与基带芯片连通,使得通信装置暂时基于该SIM卡接入装置对应的SIM卡或eSIM卡与基站或者终端进行通信,并检测通信过程中的网速、信号强度和通信频率中的至少一个。During the detection process, for each SIM card access device connected to the first switch, the baseband chip can control the first switch to connect the SIM card access device with the baseband chip, so that the communication device temporarily accesses based on the SIM card. The SIM card or eSIM card corresponding to the device communicates with the base station or terminal, and detects at least one of network speed, signal strength and communication frequency during the communication process.

轮询检测各SIM卡接入装置对应的网速、信号强度和通信频率中的至少一个,并存储检测结果。将各SIM卡接入装置对应的检测结果进行对比,根据对比结果确定各SIM卡接入装置对应的通信质量。例如,将各SIM卡接入装置对应的网速进行对比,根据网速大小依次对应标识通信质量等级,其中网速最大的可采用最高通信质量等级标识。基于信号强度和通信频率的对比过程与基于网速的对比过程相同,不再赘述。Polling detects at least one of the network speed, signal strength and communication frequency corresponding to each SIM card access device, and stores the detection results. Compare the detection results corresponding to each SIM card access device, and determine the communication quality corresponding to each SIM card access device based on the comparison results. For example, the network speed corresponding to each SIM card access device is compared, and the communication quality level is identified in order according to the network speed. Among them, the one with the highest network speed can be identified with the highest communication quality level. The comparison process based on signal strength and communication frequency is the same as the comparison process based on network speed, and will not be described again.

3、将与第一切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第一SIM卡接入装置。3. Among the multiple SIM card access devices connected to the first switch, the one with the most available traffic data is used as the first SIM card access device.

其中,该可用流量数据可根据默认配置信息、用户配置信息或查询信息确定。The available traffic data can be determined based on default configuration information, user configuration information or query information.

在一种可选的实现方式中,基带芯片可根据默认配置信息配置各SIM卡接入装置对应的SIM卡或eSIM卡在一个周期内的可用流量数据。进而,基带芯片可将当前可用流量数据最多的作为第一SIM卡接入装置。In an optional implementation manner, the baseband chip can configure the available traffic data of the SIM card or eSIM card corresponding to each SIM card access device within a period according to the default configuration information. Furthermore, the baseband chip can select the one with the most currently available traffic data as the first SIM card access device.

在另一种可选的实现方式中,用户可将智能终端与通信装置连接,基于智能终端设定与第一切换开关连接的多个SIM卡接入装置对应的SIM卡或eSIM卡在一个周期内的可用流量数据,形成配置数据,进而智能终端将所设定的配置数据发送至通信装置并存储于基带芯片中。这样,基带芯片可查询该配置数据,从而确定可用流量数据最多的SIM卡接入装置。In another optional implementation, the user can connect the smart terminal to the communication device, and based on the smart terminal, set the SIM cards or eSIM cards corresponding to the multiple SIM card access devices connected to the first switch in one cycle. The available traffic data in the smart terminal forms configuration data, and then the smart terminal sends the set configuration data to the communication device and stores it in the baseband chip. In this way, the baseband chip can query the configuration data to determine the SIM card access device with the most available traffic data.

在另一种可选的实现方式中,基带芯片可控制通信装置向运营商查询各SIM卡接入装置对应的SIM卡或eSIM卡在一个周期内的可用流量数据,从而根据查询信息确定可用流量数据最多的SIM卡接入装置。In another optional implementation, the baseband chip can control the communication device to query the operator for the available traffic data of the SIM card or eSIM card corresponding to each SIM card access device within a period, thereby determining the available traffic based on the query information. SIM card access device with the most data.

需要说明的是,随着SIM卡或eSIM卡中数据流量不断被使用,第一SIM卡接入装置会从当前SIM卡接入装置切换为其他SIM卡接入装置。It should be noted that as the data traffic in the SIM card or eSIM card continues to be used, the first SIM card access device will switch from the current SIM card access device to another SIM card access device.

例如,当前可用流量数据最多的SIM卡接入装置作为第一SIM卡接入装置后,随着该第一SIM卡接入装置对应的SIM卡或eSIM卡的可用流量数据被不断使用,在当前的第一SIM卡接入装置对应的SIM卡或eSIM卡的可用流量数据使用完后,基带芯片根据上述其他SIM卡接入装置的当前可用流量数据,将重新确定当前可用流量数据最多的SIM卡接入装置作为第一SIM卡接入装置,并继续基于该重新确定的第一SIM卡接入装置进行通信。For example, after the SIM card access device with the most available traffic data is used as the first SIM card access device, as the available traffic data of the SIM card or eSIM card corresponding to the first SIM card access device is continuously used, in the current After the available traffic data of the SIM card or eSIM card corresponding to the first SIM card access device is used up, the baseband chip will re-determine the SIM card with the most currently available traffic data based on the current available traffic data of the other SIM card access devices mentioned above. The access device serves as the first SIM card access device and continues to communicate based on the redetermined first SIM card access device.

在一个实施例中,第二预设切换条件包括以下至少一个:In one embodiment, the second preset switching condition includes at least one of the following:

1、将与第二切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第二SIM卡接入装置。1. Use the one with the highest priority among the multiple SIM card access devices connected to the second switch as the second SIM card access device.

2、将与第二切换开关连接的多个SIM卡接入装置中通信质量最高的作为第二SIM卡接入装置。2. Use the one with the highest communication quality among the multiple SIM card access devices connected to the second switch as the second SIM card access device.

3、将与第二切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第二SIM卡接入装置。3. Use the one with the most available traffic data among the multiple SIM card access devices connected to the second switch as the second SIM card access device.

其中,第二预设切换条件的相关说明可参考上述第一预设切换条件的说明,在此不再赘述。For relevant description of the second preset switching condition, reference may be made to the description of the above-mentioned first preset switching condition, which will not be described again here.

本申请实施例中,基于SIM卡接入装置中优先级、通信质量、可用流量数据等,灵活实现确定第一SIM卡接入装置和第二SIM卡接入装置的过程,提升通信装置使用各SIM卡或者eSIM卡的灵活性。In the embodiment of the present application, based on the priority, communication quality, available traffic data, etc. of the SIM card access device, the process of determining the first SIM card access device and the second SIM card access device is flexibly implemented to improve the use of various communication devices. Flexibility of SIM card or eSIM card.

另外,据统计,全球人均家庭SIM卡数量约为2.7张,但是,随着智能设备的普及和物联网的发展,未来家庭人均SIM卡数量将继续增加。其中,导致SIM卡数量偏多的原因可能有以下几个方面:1.多设备使用;如今,单个用户往往会拥有多种使用SIM卡的设备,如智能手机、平板电脑、数据卡等,每个设备都需要一张SIM卡。这导致每个用户平均使用的SIM卡数量有所上升。2.双卡智能手机的普及;随着双卡智能手机的普及,很多用户通过在手机搭载多张SIM卡。3.业务需求;当用户在不同地区出差,也会办理该地区的SIM卡确保通信。In addition, according to statistics, the number of SIM cards per capita in the global household is approximately 2.7. However, with the popularization of smart devices and the development of the Internet of Things, the number of SIM cards per capita in households will continue to increase in the future. Among them, the reasons for the large number of SIM cards may be as follows: 1. Use of multiple devices; nowadays, a single user often has multiple devices that use SIM cards, such as smartphones, tablets, data cards, etc., each Each device requires a SIM card. This has resulted in an increase in the average number of SIM cards used per user. 2. The popularity of dual-SIM smartphones; with the popularity of dual-SIM smartphones, many users install multiple SIM cards on their phones. 3. Business needs: When users travel in different regions, they will also apply for SIM cards in that region to ensure communication.

对于家庭来说,拥有多张SIM卡,很容易存在不均衡的流量消耗情况。这主要是由于家庭中每个用户的使用习惯和需求不同,有些用户可能需要使用更多的流量数据,有些用户则只需要使用较少的流量数据。若所有的SIM卡可用流量相同,就可能存在一些用户流量数据未使用完,而另一些用户则需额外购买流量的情况。针对该问题,当前推出了家庭流量共享计划,其中,家庭流量共享计划允许家庭中的用户共享同一组流量,从而实现更加公平和合理的流量使用方式。然而,若家庭中各用户使用的SIM卡所属运营商不同,则无法使用这种方案,存在流量数据浪费的情况。For families, having multiple SIM cards can easily result in uneven traffic consumption. This is mainly due to the different usage habits and needs of each user in the family. Some users may need to use more traffic data, and some users only need to use less traffic data. If all SIM cards have the same available data, some users may have unused data, while other users may need to purchase additional data. In response to this problem, a family traffic sharing plan is currently launched. The family traffic sharing plan allows users in the family to share the same set of traffic, thereby achieving a more fair and reasonable way of using traffic. However, if the SIM cards used by each user in the family belong to different operators, this solution cannot be used, and there will be a waste of traffic data.

本申请实施例中,第一SIM卡接入电路中与第一切换开关连接的多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同,通信装置为CPE设备。第三SIM卡接入电路中与第二切换开关连接的多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同。这样,尽管家庭中存在多张属于不同运营商的SIM卡或eSIM卡,将其应用于该通信装置中,各SIM卡或eSIM卡的流量数据均可被使用,实现均衡共享,以充分利用用户家庭中的SIM卡,实现流量的均衡调度,去除运营商限制,避免流量数据的浪费。In this embodiment of the present application, the SIM cards or eSIM cards corresponding to the multiple SIM card access devices connected to the first switch in the first SIM card access circuit belong to different operators, and the communication device is a CPE device. The SIM cards or eSIM cards corresponding to the multiple SIM card access devices connected to the second switch in the third SIM card access circuit belong to different operators. In this way, even though there are multiple SIM cards or eSIM cards belonging to different operators in the home, when they are used in the communication device, the traffic data of each SIM card or eSIM card can be used to achieve balanced sharing to make full use of the user The SIM card in the home realizes balanced scheduling of traffic, removes operator restrictions, and avoids waste of traffic data.

为便于理解,下面以一个完整的实施例对本申请实施例提供的一种CPE设备进行说明。请参考图5,该CPE设备包括基带芯片、与基带芯片连接的第一USIM总线、与第一USIM总线连接的SIM卡座或者eSIM卡芯片、与基带芯片连接的第二USIM总线、与第二USIM总线连接的切换开关以及与切换开关连接的多个SIM卡座,即SIM卡座1至SIM卡座n。其中,需要说明的是,由于CPE的设备的体积较大,所以其具备预置多张SIM卡座的条件。For ease of understanding, a complete embodiment is used to describe a CPE device provided by embodiments of the present application below. Please refer to Figure 5. The CPE device includes a baseband chip, a first USIM bus connected to the baseband chip, a SIM card holder or eSIM card chip connected to the first USIM bus, a second USIM bus connected to the baseband chip, and a second USIM bus connected to the baseband chip. A switch connected to the USIM bus and a plurality of SIM card holders connected to the switch, namely SIM card holder 1 to SIM card holder n. Among them, it should be noted that due to the large size of CPE equipment, it has the conditions to pre-install multiple SIM card holders.

CPE可基于与第一USIM总线连接的SIM卡座中插入的SIM卡或者eSIM卡芯片对应的eSIM卡工作。以及,基带芯片控制切换开关切换到SIM卡座1到SIM卡座n中的一个,从而实现对n个卡座中插入的不同的SIM卡的上网使用。The CPE can work based on the SIM card inserted into the SIM card holder connected to the first USIM bus or the eSIM card corresponding to the eSIM card chip. And, the baseband chip controls the switching switch to switch to one of the SIM card holders 1 to SIM card holders n, thereby realizing the Internet use of different SIM cards inserted in the n card holders.

其中,用户可以将智能终端与CPE设备连接,从而基于智能终端主动配置CPE设备中各个SIM卡座中插入的SIM卡的剩余可用流量数据,或者配置各SIM卡所需要消耗的流量数据。或者,CPE可以基于主动查询确定各SIM卡的可用流量数据。Among them, the user can connect the smart terminal to the CPE device, and then actively configure the remaining available traffic data of the SIM card inserted into each SIM card holder in the CPE device based on the smart terminal, or configure the traffic data that each SIM card needs to consume. Alternatively, the CPE can determine the available traffic data of each SIM card based on active query.

这样,基带芯片基于各SIM卡的可用流量数据轮流控制当前需要切换使用的SIM卡对应的SIM卡座上,从而实现对各SIM卡和eSIM卡的流量数据的均衡使用。这样,能够充分利用用户家庭中的SIM卡,实现流量的均衡调度,降低CPE使用的成本,通过切换开关实现了同一组总线的多个SIM卡座切换,保证用户闲置SIM卡的利用,实现更低的资费消耗。In this way, the baseband chip takes turns controlling the SIM card holder corresponding to the SIM card that currently needs to be switched based on the available traffic data of each SIM card, thereby achieving balanced use of the traffic data of each SIM card and eSIM card. In this way, the SIM cards in the user's home can be fully utilized to achieve balanced traffic scheduling and reduce the cost of CPE use. Through the switch, multiple SIM card holders in the same group of buses can be switched to ensure the utilization of the user's idle SIM cards and achieve more efficient use. Low tariff consumption.

上述通信装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于CPE设备中,以便于CPE设备调用执行以上实施例中的操作。Each module in the above communication device can be implemented in whole or in part by software, hardware and combinations thereof. Each of the above modules can be embedded in or independent of the CPE device in the form of hardware, so that the CPE device can call and perform the operations in the above embodiments.

基于同样的发明构思,本申请实施例还提供了一种应用于上述所涉及的通信装置中的基带芯片中电话卡切换方法。该电话卡切换方法所提供的解决问题的实现方案与上述通信装置中所记载的实现方案相似,故下面所提供的一个或多个电话卡切换方法实施例中的具体限定可以参见上文中对于通信装置的限定,在此不再赘述。Based on the same inventive concept, embodiments of the present application also provide a method for switching phone cards in a baseband chip applied in the above-mentioned communication device. The solution to the problem provided by this phone card switching method is similar to the implementation solution recorded in the above communication device. Therefore, the specific limitations in one or more phone card switching method embodiments provided below can be found in the above description of the communication device. Limitations will not be repeated here.

在一个实施例中,提供了一种电话卡切换方法。该电话卡切换方法应用于上述通信装置所包括的基带芯片中,通信装置还包括与基带芯片连接的至少两路SIM卡接入电路,至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,第一SIM卡接入电路包括第一切换开关以及与第一切换开关连接的多个SIM卡接入装置,SIM卡接入装置为SIM卡座或者eSIM卡芯片,SIM卡座用于插入SIM卡;该方法包括:根据第一预设切换条件控制第一切换开关将与第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。In one embodiment, a phone card switching method is provided. The telephone card switching method is applied to the baseband chip included in the above-mentioned communication device. The communication device also includes at least two SIM card access circuits connected to the baseband chip. The at least two SIM card access circuits include a first SIM card access circuit. ; Wherein, the first SIM card access circuit includes a first switch and a plurality of SIM card access devices connected to the first switch. The SIM card access device is a SIM card holder or an eSIM card chip, and the SIM card holder is used for Insert the SIM card; the method includes: controlling the first switch according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, so as to Communication signals are transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip.

在一个实施例中,至少两路SIM卡接入电路还包括第三SIM卡接入电路,第三SIM卡接入电路包括第二切换开关以及与第二切换开关连接的多个SIM卡接入装置;该方法还包括:根据第二预设切换条件控制第二切换开关将与第二切换开关连接的多个SIM卡接入装置中的第二SIM卡接入装置切换为工作状态,以使第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。In one embodiment, the at least two SIM card access circuits also include a third SIM card access circuit. The third SIM card access circuit includes a second switch and multiple SIM card access circuits connected to the second switch. device; the method also includes: controlling the second switch according to the second preset switching condition to switch the second SIM card access device among the plurality of SIM card access devices connected to the second switch to the working state, so that Communication signals are transmitted between the SIM card or eSIM card chip corresponding to the second SIM card access device and the baseband chip.

在一个实施例中,第一预设切换条件包括以下至少一个:将与第一切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中通信质量最高的作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第一SIM卡接入装置。In one embodiment, the first preset switching condition includes at least one of the following: using the highest priority one among the multiple SIM card access devices connected to the first switch as the first SIM card access device; Among the multiple SIM card access devices connected to a switch, the one with the highest communication quality is regarded as the first SIM card access device; among the multiple SIM card access devices connected to the first switch, the one with the most available traffic data is regarded as the first SIM card access device.

在一个实施例中,第二预设切换条件包括以下至少一个:将与第二切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中通信质量最高的作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第二SIM卡接入装置。In one embodiment, the second preset switching condition includes at least one of the following: using the one with the highest priority among the multiple SIM card access devices connected to the second switch switch as the second SIM card access device; Among the multiple SIM card access devices connected to the second switch switch, the one with the highest communication quality is used as the second SIM card access device; among the multiple SIM card access devices connected to the second switch switch, the one with the most available traffic data is used as the second SIM card access device. SIM card access device.

在一个实施例中,通信质量的确定过程包括:对于各SIM卡接入装置,检测SIM卡接入装置对应的SIM卡或eSIM卡的网速、信号强度和通信频率中的至少一个;其中,通信频率为通信装置与基站之间通信的频率;根据检测结果确定SIM卡接入装置的通信质量。In one embodiment, the communication quality determination process includes: for each SIM card access device, detecting at least one of the network speed, signal strength and communication frequency of the SIM card or eSIM card corresponding to the SIM card access device; wherein, The communication frequency is the frequency of communication between the communication device and the base station; the communication quality of the SIM card access device is determined according to the detection results.

在一个实施例中,多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同,通信装置为CPE设备。In one embodiment, the SIM cards or eSIM cards corresponding to the multiple SIM card access devices belong to different operators, and the communication device is a CPE device.

在一个实施例中,提供了一种CPE设备,该CPE设备包括如上述任一实施例中所描述的通信装置。In one embodiment, a CPE device is provided, and the CPE device includes the communication device as described in any of the above embodiments.

在一个实施例中,提供了一种CPE设备,其内部结构图可以如图6所示。该CPE设备包括处理器、存储器、输入/输出接口(Input/Output,简称I/O)和通信接口。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口通过输入/输出接口连接到系统总线。其中,该CPE设备的处理器用于提供计算和控制能力。该CPE设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该CPE设备的数据库用于存储切换数据。该CPE设备的输入/输出接口用于处理器与外部设备之间交换信息。该CPE设备的通信接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种切换方法。In one embodiment, a CPE device is provided, the internal structure diagram of which can be shown in Figure 6 . The CPE device includes a processor, a memory, an input/output interface (Input/Output, referred to as I/O), and a communication interface. Among them, the processor, memory and input/output interface are connected through the system bus, and the communication interface is connected to the system bus through the input/output interface. Among them, the processor of the CPE device is used to provide computing and control capabilities. The memory of the CPE device includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The database of the CPE device is used to store handover data. The input/output interface of the CPE device is used to exchange information between the processor and external devices. The communication interface of the CPE device is used to communicate with external terminals through network connections. The computer program implements a switching method when executed by the processor.

本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的CPE设备的限定,具体的CPE设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the CPE equipment to which the solution of the present application is applied. The specific CPE equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided with a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented:

根据第一预设切换条件控制第一切换开关将与第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。The first switch is controlled according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, so that the first SIM card access device Communication signals are transmitted between the corresponding SIM card or eSIM card chip and the baseband chip.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:

根据第二预设切换条件控制第二切换开关将与第二切换开关连接的多个SIM卡接入装置中的第二SIM卡接入装置切换为工作状态,以使第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。The second switch is controlled according to the second preset switching condition to switch the second SIM card access device among the plurality of SIM card access devices connected to the second switch to the working state, so that the second SIM card access device Communication signals are transmitted between the corresponding SIM card or eSIM card chip and the baseband chip.

在一个实施例中,第一预设切换条件包括以下至少一个:将与第一切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中通信质量最高的作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第一SIM卡接入装置。In one embodiment, the first preset switching condition includes at least one of the following: using the highest priority one among the multiple SIM card access devices connected to the first switch as the first SIM card access device; Among the multiple SIM card access devices connected to a switch, the one with the highest communication quality is regarded as the first SIM card access device; among the multiple SIM card access devices connected to the first switch, the one with the most available traffic data is regarded as the first SIM card access device.

在一个实施例中,第二预设切换条件包括以下至少一个:将与第二切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中通信质量最高的作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第二SIM卡接入装置。In one embodiment, the second preset switching condition includes at least one of the following: using the one with the highest priority among the multiple SIM card access devices connected to the second switch switch as the second SIM card access device; Among the multiple SIM card access devices connected to the second switch switch, the one with the highest communication quality is used as the second SIM card access device; among the multiple SIM card access devices connected to the second switch switch, the one with the most available traffic data is used as the second SIM card access device. SIM card access device.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:

对于各SIM卡接入装置,检测SIM卡接入装置对应的SIM卡或eSIM卡的网速、信号强度和通信频率中的至少一个;其中,通信频率为通信装置与基站之间通信的频率;根据检测结果确定SIM卡接入装置的通信质量。For each SIM card access device, detect at least one of the network speed, signal strength and communication frequency of the SIM card or eSIM card corresponding to the SIM card access device; wherein the communication frequency is the frequency of communication between the communication device and the base station; Determine the communication quality of the SIM card access device based on the detection results.

在一个实施例中,多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同,通信装置为CPE设备。In one embodiment, the SIM cards or eSIM cards corresponding to the multiple SIM card access devices belong to different operators, and the communication device is a CPE device.

在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer program product is provided, comprising a computer program that when executed by a processor implements the following steps:

根据第一预设切换条件控制第一切换开关将与第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。The first switch is controlled according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, so that the first SIM card access device Communication signals are transmitted between the corresponding SIM card or eSIM card chip and the baseband chip.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:

根据第二预设切换条件控制第二切换开关将与第二切换开关连接的多个SIM卡接入装置中的第二SIM卡接入装置切换为工作状态,以使第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与基带芯片之间传输通信信号。The second switch is controlled according to the second preset switching condition to switch the second SIM card access device among the plurality of SIM card access devices connected to the second switch to the working state, so that the second SIM card access device Communication signals are transmitted between the corresponding SIM card or eSIM card chip and the baseband chip.

在一个实施例中,第一预设切换条件包括以下至少一个:将与第一切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中通信质量最高的作为第一SIM卡接入装置;将与第一切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第一SIM卡接入装置。In one embodiment, the first preset switching condition includes at least one of the following: using the highest priority one among the multiple SIM card access devices connected to the first switch as the first SIM card access device; Among the multiple SIM card access devices connected to a switch, the one with the highest communication quality is regarded as the first SIM card access device; among the multiple SIM card access devices connected to the first switch, the one with the most available traffic data is regarded as the first SIM card access device.

在一个实施例中,第二预设切换条件包括以下至少一个:将与第二切换开关连接的多个SIM卡接入装置中优先级最高的一个作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中通信质量最高的作为第二SIM卡接入装置;将与第二切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为第二SIM卡接入装置。In one embodiment, the second preset switching condition includes at least one of the following: using the one with the highest priority among the multiple SIM card access devices connected to the second switch switch as the second SIM card access device; Among the multiple SIM card access devices connected to the second switch switch, the one with the highest communication quality is used as the second SIM card access device; among the multiple SIM card access devices connected to the second switch switch, the one with the most available traffic data is used as the second SIM card access device. SIM card access device.

在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:

对于各SIM卡接入装置,检测SIM卡接入装置对应的SIM卡或eSIM卡的网速、信号强度和通信频率中的至少一个;其中,通信频率为通信装置与基站之间通信的频率;根据检测结果确定SIM卡接入装置的通信质量。For each SIM card access device, detect at least one of the network speed, signal strength and communication frequency of the SIM card or eSIM card corresponding to the SIM card access device; wherein the communication frequency is the frequency of communication between the communication device and the base station; Determine the communication quality of the SIM card access device based on the detection results.

在一个实施例中,多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同,通信装置为CPE设备。In one embodiment, the SIM cards or eSIM cards corresponding to the multiple SIM card access devices belong to different operators, and the communication device is a CPE device.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random) Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include blockchain-based distributed databases, etc., but are not limited thereto. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. To simplify the description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, all possible combinations should be used. It is considered to be within the scope of this manual.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-described embodiments only express several implementation modes of the present application, and their descriptions are relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all fall within the protection scope of the present application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims (10)

Translated fromChinese
1.一种通信装置,其特征在于,所述装置包括:基带芯片以及与所述基带芯片连接的至少两路SIM卡接入电路,所述至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,所述第一SIM卡接入电路包括第一切换开关以及与所述第一切换开关连接的多个SIM卡接入装置,所述SIM卡接入装置为SIM卡座或者eSIM卡芯片,所述SIM卡座用于插入SIM卡;1. A communication device, characterized in that the device includes: a baseband chip and at least two SIM card access circuits connected to the baseband chip, and the at least two SIM card access circuits include a first SIM card Access circuit; wherein, the first SIM card access circuit includes a first switch and a plurality of SIM card access devices connected to the first switch, and the SIM card access devices are SIM card holders or eSIM card chip, the SIM card holder is used to insert the SIM card;所述基带芯片,用于根据第一预设切换条件控制所述第一切换开关将与所述第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使所述第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与所述基带芯片之间传输通信信号。The baseband chip is used to control the first switch according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to work. state, so that communication signals are transmitted between the SIM card or eSIM card chip corresponding to the first SIM card access device and the baseband chip.2.根据权利要求1所述的通信装置,其特征在于,所述至少两路SIM卡接入电路还包括第二SIM卡接入电路,所述第二SIM卡接入电路包括一个所述SIM卡接入装置。2. The communication device according to claim 1, wherein the at least two SIM card access circuits further include a second SIM card access circuit, and the second SIM card access circuit includes one of the SIM card access circuits. Card access device.3.根据权利要求1所述的通信装置,其特征在于,所述至少两路SIM卡接入电路还包括第三SIM卡接入电路,所述第三SIM卡接入电路包括第二切换开关以及与所述第二切换开关连接的多个所述SIM卡接入装置;3. The communication device according to claim 1, wherein the at least two SIM card access circuits further include a third SIM card access circuit, and the third SIM card access circuit includes a second switch. And a plurality of SIM card access devices connected to the second switch;所述基带芯片,用于根据第二预设切换条件控制所述第二切换开关将与所述第二切换开关连接的多个SIM卡接入装置中的第二SIM卡接入装置切换为工作状态,以使所述第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与所述基带芯片之间传输通信信号。The baseband chip is used to control the second switch according to the second preset switching condition to switch the second SIM card access device among the plurality of SIM card access devices connected to the second switch to work. state, so that communication signals are transmitted between the SIM card or eSIM card chip corresponding to the second SIM card access device and the baseband chip.4.根据权利要求1所述的通信装置,其特征在于,所述第一预设切换条件包括以下至少一个:4. The communication device according to claim 1, wherein the first preset switching condition includes at least one of the following:将与所述第一切换开关连接的多个SIM卡接入装置中优先级最高的一个作为所述第一SIM卡接入装置;Use the one with the highest priority among the multiple SIM card access devices connected to the first switch as the first SIM card access device;将与所述第一切换开关连接的多个SIM卡接入装置中通信质量最高的作为所述第一SIM卡接入装置;Use the one with the highest communication quality among the multiple SIM card access devices connected to the first switch as the first SIM card access device;将与所述第一切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为所述第一SIM卡接入装置。Among the multiple SIM card access devices connected to the first switch, the one with the most available traffic data is used as the first SIM card access device.5.根据权利要求3所述的通信装置,其特征在于,所述第二预设切换条件包括以下至少一个:5. The communication device according to claim 3, wherein the second preset switching condition includes at least one of the following:将与所述第二切换开关连接的多个SIM卡接入装置中优先级最高的一个作为所述第二SIM卡接入装置;Use the one with the highest priority among the multiple SIM card access devices connected to the second switch as the second SIM card access device;将与所述第二切换开关连接的多个SIM卡接入装置中通信质量最高的作为所述第二SIM卡接入装置;Use the one with the highest communication quality among the multiple SIM card access devices connected to the second switch as the second SIM card access device;将与所述第二切换开关连接的多个SIM卡接入装置中可用流量数据最多的作为所述第二SIM卡接入装置。Among the multiple SIM card access devices connected to the second switch, the one with the most available traffic data is used as the second SIM card access device.6.根据权利要求4或5所述的通信装置,其特征在于,所述通信质量的确定过程包括:6. The communication device according to claim 4 or 5, characterized in that the determination process of the communication quality includes:对于各所述SIM卡接入装置,检测所述SIM卡接入装置对应的SIM卡或eSIM卡的网速、信号强度和通信频率中的至少一个;其中,所述通信频率为所述通信装置与基站之间通信的频率;For each of the SIM card access devices, detect at least one of the network speed, signal strength and communication frequency of the SIM card or eSIM card corresponding to the SIM card access device; wherein the communication frequency is the communication device Frequency of communication with base stations;根据检测结果确定所述SIM卡接入装置的通信质量。The communication quality of the SIM card access device is determined according to the detection results.7.根据权利要求1所述的通信装置,其特征在于,所述多个SIM卡接入装置对应的SIM卡或eSIM卡所属的运营商不同;所述通信装置为CPE设备。7. The communication device according to claim 1, characterized in that the SIM cards or eSIM cards corresponding to the plurality of SIM card access devices belong to different operators; the communication device is a CPE equipment.8.一种电话卡切换方法,其特征在于,用于通信装置包括的基带芯片中,所述通信装置还包括与所述基带芯片连接的至少两路SIM卡接入电路,所述至少两路SIM卡接入电路包括第一SIM卡接入电路;其中,所述第一SIM卡接入电路包括第一切换开关以及与所述第一切换开关连接的多个SIM卡接入装置,所述SIM卡接入装置为SIM卡座或者eSIM卡芯片,所述SIM卡座用于插入SIM卡;所述方法包括:8. A phone card switching method, characterized in that it is used in a baseband chip included in a communication device. The communication device further includes at least two SIM card access circuits connected to the baseband chip. The at least two SIM card access circuits are connected to the baseband chip. The card access circuit includes a first SIM card access circuit; wherein the first SIM card access circuit includes a first switch and a plurality of SIM card access devices connected to the first switch. The card access device is a SIM card holder or an eSIM card chip, and the SIM card holder is used to insert a SIM card; the method includes:根据第一预设切换条件控制所述第一切换开关将与所述第一切换开关连接的多个SIM卡接入装置中的第一SIM卡接入装置切换为工作状态,以使所述第一SIM卡接入装置对应的SIM卡或者eSIM卡芯片与所述基带芯片之间传输通信信号。The first switch is controlled according to the first preset switching condition to switch the first SIM card access device among the plurality of SIM card access devices connected to the first switch to the working state, so that the third SIM card access device is switched to the working state. Communication signals are transmitted between a SIM card or eSIM card chip corresponding to a SIM card access device and the baseband chip.9.根据权利要求8所述的电话卡切换方法,其特征在于,所述至少两路SIM卡接入电路还包括第三SIM卡接入电路,所述第三SIM卡接入电路包括第二切换开关以及与所述第二切换开关连接的多个所述SIM卡接入装置;所述方法还包括:9. The telephone card switching method according to claim 8, characterized in that the at least two SIM card access circuits further include a third SIM card access circuit, and the third SIM card access circuit includes a second switching switch and a plurality of SIM card access devices connected to the second switch; the method further includes:根据第二预设切换条件控制所述第二切换开关将与所述第二切换开关连接的多个SIM卡接入装置中的第二SIM卡接入装置切换为工作状态,以使所述第二SIM卡接入装置对应的SIM卡或者eSIM卡芯片与所述基带芯片之间传输通信信号。The second switch is controlled according to the second preset switching condition to switch the second SIM card access device among the plurality of SIM card access devices connected to the second switch to the working state, so that the second switch is switched to the working state. Communication signals are transmitted between the SIM card or eSIM card chip corresponding to the two SIM card access devices and the baseband chip.10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求8至9中任一项所述的方法的步骤。10. A computer-readable storage medium with a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 8 to 9 are implemented.
CN202311088114.1A2023-08-252023-08-25Communication device, telephone card switching method, and computer-readable storage mediumPendingCN117135281A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311088114.1ACN117135281A (en)2023-08-252023-08-25Communication device, telephone card switching method, and computer-readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311088114.1ACN117135281A (en)2023-08-252023-08-25Communication device, telephone card switching method, and computer-readable storage medium

Publications (1)

Publication NumberPublication Date
CN117135281Atrue CN117135281A (en)2023-11-28

Family

ID=88855950

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311088114.1APendingCN117135281A (en)2023-08-252023-08-25Communication device, telephone card switching method, and computer-readable storage medium

Country Status (1)

CountryLink
CN (1)CN117135281A (en)

Similar Documents

PublicationPublication DateTitle
US8321636B2 (en)Memory reallocation and sharing in electronic systems
CN100469079C (en) Dual-mode dual-standby mobile phone with dual card slots and its implementation method
US8527006B2 (en)Processing system, wireless device and method
CN102883471A (en)Single-chip multi-card multi-standby mobile phone and conflict resolution method thereof
EP2470998B1 (en)Hybrid single and dual-channel ddr interface scheme by interleaving address/control signals during dual-channel operation
US8239650B2 (en)Wirelessly configurable memory device addressing
CN104540176B (en)Wireless network access method, device and terminal
US20100105433A1 (en)Apparatus and Method for Controlling Subscriber Identity Module Card
JP2616455B2 (en) Wireless modem
CN102158599B (en)Wireless terminal and multi-SIM (subscriber identity module) card connecting device thereof
CN109495875B (en) SIM card selection method, device, electronic device and storage medium
JP2007226812A (en) IC card, portable terminal and control method of portable terminal
CN110806997B (en)System on chip and memory
CN201986166U (en)Wireless terminal and multi-SIM (subscriber identity module) card connecting device of wireless terminal
CN113242542B (en) Mobile terminal search network control method, device and mobile terminal
CN117135281A (en)Communication device, telephone card switching method, and computer-readable storage medium
CN113055876B (en)Method and device for downloading standby cloud card and terminal equipment
CN217607980U (en)Intelligent watch
CN113068161A (en)Bluetooth low-energy-consumption communication method, device and system and storage medium
US20220217757A1 (en)Information transmission method and apparatus, relevant device, and storage medium
CN102957788B (en)Method for reading and writing card of mobile terminal with double base-band chips
CN116133145A (en)Access method, device, communication equipment and storage medium
KR100731969B1 (en) Method and device for sharing memory through multiple paths
CN112788785B (en)Network connection method, terminal and computer storage medium
CN203708498U (en)Dual-card dual-standby mobile phone

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right
TA01Transfer of patent application right

Effective date of registration:20250411

Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Country or region after:China

Address before:311100 room 1001, building 9, Xixi bafangcheng, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant before:Hangzhou douku Software Technology Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp