TW201444330A - Multi-mode multi-card mobile terminal, service conflict resolving method and apparatus thereof - Google Patents

Multi-mode multi-card mobile terminal, service conflict resolving method and apparatus thereof Download PDF

Info

Publication number
TW201444330A
TW201444330A TW103103302A TW103103302A TW201444330A TW 201444330 A TW201444330 A TW 201444330A TW 103103302 A TW103103302 A TW 103103302A TW 103103302 A TW103103302 A TW 103103302A TW 201444330 A TW201444330 A TW 201444330A
Authority
TW
Taiwan
Prior art keywords
event
card
service
events
services
Prior art date
Application number
TW103103302A
Other languages
Chinese (zh)
Inventor
Jing Ding
hai-tao Feng
jian-ping Ma
Original Assignee
Marvell World Trade Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Marvell World Trade Ltd filed Critical Marvell World Trade Ltd
Publication of TW201444330A publication Critical patent/TW201444330A/en

Links

Abstract

The present invention provides a service conflict resolving method and apparatus for multi-mode multi-card mobile terminals, characterized by disposing a service conflict detection/arbitration module in at least one layer of the non-access layer, access layer and physical layer of each card, for determining any possible conflicting services and/or events; setting the priority of services and/or events; and according to the priority and the predetermined rules to cache or execute the possible conflicting services and/or events so as to ensure the multi-mode multi-card mobile terminals to access a shared resource without conflicts.

Description

多模多卡移動終端以及其業務衝突解決方法和裝置 Multi-mode multi-card mobile terminal and method and device for solving the same

本發明係與無線通信系統有關,特別是關於一種多模多卡移動終端以及其業務衝突的解決方法和裝置。 The present invention relates to a wireless communication system, and more particularly to a multimode multi-card mobile terminal and a solution and apparatus for conflicting the same.

當今社會已進入了資訊化時代,人們對資訊傳遞及交流之需求與日俱增,因而推動了無線通信系統之快速發展。從第一代類比蜂窩移動通信系統到第二代全球移動通信系統(Global System for Mobile communication,GSM)均提供了人們所需的具有良好網路覆蓋條件下的語音服務和低速率資料服務。第三代通用移動通信系統(Universal Mobile Telecommunications System,UMTS)則進一步提供了更多類型、高品質的寬頻多媒體業務,其典型的技術包括寬頻碼分多址存取(Wideband Code Division Multiple Access,WCDMA)、時分同步碼分多址存取(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA)等。 Today's society has entered the information age, and the demand for information transmission and communication is increasing day by day, thus promoting the rapid development of wireless communication systems. From the first generation of analog cellular mobile communication systems to the second generation of Global System for Mobile communication (GSM), voice services and low-rate data services with good network coverage are provided. The third-generation Universal Mobile Telecommunications System (UMTS) further provides more types and high-quality broadband multimedia services. Typical technologies include Wideband Code Division Multiple Access (WCDMA). ), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), and the like.

由於全球各個國家的移動通信發展仍然很不均衡,各個國家的不同電信營運商的網路覆蓋程度差異很大,使得有些地區並未有UMTS網路覆蓋。此外,即使同一營運商也會出於成本、覆蓋率、網路容量等因素的考慮而選擇GSM/UMTS共存,因此,GSM/UMTS雙模手機的出現幫助用戶在GSM和UMTS網路之間自由切換,進一步實現了全球無縫覆蓋及全球漫遊的能力。 然而,上述雙模手機仍然無法滿足一些特定用戶的需求,例如時常奔波於兩地的用戶,希望能節省昂貴的漫遊和長途費用;工作和生活纏身的用戶希望能有兩個不同的電話號碼;在同一地區競爭激烈的不同營運商,或同一營運商推出了側重語音、簡訊、上網業務的不同套餐,使得對價格敏感的用戶偏好同時選擇使用多個不同套餐的電話號碼。因此,具備雙卡單待或雙卡雙待功能的手機便應用而生。 Due to the uneven development of mobile communications in various countries around the world, the network coverage of different telecom operators in different countries varies greatly, leaving some regions without UMTS network coverage. In addition, even if the same operator chooses GSM/UMTS coexistence for reasons of cost, coverage, network capacity, etc., the emergence of GSM/UMTS dual-mode handsets helps users to be free between GSM and UMTS networks. Switching further enables global seamless coverage and global roaming capabilities. However, the above-mentioned dual-mode mobile phone still cannot meet the needs of some specific users, such as users who frequently travel to two places, hoping to save expensive roaming and long-distance charges; users who work and live in life want to have two different phone numbers; Different operators that compete fiercely in the same region, or the same operator, have launched different packages focusing on voice, SMS, and Internet services, making price-sensitive user preferences use multiple phone numbers for different packages at the same time. Therefore, a mobile phone with dual card single standby or dual card dual standby function is used.

目前,有些雙卡手機的解決方案都基於單晶片架構,即採用 一套天線、射頻晶片、基帶處理晶片和外設等。這種解決方案的直接優點是大幅降低了手機成本,有利於智慧手機的推廣;另外,亦同時具有縮小手機體積、便於用戶攜帶,採用單天線降低輻射、更利於人體健康,提升用戶使用滿意度等優點。 At present, some dual-card mobile phone solutions are based on a single-chip architecture, that is, A set of antennas, RF chips, baseband processing chips and peripherals. The direct advantage of this solution is that it greatly reduces the cost of mobile phones and facilitates the promotion of smart phones. In addition, it also reduces the size of mobile phones and is convenient for users to carry. It uses a single antenna to reduce radiation, is more conducive to human health, and improves user satisfaction. Etc.

但是,這種架構存在一個急需解決的問題,即,當只存在一 套射頻晶片組/天線時,如何確保兩張卡能夠同時處於待機狀態,可以成功接聽任何一張卡的來電,可以在任何一張卡上發起業務,或如何確保兩張卡不衝突地使用共用資源以確保兩張卡可以獨立待機及執行功能。如果無法解決這個問題,那麼就可能會導致其中一張卡無法正常通話或執行功能,導致用戶使用滿意度不佳。 However, there is an urgent problem to be solved in this architecture, that is, when there is only one When setting up the RF chipset/antenna, how to ensure that the two cards can be in the standby state at the same time, can successfully answer the incoming calls of any card, can initiate services on any one card, or how to ensure that the two cards use the sharing without conflict. Resources to ensure that the two cards can stand and perform functions independently. If this problem cannot be solved, it may result in one of the cards not being able to talk or perform functions properly, resulting in poor user satisfaction.

本發明的目的之一就是解決上述問題。目前現有技術中沒有對上述問題的系統性的解決方案,只能解決針對特定控制資訊和業務的衝突,例如,只解決了系統消息和尋呼消息、以及系統消息和通話業務之間的衝突等。而本發明提出針對多模多卡移動終端的業務衝突的通用 的解決方法和裝置。 One of the objects of the present invention is to solve the above problems. At present, there is no systematic solution to the above problem in the prior art, and only conflicts with specific control information and services can be solved, for example, only system messages and paging messages, and conflicts between system messages and call services are solved. . The present invention proposes a universal service conflict for a multimode multi-card mobile terminal. Solutions and devices.

本發明的第一方面是提出了一種在多模多卡終端中處理業務衝突的方法,包括在所述多模多卡終端中每張卡的非接入層、接入層和物理層中的至少一層中執行以下操作:確定可能出現衝突的業務和/或事件;設定所述業務和/或事件的相應優先順序;以及根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 A first aspect of the present invention is directed to a method for handling a service collision in a multimode multi-card terminal, comprising: in a non-access stratum, an access stratum, and a physical layer of each card in the multi-mode multi-card terminal Performing the following operations in at least one layer: determining services and/or events in which conflicts may occur; setting respective priorities of the services and/or events; and caching or executing the services and/or events according to the prioritization and predetermined rules .

根據本發明的一個實施例,其中所述確定包括在計畫執行新的業務和/或事件時檢測其他卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件。根據進一步的實施例,其中所述檢測包括檢測其他卡的對應層中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 According to an embodiment of the present invention, wherein the determining comprises detecting a service and/or an event that a corresponding layer of another card is executing or is about to perform when the program is executing a new service and/or event, and determining that a possible occurrence occurs based on the detection result Conflicting business and/or events. According to a further embodiment, wherein said detecting comprises detecting shared information in a corresponding layer of other cards to obtain a service and/or event being executed or to be performed.

根據本發明的又一實施例,該方法還包括為以下業務和/或事件預先設定由高到低的優先順序:電路交換語音業務/位置更新/路由區更新/附著/去附著;分組交換資料業務;社區選擇和社區重選;同頻/異頻測量;異系統測量;以及背景公共陸地移動網路(Public Land Mobile Network,PLMN)搜索。 In accordance with yet another embodiment of the present invention, the method further includes presetting high to low priority order for: services of circuit switched voice service/location update/routing area update/attachment/de-attachment; packet switched data Business; community selection and community re-election; co-frequency/inter-frequency measurement; heterogeneous system measurement; and background public land mobile network (PLMN) search.

根據本發明的一個實施例,其中所述預定規則包括以下規則中的至少一個:規則1:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做同等優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件;規則2:如果在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則3:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件並且通過共用資訊指示所述緩存,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則4:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在執行更低優先順序的業務和/或事件,則通知所述另一張卡的對應層中斷並且緩存正在執行的所述更低優先順序的業務和/或事件,並且促使執行所述計畫執行的新的業務和/或事件;規則5:如果一卡有業務和/或事件被緩存,並且從任何另一張卡的對應層收到包括可以執行所緩存的所述業務和/或事件的指示的通知,則執行所緩存的業務和/或事件;規則6:如果業務和/或事件執行完畢,則向另一張卡的對 應層發送通知,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;規則7:如果一卡業務和/或事件執行完畢,則向另一張卡的對應層發送通知並且更新共用資訊,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;所述更新共用資訊包括將執行完畢的事件的資訊從所述共用相信中清除。 According to an embodiment of the present invention, wherein the predetermined rule comprises at least one of the following rules: Rule 1: If a card is in the process of executing a new service and/or event, detecting a corresponding layer of any other card Businesses and/or events that are doing the same priority, causing new services and/or events to be cached for execution of the plan; Rule 2: If any new services and/or events are scheduled to be executed, any other The corresponding layer of a card is doing a higher priority service and/or event, causing the new service and/or event to be cached to be executed, or discarding the plan to execute a new service and/or event. And reverting to the state before the plan performs a new service and/or event; rule 3: if a card is executing a new service and/or event while the program is executing, detecting that the corresponding layer of any other card is doing Higher priority services and/or events, causing new services and/or events to be executed by the program to be cached and indicating the cache by sharing information, or discarding the plan to execute new services and/or events And recover The state before the new business and/or event is executed by the plan; rule 4: if a card is executing a new service and/or event while planning, the corresponding layer of any other card is detected to be performing lower The prioritized service and/or event notifies the corresponding layer of the other card to interrupt and cache the lower priority order of services and/or events being executed, and causes the new execution of the plan to be executed Service and/or event; rule 5: if a card has a service and/or event is cached, and receives a notification from the corresponding layer of any other card that includes an indication that the cached service and/or event can be executed , then execute the cached business and/or event; rule 6: if the business and/or event is executed, then the pair to another card The layer should send a notification that the corresponding layer of the other card can perform the indication of the cached service and/or event; rule 7: if one card service and/or event is executed, then another Corresponding layer of a card sends a notification and updates the shared information, the notification including an indication that the corresponding layer of the other card can perform the cached service and/or event; the update sharing information includes that the execution is completed The information of the event is cleared from the shared belief.

規則8:如果一卡在業務和/或事件執行期間,收到了新的 業務和/或事件,則比較收到的新的業務和/或事件的優先順序與另一張卡對應層緩存的業務和/或事件的優先順序;並且如果收到的新的業務和/或事件的優先順序高於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,繼續執行收到的新的業務和/或事件而不通知所述另一張卡;並且如果收到的新的業務和/或事件的優先順序低於或者等於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,通知所述另一張卡;規則9:如果業務和/或事件執行期間,從另一張卡的對應層收到包括中斷當前所執行的業務和/或事件的指示的通知,則中斷並且緩存當前所執行的業務和/或事件。 Rule 8: If a card is received during business and/or event execution, a new The service and/or event compares the priority of the received new service and/or event with the priority of the service and/or event cached by the other card corresponding layer; and if new services are received and/or The priority of the event is higher than the priority of the service and/or event cached by the corresponding layer of the other card, and the new service and/or event received is not executed after the current service and/or event is executed. Notifying the other card; and if the priority of the received new service and/or event is lower than or equal to the priority of the service and/or event cached by the other card corresponding layer, the current service and / or after the end of the event execution, notify the other card; rule 9: if the service and / or event execution, receive an indication from the corresponding layer of another card that includes interrupting the currently executed business and / or event The notification interrupts and caches the currently executed business and/or events.

在本發明的另一實施例中,該方法還包括在確定可能出現衝突的業務和/或事件之前或過程中設定所述預定規則。 In another embodiment of the invention, the method further comprises setting the predetermined rule before or during the determination of a service and/or event in which a conflict may occur.

根據本發明的一個實施例,該方法中根據所述優先順序和預定規則緩存或者執行所述業務和/或事件包括根據所述優先順序和預定規則執行高優先順序的業務和/或事件,並且在所述高優先順序業務 和/或事件執行開始時和完畢後中的至少一種情況下通知另一張卡,其中在執行開始時通知另一張卡包括通知在對應層與之有業務和/或事件衝突的另一張卡中斷並緩存其正在執行的業務和/或事件,並且其中在執行完畢後通知另一張卡包括通知在對應層具有緩存業務和/或事件的另一張卡開始執行其緩存的業務和/或事件。根據本發明的一個實施例,其中在執行完畢後通知的所述另一張卡為在對應層具有緩存業務和/或事件的所有卡中,所述緩存的業務和/或事件的優先順序最高的卡。 According to an embodiment of the present invention, the buffering or executing the service and/or event according to the priority order and the predetermined rule in the method includes performing high priority services and/or events according to the priority order and the predetermined rule, and The high priority service Notifying another card at least one of the beginning and the end of the event execution, wherein notifying the other card at the beginning of the execution includes notifying another one with the business and/or event conflict with the corresponding layer The card interrupts and caches the service and/or event it is executing, and wherein notifying another card after execution is complete includes notifying another card having a cached service and/or event at the corresponding layer to begin performing its cached service and/or Or event. According to an embodiment of the present invention, wherein the other card notified after the execution is completed is in all cards having cached services and/or events in the corresponding layer, the cached services and/or events have the highest priority Card.

根據本發明的又一實施例,該方法進一步包括在所述高 優先順序的業務和/或事件執行完畢後更新共用資訊以將關於所述高優先順序的業務和/或事件的資訊從所共用的資訊中清除。 According to a further embodiment of the invention, the method further comprises The shared information is updated after the prioritized services and/or events are executed to clear information about the high priority services and/or events from the shared information.

根據本發明的一個實施例,該方法中根據所述優先順序 和預定規則緩存或者執行所述業務和/或事件包括根據所述優先順序和預定規則緩存低優先順序的業務和/或事件,並且在所述低優先順序業務和/或事件緩存時共用關於所述緩存的資訊。 According to an embodiment of the present invention, the method is based on the priority order Caching or executing the service and/or event with a predetermined rule includes caching low priority services and/or events according to the prioritization and predetermined rules, and sharing the relevant information when the low priority service and/or event cache Cache information.

根據本發明的一個實施例,該方法中所有所述操作是在 所述非接入層、所述接入層和所述物理層中的所有層中按照從高層到低層的順序執行的。 According to an embodiment of the invention, all of the operations in the method are The non-access stratum, the access stratum, and all of the physical layers are executed in order from the upper layer to the lower layer.

本發明的第二方面是提出了一種在多模多卡終端中處理 業務衝突的裝置,包括分佈在所述多模多卡終端中每張卡的非接入層、接入層和物理層中的至少一層中的一組MA模組,並且所述一組MA模組中的每個MA模組包括:確定單元,用於確定可能出現衝突的業務和/或事件; 優先順序設定單元,用於設定所述業務和/或事件的相應 優先順序;以及緩存/執行單元,用於根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 A second aspect of the present invention is to provide a method for processing in a multimode multi-card terminal a device for conflicting services, comprising a group of MA modules distributed in at least one of a non-access layer, an access layer and a physical layer of each card in the multi-mode multi-card terminal, and the set of MA modules Each MA module in the group includes: a determining unit for determining a service and/or an event that may be in conflict; a priority setting unit for setting the corresponding service and/or event a priority order; and a cache/execution unit for caching or executing the service and/or event according to the prioritization and the predetermined rule.

根據本發明的一個實施例,該裝置中確定可能出現衝突 的業務和/或事件包括在計畫執行新的業務和/或事件時檢測其他卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件。根據進一步的實施例,所述檢測包括檢測其他卡的對應層中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 According to an embodiment of the invention, the device determines that a conflict may occur Business and/or events include detecting services and/or events being executed or to be performed by corresponding layers of other cards while the new services and/or events are being planned, and determining possible conflicting services based on the detection results and/or event. According to a further embodiment, the detecting comprises detecting common information in a corresponding layer of other cards to obtain services and/or events that are being executed or are about to be performed.

在本發明的一個實施例中,該裝置中設定所述業務和/或 事件的相應優先順序包括為以下業務和/或事件預先設定由高到低的優先順序:電路交換語音業務/位置更新/路由區更新/附著/去附著;分組交換資料業務;社區選擇和社區重選;同頻/異頻測量;異系統測量;以及背景PLMN搜索。 In an embodiment of the invention, the service is set in the device and/or The corresponding priority order of events includes a high-to-low priority order for the following services and/or events: circuit-switched voice service/location update/routing area update/attach/de-attach; packet-switched data service; community selection and community weight Selection; co-frequency/inter-frequency measurement; hetero-system measurement; and background PLMN search.

根據本發明的一個實施例,該裝置還包括預定規則設定 單元,用於所述確定可能出現衝突的業務和/或事件之前或過程中設定所述預定規則。 According to an embodiment of the invention, the apparatus further includes predetermined rule settings a unit for setting the predetermined rule before or during the process of determining a service and/or event that may be in conflict.

根據本發明的一個實施例,該裝置中的緩存/執行單元進 一步包括通知單元,用於在高優先順序業務和/或事件執行開始時和完畢後中的至少一種情況下通知另一張卡,其中在執行開始時通知另一張卡包括通知在對應層與之有業務和/或事件衝突的另一張卡中斷並緩存其正在執行的業務和/或事件,並且其中在執行完畢後通知另一張卡包括通知在對應層具有緩存業務和/或事件的另一張卡開始執行其緩存的業務和/或事件。根據進一步的實施例,其中在執行完畢後通知的所述另一張卡為在對應層具有緩存業務和/或事件的所有卡中,所述緩存的業務和/或事件的優先順序最高的卡。 According to an embodiment of the invention, the cache/execution unit in the device The step includes a notification unit for notifying another card in at least one of a high priority service and/or an event execution start and after completion, wherein notifying the other card at the start of execution includes notifying at the corresponding layer Another card with a conflict of business and/or events interrupts and caches the business and/or event it is executing, and wherein notifying another card after execution is complete includes notifying that there are cached services and/or events at the corresponding layer. The other card begins executing its cached business and/or events. According to a further embodiment, wherein the other card notified after execution is a card having the highest priority in the cached service and/or event in all cards having cached services and/or events in the corresponding layer .

根據本發明的又一實施例,該裝置中進一步包括資訊共 用單元,用於在高優先順序的業務和/或事件執行完畢後更新共用資訊以將關於所述高優先順序的業務和/或事件的資訊從所共用的資訊中清除。 According to still another embodiment of the present invention, the device further includes information The unit is configured to update the shared information after the high priority service and/or event is executed to clear information about the high priority service and/or event from the shared information.

根據本發明的又一實施例,該裝置的資訊共用單元用於在低優先順序業務和/或事件緩存時共用關於所述緩存的資訊。 According to a further embodiment of the invention, the information sharing unit of the apparatus is adapted to share information about the cache during low priority order service and/or event buffering.

根據本發明的又一實施例,該裝置中的MA模組分佈在所述非接入層、所述接入層和所述物理層中的所有層中,並且所有操作被按照從高層到低層的順序執行。 According to still another embodiment of the present invention, the MA module in the device is distributed in all layers in the non-access stratum, the access stratum, and the physical layer, and all operations are performed from high to low. The order is executed.

本發明的第三方面是一種多模多卡終端,其中包括根據本發明第二方面的實施例中任一實施例所述的裝置。根據一個實施例,該多模多卡終端進一步包括用於所述多卡的公用的物理層及射頻模組,以及針對所述多卡中的每張卡的各自的SIM卡模組、非接入層模組、接入層模組和物理層模組,其中每個模組均可支援所述多模通信協定,也 可支援用戶為任意一張SIM卡任意選擇某一模或多模組合通信協定。 A third aspect of the invention is a multimode multi-card terminal comprising the apparatus according to any of the embodiments of the second aspect of the invention. According to an embodiment, the multimode multi-card terminal further includes a common physical layer and a radio frequency module for the multi-card, and a corresponding SIM card module for each of the multi-cards, Intrusion module, access layer module and physical layer module, wherein each module can support the multimode communication protocol, It can support users to arbitrarily select a certain mode or multi-mode combination communication protocol for any SIM card.

101‧‧‧基帶處理晶片 101‧‧‧Baseband processing chip

102‧‧‧2G/UMTS射頻模組 102‧‧‧2G/UMTS RF Module

103‧‧‧天線 103‧‧‧Antenna

104‧‧‧電源 104‧‧‧Power supply

105‧‧‧SIM控制器 105‧‧‧SIM controller

106、116‧‧‧SIM卡槽 106, 116‧‧‧SIM card slot

107‧‧‧鍵盤 107‧‧‧ keyboard

108‧‧‧USB/串口 108‧‧‧USB/Serial Port

109‧‧‧液晶顯示器 109‧‧‧LCD display

110‧‧‧記憶體 110‧‧‧ memory

200~307‧‧‧流程步驟 200~307‧‧‧ Process steps

400‧‧‧示例性裝置 400‧‧‧Exemplary device

421(421-1~421-6)‧‧‧MA模組 421 (421-1~421-6) ‧‧‧MA module

401、411‧‧‧非接入層NAS模組 401, 411‧‧‧ Non-access layer NAS module

402、412‧‧‧接入層AS模組 402, 412‧‧‧ access layer AS module

403、413‧‧‧物理PHY控制層模組 403, 413‧‧‧ Physical PHY Control Layer Module

501‧‧‧確定單元 501‧‧‧Determining unit

502‧‧‧優先順序設定單元 502‧‧‧Priority setting unit

503‧‧‧緩存/執行單元 503‧‧‧Cache/execution unit

504‧‧‧預定規則設定單元 504‧‧‧Scheduled rule setting unit

505‧‧‧信息共享單元 505‧‧‧Information Sharing Unit

511‧‧‧判別單元 511‧‧‧Discrimination unit

512‧‧‧通知單元 512‧‧‧Notification unit

601‧‧‧公用的射頻(RF)模組 601‧‧‧Common Radio Frequency (RF) Module

602、612‧‧‧SIM卡模組 602, 612‧‧‧ SIM card module

603、613‧‧‧非接入層(NAS)模組 603, 613‧‧‧ Non-access stratum (NAS) modules

604、614‧‧‧接入層(AS)模組 604, 614‧‧‧ access layer (AS) module

605、615‧‧‧物理層控制層模組 605, 615‧‧‧ physical layer control layer module

606-1~606-6‧‧‧MA模組 606-1~606-6‧‧‧MA module

701‧‧‧服務接入控制 701‧‧‧Service Access Control

702、712‧‧‧NAS 702, 712‧‧‧NAS

703、713‧‧‧AS 703, 713‧‧‧AS

704、714‧‧‧物理控制 704, 714‧‧‧ physical control

圖1示出一種雙模雙卡移動終端設備的硬體組成,作為多模多卡終端的硬體組成的示例;圖2是根據本發明的一個實施例的多模多卡終端的一個給定通信協定層業務衝突的檢測和處理方法的示意性流程圖;圖3是根據本發明的一個實施例的多模多卡終端的多個通信協定層業務衝突的檢測和處理方法的示意性流程圖;圖4是根據本發明一個實施例的用於多模多卡移動終端的業務衝突檢測和處理的裝置的示意性結構圖;圖5是根據本發明的一個實施例的用於多模多卡移動終端的業務衝突檢測和處理的MA模組的示意性結構圖;圖6是根據本發明的一個實施例的具有業務衝突檢測和處理功能的多模多卡移動終端的示意性結構圖;以及圖7示出了根據本發明的一個實施例的多模多卡移動終端設備的示例性軟體組成。 1 shows an example of a hardware composition of a dual mode dual card mobile terminal device as an example of a hardware composition of a multimode multi-card terminal; FIG. 2 is a given example of a multimode multi-card terminal according to an embodiment of the present invention. Schematic flowchart of a method for detecting and processing a communication protocol layer service conflict; FIG. 3 is a schematic flowchart of a method for detecting and processing a plurality of communication protocol layer service conflicts of a multimode multi-card terminal according to an embodiment of the present invention; 4 is a schematic structural diagram of an apparatus for service collision detection and processing for a multimode multi-card mobile terminal according to an embodiment of the present invention; FIG. 5 is a multimode multi-card according to an embodiment of the present invention; Schematic structural diagram of an MA module for detecting and processing a service conflict of a mobile terminal; FIG. 6 is a schematic structural diagram of a multimode multi-card mobile terminal having a service collision detection and processing function according to an embodiment of the present invention; FIG. 7 illustrates an exemplary software composition of a multi-mode multi-card mobile terminal device in accordance with one embodiment of the present invention.

以下參照附圖詳細描述本發明的實施方式。 Embodiments of the present invention are described in detail below with reference to the accompanying drawings.

為簡單起見,圖1示出了本發明可以在其中實施的雙模雙卡移動終端的硬體組成,作為多模多卡終端的硬體組成的示例。如圖1所示,其包括:基帶處理晶片101、2G/UMTS射頻模組組102、天線103、電源104、一個SIM控制器105及兩個SIM卡槽106和116、鍵盤107等輸入設 備、USB/串口108等其他外設、液晶屏109以及記憶體110等。 For the sake of simplicity, FIG. 1 shows a hardware composition of a dual mode dual card mobile terminal in which the present invention can be implemented as an example of a hardware composition of a multimode multi-card terminal. As shown in FIG. 1 , it includes: a baseband processing chip 101, a 2G/UMTS radio frequency module group 102, an antenna 103, a power source 104, a SIM controller 105, two SIM card slots 106 and 116, and a keyboard 107. Other peripherals such as standby, USB/serial port 108, LCD screen 109, and memory 110.

在圖1示例性所示出的部件中,SIM控制器105負責基帶處理晶片101與SIM卡的通信和控制。 Among the components exemplarily shown in Fig. 1, the SIM controller 105 is responsible for the communication and control of the baseband processing wafer 101 with the SIM card.

圖1中的示例基帶處理晶片101(在其他實施例中為相關電路和/或晶片)負責移動終端對將要發送到射頻模組102的發送信號或者對從射頻模組102接收的接收信號進行基帶處理,例如通道編碼/解碼、調製/解調、A/D、D/A變換以及上/下變頻等。另外,還負責根據所遵守的通信協定在各協定層(例如非接入層NAS、接入層AS、物理層PHY)對到達的業務和/或事件進行處理。該通信協定可以是任何現存無線通信系統,諸如GSM、UMTS、LTE、LTE-A等或者未來可能出現無線通信系統的協定。雖然在本文中將主要以應用GSM和UMTS移動通信系統的雙模雙卡移動終端為例介紹本發明的實施例要解決的技術問題以及解決方案,但是應當理解,本發明的實施例同樣適用於存在類似問題的應用其他通信系統的雙模雙卡移動終端或者多模多卡(諸如三模三卡)移動終端。 The example baseband processing die 101 of FIG. 1 (in other embodiments, the associated circuitry and/or wafer) is responsible for the baseband of the mobile terminal to transmit signals to the radio frequency module 102 or to receive signals received from the radio frequency module 102. Processing, such as channel encoding/decoding, modulation/demodulation, A/D, D/A conversion, and up/down conversion. In addition, it is also responsible for processing incoming services and/or events at various protocol layers (eg, non-access stratum NAS, access stratum AS, physical layer PHY) in accordance with the agreed communication protocol. The communication protocol may be any existing wireless communication system, such as GSM, UMTS, LTE, LTE-A, etc. or a protocol in which a wireless communication system may occur in the future. Although the technical problems and solutions to be solved by the embodiments of the present invention will be mainly described herein by taking a dual-mode dual-card mobile terminal using the GSM and UMTS mobile communication systems as an example, it should be understood that the embodiments of the present invention are equally applicable to There are similar problems with dual-mode dual-card mobile terminals or multi-mode multi-card (such as three-mode three-card) mobile terminals using other communication systems.

以採用GSM和UMTS移動通信系統的雙模雙卡移動終端為例,該基帶處理晶片101可以包括分別針對GSM和UMTS各協議層的處理器,處理每張卡的各層到達的業務和/或事件。但是為了降低手機成本以利於智慧機的推廣、縮小手機的體積以便於用戶攜帶和提高用戶體驗,降低輻射等,這種雙模雙卡移動終端的硬體組成結構中可以只包括一套射頻模組,例如圖1中作為示例的供GSM和UMTS共用的2G/UMTS射頻模組102。這種情況下如何確保兩張卡不衝突地使用共用資源以確保兩 張卡可以獨立待機和發起業務是急需解決的問題。應該注意,圖1所示僅是多模多卡終端的一個示例,對於多於兩卡的終端,該業務和/或事件衝突的問題將更加突出。下文關於本發明實施例的描述將適用於任何的多模多卡(諸如三模三卡)終端,包括、但不限於雙模雙卡終端。 Taking a dual-mode dual-card mobile terminal using GSM and UMTS mobile communication systems as an example, the baseband processing chip 101 may include processors for each GSM and UMTS protocol layer, and handle the services and/or events arriving at each layer of each card. . However, in order to reduce the cost of the mobile phone to facilitate the promotion of the smart machine, reduce the size of the mobile phone, so as to facilitate the user to carry and improve the user experience, reduce the radiation, etc., the hardware composition of the dual-mode dual-card mobile terminal may include only one set of radio frequency modes. A group, such as the 2G/UMTS radio frequency module 102 shared by GSM and UMTS, as exemplified in FIG. In this case, how to ensure that the two cards use shared resources without conflict to ensure two It is an urgent problem to solve the problem that the card can stand by and start the business independently. It should be noted that FIG. 1 is only one example of a multi-mode multi-card terminal, and for a terminal with more than two cards, the problem of this service and/or event conflict will be more prominent. The following description of embodiments of the invention will apply to any multi-mode multi-card (such as three-mode three-card) terminal, including but not limited to dual-mode dual-card terminals.

為了解決該問題,在本發明的一個實施例中,提供了一 種在多模多卡終端中處理業務衝突的方法,該方法包括在所述多模多卡終端中每張卡的非接入層、接入層和物理層中的至少一層中執行以下操作:確定可能出現衝突的業務和/或事件;設定所述業務和/或事件的相應優先順序;以及根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 In order to solve this problem, in one embodiment of the present invention, a A method of processing a service conflict in a multimode multi-card terminal, the method comprising: performing at least one of a non-access stratum, an access stratum, and a physical layer of each card in the multi-mode multi-card terminal: Determining services and/or events in which conflicts may occur; setting respective priorities of the services and/or events; and caching or executing the services and/or events in accordance with the prioritization and predetermined rules.

圖2僅以一個給定的通信協議層為例示出根據本發明的一 個實施例執行的業務衝突的檢測和處理方法的示意性流程圖,但是值得注意的是圖2的示例所示的方法可以應用到多模多卡(諸如雙模雙卡、三模三卡等)終端的每張卡的非接入層、接入層和物理層中的任一層。在一個例子中,圖2所示的流程由圖1所示的基帶處理晶片101或相關電路等執行。 FIG. 2 shows only one given communication protocol layer as an example according to the present invention. A schematic flow chart of a method for detecting and processing a business conflict performed by an embodiment, but it is worth noting that the method illustrated in the example of FIG. 2 can be applied to a multimode multi-card (such as a dual mode dual card, a three mode three card, etc. Any of the non-access stratum, access stratum, and physical layer of each card of the terminal. In one example, the flow shown in FIG. 2 is performed by the baseband processing wafer 101 or the related circuit shown in FIG.

對於給定卡的給定層,新的業務和/或事件到達後首先在 步驟201,確定可能出現衝突的業務和/或事件。根據本發明的一個實施例,所述確定包括確定到達的業務和/或事件請求的類型。根據本發明的又一個實施例,所述確定還包括在計畫執行新的業務和/或事件時檢測另一張卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件。在本發明的一些實施例中,其中 該檢測包括檢測另一張卡的對應層中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 For a given layer of a given card, the new service and/or event arrives first after In step 201, it is determined that a conflicting service and/or event may occur. According to an embodiment of the invention, the determining comprises determining the type of service and/or event request that is arriving. According to still another embodiment of the present invention, the determining further comprises detecting a service and/or an event that the corresponding layer of another card is executing or is about to perform when the program is executing a new service and/or event, and based on the detection result Identify businesses and/or events that may be in conflict. In some embodiments of the invention, wherein The detection includes detecting common information in a corresponding layer of another card to obtain a service and/or event that is being executed or is about to be executed.

如果給定層為非接入層NAS,則可能導致資源衝突的業務和 /或事件,即多張卡的非接入層NAS不能同時進行的業務和/或事件,主要包括:電路交換語音業務/位置區更新/路由區更新/附著/去附著,分組交換資料業務,背景搜索。如果給定層為接入層,則可能會導致資源衝突的業務和/或事件,主要包括:無線資源控制連接建立,社區選擇和重選,背景搜索。如果給定層為物理層,可能會導致資源衝突的業務和/或事件包括:在同一無線資源上進行發送和接收,接收尋呼指示,同頻/異頻測量,異系統測量,搜網(含重選)等。 If the given layer is a non-access stratum NAS, it may lead to resource conflicts in the business and / or event, that is, services and/or events that cannot be simultaneously performed by non-access stratum NAS of multiple cards, including: circuit-switched voice service/location area update/routing area update/attach/de-attach, packet-switched data service, Background search. If a given layer is an access layer, services and/or events that may cause resource conflicts include: radio resource control connection establishment, community selection and reselection, and background search. If a given layer is a physical layer, services and/or events that may cause resource conflicts include: transmitting and receiving on the same radio resource, receiving paging indication, co-frequency/inter-frequency measurement, different system measurement, and search ( With re-selection) and so on.

如果在步驟201沒有檢測到衝突,則可以直接在給定層執行 新的業務和/或事件,即執行步驟211,然後衝突檢測和仲裁處理結束。如果檢測到衝突,過程進行到步驟202。 If no conflict is detected in step 201, it can be executed directly at a given layer. The new service and/or event, step 211 is performed, and then the conflict detection and arbitration process ends. If a conflict is detected, the process proceeds to step 202.

在步驟202,給定卡的給定層對確定的可能出現衝突的業 務和/或事件設定優先順序。所述優先順序的設定將考慮各業務和/或事件的QoS要求或者該業務和/或的延遲對性能的影響等。由於各層可能出現衝突的業務和/或事件不同,參與優先順序設定的業務和/或事件可能不同,並且設定的優先順序也可能不同。作為本發明的一個特別的實施例,考慮到各層的主要業務和/或事件,一個通用的優先順序可以設定如下:語音(Call Service,CS)業務因為對時延較敏感被給予最高優先順序,設定為1A;LAU/RAU、ATTACH/DETACH等信令過程享有和語音業務同等的優先順序;接下來是資料(Packet Service,PS)業務,設定為1B;社區選擇和社區 重選,享有同等優先順序,設定為2;同頻/異頻測量,設定為3A,異系統測量,設定為3B;以及背景搜索PLMN被設定為最低優先順序4。在該示例中,優先順序的排列順序從高到低依次為,1A>1B>2>3A>3B>4。 At step 202, a given layer of a given card is identified as a possible conflicting industry Set priorities and/or events. The prioritization setting will take into account the QoS requirements of each service and/or event or the impact of the service and/or delay on performance, and the like. The services and/or events that participate in the prioritization may be different due to different services and/or events that may be in conflict at each layer, and the priorities may be set differently. As a special embodiment of the present invention, in consideration of the main services and/or events of each layer, a common priority order can be set as follows: Call Service (CS) service is given the highest priority because it is sensitive to delay. Set to 1A; LAU/RAU, ATTACH/DETACH and other signaling processes enjoy the same priority as voice services; the next is Packet Service (PS) service, set to 1B; community selection and community Reselection, with the same priority, set to 2; same frequency / inter-frequency measurement, set to 3A, different system measurement, set to 3B; and background search PLMN is set to the lowest priority 4. In this example, the order of priority order is from high to low, 1A>1B>2>3A>3B>4.

根據本發明的實施例,該優先順序可以是在所述確定可能 出現衝突的業務和/或事件之前預先設定的,或者在衝突處理過程中,例如確定衝突後針對衝突業務和/或事件設定的。 According to an embodiment of the present invention, the priority order may be that the determination may be Pre-sets of conflicting services and/or events, or during conflict handling, such as determining conflicts for conflicting traffic and/or events.

在步驟203,促使根據在步驟202設定的所述優先順序和預 定規則緩存或者執行所述可能出現衝突的業務和/或事件。 At step 203, the priority order and the pre-set according to step 202 are prompted. The rules cache or execute the services and/or events that may be in conflict.

根據本發明的一個實施例,在所述確定可能出現衝突的 業務和/或事件之前或過程中設定所述預定規則。 According to an embodiment of the present invention, in the determination, a conflict may occur The predetermined rules are set before or during the service and/or event.

根據本發明的又一個實施例,所述預定規則包括以下規 則中的至少一個:規則1:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做同等優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件;規則2:如果在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則3:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件並且通過共用資訊指示所述緩 存,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則4:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在執行更低優先順序的業務和/或事件,則通知所述另一張卡的對應層中斷並且緩存正在執行的所述更低優先順序的業務和/或事件,並且促使執行所述計畫執行的新的業務和/或事件;規則5:如果一卡有業務和/或事件被緩存,並且從任何另一張卡的對應層收到包括可以執行所緩存的所述業務和/或事件的指示的通知,則執行所緩存的業務和/或事件;規則6:如果業務和/或事件執行完畢,則向另一張卡的對應層發送通知,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;規則7:如果一卡業務和/或事件執行完畢,則向另一張卡的對應層發送通知並且更新共用資訊,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;所述更新共用資訊包括將以執行完畢的事件的資訊從所述共用相信中清除;規則8:如果一卡在業務和/或事件執行期間,收到了新的業務和/或事件,則比較收到的新的業務和/或事件的優先順序與另一張卡對應層緩存的業務和/或事件的優先順序;並且如果收到的新的業務和/或事件的優先順序高於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,繼續執行收到的新的業務和/或事件而不通知所述另一張卡;並且如果收到的新的業務和/或事件的優 先順序低於或者等於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,通知所述另一張卡;規則9:如果一卡業務和/或事件執行期間,從另一張卡的對應層收到包括中斷當前所執行的業務和/或事件的指示的通知,則中斷並且緩存當前所執行的業務和/或事件。 According to still another embodiment of the present invention, the predetermined rule includes the following rules At least one of the rules: Rule 1: If a card detects that the corresponding layer of any other card is doing the same priority business and/or event when the project is executing a new service and/or event, the cache is caused to be cached. The new service and/or event executed by the plan; Rule 2: If a new service and/or event is scheduled to be executed, the corresponding layer of any other card is detected to be doing a higher priority service and And/or an event, causing a new service and/or event to be cached to be executed, or discarding the plan to execute a new service and/or event and reverting to the plan to execute a new service and/or event Previous state; rule 3: If a card detects that the corresponding layer of any other card is doing a higher priority service and/or event while the project is executing a new service and/or event, then the cache is prompted Describe the new business and/or events performed by the project and indicate the Save, or discard the plan to perform new services and/or events and revert to the state prior to the program executing new services and/or events; Rule 4: If a card is executing a new service and/or Or event, detecting that the corresponding layer of any other card is performing lower priority services and/or events, notifying the corresponding layer of the other card to interrupt and buffering the lower priority that is being executed Business and/or events and cause new services and/or events to be executed by the program; Rule 5: If a card has services and/or events that are cached and received from the corresponding layer of any other card The cached service and/or event is executed to include a notification that the indication of the cached service and/or event can be executed; rule 6: if the service and/or event is executed, the correspondence to another card The layer sends a notification that the corresponding layer of the other card can perform an indication of the cached service and/or event; rule 7: if one card service and/or event is executed, then another Corresponding layer of the card Sending a notification and updating the sharing information, the notification including an indication that the corresponding layer of the other card can perform the cached service and/or event; the update sharing information includes information from the executed event The common belief is cleared; rule 8: if a card receives a new service and/or event during the execution of the service and/or event, compares the priority of the received new service and/or event with another Cards correspond to the priority order of the services and/or events cached by the layer; and if the new services and/or events received are prioritized higher than the priority of the services and/or events cached by the corresponding card of the other card , after the current service and/or event execution ends, continue to execute the received new service and/or event without notifying the other card; and if the new service and/or event received is superior First, the order is lower than or equal to the priority order of the services and/or events cached by the corresponding layer of the other card, and the other card is notified after the current service and/or event is executed; Rule 9: If a card During the execution of the service and/or event, a notification is received from the corresponding layer of the other card that includes an indication to interrupt the currently executing service and/or event, and the currently executed service and/or event is interrupted and cached.

其中規則1-4是關於按照設定的優先順序處理到達的新業 務和/或事件的規則;規則5是緩存的業務和/或事件何時被執行的規則;規則6-7是業務和/或事件執行完畢後的處理規則,而規則8-9是對於業務和/或事件執行期間發生的其他觸發的處理規則。在本發明的實施例中,可以選擇以上多個規則結合使用。例如,如果第一張卡的給定層在計畫執行新的業務和/或事件時,檢測到第二張卡的對等層正在做更高優先順序的業務和/或事件,則所述第一張卡的所述層緩存計畫執行的新的業務和/或事件直到第二張卡先執行的高優先順序業務和/或事件結束後通知第一張卡的對應層處理緩存的業務和/或事件,或者,所述第一張卡的所述層丟棄所述計畫執行新的業務和/或事件並且恢復到原來的狀態。在另一示例中,當第一張卡收到了一個業務和/或事件請求,首先通過MA查詢第二張卡當前是否有業務和/或事件,如果有則獲得其業務和/或事件優先順序,對衝突進行判別,判別本卡即將發起的業務和/或事件優先順序,如果是較低優先順序,則不需要通知第二張卡掛起所有正在執行的業務和/或事件,而是可以通過MA設置共用資訊;接下來,如果第二張卡收到了一個業務和/或事件請求,也會通過MA查詢第一張卡的當前業務和/或事件優先順序,如果發現第二張卡的業務和/或事件和第一張卡具 有同等優先順序,或比第一張的優先順序更低時,那麼就先緩存業務和/或事件;等第一張卡結束後,通知第二張卡處理緩存的業務和/或事件,同時更新共用資訊。 Rule 1-4 is about processing new arrivals in accordance with the set priorities. Rules for services and/or events; rules 5 are rules for when cached services and/or events are executed; rules 6-7 are rules for processing after services and/or events are executed, while rules 8-9 are for services and / or other triggered processing rules that occur during event execution. In the embodiment of the present invention, the above multiple rules may be selected and used in combination. For example, if a given layer of the first card detects that the peer of the second card is doing a higher priority service and/or event while the plan is executing a new service and/or event, then The layer cache plan of the first card plans to perform new services and/or events until the second card first executes the high priority service and/or the event informs the corresponding layer of the first card to process the cached service And/or an event, or the layer of the first card discards the plan to perform a new service and/or event and reverts to the original state. In another example, when the first card receives a service and/or event request, the MA first queries the second card whether there is currently a service and/or event, and if so, obtains its business and/or event priority. Discriminate the conflict and determine the priority of the business and/or event to be initiated by the card. If it is a lower priority, it is not necessary to notify the second card to suspend all the services and/or events being executed, but The common information is set by the MA; next, if the second card receives a service and/or event request, the MA will also query the current service and/or event priority of the first card, if the second card is found. Business and / or events and the first fixture When there is equal priority, or lower priority than the first one, then the service and/or event is cached first; after the first card is finished, the second card is notified to process the cached service and/or event, and at the same time Update shared information.

對於給定層,衝突檢測和仲裁處理過程在步驟204結束。 但是應當注意,為清楚起見,圖2只是給出在給定層的處理流程示例,因此步驟204只是這一給定層的衝突檢測和仲裁處理的結束,而不是整個衝突檢測仲裁過程的結束。如果該指定層不是進行衝突處理的最後一層,則處理將進入到下一層,並且這將在稍後結合圖3進行描述。 For a given layer, the conflict detection and arbitration process ends at step 204. It should be noted, however, that for the sake of clarity, Figure 2 only gives an example of the processing flow at a given layer, so step 204 is only the end of the conflict detection and arbitration process for this given layer, rather than the end of the entire conflict detection arbitration process. . If the specified layer is not the last layer to perform conflict processing, the process will proceed to the next layer, and this will be described later in connection with FIG.

另外應該理解,雖然示例性流程圖給出示例性的執行步 驟,但是在不同實施例中,步驟的執行順序可以不同於示例性的順序,例如在一些實施例中,步驟202可以先於其他步驟,即,提前定義優先順序順序。 Additionally, it should be understood that although the exemplary flowcharts illustrate exemplary execution steps However, in different embodiments, the order of execution of the steps may be different from the exemplary order. For example, in some embodiments, step 202 may precede other steps, ie, prioritize the order of precedence.

下面假定給定層為接入層,以此為例介紹根據本發明的一 個實施方式接入層解決業務衝突的示例性方法。在該示例中,以雙卡雙模終端為例。假定第一張卡的接入層收到了非接入層發來的語音業務建立請求,由於其具有最高優先順序1A,因此第一張卡需要通知第二卡中斷、掛起當前所有正在執行的比該業務等級低的業務和/或事件,緩存將要執行的低優先順序業務和/或事件。當第二張卡完成掛起過程後,第一張卡開始執行GRR/RRC連接建立請求事件,並向網路請求電路交換域語音業務,在此過程中,第一張卡接入層絕對享有共用資源(射頻、天線、基帶處理單元等)。當第一張卡業務結束後,第一張卡接入層檢測是否仍存在比第二張卡所緩存的業務和/或事件優先順序更高的其他業務和/或事件請求,如果存 在,則第一張卡繼續執行該優先順序更高的其他業務和/或事件,先不通知第二張卡恢復;否則,通知第二張卡恢復被緩存之前的狀態、執行被緩存的業務和/或事件。在第二張卡的業務和/或事件被掛起的期間,停止社區重選評估;另外,在此期間如果收到了非接入層發來的搜網請求或者公共陸地移動網路(PLMN)搜索請求,先緩存,等恢復後再處理緩存的業務和/或事件。 The following assumes that a given layer is an access layer, as an example to introduce one according to the present invention. An exemplary method for an implementation access layer to resolve a business conflict. In this example, a dual-card dual-mode terminal is taken as an example. Assume that the access layer of the first card receives the voice service establishment request sent by the non-access stratum. Since it has the highest priority 1A, the first card needs to notify the second card to interrupt and suspend all currently executing. A low priority service and/or event to be executed, which is lower than the service level and/or event. After the second card completes the suspending process, the first card starts to perform the GRR/RRC connection establishment request event, and requests the circuit to exchange domain voice services to the network. In the process, the first card access layer is absolutely enjoyed. Shared resources (RF, antenna, baseband processing unit, etc.). After the first card service ends, the first card access layer detects whether there are still other services and/or event requests with higher priority than the service and/or event cached by the second card, if If the first card continues to execute other services and/or events with higher priority, the second card is not notified to be restored; otherwise, the second card is notified to resume the state before being cached, and the cached service is executed. And / or events. The community re-election assessment is stopped during the period when the second card's services and/or events are suspended; in addition, during this period, if a non-access stratum sends a search request or a public land mobile network (PLMN) Search for requests, cache first, and then restore the cached business and/or events.

根據本發明的一個實施方式,接入層解決業務衝突的方法還 包括:如果第一張卡的接入層準備開始搜網/重選/PLMN搜索,需要更新第一張卡和第二張卡接入層的共用資訊,接著開始搜網。第二張卡停止社區重選測量評估;另外,如果第二張卡收到非接入層發來的搜網/PLMN搜索時,需查詢第一張卡和第二張卡接入層的共用資訊,如果第一張卡正在執行搜網,則緩存上述事件;第一張卡結束搜網後,更新共用資訊,同時通知第二張卡;第二張卡重新開始進行重選測量評估,或執行緩存的搜網等事件,同時更新共用資訊;在第一張卡搜網期間,如果第二張卡收到了非接入層發來的GRR/RRC連接建立請求,那麼第二張卡會通知第一張卡掛起,第一張卡會中斷當前搜網事件,同時更新共用資訊;等第二張卡結束後,第一張卡再次執行搜網。 According to an embodiment of the present invention, the access layer resolves a service conflict Including: if the access layer of the first card is ready to start the search/reselection/PLMN search, the shared information of the first card and the second card access layer needs to be updated, and then the search is started. The second card stops the community reselection measurement evaluation; in addition, if the second card receives the search/PLMN search sent by the non-access layer, it needs to query the sharing of the first card and the second card access layer. Information, if the first card is performing a search, the above event is cached; after the first card ends the search, the shared information is updated, and the second card is notified; the second card is restarted for re-measurement measurement evaluation, or Performing cached search and other events, and updating the shared information; during the first card search, if the second card receives the GRR/RRC connection establishment request from the non-access layer, the second card will notify The first card hangs, the first card will interrupt the current search event, and the shared information will be updated; after the second card is finished, the first card will perform the search again.

上述是接入層的衝突解決實施例,對於非接入層和物理層, 衝突解決實施例與接入層的方法類似,因此在此不做贅述。 The above is a conflict resolution embodiment of the access layer. For the non-access stratum and the physical layer, The conflict resolution embodiment is similar to the access layer, and therefore will not be described here.

根據本發明的一個實施例,如圖2所示的操作由業務和/ 或事件到達的層開始,在衝突處理所涉及的所有層按照從高層到低層的順序串列執行。 According to one embodiment of the invention, the operation as shown in Figure 2 is performed by the service and / Or the layer at which the event arrives begins, and all layers involved in the conflict processing are executed in tandem in order from the upper layer to the lower layer.

圖3示出了根據本發明的一個實施例在多模多卡終端的多 個通信協定層進行業務衝突的檢測和處理方法的示意性流程圖。在該示例中,為簡單起見,僅示出在一張卡的操作。並且假定在非接入層、接入層和物理層中的每一層均執行衝突處理的實施例。如圖所示,在該示例性實施例中,按照從高層到低層的順序在每一層串列執行如圖2所描述的衝突檢測和處理操作。 Figure 3 illustrates a multi-mode multi-card terminal in accordance with one embodiment of the present invention. Schematic flow chart of a method for detecting and processing a service conflict by a communication protocol layer. In this example, for the sake of simplicity, only the operation of one card is shown. And it is assumed that an embodiment of collision processing is performed at each of the non-access stratum, the access stratum, and the physical layer. As shown, in the exemplary embodiment, the collision detection and processing operations as described in FIG. 2 are performed in each layer string in order from the upper layer to the lower layer.

首先在步驟301,執行非接入層檢測,確定可能出現衝突 的業務和/或事件;如果存在衝突,則進行到步驟302,在步驟302按照圖2的步驟(202-203)處理非接入層業務和/或事件衝突,然後進行到步驟303;如果不存在衝突,則直接在步驟311執行非接入層業務和/或事件,然後進行到步驟303。 First, in step 301, non-access stratum detection is performed to determine that a collision may occur. The service and/or event; if there is a conflict, proceed to step 302, where the non-access stratum service and/or event conflict is processed according to the step (202-203) of FIG. 2, and then proceeds to step 303; If there is a conflict, the non-access stratum service and/or event is directly executed in step 311, and then proceeds to step 303.

在步驟303,執行接入層檢測,確定可能出現衝突的業務 和/或事件;如果存在衝突,則進行到步驟304,同樣,在步驟304按照圖2的步驟(202-203)處理接入層業務和/或事件衝突,然後進行到步驟305;如果不存在衝突,則直接在步驟312執行接入層業務和/或事件,然後進行到步驟305。 In step 303, access layer detection is performed to determine a service that may be in conflict. And/or event; if there is a conflict, proceed to step 304, and likewise, in step 304, process the access layer service and/or event conflict according to step (202-203) of FIG. 2, and then proceed to step 305; if not In the event of a conflict, access layer services and/or events are performed directly in step 312, and then proceeds to step 305.

類似的,在步驟305,執行物理層檢測,確定可能出現衝 突的業務和/或事件;如果存在衝突,則進行到步驟306,在步驟306按照圖2的步驟(202-203)處理物理層業務和/或事件衝突,然後在步驟307結束;如果不存在衝突,則直接在步驟313執行物理層業務和/或事件,然後在步驟307結束。 Similarly, in step 305, physical layer detection is performed to determine that a rush may occur. a sudden service and/or event; if there is a conflict, proceed to step 306, where the physical layer service and/or event conflict is processed in accordance with the steps (202-203) of FIG. 2, and then ends at step 307; if not In the event of a conflict, physical layer services and/or events are performed directly in step 313 and then ended in step 307.

應當注意,雖然在該示例實施例中,假定在非接入層、 接入層和物理層中的每一層執行衝突處理,但是,在其他實施例中,也能夠只在其中的某些層實施上述方法步驟。另外,多模多卡(諸如雙模雙卡、三模三卡等)中的每張卡均可以採用該方法。 It should be noted that although in this exemplary embodiment, it is assumed that at the non-access stratum, Each of the access layer and the physical layer performs collision processing, but in other embodiments, the method steps described above can also be implemented only at some of the layers. In addition, each of the multimode multi-cards (such as dual-mode dual-card, three-mode three-card, etc.) can adopt this method.

本發明的實施方式還包括能夠實現上述方法的相應設備。 圖4是根據本發明一個實施例的實現多模多卡移動終端業務衝突的檢測和解決的示例性裝置400的示意性結構圖。 Embodiments of the invention also include corresponding apparatus capable of implementing the above methods. 4 is a schematic block diagram of an exemplary apparatus 400 for implementing detection and resolution of multi-mode multi-card mobile terminal traffic collisions, in accordance with one embodiment of the present invention.

如圖4所示,該示例性裝置400包括一組MA模組421,其中 包括多個MA模組(例如421-1、421-2、421-3、421-4、421-5、421-6),分別分佈於針對多卡中每張卡的非接入層NAS模組401和411、接入層AS模組402和412以及物理PHY控制層模組403和413;其中上述每個模組(401、402、403、411、412、413)均支援多模通信協定,例如支援GSM/UMTS兩種通信協定。儘管為簡單清楚起見,圖4的示例中僅給出用於兩張卡的模組,而省略了用於其他更多卡的模組,但是應當理解本發明不限於所示出的兩卡的實施。 As shown in FIG. 4, the exemplary device 400 includes a set of MA modules 421, wherein A plurality of MA modules (eg, 421-1, 421-2, 421-3, 421-4, 421-5, 421-6) are respectively distributed in the non-access stratum NAS mode for each card of the multi-card Groups 401 and 411, access layer AS modules 402 and 412, and physical PHY control layer modules 403 and 413; wherein each of the above modules (401, 402, 403, 411, 412, 413) supports multimode communication protocols For example, support for GSM/UMTS communication protocols. Although for the sake of simplicity and clarity, only the modules for the two cards are given in the example of FIG. 4, and the modules for other more cards are omitted, it should be understood that the present invention is not limited to the two cards shown. Implementation.

圖4中的非接入層模組401和411分別用於執行針對第一張 卡和第二張卡的非接入層的操作。由於假定401和411中的每個模組均支援GSM/UMTS雙模,因此兩卡中的每張卡均可以是GSM或者UMTS模式的卡。根據本發明的實施例,在模組401和411中的MA模組421-1、421-4,用於執行下述操作:確定可能出現衝突的業務和/或事件;設定所述業務和/或事件的相應優先順序;以及根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 The non-access stratum modules 401 and 411 in FIG. 4 are respectively used to execute the first sheet The operation of the non-access stratum of the card and the second card. Since each of the modules 401 and 411 is assumed to support GSM/UMTS dual mode, each of the two cards can be a GSM or UMTS mode card. In accordance with an embodiment of the present invention, the MA modules 421-1, 421-4 in the modules 401 and 411 are configured to perform operations for determining services and/or events in which conflicts may occur; setting the services and/or Or a corresponding priority order of events; and caching or executing the services and/or events in accordance with the prioritization and predetermined rules.

根據本發明的一個實施例,該MA模組421-1可以進一步用 於在高優先順序業務和/或事件執行開始時通知另一張卡的對應層中斷並緩存其正在執行的業務和/或事件,和/或在業務和/或事件執行完畢後通知另一張卡開始執行其緩存的業務和/或事件。 According to an embodiment of the present invention, the MA module 421-1 can be further used. Notifying the corresponding layer of another card to interrupt and cache the services and/or events it is performing at the beginning of the high priority service and/or event execution, and/or notifying another after the execution of the business and/or event is completed The card begins to execute its cached business and/or events.

根據本發明的又一個實施例,該MA模組421-1可以進一步 用於在低優先順序業務和/或事件到達並且緩存業務和/或事件時共用關於該緩存業務和/或事件的資訊,和/或用於在業務和/或事件執行完畢並且通知另一張卡時更新共用資訊以將關於被執行完畢的業務和/或事件的資訊從所共用的資訊中清除。 According to still another embodiment of the present invention, the MA module 421-1 may further Used to share information about the cached service and/or event when low priority services and/or events arrive and cache services and/or events, and/or for performing the business and/or event and notifying another The card updates the sharing information to clear information about the executed services and/or events from the shared information.

如果新的業務和/或事件在第一張卡的非接入層(NAS)到 達,則401中的MA 421-1模組執行確定可能出現衝突的業務和/或事件的操作,根據本發明的實施例,該操作包括確定業務和/或事件的類型。根據又一實施例,還包括檢測對應的另一張卡的非接入層是否有衝突,並根據檢測結果確定。這將需要401與411通信。在一個實施例中,該檢測包括檢測另一張卡對應層411中的MA模組421-4中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 If new services and/or events are on the first card's non-access stratum (NAS) The MA 421-1 module in 401 performs operations to determine services and/or events that may be in conflict, including determining the type of service and/or event, in accordance with an embodiment of the present invention. According to still another embodiment, the method further includes detecting whether a non-access layer of the corresponding another card has a conflict, and determining according to the detection result. This will require 401 and 411 to communicate. In one embodiment, the detecting includes detecting the shared information in the MA module 421-4 in the other card corresponding layer 411 to obtain the services and/or events being executed or to be performed.

對於非接入層,可能會導致資源衝突的業務和/或事件包 括:電路交換語音業務/位置區更新/路由區更新/附著/去附著,分組交換資料業務,背景搜索,並且以上所列出的順序是MA模組421-1所設定從高到低的優先順序的示例。 For non-access stratum, business and/or event packages that may result in resource conflicts Including: circuit switched voice service / location area update / routing area update / attach / detach, packet switched data service, background search, and the order listed above is the priority of the MA module 421-1 set from high to low An example of the order.

優先順序設定後,401的MA模組將進一步根據預定的規則 來確定具有所確定的優先順序的衝突業務和/或事件的處理,例如,緩存或者執行。這一規則定義也由401的MA模組421-1完成。並且預定的規則 的示例(規則1-9)已經在關於圖2的描述中介紹,在此不再贅述。 After the priority is set, the 401 MA module will be further based on the predetermined rules. The processing of conflicting traffic and/or events with the determined priority order is determined, such as caching or execution. This rule definition is also done by the MA module 421-1 of 401. And predetermined rules An example (rules 1-9) has been introduced in the description about FIG. 2 and will not be described again here.

根據本發明的實施例,執行業務和/或事件進一步包括在 執行前通知另一張卡的對應層模組411中斷並且緩存其正在執行的業務和/或事件,然後401模組執行計畫執行的新業務和/或事件;直到401執行完高優先順序業務和/或事件後,再通過其MA模組421-1通知411模組去恢復執行更低優先順序業務和/或事件,例如通知411模組中的MA 421-4,然後MA 421-4促使模組411中斷並緩存業務和/或事件。 According to an embodiment of the invention, performing the service and/or event is further included in Before the execution, the corresponding layer module 411 of the other card is notified to interrupt and cache the business and/or event that it is executing, and then the 401 module executes the new service and/or event executed by the plan; until 401 executes the high priority service And/or after the event, the 411 module is notified by its MA module 421-1 to resume performing lower priority services and/or events, for example, to notify the MA 421-4 in the module 411, and then the MA 421-4 motivates Module 411 interrupts and caches traffic and/or events.

類似地,接入層(AS)模組402和412分別用於執行針對 第一張卡和第二張卡的接入層的操作。並且在一個實施例中402和412中的每個模組均支援例如GSM/UMTS雙模,因此雙卡中的每張卡均可以是GSM或者UMTS模式的卡。根據本發明的實施例,在模組402和412中也各有一個MA模組421-2和421-5,其在接入層執行的操作與關於MA 421-1和MA 421-4描述的操作類似。不同之處在於,接入層中可能會導致資源衝突的業務和/或事件與非接入層的業務和/或事件可能不同,例如,接入層可能出現的衝突業務和/或事件主要包括:RRC/GRR連接建立,社區選擇和重選,背景搜索,但是衝突的處理方法步驟與非接入層一致。 Similarly, access layer (AS) modules 402 and 412 are used to perform The operation of the access layer of the first card and the second card. And in one embodiment each of modules 402 and 412 supports, for example, GSM/UMTS dual mode, so each card in the dual card can be a GSM or UMTS mode card. In accordance with an embodiment of the present invention, there is also one MA module 421-2 and 421-5 in modules 402 and 412, the operations performed at the access layer and those described with respect to MA 421-1 and MA 421-4. The operation is similar. The difference is that services and/or events in the access layer that may cause resource conflicts may be different from services and/or events in the non-access stratum. For example, conflicting services and/or events that may occur at the access layer mainly include : RRC/GRR connection establishment, community selection and reselection, background search, but the conflict processing method steps are consistent with the non-access layer.

同樣,物理(PHY)控制層模組403和413分別用於執行針 對第一張卡和第二張卡的物理控制層的操作,這裏所說的物理控制層是可以看作物理層的一部分。在一個實施例中模組403和413中的每個模組均支援GSM/UMTS雙模,因此雙卡中的每張卡均可以是GSM或者UMTS模式的卡。根據本發明的實施例,在物理控制層模組403和413中也各有一個MA模組421-3、421-6,其對物理層可能出現的衝突業務和/或事件進 行評估、確定及仲裁。該操作與上述關於非接入層和接入層的操作類似,因此不再贅述。不同之處在於,物理層可能會導致資源衝突的業務和/或事件不同於非接入層,例如主要衝突業務和/或事件包括:在同一無線資源上進行發送和接收,接收尋呼指示,同頻/異頻測量,異系統測量,搜網(含重選)等。 Similarly, physical (PHY) control layer modules 403 and 413 are used to perform the needles, respectively. For the operation of the physical control layer of the first card and the second card, the physical control layer referred to herein can be regarded as a part of the physical layer. In one embodiment, each of the modules 403 and 413 supports GSM/UMTS dual mode, so each card in the dual card can be a GSM or UMTS mode card. In accordance with an embodiment of the present invention, there is also one MA module 421-3, 421-6 in each of the physical control layer modules 403 and 413, which may enter conflicting services and/or events that may occur at the physical layer. Evaluation, determination and arbitration. This operation is similar to the above operations regarding the non-access stratum and the access stratum, and therefore will not be described again. The difference is that the physical layer may cause the resource conflicting service and/or event to be different from the non-access stratum. For example, the main conflicting service and/or event includes: sending and receiving on the same radio resource, receiving paging indication, Same frequency/inter-frequency measurement, different system measurement, search network (including reselection), etc.

由於經403、413的MA模組沖裁後物理層的衝突被避免,因 此,雙模雙卡終端僅需要一個物理和射頻模組來處理來自兩張卡的業務和/或事件,從而降低了終端產品的成本以及尺寸。 Since the collision of the physical layer after the MA module of 403 and 413 is punched out, Thus, the dual mode dual card terminal requires only one physical and RF module to handle the services and/or events from the two cards, thereby reducing the cost and size of the end product.

應該注意的是,雖然在圖4中每張卡的每一層的MA模組被示 出為獨立的模組,實際上在不同的實施例中,多個MA模組的組合也可以由單個的模組實施,例如可以由單個模組實施NAS層中401和411中的MA模組421-1、421-4,或者可以由單個的模組實施所有MA模組組421的功能。同樣,在一些實施例中圖4中的每個MA模組,以及每個其他模組的功能也可能分佈在多個模組上實施。 It should be noted that although the MA module of each layer of each card is shown in Figure 4 As a separate module, in a different embodiment, the combination of multiple MA modules can also be implemented by a single module. For example, the MA module in the 401 and 411 of the NAS layer can be implemented by a single module. 421-1, 421-4, or the functions of all MA module groups 421 can be implemented by a single module. Also, in some embodiments, each of the MA modules of FIG. 4, as well as the functionality of each of the other modules, may also be distributed across multiple modules.

圖5是根據本發明的一個實施例的用於多模多卡移動終端業 務衝突檢測和處理的MA模組的示意性結構圖。如圖5所示,MA模組包括如下組成單元:確定單元501,用於確定可能出現衝突的業務和/或事件;優先順序設定單元502,用於設定所述業務和/或事件的相應優先順序;以及緩存/執行單元503,用於根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 FIG. 5 is a multi-mode multi-card mobile terminal industry according to an embodiment of the present invention. Schematic diagram of the MA module for conflict detection and processing. As shown in FIG. 5, the MA module includes the following constituent units: a determining unit 501 for determining a service and/or an event in which a conflict may occur; a priority order setting unit 502, configured to set a corresponding priority of the service and/or event. And a cache/execution unit 503 for caching or executing the service and/or event according to the priority order and the predetermined rule.

根據本發明的一個實施例,當新的業務和/或事件到達給定 層時,該層的MA模組的確定單元501首先確定業務和/或事件的類型,然後 確定可能出現衝突的業務和/或事件;根據本發明的實施例,該確定包括檢測多卡中其他卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件;這可能包括與多卡中其他卡MA模組的通信,例如,檢測對應層的MA模組中的共用資訊以獲得對應層正在執行或者將要執行的業務和/或事件。 According to an embodiment of the invention, when a new service and/or event arrives given At the time of layer, the determining unit 501 of the MA module of the layer first determines the type of service and/or event, and then Determining a service and/or event in which a conflict may occur; in accordance with an embodiment of the present invention, the determining includes detecting a service and/or an event that a corresponding layer of other cards in the multi-card is executing or is about to perform, and determining that a conflict may occur based on the detection result Business and/or event; this may include communication with other card MA modules in the multi-card, for example, detecting common information in the MA module of the corresponding layer to obtain the services and/or events that the corresponding layer is executing or will perform .

根據本發明的一個實施例,業務和/或事件優先順序設定 可以由優先順序設定單元502生成。根據本發明的一個實施例,可以在衝突處理過程中,例如在確定衝突後設定優先順序;而根據本發明的另一實施例,該業務和/或事件優先順序可以是預先定義好的,並且存儲在例如優先順序設定單元502中。例如一個預先定義的示例性的由高到低的業務和/或事件優先順序如下:電路交換語音業務/位置更新/路由區更新/附著/去附著;分組交換資料業務;社區選擇和社區重選;同頻/異頻測量;異系統測量;以及背景搜索PLMN。 Service and/or event prioritization according to one embodiment of the invention It can be generated by the priority order setting unit 502. According to an embodiment of the present invention, the priority order may be set during the conflict processing, for example, after determining the conflict; and according to another embodiment of the present invention, the service and/or event priority order may be predefined, and It is stored, for example, in the priority order setting unit 502. For example, a predefined exemplary high-to-low service and/or event prioritization is as follows: circuit switched voice service/location update/routing area update/attach/de-attach; packet switched data service; community selection and community reselection ; same frequency / inter-frequency measurement; different system measurement; and background search PLMN.

根據本發明的一個實施例,該裝置進一步包括預定規則 設定單元504,用於在確定可能出現衝突的業務和/或事件之前或過程中設定所述預定規則。並且預定規則可以是前文關於圖2的描述中所述的規則示例中的一項或者多項,但是不限於此。 According to an embodiment of the invention, the apparatus further comprises predetermined rules The setting unit 504 is configured to set the predetermined rule before or during the process of determining a service and/or an event in which a conflict may occur. And the predetermined rule may be one or more of the foregoing rule examples described in the description of FIG. 2, but is not limited thereto.

根據本發明的一個實施例,其中所述緩存/執行單元503進 一步包括判別單元511,用於根據所述優先順序和預定規則進行衝突判別。根據從優先順序設定單元502讀取的業務和/或事件優先順序設定並且根據預定的規則進行衝突判別,包括即判別到達的業務和/或事件是應當緩存還是執行。其中所依據的預定的規則可以是從預定規則設定單元504 讀取的。 According to an embodiment of the present invention, wherein the cache/execution unit 503 enters The step includes a discriminating unit 511 for performing collision discrimination based on the priority order and a predetermined rule. The conflict determination is set according to the service and/or event priority order read from the priority order setting unit 502 and the collision determination is performed according to a predetermined rule, including, for example, whether the arriving service and/or event should be cached or executed. The predetermined rule on which the basis is based may be from the predetermined rule setting unit 504 Read.

根據判別結果可以:執行業務和/或事件或者輔助執行業務和/或事件,或者,緩存該業務和/或事件或者輔助緩存業務和/或事件。在一些實施例中,輔助執行意味著只負責促使執行操作的發生,而業務和/或事件的主體執行操作由對應層的MA模組之外的其他模組/單元完成,在這種情況下,緩存/執行單元503與該其他模組/單元通信以傳遞執行命令。在另一實施例中,緩存/執行單元503可以具有執行功能,因此可以根據衝突判別單元511的判別結果執行。類似的,緩存/執行單元503可以只負責促使緩存操作的發生,而真正的緩存操作由對應層的MA模組之外的其他模組/單元完成,在這種情況下,緩存/執行單元503與該其他模組/單元通信以傳遞緩存命令。在另一實施例中,緩存/執行單元503具有緩存功能,因此可以根據判別單元511的判別結果緩存。 According to the discriminating result, it is possible to execute a service and/or an event or assist in executing a service and/or an event, or to cache the service and/or event or to assist in caching the service and/or event. In some embodiments, the auxiliary execution means that it is only responsible for causing the execution of the execution, and the main operation of the business and/or event is performed by other modules/units other than the MA module of the corresponding layer, in which case The cache/execution unit 503 communicates with the other modules/units to pass execution commands. In another embodiment, the buffer/execution unit 503 may have an execution function and thus may be executed according to the discrimination result of the conflict determination unit 511. Similarly, the cache/execution unit 503 may only be responsible for causing the occurrence of a cache operation, while the actual cache operation is done by other modules/units other than the MA module of the corresponding layer, in which case the cache/execution unit 503 Communicate with the other modules/units to pass cache commands. In another embodiment, the buffer/execution unit 503 has a cache function and thus can be cached according to the discrimination result of the discriminating unit 511.

根據本發明的一個實施例,其中所述緩存/執行單元進一步包括通知單元512,用於在高優先順序業務和/或事件執行開始時通知在對應層與之有業務和/或事件衝突的另一張卡中斷並緩存其正在執行的業務和/或事件。 According to an embodiment of the present invention, the cache/execution unit further comprises a notification unit 512, for notifying another service with a service and/or event at the corresponding layer when the high priority service and/or event execution starts A card interrupts and caches the business and/or events it is executing.

根據本發明的一個實施例,通知單元512用於在高優先順序的業務和/或事件執行完畢後通知另一張卡開始執行其緩存的業務和/或事件。在一個實施例中。該另一張卡為在對應層具有緩存業務和/或事件的卡中,所述緩存的業務和/或事件的優先順序最高的卡。 In accordance with an embodiment of the present invention, the notification unit 512 is configured to notify another card to begin executing its cached services and/or events after the execution of the high priority order of services and/or events. In one embodiment. The other card is a card having a cached service and/or event at a corresponding layer, the cached service and/or event having the highest priority card.

根據本發明的一個實施例,裝置進一步包括資訊共用單元505,用於在高優先順序的業務和/或事件執行完畢後更新共用資訊以 將關於所述高優先順序的業務和/或事件的資訊從所共用的資訊中清除。 According to an embodiment of the present invention, the apparatus further includes an information sharing unit 505, configured to update the shared information after the high priority service and/or event is executed. Information about the high priority services and/or events is cleared from the shared information.

根據又一實施例,資訊共用單元505還用於在低優先順序業務和/或事件緩存時共用關於所述緩存的資訊。 According to yet another embodiment, the information sharing unit 505 is further configured to share information about the cache during low priority order service and/or event buffering.

應該注意的是,圖5僅是示意性的,雖然圖中每個單元被獨立示出,但是應當理解,實際上在不同的實施例中,多個單元的組合也可以由單個單元實施,或者每個單元也可能實施為多個單元。 It should be noted that FIG. 5 is merely illustrative, although each unit in the figures is shown separately, it should be understood that in particular, in various embodiments, combinations of multiple units may also be implemented by a single unit, or Each unit may also be implemented as multiple units.

圖6示出了具有業務衝突檢測和處理能力的示例性多模多卡移動終端的結構示意圖。為簡單起見,該示例性多模多卡終端支援兩張卡和兩種通信協定。但是應當理解本發明不限於此,而是可以被應用于諸如三模三卡等的任何多模多卡終端。 Figure 6 shows a block diagram of an exemplary multi-mode multi-card mobile terminal with traffic collision detection and processing capabilities. For simplicity, the exemplary multimode multi-card terminal supports two cards and two communication protocols. However, it should be understood that the present invention is not limited thereto, but can be applied to any multi-mode multi-card terminal such as a three-mode three-card.

如圖6所示,該移動終端具有用於多卡的公用的射頻(RF)模組601,以及針對所述多卡中的每張卡的各自的SIM卡模組602和612、非接入層(NAS)模組603和613、接入層(AS)模組604和614和物理層控制層模組605和615,其中SIM卡模組、非接入層(NAS)模組、接入層(AS)模組和物理層控制層模組中每個模組均支援所述雙模中的兩種通信協定,例如支援GSM和UMTS;並且非接入層(NAS)模組、接入層(AS)模組和物理層控制層模組中每個模組均包含一個MA模組(606-1到606-6)用於對該層的業務和/或事件衝突進行檢測和仲裁處理。根據本發明的一個實施例,每個MA模組都具有如圖5所示的結構,並且執行如圖2所述的操作。除MA模組外,非接入層(NAS)模組、接入層(AS)模組和物理層控制層模組按照應用的通信協定執行對應層規定的功能,其為本領域技術人員所公知,因此在此不再贅述。 As shown in FIG. 6, the mobile terminal has a public radio frequency (RF) module 601 for multiple cards, and a respective SIM card module 602 and 612 for each of the multiple cards, non-access Layer (NAS) modules 603 and 613, access layer (AS) modules 604 and 614, and physical layer control layer modules 605 and 615, wherein the SIM card module, the non-access stratum (NAS) module, and the access Each of the layers (AS) module and the physical layer control layer module supports two communication protocols in the dual mode, such as supporting GSM and UMTS; and non-access stratum (NAS) modules, access Each module in the layer (AS) module and the physical layer control layer module includes an MA module (606-1 to 606-6) for detecting and arbitrating the service and/or event conflicts of the layer. . According to one embodiment of the invention, each MA module has a structure as shown in FIG. 5 and performs the operations as described in FIG. In addition to the MA module, the non-access stratum (NAS) module, the access stratum (AS) module, and the physical layer control layer module perform the functions specified by the corresponding layer according to the applied communication protocol, which are those skilled in the art. It is well known and therefore will not be described here.

應該注意的是,圖6僅是示意性的,例如當僅在非接入層、 接入層、物理層中的某些層而不是所有層實施衝突處理時,其他層中的MA是可以省略的。另外,雖然圖中每個模組被獨立示出,但是應當理解,實際上在不同的實施例中,也可以由單個模組實現多個模組的功能,或者每個模組也可能分成多個單元實施。另外,這裏只是示出了對理解本發明的實施例有明顯幫助的部件,而省略了其他部件,比如支援其他更多卡的模組,各種通信硬體介面、處理器、記憶體、移動設備的外設,輸入輸出部件等。另外,還應當理解雖然該示例性結構圖中只示出了單個RF模組,但是應當理解,本發明的實施例同樣適用於採用多個RF模組的移動設備。 It should be noted that Figure 6 is only illustrative, such as when only in the non-access stratum, When some layers in the access layer and the physical layer are implemented in conflict processing instead of all layers, the MAs in other layers may be omitted. In addition, although each module in the figure is shown separately, it should be understood that, in different embodiments, the functions of multiple modules may be implemented by a single module, or each module may be divided into multiple Unit implementation. In addition, only the components that are obviously helpful for understanding the embodiments of the present invention are shown here, and other components are omitted, such as modules supporting other more cards, various communication hardware interfaces, processors, memories, mobile devices. Peripherals, input and output components, etc. In addition, it should also be understood that although only a single RF module is shown in this exemplary configuration, it should be understood that embodiments of the present invention are equally applicable to mobile devices employing multiple RF modules.

作為一個特別的示例,圖6中所示的除601之外的其他模組可 以以軟體的方法實施,圖7示出這種情況下的一個示例性軟體組成。如圖7所示,該軟體組成按照通信協定從上至下分成服務接入控制701、NAS(702、712)、AS(703、713)、物理控制(704、714)幾層。其中在NAS、AS、物理控制層中每一層用軟體實現MA功能。其中服務接入控制701可以是對兩張卡公用的,而對於NAS、AS、物理控制層,對於每張卡有單獨的一套實現。除該MA功能外,各協定層還被配置執行該層常規的通信協議操作,例如NAS還會有移動性管理(MM)功能(例如針對GSM和UMTS分別為GMM和UMM)、AS層還會有無線資源控制(RRC)功能(例如對於GSM和UMTS分別為RRC和GRR)。該軟體組成可以運行在如圖1所示的基帶處理晶片(或相應的電路)中,以執行相應的功能,並最終促使通過公共的物理硬體706處理與任何一張卡對應的資料發送/接收。 As a special example, the modules other than 601 shown in FIG. 6 may be To be implemented in a software manner, Figure 7 shows an exemplary software composition in this case. As shown in FIG. 7, the software composition is divided into service access control 701, NAS (702, 712), AS (703, 713), and physical control (704, 714) layers from top to bottom in accordance with the communication protocol. In each of the NAS, AS, and physical control layers, the MA function is implemented by software. The service access control 701 may be common to two cards, and for the NAS, AS, and physical control layers, there is a separate implementation for each card. In addition to the MA function, each protocol layer is configured to perform the normal communication protocol operations of the layer. For example, the NAS also has mobility management (MM) functions (for example, GMM and UMM for GSM and UMTS respectively), and the AS layer will also There are Radio Resource Control (RRC) functions (for example, RRC and GRR for GSM and UMTS, respectively). The software composition can operate in a baseband processing die (or corresponding circuitry) as shown in FIG. 1 to perform the corresponding functions and ultimately facilitate processing of data transmissions corresponding to any one card by the common physical hardware 706. receive.

綜上所述,本發明提出了一種多模多卡移動終端的業務衝突 的解決方法和裝置:分別在多張卡(諸如雙卡、三卡等)的非接入層NAS、接入層AS、物理層中的至少一層增加業務衝突的檢測仲裁(Monitor and Arbitrator,MA)模組,確保多模多卡手機可以不衝突地訪問共用資源。相比于現有技術,由於在NAS/AS/PHY種的至少一層增加了MA模組,這樣能夠避免多張卡同時訪問共用資源導致出錯、進而降低用戶體驗,相比而言本發明的適用性更強、用戶體驗更好。另外,由於其允許選用單晶片、單組RF架構來實現雙卡終端,大大降低了終端成本。 In summary, the present invention proposes a service conflict of a multi-mode multi-card mobile terminal. Solution and device: increase the detection and arbitration of service conflicts in at least one layer of non-access stratum NAS, access stratum AS, and physical layer of multiple cards (such as dual card, triple card, etc.) (Monitor and Arbitrator, MA Modules ensure that multimode multi-card phones can access shared resources without conflict. Compared with the prior art, since the MA module is added in at least one layer of the NAS/AS/PHY type, it is possible to prevent multiple cards from simultaneously accessing the shared resources, causing errors and thus reducing the user experience, compared to the applicability of the present invention. Stronger and better user experience. In addition, because it allows the use of a single-chip, single-group RF architecture to achieve dual-card terminals, the terminal cost is greatly reduced.

在一些實施方式中,本發明的示例方法和示例裝置可以但不 限於使用於GSM/UMTS/LTE/LTE-A移動通信系統中或者其他現有或者未來的無線通信系統中。另外,雖然本發明的一些實施例和附圖以雙模雙卡終端為背景對本發明的原理進行介紹,但是實施例同樣可以適用於多模多卡(諸如三模三卡等)的具有類似業務衝突問題的移動終端。 In some embodiments, example methods and example devices of the present invention may, but not It is limited to use in GSM/UMTS/LTE/LTE-A mobile communication systems or other existing or future wireless communication systems. In addition, although some embodiments of the present invention and the accompanying drawings introduce the principles of the present invention in the context of a dual mode dual card terminal, the embodiments are equally applicable to multi-mode multi-card (such as three-mode three-card, etc.) having similar services. Mobile terminal for conflict issues.

另外,應當理解圖7的軟體組成僅是示例性的,實際上關於本發明的實施例中所描述的方法、模組、單元可以通過各種手段來實施。例如,這些方法、模組、單元可以以硬體(一個或多個設備)、固件(一個或多個設備)、軟體(一個或多個模組)或者其組合來實施。對於硬體實施方式而言,該技術、模組、單元可以在一個或多個應用特定積體電路(ASIC)、數位信號處理器(DSP)、數位信號處理器設備(DSPD)、可編程邏輯設備(PLD)、現場可編程閘陣列(FPGA)、處理器、控制器、微控制器、微處理器、數位增強電路、被設計為執行這裏所描述的功能的其他電子單元,或者他們的組合內被實施。對於固件或軟體而言,可以通過執行這 裏所描述的功能的至少一個晶片組的模組(例如,過程、功能等)來實現該方法、模組、單元。軟體代碼可以存儲在記憶體單元中並且由處理器所執行。該存儲區單元可以在處理器內或處理器之外進行實施。在後者的情況下,如本領域已知的,其可以經由各種手段通信上耦合至處理器。除此之外,這裏所描述的系統的元件可以通過額外的元件被重新部署和/或補充以便促成實現關於其所描述的各個方面等,並且如本領域技術人員將會理解的,它們並不局限於給定附圖中所給出的確切的配置形式。 In addition, it should be understood that the software composition of FIG. 7 is merely exemplary, and the methods, modules, and units described in the embodiments of the present invention may be implemented by various means. For example, the methods, modules, and units can be implemented in hardware (one or more devices), firmware (one or more devices), software (one or more modules), or a combination thereof. For hardware implementations, the technology, module, and unit may be in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processor devices (DSPDs), programmable logic Device (PLD), Field Programmable Gate Array (FPGA), processor, controller, microcontroller, microprocessor, digital enhancement circuitry, other electronic units designed to perform the functions described herein, or a combination thereof It is implemented inside. For firmware or software, you can do this by The method, module, unit of the at least one chipset module (eg, process, function, etc.) of the functions described herein. The software code can be stored in the memory unit and executed by the processor. The memory unit can be implemented within the processor or external to the processor. In the latter case, it can be communicatively coupled to the processor via various means as is known in the art. In addition, elements of the systems described herein may be redeployed and/or supplemented by additional elements to facilitate the implementation of various aspects described herein, and as those skilled in the art will understand, they are not It is limited to the exact configuration given in the given figures.

從上述描述應當理解,隨著技術發展,本發明概念可以以各種方式來實施。本發明及其實施例並不局限於以上所描述的示例,其範圍僅由權利要求書限定。 It will be understood from the above description that the concept of the invention may be implemented in various ways as the technology evolves. The invention and its embodiments are not limited to the examples described above, the scope of which is defined only by the claims.

200~204‧‧‧流程步驟 200~204‧‧‧ Process steps

Claims (24)

一種在多模多卡終端中處理業務衝突的方法,包括在所述多模多卡終端中每張卡的非接入層、接入層和物理層中的至少一層中執行以下操作:確定可能出現衝突的業務和/或事件;設定所述業務和/或事件的相應優先順序;以及根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 A method for processing a service conflict in a multimode multi-card terminal, comprising: performing at least one of a non-access stratum, an access stratum, and a physical layer of each card in the multi-mode multi-card terminal: determining possible Conflicting services and/or events; setting a corresponding priority order for the services and/or events; and caching or executing the services and/or events in accordance with the prioritization and predetermined rules. 根據權利要求1所述的方法,其中所述確定包括在計畫執行新的業務和/或事件時檢測其他卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件。 The method of claim 1, wherein the determining comprises detecting services and/or events that are being executed or to be executed by a corresponding layer of other cards when the program is executing new services and/or events, and determining possible based on the detection results Conflicting business and/or events. 根據權利要求2所述的方法,其中所述檢測包括檢測其他卡的對應層中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 The method of claim 2 wherein said detecting comprises detecting common information in a corresponding layer of other cards to obtain services and/or events that are being executed or are about to be performed. 根據權利要求1所述的方法,還包括:為以下業務和/或事件預先設定由高到低的優先順序:電路交換語音業務/位置更新/路由區更新/附著/去附著;分組交換資料業務;社區選擇和社區重選;同頻/異頻測量;異系統測量;以及背景公共陸地移動網路搜索。 The method of claim 1 further comprising pre-setting a high to low priority order for: the following services: circuit switched voice service/location update/routing area update/attach/de-attach; packet switched data service Community selection and community re-election; co-frequency/inter-frequency measurements; heterogeneous system measurements; and background public land mobile network search. 根據權利要求1所述的方法,其中所述預定規則包括以下規則中的至少一個: 規則1:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做同等優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件;規則2:如果在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則3:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件並且通過共用資訊指示所述緩存,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則4:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在執行更低優先順序的業務和/或事件,則通知所述另一張卡的對應層中斷並且緩存正在執行的所述更低優先順序的業務和/或事件,並且促使執行所述計畫執行的新的業務和/或事件;規則5:如果一卡有業務和/或事件被緩存,並且從任何另一張卡的對應層收到包括可以執行所緩存的所述業務和/或事件的指示的通知,則執行所緩存的業務和/或事件;規則6:如果業務和/或事件執行完畢,則向另一張卡的對應層發送通知,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示; 規則7:如果一卡業務和/或事件執行完畢,則向另一張卡的對應層發送通知並且更新共用資訊,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;所述更新共用資訊包括將執行完畢的事件的資訊從所述共用相信中清除。規則8:如果一卡業務和/或事件執行期間,收到了新的業務和/或事件,則比較收到的新的業務和/或事件的優先順序與另一張卡對應層緩存的業務和/或事件的優先順序;並且如果收到的新的業務和/或事件的優先順序高於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,繼續執行收到的新的業務和/或事件而不通知所述另一張卡;並且如果收到的新的業務和/或事件的優先順序低於或者等於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,通知所述另一張卡;規則9:如果業務和/或事件執行期間,從另一張卡的對應層收到包括中斷當前所執行的業務和/或事件的指示的通知,則中斷並且緩存當前所執行的業務和/或事件。 The method of claim 1 wherein said predetermined rule comprises at least one of the following rules: Rule 1: If a card detects that the corresponding layer of any other card is doing the same priority of the service and/or event while the project is executing a new service and/or event, then causing the cache to execute the plan New business and/or event; Rule 2: If a new business and/or event is scheduled to be executed, it is detected that the corresponding layer of any other card is doing higher priority services and/or events, Caching new services and/or events executed by the plan, or discarding the plan to execute new services and/or events and reverting to a state prior to the plan executing new services and/or events; Rule 3 : If a card detects that a corresponding layer of any other card is doing a higher priority service and/or event while the program is executing a new service and/or event, then causing the cache to execute the new execution of the plan Business and/or event and indicate the cache by sharing information, or discarding the plan to perform new services and/or events and reverting to a state prior to execution of the new service and/or event by the plan; Rule 4 : If a card is in the plan When a new service and/or event is detected, it is detected that the corresponding layer of any other card is performing a lower priority service and/or event, then the corresponding layer of the other card is notified to be interrupted and the cache is being executed. The lower priority order of services and/or events and cause new services and/or events to be executed by the plan; rule 5: if a card has services and/or events are cached, and from any other The corresponding layer of the card receives the notification including the indication that the cached service and/or event can be executed, and then executes the cached service and/or event; rule 6: if the service and/or event is executed, then A corresponding layer of another card sends a notification, the notification including an indication that the corresponding layer of the other card can perform the cached service and/or event; Rule 7: if a card service and/or event is executed, sending a notification to the corresponding layer of the other card and updating the sharing information, the notification including the corresponding layer of the other card may perform the cached An indication of the service and/or the event; the updating the shared information includes clearing information of the executed event from the shared belief. Rule 8: If a new service and/or event is received during the execution of a card service and/or event, the priority of the received new service and/or event is compared with that of the other card corresponding layer cache. / or the priority of the event; and if the priority of the new service and/or event received is higher than the priority of the service and/or event cached by the corresponding layer of the other card, the current service and/or event After the execution ends, the new service and/or event received is not executed without notifying the other card; and if the new service and/or event received is prioritized less than or equal to the other one The card corresponds to the priority order of the services and/or events cached by the layer, and the other card is notified after the current service and/or event is executed; Rule 9: If another card is executed during the execution of the service and/or event The corresponding layer receives a notification including an indication of interrupting the currently executing service and/or event, then interrupts and caches the currently executed service and/or event. 根據權利要求1所述的方法,還包括在所述確定可能出現衝突的業務和/或事件之前或過程中設定所述預定規則。 The method of claim 1 further comprising setting said predetermined rule before or during said determining a service and/or event in which a conflict may occur. 根據權利要求1所述的方法,其中所述根據所述優先順序和預定規則緩存或者執行所述業務和/或事件包括根據所述優先順序和預定規則執行高優先順序的業務和/或事件,並且在所述高優先順序業務和/或事件執行開始時和完畢後中的至少一種情況下通知另一張卡,其中在執行開始時通知另一張卡包括通知在對應層與之有業務和/或事件衝突的另 一張卡中斷並緩存其正在執行的業務和/或事件,並且其中在執行完畢後通知另一張卡包括通知在對應層具有緩存業務和/或事件的另一張卡開始執行其緩存的業務和/或事件。 The method of claim 1 wherein said caching or executing said services and/or events in accordance with said prioritization and predetermined rules comprises performing high priority services and/or events in accordance with said prioritization and predetermined rules, And notifying another card in at least one of the start and the completion of the high priority service and/or event execution, wherein notifying the other card at the start of execution includes notifying that the corresponding layer has a service and / or another event conflict A card interrupts and caches the services and/or events it is executing, and wherein notifying another card after execution is complete includes notifying another card that has cached services and/or events at the corresponding layer to begin executing its cached service And / or events. 根據權利要求7所述的方法,其中在執行完畢後通知的所述另一張卡為在對應層具有緩存業務和/或事件的所有卡中,所述緩存的業務和/或事件的優先順序最高的卡。 The method of claim 7 wherein said another card notified after execution is in a card having cached services and/or events at a corresponding layer, said cached service and/or event prioritization The highest card. 根據權利要求1所述的方法,進一步包括在所述高優先順序的業務和/或事件執行完畢後更新共用資訊以便將所述高優先順序的業務和/或事件的資訊從所共用的資訊中清除。 The method of claim 1 further comprising updating the shared information after the execution of the high priority service and/or event to extract information of the high priority service and/or event from the shared information Clear. 根據權利要求1所述的方法,其中所述根據所述優先順序和預定規則緩存或者執行所述業務和/或事件包括根據所述優先順序和預定規則緩存低優先順序的業務和/或事件,並且在所述低優先順序業務和/或事件緩存時共用關於所述緩存的資訊。 The method of claim 1 wherein said caching or executing said services and/or events in accordance with said prioritization and predetermined rules comprises caching low priority services and/or events in accordance with said prioritization and predetermined rules, And sharing information about the cache at the time of the low priority service and/or event cache. 根據權利要求1-10中任一權利要求所述的方法,其中所有所述操作是在所述非接入層、所述接入層和所述物理層中的所有層中按照從高層到低層的順序執行的。 The method according to any one of claims 1 to 10, wherein all of said operations are in a hierarchy from said upper layer to lower layer in all of said non-access stratum, said access stratum and said physical layer The order is executed. 一種在多模多卡終端中處理業務衝突的裝置,包括:分佈在所述多模多卡終端中每張卡的非接入層、接入層和物理層中的至少一層中的一組檢測仲裁(MA)模組,並且所述一組MA模組中的每個MA模組包括:確定單元,用於確定可能出現衝突的業務和/或事件;優先順序設定單元,用於設定所述業務和/或事件的相應優先順序; 以及緩存/執行單元,用於根據所述優先順序和預定規則緩存或者執行所述業務和/或事件。 An apparatus for processing a service conflict in a multimode multi-card terminal, comprising: a group of detections in at least one of a non-access stratum, an access stratum, and a physical layer of each card distributed in the multi-mode multi-card terminal An arbitration (MA) module, and each of the set of MA modules includes: a determining unit for determining a service and/or an event that may be in conflict; a priority order setting unit configured to set the The corresponding priority of the business and/or event; And a cache/execution unit for caching or executing the service and/or event according to the prioritization and the predetermined rule. 根據權利要求12所述的裝置,其中所述確定可能出現衝突的業務和/或事件包括在計畫執行新的業務和/或事件時檢測其他卡的對應層正在執行或者將要執行的業務和/或事件,並基於檢測結果確定可能出現衝突的業務和/或事件。 The apparatus of claim 12, wherein said determining a service and/or event in which a conflict may occur includes detecting a service being executed or to be executed by a corresponding layer of another card when the program is executing a new service and/or event. Or an event, and based on the test results, identify the business and/or event that may be in conflict. 根據權利要求13所述的裝置,其中所述檢測包括檢測其他卡的對應層中的共用資訊以獲得正在執行或者將要執行的業務和/或事件。 The apparatus of claim 13 wherein said detecting comprises detecting common information in a corresponding layer of other cards to obtain services and/or events that are being executed or are about to be performed. 根據權利要求12所述的裝置,其中所述設定所述業務和/或事件的相應優先順序包括為以下業務和/或事件預先設定由高到低的優先順序:電路交換語音業務/位置更新/路由區更新/附著/去附著;分組交換資料業務;社區選擇和社區重選;同頻/異頻測量;異系統測量;以及背景公共陸地移動網路搜索。 The apparatus of claim 12, wherein said setting a respective priority order of said services and/or events comprises presetting a high to low priority order for: the following services: circuit switched voice service / location update / Routing area update/attach/de-attach; packet switched data service; community selection and community reselection; co-frequency/inter-frequency measurement; heterogeneous system measurement; and background public land mobile network search. 根據權利要求12所述的裝置,其中所述預定規則包括以下規則中的至少一個:規則1:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做同等優先順序的業務和/或事件,則促使緩存所述 計畫執行的新的業務和/或事件;規則2:如果在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則3:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在做更高優先順序的業務和/或事件,則促使緩存所述計畫執行的新的業務和/或事件並且通過共用資訊指示所述緩存,或者丟棄所述計畫執行新的業務和/或事件並且恢復到所述計畫執行新的業務和/或事件之前的狀態;規則4:如果一卡在計畫執行新的業務和/或事件時,檢測到任何另一張卡的對應層正在執行更低優先順序的業務和/或事件,則通知所述另一張卡的對應層中斷並且緩存正在執行的所述更低優先順序的業務和/或事件,並且促使執行所述計畫執行的新的業務和/或事件;規則5:如果一卡有業務和/或事件被緩存,並且從任何另一張卡的對應層收到包括可以執行所緩存的所述業務和/或事件的指示的通知,則執行所緩存的業務和/或事件;規則6:如果業務和/或事件執行完畢,則向另一張卡的對應層發送通知,所述通知包括所述另一張卡的對應層可以執行所緩存的所述業務和/或事件的指示;規則7:如果一卡的業務和/或事件執行完畢,則向另一張卡的對應層發送通知並且更新共用資訊,所述通知包括所述另一張卡的對應層可 以執行所緩存的所述業務和/或事件的指示;所述更新共用資訊包括將執行完畢的事件的資訊從所述共用相信中清除。規則8:如果一卡在業務和/或事件執行期間,收到了新的業務和/或事件,則比較收到的新的業務和/或事件的優先順序與另一張卡對應層緩存的業務和/或事件的優先順序;並且如果收到的新的業務和/或事件的優先順序高於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,繼續執行收到的新的業務和/或事件而不通知所述另一張卡;並且如果收到的新的業務和/或事件的優先順序低於或者等於所述另一張卡對應層緩存的業務和/或事件的優先順序,則當前業務和/或事件執行結束後,通知所述另一張卡;規則9:如果一卡業務和/或事件執行期間,從另一張卡的對應層收到包括中斷當前所執行的業務和/或事件的指示的通知,則中斷並且緩存當前所執行的業務和/或事件。 The apparatus of claim 12, wherein the predetermined rule comprises at least one of the following rules: Rule 1: If a card is executing a new service and/or event while the program is executing, detecting the correspondence of any other card Layers are doing the same priority for the business and/or events, causing the cache to New business and/or events planned to be executed; Rule 2: If a new service and/or event is scheduled to be executed, the corresponding layer of any other card is detected to be doing a higher priority service and/or An event, which causes a new service and/or event to be cached to be executed, or discards the plan to execute a new service and/or event and reverts to the plan before executing a new service and/or event State; Rule 3: If a card detects that a corresponding layer of any other card is doing a higher priority service and/or event while the program is executing a new service and/or event, then causing the cache to be counted Draw new services and/or events that are executed and indicate the cache by sharing information, or discard the plan to perform new services and/or events and revert to the plan before executing new services and/or events State; Rule 4: Notify the other if a card detects that the corresponding layer of any other card is performing a lower priority service and/or event while the program is executing a new service and/or event The corresponding layer of the card is interrupted and Caching the lower priority services and/or events being executed and causing new services and/or events to be executed by the plan; rule 5: if a card has services and/or events are cached, and Receiving a notification including an indication that the cached service and/or event can be executed from a corresponding layer of any other card, then executing the cached service and/or event; rule 6: if the service and/or event is executed Upon completion, a notification is sent to the corresponding layer of the other card, the notification including an indication that the corresponding layer of the other card can perform the cached service and/or event; rule 7: if a card service And/or when the event is completed, sending a notification to the corresponding layer of the other card and updating the sharing information, the notification including the corresponding layer of the other card Executing an indication of the cached service and/or event; the updating the shared information includes clearing information of the executed event from the shared belief. Rule 8: If a card receives a new service and/or event during the execution of the service and/or event, compares the priority of the received new service and/or event with the service cached by the other card. And/or prioritization of events; and if the priority of new services and/or events received is higher than the priority of the services and/or events cached by the corresponding layer of the other card, the current service and/or After the execution of the event, continue to execute the received new service and/or event without notifying the other card; and if the priority of the received new service and/or event is lower than or equal to the other The card corresponds to the priority order of the services and/or events cached by the layer, and the other card is notified after the current service and/or event is executed; rule 9: if one card service and/or event is executed during the period, The corresponding layer of a card receives a notification including an instruction to interrupt the currently executing service and/or event, and then interrupts and caches the currently executed service and/or event. 根據權利要求12所述的裝置,還包括預定規則設定單元,用於所述確定可能出現衝突的業務和/或事件之前或過程中設定所述預定規則。 The apparatus according to claim 12, further comprising a predetermined rule setting unit for setting said predetermined rule before or during said determining a service and/or event in which a collision may occur. 根據權利要求12所述的裝置,其中所述緩存/執行單元進一步包括通知單元,用於在高優先順序業務和/或事件執行開始時和完畢後中的至少一種情況下通知另一張卡,其中在執行開始時通知另一張卡包括通知在對應層與之有業務和/或事件衝突的另一張卡中斷並緩存其正在執行的業務和/或事件,並且其中在執行完畢後通知另一張卡包括通知在對應層具有緩存業務和/或事件的另一張卡開始執行其緩存的業務和/或事 件。 The apparatus according to claim 12, wherein said buffer/execution unit further comprises a notifying unit for notifying another card in at least one of a high priority order service and/or an event execution start and after completion, Notifying another card at the beginning of execution includes notifying another card that has a business and/or event conflict with the corresponding layer and interrupting the service and/or event that it is executing, and notifying the other after the execution is completed A card includes a service and/or thing that informs another card that has a cached service and/or event at the corresponding layer to begin its cache. Pieces. 根據權利要求18所述的裝置,其中在執行完畢後通知的所述另一張卡為在對應層具有緩存業務和/或事件的所有卡中,所述緩存的業務和/或事件的優先順序最高的卡。 The apparatus according to claim 18, wherein said another card notified after execution is a priority of said cached service and/or event in all cards having cached services and/or events at a corresponding layer The highest card. 根據權利要求12所述的裝置,其中進一步包括資訊共用單元,用於在業務和/或事件執行完畢後更新共用資訊以便將所述業務和/或事件的資訊從所共用的資訊中清除。 The apparatus of claim 12, further comprising an information sharing unit for updating the shared information after the execution of the service and/or event to clear the information of the service and/or event from the shared information. 根據權利要求12所述的裝置,其中進一步包括資訊共用單元,用於在低優先順序業務和/或事件緩存時共用關於所述緩存的資訊。 The apparatus of claim 12, further comprising an information sharing unit for sharing information about the cache during low priority order service and/or event buffering. 根據權利要求12-21中任一權利要求所述的裝置,其中所述MA模組分佈在所述非接入層、所述接入層和所述物理層中的所有層中,並且所有操作被按照從高層到低層的順序執行。 The apparatus according to any one of claims 12-21, wherein said MA module is distributed in all of said non-access stratum, said access stratum and said physical layer, and all operations It is executed in order from the upper layer to the lower layer. 一種多模多卡終端,包括根據權利要求12-22中任一權利要求所述的裝置。 A multimode multi-card terminal comprising the apparatus of any of claims 12-22. 根據權利要求23所述的多模多卡終端,進一步包括:用於所述多卡的公用的物理層及射頻模組,以及針對所述多卡中的每張卡的各自的SIM卡模組、非接入層模組、接入層模組和物理層模組,其中每個模組均可支援所述多模通信協定,也可支援用戶為任意一張SIM卡任意選擇某一模或多模組合通信協定。 The multimode multi-card terminal of claim 23, further comprising: a common physical layer and a radio frequency module for the multi-card, and a respective SIM card module for each of the plurality of cards a non-access layer module, an access layer module, and a physical layer module, wherein each module can support the multi-mode communication protocol, and can also support a user to select a certain mode for any SIM card or Multi-mode combined communication protocol.
TW103103302A 2013-05-07 2014-05-05 Multi-mode multi-card mobile terminal, service conflict resolving method and apparatus thereof TW201444330A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201361820434P 2013-05-07 2013-05-07

Publications (1)

Publication Number Publication Date
TW201444330A true TW201444330A (en) 2014-11-16

Family

ID=51853457

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103103302A TW201444330A (en) 2013-05-07 2014-05-05 Multi-mode multi-card mobile terminal, service conflict resolving method and apparatus thereof

Country Status (2)

Country Link
CN (1) CN104144406A (en)
TW (1) TW201444330A (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611485A (en) * 2015-07-27 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Sharing method, sharing device and sharing system for virtual SIM card
CN105306681B (en) 2015-09-18 2020-10-09 华为技术有限公司 Management method and device supporting multiple SIM cards to share RF processor
US10631315B2 (en) * 2015-09-25 2020-04-21 Apple Inc. Communication device and method for performing radio communication
CN107950049A (en) * 2015-09-30 2018-04-20 富士通株式会社 The overlapping detection of resource and processing method, device and system
CN106792628B (en) * 2015-11-24 2020-05-26 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal service conflict processing method and device
CN105554884A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method and device for paging response
CN105916208B (en) 2016-04-14 2019-10-22 华为技术有限公司 A kind of resource allocation methods and communication terminal
CN105979501B (en) * 2016-06-29 2019-08-16 北京小米移动软件有限公司 Resource allocation methods and device
CN106793063B (en) * 2016-12-20 2020-04-03 深圳市万普拉斯科技有限公司 Data attachment control method and device
CN107579953A (en) * 2017-07-31 2018-01-12 新奥泛能网络科技股份有限公司 A kind of multi-standby terminal IMS signaling datas send guard method
US11240740B2 (en) 2017-09-29 2022-02-01 Huawei Technologies Co., Ltd. Method for processing radio frequency resources and terminal
CN110139320B (en) * 2018-02-02 2022-09-02 北京小米松果电子有限公司 Method, device, medium and terminal for processing service conflict of multi-card communication terminal
CN110418329B (en) * 2018-04-28 2023-11-17 华为技术有限公司 Wireless communication device and wireless communication method
WO2020227914A1 (en) * 2019-05-14 2020-11-19 北京小米移动软件有限公司 Method and apparatus for improving service continuity, and medium
CN110495209B (en) * 2019-06-25 2023-11-14 小米通讯技术有限公司 Method and device for determining wireless resources
CN110708730A (en) * 2019-09-18 2020-01-17 翱捷科技(上海)有限公司 Multi-mode multi-card mobile terminal and mobility management method thereof
CN116648980A (en) * 2020-09-29 2023-08-25 Oppo广东移动通信有限公司 Method and device for updating position and terminal equipment
CN112437132B (en) * 2020-11-11 2021-09-24 重庆南华中天信息技术有限公司 Service resource sharing method based on cloud computing and digital upgrading and cloud server
CN112468182A (en) * 2020-11-23 2021-03-09 杭州海康威视数字技术股份有限公司 Data transmission device, method and readable storage medium
WO2022147721A1 (en) * 2021-01-07 2022-07-14 北京小米移动软件有限公司 Capability sending method and apparatus, and capability receiving method and apparatus
CN112929948A (en) * 2021-02-05 2021-06-08 锐迪科微电子科技(上海)有限公司 Wireless network searching method and device
CN115499933A (en) * 2022-08-29 2022-12-20 乐鑫信息科技(上海)股份有限公司 Wireless communication method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6407972B1 (en) * 1999-10-20 2002-06-18 Sony Corporation Editing apparatus and editing method
US7894466B2 (en) * 2006-12-29 2011-02-22 Nokia Corporation Apparatus, methods and computer program products providing pattern masking and traffic rule matrix scheduling for multiradio control
CN100574485C (en) * 2007-12-13 2009-12-23 展讯通信(上海)有限公司 A kind of method that solves service collision of dual-card dual-standby mobile phone
CN101203005B (en) * 2007-12-13 2010-12-08 展讯通信(上海)有限公司 Method for solving single chip double card double mobile phone major-minor card wave carrier conflict
US9565715B2 (en) * 2010-05-13 2017-02-07 Mediatek Inc. Apparatuses and methods for coordinating operations between circuit switched (CS) and packet switched (PS) services with different subscriber identity cards, and machine-readable storage medium

Also Published As

Publication number Publication date
CN104144406A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
TW201444330A (en) Multi-mode multi-card mobile terminal, service conflict resolving method and apparatus thereof
CN111386727B (en) Cell reselection method, cell reselection device, information transmission method, information transmission device, communication equipment and storage medium
TWI586121B (en) Methods and apparatus to manage data connections for multiple subscriber identities in a wireless communication device
TWI583238B (en) Methods and apparatus to support parallel communication for multiple subscriber identities in a wireless communication device
TWI559788B (en) Methods and apparatus to reuse wireless circuitry for multiple subscriber identities in a wireless communication device
JP2021522750A (en) Communication method and communication device
US10098003B2 (en) Access node, a communication device, respective method performed thereby for carrier hopping
RU2719348C1 (en) Paging method and paging device
TW201404114A (en) Delaying network reselection following performance of a circuit switched fallback procedure in a call failure scenario
TW201832532A (en) Enhancing data performance in multi-subscriber identity module (sim) wireless communication devices
US9986465B2 (en) Method and system for returning to long term evolution network and mobile switching center
US20220279410A1 (en) Connection configuration method and apparatus, communication device and storage medium
WO2021213217A1 (en) Measurement relaxation method and communication device
US9258838B2 (en) Communication apparatus and a timing method thereof
CN111417111A (en) Data processing method and network equipment
TWI511510B (en) Mobile communication devices and methods for camping back to lte-based network after finishing csfb call with non-lte network
WO2020135628A1 (en) Paging message monitoring method and apparatus
JP2021520131A (en) Communication method and communication device
WO2020192387A1 (en) Request processing method, related apparatus and system
WO2019071986A1 (en) Search period determination method and device
WO2012100594A1 (en) Method and system for avoiding inter-mode interference by terminal
WO2021026929A1 (en) Communication method and apparatus
WO2014131176A1 (en) Wireless communication method and device
CN110062394B (en) Method and device for updating system message
CN108464038B (en) Circuit domain fallback method, base station, mobile management entity and terminal