Arbitrating Resource Acquisition For Applications of a Multi-Processor Mobile Communications Device
In an embodiment, a multi-processor mobile communications device includes a first processor system executing a concurrency manager server application (CMSA) and a second processor system executing a concurrency manager client application (CMCA). The CMSA determines priority levels related to access to resources for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system. The CMSA notifies the CMCA of the determined priorities. The CMSA and the CMCA each then selectively grant or reject access to the resources for the first and second sets of applications, respectively, based on the determined priorities levels. In another embodiment, if the CMSA or CMCA rejects an application's request to access resources, the CMSA or CMCA can determine availability of alternative resources by which the requesting application can achieve its goal.
Latest QUALCOMM INCORPORATED Patents:
- User equipment (UE)-initiated discontinuous reception (DRX) medium access control (MAC) control element (MAC-CE)
- Techniques for time alignment of measurement gaps and frequency hops
- Configuration for legacy voice support in 5G
- Configuring beam management based on skipped transmissions of signals associated with beam management
- Distributed device management for positioning
The present Application for Patent claims priority to Provisional Application No. 61/413,780 entitled “ARBITRATING RESOURCE ACQUISITION FOR APPLICATIONS OF A MULTI-PROCESSOR MOBILE COMMUNICATIONS DEVICE”, filed Nov. 15, 2010, and assigned to the assignee hereof and hereby expressly incorporated by reference herein.
BACKGROUND1. Field of the Invention
Embodiments of the invention relate to arbitrating resource acquisition for applications of a mobile communications device.
2. Relevant Background
Wireless communication systems have developed through various generations, including a first-generation analog wireless phone service (1G), a second-generation (2G) digital wireless phone service (including interim 2.5G and 2.75G networks) and a third-generation (3G) high speed data/Internet-capable wireless service. There are presently many different types of wireless communication systems in use, including Cellular and Personal Communications Service (PCS) systems. Examples of known cellular systems include the cellular Analog Advanced Mobile Phone System (AMPS), and digital cellular systems based on Code Division Multiple Access (CDMA), Frequency Division Multiple Access (FDMA), Orthogonal FDMA (OFDMA), Time Division Multiple Access (TDMA), the Global System for Mobile access (GSM) variation of TDMA, and newer hybrid digital communication systems using both TDMA and CDMA technologies.
The method for providing CDMA mobile communications was standardized in the United States by the Telecommunications Industry Association/Electronic Industries Association in TIA/EIA/IS-95-A entitled “Mobile Station-Base Station Compatibility Standard for Dual-Mode Wideband Spread Spectrum Cellular System,” referred to herein as IS-95. Combined AMPS & CDMA systems are described in TIA/EIA Standard IS-98. Other communications systems are described in the IMT-2000/UM, or International Mobile Telecommunications System 2000/Universal Mobile Telecommunications System, standards covering what are referred to as wideband CDMA (W-CDMA), CDMA2000 (such as CDMA2000 1xEV-DO standards, for example) or TD-SCDMA.
In W-CDMA wireless communication systems, user equipments (UEs) receive signals from fixed position Node Bs (also referred to as cell sites or cells) that support communication links or service within particular geographic regions adjacent to or surrounding the base stations. Node Bs provide entry points to an access network (AN)/radio access network (RAN), which is generally a packet data network using standard Internet Engineering Task Force (IETF) based protocols that support methods for differentiating traffic based on Quality of Service (QoS) requirements. Therefore, the Node Bs generally interacts with UEs through an over the air interface and with the RAN through Internet Protocol (IP) network data packets.
In wireless telecommunication systems, Push-to-talk (PTT) capabilities are becoming popular with service sectors and consumers. PTT can support a “dispatch” voice service that operates over standard commercial wireless infrastructures, such as W-CDMA, CDMA, FDMA, TDMA, GSM, etc. In a dispatch model, communication between endpoints (e.g., UEs) occurs within virtual groups, wherein the voice of one “talker” is transmitted to one or more “listeners.” A single instance of this type of communication is commonly referred to as a dispatch call, or simply a PTT call. A PTT call is an instantiation of a group, which defines the characteristics of a call. A group in essence is defined by a member list and associated information, such as group name or group identification.
SUMMARYIn an embodiment, a multi-processor mobile communications device includes a first processor system executing a concurrency manager server application (CMSA) and a second processor system executing a concurrency manager client application (CMCA). The CMSA determines priority levels related to access to resources for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system. The CMSA notifies the CMCA of the determined priorities. The CMSA and the CMCA each then selectively grant or reject access to the resources for the first and second sets of applications, respectively, based on the determined priorities levels. In another embodiment, if the CMSA or CMCA rejects an application's request to access resources, the CMSA or CMCA can determine availability of alternative resources by which the requesting application can achieve its goal.
A more complete appreciation of embodiments of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings which are presented solely for illustration and not limitation of the invention, and in which:
Aspects of the invention are disclosed in the following description and related drawings directed to specific embodiments of the invention. Alternate embodiments may be devised without departing from the scope of the invention. Additionally, well-known elements of the invention will not be described in detail or will be omitted so as not to obscure the relevant details of the invention.
The words “exemplary” and/or “example” are used herein to mean “serving as an example, instance, or illustration.” Any embodiment described herein as “exemplary” and/or “example” is not necessarily to be construed as preferred or advantageous over other embodiments. Likewise, the term “embodiments of the invention” does not require that all embodiments of the invention include the discussed feature, advantage or mode of operation.
Further, many embodiments are described in terms of sequences of actions to be performed by, for example, elements of a computing device. It will be recognized that various actions described herein can be performed by specific circuits (e.g., application specific integrated circuits (ASICs)), by program instructions being executed by one or more processors, or by a combination of both. Additionally, these sequence of actions described herein can be considered to be embodied entirely within any form of computer readable storage medium having stored therein a corresponding set of computer instructions that upon execution would cause an associated processor to perform the functionality described herein. Thus, the various aspects of the invention may be embodied in a number of different forms, all of which have been contemplated to be within the scope of the claimed subject matter. In addition, for each of the embodiments described herein, the corresponding form of any such embodiments may be described herein as, for example, “logic configured to” perform the described action.
A High Data Rate (HDR) subscriber station, referred to herein as user equipment (UE), may be mobile or stationary, and may communicate with one or more access points (APs), which may be referred to as Node Bs. A UE transmits and receives data packets through one or more of the Node Bs to a Radio Network Controller (RNC). The Node Bs and RNC are parts of a network called a radio access network (RAN). A radio access network can transport voice and data packets between multiple UEs.
The radio access network may be further connected to additional networks outside the radio access network, such core network including specific carrier related servers and devices and connectivity to other networks such as a corporate intranet, the Internet, public switched telephone network (PSTN), a Serving General Packet Radio Services (GPRS) Support Node (SGSN), a Gateway GPRS Support Node (GGSN), and may transport voice and data packets between each UE and such networks. A UE that has established an active traffic channel connection with one or more Node Bs may be referred to as an active UE, and can be referred to as being in a traffic state. A UE that is in the process of establishing an active traffic channel (TCH) connection with one or more Node Bs can be referred to as being in a connection setup state. A UE may be any data device that communicates through a wireless channel or through a wired channel. A UE may further be any of a number of types of devices including but not limited to PC card, compact flash device, external or internal modem, or wireless or wireline phone. The communication link through which the UE sends signals to the Node B(s) is called an uplink channel (e.g., a reverse traffic channel, a control channel, an access channel, etc.). The communication link through which Node B(s) send signals to a UE is called a downlink channel (e.g., a paging channel, a control channel, a broadcast channel, a forward traffic channel, etc.). As used herein the term traffic channel (TCH) can refer to either an uplink/reverse or downlink/forward traffic channel.
Referring back to
The RAN 120 controls messages (typically sent as data packets) sent to a RNC 122. The RNC 122 is responsible for signaling, establishing, and tearing down bearer channels (i.e., data channels) between a Serving General Packet Radio Services (GPRS) Support Node (SGSN) and the UEs 102/108/110/112. If link layer encryption is enabled, the RNC 122 also encrypts the content before forwarding it over the air interface 104. The function of the RNC 122 is well-known in the art and will not be discussed further for the sake of brevity. The core network 126 may communicate with the RNC 122 by a network, the Internet and/or a public switched telephone network (PSTN). Alternatively, the RNC 122 may connect directly to the Internet or external network. Typically, the network or Internet connection between the core network 126 and the RNC 122 transfers data, and the PSTN transfers voice information. The RNC 122 can be connected to multiple Node Bs 124. In a similar manner to the core network 126, the RNC 122 is typically connected to the Node Bs 124 by a network, the Internet and/or PSTN for data transfer and/or voice information. The Node Bs 124 can broadcast data messages wirelessly to the UEs, such as cellular telephone 102. The Node Bs 124, RNC 122 and other components may form the RAN 120, as is known in the art. However, alternate configurations may also be used and the invention is not limited to the configuration illustrated. For example, in another embodiment the functionality of the RNC 122 and one or more of the Node Bs 124 may be collapsed into a single “hybrid” module having the functionality of both the RNC 122 and the Node B(s) 124.
Generally, GPRS is a protocol used by Global System for Mobile communications (GSM) phones for transmitting Internet Protocol (IP) packets. The GPRS Core Network (e.g., the GGSN 165 and one or more SGSNs 160) is the centralized part of the GPRS system and also provides support for W-CDMA based 3G networks. The GPRS core network is an integrated part of the GSM core network, provides mobility management, session management and transport for IP packet services in GSM and W-CDMA networks.
The GPRS Tunneling Protocol (GTP) is the defining IP protocol of the GPRS core network. The GTP is the protocol which allows end users (e.g., access terminals) of a GSM or W-CDMA network to move from place to place while continuing to connect to the internet as if from one location at the GGSN 165. This is achieved transferring the subscriber's data from the subscriber's current SSGN 160 to the GGSN 165, which is handling the subscriber's session.
Three forms of GTP are used by the GPRS core network; namely, (i) GTP-U, (ii) GTP-C and (iii) GTP′ (GTP Prime). GTP-U is used for transfer of user data in separated tunnels for each packet data protocol (PDP) context. GTP-C is used for control signaling (e.g., setup and deletion of PDP contexts, verification of GSN reach-ability, updates or modifications such as when a subscriber moves from one SGSN to another, etc.). GTP′ is used for transfer of charging data from GSNs to a charging function.
Referring to
The SGSN 160 is representative of one of many SGSNs within the core network 126, in an example. Each SGSN is responsible for the delivery of data packets from and to the UEs within an associated geographical service area. The tasks of the SGSN 160 includes packet routing and transfer, mobility management (e.g., attach/detach and location management), logical link management, and authentication and charging functions. The location register of the SGSN stores location information (e.g., current cell, current VLR) and user profiles (e.g., IMSI, PDP address(es) used in the packet data network) of all GPRS users registered with the SGSN 160, for example, within one or more PDP contexts for each user or UE. Thus, SGSNs are responsible for (i) de-tunneling downlink GTP packets from the GGSN 165, (ii) uplink tunnel IP packets toward the GGSN 165, (iii) carrying out mobility management as UEs move between SGSN service areas and (iv) billing mobile subscribers. As will be appreciated by one of ordinary skill in the art, aside from (i)-(iv), SGSNs configured for GSM/EDGE networks have slightly different functionality as compared to SGSNs configured for W-CDMA networks.
The RAN 120 (e.g., or UTRAN, in Universal Mobile Telecommunications System (UMTS) system architecture) communicates with the SGSN 160 via a Iu interface, with a transmission protocol such as Frame Relay or IP. The SGSN 160 communicates with the GGSN 165 via a Gn interface, which is an IP-based interface between SGSN 160 and other SGSNs (not shown) and internal GGSNs, and uses the GTP protocol defined above (e.g., GTP-U, GTP-C, GTP', etc.). While not shown in
The PDP context is a data structure present on both the SGSN 160 and the GGSN 165 which contains a particular UE's communication session information when the UE has an active GPRS session. When a UE wishes to initiate a GPRS communication session, the UE must first attach to the SGSN 160 and then activate a PDP context with the GGSN 165. This allocates a PDP context data structure in the SGSN 160 that the subscriber is currently visiting and the GGSN 165 serving the UE's access point.
Referring to
Further, referring to
Referring to
Accordingly, an embodiment of the invention can include a UE including the ability to perform the functions described herein. As will be appreciated by those skilled in the art, the various logic elements can be embodied in discrete elements, software modules executed on a processor or any combination of software and hardware to achieve the functionality disclosed herein. For example, Processor 1207, Processor II 208, memory 212, API 210 and local database 214 may all be used cooperatively to load, store and execute the various functions disclosed herein and thus the logic to perform these functions may be distributed over various elements. Alternatively, the functionality could be incorporated into one discrete component. Therefore, the features of the UE 200 in
Further, UE 200 is shown as including a plurality of subscriber identity modules (SIMs) 1 . . . N, 244. Thus, UE 200 corresponds to a multi-SIM UE, as will be described in more detail below.
The wireless communication between the UE 102 or 200 and the RAN 120 can be based on different technologies, such as code division multiple access (CDMA), W-CDMA, time division multiple access (TDMA), frequency division multiple access (FDMA), Orthogonal Frequency Division Multiplexing (OFDM), the Global System for Mobile Communications (GSM), or other protocols that may be used in a wireless communications network or a data communications network. For example, in W-CDMA, the data communication is typically between the client device 102, Node B(s) 124, and the RNC 122. The RNC 122 can be connected to multiple data networks such as the core network 126, PSTN, the Internet, a virtual private network, a SGSN, a GGSN and the like, thus allowing the UE 102 or 200 access to a broader communication network. As discussed in the foregoing and known in the art, voice transmission and/or data can be transmitted to the UEs from the RAN using a variety of networks and configurations. Accordingly, the illustrations provided herein are not intended to limit the embodiments of the invention and are merely to aid in the description of aspects of embodiments of the invention.
Below, embodiments of the invention are generally described in accordance with W-CDMA protocols and associated terminology (e.g., such as UE instead of mobile station (MS), mobile unit (MU), access terminal (AT), etc., RNC, contrasted with BSC in EV-DO, or Node B, contrasted with BS or MPT/BS in EV-DO, etc.). However, it will be readily appreciated by one of ordinary skill in the art how the embodiments of the invention can be applied in conjunction with wireless communication protocols other than W-CDMA (e.g., EV-DO, Long-Term Evolution (LTE), etc.).
On multi-processor handsets, most applications run on an application processor system on top of a High Level Operating Systems (HLOS) (e.g., Android, iOS, Windows Mobile, etc.). These applications are usually not particularly latency sensitive and are not closely tied to the air interface. However, for latency sensitive applications such as VoIP applications, the HLOS may be insufficient to support latency sensitive functionality, such as Quality of Service (QoS). Accordingly, latency sensitive applications can be handled by a modem processor system, which is separate from the application processor system, so that the latency sensitive applications can have more direct access to the air interface.
However, when different applications are running concurrently on the modem and application processor systems, problems can arise with respect to resource contention between the processor systems, whereby the resource cannot be assigned to more than a threshold number of applications (e.g., one) at a given time. For example, in terms of the audio output device or speakers of the handset, typical concurrency management solutions implemented by the HLOS block all other applications from access to the audio output device when a voice call is active, but otherwise do not enforce restrictions upon the applications on the modem and processor systems. Thus, it is possible that a first application (e.g., a VoIP application) on the modem processor system can attempt to access the audio output device at the same time as a second application (e.g., an MP3 application) on the application processor system, resulting in merged audio output that degrades the user experience. Additionally, the priorities for other applications may not be supported.
Referring to
Each of the client-executable applications 1_1 . . . N_1 are configured to interact with a concurrency manager server 410B. The concurrency manager server 410B is responsible for determining the priorities of applications for accessing one or more resources of the multi-processor UE. In particular, the concurrency manager server 410B determines the resource-access priorities for applications associated with each processor of the multi-processor UE (e.g., modem processor system applications, application processor system applications, etc.). In an embodiment, the concurrency manager server 410B tracks semaphores associated with the multi-processor UE's resources while permitting a locked resource used by a lower-priority application to be unlocked in response to a higher-priority application's request for the locked resource. Alternatively, the concurrency manager server 410B does not need to track external semaphores and instead can implement a passive or implied resource availability status, whereby the concurrency manager server 410B simply monitors which resources are currently available and which resources are being used and are thereby unavailable. In either case, the concurrency manager server 410B is equipped to determine out which resources are available or unavailable and further to determine whether an application requesting access to an unavailable resource has sufficient privileges to preempt a current application's use of that resource.
Referring to
While not shown in
As will be explained in more detail below, the concurrency manager server 410B monitors and determines priorities for one or more resources of the multi-processor UE, including but not limited to a display output device (e.g., a screen of the multi-processor UE), an audio output device (e.g., speakers and/or a microphone output of the multi-processor UE), a modem or antenna, a vibration output device, battery power, etc. The concurrency manager server 410B can collect information regarding the one or more monitored resources via communication with the first and/or second OS's 415B and 405B, from the client-executable applications 1_1 . . . N_1 directly or from the client-executable applications 1_2 . . . M_2 of the second processor system 450A via the concurrency manager client 420B. For example, the concurrency manager client 420B can send notifications regarding actual or desired resource-access of applications 1_2 . . . M_2 to the concurrency manager server 410B. The concurrency manager server 410B can use its monitored resource-access information to determine recommended priorities by which the applications 1_1 . . . N_1 and 1_2 . . . M_2 should access the associated resource. The concurrency manager server 410B may maintain a master list of each of applications 1_1 . . . N_1 as well as 1_2 . . . M_2, as well as their associated priorities. By notifying one or more concurrency manager clients (e.g., 420B) of the determined priorities, the applications 1_1 . . . N_1 and 1_2 . . . M_2 (via the concurrent manager server application 410B and the concurrency manager client application 420B, respectively) can determine whether to attempt access of the resource instead of simply acquiring the resource indiscriminately. Example implementations of application priority determination and notification are described below with respect to
In
While not shown in
For convenience of explanation, in
At some later point in time, assume that application 1_1 determines to access the at least one resource, 510A. For example, if application 1_1 corresponds to an MP3-player application, a user of the multi-processor UE may have requested to play a particular MP3 in 510A and informs the concurrency manager server 410B of the at least one resource to be used. Next, the concurrency manager server 410B evaluates the priority levels, 515A, associated with the at least one resource as indicated in 510A to determine whether any application of equal or higher priority than application 1_1 is already accessing the at least one resource. In this case, it is assumed that the at least one resource is not being accessed at this point, such that concurrency manager server 410B determines that it is permissible to access the at least one resource in 515A.
The concurrency manager server 410B notifies application 1_1 in 520A that it has priority to access the resource. It will be appreciated that the concurrency manager server 410B can also notify the concurrency manager client 420B at this time of the resource request/grant for application 1_1. Accordingly, after receiving approval from concurrency manager server 410B, application 1_1 begins to access the at least one resource in 525A. The concurrency manager server 410B updates its records to reflect that application 1_1 is accessing the at least one resource, and then sends a notification to concurrency manager client 420B to inform concurrency manager client 420B that the at least one resource is being accessed by application 1_1, in 530A.
At some later point in time, assume that application 1_2 determines to access the at least one resource that is already being accessed by application 1_1, 535A. For example, if application 1_2 corresponds to a VoIP application, 535A can include a VoIP call announcement message arriving at the multi-processor UE. Next, concurrency manager client 420B evaluates whether application 1_2 can access the at least one resource by evaluating the priority levels of applications in association with the at least one resource, 540A. For example, in 540A, concurrency manager client 420B can determine whether any applications with a priority greater than or equal to the priority of application 1_2 are currently accessing the at least one resource, and if not, concurrency manager client 420B determines the resource can be accessed. In the embodiment of
After the notification 545A, application 1_2 can access the at least one resource in 560A, and sends a notification to the concurrency manager client 420B to report the resource access, 565A. Concurrently, notification 545A is received at the concurrency manager server 410B, which in turn sends a notification 550A to application 1_1 to release the at least one resource. Optionally, concurrency manager server 410B can perform a separate evaluation to confirm the decision in 540A, prior to sending the notification 550A. Upon receipt of 550A, application 1_1 stops accessing the at least one resource in 555A. In this scenario, there is no need to send a notification back to the concurrency manager client 420B, as the decision to grant the at least one resource to the higher priority application was already made and conveyed in 540A and 545A. In the alternative scenario described above, where the notification was delayed to application 1_2, after the release in 555A, the concurrency manager server 410B could send the notification to confirm availability back to the concurrency manager client 420B and also notify any additional clients. Regardless of the optional notification paths, the concurrency manager server 410B can updates its records to reflect that application 1_2 is accessing the at least one resource and distribute that information to any remaining clients.
At some later point in time, assume that application 1_2 stops accessing the at least one resource, 570A. For example, if application 1_2 corresponds to a VoIP application, 570A may correspond to termination of the VoIP communication session or call. Application 1_2 sends a notification to the concurrency manager server 410B to report the cessation of application 1_2's resource access, 575A. The concurrency manager server 410B updates its records to reflect that application 1_2 is no longer accessing the at least one resource and updates any concurrency manager clients. If there are still applications that are requesting access to the at least one resource released, the priority of the one or more applications can be evaluated. For example, if application 1_1 is still awaiting access to the at least one resource, an evaluation of the priority level, 580A, of that application can be performed. After the evaluation, notification, 585A, can be sent to application 1_1 to inform application 1_1 that the at least one resource is now available. As will be appreciated, the concurrency manager server 410B sends the notification of 585A to application 1_1 so that application 1_1 can (in its discretion) start a new access or resume its previous access of the at least one resource, 590A.
For example, if the at least one resource corresponds to an audio output device and application 1_1 corresponds to an MP3-player application, 590A can include resuming audio playback of a song that was ‘paused’ when the MP3-player application stopped its access to the audio output device in 555A. Application 1_1 sends a notification to the concurrency manager server 410B to report the resumption of application 1_1's resource access, 590A, and the concurrency manager server 410B updates its records to reflect that application 1_1 is accessing the at least one resource, and then sends a notification to concurrency manager client 420B and any other clients that the at least one resource is being accessed by application 1_1, in 595A.
Referring to
Referring to
Referring to
Referring to
At some later point in time, assume that application 1_2 determines to access the at least one resource, 610. In this case, it is assumed that the at least one resource is not being accessed at this point, such that concurrency manager client 420B determines that it is permissible for application 1_2 to access the at least one resource in 615. The concurrency manager client 420B notifies application 1_2 that the at least one resource is available, 620, and application 1_2 begins to access the at least one resource, 625. The concurrency manager client 420B also notifies the concurrency manager server 410B that the at least one resource is being accessed by application 1_2, 630.
At some later point in time while the at least one resource is still being accessed by application 1_2, assume that application 1_1 (with a higher priority than application 1_2) determines to access the at least one resource, 635. The concurrency manager server 410B evaluates the priority level of application 1_1 and determines application 1_1 to have a higher priority than application 1_2, 640. The concurrency manager server 410B notifies the concurrency manager client 420B that application 1_1 is requesting access to the resource and to cease application 1_2's access to the at least one resource, 645. The concurrency manager client 420B receives the notification and instructs application 1_2 to stop accessing the at least one resource, 650. Application 1_2 releases the at least one resource, 655, and the concurrency manager client 420B notifies the concurrency manager server 410B that the at least one resource is now available, 660. The concurrency manager server 410B notifies application 1_1 that the at least one resource is now available, 665, and application 1_1 begins to access the at least one resource, 670.
Referring to
Referring to
At some later point in time, assume that application 1_1 determines to access the at least one resource, 710. In this case, it is assumed that the at least one resource is not being accessed at this point, such that concurrency manager server 410 determines that it is permissible for application 1_1 to access the at least one resource in 715. The concurrency manager server 410B notifies application 1_1 that the at least one resource is available, 720, and application 1_1 begins to access the at least one resource, 725. The concurrency manager server 410B also notifies the concurrency manager client 420B that the at least one resource is being accessed by application 1_1, 730.
At some later point in time while the at least one resource is still being accessed by application 1_1, assume that application 1_2 (with a lower priority than application 1_1) determines to access the at least one resource, 735. The concurrency manager client 420B evaluates the priority level of application 1_2 and determines application 1_2 to have a lower priority than application 1_1, 740. Based on the determination from 740, the concurrency manager client 420B blocks application 1_2 from accessing the at least one resource, 745.
Referring to
The concurrency manager server 410B also one or more monitors system parameters, 905. For example, the system parameters monitored in 905 can include Time, Serving System, Battery Level(s), Bandwidth Usage, Application Registration or De-Registration, and/or Application Notifications Regarding Desired Access to the At Least One Resource. For example, the monitoring of 905 can be based on polling messages sent to one or more of applications 1_1 . . . N_1 and/or 1_2 . . . M_2, reports sent by one or more of applications 1_1 . . . N_1 and/or 1−2 . . . M_2 to the concurrency manager server 410B and/or based on queries sent by the concurrency manager server 410B to the HLOS or first OS 405B.
In 910, the concurrency manager server 410B selectively updates the priority levels for one or more of applications 1_1 . . . N_1 and 1_2 . . . N_2 for the at least one resource based on the monitored system parameters. For example, with respect to the time parameter, the concurrency manager server 410B can re-calculate or adjust the priority levels for one or more of applications 1_1 . . . N_1 and/or 1_2 . . . M_2 with respect to the at least one resource based on a current time. In another example, with respect to the serving system parameter, the concurrency manager server 410B can re-calculate or adjust the priority levels for one or more of applications 1_1 . . . N_1 and/or 1_2 . . . M_2 with respect to the at least one resource based on whether a serving system has changed (e.g., such that priority levels are at least partially serving system-specific).
Referring to 910 of
Referring to 910 of
After the priority levels are updated in 910 of
While the embodiments described above with respect to
Accordingly,
Referring to
Referring to
Referring to
Referring to
For example, the request of 1000 may request a first set of resources (e.g., audio resources) and also a second set of resources (e.g., video and modem resources) for a communication function of a videoconference call. In this case, the resource manager may block or reject the application from accessing the audio resource but may permit the application to access the video and modem resources in 1015 and 1020. Thus, the application can choose whether to participate in the videoconference without audio in this scenario based on the notification from 1020. Alternatively, the request of 1000 may request a first set of resources (e.g., audio resources) to initiate a communication function of contacting a call target via a voice call. If the audio resource is not available, the resource manager may detect that the communication function of contacting the call target can alternatively be achieved via SMS/text resources (e.g., modem resources) at 1010, and then recommend the SMS/text communication in lieu of the voice call. These examples will be described in more detail below with respect to
Referring to
At 1115, the concurrency manager determines that resources associated with simple message service (SMS) or texting are available for facilitating the communication function of contacting the call target (albeit, not with a voice call) (e.g., similar to 1015 of
Referring to
Accordingly, the concurrency manager notifies the video game application of the rejection of its prior privilege to access the audio resource (e.g., similar to 1010 of
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
While references in the above-described embodiments of the invention have generally used the terms ‘call’ and ‘session’ interchangeably, it will be appreciated that any call and/or session is intended to be interpreted as inclusive of actual calls between different parties, or alternatively to data transport sessions that technically may not be considered as ‘calls’. Also, while above-embodiments have generally described with respect to PTT sessions, other embodiments can be directed to any type of communication session, such as a push-to-transfer (PTX) session, an emergency VoIP call, etc.
Those of skill in the art will appreciate that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Further, those of skill in the art will appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The methods, sequences and/or algorithms described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal (e.g., access terminal). In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
While the foregoing disclosure shows illustrative embodiments of the invention, it should be noted that various changes and modifications could be made herein without departing from the scope of the invention as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the embodiments of the invention described herein need not be performed in any particular order. Furthermore, although elements of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
Claims
1. A method of operating a concurrency manager server application executing on a first processor system of a multi-processor mobile communications device, the concurrency manager server application configured to interact with a concurrency manager client application executing on a second processor system of the multi-processor mobile communications device, comprising:
- determining priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system;
- notifying the concurrency manager client application of the determined priority levels in order to facilitate the concurrency manager client application to selectively grant or reject access by applications among the second set of applications to the at least one resource based on the notified priority levels; and
- selectively granting or rejecting, by the concurrency manager server application, access by applications among the first set of applications to the at least one resource based on the determined priority levels.
2. The method of claim 1, wherein the selectively granting step includes:
- receiving a request from a given application with a given priority level among the first set of applications for access to the at least one resource,
- granting the received request (i) if the at least one resource is not currently being accessed, or (ii) if the at least one resource is being accessed by another application among the first or second applications with a lower priority level than the given priority level; and
- rejecting the received request if the at least one resource is currently being accessed by another application among the first or second applications with a higher priority level than the given priority level.
3. The method of claim 1, wherein the selectively granting step includes:
- receiving a request from a first application with a first priority level among the first set of applications for access to the at least one resource;
- granting the received request; and
- notifying the concurrency manager client application that the first application has been granted access to the at least one resource.
4. The method of claim 3, further comprising:
- receiving, after the notifying step, a notification from the concurrency manager client application that a second application with a second priority level among the second set of applications is requesting access to the least one resource, wherein the second priority level is higher than the first priority level; and
- facilitating the first application to release the at least one resource responsive to the received notification.
5. The method of claim 3, further comprising:
- receiving, after the notifying step, a notification from the concurrency manager client application that a second application with a second priority level among the second set of applications is requesting access to the least one resource, wherein the second priority level is lower than the first priority level; and
- after receiving the notification, determining that the first application is no longer accessing the at least one resource; and
- responsive to the determination, notifying the concurrency manager client application that the first application is no longer accessing the at least one resource so that the second application can obtain access to the at least one resource.
6. The method of claim 1, further comprising:
- receiving a notification from the concurrency manager client application that a first application with a first priority level among the second set of applications is accessing the least one resource;
- receiving, after the received notification, a request from a second application with a second priority level among the first set of applications for access to the at least one resource, wherein the second priority level is lower than the first priority level;
- rejecting the received request;
- receiving, after the rejection of the received request, a supplemental notification from the concurrency manager client application that the first application is no longer accessing the at least one resource; and
- transmitting, to the first application, an indication that the first application is now permitted to access the at least one resource responsive to the received supplemental notification.
7. The method of claim 1, further comprising:
- receiving a notification from the concurrency manager client application that a first application with a first priority level among the second set of applications is accessing the least one resource;
- receiving, after the received notification, a request from a second application with a second priority level among the first set of applications for access to the at least one resource, wherein the second priority level is higher than the first priority level;
- notifying the concurrency manager client application of the received request;
- receiving, from the concurrency manager client application and in response to the notification, an indication that the first application has released the at least one resource;
- granting the received request to the second application in response to the received indication.
8. The method of claim 7, further comprising:
- determining, after the granting step, that the second application is no longer accessing the at least one resource; and
- notifying the concurrency manager client application that the second application is no longer accessing the at least one resource so that the first application can resume access to the at least one resource.
9. The method of claim 1,
- wherein the at least one resource includes an audio resource,
- wherein the first set of applications includes a Voice over Internet Protocol (VoIP) application and the second set of applications includes a circuit switched (CS) voice call application,
- wherein the determining step determines that the CS voice call application has a higher priority than the VoIP application, and
- wherein, responsive to a determination that the VoIP application desires to access the audio resource, the selectively granting step rejects the VoIP application access to the audio resource responsive to an indication that the CS voice call application has acquired and/or wants to acquire access to the audio resource.
10. The method of claim 1,
- wherein the at least one resource includes an audio resource,
- wherein the second set of applications includes a Voice over Internet Protocol (VoIP) application and the first set of applications includes a circuit switched (CS) voice call application,
- wherein the determining step determines that the CS voice call application has a higher priority than the VoIP application, and
- wherein, responsive to a determination that the CS voice call application desires to access the audio resource, the selectively granting step grants the CS voice call application access to the audio irrespective of whether the VoIP application is already accessing the audio resource.
11. A method of operating a concurrency manager client application executing on a second processor system of a multi-processor mobile communications device, the concurrency manager client application configured to interact with a concurrency manager server application executing on a first processor system of the multi-processor mobile communications device, comprising:
- receiving, from the concurrency manager server application, priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system; and
- selectively granting or rejecting, by the concurrency manager client application, access by applications among the second set of applications to the at least one resource based on the received priority levels.
12. The method of claim 11, wherein the selectively granting step includes:
- receiving a request from a given application with a given priority level among the second set of applications for access to the at least one resource,
- granting the received request (i) if the at least one resource is not currently being accessed, or (ii) if the at least one resource is being accessed by another application among the first or second applications with a lower priority level than the given priority level; and
- rejecting the received request if the at least one resource is currently being accessed by another application among the first or second applications with a higher priority level than the given priority level.
13. The method of claim 11, wherein the selectively granting step includes:
- receiving a request from a first application with a first priority level among the first set of applications for access to the at least one resource;
- granting the received request; and
- notifying the concurrency manager client application that the first application has been granted access to the at least one resource.
14. The method of claim 13, further comprising:
- receiving, after the notifying step, a notification from the concurrency manager server application that a second application with a second priority level among the first set of applications is requesting access to the least one resource, wherein the second priority level is higher than the first priority level; and
- facilitating the first application to release the at least one resource responsive to the received notification.
15. The method of claim 13, further comprising:
- receiving, after the notifying step, a notification from the concurrency manager server application that a second application with a second priority level among the second set of applications is requesting access to the least one resource, wherein the second priority level is lower than the first priority level; and
- after receiving the notification, determining that the first application is no longer accessing the at least one resource; and
- responsive to the determination, notifying the concurrency manager server application that the first application is no longer accessing the at least one resource so that the second application can obtain access to the at least one resource.
16. The method of claim 11, further comprising:
- receiving a notification from the concurrency manager server application that a first application with a first priority level among the first set of applications is accessing the least one resource;
- receiving, after the received notification, a request from a second application with a second priority level among the second set of applications for access to the at least one resource, wherein the second priority level is lower than the first priority level;
- rejecting the received request;
- receiving, after the rejection of the received request, a supplemental notification from the concurrency manager server application that the first application is no longer accessing the at least one resource; and
- transmitting, to the first application, an indication that the first application is now permitted to access the at least one resource responsive to the received supplemental notification.
17. The method of claim 11, further comprising:
- receiving a notification from the concurrency manager server application that a first application with a first priority level among the second set of applications is accessing the least one resource;
- receiving, after the received notification, a request from a second application with a second priority level among the second set of applications for access to the at least one resource, wherein the second priority level is higher than the first priority level;
- notifying the concurrency manager server application of the received request;
- receiving, from the concurrency manager server application and in response to the notification, an indication that the first application has released the at least one resource;
- granting the received request to the second application in response to the received indication.
18. The method of claim 17, further comprising:
- determining, after the granting step, that the second application is no longer accessing the at least one resource; and
- notifying the concurrency manager server application that the second application is no longer accessing the at least one resource so that the first application can resume access to the at least one resource.
19. The method of claim 11,
- wherein the at least one resource includes an audio resource,
- wherein the second set of applications includes a Voice over Internet Protocol (VoIP) application and the first set of applications includes a circuit switched (CS) voice call application,
- wherein the determining step determines that the CS voice call application has a higher priority than the VoIP application, and
- wherein, responsive to a determination that the VoIP application desires to access the audio resource, the selectively granting step rejects the VoIP application access to the audio resource responsive to an indication that the CS voice call application has acquired and/or wants to acquire access to the audio resource.
20. The method of claim 11,
- wherein the at least one resource includes an audio resource,
- wherein the first set of applications includes a Voice over Internet Protocol (VoIP) application and the second set of applications includes a circuit switched (CS) voice call application,
- wherein the determining step determines that the CS voice call application has a higher priority than the VoIP application, and
- wherein, responsive to a determination that the CS voice call application desires to access the audio resource, the selectively granting step grants the CS voice call application access to the audio irrespective of whether the VoIP application is already accessing the audio resource.
21. A method of operating a multi-processor mobile communications device, comprising:
- receiving a request from an application for access to at least a first set of resources for implementation of a given function;
- rejecting the application's access to the first set of resources;
- determining, in conjunction with the rejection, that the application is permitted to access a second set of resources configured to implement the given function in an alternative manner; and
- notifying, responsive to the determination, the application that access to the second set of resources is available for alternative implementation of the given function.
22. The method of claim 21, further comprising:
- granting the received request,
- wherein the rejection of the application's access to the first set of resources occurs after the granting step while the application is accessing the first set of resources.
23. The method of claim 21, wherein the rejecting step corresponds to a rejection of the received request such that the application does not access the first set of resources in response to the received request.
24. The method of claim 21, wherein the given function corresponds to a communication function and/or a game function.
25. The method of claim 24, wherein the application corresponds to a multimedia communication application.
26. The method of claim 21,
- wherein the given function corresponds to the communication function,
- wherein the first set of resources includes an audio resource requested by the multimedia communication application configured to implement the communication function as a voice call, and
- wherein the second set of resources includes a texting resource configured to implement the communication function as a text message.
27. The method of claim 24, wherein the application corresponds to a video game application.
28. The method of claim 27,
- wherein the given function corresponds to the game function,
- wherein the received request is configured to request both the first and second sets of resources,
- wherein the first set of resources includes an audio resource and the second set of resources includes a video resource such that the received request is configured to facilitate implementation of the game function as a combination of audio and video,
- wherein the notifying step notifies the application that the game function can start or continue with the video resource and without the audio resource as an alternative to the combination of audio and video.
29. A multi-processor mobile communications device, comprising:
- a first processor system including a first processor that is configured to execute a concurrency manager server application and a first set of applications
- a second processor system including a second processor that is configured to execute a concurrency manager client application and a second set of applications,
- wherein the concurrency manager server application is configured to determine priority levels related to access to at least one resource for each application in the first and second sets of applications and to convey the determined priority levels to the concurrency manager client application on the first processor system,
- wherein the concurrency manager client application is configured to grant or reject access to the at least one resource for the first set of applications based on the determined priority levels, and
- wherein the concurrency manager server application is configured to grant or reject access to the at least one resource for the second set of applications based on the determined priority levels.
30. A multi-processor mobile communications device including a first processor system that is configured to execute a concurrency manager server application, the concurrency manager server application configured to interact with a concurrency manager client application executing on a second processor system of the multi-processor mobile communications device, comprising:
- logic configured to determine priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system;
- logic configured to notify the concurrency manager client application of the determined priority levels in order to facilitate the concurrency manager client application to selectively grant or reject access by applications among the second set of applications to the at least one resource based on the notified priority levels; and
- logic configured to selectively grant or reject, by the concurrency manager server application, access by applications among the first set of applications to the at least one resource based on the determined priority levels.
31. A multi-processor mobile communications device including a second processor system that is configured to execute a concurrency manager client application, the concurrency manager client application configured to interact with a concurrency manager server application executing on a first processor system of the multi-processor mobile communications device, comprising:
- logic configured to receive, from the concurrency manager server application, priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system; and
- logic configured to selectively grant or reject, by the concurrency manager client application, access by applications among the second set of applications to the at least one resource based on the received priority levels.
32. A multi-processor mobile communications device, comprising:
- logic configured to receive a request from an application for access to at least a first set of resources for implementation of a given function;
- logic configured to reject the application's access to the first set of resources;
- logic configured to determine, in conjunction with the rejection, that the application is permitted to access a second set of resources configured to implement the given function in an alternative manner; and
- logic configured to notify, responsive to the determination, the application that access to the second set of resources is available for alternative implementation of the given function.
33. A multi-processor mobile communications device including a first processor system that is configured to execute a concurrency manager server application, the concurrency manager server application configured to interact with a concurrency manager client application executing on a second processor system of the multi-processor mobile communications device, comprising:
- means for determining priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system;
- means for notifying the concurrency manager client application of the determined priority levels in order to facilitate the concurrency manager client application to selectively grant or reject access by applications among the second set of applications to the at least one resource based on the notified priority levels; and
- means for selectively granting or rejecting, by the concurrency manager server application, access by applications among the first set of applications to the at least one resource based on the determined priority levels.
34. A multi-processor mobile communications device including a second processor system that is configured to execute a concurrency manager client application, the concurrency manager client application configured to interact with a concurrency manager server application executing on a first processor system of the multi-processor mobile communications device, comprising:
- means for receiving, from the concurrency manager server application, priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system; and
- means for selectively granting or rejecting, by the concurrency manager client application, access by applications among the second set of applications to the at least one resource based on the received priority levels.
35. A multi-processor mobile communications device, comprising:
- means for receiving a request from an application for access to at least a first set of resources for implementation of a given function;
- means for rejecting the application's access to the first set of resources;
- means for determining, in conjunction with the rejection, that the application is permitted to access a second set of resources configured to implement the given function in an alternative manner; and
- means for notifying, responsive to the determination, the application that access to the second set of resources is available for alternative implementation of the given function.
36. A non-transitory computer-readable medium containing instructions stored thereon that, when executed by a multi-processor mobile communications device including a first processor system that is configured to execute a concurrency manager server application, the concurrency manager server application configured to interact with a concurrency manager client application executing on a second processor system of the multi-processor mobile communications device, cause the multi-processor mobile communications device to perform operations, the instructions comprising:
- program code to determine priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system;
- program code to notify the concurrency manager client application of the determined priority levels in order to facilitate the concurrency manager client application to selectively grant or reject access by applications among the second set of applications to the at least one resource based on the notified priority levels; and
- program code to selectively grant or reject, by the concurrency manager server application, access by applications among the first set of applications to the at least one resource based on the determined priority levels.
37. A non-transitory computer-readable medium containing instructions stored thereon that, when executed by a multi-processor mobile communications device including a second processor system that is configured to execute a concurrency manager client application, the concurrency manager client application configured to interact with a concurrency manager server application executing on a first processor system of the multi-processor mobile communications device, cause the multi-processor mobile communications device to perform operations, the instructions comprising:
- program code to receive, from the concurrency manager server application, priority levels related to access to at least one resource for a first set of applications that are configured for execution on the first processor system and a second set of applications that are configured for execution on the second processor system; and
- program code to selectively grant or reject, by the concurrency manager client application, access by applications among the second set of applications to the at least one resource based on the received priority levels.
38. A non-transitory computer-readable medium containing instructions stored thereon that, when executed by a multi-processor mobile communications device, cause the multi-processor mobile communications device to perform operations, the instructions comprising:
- program code to receive a request from an application for access to at least a first set of resources for implementation of a given function;
- program code to reject the application's access to the first set of resources;
- program code to determine, in conjunction with the rejection, that the application is permitted to access a second set of resources configured to implement the given function in an alternative manner; and
- program code to notify, responsive to the determination, the application that access to the second set of resources is available for alternative implementation of the given function
Type: Application
Filed: Nov 14, 2011
Publication Date: Oct 18, 2012
Patent Grant number: 9317329
Applicant: QUALCOMM INCORPORATED (San Diego, CA)
Inventors: FNU Tejaswini (San Diego, CA), Vaibhav Mathur (San Diego, CA), Sachin A. Abhyankar (San Diego, CA), Ali Navrozally (San Diego, CA)
Application Number: 13/295,820
International Classification: H04W 72/04 (20090101);