WO2018076955A1 - 一种实现无线通信的方法及终端 - Google Patents

一种实现无线通信的方法及终端 Download PDF

Info

Publication number
WO2018076955A1
WO2018076955A1 PCT/CN2017/101861 CN2017101861W WO2018076955A1 WO 2018076955 A1 WO2018076955 A1 WO 2018076955A1 CN 2017101861 W CN2017101861 W CN 2017101861W WO 2018076955 A1 WO2018076955 A1 WO 2018076955A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
processing unit
card
network
entity
Prior art date
Application number
PCT/CN2017/101861
Other languages
English (en)
French (fr)
Inventor
车晓东
Original Assignee
努比亚技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201610985214.8A external-priority patent/CN106535165A/zh
Priority claimed from CN201610929910.7A external-priority patent/CN106604299A/zh
Priority claimed from CN201610929444.2A external-priority patent/CN106559772A/zh
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2018076955A1 publication Critical patent/WO2018076955A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • This document relates to, but is not limited to, wireless communication technologies, and more particularly to a method and terminal for implementing wireless communication.
  • LTE Long Term Evolution
  • 4G fourth generation mobile communication network
  • OFDM Orthogonal Frequency Division Multiplexing
  • MIMO Multi-Input & Multi-Output
  • a multimode terminal a terminal with two Subscriber Identity Modules (SIM) cards, for example, a dual card dual standby terminal
  • SIM Subscriber Identity Modules
  • the embodiments of the present invention provide a method and a terminal for implementing wireless communication, which can implement two data services simultaneously for the SIM card to improve the user's online experience.
  • An embodiment of the present invention provides a terminal, including: an application processor, a virtual subscriber identity module SIM card disposed in an application processor, a first processing unit configured to connect the first entity SIM card and the second entity SIM card, and Two processing units; wherein
  • the first processing unit is connected to the application processor through a preset first interface
  • the second processing unit is connected to the application processor through a preset second interface, the virtual SIM card Connecting to the second processing unit through the second interface or a preset third interface;
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the first processing unit is configured to establish a data service link with the first network according to the received first control instruction, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • the second processing unit is configured to establish a data service link with the second network according to the received second control instruction to perform data service transmission of the virtual SIM card.
  • the terminal further includes:
  • a first radio frequency connected to the first processing unit, configured to establish a data service link between the first physical SIM card or the second physical SIM card and the first network;
  • the second radio frequency is connected to the second processing unit, and is configured to establish a data service link between the virtual SIM card and the second network.
  • the first interface or the second interface or the third interface includes one of the following interfaces: a high speed inter-chip interconnect HSIC interface, a shared memory drive SMD interface, a universal serial bus USB interface, and a high speed universal Serial bus HS-USB interface, universal asynchronous transceiver transmitter UART interface, secure digital input and output SDIO interface.
  • the application processor is further configured to
  • the amount of the package of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service And assigning a policy, and allocating the first entity SIM card or the second entity SIM card to a data service corresponding to the virtual SIM card.
  • the application processor is further configured to send through an open wireless fidelity WIFI network. And downloading the service menu data to the cloud server corresponding to the virtual SIM card, to obtain the data information of the virtual SIM card from the cloud server, and writing the acquired data information to the virtual SIM card; wherein the service menu data includes : the number of the virtual SIM card and the type of the virtual SIM card;
  • the second processing unit is further configured to invoke data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • the first processing unit is further configured to: read an authentication parameter of the first entity SIM card or the second entity SIM card, to establish a first entity SIM card or a second entity SIM card and the first network Data service link;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the virtual SIM card by using the first network that establishes the data service link, to obtain the data information of the virtual SIM card from the cloud server, and acquire the data.
  • the information is written into the virtual SIM card; wherein the service menu data includes: a number of the virtual SIM card and a package type of the virtual SIM card;
  • the second processing unit is further configured to invoke data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • an embodiment of the present invention further provides a method for a terminal to implement wireless communication, where the terminal includes a virtual subscriber identity module SIM card that is disposed in the application processor, and includes:
  • the application processor receives the operation instruction of the user through the user interaction interface, and generates the first control instruction and the second control instruction according to the operation instruction of the user;
  • a first processing unit for connecting the first entity SIM card and the second entity SIM card establishes a data service link with the first network according to the first control instruction to perform data service of the first entity SIM card or the second entity SIM card transmission;
  • the second processing unit establishes a data service link with the second network according to the second control instruction, to perform data service transmission of the virtual SIM card;
  • the first processing unit is connected to the application processor through a preset first interface; the second processing unit is connected to the application processor through a preset second interface, and the virtual SIM card passes the second interface or A preset third interface is coupled to the second processing unit.
  • the method further includes:
  • the amount of the package of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service And assigning a policy, and allocating the first entity SIM card or the second entity SIM card to a data service corresponding to the virtual SIM card.
  • the method before the establishing the data service link, the method further includes:
  • the method includes: a number of the virtual SIM card and a type of a virtual SIM card;
  • the data information written to the virtual SIM card is invoked to implement network registration of the virtual SIM card.
  • the embodiment of the present invention further provides a terminal, including: a virtual subscriber identity module SIM card, an application processor, a first processing unit and a second processing unit configured to connect the first entity SIM card and the second entity SIM card; ,
  • the virtual SIM card is connected to the second processing unit;
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the first processing unit is connected to the application processor through a preset first interface, and is configured to establish a data service link with the first network according to the received first control instruction, to perform the first entity SIM card or the first Data service transmission of the two entity SIM card;
  • the second processing unit is connected to the application processor through a preset second interface, and is set as a root And establishing, according to the received second control instruction, a data service link with the second network to perform data service transmission of the virtual SIM card.
  • the embodiment of the present invention further provides a method for a terminal to implement wireless communication, where the terminal includes a virtual SIM card, including:
  • the first processing unit is configured to be connected to the first physical SIM card and the second physical SIM card, and the first processing unit is connected to the application processor by using a preset first interface; the virtual SIM card Connected to the second processing unit, the second processing unit is connected to the application processor through a preset second interface.
  • the embodiment of the invention further provides a terminal, comprising: an embedded subscriber identity module ESIM card, an application processor, a first processing unit and a second processing unit connecting the first entity subscriber identity module SIM card and the second entity SIM card ;among them,
  • the ESIM card is connected to the second processing unit;
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the first processing unit is connected to the application processor through the preset first interface, and is configured to establish a data service link with the first network according to the received first control instruction, to perform the first entity SIM card or the second entity SIM card.
  • the second processing unit is connected to the application processor through the preset second interface, and is configured to establish a data service link with the second network according to the received second control instruction, to perform data service transmission of the ESIM card.
  • the embodiment of the invention further provides a method for implementing wireless communication in a terminal, where the terminal includes an embedded user identification module ESIM card, including:
  • the first physical SIM card and the second physical SIM card are both connected to the first processing unit, the first processing unit is connected to the application processor through the preset first interface; the ESIM card is connected to the second processing unit, and the second processing is performed.
  • the unit is connected to the application processor through a preset second interface.
  • the embodiment of the invention further provides a mobile terminal, including:
  • Memory set to store instructions
  • a processor arranged to execute the instructions, implements the method steps of implementing wireless communication as described above.
  • Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method steps of implementing wireless communication as described above.
  • the application includes: an application processor, a virtual subscriber identity module SIM card disposed in the application processor, a first processing unit configured to connect the first entity SIM card and the second entity SIM card, and a second processing unit; wherein, the first The processing unit is connected to the application processor through a preset first interface, and the second processing unit is connected to the application processor through a preset second interface, and the virtual SIM card passes through the second interface or the preset third interface.
  • the application processor is configured to receive the operation instruction of the user through the preset user interaction interface, generate the first control instruction and the second control instruction according to the operation instruction of the user, and transmit the first control instruction to
  • the first processing unit transmits the second control instruction to the second processing unit;
  • the first processing unit is configured to establish a data service link with the first network according to the received first control instruction, to perform the a data service transmission of the physical SIM card or the second physical SIM card;
  • the second processing unit is configured to establish a data service link with the second network according to the received second control instruction, to perform data service transmission of the virtual SIM card .
  • the first physical SIM card or the second physical SIM card is used to establish a data service link with the virtual SIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 1 is a schematic structural diagram of hardware of an optional mobile terminal that implements various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
  • FIG. 3 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interaction interface of service menu data according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for implementing wireless communication according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 11 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 13 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention.
  • FIG. 14 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 15 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • FIG. 16 is a structural block diagram of a terminal according to still another embodiment of the present invention.
  • 17 is a flowchart of a method for implementing wireless communication according to an embodiment of the present invention.
  • FIG. 18 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device Mobile terminals of the like and fixed terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Tablett
  • PMP Portable Multimedia Player
  • FIG. 1 is a schematic diagram showing the hardware structure of an optional mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) input unit 120, a user input unit 130, an output unit 150, a memory 160, a controller 180, a power supply unit 190, and the like.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
  • the mobile communication module 112 transmits a radio signal to and receives a radio signal from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server, or the mobile communication module 112 transmits a radio signal to the base station ( For example, at least one of an access point, a Node B, etc., an external terminal, and a server, or the mobile communication module 112 receives from at least one of a base station (eg, an access point, a Node B, etc.), an external terminal, and a server Radio signal.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and received, or transmitted, or received according to at least one of text and multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include Wireless Local Area Network, WLAN (Wi-Fi), Wireless Broadband access service, Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), High Speed Downlink Packet Access, HSDPA (High Speed Downlink Packet Access) and more.
  • the short range communication module 114 is a module that is configured to support short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), ZigBeeTM, and the like.
  • the A/V input unit 120 is arranged to receive an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • the output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in at least one of a visual, an audio, and a tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display at least one of a captured image and a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be set to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a speaker, a buzzer, and the like.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash Memory, hard disk, multimedia card, card type memory (eg SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable only Read memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like.
  • the controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the embodiment of the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system in which a mobile terminal is operable according to an embodiment of the present invention will now be described with reference to FIG.
  • Such a communication system can use at least one of a different air interface and a physical layer.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • the MSC 280 is configured to interface with a public switched telephone network (PSTN) 290.
  • PSTN public switched telephone network
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas that are set to receive diversity. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally refer to a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • multimode terminals can only implement one of the SIM cards using cellular networks (eg, LTE) and their data services, while another SIM card can only use voice services. Therefore, the terminal cannot simultaneously support two SIM cards for data services at the same time, which affects the user's online experience.
  • cellular networks eg, LTE
  • FIG. 3 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • the method includes: an application processor, a SIM (Subscriber Identity Module) card installed in an application processor, and is configured to connect to a first entity SIM. a first processing unit of the card and the second physical SIM card, the second processing unit;
  • SIM Subscriber Identity Module
  • the terminal itself may include a first entity SIM card and a second entity SIM card, or may be a later configuration of the first entity SIM card and the second entity SIM card, that is, the terminal itself does not include the first entity SIM card and the second entity. SIM card.
  • the application processor may include an application layer, a service layer, a framework layer, a Radio Interface Layer (RIL), and a core layer; or, includes a Java user space layer, a C user space layer, and a core layer.
  • RIL Radio Interface Layer
  • the Java user space layer includes an application layer, a service layer, and a framework layer.
  • the Java user space layer uses the Java language to implement the functions of the application layer, the service layer, and the framework layer;
  • the C user space layer includes the RIL layer, and the C user space layer uses the C layer. Language or C++, etc. to implement RIL functions.
  • the application layer is configured to display a user interaction interface;
  • the service layer is configured to provide a series of key services such as a roaming switch, a network switch, a switch default data card, and a network mode to the application layer;
  • the framework layer is configured to provide basic services for the application, Passing information and communicating with RIL to maintain normal use of communication;
  • RIL is set to process frame layer and first processing unit and second processing unit Communication between.
  • the virtual SIM VCOS system and the command read/write mechanism of the virtual SIM card can be implemented in the service layer of the application processor, and the data information of the virtual SIM card is stored in the storage area of the application processor.
  • the second processing unit can communicate with the virtual SIM card through a second interface or a third interface and a Qualcomm Message Interface (QMI) protocol.
  • QMI Qualcomm Message Interface
  • the first processing unit is connected to the application processor through the preset first interface
  • the second processing unit is connected to the application processor through the preset second interface
  • the virtual SIM card passes the second interface or the preset third interface. Connected to the second processing unit;
  • the preset first interface or the second interface or the third interface may include one of the following interfaces: a high speed inter-chip (HSIC) interface, a shared memory driver (SMD, Shared Memory Driver) interface, Universal Serial Bus (USB) interface, High Speed Universal Serial Bus (HS-BUS), Universal Asynchronous Receiver/Transmitter (UART) Interface, Secure Digital Input and Output (SDIO) interface.
  • HSIC high speed inter-chip
  • SMD Shared Memory Driver
  • USB Universal Serial Bus
  • HS-BUS High Speed Universal Serial Bus
  • UART Universal Asynchronous Receiver/Transmitter
  • SDIO Secure Digital Input and Output
  • the preset first interface or the second interface or the third interface may be other interfaces as long as the communication protocol requirements are met.
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the operation instruction may be received and processed by an application layer in the application processor; after the first control instruction and the second control instruction generated according to the received operation instruction, the application processor passes the first interface. Transmitting the first control command to the first processing unit, and transmitting the second control command to the second processing unit through the second interface.
  • a first processing unit configured to establish a data service link with the first network, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • the second processing unit is configured to establish a data service link with the second network to perform data service transmission of the virtual SIM card.
  • the first entity SIM card or the second entity SIM card After the data service link is established, the first entity SIM card or the second entity SIM card performs data service through the data channel established by the first interface, and the virtual SIM card performs data service through the data channel established by the second interface.
  • the first processing unit and the second processing unit of the embodiment of the present invention may include a modem (Modem); the first processing unit and the second processing unit may pass through a general purpose input or output (GPIO) port. Connection, through the connection to achieve the definition and transmission of control signals between the two processing units.
  • the control signals may include: sleep, wake-up, synchronization control, control of the chip startup sequence when the machine is turned on, and the like.
  • Embodiments of the present invention may implement execution of the above-described control signals by one of the processing units, for example, performing control of the first processing unit and the second processing unit by the first processing unit.
  • the first entity SIM card, the second entity SIM card, and the virtual SIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate for GSM Evolution (EDGE) technology, 3G communication technology (eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-CDMA) (Time Division-Synchronous Code Division Multiple Access)), 4G communication technology (for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other mobile communication technology (for example, 4G, 4.5G, etc.).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-
  • the first network and the second network are determined according to a first physical SIM card or a second physical SIM card, and a technical standard supported by the virtual SIM card, and the first network and the second network may be the same standard network or different systems.
  • the network; the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the application processor is further configured to
  • the service information of the data service of the terminal is allocated with the package information of the first entity SIM card or the second entity SIM card.
  • the application processor can implement service allocation through the core layer.
  • the application processor is further configured to select a virtual SIM card for data service when a package margin of the first entity SIM card or the second entity SIM card is less than or equal to a first preset threshold;
  • the application processor of the embodiment of the present invention may further be configured to: according to the network quality of the first network and the second network, and at least one of the virtual SIM cards, and the package of the first entity SIM card or the second entity SIM card.
  • the information is distributed to the data service of the terminal.
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the first physical SIM card or the second physical SIM card, and the data service corresponding to the virtual SIM card.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data can be distributed based on signal strength. Business distribution.
  • the terminal of the embodiment of the present invention further includes:
  • the first radio frequency is connected to the first processing unit, and is configured to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the second radio frequency is connected to the second processing unit and configured to establish a data service link between the virtual SIM card and the second network.
  • the first processing unit and the second processing unit may be processed by running the corresponding protocol stack.
  • the first protocol stack is used as the protocol stack running by the first processing unit
  • the second protocol stack acts as a protocol stack for the second processing unit.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • 4 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 4, a terminal having a first radio frequency and a second radio frequency added to FIG. 3 may be a network node, for example, a virtual SIM card is provided. A wireless router of a physical SIM card and a second physical SIM card.
  • the application processor is further configured to send, by using an open wireless fidelity (WIFI) network, a download request including service menu data to a cloud server corresponding to the virtual SIM card, to obtain data information of the virtual SIM card from the cloud server; Write the obtained data information to the virtual SIM card;
  • WIFI open wireless fidelity
  • the service menu data includes: a virtual SIM card number and a virtual SIM card package type, and the package type may include: different packages determined according to how many available short messages, available call durations, available traffic sizes, and the like;
  • the second processing unit is further configured to invoke the data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • the application processor can obtain the data information of the virtual SIM card through the application layer.
  • the data information may include: an International Mobile Subscriber Identity (IMSI), a Kis (Subscrber authentication key), an Integrated Circuit Card Identifier (ICCID), and a personal identification number (PIN, Personal Identification Number). Number), PIN unlock code (PUK, PIN Unlocking Key);
  • IMSI International Mobile Subscriber Identity
  • Kis Kis
  • ICCID Integrated Circuit Card Identifier
  • PIN Personal Identification Number
  • Number PIN unlock code
  • PIN PIN Unlocking Key
  • the application processor can implement the display of the optional number and the optional package through a service interaction interface, and after the number and the package selection are completed, the download request is sent by determining the button
  • FIG. 5 is an implementation of the present invention.
  • the left mobile phone number and the type of the package are indicated by the left oblique line display box in FIG. 5, and the service menu data is triggered by the determination key; the cloud server receives the service.
  • the corresponding data information is assigned to the selected number and package, and the application processor writes the obtained data information to the virtual SIM card.
  • the first processing unit is further configured to: read an authentication parameter of the first entity SIM card or the second entity SIM card, to establish a data service between the first entity SIM card or the second entity SIM card and the first network link;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the virtual SIM card by using the first network that establishes the data service link, to obtain the data information of the virtual SIM card from the cloud server, and acquire the data.
  • the information is written into the virtual SIM card; wherein the service menu data includes: a number of the virtual SIM card and a package type of the virtual SIM card;
  • the second processing unit is further configured to invoke the data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the virtual SIM card in the data service is performed.
  • the call connection can be established through the second network based on the second processing unit to perform a voice call.
  • the first processing unit is further loaded with the first protocol stack
  • the second processing unit is correspondingly loaded with the second protocol stack
  • the protocol stack is set to implement the data service.
  • the first physical SIM card or the second physical SIM card, and the virtual SIM card can simultaneously perform data service transmission, wherein one SIM card can also perform voice transmission when performing data service transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • a first digital signal processing unit configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack when the voice service is performed by using the first physical SIM card or the second physical SIM card;
  • the audio processed signal is transmitted to the second protocol stack of the second processing unit, or the codec-converted signal is transmitted to the second digital signal processing of the second processing unit.
  • the first digital signal processing unit may transmit the audio processed signal to the second protocol stack by using the second digital signal processing unit of the second processing unit.
  • Communication between the first digital signal processing unit and the second digital signal processing unit may be through the first interface or the second interface.
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a second digital signal processing unit configured to transmit the audio processed signal to the second protocol stack; or perform audio processing on the codec converted analog signal and transmit the signal to the second Protocol stack
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the first radio frequency is further configured to transmit the signal from the first network to the first protocol stack;
  • the second radio frequency is further configured to transmit the signal from the second network to the second protocol stack;
  • the first digital signal processing unit is further configured to: when the voice service is performed by the first entity SIM card or the second entity SIM card, perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec; When the virtual SIM card performs voice service, the signal from the second processing unit is transmitted to the codec;
  • the signal from the second processing unit refers to the signal processed by the second protocol stack, may be from the second protocol stack of the second processing unit, or may be from the second digital signal processing unit of the second processing unit.
  • the codec is further configured to perform analog to digital conversion on the signal from the first digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first entity SIM card and the virtual SIM card, and realizes two SIM cards simultaneously performing data services, thereby improving the user experience.
  • FIG. 6 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 6, the terminal adds a microphone, a codec, a digital signal processing unit, an earpiece, etc. to the structure of FIG. 4; FIG. 6 can be understood as including A mobile SIM or tablet with a virtual SIM card and a physical SIM card.
  • FIG. 7 is a flowchart of a method for implementing wireless communication according to an embodiment of the present invention.
  • a terminal includes a virtual SIM card disposed on an application processor, as shown in FIG. 7, including:
  • Step 700 The application processor receives an operation instruction of the user through a user interaction interface, and generates a first control instruction and a second control instruction according to the operation instruction of the user.
  • Step 701 The first processing unit, configured to connect the first entity SIM card and the second entity SIM card, establishes a data service link with the first network according to the first control instruction, to perform the first entity SIM card or the second entity SIM card. Data service transmission;
  • Step 702 The second processing unit establishes a data service link with the second network according to the second control instruction, to perform data service transmission of the virtual SIM card.
  • the first processing unit is connected to the application processor through the preset first interface; the second processing unit is connected to the application processor through the preset second interface, and the virtual SIM card passes the second interface or the preset third interface. Connected to the second processing unit.
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected by a General Purpose Input Output (GPIO).
  • GPIO General Purpose Input Output
  • the definition and transfer of control signals between two processing units are achieved through a connection.
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card, the second physical SIM card, and the virtual SIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service Technology (GPRS, General Packet Radio).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service Technology
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service Technology
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (WCDMA) TDS-CDMA (Time Division-Synchronous Code Division Multiple Access)
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Time Division Synchronous Code Division Multiple Access
  • TDS-CDMA Time Division-Synchronous Code Division Multiple Access
  • 4G communication technology for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other Mobile communication technologies (eg, 4G, 4.5G, etc.).
  • the first network and the second network are determined according to technical standards supported by the physical SIM card and the virtual SIM card, and the first network and the second network may be the same standard network or different network standards; the first network and the second network.
  • the network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the first physical SIM card or the second physical SIM card and the first network; the second radio frequency, and The second processing unit is connected to set up a data service link between the virtual SIM card and the second network.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset first interface includes one of the following interfaces: an HSIC interface, an SMD interface, a USB interface, an HS-USB interface, a UART interface, and an SDIO interface.
  • the preset first interface or the second interface or the third interface may be other interfaces as long as the communication protocol requirements are met.
  • the embodiment of the present invention further includes:
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the first physical SIM card or the second physical SIM card, and the data service corresponding to the virtual SIM card.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the method of the embodiment of the present invention further includes:
  • the service menu data includes: the virtual SIM The card number and the type of package for the virtual SIM card;
  • the data information written to the virtual SIM card is invoked to implement network registration of the virtual SIM card.
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the virtual SIM card in the data service is performed.
  • the call connection can be established through the second network based on the second processing unit to perform a voice call.
  • the first processing unit is further loaded with the first protocol stack
  • the second processing unit is correspondingly loaded with the second protocol stack
  • the protocol stack is set to implement the data service.
  • the first physical SIM card or the second physical SIM card and the virtual SIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission while the data card is transmitting.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • a first digital signal processing unit configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack when the voice service is performed by using the first physical SIM card or the second physical SIM card;
  • the audio processed signal is transmitted to the second protocol stack of the second processing unit, or the codec-converted signal is transmitted to the second digital signal processing of the second processing unit.
  • the first digital signal processing unit may transmit the audio processed signal to the second protocol stack by using the second digital signal processing unit of the second processing unit.
  • Communication between the first digital signal processing unit and the second digital signal processing unit may be through the first interface or the second interface.
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a second digital signal processing unit configured to transmit the audio processed signal to the second protocol stack; or perform audio processing on the codec converted analog signal and transmit the signal to the second Protocol stack
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the first radio frequency is further configured to transmit the signal from the first network to the first protocol stack;
  • the second radio frequency is further configured to transmit the signal from the second network to the second protocol stack;
  • the first digital signal processing unit is further configured to: when the voice service is performed by the first entity SIM card or the second entity SIM card, perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec; When the virtual SIM card performs voice service, the signal from the second processing unit is transmitted to the codec;
  • the signal from the second processing unit refers to the signal processed by the second protocol stack, may be from the second protocol stack of the second processing unit, or may be from the second digital signal processing unit of the second processing unit.
  • the codec is further configured to perform analog to digital conversion on the signal from the first digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the first physical SIM card or the second physical SIM card is used to establish a data service link with the virtual SIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 8 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention. As shown in FIG. 8, the method includes:
  • Step 800 Send, by using a first network, a wireless fidelity (WIFI) network, or a carrier network, a download request including service menu data to a cloud server corresponding to the virtual SIM card, to obtain data information of the virtual SIM card from the cloud server;
  • the service menu data includes: a virtual SIM card number and a virtual SIM card package type;
  • Step 801 Write the obtained data information of the virtual SIM card to the virtual SIM card.
  • Step 802 Calling data information written into the virtual SIM card to implement network registration of the virtual SIM card;
  • the physical SIM card in which the data service is performed may be based on the first processing order.
  • the mobile phone establishes a call connection through the first network to perform a voice call; and the virtual SIM card that performs the data service can establish a call connection through the second network based on the second processing unit to perform a voice call.
  • Step 803 The application processor receives an operation instruction of the user through a user interaction interface, and generates a first control instruction and a second control instruction according to the operation instruction of the user.
  • Step 804 The first processing unit, configured to connect the first entity SIM card and the second entity SIM card, establishes a data service link with the first network according to the first control instruction, to perform the first entity SIM card or the second entity SIM card. Data service transmission;
  • Step 805 The second processing unit establishes a data service link with the second network according to the second control instruction, to perform data service transmission of the virtual SIM card.
  • the first processing unit is connected to the application processor through the preset first interface; the second processing unit is connected to the application processor through the preset second interface, and the virtual SIM card passes the second interface or the preset third interface. Connected to the second processing unit.
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected by a General Purpose Input Output (GPIO).
  • GPIO General Purpose Input Output
  • the definition and transfer of control signals between two processing units are achieved through a connection.
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card or the second physical SIM card, and the virtual SIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate for GSM Evolution (EDGE) technology, 3G communication technology (eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-CDMA) , Time Division-Synchronous Code Division Multiple Access)), 4G communication technology (eg, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE, Time) Division Long Term Evolution)), or any other mobile communication technology (eg, 4G, 4.5G, etc.).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Syn
  • the first network and the second network are determined according to a first physical SIM card or a second physical SIM card, and a technical standard supported by the virtual SIM card, and the first network and the second network may be the same standard network or different network standards.
  • the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the physical SIM card and the first network; and a second radio frequency, connected to the second processing unit, configured to be Establish a data service link between the virtual SIM card and the second network.
  • first processing unit and the second processing unit perform data services, they can be processed by running a corresponding protocol stack.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may be a mobile terminal including a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset first interface includes one of the following interfaces: an HSIC interface, an SMD interface, a USB interface, an HS-USB interface, a UART interface, and an SDIO interface.
  • the preset first interface or the second interface or the third interface may be other interfaces as long as the communication protocol requirements are met.
  • the embodiment of the present invention further includes:
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the first physical SIM card or the second physical SIM card, and the data service corresponding to the virtual SIM card.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the first processing unit is further loaded with a first protocol stack
  • the second processing unit is correspondingly loaded with a second protocol stack
  • the protocol stack is set to implement data services.
  • the first physical SIM card or the second physical SIM card and the virtual SIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission while the data card is transmitting.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • a first digital signal processing unit configured to perform audio processing on the codec-converted signal of the codec when transmitting the voice service through the first physical SIM card or the second physical SIM card a protocol stack; when the voice service is performed through the virtual SIM card, the audio processed signal is transmitted to the second protocol stack of the second processing unit, or the codec-converted signal is transmitted to the second processing unit.
  • Second digital signal processing unit Second digital signal processing unit;
  • the first digital signal processing unit may transmit the audio processed signal to the second protocol stack by using the second digital signal processing unit of the second processing unit.
  • Communication between the first digital signal processing unit and the second digital signal processing unit may be through the first interface or the second interface.
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a second digital signal processing unit configured to transmit the audio processed signal to the second protocol stack; or perform audio processing on the codec converted analog signal and transmit the signal to the second Protocol stack
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the first radio frequency is further configured to transmit the signal from the first network to the first protocol stack;
  • the second radio frequency is further configured to transmit the signal from the second network to the second protocol stack;
  • the first digital signal processing unit is further configured to: when the voice service is performed by the first entity SIM card or the second entity SIM card, perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec; When the virtual SIM card performs voice service, the signal from the second processing unit is transmitted to the codec;
  • the signal from the second processing unit refers to the signal processed by the second protocol stack, may be from the second protocol stack of the second processing unit, or may be from the second digital signal processing unit of the second processing unit.
  • the codec is further configured to perform analog to digital conversion on the signal from the first digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link with the virtual SIM card by using the first physical SIM card or the second physical SIM card, and realizes two SIM cards simultaneously performing data services, thereby improving the user's Use experience.
  • FIG. 9 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 9, the method includes: a virtual subscriber identity module (SIM) card, an application processor, and a first set to connect a first physical SIM card and a second physical SIM card. a processing unit, a second processing unit; wherein
  • SIM virtual subscriber identity module
  • the virtual SIM card is connected to the second processing unit;
  • the second processing unit of the embodiment of the present invention may include a modem.
  • the implementation of the virtual SIM card may include: implementing a virtual intra-chip on the Modem User Identity Module (UIM) driver (Drv) side of the second processing unit.
  • the operating system vcos, virtual chip operating system
  • the SIM card is realized by storing the data information of the SIM card in the Modem Encrypting File System (EFS);
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the operation instruction may be received and processed by the application layer in the application processor; after the first control instruction and the second control instruction generated according to the received operation instruction, the first control instruction may be preset.
  • the first interface is transmitted to the first processing unit, and the second control command is transmitted to the second processing unit through the preset second interface;
  • the first processing unit is connected to the application processor through the preset first interface, and is configured to establish a data service link with the first network to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • the preset first interface may include: a shared memory (SMD) interface; the preset first interface may be other interfaces, as long as the communication protocol requirements are met;
  • SMS shared memory
  • the second processing unit is connected to the application processor through the preset second interface, and is configured to establish a data service link with the second network to perform data service transmission of the virtual SIM card.
  • the second interface preset in the embodiment of the present invention includes one of the following interfaces: a USB, a Universal Asynchronous Receiver/Transmitter (UART), and a Secure Digital Input and Output Card (SDIO).
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met;
  • connection between the embodiment of the present invention and the application processor may include: connecting with a hardware driver (ie, a driver layer) in a kernel layer in an application processor (AP, App Processor) of the terminal, if the first The interface is SMD, then the docked hardware driver is the SMD driver; the corresponding connection on the SMD driver is the TCP/IP route and the QMI transport protocol part; the second interface is the same. If the second interface is USB, then the docking is USB driver in the kernel. After the data service link is established, the first entity SIM card or the second entity SIM card performs data service through the data channel established by the first interface, and the virtual SIM card performs data service through the data channel established by the second interface.
  • a hardware driver ie, a driver layer
  • AP App Processor
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected through a GPIO port, and the two processing units are implemented through the connection.
  • the control signals may include: sleep, wake-up, synchronization control, control of the chip startup sequence when the machine is turned on, and the like.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first entity SIM card, the second entity SIM card, and the virtual SIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate for GSM Evolution (EDGE) technology, 3G communication technology (eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-CDMA) (Time Division-Synchronous Code Division Multiple Access)), 4G communication technology (for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other mobile communication technology (for example, 4G, 4.5G, etc.).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-
  • the first network and the second network are determined according to technical standards supported by the first physical SIM card, the second physical SIM card, and the virtual SIM card; the first network is a network corresponding to the first physical SIM card or the second physical SIM card, and may be Is the network of different operators, the first network is set to indicate that the first process is passed
  • the network established by the unit may be the same system or different networks; the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN , CDMA-2000, TD-SCDMA, WCDMA, etc.
  • the application processor of the embodiment of the present invention is further configured to:
  • the application processor performs service allocation on the data service of the terminal according to the package information of the virtual SIM card, the first physical SIM card, and the second physical SIM card, including:
  • the virtual SIM card is selected for data service
  • the application processor of the embodiment of the present invention may further be configured to: according to network quality of the first network and the second network, and at least one of the virtual SIM cards, the first entity SIM card, and the second entity SIM card package information. Perform service allocation on the data service of the terminal.
  • network quality of the first network and the second network and at least one of the virtual SIM cards, the first entity SIM card, and the second entity SIM card package information.
  • the virtual SIM card is selected for data service
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the data service corresponding to the first physical SIM card or the second physical SIM card and the virtual SIM card.
  • the first preset threshold and the second preset threshold are according to the user's The type of the package and the user's usage habits are designed and implemented.
  • the preset service allocation policy may include: according to the signal strength of the first network and the second network, the SIM card with strong signal strength, More data services are allocated, and relatively less data services are allocated to SIM cards with relatively small signal strength; the number of specific distributed data services can be calculated by counting the download speeds of SIM cards under different signal strengths, according to statistical results.
  • the network quality is one or more of signal strength, network speed, and link delay length
  • data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the terminal of the embodiment of the present invention further includes:
  • the first radio frequency is connected to the first processing unit, and is configured to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the second radio frequency is connected to the second processing unit and configured to establish a data service link between the virtual SIM card and the second network.
  • the first processing unit and the second processing unit may be processed by running the corresponding protocol stack.
  • the first protocol stack is used as the protocol stack running by the first processing unit
  • the second protocol stack acts as a protocol stack for the second processing unit.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • 10 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 10, a terminal having a first radio frequency and a second radio frequency added to FIG. 9 may be a network node, for example, a virtual SIM card is provided. A wireless router of a physical SIM card and a second physical SIM card.
  • the application processor of the embodiment of the present invention is further configured to:
  • the service menu data includes: a virtual SIM card number and a virtual SIM card package type
  • the class, the type of the package may include: different packages determined according to the number of available short messages, the available call duration, the available traffic size, and the like;
  • the second processing unit is further configured to write the data information to the virtual SIM card and invoke the data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • the data information may include: an International Mobile Subscriber Identity (IMSI), a Subscriber authentication key, an Integrated Circuit Card Identifier (ICCID), and a Personal Identification Number (PIN). Number), PIN code unlock code PUK (PIN Unlocking Key);
  • IMSI International Mobile Subscriber Identity
  • ICCID Integrated Circuit Card Identifier
  • PIN Personal Identification Number
  • PIN code unlock code PUK PIN Unlocking Key
  • FIG. 5 is a service menu according to an embodiment of the present invention.
  • a schematic diagram of the interaction interface of the data as shown in FIG. 5, by indicating the selected mobile phone number and the type of the package in the left oblique line display box in FIG. 5, triggering the transmission of the service menu data by the determination key; after the cloud server receives the service menu data, The corresponding data information is assigned to the selected number and package, and the application processor sends the obtained data information to the second processing unit.
  • the first processing unit is further configured to: read an authentication parameter of the first entity SIM card or the second entity SIM card, to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the virtual SIM card by using the first network that establishes the data service link, to obtain the data information of the virtual SIM card from the cloud server, and acquire the data.
  • the information is sent to the second processing unit; wherein the service menu data includes: a number of the virtual SIM card and a package type of the virtual SIM card;
  • the second processing unit is further configured to write the received data information to the virtual SIM card and invoke the data information written to the virtual SIM card to implement network registration of the virtual SIM card.
  • the first processing unit is further configured to read an authentication parameter of the first entity SIM card or the second entity SIM card to establish a data service between the first entity SIM card or the second entity SIM card and the first network Linking the received data information to the second processing unit through a pre-established data transmission channel;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the virtual SIM card by using the first network that establishes the data service link, to obtain the data information of the virtual SIM card from the cloud server, and obtain the data.
  • the data information is sent to the first processing unit; wherein the service menu data includes: a number of the virtual SIM card and a package type of the virtual SIM card;
  • the second processing unit is further configured to write the data information of the received virtual SIM card to the virtual SIM card, and invoke the data information of the virtual SIM card to implement network registration of the virtual SIM card.
  • the pre-established data transmission channel may be an analog serial port, and may include: an analog transmission serial port and an analog receiving serial port.
  • a call connection may be established through the first network based on the first processing unit to perform a voice call; and the virtual SIM card in which the data service is performed may be based on the second processing unit.
  • the second network establishes a call connection for making a voice call.
  • the first processing unit is further loaded with the first protocol stack
  • the second processing unit is correspondingly loaded with the second protocol stack
  • the protocol stack is set to implement the data service.
  • the first physical SIM card (or the second physical SIM card) and the virtual SIM card can simultaneously perform data service transmission, wherein when one SIM card performs data service transmission, other SIM cards can perform voice transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • a digital signal processing unit configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the virtual SIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 11 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 11, the terminal adds a microphone, a codec, a digital signal processing unit, an earpiece, and the like to the structure of FIG. 10; FIG. 11 can be understood as including A mobile SIM or tablet with a virtual SIM card and two physical SIM cards.
  • FIG. 12 is a flowchart of a method for implementing wireless communication according to an embodiment of the present invention.
  • a terminal includes a virtual SIM card, as shown in FIG. 12, including:
  • Step 1200 Receive an operation instruction of the user through a user interaction interface, and generate a first control instruction and a second control instruction according to the operation instruction of the user;
  • Step 1201 Establish a data service link between the first processing unit and the first network according to the first control instruction, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • Step 1202 Establish a data service link between the second processing unit and the second network according to the second control instruction, to perform data service transmission of the virtual SIM card;
  • the first processing unit is configured to be connected to the first physical SIM card and the second physical SIM card, the first processing unit is connected to the application processor through the preset first interface, and the virtual SIM card is connected to the second processing unit.
  • the second processing unit is connected to the application processor through a preset second interface.
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected by using a GPIO, and the two processing units are implemented through the connection.
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the foregoing control signal by one of the processing units, for example, by using the first processing list.
  • the element performs control of the first processing unit and the second processing unit.
  • the first physical SIM card, the second physical SIM card, and the virtual SIM card may correspond to different or the same technical standards.
  • the technical standards may be 2G technology GPRS, EDGE, 3G communication technology, TDS-CDMA, 4G communication technology, TD-LTE, or any other mobile communication technology (eg, 4G, 4.5G, etc.).
  • the first network and the second network are determined according to technical standards supported by the first physical SIM card, the second physical SIM card, and the virtual SIM card, and the first network and the second network may be the same standard network or different network standards.
  • the network; the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the first physical SIM card or the second physical SIM card and the first network; the second radio frequency, and The second processing unit is connected to set up a data service link between the virtual SIM card and the second network.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset second interface includes one of the following interfaces: USB, UART, and SDIO.
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met.
  • the method of the embodiment of the present invention further includes:
  • the virtual SIM card is selected to perform data service
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, The data service corresponding to the first entity SIM card or the second entity SIM card and the virtual SIM card is allocated.
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the virtual SIM card is selected for data service
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the data service corresponding to the first physical SIM card (or the second physical SIM card) and the virtual SIM card.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the method of the embodiment of the present invention further includes:
  • the service menu data includes: the virtual SIM The card number and the type of package for the virtual SIM card;
  • the data information written to the virtual SIM card is invoked to implement network registration of the virtual SIM card.
  • the first processing unit may establish a call connection through the first network to perform a voice call; in the virtual SIM card that performs the data service, A call connection can be established over the second network based on the second processing unit to make a voice call.
  • the first processing unit is further loaded with the first protocol stack
  • the second processing unit is correspondingly loaded with the second protocol stack
  • the protocol stack is set to implement the data service.
  • the first physical SIM card (or the second physical SIM card) and the virtual SIM card can simultaneously perform data service transmission, wherein when one SIM card performs data service transmission, other SIM cards can perform voice transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • the digital signal processing unit is configured to perform audio processing on the codec converted analog signal and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the virtual SIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 13 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention, as shown in FIG. include:
  • Step 1300 Send, by using a first network, a wireless fidelity (WIFI) network, or an operator network, a download request including service menu data to a cloud server corresponding to the virtual SIM card, to obtain data information of the virtual SIM card from the cloud server;
  • the service menu data includes: a virtual SIM card number and a virtual SIM card package type;
  • Step 1301 Write the obtained data information of the virtual SIM card to the virtual SIM card.
  • Step 1302 Calling data information written into the virtual SIM card to implement network registration of the virtual SIM card;
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the virtual SIM in the data service is performed.
  • the card may establish a call connection through the second network based on the second processing unit to perform a voice call.
  • Step 1303 Receive an operation instruction of the user through a user interaction interface, and generate a first control instruction and a second control instruction according to the operation instruction of the user;
  • Step 1304 Establish a data service link between the first processing unit and the first network according to the first control instruction, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • Step 1305 Establish a data service link between the second processing unit and the second network according to the second control instruction, to perform data service transmission of the virtual SIM card.
  • the first processing unit is configured to be connected to the first physical SIM card and the second physical SIM card, the first processing unit is connected to the application processor through the preset first interface, and the virtual SIM card is connected to the second processing unit.
  • the second processing unit is connected to the application processor through a preset second interface.
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected by using a GPIO, and the two processing units are implemented through the connection.
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card, the second physical SIM card, and the virtual SIM card may correspond to no Same or the same technical standard.
  • the technical standards may be 2G technology GPRS, EDGE, 3G communication technology, TDS-CDMA, 4G communication technology, TD-LTE, or any other mobile communication technology (eg, 4G, 4.5G, etc.).
  • the first network and the second network are determined according to technical standards supported by the physical SIM card and the virtual SIM card, and the first network and the second network may be the same standard network or different network standards; the first network and the second network.
  • the network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the first entity SIM card or the second entity SIM card and the first network; the second radio frequency and the The two processing unit connections are set to establish a data service link between the virtual SIM card and the second network.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may be a mobile terminal including a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset second interface includes one of the following interfaces: USB, UART, and SDIO.
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met.
  • the method of the embodiment of the present invention further includes:
  • the virtual SIM card is selected for data service
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, assigning the first according to the preset service allocation policy The corresponding data service of the physical SIM card or the second physical SIM card and the virtual SIM card.
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the virtual SIM card is selected for data service
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the virtual SIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated data services corresponding to the first physical SIM card or the second physical SIM card and the virtual SIM card.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the first processing unit is further loaded with the first protocol stack
  • the second processing unit is correspondingly loaded with the second protocol stack
  • the protocol stack is set to implement the data service.
  • the first physical SIM card (or the second physical SIM card) and the virtual SIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission when performing data service transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • the digital signal processing unit is configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the virtual SIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 14 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 14, the method includes: an embedded subscriber identity module (E SIM) card, an application processor, and a first entity subscriber identity module (SIM) card and a a first processing unit and a second processing unit of the two physical SIM card; wherein
  • E SIM embedded subscriber identity module
  • SIM entity subscriber identity module
  • the ESIM card is connected to the second processing unit;
  • the second processing unit of the embodiment of the present invention may include a modem.
  • the ESIM card is built in the terminal, and the relevant card parameters are directly written into the ESIM card, and the ESIM card includes programmable The SIM card chip; wherein the chip comprises an encrypted on-chip operating system (VCOS, Virtual Chip Operating System), and the ESIM card can be directly hung in the second processing unit, similar to the implementation of the current physical card.
  • VCOS Virtual Chip Operating System
  • the physical SIM card may be a SIM card included in the terminal itself; or may be a SIM card added later by the terminal, that is, the terminal itself does not include the physical SIM. card;
  • the application processor is configured to receive an operation instruction of the user through a preset user interaction interface, generate a first control instruction and a second control instruction according to the operation instruction of the user, and transmit the first control instruction to the first processing unit, Transmitting the second control command to the second processing unit;
  • the operation instruction may be applied through an application in the application processor.
  • Layer receiving and processing after the first control instruction and the second control instruction generated according to the received operation instruction, the first control instruction may be transmitted to the first processing unit through the preset first interface, and the second control instruction may be preset The second interface is transmitted to the second processing unit;
  • the ESIM card is connected to the second processing unit through a serial port.
  • the serial port includes a universal asynchronous transceiver transmitter (UART).
  • the first processing unit is connected to the application processor through the preset first interface, and is configured to establish a data service link with the first network to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • the preset first interface may include: a shared memory (SMD) interface;
  • SMD shared memory
  • the second processing unit is connected to the application processor through the preset second interface, and is configured to establish a data service link with the second network to perform data service transmission of the ESIM card.
  • the second interface preset in the embodiment of the present invention includes one of the following interfaces: USB, UART, and Secure Digital Input Output (SDIO).
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met;
  • connection between the embodiment of the present invention and the application processor may include: connecting with a hardware driver (ie, a driver layer) in a kernel layer in an application processor (AP) of the terminal, if the first interface is an SMD Then, the docked hardware driver is the SMD driver; the corresponding connection on the SMD driver is the TCP/IP route and the QMI transport protocol part; the second interface is the same. If the second interface is USB, then the docking is in the kernel. USB driver. After the data service link is established, the first entity SIM card or the second entity SIM card performs data service through the data channel established by the first interface, and the ESIM card performs data service through the data channel established by the second interface.
  • a hardware driver ie, a driver layer
  • AP application processor
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected through a GPIO port, and the two processing units are implemented through the connection.
  • the control signals may include: sleep, wake-up, synchronization control, control of the chip startup sequence when the machine is turned on, and the like.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card (or the second physical SIM card) and the ESIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate for GSM Evolution (EDGE) technology, 3G communication technology (eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-CDMA) (Time Division-Synchronous Code Division Multiple Access)), 4G communication technology (for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other mobile communication technology (for example, 4G, 4.5G, etc.).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (T
  • the first network and the second network are determined according to technical standards supported by the first physical SIM card (or the second physical SIM card) and the ESIM card, and the first network and the second network may be networks of the same standard or different systems.
  • the network; the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the application processor of the embodiment of the present invention is further configured to:
  • the application processor performs service allocation on the data service of the terminal according to the package information of the ESIM card and the physical SIM card, including:
  • the package allowance is allocated according to the preset service allocation policy.
  • a first physical SIM card (or a second physical SIM card) greater than a first predetermined threshold and The corresponding data service of the ESIM card.
  • the application processor of the embodiment of the present invention may further be configured to: according to network quality of the first network and the second network, and at least one of the ESIM cards and the package information of the first entity SIM card or the second entity SIM card. Perform service allocation on the data service of the terminal.
  • network quality of the first network and the second network and at least one of the ESIM cards and the package information of the first entity SIM card or the second entity SIM card.
  • the package amount of the first entity SIM card (or the second entity SIM card) is greater than the first preset threshold, and the package margin of the ESIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first
  • the signal strength of the network and the second network, the speed of the network, and the length of the link delay are allocated to the first physical SIM card (or the second physical SIM card) of the first preset threshold and the corresponding data of the ESIM card. business.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the terminal of the embodiment of the present invention further includes:
  • the first radio frequency is connected to the first processing unit, and is configured to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the second radio frequency is connected to the second processing unit and configured to establish a data service link between the ESIM card and the second network.
  • the first processing unit and the second processing unit may be processed by running the corresponding protocol stack.
  • the first protocol stack is used as the protocol stack running by the first processing unit
  • the second protocol stack acts as a protocol stack for the second processing unit.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • 15 is a structural block diagram of a terminal according to another embodiment of the present invention. As shown in FIG. 15, a terminal having a first radio frequency and a second radio frequency added to FIG. 14 may be a network node, for example, an ESIM card and a first A wireless router of a physical SIM card (or a second physical SIM card).
  • the application processor of the embodiment of the present invention is further configured to: send, by using an open wireless fidelity (WIFI) network, a download request including service menu data to a cloud server corresponding to the ESIM card, to acquire data of the ESIM card from the cloud server. Information; sending the obtained data information to the second processing unit;
  • WIFI open wireless fidelity
  • the service menu data includes: a number of the ESIM card and a type of the ESIM card, and the type of the package may include: different packages determined according to the number of available short messages, the available call duration, and the available traffic size;
  • the second processing unit is further configured to write the data information to the ESIM card and call the data information written to the ESIM card to implement network registration of the ESIM card.
  • the data information may include: an IMSI (International Mobile Subscriber Identity), a Ki (Subscrber authentication key), an ICCID (Integrated Circuit Card Identifier), a PIN (Personal Identification Number), and a PUK (PIN Unlocking Key);
  • IMSI International Mobile Subscriber Identity
  • Ki Subscrber authentication key
  • ICCID Integrated Circuit Card Identifier
  • PIN Personal Identification Number
  • PUK PIN Unlocking Key
  • the application processor can implement the display of the optional number and the optional package through a service interaction interface. After completing the number and the package selection, the download request is sent by determining the button, and FIG. 5 is the present invention.
  • the interaction interface diagram of the service menu data of the embodiment, as shown in FIG. 5, indicates the selected mobile phone number and the type of the package by the left oblique line display box in FIG. 5, and triggers the transmission of the service menu data by the determination key; the cloud server receives the service. After the menu data, the corresponding data information is assigned to the selected number and package, and the application processor sends the data information to the second place. Unit.
  • the first processing unit is further configured to: read an authentication parameter of the first entity SIM card or the second entity SIM card, to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the ESIM card by establishing a data service link, to acquire the data information of the ESIM card from the cloud server, and send the acquired data information to the second process.
  • the service menu data includes: a number of the ESIM card and a type of the package of the ESIM card;
  • the second processing unit is further configured to write the received data information to the ESIM card and call the data information written to the ESIM card to implement network registration of the ESIM card.
  • the first processing unit is further configured to: read an authentication parameter of the first entity SIM card or the second entity SIM card to establish a data service link between the first entity SIM card or the second entity SIM card and the first network;
  • the established data transmission channel sends the received data information from the ESIM card sent by the application processor to the second processing unit;
  • the application processor is further configured to send a download request including the service menu data to the cloud server corresponding to the ESIM card by using the first network that establishes the data service link, to obtain the data information of the ESIM card from the cloud server, and send the acquired data information. Going to the first processing unit; wherein, the service menu data includes: a number of the ESIM card and a type of the package of the ESIM card;
  • the second processing unit is further configured to write the data information of the received ESIM card to the ESIM card, and call the data information of the ESIM card to implement network registration of the ESIM card.
  • the pre-established data transmission channel may be an analog serial port, and may include: an analog transmission serial port and an analog receiving serial port.
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the ESIM card in the data service is performed.
  • the call connection can be established through the second network based on the second processing unit to perform a voice call.
  • the first processing unit is further loaded with the first protocol stack, and the second processing unit is correspondingly loaded with the second protocol stack, and the protocol stack is set to implement the data service.
  • the first physical SIM card (or the second physical SIM card) and the ESIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission when another data card is transmitted.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • a digital signal processing unit configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the ESIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 16 is a structural block diagram of a terminal according to still another embodiment of the present invention. As shown in FIG. 16, the terminal adds a microphone, a codec, a digital signal processing unit, an earpiece, etc. to the structure of FIG. 15; FIG. 16 can be understood to include A mobile phone or tablet with an ESIM card and two physical SIM cards.
  • FIG. 17 is a flowchart of a method for implementing wireless communication according to an embodiment of the present invention.
  • an ESIM card is included in the terminal, as shown in FIG.
  • Step 1700 Receive an operation instruction of the user through a user interaction interface, and generate a first control instruction and a second control instruction according to the operation instruction of the user;
  • Step 1701 Establish a data service link between the first processing unit and the first network according to the first control instruction, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • Step 1702 establishing a data service link between the second processing unit and the second network according to the second control instruction, to perform data service transmission of the ESIM card;
  • the first physical SIM card and the second physical SIM card are both connected to the first processing unit, the first processing unit is connected to the application processor through the preset first interface; the ESIM card is connected to the second processing unit, and the second processing is performed.
  • the unit is connected to the application processor through a preset second interface.
  • the first processing unit and the second processing unit may include a modem; the first processing unit and the second processing unit may be connected by a General Purpose Input Output (GPIO).
  • GPIO General Purpose Input Output
  • the definition and transfer of control signals between two processing units are achieved through a connection.
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card, the second physical SIM card, and the ESIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate for GSM Evolution (EDGE) technology, 3G communication technology (eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS-CDMA) (Time Division-Synchronous Code Division Multiple Access)), 4G communication technology (for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other mobile communication technology (for example, 4G, 4.5G, etc.).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (TDS
  • the first network and the second network are determined according to technical standards supported by the first physical SIM card, the second physical SIM card, and the ESIM card, and the first network and the second network may be networks of the same standard,
  • the network may be of different network standards; the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the first physical SIM card (or the second physical SIM card) and the first network; And connected to the second processing unit, configured to establish a data service link between the ESIM card and the second network.
  • the first processing unit and the second processing unit perform data services, they can be processed by running a corresponding protocol stack.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include a mobile terminal such as a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset second interface includes one of the following interfaces: USB, UART, and SDIO.
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met;
  • the method of the embodiment of the present invention further includes:
  • the package allowance is allocated according to the preset service allocation policy. And corresponding data services of the first entity SIM card and the ESIM card that are greater than the first preset threshold, or data services corresponding to the second entity SIM card and the ESIM card with the balance of the package being greater than the first preset threshold.
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the ESIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first network
  • the signal strength of the second network, the speed of the network, the length of the link delay, and the data service corresponding to the first physical SIM card and the ESIM card of the first preset threshold, or according to the first network and the first network The signal strength of the network, the speed of the network, and the length of the link delay are allocated to the second entity SIM card and the corresponding data service of the ESIM card with the remaining amount of the package being greater than the first preset threshold.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the method of the embodiment of the present invention further includes:
  • the service menu data includes: the number of the ESIM card And the type of package for the ESIM card;
  • the data information written to the ESIM card is called to implement network registration of the ESIM card.
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the ESIM card in the data service is performed.
  • the call can be established through the second network based on the second processing unit Connect for a voice call.
  • the first processing unit is further loaded with the first protocol stack, and the second processing unit is correspondingly loaded with the second protocol stack, and the protocol stack is set to implement the data service.
  • the first physical SIM card (or the second physical SIM card) and the ESIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission when performing data service transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • the digital signal processing unit is configured to perform audio processing on the codec-converted signal of the codec and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the ESIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • FIG. 18 is a flowchart of a method for implementing wireless communication according to another embodiment of the present invention. As shown in FIG. 18, the method includes:
  • Step 1800 Send a download request including service menu data to a cloud server corresponding to the ESIM card through the first network, a wireless fidelity (WIFI) network, or an operator network, to obtain a service request from the cloud service.
  • the server obtains the data information of the ESIM card; wherein, the service menu data includes: a number of the ESIM card and a type of the package of the ESIM card;
  • Step 1801 Write the acquired data information of the ESIM card to the ESIM card;
  • Step 1802 Calling data information written into the ESIM card to implement network registration of the ESIM card;
  • the call connection may be established through the first network based on the first processing unit to perform a voice call; and the ESIM card in the data service is performed.
  • the call connection can be established through the second network based on the second processing unit to perform a voice call.
  • Step 1803 receiving an operation instruction of the user through a user interaction interface, and generating a first control instruction and a second control instruction according to the operation instruction of the user;
  • Step 1804 establishing a data service link between the first processing unit and the first network according to the first control instruction, to perform data service transmission of the first entity SIM card or the second entity SIM card;
  • Step 1805 Establish a data service link between the second processing unit and the second network according to the second control instruction, to perform data service transmission of the ESIM card.
  • the first physical SIM card and the second physical SIM card are both connected to the first processing unit, the first processing unit is connected to the application processor through the preset first interface; the ESIM card is connected to the second processing unit, and the second processing is performed.
  • the unit is connected to the application processor through a preset second interface.
  • the first processing unit and the second processing unit may include a modem (Modem); the first processing unit and the second processing unit may pass through a general-purpose input/output (GPIO, General Purpose). Input Output)
  • the control signals include: sleep, wake-up, synchronization control, and control of the chip startup sequence when the machine is turned on and off.
  • the embodiment of the present invention may implement the execution of the above control signal by one of the processing units, for example, the first processing unit and the second processing unit by the first processing unit.
  • the first physical SIM card, the second physical SIM card, and the ESIM card may correspond to different or the same technical standards.
  • the technical standard may be a second generation mobile communication (2G) technology (eg, Global System for Mobile Communication (GSM), General Packet Radio Service Technology (GPRS, General Packet Radio).
  • 2G second generation mobile communication
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service Technology
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service Technology
  • EDGE Enhanced Data Rate for GSM Evolution
  • 3G communication technology eg, Wideband Code Division Multiple Access (WCDMA), Time Division Synchronous Code Division Multiple Access (WCDMA) TDS-CDMA (Time Division-Synchronous Code Division Multiple Access)
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Time Division Synchronous Code Division Multiple Access
  • TDS-CDMA Time Division-Synchronous Code Division Multiple Access
  • 4G communication technology for example, Long Term Evolution (LTE), Time Division Long Term Evolution (TD-LTE), or any other Mobile communication technologies (eg, 4G, 4.5G, etc.).
  • the first network and the second network are determined according to technical standards supported by the first physical SIM card, the second physical SIM card, and the ESIM card, and the first network and the second network may be networks of the same standard or networks of different network standards.
  • the first network and the second network may be any of the following networks: LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may include: a first radio frequency, connected to the first processing unit, configured to establish a data service link between the first physical SIM card or the second physical SIM card and the first network; the second radio frequency, and The second processing unit is connected to establish a data service link between the ESIM card and the second network.
  • the radio access technologies involved in the first radio frequency and the second radio frequency may include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA, and the like.
  • the terminal may be a mobile terminal including a mobile phone or a tablet, or may be a network node such as a wireless router.
  • the preset second interface includes one of the following interfaces: USB, UART, and SDIO.
  • the preset second interface may be other interfaces as long as the communication protocol requirements are met.
  • the method of the embodiment of the present invention further includes:
  • the package allowance is allocated according to the preset service allocation policy. And corresponding data services of the first entity SIM card and the ESIM card that are greater than the first preset threshold, or data services corresponding to the second entity SIM card and the ESIM card with the balance of the package being greater than the first preset threshold.
  • the embodiment of the present invention may perform data service allocation according to the package information and the network quality; optionally,
  • the package amount of the first entity SIM card or the second entity SIM card is greater than the first preset threshold, and the package margin of the ESIM card is greater than the second preset threshold, according to the preset service allocation policy, according to the first network
  • the signal strength of the second network, the speed of the network, the length of the link delay, and the data service corresponding to the first physical SIM card and the ESIM card of the first preset threshold, or according to the first network and the first network The signal strength of the network, the speed of the network, and the length of the link delay are allocated to the second entity SIM card and the corresponding data service of the ESIM card with the remaining amount of the package being greater than the first preset threshold.
  • the first preset threshold and the second preset threshold are designed according to the type of the user's package and the user's usage habit; and the network quality including the signal strength is taken as an example, the preset service allocation strategy.
  • the method may include: allocating more data services to the SIM card with strong signal strength according to the signal strength of the first network and the second network, and allocating relatively less data services to the SIM card with relatively small signal strength; The number of data services can be calculated by comparing the download speeds of SIM cards under different signal strengths, and the corresponding values can be obtained according to the statistical results. When the data services of the two SIM cards are allocated for download, the same data service can be completed simultaneously. Data download.
  • the network quality is one or more of signal strength, network speed, and link delay length, data service allocation can be performed based on the principle of signal strength for data service allocation.
  • the first processing unit is further loaded with a first protocol stack
  • the second processing unit is correspondingly The loading has a second protocol stack
  • the protocol stack is set to implement data services.
  • the first physical SIM card (or the second physical SIM card) and the ESIM card can simultaneously perform data service transmission, wherein one SIM card can perform voice transmission when performing data service transmission.
  • terminal of the embodiment of the present invention may further include:
  • a microphone set to collect voice signals
  • a codec configured to perform analog-to-digital conversion on a voice signal collected by the microphone
  • the first processing unit further includes:
  • the digital signal processing unit is configured to perform audio processing on the codec converted analog signal and transmit the signal to the first protocol stack;
  • the first radio frequency transmits the signal processed by the first protocol stack to the first network.
  • the second processing unit may further include: a digital signal processing unit configured to perform audio processing on the codec-converted signal and transmit the signal to the second protocol stack;
  • the second radio frequency transmits the signal processed by the second protocol stack to the second network.
  • the digital signal processing unit is configured to perform audio processing on the signal processed by the first protocol stack and transmit the signal to the codec;
  • the codec is configured to perform analog to digital conversion on signals from the digital signal processing unit;
  • the handset is set to output a speech signal processed by the codec.
  • the embodiment of the present invention establishes a data service link by using the first physical SIM card (or the second physical SIM card) and the ESIM card, so that two SIM cards simultaneously perform data services, thereby improving the user experience.
  • the embodiment of the invention further provides a mobile terminal, including:
  • Memory set to store instructions
  • a processor arranged to execute the instructions, implements the method steps of implementing wireless communication as described above.
  • the memory may be the memory 160 of the mobile terminal of FIG. 1; the processor may be disposed in the controller 180 of the mobile terminal of FIG.
  • Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method steps of implementing wireless communication as described above.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
  • the embodiment of the invention realizes that two SIM cards simultaneously perform data services, thereby improving the user experience.

Abstract

一种实现无线通信的方法及终端,包括:设置在应用处理器的虚拟用户识别模块(SIM)卡;应用处理器,通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并分别传输至第一处理单元和第二处理单元;第一处理单元,设置为设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;第二处理单元,设置为设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输。

Description

一种实现无线通信的方法及终端 技术领域
本文涉及但不限于无线通信技术,尤指一种实现无线通信的方法及终端。
背景技术
随着移动通信技术的发展,先进的蜂窝网络(例如,基于长期演进(LTE,一些“第四代移动通信网络(4G)”网络所使用的标准)的网络)正在全世界部署。由于引入了正交频分复用(OFDM,Orthogonal Frequency Division Multiplexing)和多输入多输出(MIMO,Multi-Input&Multi-Output)等关键技术,利用包括4G在内的先进的蜂窝网络相关标准可显著增加频谱效率和数据传输速率。
另外,在提高网络速率和频段利用率的同时,多模终端(具有两个用户识别模块(SIM)卡的终端,例如、双卡双待终端)的出现,使得用户在实现语音业务的待机同时,能建立数据业务链接。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种实现无线通信的方法及终端,能够实现两张SIM卡同时进行数据业务,提升用户的上网体验。
本发明实施例提供了一种终端,包括:应用处理器、设置在应用处理器的虚拟用户识别模块SIM卡、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元、第二处理单元;其中,
所述第一处理单元通过预设的第一接口与所述应用处理器连接,所述第二处理单元通过预设的第二接口与所述应用处理器连接,所述虚拟SIM卡 通过所述第二接口或预设的第三接口与所述第二处理单元连接;
所述应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
所述第一处理单元,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行所述第一实体SIM卡或第二实体SIM卡的数据业务传输;
所述第二处理单元,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行所述虚拟SIM卡的数据业务传输。
可选的,所述终端还包括:
第一射频,与所述第一处理单元连接,设置为建立所述第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
第二射频,与所述第二处理单元连接,设置为建立所述虚拟SIM卡与第二网络的数据业务链接。
可选的,所述第一接口或所述第二接口或所述第三接口包括以下接口之一:高速芯片间互连HSIC接口、共享内存驱动SMD接口、通用串行总线USB接口、高速通用串行总线HS-USB接口、通用异步收发传输器UART接口、安全数字输入输出SDIO接口。
可选的,应用处理器还设置为,
当所述第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或第二实体SIM卡进行数据业务;
当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
可选的,所述应用处理器还设置为通过开启的无线保真WIFI网络发送 包含业务菜单数据的下载请求至虚拟SIM卡对应的云端服务器,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息写入所述虚拟SIM卡;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
所述第二处理单元还设置为,调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
可选的,所述第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
应用处理器还设置为,通过建立数据业务链接的第一网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息写入所述虚拟SIM卡;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
所述第二处理单元还设置为,调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
另一方面,本发明实施例还提供一种终端实现无线通信的方法,终端包含设置在应用处理器的虚拟用户识别模块SIM卡,包括:
应用处理器通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
用于连接第一实体SIM卡和第二实体SIM卡的第一处理单元根据第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
第二处理单元根据第二控制指令建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
其中,第一处理单元通过预设的第一接口与应用处理器连接;所述第二处理单元通过预设的第二接口与应用处理器连接,所述虚拟SIM卡通过所述第二接口或预设的第三接口与所述第二处理单元连接。
可选的,该方法还包括:
当所述第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或第二实体SIM卡进行数据业务;
当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
可选的,建立所述数据业务链接之前,所述方法还包括:
通过所述第一网络、WIFI网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
将获取的虚拟SIM卡的数据信息写入所述虚拟SIM卡;
调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
本发明实施例还提供了一种终端,包括:虚拟用户识别模块SIM卡、应用处理器、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元、第二处理单元;其中,
所述虚拟SIM卡与所述第二处理单元连接;
所述应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
所述第一处理单元,通过预设的第一接口与应用处理器连接,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行所述第一实体SIM卡或第二实体SIM卡的数据业务传输;
所述第二处理单元,通过预设的第二接口与应用处理器连接,设置为根 据接收的第二控制指令建立与第二网络的数据业务链接,以进行所述虚拟SIM卡的数据业务传输。
本发明实施例还提供了一种终端实现无线通信的方法,终端包含虚拟SIM卡,包括:
通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
其中,所述第一处理单元设置为与所述第一实体SIM卡和第二实体SIM卡连接,所述第一处理单元通过预设的第一接口与应用处理器连接;所述虚拟SIM卡与第二处理单元连接,所述第二处理单元通过预设的第二接口与应用处理器连接。
本发明实施例还提供了一种终端,包括:嵌入式用户识别模块ESIM卡、应用处理器、连接第一实体用户识别模块SIM卡和第二实体SIM卡的第一处理单元和第二处理单元;其中,
ESIM卡与第二处理单元连接;
应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
第一处理单元,通过预设的第一接口与应用处理器连接,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
第二处理单元,通过预设的第二接口与应用处理器连接,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行ESIM卡的数据业务传输。
本发明实施例还提供了一种终端实现无线通信的方法,终端包含嵌入式用户识别模块ESIM卡,包括:
通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行ESIM卡的数据业务传输;
其中,第一实体SIM卡和第二实体SIM卡均与第一处理单元连接,第一处理单元通过预设的第一接口与应用处理器连接;ESIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
本发明实施例还提供了一种移动终端,包括:
存储器,设置为存储指令;
处理器,设置为执行所述指令,实现如上所述的实现无线通信的方法步骤。
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的实现无线通信的方法步骤。
本申请包括:应用处理器、设置在应用处理器的虚拟用户识别模块SIM卡、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元,第二处理单元;其中,第一处理单元通过预设的第一接口与所述应用处理器连接,第二处理单元通过预设的第二接口与所述应用处理器连接,虚拟SIM卡通过第二接口或预设的第三接口与第二处理单元连接;应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;第一处理单元,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行所述第 一实体SIM卡或第二实体SIM卡的数据业务传输;第二处理单元,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行所述虚拟SIM卡的数据业务传输。本发明实施例通过第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为实现本发明各个实施例可选的移动终端的硬件结构示意图;
图2为如图1所示的移动终端的无线通信系统示意图;
图3为本发明实施例终端的结构框图;
图4为本发明又一实施例终端的结构框图;
图5为本发明实施例业务菜单数据的交互界面示意图;
图6为本发明又一实施例终端的结构框图;
图7为本发明实施例实现无线通信的方法的流程图;
图8为本发明另一实施例实现无线通信的方法的流程图;
图9为本发明又一实施例终端的结构框图;
图10为本发明又一实施例终端的结构框图;
图11为本发明又一实施例终端的结构框图;
图12为本发明实施例实现无线通信的方法的流程图;
图13为本发明另一实施例实现无线通信的方法的流程图;
图14为本发明又一实施例终端的结构框图;
图15为本发明又一实施例终端的结构框图;
图16为本发明再一实施例终端的结构框图;
图17为本发明实施例实现无线通信的方法的流程图;
图18为本发明另一实施例实现无线通信的方法的流程图。
本发明的实施方式
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用设置为表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明实施例的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明实施例中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明各个实施例可选的移动终端的硬件结构示意。
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、输出单元150、存储器160、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括移动通信模块112、无线互联网模块113和短程通信模块114中的至少一个。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和从其接收无线电信号,或者移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个,或者移动通信模块112从基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和多媒体消息中至少一种发送和接收,或发送,或接收的各种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括Wireless Local Area Network,WLAN(无线LAN)(Wi-Fi)、Wireless Broadband access service,Wibro(无线宽带)、Wimax(全球微波互联接入)、High Speed Downlink Packet Access,HSDPA(高速下行链路分组接入)等等。
短程通信模块114是设置为支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(Radio Frequency Identification,RFID)、红外数据协会(Infrared Data Association,IrDA)、超宽带(Ultra Wideband,UWB)、紫蜂ZigBeeTM等等。
A/V输入单元120设置为接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输 出单元150被构造为以视觉、音频和触觉中至少一种方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152等。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和接收的图像中至少一种、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可设置为检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪 存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明实施例能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。
现在将参考图2描述其中根据本发明实施例的移动终端能够操作的通信系统。
这样的通信系统可以使用不同的空中接口和物理层中至少一种。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由设置为分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。
基于上述移动终端硬件结构以及通信系统,提出本发明方法各个实施例。
目前多模终端只能实现其中一个SIM卡使用蜂窝网络(例如、LTE)及其数据业务,而另一SIM卡仅能使用语音业务。因此,终端不能同时支持两个SIM卡同时进行数据业务,影响了用户的上网体验。
图3为本发明实施例终端的结构框图,如图3所示,包括:应用处理器、设置在应用处理器的虚拟用户识别模块(SIM,Subscriber Identity Module)卡、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元,第二处理单元;
其中,终端本身可以包括有第一实体SIM卡和第二实体SIM卡,也可以是后期再配置第一实体SIM卡和第二实体SIM卡即终端本身不包括第一实体SIM卡和第二实体SIM卡。
其中,应用处理器可以包括应用层、服务层、框架层、无线接口层(RIL,Radio Interface Layer)和核心层;或者,包括Java用户空间层、C用户空间层和核心层。
其中,Java用户空间层包括应用层、服务层和框架层,Java用户空间层采用Java语言来实现应用层、服务层和框架层的功能;C用户空间层包括RIL层,C用户空间层采用C语言或C++等来实现RIL的功能。
其中,应用层设置为显示用户交互界面;服务层设置为向应用层提供漫游开关、上网开关、切换默认数据卡和设置网络模式等一系列关键服务;框架层设置为为应用程序提供基本服务、传递信息,以及同RIL通讯,保持通讯的正常使用;RIL设置为处理框架层和第一处理单元以及第二处理单元之 间的通讯。
可选的,虚拟SIM卡的虚拟SIM VCOS系统和命令读写机制可以在应用处理器的服务层模拟实现,而虚拟SIM卡的数据信息存储在应用处理器的存储区中。
其中,第二处理单元可以通过第二接口或第三接口和高通的消息接口(QMI,Qualcomn Message Interface)协议与虚拟SIM卡进行通信。
其中,第一处理单元通过预设的第一接口与应用处理器连接,第二处理单元通过预设的第二接口与应用处理器连接,虚拟SIM卡通过第二接口或预设的第三接口与第二处理单元连接;
这里,预设的第一接口或所述第二接口或所述第三接口可以包括以下接口之一:高速芯片间互连(HSIC,High-Speed Inter-Chip)接口、共享内存驱动(SMD,Shared Memory Driver)接口、通用串行总线(USB,Universal Serial Bus)接口、高速通用串行总线(HS-BUS,High Speed Universal Serial Bus)、通用异步收发传输器(UART,Universal Asynchronous Receiver/Transmitter)接口、安全数字输入输出(SDIO,Secure Digital Input and Output Card)接口。这里,预设的第一接口或第二接口或第三接口可以是其他接口,只要符合通信协议要求即可。
应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
需要说明的是,本发明实施例,操作指令可以通过应用处理器中的应用层接收及处理;根据接收的操作指令生成的第一控制指令和第二控制指令后,应用处理器通过第一接口将第一控制指令传输至第一处理单元,通过第二接口将第二控制指令传输至第二处理单元。
第一处理单元,设置为建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
第二处理单元,设置为建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输。
建立数据业务链接后,第一实体SIM卡或第二实体SIM卡通过由第一接口建立的数据通道进行数据业务,虚拟SIM卡通过由第二接口建立的数据通道进行数据业务。
另一方面,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过通用输入或输出(GPIO,General Purpose Input Output)口连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号可以包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行对第一处理单元和第二处理单元的控制。
本发明实施例,第一实体SIM卡、第二实体SIM卡和虚拟SIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
可选的,应用处理器还设置为,
根据虚拟SIM卡,和第一实体SIM卡或第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。
应用处理器可以通过核心层实现业务分配。
可选的,应用处理器还设置为,当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
可选的,本发明实施例应用处理器还可以设置为根据第一网络和第二网络的网络质量、和虚拟SIM卡中至少一种,和第一实体SIM卡或第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。可选的,
当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据 业务分配。
可选的,本发明实施例终端还包括:
第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
第二射频,与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。
需要说明的是,第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理,本发明实施例以第一协议栈作为第一处理单元运行的协议栈,以第二协议栈作为第二处理单元运行的协议栈。另外,第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。图4为本发明又一实施例终端的结构框图,如图4所示,在图3基础上增加有第一射频和第二射频的终端可以是网络节点,例如、设置有虚拟SIM卡、第一实体SIM卡和第二实体SIM卡的无线路由器。
可选的,应用处理器还设置为,通过开启的无线保真(WIFI)网络发送包含业务菜单数据的下载请求至虚拟SIM卡对应的云端服务器,以从云端服务器获取虚拟SIM卡的数据信息;将获取的数据信息写入虚拟SIM卡;
其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种类,套餐种类可以包括:根据包含可用短信多少、可用通话时长、可用流量大小等确定的不同套餐;
第二处理单元还设置为,调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
其中,应用处理器可以通过应用层获取虚拟SIM卡的数据信息。
这里,数据信息可以包括:国际移动用户识别码(IMSI,International Mobile Subscriber Identity)、Ki(Subscrber authentication key)、集成电路卡识别码(ICCID,Integrated Circuit Card Identifier)、个人标识号(PIN,Personal Identification Number)、PIN的解锁码(PUK,PIN Unlocking Key);
需要说明的是,本发明实施例应用处理器可以通过一个业务交互界面实现可选号码和可选套餐的显示,在完成号码和套餐选择后,通过确定按键发送下载请求,图5为本发明实施例业务菜单数据的交互界面的示意图,如图5所示,通过图5中左斜线显示框来表示选择的手机号码和套餐种类,通过确定键触发业务菜单数据的发送;云端服务器接收到业务菜单数据后,为选择的号码和套餐分配对应的数据信息,应用处理器再将获得的数据信息写入虚拟SIM卡。
可选的,第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
应用处理器还设置为,通过建立数据业务链接的第一网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息写入虚拟SIM卡;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
第二处理单元还设置为,调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
需要说明的是,在进行数据业务的第一实体SIM卡,或第二实体SIM卡,可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡可以同时进行数据业务传输,其中一个SIM卡在进行数据业务传输时,另一张SIM卡还可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
第一数字信号处理单元,设置为当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;当通过虚拟SIM卡进行语音业务时,将音频处理后的信号传输给第二处理单元的第二协议栈,或者,将编解码器模数转换后的信号传输给第二处理单元的第二数字信号处理单元;
其中,第一数字信号处理单元可以通过第二处理单元的第二数字信号处理单元将音频处理后的信号传输给第二协议栈。
第一数字信号处理单元和第二数字信号处理单元之间可以通过第一接口或第二接口进行通信。
第一射频将经第一协议栈处理后的信号发送到第一网络。
第二处理单元也可以包括:第二数字信号处理单元,设置为将音频处理后的信号传输给第二协议栈;或者,对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
第一射频还设置为,将来自第一网络的信号传输给第一协议栈;
第二射频还设置为,将来自第二网络的信号传输给第二协议栈;
第一数字信号处理单元还设置为,当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;当通过虚拟SIM卡进行语音业务时,将来自第二处理单元的信号传输给编解码器;
其中,来自第二处理单元的信号是指经第二协议栈处理后的信号,可以来自第二处理单元的第二协议栈,也可以来自第二处理单元的第二数字信号处理单元。
编解码器还设置为,对来自第一数字信号处理单元的信号进行模数转换;
本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图6为本发明再一实施例终端的结构框图,如图6所示,终端在图4的结构基础上增加了麦克风、编解码器、数字信号处理单元、听筒等;图6可以理解为包含一个虚拟SIM卡和一个实体SIM卡的手机或者平板。
图7为本发明实施例实现无线通信的方法的流程图,在本发明实施例终端上包含有一张设置在应用处理器的虚拟SIM卡,如图7所示,包括:
步骤700、应用处理器通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤701、用于连接第一实体SIM卡和第二实体SIM卡的第一处理单元根据第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤702、第二处理单元根据第二控制指令建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
其中,第一处理单元通过预设的第一接口与应用处理器连接;第二处理单元通过预设的第二接口与应用处理器连接,虚拟SIM卡通过第二接口或预设的第三接口与第二处理单元连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过通用输入输出(GPIO,General Purpose Input Output)连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡、第二实体SIM卡和虚拟SIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio  Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据实体SIM卡和虚拟SIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;第二射频,与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第一接口包括以下接口之一:HSIC接口、SMD接口、USB接口、HS-USB接口、UART接口、SDIO接口。预设的第一接口或第二接口或第三接口可以是其他接口,只要符合通信协议要求即可。
可选的,本发明实施例还包括:
当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
可选的,在建立数据业务链接之前,本发明实施例方法还包括:
通过第一网络、WIFI网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
将获取的虚拟SIM卡的数据信息写入虚拟SIM卡;
调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
需要说明的是,在进行数据业务的第一实体SIM卡,或第二实体SIM卡,可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
第一数字信号处理单元,设置为当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;当通过虚拟SIM卡进行语音业务时,将音频处理后的信号传输给第二处理单元的第二协议栈,或者,将编解码器模数转换后的信号传输给第二处理单元的第二数字信号处理单元;
其中,第一数字信号处理单元可以通过第二处理单元的第二数字信号处理单元将音频处理后的信号传输给第二协议栈。
第一数字信号处理单元和第二数字信号处理单元之间可以通过第一接口或第二接口进行通信。
第一射频将经第一协议栈处理后的信号发送到第一网络。
第二处理单元也可以包括:第二数字信号处理单元,设置为将音频处理后的信号传输给第二协议栈;或者,对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
第一射频还设置为,将来自第一网络的信号传输给第一协议栈;
第二射频还设置为,将来自第二网络的信号传输给第二协议栈;
第一数字信号处理单元还设置为,当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;当通过虚拟SIM卡进行语音业务时,将来自第二处理单元的信号传输给编解码器;
其中,来自第二处理单元的信号是指经第二协议栈处理后的信号,可以来自第二处理单元的第二协议栈,也可以来自第二处理单元的第二数字信号处理单元。
编解码器还设置为,对来自第一数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图8为本发明另一实施例实现无线通信的方法的流程图,如图8所示,包括:
步骤800、通过第一网络、无线保真(WIFI)网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
步骤801、将获取的虚拟SIM卡的数据信息写入虚拟SIM卡;
步骤802、调用写入虚拟SIM卡的数据信息,实现虚拟SIM卡的网络注册;
需要说明的是,在进行数据业务的实体SIM卡,可以基于第一处理单 元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
步骤803、应用处理器通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤804、用于连接第一实体SIM卡和第二实体SIM卡的第一处理单元根据第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤805、第二处理单元根据第二控制指令建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输。
其中,第一处理单元通过预设的第一接口与应用处理器连接;第二处理单元通过预设的第二接口与应用处理器连接,虚拟SIM卡通过第二接口或预设的第三接口与第二处理单元连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过通用输入输出(GPIO,General Purpose Input Output)连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time  Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立实体SIM卡与第一网络的数据业务链接;第二射频,与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以是包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第一接口包括以下接口之一:HSIC接口、SMD接口、USB接口、HS-USB接口、UART接口、SDIO接口。预设的第一接口或第二接口或第三接口可以是其他接口,只要符合通信协议要求即可。
可选的,本发明实施例还包括:
当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
本发明实施例第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
第一数字信号处理单元,设置为当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,对编解码器模数转换后的信号进行音频处理并传输给第 一协议栈;当通过虚拟SIM卡进行语音业务时,将音频处理后的信号传输给第二处理单元的第二协议栈,或者,将编解码器模数转换后的信号传输给第二处理单元的第二数字信号处理单元;
其中,第一数字信号处理单元可以通过第二处理单元的第二数字信号处理单元将音频处理后的信号传输给第二协议栈。
第一数字信号处理单元和第二数字信号处理单元之间可以通过第一接口或第二接口进行通信。
第一射频将经第一协议栈处理后的信号发送到第一网络。
第二处理单元也可以包括:第二数字信号处理单元,设置为将音频处理后的信号传输给第二协议栈;或者,对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
第一射频还设置为,将来自第一网络的信号传输给第一协议栈;
第二射频还设置为,将来自第二网络的信号传输给第二协议栈;
第一数字信号处理单元还设置为,当通过第一实体SIM卡或第二实体SIM卡进行语音业务时,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;当通过虚拟SIM卡进行语音业务时,将来自第二处理单元的信号传输给编解码器;
其中,来自第二处理单元的信号是指经第二协议栈处理后的信号,可以来自第二处理单元的第二协议栈,也可以来自第二处理单元的第二数字信号处理单元。
编解码器还设置为,对来自第一数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的 使用体验。
图9为本发明实施例终端的结构框图,如图9所示,包括:虚拟用户识别模块(SIM)卡、应用处理器、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元、第二处理单元;其中,
虚拟SIM卡与第二处理单元连接;
这里,本发明实施例第二处理单元可以包括调制解调器(Modem);相应的,虚拟SIM卡的实现可以包括:在第二处理单元的Modem用户识别模块(UIM)驱动(Drv)侧实现虚拟片内操作系统(vcos,virtual Chip Operating System),将SIM卡的数据信息存储于Modem的加密文件系统(EFS,Encrypting File System)后,以此实现的SIM卡;
应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
需要说明的是,本发明实施例操作指令可以通过应用处理器中的应用层接收及处理;根据接收的操作指令生成的第一控制指令和第二控制指令后,第一控制指令可以通过预设的第一接口传输至第一处理单元,第二控制指令可以通过预设的第二接口传输至第二处理单元;
第一处理单元,通过预设的第一接口与应用处理器连接,设置为建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
这里,预设的第一接口可以包括:共享内存(Shared Memory Driver,SMD)接口;预设的第一接口可以是其他接口,只要符合通信协议要求即可;
第二处理单元,通过预设的第二接口与应用处理器连接,设置为建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输。
可选的,本发明实施例预设的第二接口包括以下接口之一:USB、通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)、安全数字输入输出(Secure Digital Input and Output Card,SDIO)。这里, 预设的第二接口可以是其他接口,只要符合通信协议要求即可;
需要说明的是,本发明实施例与应用处理器连接可以包括:与终端的应用处理器(AP,App Processor)中的核心(kernel)层中的硬件驱动(即driver层)连接,如果第一接口是SMD,那么对接的硬件驱动就是SMD driver;SMD driver之上对应连接的是TCP/IP路由以及QMI传输协议部分;第二接口也是一样的道理,如果第二接口是USB,那么对接的是kernel中的USB驱动。建立数据业务链接后,第一实体SIM卡或第二实体SIM卡通过由第一接口建立的数据通道进行数据业务,虚拟SIM卡通过由第二接口建立的数据通道进行数据业务。
另一方面,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过GPIO口连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号可以包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
本发明实施例,第一实体SIM卡、第二实体SIM卡和虚拟SIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡、第二实体SIM卡、虚拟SIM卡所支持的技术标准确定;第一网络为第一实体SIM卡或第二实体SIM卡对应的网络,可以是不同运营商的网络,第一网络设置为表示通过第一处理 单元建立的网络。第一网络和第二网络可以是相同制式的网络,也可以不同制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
可选的,本发明实施例应用处理器还设置为,
根据虚拟SIM卡、第一实体SIM卡、第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。
可选的,应用处理器根据虚拟SIM卡、第一实体SIM卡、第二实体SIM卡的套餐信息对终端的数据业务进行业务分配包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配第一实体SIM卡或第二实体SIM卡、和虚拟SIM卡相应的数据业务。
可选的,本发明实施例应用处理器还可以设置为根据第一网络和第二网络的网络质量、和虚拟SIM卡中至少一种、第一实体SIM卡、第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡或第二实体SIM卡、和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的 套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
可选的,本发明实施例终端还包括:
第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
第二射频,与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。
需要说明的是,第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理,本发明实施例以第一协议栈作为第一处理单元运行的协议栈,以第二协议栈作为第二处理单元运行的协议栈。另外,第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。图10为本发明又一实施例终端的结构框图,如图10所示,在图9基础上增加有第一射频和第二射频的终端可以是网络节点,例如、设置有虚拟SIM卡、第一实体SIM卡、第二实体SIM卡的无线路由器。
可选的,本发明实施例应用处理器还设置为,
通过开启的无线保真(WIFI)网络发送包含业务菜单数据的下载请求至虚拟SIM卡对应的云端服务器,以从云端服务器获取虚拟SIM卡的数据信息;将获取的数据信息发往第二处理单元;
其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种 类,套餐种类可以包括:根据包含可用短信多少、可用通话时长、可用流量大小等确定的不同套餐;
第二处理单元还设置为,将数据信息写入虚拟SIM卡,并调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
这里,数据信息可以包括:国际移动用户标志IMSI(International Mobile Subscriber Identity)、用户鉴定密钥Ki(Subscrber authentication key)、集成电路卡标识符ICCID(Integrated Circuit Card Identifier)、个人识别号码PIN(Personal Identification Number)、PIN码的解锁码PUK(PIN Unlocking Key);
需要说明的是,本发明实施例可以通过一个业务交互界面实现可选号码和可选套餐的显示,在完成号码和套餐选择后,通过确定按键发送下载请求,图5为本发明实施例业务菜单数据的交互界面示意图,如图5所示,通过对图5中左斜线显示框表示选择的手机号码和套餐种类,通过确定键触发业务菜单数据的发送;云端服务器接收到业务菜单数据后,为选择的号码和套餐分配对应的数据信息,应用处理器再将获得的数据信息发往第二处理单元。
可选的,本发明实施例中,
第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
应用处理器还设置为,通过建立数据业务链接的第一网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息发往第二处理单元;其中,业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
第二处理单元还设置为,将接收的数据信息写入虚拟SIM卡,并调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
可选的,
第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务 链接;通过预先建立的数据传输通道将接收的数据信息发往第二处理单元;
应用处理器还设置为,通过建立数据业务链接的第一网络向所述虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息发往第一处理单元;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
第二处理单元还设置为,将接收的虚拟SIM卡的数据信息写入虚拟SIM卡,并调用虚拟SIM卡的数据信息,实现虚拟SIM卡的网络注册。
这里,预先建立的数据传输通道可以是模拟串口,可以包括:模拟的发送串口和模拟的接收串口。
需要说明的是,在进行数据业务的实体SIM卡,可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,其他SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图11为本发明再一实施例终端的结构框图,如图11所示,终端在图10的结构基础上增加了麦克风、编解码器、数字信号处理单元、听筒等;图11可以理解为包含一个虚拟SIM卡和两张实体SIM卡的手机或者平板。
图12为本发明实施例实现无线通信的方法的流程图,在本发明实施例终端上包含有一张虚拟SIM卡,如图12所示,包括:
步骤1200、通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤1201、根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤1202、根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
其中,第一处理单元设置为与第一实体SIM卡和第二实体SIM卡连接,第一处理单元通过预设的第一接口与应用处理器连接;虚拟SIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过GPIO连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单 元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡、第二实体SIM卡、虚拟SIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为2G技术GPRS、EDGE、3G通信技术、TDS-CDMA、4G通信技术、TD-LTE,或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡、第二实体SIM卡和虚拟SIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;第二射频,与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第二接口包括以下接口之一:USB、UART、SDIO。预设的第二接口可以是其他接口,只要符合通信协议要求即可。
可选的,本发明实施例方法还包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略, 分配第一实体SIM卡或第二实体SIM卡、和虚拟SIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
可选的,在建立数据业务链接之前,本发明实施例方法还包括:
通过第一网络、WIFI网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
将获取的虚拟SIM卡的数据信息写入虚拟SIM卡;
调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
需要说明的是,在进行数据业务的第一实体SIM卡或第二实体SIM卡,可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,其他SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元设置为,编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图13为本发明另一实施例实现无线通信的方法的流程图,如图13所示, 包括:
步骤1300、通过第一网络、无线保真(WIFI)网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,业务菜单数据包括:虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
步骤1301、将获取的虚拟SIM卡的数据信息写入虚拟SIM卡;
步骤1302、调用写入虚拟SIM卡的数据信息,实现虚拟SIM卡的网络注册;
需要说明的是,在进行数据业务的第一实体SIM卡(或第二实体SIM卡),可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的虚拟SIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
步骤1303、通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤1304、根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤1305、根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输。
其中,第一处理单元设置为与第一实体SIM卡和第二实体SIM卡连接,第一处理单元通过预设的第一接口与应用处理器连接;虚拟SIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过GPIO连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡、第二实体SIM卡、虚拟SIM卡可以对应于不 同或相同的技术标准。在可选实例中,技术标准可为2G技术GPRS、EDGE、3G通信技术、TDS-CDMA、4G通信技术、TD-LTE,或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据实体SIM卡和虚拟SIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;第二射频与第二处理单元连接,设置为建立虚拟SIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以是包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第二接口包括以下接口之一:USB、UART、SDIO。预设的第二接口可以是其他接口,只要符合通信协议要求,
可选的,本发明实施例方法还包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配第一实体SIM卡或第二实体SIM卡和虚拟SIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择虚拟SIM卡进行数据业务;
当虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配第一实体SIM卡或第二实体SIM卡和虚拟SIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元设置为,对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和虚拟SIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图14为本发明又一实施例终端的结构框图,如图14所示,包括:嵌入式用户识别模块(E SIM)卡、应用处理器、连接第一实体用户识别模块(SIM)卡和第二实体SIM卡的第一处理单元和第二处理单元;其中,
ESIM卡与第二处理单元连接;
这里,本发明实施例第二处理单元可以包括调制解调器(Modem);需要说明的是,本发明实施例,ESIM卡内置在终端中,相关卡参数直接写入该ESIM卡,该ESIM卡包含可编程的SIM卡芯片;其中,该芯片包含加密存储和硬件集成的虚拟片内操作系统(VCOS,Virtual Chip Operating System),该ESIM卡可以直接挂在第二处理单元,类似目前实体卡的实现方式,具体采用何种实现方式,本申请不再赘述,并不用来限制本申请;实体SIM卡可以是终端本身包含的SIM卡;也可以是终端后期添加设置的SIM卡,即终端本身不包含实体SIM卡;
应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
需要说明的是,本发明实施例,操作指令可以通过应用处理器中的应用 层接收及处理;根据接收的操作指令生成的第一控制指令和第二控制指令后,第一控制指令可以通过预设的第一接口传输至第一处理单元,第二控制指令可以通过预设的第二接口传输至第二处理单元;
其中,ESIM卡通过串口与第二处理单元连接。其中,串口包括通用异步收发传输器(UART)。
第一处理单元,通过预设的第一接口与应用处理器连接,设置为建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
这里,预设的第一接口可以包括:共享内存(SMD)接口;
第二处理单元,通过预设的第二接口与应用处理器连接,设置为建立与第二网络的数据业务链接,以进行ESIM卡的数据业务传输。
可选的,本发明实施例预设的第二接口包括以下接口之一:USB、UART、安全数字输入输出(SDIO)。这里,预设的第二接口可以是其他接口,只要符合通信协议要求即可;
需要说明的是,本发明实施例与应用处理器连接可以包括:与终端的应用处理器(AP)中的核心(kernel)层中的硬件驱动(即driver层)连接,如果第一接口是SMD,那么对接的硬件驱动就是SMD driver;SMD driver之上对应连接的是TCP/IP路由以及QMI传输协议部分;第二接口也是一样的道理,如果第二接口是USB,那么对接的是kernel中的USB驱动。建立数据业务链接后,第一实体SIM卡或第二实体SIM卡通过由第一接口建立的数据通道进行数据业务,ESIM卡通过由第二接口建立的数据通道进行数据业务。
另一方面,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过GPIO口连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号可以包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
本发明实施例,第一实体SIM卡(或第二实体SIM卡)和ESIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡(或第二实体SIM卡)和ESIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
可选的,本发明实施例应用处理器还设置为,
根据ESIM卡和第一实体SIM卡或第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。
可选的,应用处理器根据ESIM卡和实体SIM卡的套餐信息对终端的数据业务进行业务分配包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配套餐余量大于第一预设阈值的第一实体SIM卡(或第二实体SIM卡)和 ESIM卡相应的数据业务。
可选的,本发明实施例应用处理器还可以设置为根据第一网络和第二网络的网络质量、和ESIM卡中的至少一种和第一实体SIM卡或第二实体SIM卡的套餐信息对终端的数据业务进行业务分配。可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡(或第二实体SIM卡)的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配套餐余量大于第一预设阈值的第一实体SIM卡(或第二实体SIM卡)和ESIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分配数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
可选的,本发明实施例终端还包括:
第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
第二射频,与第二处理单元连接,设置为建立ESIM卡与第二网络的数据业务链接。
需要说明的是,第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理,本发明实施例以第一协议栈作为第一处理单元运行的协议栈,以第二协议栈作为第二处理单元运行的协议栈。另外,第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。图15为本发明另一实施例终端的结构框图,如图15所示,在图14基础上增加有第一射频和第二射频的终端可以是网络节点,例如、设置有ESIM卡和第一实体SIM卡(或第二实体SIM卡)的无线路由器。
可选的,本发明实施例应用处理器还设置为,通过开启的无线保真(WIFI)网络发送包含业务菜单数据的下载请求至ESIM卡对应的云端服务器,以从云端服务器获取ESIM卡的数据信息;将获取的数据信息发往第二处理单元;
其中,业务菜单数据包括:ESIM卡的号码和ESIM卡的套餐种类,套餐种类可以包括:根据包含可用短信多少、可用通话时长、可用流量大小等确定的不同套餐;
第二处理单元还设置为,将数据信息写入ESIM卡,并调用写入ESIM卡的数据信息,以实现ESIM卡的网络注册。
本发明实施例,数据信息可以包括:IMSI(International Mobile Subscriber Identity)、Ki(Subscrber authentication key)、ICCID(Integrated Circuit Card Identifier)、PIN(Personal Identification Number)、PUK(PIN Unlocking Key);
需要说明的是,本发明实施例业应用处理器可以通过一个业务交互界面实现可选号码和可选套餐的显示,在完成号码和套餐选择后,通过确定按键发送下载请求,图5为本发明实施例业务菜单数据的交互界面示意图,如图5所示,通过对图5中左斜线显示框表示选择的手机号码和套餐种类,通过确定键触发业务菜单数据的发送;云端服务器接收到业务菜单数据后,为选择的号码和套餐分配对应的数据信息,应用处理器再将数据信息发往第二处 理单元。
可选的,本发明实施例终端,
第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
应用处理器还设置为,通过建立数据业务链接向ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取ESIM卡的数据信息,并将获取的数据信息发往第二处理单元;其中,业务菜单数据包括:ESIM卡的号码和ESIM卡的套餐种类;
第二处理单元还设置为,将接收的数据信息写入ESIM卡,并调用写入ESIM卡的数据信息,以实现ESIM卡的网络注册。
可选的,本发明实施例,
第一处理单元还设置为,读取第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;通过预先建立的数据传输通道将接收的来自所述应用处理器发送的ESIM卡的数据信息发往第二处理单元;
应用处理器还设置为,通过建立数据业务链接的第一网络向ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取ESIM卡的数据信息,并将获取的数据信息发往第一处理单元;其中,业务菜单数据包括:ESIM卡的号码和ESIM卡的套餐种类;
第二处理单元还设置为,将接收的ESIM卡的数据信息写入ESIM卡,并调用ESIM卡的数据信息,实现ESIM卡的网络注册。
这里,预先建立的数据传输通道可以是模拟串口,可以包括:模拟的发送串口和模拟的接收串口。
需要说明的是,在进行数据业务的第一实体SIM卡(或第二实体SIM卡),可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的ESIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和ESIM卡可以同时进行数据业务传输,其中一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和ESIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图16为本发明再一实施例终端的结构框图,如图16所示,终端在图15的结构基础上增加了麦克风、编解码器、数字信号处理单元、听筒等;图16可以理解为包含一个ESIM卡和两个实体SIM卡的手机或者平板。
图17为本发明实施例实现无线通信的方法的流程图,在本发明实施例终端上包含有一张ESIM卡,如图17所示,包括:
步骤1700、通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤1701、根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤1702、根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行ESIM卡的数据业务传输;
其中,第一实体SIM卡和第二实体SIM卡均与第一处理单元连接,第一处理单元通过预设的第一接口与应用处理器连接;ESIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调制解调器(Modem);第一处理单元和第二处理单元之间可以通过通用输入输出(GPIO,General Purpose Input Output)连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡、第二实体SIM卡和ESIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡、第二实体SIM卡和ESIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也 可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立第一实体SIM卡(或第二实体SIM卡)与第一网络的数据业务链接;第二射频,与第二处理单元连接,设置为建立ESIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第二接口包括以下接口之一:USB、UART、SDIO。预设的第二接口可以是其他接口,只要符合通信协议要求即可;
可选的,本发明实施例方法还包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配套餐余量大于第一预设阈值的第一实体SIM卡和ESIM卡相应的数据业务,或者,分配套餐余量大于第一预设阈值的第二实体SIM卡和ESIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配套餐余量大于第一预设阈值的第一实体SIM卡和ESIM卡相应的数据业务,或者,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配套餐余量大于第一预设阈值的第二实体SIM卡和ESIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
可选的,在建立数据业务链接之前,本发明实施例方法还包括:
通过第一网络、WIFI网络、或运营商网络向ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取ESIM卡的数据信息;其中,业务菜单数据包括:ESIM卡的号码和ESIM卡的套餐种类;
将获取的ESIM卡的数据信息写入ESIM卡;
调用写入ESIM卡的数据信息,以实现ESIM卡的网络注册。
需要说明的是,在进行数据业务的第一实体SIM卡(或第二实体SIM卡),可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的ESIM卡,可以基于第二处理单元通过第二网络建立通话 连接,以进行语音通话。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和ESIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元设置为,对编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为对编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和ESIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
图18为本发明另一实施例实现无线通信的方法的流程图,如图18所示,包括:
步骤1800、通过第一网络、无线保真(WIFI)网络、或运营商网络向ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服 务器获取ESIM卡的数据信息;其中,业务菜单数据包括:ESIM卡的号码和ESIM卡的套餐种类;
步骤1801、将获取的ESIM卡的数据信息写入ESIM卡;
步骤1802、调用写入ESIM卡的数据信息,实现ESIM卡的网络注册;
需要说明的是,在进行数据业务的第一实体SIM卡(或第二实体SIM卡),可以基于第一处理单元通过第一网络建立通话连接,以进行语音通话;在进行数据业务的ESIM卡,可以基于第二处理单元通过第二网络建立通话连接,以进行语音通话。
步骤1803、通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
步骤1804、根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
步骤1805、根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行ESIM卡的数据业务传输。
其中,第一实体SIM卡和第二实体SIM卡均与第一处理单元连接,第一处理单元通过预设的第一接口与应用处理器连接;ESIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
需要说明的是,本发明实施例第一处理单元和第二处理单元可以包括调整解调器(Modem);第一处理单元和第二处理单元之间可以通过通用输入/输出(GPIO,General Purpose Input Output)连接,通过连接实现两个处理单元之间控制信号的定义与传递。控制信号包括:休眠、唤醒、同步的控制、开关机时芯片启动顺序的控制等。本发明实施例可以由其中一个处理单元实现上述控制信号的执行,例如、通过第一处理单元执行第一处理单元和第二处理单元的控制。
这里,第一实体SIM卡、第二实体SIM卡和ESIM卡可以对应于不同或相同的技术标准。在可选实例中,技术标准可为第二代移动通信(2G)技术(例如、全球移动通信系统(GSM,Global System for Mobile Communication)、通用分组无线服务技术(GPRS,General Packet Radio  Service)、增强型数据速率GSM演进技术(EDGE,Enhanced Data Rate for GSM Evolution))、3G通信技术(例如、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、时分同步码分多址(TDS-CDMA,Time Division-Synchronous Code Division Multiple Access))、4G通信技术(例如、长期演进(LTE,Long Term Evolution)、时分长期演进(TD-LTE,Time Division Long Term Evolution)),或任何其它移动通信技术(例如,4G、4.5G等等)。
第一网络和第二网络根据第一实体SIM卡、第二实体SIM卡和ESIM卡所支持的技术标准确定,第一网络和第二网络可以是相同制式的网络,也可以不同网络制式的网络;第一网络和第二网络可以是下述网络中的任意一种:LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
本发明实施例,上述终端中可以包括:第一射频,与第一处理单元连接,设置为建立第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;第二射频,与第二处理单元连接,设置为建立ESIM卡与第二网络的数据业务链接。第一处理单元和第二处理单元在进行数据业务时,可以通过运行相应的协议栈进行处理。第一射频和第二射频所涉及的无线接入技术可以包括LTE、GSM、GPRS、CDMA、EDGE、WLAN、CDMA-2000、TD-SCDMA、WCDMA等。
需要说明的是,本发明实施例终端可以是包括手机、平板在内的移动终端,也可以是无线路由器等网络节点。
本发明实施例,预设的第二接口包括以下接口之一:USB、UART、SDIO。预设的第二接口可以是其他接口,只要符合通信协议要求,
可选的,本发明实施例方法还包括:
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配套餐余量大于第一预设阈值的第一实体SIM卡和ESIM卡相应的数据业务,或者,分配套餐余量大于第一预设阈值的第二实体SIM卡和ESIM卡相应的数据业务。
可选的,本发明实施例可以结合套餐信息和网络质量进行数据业务的分配;可选的,
当第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择ESIM卡进行数据业务;
当ESIM卡的套餐余量小于或等于第二预设阈值时,选择第一实体SIM卡或第二实体SIM卡进行数据业务;
当第一实体SIM卡或第二实体SIM卡的套餐余量大于第一预设阈值,且ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配套餐余量大于第一预设阈值的第一实体SIM卡和ESIM卡相应的数据业务,或者,按照第一网络和第二网络的信号强度大小、网络速度快慢、链路延时长短分配套餐余量大于第一预设阈值的第二实体SIM卡和ESIM卡相应的数据业务。
需要说明的是,本发明实施例第一预设阈值和第二预设阈值根据用户的套餐种类、及用户使用习惯进行设计实现;以网络质量包括信号强度大小为例,预设的业务分配策略可以包括:根据第一网络和第二网络的信号强度,对信号强度强的SIM卡,分配较多的数据业务,对信号强度相对较小的SIM卡,分配相对较少的数据业务;具体分布数据业务的多少可以通过对不同信号强度下SIM卡的下载速度进行统计后,根据统计结果分析获得对应的数值,使两张SIM卡进行分配的数据业务的下载时,可以同时完成对同一数据业务的数据下载。当网络质量为信号强度大小、网络速度快慢、链路延时长短的一种或多种时,可以基于信号强度进行数据业务分配的原理进行数据业务分配。
本发明实施例,第一处理单元还加载有第一协议栈,第二处理单元相应 的加载有第二协议栈,协议栈设置为实现数据业务。第一实体SIM卡(或第二实体SIM卡)和ESIM卡可以同时进行数据业务传输,其中,一个SIM卡在进行数据业务传输时,另一张SIM卡可以进行语音传输。
另外,本发明实施例终端还可以包括:
麦克风,设置为采集语音信号;
编解码器,设置为对麦克风采集到的语音信号进行模数转换;
第一处理单元还包括:
数字信号处理单元设置为,编解码器模数转换后的信号进行音频处理并传输给第一协议栈;
第一射频将经第一协议栈处理后的信号发送到第一网络。
同理,第二处理单元也可以包括:数字信号处理单元,设置为编解码器模数转换后的信号进行音频处理并传输给第二协议栈;
第二射频将经第二协议栈处理后的信号发送到第二网络。
数字信号处理单元设置为,将经第一协议栈处理后的信号进行音频处理并传输给编解码器;
编解码器设置为,对来自数字信号处理单元的信号进行模数转换;
本发明实施例,本发明实施例终端还包括:
听筒,设置为输出经编解码器处理后的语音信号。
本发明实施例通过第一实体SIM卡(或第二实体SIM卡)和ESIM卡建立数据业务链接,实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。
本发明实施例还提供了一种移动终端,包括:
存储器,设置为存储指令;
处理器,设置为执行所述指令,实现如上所述各个的实现无线通信的方法步骤。
所述存储器可为图1所述移动终端的存储器160;所述处理器可设置在图1所述移动终端的控制器180中。
本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的各个实现无线通信的方法步骤。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。
工业实用性
本发明实施例实现了两张SIM卡同时进行数据业务,提升了用户的使用体验。

Claims (35)

  1. 一种终端,包括:应用处理器、设置在应用处理器的虚拟用户识别模块SIM卡、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元、第二处理单元;其中,
    所述第一处理单元通过预设的第一接口与所述应用处理器连接,所述第二处理单元通过预设的第二接口与所述应用处理器连接,所述虚拟SIM卡通过所述第二接口或预设的第三接口与所述第二处理单元连接;
    所述应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
    所述第一处理单元,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行所述第一实体SIM卡或第二实体SIM卡的数据业务传输;
    所述第二处理单元,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行所述虚拟SIM卡的数据业务传输。
  2. 根据权利要求1所述的终端,其中,所述终端还包括:
    第一射频,与所述第一处理单元连接,设置为建立所述第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
    第二射频,与所述第二处理单元连接,设置为建立所述虚拟SIM卡与第二网络的数据业务链接。
  3. 根据权利要求1所述的终端,其中,所述第一接口或所述第二接口或所述第三接口包括以下接口之一:
    高速芯片间互连HSIC接口、共享内存驱动SMD接口、通用串行总线USB接口、高速通用串行总线HS-USB接口、通用异步收发传输器UART接口、安全数字输入输出SDIO接口。
  4. 根据权利要求1~3任一项所述的终端,其中,所述应用处理器还设置为:
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
    当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
  5. 根据权利要求1~3任一项所述的终端,其中,所述应用处理器还设置为:
    通过开启的无线保真WIFI网络发送包含业务菜单数据的下载请求至所述虚拟SIM卡对应的云端服务器,以从所述云端服务器获取所述虚拟SIM卡的数据信息,并将获取的数据信息写入所述虚拟SIM卡;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和所述虚拟SIM卡的套餐种类;
    所述第二处理单元还设置为,调用写入所述虚拟SIM卡的数据信息,以实现所述虚拟SIM卡的网络注册。
  6. 根据权利要求1~3任一项所述的终端,其中,
    所述第一处理单元还设置为,读取所述第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立所述第一实体SIM卡或第二实体SIM卡与所述第一网络的数据业务链接;
    所述应用处理器还设置为,通过建立数据业务链接的第一网络向所述虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从所述云端服务器获取所述虚拟SIM卡的数据信息,并将获取的数据信息写入所述虚拟SIM卡;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和所述虚拟SIM卡的套餐种类;
    所述第二处理单元还设置为,调用写入所述虚拟SIM卡的数据信息,以实现所述虚拟SIM卡的网络注册。
  7. 一种终端实现无线通信的方法,终端包含设置在应用处理器的虚拟 用户识别模块SIM卡,所述方法包括:
    应用处理器通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
    用于连接第一实体SIM卡和第二实体SIM卡的第一处理单元根据第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
    第二处理单元根据第二控制指令建立与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
    其中,所述第一处理单元通过预设的第一接口与所述应用处理器连接;所述第二处理单元通过预设的第二接口与所述应用处理器连接,所述虚拟SIM卡通过所述第二接口或预设的第三接口与所述第二处理单元连接。
  8. 根据权利要求7所述的方法,其中,该方法还包括:
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
    当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡,和虚拟SIM卡相应的数据业务。
  9. 根据权利要求7或8所述的方法,其中,所述方法还包括:
    建立所述数据业务链接之前,
    通过所述第一网络、无线保真WIFI网络、或运营商网络向虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
    将获取的所述虚拟SIM卡的数据信息写入所述虚拟SIM卡;
    调用写入所述虚拟SIM卡的所述数据信息,以实现所述虚拟SIM卡的网络注册。
  10. 一种终端,包括:虚拟用户识别模块SIM卡、应用处理器、设置为连接第一实体SIM卡和第二实体SIM卡的第一处理单元、第二处理单元;其中,
    所述虚拟SIM卡与所述第二处理单元连接;
    所述应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
    所述第一处理单元,通过预设的第一接口与应用处理器连接,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行所述第一实体SIM卡或第二实体SIM卡的数据业务传输;
    所述第二处理单元,通过预设的第二接口与应用处理器连接,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行所述虚拟SIM卡的数据业务传输。
  11. 根据权利要求10所述的终端,其中,所述终端还包括:
    第一射频,与所述第一处理单元连接,设置为建立所述第一实体SIM卡或第二实体SIM卡与第一网络的数据业务链接;
    第二射频,与所述第二处理单元连接,设置为建立所述虚拟SIM卡与第二网络的数据业务链接。
  12. 根据权利要求10所述的终端,其中,所述预设的第二接口包括以下接口之一:USB、通用异步收发传输器UART、安全数字输入输出SDIO。
  13. 根据权利要求10~12任一项所述的终端,其中,所述应用处理器还设置为,
    当所述第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
    当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述 第一实体SIM卡或第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡、和虚拟SIM卡相应的数据业务。
  14. 根据权利要求10~12任一项所述的终端,其中,
    所述应用处理器还设置为,通过开启的无线保真WIFI网络发送包含业务菜单数据的下载请求至所述虚拟SIM卡对应的云端服务器,以从所述云端服务器获取所述虚拟SIM卡的数据信息,并将获取的所述数据信息发往所述第二处理单元;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和所述虚拟SIM卡的套餐种类;
    所述第二处理单元还设置为,将所述数据信息写入所述虚拟SIM卡,并调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
  15. 根据权利要求10~12任一项所述的终端,其中,
    所述第一处理单元还设置为,读取所述第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立所述第一实体SIM卡或第二实体SIM卡与所述第一网络的数据业务链接;
    所述应用处理器还设置为,通过建立所述数据业务链接的第一网络向所述虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从所述云端服务器获取虚拟SIM卡的数据信息,并将所述获取的数据信息发往第二处理单元;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和所述虚拟SIM卡的套餐种类;
    所述第二处理单元还设置为,将接收的所述数据信息写入所述虚拟SIM卡,并调用写入所述虚拟SIM卡的数据信息,以实现所述虚拟SIM卡的网络注册。
  16. 根据权利要求10~12任一项所述的终端,其中,
    所述第一处理单元还设置为,读取所述第一实体SIM卡或第二实体SIM卡的鉴权参数,以建立所述第一实体SIM卡或所述第二实体SIM卡与所述 第一网络的数据业务链接;通过预先建立的数据传输通道将接收的数据信息发往第二处理单元;
    所述应用处理器还设置为,通过建立数据业务链接的第一网络向所述虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息,并将获取的数据信息发往第一处理单元;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
    所述第二处理单元还设置为,将接收的虚拟SIM卡的数据信息写入所述虚拟SIM卡,并调用所述虚拟SIM卡的数据信息,实现所述虚拟SIM卡的网络注册。
  17. 一种终端实现无线通信的方法,终端包含虚拟SIM卡,所述方法包括:
    通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
    根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
    根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行虚拟SIM卡的数据业务传输;
    其中,所述第一处理单元设置为与所述第一实体SIM卡和第二实体SIM卡连接,所述第一处理单元通过预设的第一接口与应用处理器连接;所述虚拟SIM卡与第二处理单元连接,所述第二处理单元通过预设的第二接口与应用处理器连接。
  18. 根据权利要求17所述的方法,其中,所述方法还包括:
    当所述第一实体SIM卡和第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择所述虚拟SIM卡进行数据业务;
    当所述虚拟SIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或第二实体SIM卡的套餐余量大于所述第一预 设阈值,且所述虚拟SIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配所述第一实体SIM卡或第二实体SIM卡、和虚拟SIM卡相应的数据业务。
  19. 根据权利要求17或18所述的方法,其中,所述方法还包括:
    建立所述数据业务链接之前,通过所述第一网络、WIFI网络、或运营商网络向所述虚拟SIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取虚拟SIM卡的数据信息;其中,所述业务菜单数据包括:所述虚拟SIM卡的号码和虚拟SIM卡的套餐种类;
    将获取的虚拟SIM卡的数据信息写入所述虚拟SIM卡;
    调用写入虚拟SIM卡的数据信息,以实现虚拟SIM卡的网络注册。
  20. 一种终端,包括:嵌入式用户识别模块ESIM卡、应用处理器、连接第一实体用户识别模块SIM卡和第二实体SIM卡的第一处理单元和第二处理单元;其中,
    ESIM卡与第二处理单元连接;
    应用处理器,设置为通过预设的用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令,并将第一控制指令传输至第一处理单元,将第二控制指令传输至第二处理单元;
    第一处理单元,通过预设的第一接口与应用处理器连接,设置为根据接收的第一控制指令建立与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
    第二处理单元,通过预设的第二接口与应用处理器连接,设置为根据接收的第二控制指令建立与第二网络的数据业务链接,以进行ESIM卡的数据业务传输。
  21. 根据权利要求20所述的终端,其中,所述终端还包括:
    第一射频,与所述第一处理单元连接,设置为建立所述第一实体SIM卡或所述第二实体SIM卡与第一网络的数据业务链接;
    第二射频,与所述第二处理单元连接,设置为建立所述ESIM卡与第二 网络的数据业务链接。
  22. 根据权利要求20所述的终端,其中,所述预设的第二接口包括以下接口之一:USB、通用异步收发传输器UART、安全数字输入输出SDIO。
  23. 根据权利要求20~22任一项所述的终端,其中,所述应用处理器还设置为,
    当所述第一实体SIM卡和所述第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择所述ESIM卡进行数据业务;
    当所述ESIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或所述第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或所述第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配套餐余量大于所述第一预设阈值是为所述第一实体SIM卡或所述第二实体SIM卡、和ESIM卡相应的数据业务。
  24. 根据权利要求20~22任一项所述的终端,其中,所述应用处理器还设置为,
    通过开启的无线保真WIFI网络发送包含业务菜单数据的下载请求至所述ESIM卡对应的云端服务器,以从云端服务器获取所述ESIM卡的数据信息,并将获取的数据信息发往所述第二处理单元;其中,所述业务菜单数据包括:所述ESIM卡的号码和所述ESIM卡的套餐种类;
    所述第二处理单元还设置为,将所述获得的数据信息写入所述ESIM卡,并调用写入所述ESIM卡的数据信息,以实现所述ESIM卡的网络注册。
  25. 根据权利要求20~22任一项所述的终端,其中,
    所述第一处理单元还设置为,读取所述第一实体SIM卡或所述第二实体SIM卡的鉴权参数,以建立所述第一实体SIM卡或所述第二实体SIM卡与所述第一网络的数据业务链接;
    所述应用处理器还设置为,通过建立数据业务链接向所述ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取所述ESIM卡的数据信息,并将获取的数据信息发往所述第二处理单元;其中, 所述业务菜单数据包括:所述ESIM卡的号码和所述ESIM卡的套餐种类;
    所述第二处理单元还设置为,将接收的所述数据信息写入所述ESIM卡,并调用写入所述ESIM卡的数据信息,以实现所述ESIM卡的网络注册。
  26. 根据权利要求20~22任一项所述的终端,其中,
    所述第一处理单元还设置为,读取所述第一实体SIM卡或所述第二实体SIM卡的鉴权参数,以建立所述第一实体SIM卡或所述第二实体SIM卡与所述第一网络的数据业务链接;通过预先建立的数据传输通道将接收的来自所述应用处理器发送的所述ESIM卡的数据信息发往所述第二处理单元;
    所述应用处理器还设置为,通过建立数据业务链接的所述第一网络向所述ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取所述ESIM卡的数据信息,并将获取的数据信息发往所述第一处理单元;其中,所述业务菜单数据包括:所述ESIM卡的号码和所述ESIM卡的套餐种类;
    所述第二处理单元还设置为,将接收的所述ESIM卡的数据信息写入所述ESIM卡,并调用所述ESIM卡的数据信息,实现所述ESIM卡的网络注册。
  27. 一种终端实现无线通信的方法,终端包含嵌入式用户识别模块ESIM卡,所述方法包括:
    通过用户交互接口接收用户的操作指令,根据用户的操作指令生成第一控制指令和第二控制指令;
    根据第一控制指令建立第一处理单元与第一网络的数据业务链接,以进行第一实体SIM卡或第二实体SIM卡的数据业务传输;
    根据第二控制指令建立第二处理单元与第二网络的数据业务链接,以进行ESIM卡的数据业务传输;
    其中,第一实体SIM卡和第二实体SIM卡均与第一处理单元连接,第一处理单元通过预设的第一接口与应用处理器连接;ESIM卡与第二处理单元连接,第二处理单元通过预设的第二接口与应用处理器连接。
  28. 根据权利要求27所述的方法,其中,所述方法还包括:
    当所述第一实体SIM卡和所述第二实体SIM卡的套餐余量均小于或等于第一预设阈值时,选择所述ESIM卡进行数据业务;
    当所述ESIM卡的套餐余量小于或等于第二预设阈值时,选择所述第一实体SIM卡或所述第二实体SIM卡进行数据业务;
    当所述第一实体SIM卡或所述第二实体SIM卡的套餐余量大于所述第一预设阈值,且所述ESIM卡的套餐余量大于第二预设阈值时,根据预设的业务分配策略,分配套餐余量大于所述第一预设阈值的所述第一实体SIM卡或所述第二实体SIM卡、和ESIM卡相应的数据业务。
  29. 根据权利要求27或28所述的方法,其中,所述方法还包括:
    建立所述数据业务链接之前,通过所述第一网络、WIFI网络、或运营商网络向ESIM卡对应的云端服务器发送包含业务菜单数据的下载请求,以从云端服务器获取ESIM卡的数据信息;其中,所述业务菜单数据包括:所述ESIM卡的号码和ESIM卡的套餐种类;
    将获取的所述ESIM卡的数据信息写入所述ESIM卡;
    调用写入所述ESIM卡的所述数据信息,以实现所述ESIM卡的网络注册。
  30. 一种移动终端,包括:
    存储器,设置为存储指令;
    处理器,设置为执行所述指令,实现如权利要求7至9中任意一项所述的实现无线通信的方法步骤。
  31. 一种移动终端,包括:
    存储器,设置为存储指令;
    处理器,设置为执行所述指令,实现如权利要求17至19中任意一项所述的实现无线通信的方法步骤。
  32. 一种移动终端,包括:
    存储器,设置为存储指令;
    处理器,设置为执行所述指令,实现如权利要求27至29中任意一项所 述的实现无线通信的方法步骤。
  33. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求7至9中任意一项所述的实现无线通信的方法步骤。
  34. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求17至19中任意一项所述的实现无线通信的方法步骤。
  35. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求27至29中任意一项所述的实现无线通信的方法步骤。
PCT/CN2017/101861 2016-10-31 2017-09-15 一种实现无线通信的方法及终端 WO2018076955A1 (zh)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201610985214.8A CN106535165A (zh) 2016-10-31 2016-10-31 一种实现无线通信的方法及终端
CN201610929444.2 2016-10-31
CN201610929910.7 2016-10-31
CN201610985214.8 2016-10-31
CN201610929910.7A CN106604299A (zh) 2016-10-31 2016-10-31 一种实现无线通信的方法及终端
CN201610929444.2A CN106559772A (zh) 2016-10-31 2016-10-31 一种实现无线通信的方法及终端

Publications (1)

Publication Number Publication Date
WO2018076955A1 true WO2018076955A1 (zh) 2018-05-03

Family

ID=62024351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101861 WO2018076955A1 (zh) 2016-10-31 2017-09-15 一种实现无线通信的方法及终端

Country Status (1)

Country Link
WO (1) WO2018076955A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770484A (zh) * 2020-07-01 2020-10-13 Oppo广东移动通信有限公司 模拟卡切换方法及装置、计算机可读介质和移动终端
CN112598378A (zh) * 2020-12-17 2021-04-02 启数网络科技(上海)有限公司 一种后厨菜品分配方法及系统
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质
CN115915105A (zh) * 2022-11-29 2023-04-04 优游宝科技(深圳)有限公司 一种基于智能算法的esim卡移动数据流量监测方法及系统

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932531A (zh) * 2012-09-27 2013-02-13 华为技术有限公司 保持客户识别模块卡待机的方法和终端设备
EP2804408A1 (en) * 2013-05-16 2014-11-19 OÜ Top Connect A method, system and user's mobile device for using Internet during roaming
CN104796957A (zh) * 2015-05-13 2015-07-22 展讯通信(上海)有限公司 多卡多待移动终端及其用户识别卡切换方法和装置
CN104811975A (zh) * 2015-03-24 2015-07-29 联想(北京)有限公司 控制方法、装置及电子设备
CN104902463A (zh) * 2015-05-22 2015-09-09 努比亚技术有限公司 移动终端及其虚拟卡终端的多卡管理方法和服务器
CN106535165A (zh) * 2016-10-31 2017-03-22 努比亚技术有限公司 一种实现无线通信的方法及终端
CN106559772A (zh) * 2016-10-31 2017-04-05 努比亚技术有限公司 一种实现无线通信的方法及终端
CN106604299A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种实现无线通信的方法及终端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932531A (zh) * 2012-09-27 2013-02-13 华为技术有限公司 保持客户识别模块卡待机的方法和终端设备
EP2804408A1 (en) * 2013-05-16 2014-11-19 OÜ Top Connect A method, system and user's mobile device for using Internet during roaming
CN104811975A (zh) * 2015-03-24 2015-07-29 联想(北京)有限公司 控制方法、装置及电子设备
CN104796957A (zh) * 2015-05-13 2015-07-22 展讯通信(上海)有限公司 多卡多待移动终端及其用户识别卡切换方法和装置
CN104902463A (zh) * 2015-05-22 2015-09-09 努比亚技术有限公司 移动终端及其虚拟卡终端的多卡管理方法和服务器
CN106535165A (zh) * 2016-10-31 2017-03-22 努比亚技术有限公司 一种实现无线通信的方法及终端
CN106559772A (zh) * 2016-10-31 2017-04-05 努比亚技术有限公司 一种实现无线通信的方法及终端
CN106604299A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种实现无线通信的方法及终端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770484A (zh) * 2020-07-01 2020-10-13 Oppo广东移动通信有限公司 模拟卡切换方法及装置、计算机可读介质和移动终端
CN112598378A (zh) * 2020-12-17 2021-04-02 启数网络科技(上海)有限公司 一种后厨菜品分配方法及系统
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质
CN115915105A (zh) * 2022-11-29 2023-04-04 优游宝科技(深圳)有限公司 一种基于智能算法的esim卡移动数据流量监测方法及系统
CN115915105B (zh) * 2022-11-29 2023-07-04 优游宝科技(深圳)有限公司 一种基于智能算法的esim卡移动数据流量监测方法及系统

Similar Documents

Publication Publication Date Title
WO2017128650A1 (zh) 一种终端及通信方法
WO2018176675A1 (zh) 一种实现双卡双待双通的通信方法及终端
WO2018076955A1 (zh) 一种实现无线通信的方法及终端
WO2017107637A1 (zh) 手机射频资源分配方法及装置
WO2016155431A1 (zh) 终端及其触控操作方法和装置、存储介质
WO2017071310A1 (zh) 视频通话系统、装置和方法
WO2016173467A1 (zh) 虚拟卡信息的处理方法及系统
WO2017008722A1 (zh) 一种基于内外网分离的通信方法、服务器及系统
WO2017148354A1 (zh) 移动终端、计算机存储介质及网络共享方法
WO2016188495A1 (zh) 语音切换方法、终端、服务器及系统、存储介质
CN105578620B (zh) 网络接入装置及方法
WO2017113893A1 (zh) 一种搜网的方法及装置
CN106412871A (zh) 一种实现通信处理的方法及终端
CN108401081B (zh) 一种volte网络性能测试方法及装置
CN106572458A (zh) 一种实现通信处理的方法及终端
CN106559772A (zh) 一种实现无线通信的方法及终端
CN106572156A (zh) 一种实现无线通信的方法及终端
CN106535158A (zh) 一种实现无线通信的方法及终端
CN106604299A (zh) 一种实现无线通信的方法及终端
CN106550353A (zh) 一种实现通信处理的方法及终端
WO2017008698A1 (zh) 多通道路由方法及装置
CN106658464A (zh) 一种实现无线通信的方法及终端
CN106412873A (zh) 一种实现无线通信的方法及终端
CN106454797A (zh) 一种实现无线通信的方法及终端
CN106454795A (zh) 一种实现通信处理的方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17865193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17865193

Country of ref document: EP

Kind code of ref document: A1