WO2017136989A1 - Resource allocation method, terminal, and compute storage medium - Google Patents

Resource allocation method, terminal, and compute storage medium Download PDF

Info

Publication number
WO2017136989A1
WO2017136989A1 PCT/CN2016/111562 CN2016111562W WO2017136989A1 WO 2017136989 A1 WO2017136989 A1 WO 2017136989A1 CN 2016111562 W CN2016111562 W CN 2016111562W WO 2017136989 A1 WO2017136989 A1 WO 2017136989A1
Authority
WO
WIPO (PCT)
Prior art keywords
duration
paging
sim card
network
terminal
Prior art date
Application number
PCT/CN2016/111562
Other languages
French (fr)
Chinese (zh)
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
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017136989A1 publication Critical patent/WO2017136989A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • H04W68/005Transmission of information for alerting of incoming communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to resource allocation technologies in the field of communications, and in particular, to a resource allocation method, a terminal, and a computer storage medium.
  • the user can perform communication by inserting a Subscriber Identity Module (SIM) card in the terminal.
  • SIM Subscriber Identity Module
  • the functions of the terminal are also more and more, and the terminal can implement dual card dual standby.
  • the dual card dual standby is that the user can insert two SIM cards (the first SIM card and the second SIM card) through one terminal for communication, and the two SIM cards can belong to the same operator or different.
  • the carrier for example, Wideband Code Division Multiple Access (WCDMA) + Global System for Mobile Communication (GSM), specifically, the second SIM card adopts WCDMA, first GSM used by the SIM card.
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System for Mobile Communication
  • the second SIM card adopts WCDMA, first GSM used by the SIM card.
  • the GSM needs to monitor the first SIM card to determine whether there is a communication service with the first SIM card. Therefore, the terminal needs to Some radio resources are allocated to GSM, so that the GSM is used to monitor the communication service of the first SIM card.
  • dual-card dual-standby communication and single-card communication are developed based on a set of radio frequency systems.
  • the first SIM card is occupied by the preset allocation time and the radio frequency resources are occupied. Communication, therefore, the throughput when the second SIM card (primary card) performs service data transmission will have an impact.
  • the throughput of WCDMA will be reduced by 30% compared to the throughput of WCDMA using a single SIM card. .
  • the embodiment of the present invention is to provide a resource allocation method, a terminal, and a computer storage medium.
  • the throughput of the primary card can be improved on the basis of ensuring normal communication of the dual card. the amount.
  • the embodiment of the invention provides a resource allocation method, including:
  • paging parameter includes: a paging cycle and a paging number
  • the resource allocation of the first network is performed according to the first duration of the interval, to perform communication of the first SIM card on the resource separated by the first duration,
  • the first duration is less than or equal to the total paging duration and greater than the preset allocation duration.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  • the obtaining the paging parameter of the first network to which the first SIM card belongs includes:
  • the obtaining the paging parameter of the first network to which the first SIM card belongs includes:
  • the first SIM card is a secondary card.
  • the second SIM card is a master card.
  • the method further includes: performing resource allocation of the first network according to a second duration of time interval to The communication of the first SIM card is performed on a resource of a duration, and the second duration is less than or equal to the total paging duration.
  • the embodiment of the invention further provides a terminal, including:
  • An acquiring unit configured to acquire a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number;
  • a calculating unit configured to calculate the total paging duration according to the paging period and the paging times acquired by the acquiring unit;
  • an allocation unit configured to: when the total paging duration calculated by the computing unit is greater than a preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to perform on the resource that is separated by the first duration In the communication of the first SIM card, the first duration is less than or equal to the total paging duration calculated by the computing unit, and is greater than the preset allocation duration.
  • the allocating unit is further configured to perform the first time interval according to the interval. After the resource allocation of the first network, the resource between the first duration and the preset allocation duration is allocated to the second network, so that the second SIM card performs communication service, and the second network is The network to which the second SIM card belongs.
  • the terminal further includes: a listening unit and a communication unit;
  • a monitoring unit configured to: after the allocating unit allocates resources of the first network according to the first time interval, and monitor whether the first paging message of the first network is received on the resource that is separated by the first duration;
  • the communication unit is configured to perform demodulation communication on the first paging message when the intercepting unit listens to the first paging message.
  • the listening unit is further configured to end monitoring for the first network when the first paging message is not monitored.
  • the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  • the first SIM card is a secondary card; the second SIM card is a primary card.
  • the allocating unit is further configured to perform resource allocation of the first network according to a second duration of time when the total paging duration calculated by the computing unit is less than the preset allocation duration And performing communication of the first SIM card on a resource that is separated by the second duration, where the second duration is less than or equal to the total paging duration.
  • the acquiring unit is configured to obtain a paging parameter of the first SIM card by using a serving base station of the first network to which the first SIM card belongs.
  • the acquiring unit is configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message based on the paging message.
  • the paging parameters of the SIM card are configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message based on the paging message.
  • the paging parameters of the SIM card is configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message based on the paging message.
  • the paging parameters of the SIM card is configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message based on the paging message.
  • the paging parameters of the SIM card are configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to perform the implementation of the invention.
  • the resource allocation method described in the example is not limited to.
  • the resource allocation method, the terminal, and the computer storage medium provided by the embodiment of the present invention obtain the paging parameter of the first network to which the first SIM card belongs, and the paging parameter includes: a paging cycle and a paging number; The number of pagings is calculated, and the total paging duration is calculated.
  • the resource allocation of the first network is performed according to the first duration of the interval, so that the first SIM is performed on the resources separated by the first duration.
  • the communication of the card, the first duration is less than or equal to the total paging duration, and is greater than the preset allocation duration.
  • the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • 2 is a communication system that the mobile terminal of the present invention can operate
  • FIG. 3 is a flowchart 1 of a resource allocation method according to an embodiment of the present invention.
  • FIG. 5 is a second flowchart of a resource allocation method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a resource allocation method according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram 2 of a terminal according to an embodiment of the present invention.
  • the focus obtaining apparatus may be a terminal, such as a computer or a mobile terminal, and the like, which can use a browser.
  • the mobile terminal can be implemented in various forms.
  • the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • PDAs personal digital assistants
  • PADs tablet computers
  • PMPs portable multimedia players
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 1 may include a wireless communication unit 110, an audio/video (A/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, 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 1 and a wireless communication system or network.
  • the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal from an external broadcast management server via a broadcast channel And/or broadcast related information.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H)
  • MediaFLO forward link media
  • the digital broadcasting system of the @) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system.
  • the broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or 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 WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some short-range communication technologies Examples include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is a Global Positioning System (GPS) module.
  • GPS Global Positioning System
  • the GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module can calculate the speed information by continuously calculating the current position information in real time.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a microphone 122 that 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 serves as an interface through which at least one external device can connect with the mobile terminal 1.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone Mouth, etc.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 1 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identification Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 1 via a port or other connection device.
  • the interface unit 170 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1 or can be used in the mobile terminal and external device Transfer data between.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 1 or may be used as a variety of command signals allowed to be input from the base to be transmitted to the mobile 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.
  • 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 a visual, audio, and/or 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 1. For example, when the mobile terminal 1 is in the 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 1 is in the video call mode or the image capturing mode, the display unit 151 may display a captured image and/or 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. Some of these displays may be constructed to be transparent to allow the user to view from the outside, which may be referred to as transparent
  • a display typically a transparent display, can be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • the mobile terminal 1 may comprise two or more display units (or other display devices), for example, the mobile terminal may comprise an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used 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 an audio output (eg, a call signal receiving sound, a message receiving sound, etc.) associated with a particular function performed by the mobile terminal 1.
  • 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 that performs 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, and the like) 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, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 1 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 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 present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 1 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.
  • Such communication systems may use different air interfaces and/or physical layers.
  • 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 may include a plurality of mobile terminals 1, 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
  • MSC 280 is also constructed
  • An interface is formed for the BSC 275 that can be coupled to the BS 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of 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 BSCs 2750.
  • Each BS 270 can serve one or more partitions (or regions), with each partition covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. 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 mean 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 multiple cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 1 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 1 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • FIG. 2 several Global Positioning System (GPS) satellites 300 are shown that help locate at least one of a plurality of mobile terminals 1.
  • 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 which is the location information module 115 shown in Figure 1, is typically configured to cooperate with the satellite 300 to obtain the 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.
  • the BS 270 receives reverse link signals from various mobile terminals 1.
  • the mobile terminal 1 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular BS 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 1.
  • the terminal in the embodiment of the present invention is a terminal that can simultaneously insert two SIM (Subscriber Identity Module) cards.
  • SIM Subscriber Identity Module
  • An embodiment of the present invention provides a resource allocation method. As shown in FIG. 3, the method may include:
  • the application scenario of the embodiment of the present invention is based on the case that the terminal needs to allocate resources for communication when the first SIM card and the second SIM card communicate in the case that the terminal can implement dual card dual standby.
  • SIM cards can be simultaneously inserted for communication, but one of the two SIM cards is used as a primary card and one as a secondary card.
  • the first SIM card refers to the secondary card
  • the second SIM card refers to the primary card.
  • the network (operator) to which the first SIM card and the second SIM card belong in the embodiment of the present invention may be the same or different.
  • the terminal can pass the self
  • the detection of the body determines the first network to which the first SIM card belongs, and obtains the paging parameter of the first SIM card at this time through the first network (for example, the serving base station), where the paging parameters may include: Paging cycle and paging times.
  • the first terminal when the user uses the terminal (the first terminal) to communicate with the terminal (the second terminal) where the first SIM card is located, the first terminal sends a paging message to the second terminal, for requesting and first
  • the SIM card performs a call or communication, and the paging cycle and the paging number of the paging response of the first SIM card in the second terminal for the paging message are determined by the second network side.
  • the first terminal pages the first SIM card of the second terminal according to the paging number, and the time of each paging is One paging cycle.
  • the mobile phone of user A calls the first SIM card of user B, and it is assumed that the paging cycle of the first SIM card acquired by the mobile phone of user B is 2S, and the paging frequency is 5 times.
  • the mobile phone of user B is Before the waiting for the answering tone, the first SIM card is received 5 times per time for the 2S time.
  • a phone alert tone appears, indicating that there is an incoming call. If the user B's mobile phone does not listen to the paging request during this period, the user A's mobile phone may have a prompt tone that the first SIM card is not connected.
  • the terminal may calculate the total paging duration according to the obtained paging cycle and paging times.
  • the terminal multiplies the paging cycle by the number of paging times to obtain the total paging duration.
  • the paging period of the first SIM card acquired by the mobile phone of the user B is 2S, and the paging number is 5 times.
  • the total paging duration of the first SIM card calculated by the mobile phone of the user B is Multiplying 2 by 5 is equal to 10S, so the total paging duration is 10S.
  • the terminal does not miss the event of communicating with the first SIM card as long as the terminal listens to the page of the first SIM card before the total paging time arrives. That is to say, resources are allocated to the first network for listening to the paging of the first SIM card when the total paging duration is separated at most.
  • the characterizing terminal After the terminal calculates the total paging duration, when the total paging duration is greater than the preset allocation duration, the characterizing terminal does not need to preset the allocated time resource according to the interval to listen to the first SIM card, and the terminal only needs to be in the total interval according to the interval.
  • a duration (ie, the first duration) between the call duration and the preset allocation duration allocates resources to the first network, so that the first network can use the resource to monitor the communication condition of the first SIM card when the first time interval is used.
  • the selection of the first duration cannot exceed the total paging duration. This is because the terminal does not listen to the second SIM card for monitoring the second SIM card during the interval of the total paging duration.
  • the total paging time is longer than the preset allocation duration. Therefore, the terminal does not have to allocate the resources to the first network in a preset manner according to the preset interval.
  • a duration between the preset allocation duration and the total paging duration is used as the interval length for allocating resources to the first network.
  • the first duration may be a total paging duration.
  • the terminal when the terminal is not in use, the terminal needs to allocate resources to the network to which the first SIM card and the second SIM card belong to implement respective communication services. Specifically, the terminal may allocate resources in the sleep period to the first network and the second network in the case of sleeping, so as to maintain or perform communication services of the first SIM card or the second SIM card.
  • the terminal may allocate resources in the time period of using the first SIM card to perform the first communication service to the first network and the second network, so as to maintain or The communication service of the first SIM card or the second SIM card is performed.
  • the specific resource allocation manner is allocated to the second network according to the first time interval, so that the terminal can allocate the remaining resources to the first SIM card for use.
  • the method for resource allocation in the embodiment of the present invention is not applicable in this case, and is only applicable to the use case where the terminal can allocate resources to both the first network and the second network.
  • the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  • the time interval of the allocated resources corresponding to the first SIM card may be different for different reasons such as different terminal usage or geographic location.
  • the ratio of the occupation time of the resources allocated by the terminal to the first network to the occupation time of the resources of the second network to which the second SIM card belongs may be more Small, that is, the time allocated to the resources of the first network may be less, because when the total paging duration of the first SIM card is long (for example, greater than the preset allocation duration), the terminal may be in each total paging. Allocating resources to the first network before the time is reached, so that the first network is used to monitor whether a paging message is received, so that the terminal can allocate resources to the first time at a maximum interval for a certain time resource allocation. The network, therefore, the terminal saves resources between the preset allocation duration and the first duration, and the saved resources can be used in the communication of the second SIM card.
  • the first SIM card adopts Global System for Mobile Communication (GSM)
  • the second SIM card uses Wideband Code Division Multiple Access (WCDMA).
  • the preset allocation time corresponding to the first SIM card is 5 seconds (S)
  • the first SIM card corresponding to the mobile phone corresponds to
  • the paging period is 2S
  • the number of paging times is 5, and the total paging duration corresponding to the first SIM card is 10S. Since 10S is greater than 5S, the terminal can allocate resources for GSM according to, for example, an 8S time interval, so that The mobile phone monitors the first SIM card every 8 seconds within the above 1 minute. Thus, resources for the rest of the above 1 minute can be allocated to WCDMA for video download.
  • a resource allocation method provided by an embodiment of the present invention is obtained by acquiring a first SIM card a paging parameter of the first network, the paging parameter includes: a paging cycle and a paging number; and a total paging duration is calculated according to the paging cycle and the paging number; when the total paging duration is greater than a preset allocation duration, The resource allocation of the first network is performed according to the first time interval, so that the communication of the first SIM card is performed on the resource that is separated by the first duration.
  • the first duration is less than or equal to the total paging duration and greater than the preset allocation duration.
  • the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves the preset.
  • the resource between the allocated duration and the first duration can be used for communication of the second SIM card, thereby achieving both normal communication of the dual card and improved throughput of the primary card.
  • the embodiment of the invention further provides a method for resource allocation. As shown in FIG. 5, the method may include:
  • the application scenario of the embodiment of the present invention is based on the case that the terminal needs to allocate resources for communication when the first SIM card and the second SIM card communicate in the case that the terminal can implement dual card dual standby.
  • SIM cards can be simultaneously inserted for communication, but one of the two SIM cards is used as a primary card and one as a secondary card.
  • the first SIM card refers to the secondary card
  • the second SIM card refers to the primary card.
  • the network (operator) to which the first SIM card and the second SIM card belong in the embodiment of the present invention may be the same or different.
  • the terminal can determine, by its own detection, the first network to which the first SIM card belongs, and obtain the first network by using the first network (for example, the serving base station).
  • the paging parameters herein may include: a paging cycle and a paging number.
  • the first terminal when the user uses the terminal (the first terminal) to communicate with the terminal (the second terminal) where the first SIM card is located, the first terminal sends a paging message to the second terminal, for requesting and first
  • the SIM card performs a call or communication, and the paging cycle and the paging number of the paging response of the first SIM card in the second terminal for the paging message are determined by the second network side.
  • the first terminal pages the first SIM card of the second terminal according to the paging number, and the time of each paging is One paging cycle.
  • the mobile phone of user A calls the first SIM card of user B, and it is assumed that the paging cycle of the first SIM card acquired by the mobile phone of user B is 2S, and the paging frequency is 5 times.
  • the mobile phone of user B is Before the waiting for the answering tone, the first SIM card is received 5 times per time for the 2S time.
  • a phone alert tone appears, indicating that there is an incoming call. If the user B's mobile phone does not listen to the paging request during this period, the user A's mobile phone may have a prompt tone that the first SIM card is not connected.
  • S202 Calculate a total paging duration according to a paging cycle and a paging number.
  • the terminal may calculate the total paging duration according to the obtained paging cycle and paging times.
  • the terminal multiplies the paging cycle by the number of paging times to obtain the total paging duration.
  • the paging period of the first SIM card acquired by the mobile phone of the user B is 2S, and the paging number is 5 times.
  • the total paging duration of the first SIM card calculated by the mobile phone of the user B is Multiplying 2 by 5 is equal to 10S, so the total paging duration is 10S.
  • the terminal does not miss the event of communicating with the first SIM card as long as the terminal listens to the page of the first SIM card before the total paging time arrives. In other words, at the most interval total search When the call time is long, the resource is allocated to the first network for listening to the paging of the first SIM card.
  • the characterizing terminal After the terminal calculates the total paging duration, when the total paging duration is greater than the preset allocation duration, the characterizing terminal does not need to preset the allocated time resource according to the interval to listen to the first SIM card, and the terminal only needs to be in the total interval according to the interval.
  • a duration (ie, the first duration) between the call duration and the preset allocation duration allocates resources to the first network, so that the first network can use the resource to monitor the communication condition of the first SIM card when the first time interval is used.
  • the embodiment of the present invention can select A duration between the preset allocation duration and the total paging duration as the interval length for allocating resources to the first network.
  • the first duration may be a total paging duration.
  • the terminal when the terminal is not in use, the terminal needs to allocate resources to the network to which the first SIM card and the second SIM card belong to implement respective communication services. Specifically, the terminal may allocate resources in the sleep period to the first network and the second network in the case of sleeping, so as to maintain or perform communication services of the first SIM card or the second SIM card.
  • the terminal may allocate resources in the time period of using the first SIM card to perform the first communication service to the first network and the second network, so as to maintain or The communication service of the first SIM card or the second SIM card is performed.
  • the specific resource allocation manner is allocated to the second network according to the first time interval, so that the terminal can allocate the remaining resources to the first SIM card for use.
  • the terminal when the second SIM card is in a call, the terminal cannot allocate resources to the first network. Therefore, the method for resource allocation in the embodiment of the present invention is not applicable in this case, and is applicable only to the terminal. The use case where resources are allocated to both the first network and the second network.
  • the preset allocation duration depends on the geographic location or the setting of the serving base station.
  • the time interval of the allocated resources corresponding to the first SIM card may be different for different reasons such as different terminal usage or geographic location.
  • the ratio of the occupation time of the resources allocated by the terminal to the first network to the occupation time of the resources of the second network to which the second SIM card belongs may be more Small, that is, the time allocated to the resources of the first network may be less, because when the total paging duration of the first SIM card is long, the terminal may allocate resources to the first time before the total paging time arrives.
  • the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves The resource between the preset allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card.
  • the first SIM card uses GSM
  • the second SIM card uses WCDMA.
  • the first The preset paging duration of a SIM card is 5S
  • the paging period corresponding to the first SIM card acquired by the mobile phone is 2S
  • the paging number is 5 times
  • the total paging duration corresponding to the first SIM card is 10S, due to 10S. It is greater than 5S. Therefore, the terminal can allocate resources for GSM according to the time interval of 8S, so that the mobile phone listens to the first SIM card every 8S in the above 1 minute. Thus, resources for the rest of the above 1 minute can be allocated for use by WCDMA.
  • the terminal After the terminal performs resource allocation of the first network according to the first time interval, the terminal allocates resources to the first network (the resources between the first duration and the total paging duration) is idle. At this time, the terminal may allocate the idle resources to the second network to perform the communication service related to the second SIM card, thereby improving the throughput of the second SIM card.
  • the terminal After the terminal allocates the resources of the first network according to the first time interval, the terminal can monitor whether the first paging message of the first SIM card of the first network is received, that is, whether the resource allocated by the first time interval is received. There are other terminals making a call to the first SIM card.
  • the terminal when the user uses the terminal to perform non-call type communication service on the second SIM card, the terminal also needs some resources to perform monitoring of communication services such as incoming calls to the first SIM card, and therefore, the terminal interval is The terminal performs the above monitoring process on the resource allocated for a long time.
  • the terminal After the terminal monitors whether the first paging message of the first network is received on the resource that is separated by the first time interval, if the terminal monitors that it receives the first paging message for the first SIM card, the terminal may The first paging message is demodulated and responds to the first paging message (such as ringing to indicate a response such as an incoming call) to facilitate communication between the other terminals and the first SIM card.
  • the first paging message is demodulated and responds to the first paging message (such as ringing to indicate a response such as an incoming call) to facilitate communication between the other terminals and the first SIM card.
  • the terminal After the terminal listens to receive the first paging message of the first network on the resource that is separated by the first time interval, when the terminal listens to receive the first paging message, it indicates that no other terminal communicates with the second SIM card. Therefore, the terminal ends this monitoring and waits for the next monitoring.
  • step S205, step S206 and step S207 are optional steps.
  • step S205 to step S206 may be performed, and step S205 to step S207 may be performed, which may be determined according to actual conditions.
  • the embodiment of the invention is not limited.
  • step S204 and step S205-step S207 are parallel steps, and the embodiment of the present invention does not limit the execution sequence of step S204 and step S205-step S207.
  • the step S204 may be performed first, and then the step S205 to the step S207 may be performed according to the actual situation.
  • the step S205 to the step S207 may be performed first, and then the step S204 is performed, which is not limited in the embodiment of the present invention.
  • An embodiment of the present invention provides a resource allocation method, which is configured to obtain a paging parameter of a first network to which a first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number; and according to a paging cycle and paging The total number of paging times is calculated.
  • the resource allocation of the first network is performed according to the first duration of the interval, so that the first SIM card is performed on the resources separated by the first duration.
  • the first duration is less than or equal to the total paging duration and greater than the preset allocation duration.
  • the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate a resource to the first network at most the first time interval, so the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
  • the embodiment of the invention further provides a resource allocation method, as shown in FIG. 6 , the method specifically includes:
  • the second duration is performed according to the interval. Resource allocation of a network, so as to perform communication of the first SIM card on the resource separated by the second duration, the second duration is less than or equal to the total paging duration.
  • a preset allocation duration is corresponding to one SIM.
  • the total paging duration of each SIM card is used to communicate with the SIM card once. As long as the terminal listens once during the total paging time, it can be guaranteed that the incoming call of the SIM card will not be missed.
  • the first SIM card adopts GSM
  • the second SIM card uses WCDMA.
  • the first SIM card corresponds to the pre- The allocation duration is 15S
  • the paging period corresponding to the first SIM card acquired by the mobile phone is 2S
  • the paging number is 5 times
  • the total paging duration corresponding to the first SIM card is 10S, because 10S is less than 15S, therefore, the terminal
  • the resource allocation can be performed for GSM according to the time interval of 8S, so that the mobile phone listens to the first SIM card every 8S in the above 1 minute to avoid missing the incoming call.
  • the terminal when the total paging duration of the first SIM card is less than the preset allocation duration, if the terminal allocates resources to the first network corresponding to the first SIM card according to the interval of the preset allocation duration, The total paging duration corresponding to a SIM card is shorter than the preset allocation duration. Therefore, the terminal may miss the paging of one communication performed before the preset allocation duration. Therefore, in the embodiment of the present invention, when the terminal determines When the total paging duration corresponding to the first SIM card is less than the preset allocation duration, the terminal may perform resource allocation of the first network according to the second duration of the interval, so as to perform the first SIM card on the resource separated by the second duration. Communication, the second duration is less than or equal to the total paging duration. In this way, it can be ensured that the paging of the first SIM card by other terminals will not be missed, thereby improving the connection rate of the first SIM card.
  • the embodiment of the present invention may extend to a case where there are multiple first SIM cards, and one of the second SIM cards.
  • the case of the first SIM card and the second SIM card is not limited.
  • the embodiment of the present invention further provides a terminal 1, which may include:
  • the obtaining unit 10 is configured to obtain a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number.
  • the calculating unit 11 is configured to calculate a total paging duration according to the paging cycle and the paging number acquired by the acquiring unit 10.
  • the allocating unit 12 is configured to: when the total paging duration calculated by the computing unit 11 is greater than a preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to allocate resources at the first duration The communication of the first SIM card is performed, where the first duration is less than or equal to the total paging duration calculated by the computing unit 11 and greater than the preset allocation duration.
  • the allocating unit 12 is further configured to: after the resource allocation of the first network is performed according to the first time interval, allocate resources between the first duration and the preset allocation duration to a second network, wherein the second SIM card performs communication service, and the second network is a network to which the second SIM card belongs.
  • the terminal 1 further includes: a listening unit 13 and a communication unit 14;
  • the monitoring unit 13 is configured to: after the allocation unit 12 performs resource allocation of the first network according to the first time interval, and monitor whether the first homing of the first network is received on the resource that is separated by the first duration Call message
  • the communication unit 14 is configured to perform demodulation communication on the first paging message when the intercepting unit 13 listens to the first paging message.
  • the monitoring unit 13 is further configured to end listening for the first network when the first paging message is not monitored.
  • the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  • the obtaining unit 10, the calculating unit 11 and the allocating unit 12 in the terminal can be implemented by a processor located on the terminal 1, specifically a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA); the listening unit in the terminal
  • the communication unit 14 can be implemented by a receiver, and can be implemented in a practical application by a communication module (including: a basic communication suite, an operating system, a communication module, a standardized interface, and a protocol) and a transceiver antenna.
  • the terminal 1 further includes Memory, the memory, the receiver can be connected to the processor through a system bus, wherein the memory is used to store executable program code, the program code includes computer operating instructions, the memory may include high speed RAM memory, and may also include nonvolatile A memory, for example, at least one disk storage.
  • the terminal in the embodiment of the present invention may be: an electronic device such as a smart phone or a tablet computer having a dual card dual standby function.
  • the terminal provided by the embodiment of the present invention obtains the paging parameter of the first network to which the first SIM card belongs, and the paging parameter includes: a paging cycle and a paging number; and calculates according to the paging cycle and the paging number.
  • the paging parameter includes: a paging cycle and a paging number; and calculates according to the paging cycle and the paging number.
  • the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate a resource to the first network at most the first time interval, so the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention may be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
  • a computer usable storage medium including but not limited to disk storage and optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the terminal may allocate resources to the first network before each total paging duration arrives, so that the first The network is used to monitor whether a paging message is received, so that resources are available for a certain period of time.
  • the terminal can allocate resources to the first network at a maximum interval of the first time. Therefore, the terminal saves resources between the preset allocation duration and the first duration, and the saved resources can be used for communication on the second SIM card. Up, thereby achieving both the normal communication of the dual card and the throughput of the main card.

Abstract

Disclosed in embodiments of the present invention is a resource allocation method, comprising: acquiring a paging parameter of a first network of a first SIM card, the paging parameter comprising a paging cycle and a paging count; calculating, according to the paging cycle and the paging count, a total paging duration; and if the total paging duration is greater than a predetermined allocated duration, then allocating, according to an interval of a first duration, resources for the first network, such that communication of the first SIM card is performed at a resource spaced apart by the first duration, the first duration being less than or equal to the total paging duration and greater than the predetermined allocated duration. Also disclosed in the embodiments of the present invention are a terminal and a computer storage medium.

Description

一种资源分配方法、终端及计算机存储介质Resource allocation method, terminal and computer storage medium 技术领域Technical field
本发明涉及通信领域中的资源分配技术,尤其涉及一种资源分配方法、终端及计算机存储介质。The present invention relates to resource allocation technologies in the field of communications, and in particular, to a resource allocation method, a terminal, and a computer storage medium.
背景技术Background technique
目前,用户可以通过在终端中***用户识别模块(SIM,Subscriber Identity Module)卡进行通信,随着电子通信的不断发展,终端的功能也越来越多,终端可以实现双卡双待。At present, the user can perform communication by inserting a Subscriber Identity Module (SIM) card in the terminal. With the continuous development of electronic communication, the functions of the terminal are also more and more, and the terminal can implement dual card dual standby.
现有技术中,双卡双待就是用户可以通过一个终端***两张SIM卡(第一SIM卡和第二SIM卡)进行通信,这两张SIM卡可以属于同一个运营商,也可以属于不同的运营商,例如宽带码分多址(WCDMA,Wideband Code Division Multiple Access)+全球移动通信***(GSM,Global System for Mobile Communication)的情况,具体的,假设第二SIM卡采用的WCDMA,第一SIM卡采用的GSM,当第二SIM卡作为主卡占据射频资源进行通信业务时,由于GSM需要监听第一SIM卡,以判断是否有与该第一SIM卡进行的通信业务,因此,终端需要分配一些射频资源给GSM,以使得该GSM用来监听第一SIM卡的通信业务。In the prior art, the dual card dual standby is that the user can insert two SIM cards (the first SIM card and the second SIM card) through one terminal for communication, and the two SIM cards can belong to the same operator or different. The carrier, for example, Wideband Code Division Multiple Access (WCDMA) + Global System for Mobile Communication (GSM), specifically, the second SIM card adopts WCDMA, first GSM used by the SIM card. When the second SIM card is used as the primary card to occupy the radio frequency resource for communication, the GSM needs to monitor the first SIM card to determine whether there is a communication service with the first SIM card. Therefore, the terminal needs to Some radio resources are allocated to GSM, so that the GSM is used to monitor the communication service of the first SIM card.
然而,采用双卡双待通信和单卡通信均是基于一套射频***开发的,当采用现有技术实现双卡双待通信时,由于第一SIM卡会间隔预设分配时长占用射频资源进行通信,因此,在第二SIM卡(主卡)进行业务数据传输时的吞吐量会有所影响。例如,在WCDMA+GSM的情况下,假设第二SIM卡采用WCDMA,第一SIM卡采用GSM,这时,WCDMA的吞吐率会比采用单个SIM卡进行通信的WCDMA的吞吐量下降30%之多。 However, dual-card dual-standby communication and single-card communication are developed based on a set of radio frequency systems. When the dual-card dual-standby communication is implemented by the prior art, the first SIM card is occupied by the preset allocation time and the radio frequency resources are occupied. Communication, therefore, the throughput when the second SIM card (primary card) performs service data transmission will have an impact. For example, in the case of WCDMA+GSM, assuming that the second SIM card uses WCDMA and the first SIM card uses GSM, the throughput of WCDMA will be reduced by 30% compared to the throughput of WCDMA using a single SIM card. .
发明内容Summary of the invention
为解决上述技术问题,本发明实施例期望提供一种资源分配方法、终端及计算机存储介质,在采用双卡双待进行通信时,能够在保证双卡正常通信的基础上,提高主卡的吞吐量。In order to solve the above technical problem, the embodiment of the present invention is to provide a resource allocation method, a terminal, and a computer storage medium. When the dual card dual standby is used for communication, the throughput of the primary card can be improved on the basis of ensuring normal communication of the dual card. the amount.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种资源分配方法,包括:The embodiment of the invention provides a resource allocation method, including:
获取第一SIM卡所属第一网络的寻呼参数,所述寻呼参数包括:寻呼周期和寻呼次数;Obtaining a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number;
根据所述寻呼周期和所述寻呼次数,计算出总寻呼时长;Calculating a total paging duration according to the paging cycle and the paging number;
当所述总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔所述第一时长的资源上进行所述第一SIM卡的通信,所述第一时长小于等于所述总寻呼时长,且大于所述预设分配时长。When the total paging duration is greater than the preset allocation duration, the resource allocation of the first network is performed according to the first duration of the interval, to perform communication of the first SIM card on the resource separated by the first duration, The first duration is less than or equal to the total paging duration and greater than the preset allocation duration.
在一实施例中,所述按照间隔所述第一时长进行第一网络的资源分配之后,所述方法还包括:In an embodiment, after performing the resource allocation of the first network by using the first duration, the method further includes:
将所述第一时长与预设分配时长之间的资源分配给第二网络,以使第二SIM卡进行通信业务,所述第二网络为所述第二SIM卡所属的网络。Allocating resources between the first duration and the preset allocation duration to the second network, so that the second SIM card performs communication service, and the second network is a network to which the second SIM card belongs.
在一实施例中,所述按照间隔所述第一时长进行第一网络的资源分配之后,所述方法还包括:In an embodiment, after performing the resource allocation of the first network by using the first duration, the method further includes:
在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息;Monitoring whether the first paging message of the first network is received on a resource that is separated by the first duration;
当监听到接收到所述第一寻呼消息时,对所述第一寻呼消息进行解调通信。Demodulating communication of the first paging message when it is detected that the first paging message is received.
在一实施例中,所述在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息之后,所述方法还包括:In an embodiment, after the first paging message of the first network is received on the resource that is the first time duration, the method further includes:
当未监听到接收到所述第一寻呼消息时,结束针对所述第一网络的监 听。Ending monitoring of the first network when the first paging message is not received listen.
在一实施例中,所述预设分配时长根据地理位置或服务基站的设置确定。In an embodiment, the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
在一实施例中,所述获取第一SIM卡所属第一网络的寻呼参数,包括:In an embodiment, the obtaining the paging parameter of the first network to which the first SIM card belongs includes:
通过所述第一SIM卡所属第一网络的服务基站获得所述第一SIM卡的寻呼参数。Obtaining paging parameters of the first SIM card by using a serving base station of the first network to which the first SIM card belongs.
在一实施例中,所述获取第一SIM卡所属第一网络的寻呼参数,包括:In an embodiment, the obtaining the paging parameter of the first network to which the first SIM card belongs includes:
当通过所述第一SIM卡与其他终端进行通信时,接收到所述其他终端的寻呼消息,基于所述寻呼消息确定所述第一SIM卡的寻呼参数。When communicating with other terminals through the first SIM card, receiving a paging message of the other terminal, determining a paging parameter of the first SIM card based on the paging message.
在一实施例中,所述第一SIM卡为副卡。In an embodiment, the first SIM card is a secondary card.
在一实施例中,所述第二SIM卡为主卡。In an embodiment, the second SIM card is a master card.
在一实施例中,当所述总寻呼时长小于所述预设分配时长时,所述方法还包括:按照间隔第二时长进行所述第一网络的资源分配,以在间隔所述第二时长的资源上进行所述第一SIM卡的通信,所述第二时长小于等于所述总寻呼时长。In an embodiment, when the total paging duration is less than the preset allocation duration, the method further includes: performing resource allocation of the first network according to a second duration of time interval to The communication of the first SIM card is performed on a resource of a duration, and the second duration is less than or equal to the total paging duration.
本发明实施例还提供了一种终端,包括:The embodiment of the invention further provides a terminal, including:
获取单元,配置为获取第一SIM卡所属第一网络的寻呼参数,所述寻呼参数包括:寻呼周期和寻呼次数;An acquiring unit, configured to acquire a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number;
计算单元,配置为根据所述获取单元获取的所述寻呼周期和所述寻呼次数,计算出所述总寻呼时长;a calculating unit, configured to calculate the total paging duration according to the paging period and the paging times acquired by the acquiring unit;
分配单元,配置为当所述计算单元计算的所述总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔所述第一时长的资源上进行所述第一SIM卡的通信,所述第一时长小于等于所述计算单元计算的所述总寻呼时长,且大于所述预设分配时长。And an allocation unit, configured to: when the total paging duration calculated by the computing unit is greater than a preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to perform on the resource that is separated by the first duration In the communication of the first SIM card, the first duration is less than or equal to the total paging duration calculated by the computing unit, and is greater than the preset allocation duration.
在一实施例中,所述分配单元,还配置为所述按照间隔第一时长进行 第一网络的资源分配之后,将所述第一时长与所述预设分配时长之间的资源分配给第二网络,以使所述第二SIM卡进行通信业务,所述第二网络为所述第二SIM卡所属的网络。In an embodiment, the allocating unit is further configured to perform the first time interval according to the interval. After the resource allocation of the first network, the resource between the first duration and the preset allocation duration is allocated to the second network, so that the second SIM card performs communication service, and the second network is The network to which the second SIM card belongs.
在一实施例中,所述终端还包括:监听单元和通信单元;In an embodiment, the terminal further includes: a listening unit and a communication unit;
监听单元,配置为所述分配单元按照间隔第一时长进行第一网络的资源分配之后,在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息;a monitoring unit, configured to: after the allocating unit allocates resources of the first network according to the first time interval, and monitor whether the first paging message of the first network is received on the resource that is separated by the first duration;
通信单元,配置为当所述监听单元监听到所述第一寻呼消息时,对所述第一寻呼消息进行解调通信。The communication unit is configured to perform demodulation communication on the first paging message when the intercepting unit listens to the first paging message.
在一实施例中,所述监听单元,还配置为未监听到所述第一寻呼消息时,结束针对所述第一网络的监听。In an embodiment, the listening unit is further configured to end monitoring for the first network when the first paging message is not monitored.
在一实施例中,所述预设分配时长根据地理位置或服务基站的设置确定。In an embodiment, the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
在一实施例中,所述第一SIM卡为副卡;所述第二SIM卡为主卡。In an embodiment, the first SIM card is a secondary card; the second SIM card is a primary card.
在一实施例中,所述分配单元,还配置为当所述计算单元计算的所述总寻呼时长小于所述预设分配时长时,按照间隔第二时长进行所述第一网络的资源分配,以在间隔所述第二时长的资源上进行所述第一SIM卡的通信,所述第二时长小于等于所述总寻呼时长。In an embodiment, the allocating unit is further configured to perform resource allocation of the first network according to a second duration of time when the total paging duration calculated by the computing unit is less than the preset allocation duration And performing communication of the first SIM card on a resource that is separated by the second duration, where the second duration is less than or equal to the total paging duration.
在一实施例中,所述获取单元,配置为通过所述第一SIM卡所属第一网络的服务基站获得所述第一SIM卡的寻呼参数。In an embodiment, the acquiring unit is configured to obtain a paging parameter of the first SIM card by using a serving base station of the first network to which the first SIM card belongs.
在一实施例中,所述获取单元,配置为当通过所述第一SIM卡与其他终端进行通信时,接收到所述其他终端的寻呼消息,基于所述寻呼消息确定所述第一SIM卡的寻呼参数。In an embodiment, the acquiring unit is configured to: when communicating with other terminals by using the first SIM card, receive a paging message of the other terminal, and determine the first message based on the paging message. The paging parameters of the SIM card.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行本发明实施 例所述的资源分配方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to perform the implementation of the invention. The resource allocation method described in the example.
本发明实施例提供的资源分配方法、终端及计算机存储介质,通过获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数;根据寻呼周期和寻呼次数,计算出总寻呼时长;当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。采用本发明实施例的技术方案,当第一SIM卡的总寻呼时长比较长的时候(例如大于预设分配时长时),终端可以在每次总寻呼时长到达前分配资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了,从而实现了既保证了双卡正常通信,又提高主卡的吞吐量。The resource allocation method, the terminal, and the computer storage medium provided by the embodiment of the present invention obtain the paging parameter of the first network to which the first SIM card belongs, and the paging parameter includes: a paging cycle and a paging number; The number of pagings is calculated, and the total paging duration is calculated. When the total paging duration is greater than the preset allocation duration, the resource allocation of the first network is performed according to the first duration of the interval, so that the first SIM is performed on the resources separated by the first duration. The communication of the card, the first duration is less than or equal to the total paging duration, and is greater than the preset allocation duration. According to the technical solution of the embodiment of the present invention, when the total paging duration of the first SIM card is relatively long (for example, when the preset paging duration is longer), the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
附图说明DRAWINGS
图1为实现本发明各个实施例的移动终端的硬件结构示意;1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention;
图2为本发明的移动终端能够操作的通信***;2 is a communication system that the mobile terminal of the present invention can operate;
图3为本发明实施例提供的一种资源分配方法的流程图一;FIG. 3 is a flowchart 1 of a resource allocation method according to an embodiment of the present invention;
图4为本发明实施例中示例性的资源分配时隙图;4 is an exemplary resource allocation slot diagram in an embodiment of the present invention;
图5为本发明实施例提供的一种资源分配方法的流程图二;FIG. 5 is a second flowchart of a resource allocation method according to an embodiment of the present invention;
图6为本发明实施例还提供的一种资源分配方法的流程图;FIG. 6 is a flowchart of a resource allocation method according to an embodiment of the present invention;
图7为本发明实施例提供的一种终端的结构示意图一;FIG. 7 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种终端的结构示意图二。FIG. 8 is a schematic structural diagram 2 of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述。The technical solution in the embodiment of the present invention will be further described below with reference to the accompanying drawings in the embodiments of the present invention. Clearly and completely described.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A mobile terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
需要说明的是,本发明实施例提供的一种焦点获取装置可以为终端,例如计算机或移动终端等可以使用浏览器的电子设备。It should be noted that the focus obtaining apparatus provided by the embodiment of the present invention may be a terminal, such as a computer or a mobile terminal, and the like, which can use a browser.
其中,移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。Among them, the mobile terminal can be implemented in various forms. For example, the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like. Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
图1为实现本发明各个实施例的移动终端的硬件结构示意。FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
移动终端1可以包括无线通信单元110、音频/视频(A/V)输入单元120、用户输入单元130、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 1 may include a wireless communication unit 110, an audio/video (A/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, 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.
无线通信单元110通常包括一个或多个组件,其允许移动终端1与无线通信***或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 1 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号 和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播***接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播***、地面数字广播综合服务(ISDB-T)等等的数字广播***接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播***以及上述数字广播***。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。The broadcast receiving module 111 receives a broadcast signal from an external broadcast management server via a broadcast channel And/or broadcast related information. The broadcast channel can include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like. . The broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems. In particular, the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H) The digital broadcasting system of the @) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting. The broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。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 WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些 示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some short-range communication technologies Examples include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是全球定位***(GPS)模块。根据当前的技术,GPS模块计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块能够通过实时地连续计算当前位置信息来计算速度信息。The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of a location information module is a Global Positioning System (GPS) module. According to current technology, the GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude. Currently, the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite. Further, the GPS module can calculate the speed information by continuously calculating the current position information in real time.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括麦克风122,麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is for receiving an audio or video signal. The A/V input unit 120 may include a microphone 122 that 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.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。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. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
接口单元170用作至少一个外部装置与移动终端1连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端 口等等。识别模块可以是存储用于验证用户使用移动终端1的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端1连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 1. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone Mouth, etc. The identification module may be stored to verify various information used by the user using the mobile terminal 1 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identification Module (USIM), and the like. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 1 via a port or other connection device. The interface unit 170 can be configured to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more components within the mobile terminal 1 or can be used in the mobile terminal and external device Transfer data between.
另外,当移动终端1与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端1的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152等等。In addition, when the mobile terminal 1 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 1 or may be used as a variety of command signals allowed to be input from the base to be transmitted to the mobile 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. 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 a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
显示单元151可以显示在移动终端1中处理的信息。例如,当移动终端1处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端1处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the mobile terminal 1. For example, when the mobile terminal 1 is in the 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 1 is in the video call mode or the image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状,以允许用户从外部观看,这可以称为透明 显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端1可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, 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. Some of these displays may be constructed to be transparent to allow the user to view from the outside, which may be referred to as transparent A display, typically a transparent display, can be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. According to a particular desired embodiment, the mobile terminal 1 may comprise two or more display units (or other display devices), for example, the mobile terminal may comprise an external display unit (not shown) and an internal display unit (not shown) . The touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端1执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。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. Moreover, the audio output module 152 can provide an audio output (eg, a call signal receiving sound, a message receiving sound, etc.) associated with a particular function performed by the mobile terminal 1. The audio output module 152 can include a speaker, a buzzer, and the like.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储已经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like that performs 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, and the like) 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.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端1可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 1 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。 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 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.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementations, 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 ( 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. For software implementations, 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 controller 180.
至此,已经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its function. Hereinafter, for the sake of brevity, 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 present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
如图1中所示的移动终端1可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信***以及基于卫星的通信***来操作。The mobile terminal 1 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.
现在将参考图2描述其中根据本发明的移动终端能够操作的通信***。A communication system in which a mobile terminal according to the present invention can be operated will now be described with reference to FIG.
这样的通信***可以使用不同的空中接口和/或物理层。例如,由通信***使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信***(UMTS)(特别地,长期演进(LTE))、全球移动通信***(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信***,但是这样的教导同样适用于其它类型的***。Such communication systems may use different air interfaces and/or physical layers. For example, 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. As a non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信***可以包括多个移动终端1、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC 280被构造为与公共电话交换网络(PSTN)290形成接口。MSC 280还被构造 为与可以经由回程线路耦接到BS 270的BSC 275形成接口。回程线路可以根据若干已知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的***可以包括多个BSC 2750。Referring to FIG. 2, a CDMA wireless communication system may include a plurality of mobile terminals 1, 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. MSC 280 is also constructed An interface is formed for the BSC 275 that can be coupled to the BS 270 via a backhaul line. The backhaul line can be constructed in accordance with any of a number of 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 BSCs 2750.
每个BS 270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS 270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS 270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 can serve one or more partitions (or regions), with each partition covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. 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.).
分区与频率分配的交叉可以被称为CDMA信道。BS 270也可以被称为基站收发器子***(BTS)或者其它等效术语。在这样的情况下,术语“基站”可以用于笼统地表示单个BSC 275和至少一个BS 270。基站也可以被称为“蜂窝站”。或者,特定BS 270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" can be used to generally mean a single BSC 275 and at least one BS 270. A base station can also be referred to as a "cell station." Alternatively, each partition of a particular BS 270 may be referred to as multiple cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在***内操作的移动终端1。如图1中所示的广播接收模块111被设置在移动终端1处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位***(GPS)卫星300,卫星300帮助定位多个移动终端1中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 1 operating within the system. A broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 1 to receive a broadcast signal transmitted by the BT 295. In FIG. 2, several Global Positioning System (GPS) satellites 300 are shown that help locate at least one of a plurality of mobile terminals 1.
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。作为图1中所示的位置信息模块115的GPS模块通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In Figure 2, 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, which is the location information module 115 shown in Figure 1, is typically configured to cooperate with the satellite 300 to obtain the 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接收来自各种移动终端1的反向链路信号。移动终端1通常参与通话、消息收发和其它类型的通信。 特定BS 270接收的每个反向链路信号被在特定BS 270内进行处理。获得的数据被转发给相关的BSC 275。BSC提供通话资源分配和包括BS 270之间的软切换过程的协调的移动管理功能。BSC 275还将接收到的数据路由到MSC 280,其提供用于与PSTN 290形成接口的额外的路由服务。类似地,PSTN 290与MSC 280形成接口,MSC与BSC 275形成接口,并且BSC 275相应地控制BS 270以将正向链路信号发送到移动终端1。As a typical operation of a wireless communication system, the BS 270 receives reverse link signals from various mobile terminals 1. The mobile terminal 1 typically participates in calls, messaging, and other types of communications. Each reverse link signal received by a particular BS 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. Similarly, 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 1.
基于上述移动终端硬件结构以及通信***,提出本发明方法各个实施例。Based on the above-described mobile terminal hardware structure and communication system, various embodiments of the method of the present invention are proposed.
需要说明的是,本发明实施例中的终端为可同时***两张用户识别模块(SIM,Subscriber Identity Module)卡的终端。It should be noted that the terminal in the embodiment of the present invention is a terminal that can simultaneously insert two SIM (Subscriber Identity Module) cards.
实施例一 Embodiment 1
本发明实施例提供了一种资源分配方法,如图3所示,该方法可以包括:An embodiment of the present invention provides a resource allocation method. As shown in FIG. 3, the method may include:
S101、获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数。S101. Acquire a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number.
需要说明的是,本发明实施例的应用场景基于终端可实现双卡双待的情况下,针对第一SIM卡和第二SIM卡进行通信时需要占用的资源的时间进行分配的情况。It should be noted that the application scenario of the embodiment of the present invention is based on the case that the terminal needs to allocate resources for communication when the first SIM card and the second SIM card communicate in the case that the terminal can implement dual card dual standby.
本领域技术人员可以知道,可双卡双待的终端中,可以同时***两张SIM卡分别进行通信,但是这两张SIM卡中,会有一个作为主卡,一个作为副卡。在本发明实施例中,第一SIM卡指的是副卡,而第二SIM卡指的是主卡。Those skilled in the art can know that in a dual-card dual-standby terminal, two SIM cards can be simultaneously inserted for communication, but one of the two SIM cards is used as a primary card and one as a secondary card. In the embodiment of the present invention, the first SIM card refers to the secondary card, and the second SIM card refers to the primary card.
需要说明的是,本发明实施例中的第一SIM卡与第二SIM卡所属的网络(运营商)可以相同,也可以不同。It should be noted that the network (operator) to which the first SIM card and the second SIM card belong in the embodiment of the present invention may be the same or different.
具体的,当用户将第一SIM卡***到终端中时,该终端就可以通过自 身的检测判断出该第一SIM卡所属的第一网络,并通过该第一网络(例如,服务基站)获取到此时的第一SIM卡的寻呼参数,这里的寻呼参数可以包括:寻呼周期和寻呼次数。Specifically, when the user inserts the first SIM card into the terminal, the terminal can pass the self The detection of the body determines the first network to which the first SIM card belongs, and obtains the paging parameter of the first SIM card at this time through the first network (for example, the serving base station), where the paging parameters may include: Paging cycle and paging times.
需要说明的是,用户使用终端(第一终端)与第一SIM卡所在的终端(第二终端)进行通信时,该第一终端会发送寻呼消息至第二终端,用于请求与第一SIM卡进行通话或通信,第二终端中的第一SIM卡针对寻呼消息时的寻呼响应的寻呼周期和寻呼次数是由第二网络侧所决定的。It should be noted that when the user uses the terminal (the first terminal) to communicate with the terminal (the second terminal) where the first SIM card is located, the first terminal sends a paging message to the second terminal, for requesting and first The SIM card performs a call or communication, and the paging cycle and the paging number of the paging response of the first SIM card in the second terminal for the paging message are determined by the second network side.
特别的,在一次寻呼消息中,在第一SIM卡被打通或呼叫失败之前,第一终端会按照寻呼次数对第二终端的第一SIM卡进行寻呼,每次寻呼的时间是一个寻呼周期。例如,用户A的手机打给用户B的第一SIM卡,假设用户B的手机获取的该第一SIM卡的寻呼周期为2S,寻呼次数为5次,这时,在用户B的手机在出现等候接听音之前就会接收到每次2S的时间寻呼5次第一SIM卡,在这期间若用户B的***听到这个寻呼消息,就会出现电话提示音,表示有来电。若是在这期间用户B的手机未监听到这个寻呼请求,该用户A的手机就会出现未接通第一SIM卡的提示音。Specifically, in a paging message, before the first SIM card is opened or the call fails, the first terminal pages the first SIM card of the second terminal according to the paging number, and the time of each paging is One paging cycle. For example, the mobile phone of user A calls the first SIM card of user B, and it is assumed that the paging cycle of the first SIM card acquired by the mobile phone of user B is 2S, and the paging frequency is 5 times. At this time, the mobile phone of user B is Before the waiting for the answering tone, the first SIM card is received 5 times per time for the 2S time. During this period, if the user B's mobile phone listens to the paging message, a phone alert tone appears, indicating that there is an incoming call. If the user B's mobile phone does not listen to the paging request during this period, the user A's mobile phone may have a prompt tone that the first SIM card is not connected.
S102、根据寻呼周期和寻呼次数,计算出总寻呼时长。S102. Calculate a total paging duration according to a paging cycle and a paging number.
终端在获取第一SIM卡所属第一网络的寻呼参数之后,就可以根据获取到的寻呼周期和寻呼次数计算出总寻呼时长的时间了。After obtaining the paging parameter of the first network to which the first SIM card belongs, the terminal may calculate the total paging duration according to the obtained paging cycle and paging times.
具体的,终端将寻呼周期乘以寻呼次数就可以得出总的寻呼时长了。Specifically, the terminal multiplies the paging cycle by the number of paging times to obtain the total paging duration.
示例性的,假设用户B的手机获取的该第一SIM卡的寻呼周期为2S,寻呼次数为5次,这时,用户B的手机计算的第一SIM卡的一次总寻呼时长为2乘以5等于10S,因此,总寻呼时长为10S。Exemplarily, it is assumed that the paging period of the first SIM card acquired by the mobile phone of the user B is 2S, and the paging number is 5 times. At this time, the total paging duration of the first SIM card calculated by the mobile phone of the user B is Multiplying 2 by 5 is equal to 10S, so the total paging duration is 10S.
可以理解的是,终端只要在总寻呼时长到达之前监听第一SIM卡的寻呼就不会漏掉与第一SIM卡进行通信的事件。也就是说,在最多间隔总寻呼时长时分配资源给第一网络用于监听第一SIM卡的寻呼即可。 It can be understood that the terminal does not miss the event of communicating with the first SIM card as long as the terminal listens to the page of the first SIM card before the total paging time arrives. That is to say, resources are allocated to the first network for listening to the paging of the first SIM card when the total paging duration is separated at most.
S103、当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。S103. When the total paging duration is greater than the preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to perform communication of the first SIM card on the resource separated by the first duration, where the first duration is less than It is equal to the total paging duration and is greater than the preset allocation duration.
终端在计算出总寻呼时长之后,当总寻呼时长大于预设分配时长时,表征终端不需要按照间隔预设分配时长的资源来监听第一SIM卡,该终端只需要按照间隔在总寻呼时长和预设分配时长之间的一个时长(即第一时长)分配资源给第一网络,使得该第一网络可以在间隔第一时长的时候使用资源监听第一SIM卡的通信情况。After the terminal calculates the total paging duration, when the total paging duration is greater than the preset allocation duration, the characterizing terminal does not need to preset the allocated time resource according to the interval to listen to the first SIM card, and the terminal only needs to be in the total interval according to the interval. A duration (ie, the first duration) between the call duration and the preset allocation duration allocates resources to the first network, so that the first network can use the resource to monitor the communication condition of the first SIM card when the first time interval is used.
可以理解的是,第一时长的选取不能超过总寻呼时长,这是因为只有在间隔总寻呼时长内终端进行第二SIM卡的监听才不会漏掉第二SIM卡有来电等通信业务的情况,又由于总寻呼时长大于预设分配时长,因此,终端不必按照之前就设定好的间隔预设分配时长那么密集的分配资源给第一网络,因此,本发明实施例可以选取介于预设分配时长和总寻呼时长之间的一个时长作为分配资源给第一网络的间隔时长。It can be understood that the selection of the first duration cannot exceed the total paging duration. This is because the terminal does not listen to the second SIM card for monitoring the second SIM card during the interval of the total paging duration. In the case of the present invention, the total paging time is longer than the preset allocation duration. Therefore, the terminal does not have to allocate the resources to the first network in a preset manner according to the preset interval. A duration between the preset allocation duration and the total paging duration is used as the interval length for allocating resources to the first network.
作为一种实施方式,所述第一时长可以为总寻呼时长。As an implementation manner, the first duration may be a total paging duration.
需要说明的是,在本发明实施例中,在终端不使用情况下,终端需要给第一SIM卡和第二SIM卡所属的网络进行资源的分配,以实现各自的通信业务。具体的,终端可以在休眠的情况下,将休眠时间段内的资源分配给第一网络和第二网络,以便于维持或进行第一SIM卡或第二SIM卡的通信业务。终端也可以使用第一SIM卡进行非通话以外的第一通信业务时,将使用第一SIM卡进行第一通信业务的时间段内的资源分配给第一网络和第二网络,以便于维持或进行第一SIM卡或第二SIM卡的通信业务。具体的资源的分配方式是按照间隔第一时长分配给第二网络的,这样,终端就可以将剩余的资源分配给第一SIM卡使用了。It should be noted that, in the embodiment of the present invention, when the terminal is not in use, the terminal needs to allocate resources to the network to which the first SIM card and the second SIM card belong to implement respective communication services. Specifically, the terminal may allocate resources in the sleep period to the first network and the second network in the case of sleeping, so as to maintain or perform communication services of the first SIM card or the second SIM card. When the first SIM card is used to perform the first communication service other than the call, the terminal may allocate resources in the time period of using the first SIM card to perform the first communication service to the first network and the second network, so as to maintain or The communication service of the first SIM card or the second SIM card is performed. The specific resource allocation manner is allocated to the second network according to the first time interval, so that the terminal can allocate the remaining resources to the first SIM card for use.
需要说明的是,当第二SIM卡在进行通话时,终端不可能分配资源给 第一网络,因此,本发明实施例的资源分配的方法是不在这种情况下适用的,只适用于终端可以给第一网络和第二网络都分配资源的使用情况下。It should be noted that when the second SIM card is in a call, the terminal cannot allocate resources to The first network, therefore, the method for resource allocation in the embodiment of the present invention is not applicable in this case, and is only applicable to the use case where the terminal can allocate resources to both the first network and the second network.
作为一种实施方式,所述预设分配时长根据地理位置或服务基站的设置而定。对于不同的终端使用情况或地理位置等原因,第一SIM卡对应的分配资源的时间间隔预设分配时长是可以不同的。As an implementation manner, the preset allocation duration is determined according to a geographic location or a setting of a serving base station. The time interval of the allocated resources corresponding to the first SIM card may be different for different reasons such as different terminal usage or geographic location.
可以理解的是,当第一SIM卡的总寻呼时长越长,说明终端分配给该第一网络的资源的占用时间与第二SIM卡所属的第二网络的资源的占用时间的比值可以更小,即分配给第一网络的资源的时间可以更少,这是因为当第一SIM卡的总寻呼时长较长时(例如大于预设分配时长时),终端可以在每次总寻呼时长到达前分配资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了。It can be understood that when the total paging duration of the first SIM card is longer, the ratio of the occupation time of the resources allocated by the terminal to the first network to the occupation time of the resources of the second network to which the second SIM card belongs may be more Small, that is, the time allocated to the resources of the first network may be less, because when the total paging duration of the first SIM card is long (for example, greater than the preset allocation duration), the terminal may be in each total paging. Allocating resources to the first network before the time is reached, so that the first network is used to monitor whether a paging message is received, so that the terminal can allocate resources to the first time at a maximum interval for a certain time resource allocation. The network, therefore, the terminal saves resources between the preset allocation duration and the first duration, and the saved resources can be used in the communication of the second SIM card.
示例性的,如图4所示,假设第一SIM卡采用全球移动通信***(GSM,Global System for Mobile Communication),第二SIM卡采用的是宽带码分多址(WCDMA,Wideband Code Division Multiple Access),当用户使用手机在第二SIM卡上进行视频下载(下载时间需要1分钟)时,第一SIM卡对应的预设分配时长为5秒(S),手机获取的第一SIM卡对应的寻呼周期为2S,寻呼次数为5次,则第一SIM卡对应的总寻呼时长为10S,由于10S大于5S,因此,终端可以按照例如8S的时间间隔为GSM进行资源分配,以使得手机在上述1分钟内每隔8S对第一SIM卡进行一次监听。这样,在上述1分钟内的其余时间的资源可以分配给WCDMA用于视频下载。Exemplarily, as shown in FIG. 4, it is assumed that the first SIM card adopts Global System for Mobile Communication (GSM), and the second SIM card uses Wideband Code Division Multiple Access (WCDMA). When the user uses the mobile phone to perform video download on the second SIM card (the download time takes 1 minute), the preset allocation time corresponding to the first SIM card is 5 seconds (S), and the first SIM card corresponding to the mobile phone corresponds to The paging period is 2S, and the number of paging times is 5, and the total paging duration corresponding to the first SIM card is 10S. Since 10S is greater than 5S, the terminal can allocate resources for GSM according to, for example, an 8S time interval, so that The mobile phone monitors the first SIM card every 8 seconds within the above 1 minute. Thus, resources for the rest of the above 1 minute can be allocated to WCDMA for video download.
本发明实施例所提供的一种资源分配方法,通过获取第一SIM卡所属 第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数;根据寻呼周期和寻呼次数,计算出总寻呼时长;当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以便于在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。采用上述技术实现方案,由于当第一SIM卡的总寻呼时长较长时(例如大于预设分配时长时),终端可以在每次总寻呼时长到达前进行分配一次资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了,从而实现了既保证了双卡正常通信,又提高主卡的吞吐量。A resource allocation method provided by an embodiment of the present invention is obtained by acquiring a first SIM card a paging parameter of the first network, the paging parameter includes: a paging cycle and a paging number; and a total paging duration is calculated according to the paging cycle and the paging number; when the total paging duration is greater than a preset allocation duration, The resource allocation of the first network is performed according to the first time interval, so that the communication of the first SIM card is performed on the resource that is separated by the first duration. The first duration is less than or equal to the total paging duration and greater than the preset allocation duration. According to the foregoing technical implementation, when the total paging duration of the first SIM card is long (for example, greater than the preset allocation duration), the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves the preset. The resource between the allocated duration and the first duration can be used for communication of the second SIM card, thereby achieving both normal communication of the dual card and improved throughput of the primary card.
实施例二Embodiment 2
本发明实施例还提供了一种资源分配的方法,如图5所示,该方法可以包括:The embodiment of the invention further provides a method for resource allocation. As shown in FIG. 5, the method may include:
S201、获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数。S201. Obtain a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number.
需要说明的是,本发明实施例的应用场景基于终端可实现双卡双待的情况下,针对第一SIM卡和第二SIM卡进行通信时需要占用的资源的时间进行分配的情况。It should be noted that the application scenario of the embodiment of the present invention is based on the case that the terminal needs to allocate resources for communication when the first SIM card and the second SIM card communicate in the case that the terminal can implement dual card dual standby.
本领域技术人员可以知道,可双卡双待的终端中,可以同时***两张SIM卡分别进行通信,但是这两张SIM卡中,会有一个作为主卡,一个作为副卡。在本发明实施例中,第一SIM卡指的是副卡,而第二SIM卡指的是主卡。Those skilled in the art can know that in a dual-card dual-standby terminal, two SIM cards can be simultaneously inserted for communication, but one of the two SIM cards is used as a primary card and one as a secondary card. In the embodiment of the present invention, the first SIM card refers to the secondary card, and the second SIM card refers to the primary card.
需要说明的是,本发明实施例中的第一SIM卡与第二SIM卡所属的网络(运营商)可以相同,也可以不同。 It should be noted that the network (operator) to which the first SIM card and the second SIM card belong in the embodiment of the present invention may be the same or different.
具体的,当用户将第一SIM卡***到终端中时,该终端就可以通过自身的检测判断出该第一SIM卡所属的第一网络,并通过该第一网络(例如,服务基站)获取到此时的第一SIM卡的寻呼参数,这里的寻呼参数可以包括:寻呼周期和寻呼次数。Specifically, when the user inserts the first SIM card into the terminal, the terminal can determine, by its own detection, the first network to which the first SIM card belongs, and obtain the first network by using the first network (for example, the serving base station). To the paging parameter of the first SIM card at this time, the paging parameters herein may include: a paging cycle and a paging number.
需要说明的是,用户使用终端(第一终端)与第一SIM卡所在的终端(第二终端)进行通信时,该第一终端会发送寻呼消息至第二终端,用于请求与第一SIM卡进行通话或通信,第二终端中的第一SIM卡针对寻呼消息时的寻呼响应的寻呼周期和寻呼次数是由第二网络侧所决定的。It should be noted that when the user uses the terminal (the first terminal) to communicate with the terminal (the second terminal) where the first SIM card is located, the first terminal sends a paging message to the second terminal, for requesting and first The SIM card performs a call or communication, and the paging cycle and the paging number of the paging response of the first SIM card in the second terminal for the paging message are determined by the second network side.
特别的,在一次寻呼消息中,在第一SIM卡被打通或呼叫失败之前,第一终端会按照寻呼次数对第二终端的第一SIM卡进行寻呼,每次寻呼的时间是一个寻呼周期。例如,用户A的手机打给用户B的第一SIM卡,假设用户B的手机获取的该第一SIM卡的寻呼周期为2S,寻呼次数为5次,这时,在用户B的手机在出现等候接听音之前就会接收到每次2S的时间寻呼5次第一SIM卡,在这期间若用户B的***听到这个寻呼消息,就会出现电话提示音,表示有来电。若是在这期间用户B的手机未监听到这个寻呼请求,该用户A的手机就会出现未接通第一SIM卡的提示音。Specifically, in a paging message, before the first SIM card is opened or the call fails, the first terminal pages the first SIM card of the second terminal according to the paging number, and the time of each paging is One paging cycle. For example, the mobile phone of user A calls the first SIM card of user B, and it is assumed that the paging cycle of the first SIM card acquired by the mobile phone of user B is 2S, and the paging frequency is 5 times. At this time, the mobile phone of user B is Before the waiting for the answering tone, the first SIM card is received 5 times per time for the 2S time. During this period, if the user B's mobile phone listens to the paging message, a phone alert tone appears, indicating that there is an incoming call. If the user B's mobile phone does not listen to the paging request during this period, the user A's mobile phone may have a prompt tone that the first SIM card is not connected.
S202、根据寻呼周期和寻呼次数,计算出总寻呼时长。S202. Calculate a total paging duration according to a paging cycle and a paging number.
终端在获取第一SIM卡所属第一网络的寻呼参数之后,就可以根据获取到的寻呼周期和寻呼次数计算出总寻呼时长的时间了。After obtaining the paging parameter of the first network to which the first SIM card belongs, the terminal may calculate the total paging duration according to the obtained paging cycle and paging times.
具体的,终端将寻呼周期乘以寻呼次数就可以得出总的寻呼时长了。Specifically, the terminal multiplies the paging cycle by the number of paging times to obtain the total paging duration.
示例性的,假设用户B的手机获取的该第一SIM卡的寻呼周期为2S,寻呼次数为5次,这时,用户B的手机计算的第一SIM卡的一次总寻呼时长为2乘以5等于10S,因此,总寻呼时长为10S。Exemplarily, it is assumed that the paging period of the first SIM card acquired by the mobile phone of the user B is 2S, and the paging number is 5 times. At this time, the total paging duration of the first SIM card calculated by the mobile phone of the user B is Multiplying 2 by 5 is equal to 10S, so the total paging duration is 10S.
可以理解的是,终端只要在总寻呼时长到达之前监听第一SIM卡的寻呼就不会漏掉与第一SIM卡进行通信的事件。也就是说,在最多间隔总寻 呼时长时分配资源给第一网络用于监听第一SIM卡的寻呼即可。It can be understood that the terminal does not miss the event of communicating with the first SIM card as long as the terminal listens to the page of the first SIM card before the total paging time arrives. In other words, at the most interval total search When the call time is long, the resource is allocated to the first network for listening to the paging of the first SIM card.
S203、当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。S203. When the total paging duration is greater than the preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to perform communication of the first SIM card on the resource separated by the first duration, where the first duration is less than It is equal to the total paging duration and is greater than the preset allocation duration.
终端在计算出总寻呼时长之后,当总寻呼时长大于预设分配时长时,表征终端不需要按照间隔预设分配时长的资源来监听第一SIM卡,该终端只需要按照间隔在总寻呼时长和预设分配时长之间的一个时长(即第一时长)分配资源给第一网络,使得该第一网络可以在间隔第一时长的时候使用资源监听第一SIM卡的通信情况。After the terminal calculates the total paging duration, when the total paging duration is greater than the preset allocation duration, the characterizing terminal does not need to preset the allocated time resource according to the interval to listen to the first SIM card, and the terminal only needs to be in the total interval according to the interval. A duration (ie, the first duration) between the call duration and the preset allocation duration allocates resources to the first network, so that the first network can use the resource to monitor the communication condition of the first SIM card when the first time interval is used.
可以理解的是,第一时长的选取不能超过总寻呼时长,这是因为只有在间隔总寻呼时长内、终端进行第二SIM卡的监听才不会漏掉第二SIM卡有来电等通信业务的情况,又由于总寻呼时长大于预设分配时长,因此,终端不必按照之前就设定好的间隔预设分配时长那么密集的分配资源给第一网络,因此,本发明实施例可以选取介于预设分配时长和总寻呼时长之间的一个时长作为分配资源给第一网络的间隔时长。It can be understood that the selection of the first duration cannot exceed the total paging duration. This is because the second SIM card does not miss the communication of the second SIM card within the total paging duration of the interval. In the case of the service, since the total paging duration is greater than the preset allocation duration, the terminal does not have to allocate resources to the first network in a densely allocated manner according to the previously set interval. Therefore, the embodiment of the present invention can select A duration between the preset allocation duration and the total paging duration as the interval length for allocating resources to the first network.
作为一种实施方式,所述第一时长可以为总寻呼时长。As an implementation manner, the first duration may be a total paging duration.
需要说明的是,在本发明实施例中,在终端不使用情况下,终端需要给第一SIM卡和第二SIM卡所属的网络进行资源的分配,以实现各自的通信业务。具体的,终端可以在休眠的情况下,将休眠时间段内的资源分配给第一网络和第二网络,以便于维持或进行第一SIM卡或第二SIM卡的通信业务。终端也可以使用第一SIM卡进行非通话以外的第一通信业务时,将使用第一SIM卡进行第一通信业务的时间段内的资源分配给第一网络和第二网络,以便于维持或进行第一SIM卡或第二SIM卡的通信业务。具体的资源的分配方式是按照间隔第一时长分配给第二网络的,这样,终端就可以将剩余的资源分配给第一SIM卡使用了。 It should be noted that, in the embodiment of the present invention, when the terminal is not in use, the terminal needs to allocate resources to the network to which the first SIM card and the second SIM card belong to implement respective communication services. Specifically, the terminal may allocate resources in the sleep period to the first network and the second network in the case of sleeping, so as to maintain or perform communication services of the first SIM card or the second SIM card. When the first SIM card is used to perform the first communication service other than the call, the terminal may allocate resources in the time period of using the first SIM card to perform the first communication service to the first network and the second network, so as to maintain or The communication service of the first SIM card or the second SIM card is performed. The specific resource allocation manner is allocated to the second network according to the first time interval, so that the terminal can allocate the remaining resources to the first SIM card for use.
需要说明的是,当第二SIM卡在进行通话时,终端不可能分配资源给第一网络,因此,本发明实施例的资源分配的方法是不在这种情况下适用的,只适用于终端可以给第一网络和第二网络都分配资源的使用情况下。It should be noted that, when the second SIM card is in a call, the terminal cannot allocate resources to the first network. Therefore, the method for resource allocation in the embodiment of the present invention is not applicable in this case, and is applicable only to the terminal. The use case where resources are allocated to both the first network and the second network.
作为一种实施方式,预设分配时长根据地理位置或服务基站的设置而定。对于不同的终端使用情况或地理位置等原因,第一SIM卡对应的分配资源的时间间隔预设分配时长是可以不同的。As an implementation manner, the preset allocation duration depends on the geographic location or the setting of the serving base station. The time interval of the allocated resources corresponding to the first SIM card may be different for different reasons such as different terminal usage or geographic location.
可以理解的是,当第一SIM卡的总寻呼时长越长,说明终端分配给该第一网络的资源的占用时间与第二SIM卡所属的第二网络的资源的占用时间的比值可以更小,即分配给第一网络的资源的时间可以更少,这是因为当第一SIM卡的总寻呼时长较长时,终端可以在每次总寻呼时长到达前进行分配一次资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了。It can be understood that when the total paging duration of the first SIM card is longer, the ratio of the occupation time of the resources allocated by the terminal to the first network to the occupation time of the resources of the second network to which the second SIM card belongs may be more Small, that is, the time allocated to the resources of the first network may be less, because when the total paging duration of the first SIM card is long, the terminal may allocate resources to the first time before the total paging time arrives. a network, so that the first network is used to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate resources to the first network at a maximum interval, so that the terminal saves The resource between the preset allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card.
示例性的,如图4所示,假设第一SIM卡采用GSM,第二SIM卡采用的是WCDMA,当用户使用手机在第二SIM卡上进行视频下载(下载时间需要1分钟)时,第一SIM卡对应的预设分配时长为5S,手机获取的第一SIM卡对应的寻呼周期为2S,寻呼次数为5次,则第一SIM卡对应的总寻呼时长为10S,由于10S大于5S,因此,终端可以按照8S的时间间隔为GSM进行资源分配,以使得手机在上述1分钟内每隔8S对第一SIM卡进行一次监听。这样,在上述1分钟内的其余时间的资源可以分配给WCDMA使用。Exemplarily, as shown in FIG. 4, it is assumed that the first SIM card uses GSM, and the second SIM card uses WCDMA. When the user uses the mobile phone to perform video download on the second SIM card (the download time takes 1 minute), the first The preset paging duration of a SIM card is 5S, the paging period corresponding to the first SIM card acquired by the mobile phone is 2S, and the paging number is 5 times, and the total paging duration corresponding to the first SIM card is 10S, due to 10S. It is greater than 5S. Therefore, the terminal can allocate resources for GSM according to the time interval of 8S, so that the mobile phone listens to the first SIM card every 8S in the above 1 minute. Thus, resources for the rest of the above 1 minute can be allocated for use by WCDMA.
S204、将第一时长与预设分配时长之间的资源分配给第二网络,以便于进行第二SIM卡的通信业务,该第二网络为第二SIM卡所属的网络。S204. Allocate resources between the first duration and the preset allocation duration to the second network, so as to perform communication service of the second SIM card, where the second network is a network to which the second SIM card belongs.
终端按照间隔第一时长进行第一网络的资源分配之后,由于终端之前 是按照间隔预设分配时长给第一网络分配资源的,因此,本发明实施例中,终端为分配给第一网络的资源(第一时长与总寻呼时长之间的资源)空闲出来了,这时,终端可以将空闲出来的资源分配给第二网络,进行第二SIM卡相关的通信业务,从而提高了第二SIM卡的吞吐量。After the terminal performs resource allocation of the first network according to the first time interval, In the embodiment of the present invention, the terminal allocates resources to the first network (the resources between the first duration and the total paging duration) is idle. At this time, the terminal may allocate the idle resources to the second network to perform the communication service related to the second SIM card, thereby improving the throughput of the second SIM card.
S205、在间隔第一时长的资源上监听是否接收到第一网络的第一寻呼消息。S205. Monitor, on the resource that is separated by the first duration, whether the first paging message of the first network is received.
终端按照间隔第一时长进行第一网络的资源分配之后,该终端就可以在间隔第一时长分配的资源上监听是否接收到对第一网络的第一SIM卡的第一寻呼消息,即是否有其他终端对第一SIM卡进行通话呼叫。After the terminal allocates the resources of the first network according to the first time interval, the terminal can monitor whether the first paging message of the first SIM card of the first network is received, that is, whether the resource allocated by the first time interval is received. There are other terminals making a call to the first SIM card.
需要说明的是,当用户使用终端在第二SIM卡上进行非通话类的通信业务时,该终端也需要一些资源来对第一SIM卡进行来电等通信业务的监听,因此,在终端间隔第一时长分配的资源上终端进行上述监听过程。It should be noted that when the user uses the terminal to perform non-call type communication service on the second SIM card, the terminal also needs some resources to perform monitoring of communication services such as incoming calls to the first SIM card, and therefore, the terminal interval is The terminal performs the above monitoring process on the resource allocated for a long time.
S206、当监听到接收到第一寻呼消息时,对该第一寻呼消息进行解调通信。S206. Perform demodulation communication on the first paging message when the first paging message is received.
终端在间隔第一时长的资源上监听是否接收到第一网络的第一寻呼消息之后,该终端若监听到自己接收到针对第一SIM卡的第一寻呼消息时,该终端就可以对该第一寻呼消息解调,并响应该第一寻呼消息(比如响铃提示有来电等响应),以便于其他终端与第一SIM卡进行通信。After the terminal monitors whether the first paging message of the first network is received on the resource that is separated by the first time interval, if the terminal monitors that it receives the first paging message for the first SIM card, the terminal may The first paging message is demodulated and responds to the first paging message (such as ringing to indicate a response such as an incoming call) to facilitate communication between the other terminals and the first SIM card.
S207、当未监听到接收到第一寻呼消息时,结束此次监听。S207. When the first paging message is not received, the interception is ended.
终端在间隔第一时长的资源上监听是否接收到第一网络的第一寻呼消息之后,当上述终端为监听到接收到第一寻呼消息时,表征没有其他终端与第二SIM卡进行通信,因此,终端结束此次的监听,等待下次监听。After the terminal listens to receive the first paging message of the first network on the resource that is separated by the first time interval, when the terminal listens to receive the first paging message, it indicates that no other terminal communicates with the second SIM card. Therefore, the terminal ends this monitoring and waits for the next monitoring.
需要说明的是,步骤S205之后,步骤S206和步骤S207为可选的步骤,本发明实施例中可以执行步骤S205-步骤S206,也可以执行步骤S205-步骤S207,具体的可以根据实际情况来决定,本发明实施例不作限制。 It should be noted that, after step S205, step S206 and step S207 are optional steps. In the embodiment of the present invention, step S205 to step S206 may be performed, and step S205 to step S207 may be performed, which may be determined according to actual conditions. The embodiment of the invention is not limited.
需要说明的是,本发明实施例中,在步骤S203之后,步骤S204和步骤S205-步骤S207为并列的步骤,本发明实施例不限制步骤S203之后,步骤S204和步骤S205-步骤S207的执行顺序,即在步骤S204之后,可以按照实际情况,先执行步骤S204,再执行步骤S205-步骤S207,也可以先执行步骤S205-步骤S207,再执行步骤S204,本发明实施例不作限制。It should be noted that, in the embodiment of the present invention, after step S203, step S204 and step S205-step S207 are parallel steps, and the embodiment of the present invention does not limit the execution sequence of step S204 and step S205-step S207. After the step S204, the step S204 may be performed first, and then the step S205 to the step S207 may be performed according to the actual situation. The step S205 to the step S207 may be performed first, and then the step S204 is performed, which is not limited in the embodiment of the present invention.
本发明实施例提供所提供的一种资源分配方法,通过获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数;根据寻呼周期和寻呼次数,计算出总寻呼时长;当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以便于在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。采用上述技术实现方案,由于当第一SIM卡的总寻呼时长较长时(例如大于预设分配时长时),终端可以在每次总寻呼时长到达前进行分配一次资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配一点资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了,从而实现了既保证了双卡正常通信,又提高主卡的吞吐量。An embodiment of the present invention provides a resource allocation method, which is configured to obtain a paging parameter of a first network to which a first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number; and according to a paging cycle and paging The total number of paging times is calculated. When the total paging duration is greater than the preset allocation duration, the resource allocation of the first network is performed according to the first duration of the interval, so that the first SIM card is performed on the resources separated by the first duration. For the communication, the first duration is less than or equal to the total paging duration and greater than the preset allocation duration. According to the foregoing technical implementation, when the total paging duration of the first SIM card is long (for example, greater than the preset allocation duration), the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate a resource to the first network at most the first time interval, so the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
本发明实施例还提供一种资源分配方法,如图6所示,该方法具体包括:The embodiment of the invention further provides a resource allocation method, as shown in FIG. 6 , the method specifically includes:
S301、获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数。S301. Acquire a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number.
S302、根据寻呼周期和寻呼次数,计算出总寻呼时长。S302. Calculate a total paging duration according to a paging cycle and a paging number.
需要说明的是,步骤S301-步骤S302的相关描述说明与前面的实施例中的步骤S101-步骤S102的相关描述说明相同,此处不再赘述。It should be noted that the descriptions of the related descriptions of the steps S301 to S302 are the same as the descriptions of the related descriptions of the steps S101 to S102 in the previous embodiment, and details are not described herein again.
S303、当总寻呼时长小于预设分配时长时,按照间隔第二时长进行第 一网络的资源分配,以便于在间隔该第二时长的资源上进行第一SIM卡的通信,该第二时长小于等于总寻呼时长。S303. When the total paging duration is less than the preset allocation duration, the second duration is performed according to the interval. Resource allocation of a network, so as to perform communication of the first SIM card on the resource separated by the second duration, the second duration is less than or equal to the total paging duration.
需要说明的是,基于前述实施例相同的应用场景,在本发明实施例中,由于针对一个SIM对应一个预设分配时长。每个SIM卡的总寻呼时长是用来对该SIM卡进行一次通信的时间,只要在总寻呼时长内终端监听了一次,就能保证该SIM卡的来电不会漏掉。It should be noted that, based on the same application scenario of the foregoing embodiment, in the embodiment of the present invention, a preset allocation duration is corresponding to one SIM. The total paging duration of each SIM card is used to communicate with the SIM card once. As long as the terminal listens once during the total paging time, it can be guaranteed that the incoming call of the SIM card will not be missed.
示例性的,假设第一SIM卡采用GSM,第二SIM卡采用的是WCDMA,当用户使用手机在第二SIM卡上进行视频下载(下载时间需要1分钟)时,第一SIM卡对应的预设分配时长为15S,手机获取的第一SIM卡对应的寻呼周期为2S,寻呼次数为5次,则第一SIM卡对应的总寻呼时长为10S,由于10S小于15S,因此,终端可以按照8S的时间间隔为GSM进行资源分配,以使得手机在上述1分钟内每隔8S对第一SIM卡进行一次监听,避免漏掉来电。Exemplarily, the first SIM card adopts GSM, and the second SIM card uses WCDMA. When the user uses the mobile phone to perform video download on the second SIM card (the download time takes 1 minute), the first SIM card corresponds to the pre- The allocation duration is 15S, the paging period corresponding to the first SIM card acquired by the mobile phone is 2S, and the paging number is 5 times, then the total paging duration corresponding to the first SIM card is 10S, because 10S is less than 15S, therefore, the terminal The resource allocation can be performed for GSM according to the time interval of 8S, so that the mobile phone listens to the first SIM card every 8S in the above 1 minute to avoid missing the incoming call.
可以理解的是,当第一SIM卡的总寻呼时长小于预设分配时长时,若是终端还是按照预设分配时长的间隔进行资源分配给第一SIM卡对应的第一网路的话,由于第一SIM卡对应的总寻呼时长比预设分配时长短,因此,终端就有可能漏掉在预设分配时长之前进行的一次通信的寻呼,于是,本发明实施例中,当终端判断出第一SIM卡对应的总寻呼时长小于预设分配时长时,该终端就可以按照间隔第二时长进行第一网络的资源分配,以便于在间隔该第二时长的资源上进行第一SIM卡的通信,该第二时长小于等于总寻呼时长。这样,就能保证其他终端对第一SIM卡的寻呼不会被漏掉,从而提高了第一SIM卡的接通率。It can be understood that, when the total paging duration of the first SIM card is less than the preset allocation duration, if the terminal allocates resources to the first network corresponding to the first SIM card according to the interval of the preset allocation duration, The total paging duration corresponding to a SIM card is shorter than the preset allocation duration. Therefore, the terminal may miss the paging of one communication performed before the preset allocation duration. Therefore, in the embodiment of the present invention, when the terminal determines When the total paging duration corresponding to the first SIM card is less than the preset allocation duration, the terminal may perform resource allocation of the first network according to the second duration of the interval, so as to perform the first SIM card on the resource separated by the second duration. Communication, the second duration is less than or equal to the total paging duration. In this way, it can be ensured that the paging of the first SIM card by other terminals will not be missed, thereby improving the connection rate of the first SIM card.
进一步地,本发明实施例可以延伸到第一SIM卡有多个的情况,第二SIM卡有一个。或者,不限制第一SIM卡和第二SIM卡的情况。Further, the embodiment of the present invention may extend to a case where there are multiple first SIM cards, and one of the second SIM cards. Alternatively, the case of the first SIM card and the second SIM card is not limited.
实施例三 Embodiment 3
如图7所示,本发明实施例还提供了一种终端1,该终端1可以包括:As shown in FIG. 7, the embodiment of the present invention further provides a terminal 1, which may include:
获取单元10,配置为获取第一SIM卡所属第一网络的寻呼参数,所述寻呼参数包括:寻呼周期和寻呼次数。The obtaining unit 10 is configured to obtain a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number.
计算单元11,配置为根据所述获取单元10获取的所述寻呼周期和所述寻呼次数,计算出总寻呼时长。The calculating unit 11 is configured to calculate a total paging duration according to the paging cycle and the paging number acquired by the acquiring unit 10.
分配单元12,配置为当所述计算单元11计算的所述总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔所述第一时长的资源上进行所述第一SIM卡的通信,所述第一时长小于等于所述计算单元11计算的所述总寻呼时长,且大于所述预设分配时长。The allocating unit 12 is configured to: when the total paging duration calculated by the computing unit 11 is greater than a preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to allocate resources at the first duration The communication of the first SIM card is performed, where the first duration is less than or equal to the total paging duration calculated by the computing unit 11 and greater than the preset allocation duration.
作为一种实施方式,所述分配单元12,还配置为所述按照间隔第一时长进行第一网络的资源分配之后,将所述第一时长与所述预设分配时长之间的资源分配给第二网络,以使所述第二SIM卡进行通信业务,所述第二网络为所述第二SIM卡所属的网络。As an implementation manner, the allocating unit 12 is further configured to: after the resource allocation of the first network is performed according to the first time interval, allocate resources between the first duration and the preset allocation duration to a second network, wherein the second SIM card performs communication service, and the second network is a network to which the second SIM card belongs.
作为一种实施方式,如图8所示,所述终端1还包括:监听单元13和通信单元14;As an embodiment, as shown in FIG. 8, the terminal 1 further includes: a listening unit 13 and a communication unit 14;
所述监听单元13,配置为所述分配单元12按照间隔第一时长进行第一网络的资源分配之后,在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息;The monitoring unit 13 is configured to: after the allocation unit 12 performs resource allocation of the first network according to the first time interval, and monitor whether the first homing of the first network is received on the resource that is separated by the first duration Call message
所述通信单元14,配置为当所述监听单元13监听到所述第一寻呼消息时,对所述第一寻呼消息进行解调通信。The communication unit 14 is configured to perform demodulation communication on the first paging message when the intercepting unit 13 listens to the first paging message.
作为一种实施方式,所述监听单元13,还配置为未监听到所述第一寻呼消息时,结束针对所述第一网络的监听。As an implementation manner, the monitoring unit 13 is further configured to end listening for the first network when the first paging message is not monitored.
作为一种实施方式,所述预设分配时长根据地理位置或服务基站的设置确定。As an implementation manner, the preset allocation duration is determined according to a geographic location or a setting of a serving base station.
在实际应用中,终端中的获取单元10、计算单元11和分配单元12、 可由位于终端1上的处理器实现,具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现;终端中的监听单元13和通信单元14可通过接收器实现,在实际应用中具体可通过通信模组(包含:基础通信套件、操作***、通信模块、标准化接口和协议等)及收发天线实现实现,终端1还包括:存储器,该存储器、接收器可以通过***总线与处理器连接,其中,存储器用于存储可执行程序代码,该程序代码包括计算机操作指令,存储器可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。In an actual application, the obtaining unit 10, the calculating unit 11 and the allocating unit 12 in the terminal, It can be implemented by a processor located on the terminal 1, specifically a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA); the listening unit in the terminal The communication unit 14 can be implemented by a receiver, and can be implemented in a practical application by a communication module (including: a basic communication suite, an operating system, a communication module, a standardized interface, and a protocol) and a transceiver antenna. The terminal 1 further includes Memory, the memory, the receiver can be connected to the processor through a system bus, wherein the memory is used to store executable program code, the program code includes computer operating instructions, the memory may include high speed RAM memory, and may also include nonvolatile A memory, for example, at least one disk storage.
实际应用中,本发明实施例中的终端可以为:具有双卡双待功能的智能手机、平板电脑等电子设备。In an actual application, the terminal in the embodiment of the present invention may be: an electronic device such as a smart phone or a tablet computer having a dual card dual standby function.
本发明实施例所提供的一种终端,通过获取第一SIM卡所属第一网络的寻呼参数,该寻呼参数包括:寻呼周期和寻呼次数;根据寻呼周期和寻呼次数,计算出总寻呼时长;当总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以便于在间隔该第一时长的资源上进行第一SIM卡的通信,该第一时长小于等于总寻呼时长,且大于预设分配时长。采用上述技术实现方案,由于当第一SIM卡的总寻呼时长比较长的时候(大于预设分配时长时),终端可以在每次总寻呼时长到达前进行分配一次资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源分配上,终端可以至多间隔第一时长分配一点资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了,从而实现了既保证了双卡正常通信,又提高主卡的吞吐量。The terminal provided by the embodiment of the present invention obtains the paging parameter of the first network to which the first SIM card belongs, and the paging parameter includes: a paging cycle and a paging number; and calculates according to the paging cycle and the paging number. When the total paging duration is greater than the preset allocation duration, the resource allocation of the first network is performed according to the first duration of the interval, so that the communication of the first SIM card is performed on the resources separated by the first duration. The first duration is less than or equal to the total paging duration and greater than the preset allocation duration. According to the foregoing technical implementation, when the total paging duration of the first SIM card is relatively long (greater than the preset allocation duration), the terminal may allocate resources to the first network before each total paging duration arrives. Therefore, the first network is configured to monitor whether a paging message is received, so that, in a certain time resource allocation, the terminal can allocate a resource to the first network at most the first time interval, so the terminal saves the pre- By setting the resource between the allocation duration and the first duration, the saved resources can be used in the communication of the second SIM card, thereby realizing the normal communication of the dual card and improving the throughput of the primary card.
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention may be employed in one or more of its A computer program product embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例当第一SIM卡的总寻呼时长较长时(例如大于预设分配时长时),终端可以在每次总寻呼时长到达前分配资源给第一网络,以使得该第一网络用来监听是否接收到寻呼消息即可,这样,在一定时间的资源 分配上,终端可以至多间隔第一时长分配资源给第一网络,因此,终端就节省了预设分配时长与第一时长之间的资源,节省下的资源就可以用在第二SIM卡的通信上了,从而实现了既保证了双卡正常通信,又提高主卡的吞吐量。 In the embodiment of the present invention, when the total paging duration of the first SIM card is long (for example, greater than the preset allocation duration), the terminal may allocate resources to the first network before each total paging duration arrives, so that the first The network is used to monitor whether a paging message is received, so that resources are available for a certain period of time. In the allocation, the terminal can allocate resources to the first network at a maximum interval of the first time. Therefore, the terminal saves resources between the preset allocation duration and the first duration, and the saved resources can be used for communication on the second SIM card. Up, thereby achieving both the normal communication of the dual card and the throughput of the main card.

Claims (20)

  1. 一种资源分配方法,包括:A resource allocation method, including:
    获取第一用户识别模块SIM卡所属第一网络的寻呼参数,所述寻呼参数包括:寻呼周期和寻呼次数;Obtaining a paging parameter of the first network to which the first subscriber identity module SIM card belongs, where the paging parameter includes: a paging cycle and a paging number;
    根据所述寻呼周期和所述寻呼次数,计算出总寻呼时长;Calculating a total paging duration according to the paging cycle and the paging number;
    当所述总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔所述第一时长的资源上进行所述第一SIM卡的通信,所述第一时长小于等于所述总寻呼时长,且大于所述预设分配时长。When the total paging duration is greater than the preset allocation duration, the resource allocation of the first network is performed according to the first duration of the interval, to perform communication of the first SIM card on the resource separated by the first duration, The first duration is less than or equal to the total paging duration and greater than the preset allocation duration.
  2. 根据权利要求1所述的方法,其中,所述按照间隔所述第一时长进行第一网络的资源分配之后,所述方法还包括:The method of claim 1, wherein the method further comprises: after performing the resource allocation of the first network by the first time interval, the method further comprising:
    将所述第一时长与预设分配时长之间的资源分配给第二网络,以使第二SIM卡进行通信业务,所述第二网络为所述第二SIM卡所属的网络。Allocating resources between the first duration and the preset allocation duration to the second network, so that the second SIM card performs communication service, and the second network is a network to which the second SIM card belongs.
  3. 根据权利要求1所述的方法,其中,所述按照间隔所述第一时长进行第一网络的资源分配之后,所述方法还包括:The method of claim 1, wherein the method further comprises: after performing the resource allocation of the first network by the first time interval, the method further comprising:
    在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息;Monitoring whether the first paging message of the first network is received on a resource that is separated by the first duration;
    当监听到接收到所述第一寻呼消息时,对所述第一寻呼消息进行解调通信。Demodulating communication of the first paging message when it is detected that the first paging message is received.
  4. 根据权利要求3所述的方法,其中,所述在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息之后,所述方法还包括:The method of claim 3, wherein the method further comprises: after listening to the first paging duration of the first paging message, whether the first paging message of the first network is received, the method further comprises:
    当未监听到接收到所述第一寻呼消息时,结束针对所述第一网络的监听。When the first paging message is not received, the interception for the first network is ended.
  5. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述预设分配时长根据地理位置或服务基站的设置确定。The preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  6. 根据权利要求1所述的方法,其中,所述获取第一SIM卡所属第一 网络的寻呼参数,包括:The method of claim 1, wherein the obtaining the first SIM card belongs to the first The paging parameters of the network, including:
    通过所述第一SIM卡所属第一网络的服务基站获得所述第一SIM卡的寻呼参数。Obtaining paging parameters of the first SIM card by using a serving base station of the first network to which the first SIM card belongs.
  7. 根据权利要求1所述的方法,其中,所述获取第一SIM卡所属第一网络的寻呼参数,包括:The method of claim 1, wherein the obtaining the paging parameter of the first network to which the first SIM card belongs includes:
    当通过所述第一SIM卡与其他终端进行通信时,接收到所述其他终端的寻呼消息,基于所述寻呼消息确定所述第一SIM卡的寻呼参数。When communicating with other terminals through the first SIM card, receiving a paging message of the other terminal, determining a paging parameter of the first SIM card based on the paging message.
  8. 根据权利要求1所述的方法,其中,所述第一SIM卡为副卡。The method of claim 1 wherein said first SIM card is a secondary card.
  9. 根据权利要求2所述的方法,其中,所述第二SIM卡为主卡。The method of claim 2 wherein said second SIM card is a master card.
  10. 根据权利要求1所述的方法,其中,当所述总寻呼时长小于所述预设分配时长时,所述方法还包括:按照间隔第二时长进行所述第一网络的资源分配,以在间隔所述第二时长的资源上进行所述第一SIM卡的通信,所述第二时长小于等于所述总寻呼时长。The method according to claim 1, wherein when the total paging duration is less than the preset allocation duration, the method further comprises: performing resource allocation of the first network according to a second duration interval to The communication of the first SIM card is performed on the resource of the second duration, and the second duration is less than or equal to the total paging duration.
  11. 一种终端,包括:A terminal comprising:
    获取单元,配置为获取第一SIM卡所属第一网络的寻呼参数,所述寻呼参数包括:寻呼周期和寻呼次数;An acquiring unit, configured to acquire a paging parameter of the first network to which the first SIM card belongs, where the paging parameter includes: a paging cycle and a paging number;
    计算单元,配置为根据所述获取单元获取的所述寻呼周期和所述寻呼次数,计算出总寻呼时长;a calculating unit, configured to calculate a total paging duration according to the paging period and the paging times acquired by the acquiring unit;
    分配单元,配置为当所述计算单元计算的所述总寻呼时长大于预设分配时长时,按照间隔第一时长进行第一网络的资源分配,以在间隔所述第一时长的资源上进行所述第一SIM卡的通信,所述第一时长小于等于所述计算单元计算的所述总寻呼时长,且大于所述预设分配时长。And an allocation unit, configured to: when the total paging duration calculated by the computing unit is greater than a preset allocation duration, perform resource allocation of the first network according to the first duration of the interval, to perform on the resource that is separated by the first duration In the communication of the first SIM card, the first duration is less than or equal to the total paging duration calculated by the computing unit, and is greater than the preset allocation duration.
  12. 根据权利要求11所述的终端,其中,The terminal according to claim 11, wherein
    所述分配单元,还配置为按照间隔第一时长进行第一网络的资源分配之后,将所述第一时长与所述预设分配时长之间的资源分配给第二网络, 以使所述第二SIM卡进行通信业务,所述第二网络为所述第二SIM卡所属的网络。The allocating unit is further configured to allocate resources between the first duration and the preset allocation duration to the second network after the resource allocation of the first network is performed according to the first time interval. In order to enable the second SIM card to perform communication services, the second network is a network to which the second SIM card belongs.
  13. 根据权利要求11所述的终端,其中,所述终端还包括:监听单元和通信单元;The terminal according to claim 11, wherein the terminal further comprises: a listening unit and a communication unit;
    监听单元,配置为所述分配单元按照间隔第一时长进行第一网络的资源分配之后,在间隔所述第一时长的资源上监听是否接收到所述第一网络的第一寻呼消息;a monitoring unit, configured to: after the allocating unit allocates resources of the first network according to the first time interval, and monitor whether the first paging message of the first network is received on the resource that is separated by the first duration;
    通信单元,配置为当所述监听单元监听到所述第一寻呼消息时,对所述第一寻呼消息进行解调通信。The communication unit is configured to perform demodulation communication on the first paging message when the intercepting unit listens to the first paging message.
  14. 根据权利要求13所述的终端,其中,所述监听单元,还配置为未监听到所述第一寻呼消息时,结束针对所述第一网络的监听。The terminal according to claim 13, wherein the listening unit is further configured to end monitoring for the first network when the first paging message is not monitored.
  15. 根据权利要求11所述的终端,其中,The terminal according to claim 11, wherein
    所述预设分配时长根据地理位置或服务基站的设置确定。The preset allocation duration is determined according to a geographic location or a setting of a serving base station.
  16. 根据权利要求12所述的终端,其中,所述第一SIM卡为副卡;所述第二SIM卡为主卡。The terminal of claim 12, wherein the first SIM card is a secondary card; the second SIM card is a primary card.
  17. 根据权利要求11所述的终端,其中,所述分配单元,还配置为当所述计算单元计算的所述总寻呼时长小于所述预设分配时长时,按照间隔第二时长进行所述第一网络的资源分配,以在间隔所述第二时长的资源上进行所述第一SIM卡的通信,所述第二时长小于等于所述总寻呼时长。The terminal according to claim 11, wherein the allocating unit is further configured to perform, according to the second duration, when the total paging duration calculated by the computing unit is less than the preset allocation duration Resource allocation of a network to perform communication of the first SIM card on a resource that is separated by the second duration, where the second duration is less than or equal to the total paging duration.
  18. 根据权利要求11所述的终端,其中,所述获取单元,配置为通过所述第一SIM卡所属第一网络的服务基站获得所述第一SIM卡的寻呼参数。The terminal according to claim 11, wherein the obtaining unit is configured to obtain a paging parameter of the first SIM card by using a serving base station of the first network to which the first SIM card belongs.
  19. 根据权利要求11所述的终端,其中,所述获取单元,配置为当通过所述第一SIM卡与其他终端进行通信时,接收到所述其他终端的寻呼消息,基于所述寻呼消息确定所述第一SIM卡的寻呼参数。 The terminal according to claim 11, wherein the obtaining unit is configured to receive a paging message of the other terminal when communicating with other terminals by using the first SIM card, based on the paging message Determining paging parameters of the first SIM card.
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令配置为执行权利要求1至10任一项所述的资源分配方法。 A computer storage medium having stored therein computer executable instructions, the computer executable instructions being configured to perform the resource allocation method of any one of claims 1 to 10.
PCT/CN2016/111562 2016-02-14 2016-12-22 Resource allocation method, terminal, and compute storage medium WO2017136989A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610084818.5 2016-02-14
CN201610084818.5A CN105657844B (en) 2016-02-14 2016-02-14 A kind of resource allocation methods and terminal

Publications (1)

Publication Number Publication Date
WO2017136989A1 true WO2017136989A1 (en) 2017-08-17

Family

ID=56488325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111562 WO2017136989A1 (en) 2016-02-14 2016-12-22 Resource allocation method, terminal, and compute storage medium

Country Status (2)

Country Link
CN (1) CN105657844B (en)
WO (1) WO2017136989A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683401A (en) * 2020-06-09 2020-09-18 广东小天才科技有限公司 Method and device for adjusting paging cycle and terminal equipment
CN113163487A (en) * 2020-01-07 2021-07-23 维沃移动通信有限公司 Resource scheduling method, communication device, network device, and storage medium
CN114466226A (en) * 2022-01-28 2022-05-10 杭州灵伴科技有限公司 Method, device, equipment and computer readable medium for determining bandwidth duration ratio

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657844B (en) * 2016-02-14 2019-03-08 努比亚技术有限公司 A kind of resource allocation methods and terminal
CN106658607B (en) * 2016-11-30 2020-11-17 努比亚技术有限公司 Resource allocation device and method
CN107509240B (en) * 2017-08-31 2019-01-25 Oppo广东移动通信有限公司 Subscriber Identity Module control method, mobile terminal and computer readable storage medium
CN108924817A (en) * 2018-06-28 2018-11-30 维沃移动通信有限公司 A kind of SIM card state switching method and mobile terminal
CN110337826B (en) * 2019-05-29 2021-10-01 北京小米移动软件有限公司 Network switching resource determining method and network switching resource configuration method
WO2021025491A1 (en) * 2019-08-08 2021-02-11 Samsung Electronics Co., Ltd. Method for operating ue comprising plurality of sims in wireless communication system
CN111865832B (en) * 2020-07-23 2023-01-17 咪咕文化科技有限公司 Resource allocation method, terminal, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100474A1 (en) * 2011-05-24 2012-08-02 展讯通信(上海)有限公司 Multi-mode multi-card multi-standby communication terminal and method and device for arbitrating reception collision in multi-mode multi-card multi-standby communication terminal
EP2587869A2 (en) * 2011-10-28 2013-05-01 Samsung Electronics Co., Ltd Method and apparatus for reducing standby power
CN103596269A (en) * 2012-08-15 2014-02-19 重庆重邮信科通信技术有限公司 Method and device for receiving paging messages by multimode dual-standby terminal
US20150057046A1 (en) * 2012-05-11 2015-02-26 Qualcomm Incorporated System and Methods for improving Page Decode Performance During Reading of System Information on a Multi-SIM Wireless Communication Device
CN104396324A (en) * 2012-06-29 2015-03-04 高通股份有限公司 System and method for controlling paging delay
CN104754643A (en) * 2013-12-27 2015-07-01 展讯通信(上海)有限公司 Method and device for controlling service execution of communication terminal
CN105657844A (en) * 2016-02-14 2016-06-08 努比亚技术有限公司 Resource distribution method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8958847B2 (en) * 2012-05-11 2015-02-17 Qualcomm Incorporated Methods and apparatuses for optimization of multiple subscription device performance
CN105072642B (en) * 2015-07-31 2019-03-15 努比亚技术有限公司 A kind of signal measurement method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100474A1 (en) * 2011-05-24 2012-08-02 展讯通信(上海)有限公司 Multi-mode multi-card multi-standby communication terminal and method and device for arbitrating reception collision in multi-mode multi-card multi-standby communication terminal
EP2587869A2 (en) * 2011-10-28 2013-05-01 Samsung Electronics Co., Ltd Method and apparatus for reducing standby power
US20150057046A1 (en) * 2012-05-11 2015-02-26 Qualcomm Incorporated System and Methods for improving Page Decode Performance During Reading of System Information on a Multi-SIM Wireless Communication Device
CN104396324A (en) * 2012-06-29 2015-03-04 高通股份有限公司 System and method for controlling paging delay
CN103596269A (en) * 2012-08-15 2014-02-19 重庆重邮信科通信技术有限公司 Method and device for receiving paging messages by multimode dual-standby terminal
CN104754643A (en) * 2013-12-27 2015-07-01 展讯通信(上海)有限公司 Method and device for controlling service execution of communication terminal
CN105657844A (en) * 2016-02-14 2016-06-08 努比亚技术有限公司 Resource distribution method and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163487A (en) * 2020-01-07 2021-07-23 维沃移动通信有限公司 Resource scheduling method, communication device, network device, and storage medium
CN113163487B (en) * 2020-01-07 2022-12-27 维沃移动通信有限公司 Resource scheduling method, communication device, network device, and storage medium
CN111683401A (en) * 2020-06-09 2020-09-18 广东小天才科技有限公司 Method and device for adjusting paging cycle and terminal equipment
CN111683401B (en) * 2020-06-09 2023-06-23 广东小天才科技有限公司 Method and device for adjusting paging cycle and terminal equipment
CN114466226A (en) * 2022-01-28 2022-05-10 杭州灵伴科技有限公司 Method, device, equipment and computer readable medium for determining bandwidth duration ratio
CN114466226B (en) * 2022-01-28 2023-12-08 杭州灵伴科技有限公司 Bandwidth duration duty cycle determination method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN105657844B (en) 2019-03-08
CN105657844A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017136989A1 (en) Resource allocation method, terminal, and compute storage medium
WO2017128650A1 (en) Terminal and communication method
WO2017071310A1 (en) Video call system, device, and method
WO2017071500A1 (en) Antenna and mobile terminal
WO2017107637A1 (en) Mobile phone radio frequency resource allocation method and device
WO2017071481A1 (en) Mobile terminal and split-screen implementation method
WO2016169480A1 (en) Mobile terminal control method and device and computer storage medium
WO2017118263A1 (en) Terminal, network switching method for terminal, and computer storage medium
WO2016058458A1 (en) Method for managing electric quantity of battery, mobile terminal and computer storage medium
CN107066320B (en) Android process freezing and unfreezing device and method
US10206075B2 (en) Method, apparatus, and system for processing incoming calls
CN106413128B (en) Projection method and mobile terminal
WO2016034152A1 (en) Interface display method, communication terminal and computer storage medium
WO2017054678A1 (en) Antenna and mobile terminal
WO2016188495A1 (en) Voice switching method, terminal, server, system, and storage medium
WO2017143854A1 (en) Mobile terminal, volume control method therefor, and computer-readable storage medium
CN105098895A (en) Charging control device and method
CN105682150A (en) Multilink intelligent shunting method and mobile terminal
CN104967573A (en) Data traffic monitoring method and terminal
CN105764085A (en) Abnormal electricity consumption detection method and terminal
WO2017113893A1 (en) Method and device for network searching
WO2016155425A1 (en) Data sending operation cancelling method, device, and computer storage medium
CN105578620A (en) Network access device and method
WO2017071471A1 (en) Mobile terminal and shooting control method therefor
WO2016155490A1 (en) Method and apparatus for recognizing long-press operation of touch operation area

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: 16889716

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16889716

Country of ref document: EP

Kind code of ref document: A1