CN111565444A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
CN111565444A
CN111565444A CN202010456032.8A CN202010456032A CN111565444A CN 111565444 A CN111565444 A CN 111565444A CN 202010456032 A CN202010456032 A CN 202010456032A CN 111565444 A CN111565444 A CN 111565444A
Authority
CN
China
Prior art keywords
application processor
modem
bus controller
bus
power saving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010456032.8A
Other languages
Chinese (zh)
Other versions
CN111565444B (en
Inventor
甄亮文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010456032.8A priority Critical patent/CN111565444B/en
Publication of CN111565444A publication Critical patent/CN111565444A/en
Application granted granted Critical
Publication of CN111565444B publication Critical patent/CN111565444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/062Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors using different frequency bands for speech and other data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

A communication device, comprising: an application processor comprising a first bus controller; a modem comprising a second bus controller, the first and second bus controllers coupled by a serial bus; the detection module is used for detecting the use request of the application processor and the modem to the serial bus; the control module is coupled with the detection module to receive a detection result, and controls the first bus controller and the second bus controller to switch the operation state at least according to the detection result. The scheme of the invention provides a more efficient sleep awakening interaction mechanism, realizes more interactions based on chip hardware, reduces handshake interaction actions on a software layer, and is favorable for improving interaction efficiency and stability.

Description

Communication device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communications apparatus.
Background
In order to meet the diversified demands of users, communication devices such as mobile phones and the like gradually expand diversified functions such as camera shooting and games in addition to the function of realizing communication. These applications may be controlled and implemented based on independent systems.
Therefore, for a communication device capable of implementing multiple applications, there are usually at least two integrated circuit chips, one of which is a modem (modem) for implementing a cellular communication function, which can be understood as a communication system; the other chip is an Application Processor (AP) for implementing functions such as shooting, displaying, 2D/3D engine, and may be understood as an Application processing system.
Generally, an application processor is used as a Master chip (Master IC) to control a Slave IC (Slave IC) modem, and a serial bus coupling is adopted between the Master IC and the Slave IC for data transmission. The serial bus needs to be in an operating state to complete the data transmission operation.
In order to save the power consumption overhead of the system, in the case that neither the application processor nor the modem uses the serial bus, the serial bus needs to be switched to the low power consumption mode to save the system power consumption. Before the application processor and the modem need to use the serial bus for data transmission, the serial bus needs to be switched from a low power consumption mode to a working mode.
In the conventional communication device, the application processor and the modem need to interact with each other on a software level to control the serial bus to enter the power saving mode or exit the power saving mode. On one hand, the efficiency is low, and the overall operation efficiency of the system is influenced; on the other hand, if the application processor and the modem lose messages in the software layer, the serial bus cannot be woken up or sleep smoothly, which affects the system stability.
Disclosure of Invention
The invention solves the technical problem of how to realize more efficient awakening sleep interaction.
To solve the above technical problem, an embodiment of the present invention provides a communication apparatus, including: an application processor comprising a first bus controller; a modem comprising a second bus controller, the first and second bus controllers coupled by a serial bus; the detection module is used for detecting the use request of the application processor and the modem to the serial bus; the control module is coupled with the detection module to receive a detection result, and controls the first bus controller and the second bus controller to switch the operation state at least according to the detection result.
Optionally, when the detection result indicates that the use request is received, the control module controls the first bus controller and the second bus controller to switch and maintain in an operating state.
Optionally, when the application processor and the modem are both in the working state and the detection result indicates that the usage request is not received, the control module controls the first bus controller and the second bus controller to switch to the first-stage power saving state.
Optionally, when the detection module detects the use request, the control module controls the first bus controller and the second bus controller to switch from the first-stage power saving state to the working state.
Optionally, when one of the application processor and the modem is in a non-operating state and the other is in an operating state, and the detection result indicates that no use request is received, the control module controls the first bus controller and the second bus controller to switch to the first-stage power saving state.
Optionally, when the other of the application processor and the modem is also switched to the non-operating state and does not receive a use request, the control module controls the first bus controller and the second bus controller to switch to a second-stage power saving state, where the number of modules that the first bus controller and the second bus controller hibernate in the second-stage power saving state is greater than the number of modules that the first-stage power saving state hibernates.
Optionally, when the detection module detects the use request, the control module controls the first bus controller and the second bus controller to switch from the first-stage power saving state to an operating state, and wakes up the application processor or the modem in a non-operating state.
Optionally, when the application processor and the modem are both in the non-operating state and the detection result indicates that no use request is received, the control module controls the first bus controller and the second bus controller to switch to the second-stage power saving state.
Optionally, when the application processor and/or the modem is switched to the operating state, but the detection module does not detect a use request yet, the control module controls the first bus controller and the second bus controller to switch from the second-level power saving state to the first-level power saving state, where the number of modules that the first bus controller and the second bus controller hibernate in the second-level power saving state is greater than the number of modules that the first bus controller and the second bus controller hibernate in the first-level power saving state.
Optionally, when the application processor and/or the modem is switched to an operating state and the detection module detects a request for use, the control module controls the first bus controller and the second bus controller to switch from the second-stage power saving state to the operating state.
Optionally, the detection module is further configured to detect an operating state of the application processor and the modem.
Optionally, the detection module includes a first detection unit and a second detection unit, where the first detection unit is disposed in the application processor, and the second detection unit is disposed in the modem; the control module comprises a first control unit and a second control unit, wherein the first control unit is arranged on the application processor, the second control unit is arranged on the modem, the first control unit controls the first bus controller to switch the operation state according to the detection result of the first detection unit, and the second control unit controls the second bus controller to switch the operation state according to the detection result of the second detection unit.
Optionally, the first control unit communicates with the second control unit to synchronize the operating states of the first bus controller and the second bus controller.
Optionally, the communication device further includes: a shared memory module coupled to and directly accessible by the application processor, the modem coupled to the application processor via the serial bus and indirectly accessible to the shared memory module via the application processor.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
an embodiment of the present invention provides a communication apparatus, including: an application processor comprising a first bus controller; a modem comprising a second bus controller, the first and second bus controllers coupled by a serial bus; the detection module is used for detecting the use request of the application processor and the modem to the serial bus; the control module is coupled with the detection module to receive a detection result, and controls the first bus controller and the second bus controller to switch the operation state at least according to the detection result.
Compared with the existing wake-up sleep mechanism realized based on a large amount of interaction of the software layer, the scheme of the embodiment provides a more efficient wake-up sleep interaction mechanism, realizes more interaction based on chip hardware, reduces handshake interaction of the software layer, and is favorable for improving interaction efficiency and stability. Specifically, the detection module automatically captures the use operation of the serial bus, and the control module directly controls the first bus controller and the second bus controller to be switched to a proper running state from a physical layer so as to respond to the use requirement in time. Therefore, the interaction of sleep and awakening of the application processor and the modem is reduced, a large number of software handshake interaction actions are reduced, the steps and operation of software resource management and state synchronization are simplified, the complexity of the system is reduced, the operation efficiency of the system is improved, the interaction efficiency and stability are improved, and the method has the advantages of being simpler, more efficient, more stable and easy to manage.
Drawings
Fig. 1 is a schematic diagram of a communication device according to an embodiment of the present invention.
Detailed Description
As background art shows, the wake-up and sleep interaction mechanism of the conventional communication device is complicated, and the application processor and the modem need to perform a large amount of interaction in a software layer to control the serial bus to enter the power saving mode or exit the power saving mode, which has low interaction efficiency and poor stability.
To solve the above technical problem, an embodiment of the present invention provides a communication apparatus, including: an application processor comprising a first bus controller; a modem comprising a second bus controller, the first and second bus controllers coupled by a serial bus; the detection module is used for detecting the use request of the application processor and the modem to the serial bus; the control module is coupled with the detection module to receive a detection result, and controls the first bus controller and the second bus controller to switch the operation state at least according to the detection result.
The scheme of the embodiment provides a more efficient sleep awakening interaction mechanism, realizes more interactions based on chip hardware, reduces handshake interaction actions on a software layer, and is beneficial to improving interaction efficiency and stability. Specifically, the detection module automatically captures the use operation of the serial bus, and the control module directly controls the first bus controller and the second bus controller to be switched to a proper running state from a physical layer so as to respond to the use requirement in time. Therefore, the interaction of sleep and awakening of the application processor and the modem is reduced, a large number of software handshake interaction actions are reduced, the steps and operation of software resource management and state synchronization are simplified, the complexity of the system is reduced, the operation efficiency of the system is improved, the interaction efficiency and stability are improved, and the method has the advantages of being simpler, more efficient, more stable and easy to manage.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a schematic diagram of a communication device according to an embodiment of the present invention.
The communication device can be a user equipment such as a mobile phone.
Specifically, referring to fig. 1, the communication apparatus 1 according to the present embodiment may include: an application processor 11, the application processor 11 may include a first bus controller 111.
Further, the communication apparatus 1 may further include a modem 12, and the modem 12 may include a second bus controller 121.
Further, the application processor 11 and the modem 12 may be coupled for communication via a serial bus 13.
For example, the application processor 11 may be provided with a first interface 112, the modem 12 may be provided with a second interface 122, and the first interface 112 and the second interface 122 are respectively coupled to two ends of the serial bus 13.
Further, the first interface 112 is coupled to the first bus controller 111 for data transceiving and transmission processing at a physical level, and the first bus controller 111 transmits data through the first interface 112 by using the serial bus 13.
The second interface 122 is coupled to the second bus controller 121 for data transceiving and transmission processing at a physical layer, and the second bus controller 121 transmits data through the second interface 122 by using the serial bus 13.
For example, the serial BUS 13 may be a D-BUS BUS. Accordingly, the first BUS controller 111 and the second BUS controller 121 may be D-BUS controllers.
In one implementation, the serial bus 13 may include three operating states: an operating state, a first level power saving state and a second level power saving state. Wherein the second stage power saving state is more power efficient than the first stage power saving state.
Specifically, the operating state of the serial bus 13 is switched by switching the operating states of the first bus controller 111 and the second bus controller 121.
Further, the number of modules that the first bus controller 111 and the second bus controller 121 sleep in the second level power saving state is greater than the number of modules that sleep in the first level power saving state. The dormant module may further include a first interface 112 and a second interface 122. For example, in the first stage power saving state, the first interface 112 and the second interface 122 are still in working states to achieve quick response to the requirement of using the serial bus 13; in the second stage power saving state, the first interface 112 and the second interface 122 also enter a sleep state.
The delay of switching from the second-stage power-saving state to the first-stage power-saving state is approximately millisecond, and the delay of switching from the first-stage power-saving state to the working state is approximately microsecond or even nanosecond, so that the software level is not sensitive.
In one implementation, the communication device 1 may further include a detection module 14 for detecting a request for use of the serial bus 13 by the application processor 11 and the modem 12.
For example, the detection module 14 may include a first detection unit 141 and a second detection unit 142, where the first detection unit 141 is disposed at the application processor 11, and the second detection unit 142 is disposed at the modem 12.
Further, the first detection unit 141 may be configured to detect an address access request for data transmission of the serial bus 13 by the application processor 11. But also for detecting address access requests transmitted over the serial bus 13 for data transmission from the modem 12 side.
Similarly, the second detection unit 142 may be configured to detect an address access request for data transmission of the serial bus 13 by the modem 12. It can also be used to detect an address access request transmitted through the serial bus 13 from data transmission on the application processor 11 side.
In one embodiment, the first detecting unit 141 may be integrated into the first bus controller 111, and similarly, the second detecting unit 142 may be integrated into the second bus controller 121.
Alternatively, the first detecting unit 141 and the first bus controller 111 may be two independent modules, which are coupled to detect the usage requirement of the serial bus 13. Similarly, the second detecting unit 142 and the second bus controller 121 may be two independent modules, and both are coupled to detect the usage requirement of the serial bus 13.
In one embodiment, the communication device 1 may further include a control module 15 coupled to the detection module 14 to receive the detection result, and the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch the operation state according to at least the detection result.
For example, the control module 15 may include a first control unit 151 and a second control unit 152, wherein the first control unit 151 is disposed on the application processor 11, the second control unit 152 is disposed on the modem 12, the first control unit 151 controls the first bus controller 111 to switch the operation state according to the detection result of the first detection unit 141, and the second control unit 152 controls the second bus controller 121 to switch the operation state according to the detection result of the second detection unit 142.
Further, the first control unit 151 communicates with the second control unit 152 to synchronize the operation states of the first bus controller 111 and the second bus controller 121.
In one embodiment, when the detection result indicates that the use request is received, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch and maintain the operating state.
Specifically, when either one of the application processor 11 and the modem 12 uses the serial bus 13 for data transmission and address access, the first bus controller 111 and the second bus controller 121 are both in an operating mode.
For example, the first detection unit 141 detects that the application processor 11 needs to use the serial bus 13 for data transmission and address access, and in response to receiving the detection result, the first control unit 151 controls the first bus controller 111 to switch or maintain the operating state, and sends a trigger signal to the opposite end through the serial bus 13, so that the second control unit 152 controls the second bus controller 121 to switch or maintain the operating state.
In one implementation, the detection module 14 may also be configured to detect an operation status of the application processor 11 and the modem 12.
For example, the first detection unit 141 may detect an operation state of the application processor 11, and the second detection unit 142 may detect an operation state of the modem 12.
When the detection result indicates that the application processor 11 and the modem 12 are both in the working state and do not receive the use request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch to the first stage power saving state.
For example, in the case where the serial bus 13 is not used on both sides of the application processor 11 and the modem 12, if the application processor 11 and the modem 12 are still in the operating state and are performing other operations unrelated to the serial bus 13, the first bus controller 111 and the second bus controller 121 are controlled to enter the first stage power saving state.
Further, when the detection module 14 detects the use request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch from the first-stage power saving state to the operating state.
For example, in the first stage power saving state, if it is detected that the serial bus 13 is required to be used by either one of the application processor 11 and the modem 12, the control module 15 directly controls the first bus controller 111 and the second bus controller 121 to switch from the first stage power saving state to the operating state because the detection module 14 automatically captures the operation of the serial bus. Thus, the application processor 11 and the modem 12 can directly perform operations of data transmission and address access without software control.
Assuming that the first detecting unit 141 detects that the application processor 11 needs to use the serial bus 13, the first control unit 151 controls the first bus controller 111 to switch from the first-stage power saving state to the operating state, and synchronizes the operating state to the second control unit 152 through the serial bus 13. The second control unit 152 synchronously controls the second bus controller 121 on the local side to switch from the first-stage power saving state to the operating state.
In one embodiment, when the detection result indicates that one of the application processor 11 and the modem 12 is in the non-operating state and the other is in the operating state, and no use request is received, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch to the first-stage power saving state.
For example, in the case where neither of the application processor 11 and the modem 12 uses the serial bus 13, when one of the application processor 11 and the modem 12 is in an operating state and performs another operation unrelated to the serial bus 13, the other is in a non-operating state (e.g., a system power saving state). At this time, the control module 15 controls the first bus controller 111 and the second bus controller 121 to enter the first stage power saving state.
Further, for the side in the non-operating state, before the side is switched from the operating state to the non-operating state, the bus controller on the side can be allowed to be switched to the second-stage power saving state through simple software setting. The second stage power saving state is not executed immediately, but whether to enter the second stage power saving state is determined according to the running state of the opposite terminal. For example, a software simple setting may be to set a register to store that the condition for the local side to enter the sleep state has triggered. Therefore, the detection module 14 does not need to be coupled to a processor (not shown) of the application processor 11 or the modem 12 to detect the operating state of the application processor 11 or the modem 12, but the processor sets a register when the local side switches to the non-operating state, and the bus controller of the local side acquires the state stored in the register and synchronizes to the bus controller of the opposite side through the serial bus 13, so as to control the bus controllers of both sides to switch to the second-level power saving state after finding that both sides enter the non-operating state.
Further, when the detection module 14 detects that the other of the application processor 11 and the modem 12 is also switched to the non-operating state and does not receive a use request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch to the second-stage power saving state.
For example, the side in operation is also switched from the operation state to the non-operation state, and before the switching, the bus controller on the side is allowed to be switched to the second-stage power saving state by simple software setting. After waiting for a while, the first bus controller 111 and the second bus controller 121 automatically enter the second-stage power saving state at the hardware level.
Assuming that the application processor 11 and the modem 12 are initially in an operating state but neither use the serial bus 13, the control module 15 first controls the first bus controller 111 and the second bus controller 121 to enter a first stage power saving state.
Subsequently, the first detection unit 141 detects that the application processor 11 is switched to the non-operating state, but the first control unit 151 temporarily does not control the first bus controller 111 to enter the second-stage power saving state. Meanwhile, a register is set at the software level to store that the application processor 11 has entered the non-operating state, and the modem 12 side can synchronize the register at the software level. Alternatively, the first control unit 151 notifies the second control unit 152 that the application processor 11 on the own side has entered the non-operating state.
Subsequently, the second detecting unit 142 detects that the modem 12 is also switched to the non-operating state, and since it is known that the application processor 11 has also entered the non-operating state, the second control module 152 controls the second bus controller 121 to be switched to the second-stage power saving state. Meanwhile, the second control module 152 is synchronized with the first control module 151, so that the first bus controller 111 is also switched to the second-stage power saving state.
In one embodiment, when the detection module 14 detects the use request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch from the first stage power saving state to an operating state, and wakes up the application processor 11 or the modem 12 in a non-operating state.
For example, it is assumed that the application processor 11 is in a non-operating state and the modem 12 is in an operating state, and the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch to the first-stage power saving state. If the modem 12 subsequently needs to use the serial bus 13, the second detection unit 142 automatically captures the used operation, and the second control unit 152 wakes up the second bus controller 121 to an operating state through the hardware automatic operation. The first control unit 151 controls the first bus controller 111 to also switch to an operating state by interactive synchronization with the second control unit 152.
Thus, if the serial bus 13 is used by the operating side, the data transfer and address access operations can be performed directly without software control. Specifically, the serial bus 13 hardware automatically captures the operation of use, and wakes up the side in the non-working state through the hardware automatic operation, and the bus controllers on both sides are directly switched from the first-stage power saving state to the working state.
In one embodiment, when the detection result indicates that the application processor 11 and the modem 12 are in the non-operating state and have not received the usage request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch to the second-level power saving state.
Further, when the detection module 14 detects that the application processor 11 and/or the modem 12 are switched to the working state but does not detect a use request, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch from the second-stage power saving state to the first-stage power saving state.
In other words, if the detection module 14 detects that either one of the application processor 11 and the modem 12 is switched from the non-operating state to the operating state but the serial bus 13 is not used, the first bus controller 111 and the second bus controller 121 are controlled to be switched from the second level power saving state to the first level power saving state.
For example, if the first detection unit 141 detects that the application processor 11 is switched from the non-operating state to the operating state but there is no need to use the serial bus 13, the first control unit 151 controls the first bus controller 111 to switch from the second level power saving state to the first level power saving state. Meanwhile, the first control unit 151 interacts with the second control unit 152 to synchronously switch the second bus controller 121 from the second level power saving state to the first level power saving state.
Further, after the first-stage power saving state is switched, the detecting module 14 detects a requirement for using the serial bus 13, and further controls the first bus controller 111 and the second bus controller 121 to switch from the first-stage power saving state to the operating state.
Further, when the detection module 14 detects that the application processor 11 and/or the modem 12 are switched to the working state and detects a request for use, the control module 15 controls the first bus controller 111 and the second bus controller 121 to switch from the second-stage power saving state to the working state.
In other words, if the detection module 14 detects that either one of the application processor 11 and the modem 12 is switched from the non-operating state to the operating state and needs to use the serial bus 13, the other is woken up by hardware interrupt, and then the first bus controller 111 and the second bus controller 121 are switched from the second stage power saving state to the operating state.
For example, if the first detection unit 141 detects that the application processor 11 is switched from the non-operating state to the operating state and data transmission using the serial bus 13 is required, the first control unit 151 controls the first bus controller 111 to directly switch from the second stage power saving state to the operating state. Meanwhile, the first control unit 151 interacts with the second control unit 152 to cause the second bus controller 121 to synchronously switch directly from the second level power saving state to the operating state.
In one implementation, the communication device 1 may further include: a shared memory module 16, said application processor 11 coupled to said shared memory module 16 and having direct access to said shared memory module 16, said modem 12 coupled to said application processor 11 via said serial bus 13 and having indirect access to said shared memory module 16 via said application processor 11.
For example, the request for use of the serial bus 13 may be directed to the shared memory module 16.
For the architecture in which the application processor 11 and the modem 12 share the shared memory module 16, the shared memory module 16 is mounted on the application processor 11 side, and the serial bus 13 is an interconnection bus between the application processor 11 and the modem 12. Data transmission and address space access between the application processor 11 and the modem 12, space access to the shared memory module 16 by the modem 12, and the like are performed through the serial bus 13. These data transfers and space accesses can each trigger the request for use of the serial bus 13.
In one implementation, when modem 12 is in an active state and application processor 11 is in an inactive state, if modem 12 generates an access request to access shared memory module 16 via serial bus 13. In response to detecting the request to use the serial bus 13, it is confirmed that the request to use the serial bus 13 is not to transfer data to the application processor 11 or to access a register on the application processor 11 side. There is no need to wake up the application processor 11 but the first bus controller 111 and the second bus controller 121 are directly switched from the first level power saving state to the operating state.
Therefore, the scheme of the embodiment provides a more efficient sleep awakening interaction mechanism, more interaction is realized based on chip hardware, handshake interaction actions on a software layer are reduced, and interaction efficiency and stability are improved. Specifically, by the detection module 14 automatically capturing the usage operation of the serial bus 13, the control module 15 directly controls the first bus controller 111 and the second bus controller 121 to switch to the appropriate operation state from the physical level so as to respond to the usage demand in time.
Therefore, the interaction of sleep and awakening at the two sides of the application processor 11 and the modem 12 is reduced, a large number of software handshake interaction actions are reduced, the steps and operations of software resource management and state synchronization are simplified, the complexity of the system is reduced, the operation efficiency of the system is improved, the interaction efficiency and stability are improved, and the method has the characteristics of simplicity, high efficiency, stability and easiness in management.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A communications apparatus, comprising:
an application processor comprising a first bus controller;
a modem comprising a second bus controller, the first and second bus controllers coupled by a serial bus;
the detection module is used for detecting the use request of the application processor and the modem to the serial bus;
the control module is coupled with the detection module to receive a detection result, and controls the first bus controller and the second bus controller to switch the operation state at least according to the detection result.
2. The communication apparatus according to claim 1, wherein the control module controls the first bus controller and the second bus controller to switch and maintain the operating state when the detection result indicates that the use request is received.
3. The communication device of claim 1, wherein the control module controls the first and second bus controllers to switch to a first level power saving state when the application processor and the modem are both in an active state and the detection result indicates that no use request is received.
4. The communication apparatus according to claim 3, wherein the control module controls the first and second bus controllers to switch from the first-stage power saving state to an operating state when the detection module detects the use request.
5. The communication device of claim 1, wherein the control module controls the first bus controller and the second bus controller to switch to a first level power saving state when one of the application processor and the modem is in a non-operating state and the other is in an operating state and the detection result indicates that no use request is received.
6. The communication device of claim 5, wherein the control module controls the first and second bus controllers to switch to a second level power saving state when the other of the application processor and the modem also switches to an inactive state and does not receive a usage request, wherein the number of modules that the first and second bus controllers hibernate in the second level power saving state is greater than the number of modules that hibernate in the first level power saving state.
7. The communication apparatus according to claim 5, wherein when the detection module detects the use request, the control module controls the first and second bus controllers to switch from the first stage power saving state to an active state, and wakes up an application processor or a modem in a non-active state.
8. The communication device of claim 1, wherein the control module controls the first and second bus controllers to switch to a second level power saving state when the application processor and the modem are both inactive and the detection result indicates that no use request is received.
9. The communication apparatus according to claim 8, wherein when the application processor and/or modem is switched to an active state but the detection module does not detect a usage request yet, the control module controls the first and second bus controllers to switch from the second stage power saving state to a first stage power saving state, wherein the number of modules that the first and second bus controllers hibernate in the second stage power saving state is greater than the number of modules that hibernate in the first stage power saving state.
10. The communication device as claimed in claim 8, wherein when the application processor and/or the modem switches to an operating state and the detection module detects a request for use, the control module controls the first and second bus controllers to switch from the second stage power saving state to the operating state.
11. The communication device according to any of claims 3 to 10, wherein the detection module is further configured to detect an operational status of the application processor and modem.
12. The communication apparatus according to claim 1, wherein the detection module comprises a first detection unit and a second detection unit, wherein the first detection unit is disposed at the application processor, and the second detection unit is disposed at the modem; the control module comprises a first control unit and a second control unit, wherein the first control unit is arranged on the application processor, the second control unit is arranged on the modem, the first control unit controls the first bus controller to switch the operation state according to the detection result of the first detection unit, and the second control unit controls the second bus controller to switch the operation state according to the detection result of the second detection unit.
13. The communication device of claim 12, wherein the first control unit communicates with the second control unit to synchronize the operating states of the first and second bus controllers.
14. The communication device of claim 1, further comprising:
a shared memory module coupled to and directly accessible by the application processor, the modem coupled to the application processor via the serial bus and indirectly accessible to the shared memory module via the application processor.
CN202010456032.8A 2020-05-26 2020-05-26 Communication device Active CN111565444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010456032.8A CN111565444B (en) 2020-05-26 2020-05-26 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010456032.8A CN111565444B (en) 2020-05-26 2020-05-26 Communication device

Publications (2)

Publication Number Publication Date
CN111565444A true CN111565444A (en) 2020-08-21
CN111565444B CN111565444B (en) 2023-05-26

Family

ID=72074886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010456032.8A Active CN111565444B (en) 2020-05-26 2020-05-26 Communication device

Country Status (1)

Country Link
CN (1) CN111565444B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050066067A1 (en) * 2003-09-20 2005-03-24 Samsung Electronics Co., Ltd. Communication device and method having a shared local memory
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
CN101751361A (en) * 2008-12-16 2010-06-23 联想(北京)有限公司 Switchover method for controlling data transmission interface in mobile terminal and terminal equipment
EP2270673A1 (en) * 2009-06-23 2011-01-05 LG Electronics Inc. Dual modem device and controlling method thereof
CN102567261A (en) * 2010-12-31 2012-07-11 联芯科技有限公司 Enhanced SPI (serial peripheral interface) controller, communication system of enhanced SPI and data transmission method
CN104956347A (en) * 2013-02-28 2015-09-30 英特尔公司 Leveraging an enumeration and/or configuration mechanism of one interconnect protocol for a different interconnect protocol
CN108475246A (en) * 2016-01-13 2018-08-31 高通股份有限公司 Bus mastership handoff technique
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050066067A1 (en) * 2003-09-20 2005-03-24 Samsung Electronics Co., Ltd. Communication device and method having a shared local memory
CN101751361A (en) * 2008-12-16 2010-06-23 联想(北京)有限公司 Switchover method for controlling data transmission interface in mobile terminal and terminal equipment
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
EP2270673A1 (en) * 2009-06-23 2011-01-05 LG Electronics Inc. Dual modem device and controlling method thereof
CN102567261A (en) * 2010-12-31 2012-07-11 联芯科技有限公司 Enhanced SPI (serial peripheral interface) controller, communication system of enhanced SPI and data transmission method
CN104956347A (en) * 2013-02-28 2015-09-30 英特尔公司 Leveraging an enumeration and/or configuration mechanism of one interconnect protocol for a different interconnect protocol
CN108475246A (en) * 2016-01-13 2018-08-31 高通股份有限公司 Bus mastership handoff technique
CN110677903A (en) * 2019-10-28 2020-01-10 华为终端有限公司 Dormancy control method, device, medium and system for wireless access equipment and wireless access equipment

Also Published As

Publication number Publication date
CN111565444B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN108073421B (en) Method and apparatus for providing individualized power control for peripheral subsystems
CN102778943B (en) Condition control method, device and portable terminal device
EP0499440B1 (en) A circuit arrangement for a mobile telephone
CN100373299C (en) Method for controlling data communication between two processor and bi-processor device
US8285345B2 (en) Mobile terminal and method for switching states thereof
US9563257B2 (en) Dynamic energy-saving method and apparatus for PCIE device, and communication system thereof
JP5635628B2 (en) Power management method and apparatus for network access module
US9497254B2 (en) Communication method, communication apparatus and electronic device
US8160645B2 (en) Apparatus and method for supporting SIM card in mobile communication terminal having multiple modems
JPH0934601A (en) Method for management of electric power of computer system and its computer system
CN101581964B (en) Computer system and peripheral equipment drive method
CN101170777A (en) A method for realizing sleeping/awaking of multi-mode mobile terminal
US10394309B2 (en) Power gated communication controller
JP2014026648A (en) Wake-up method, hot swap method, and device based on high speed inter-chip hsic interface
CN104977979A (en) Clock source switching method and clock source switching system
CN114817120A (en) Cross-domain data sharing method, system-on-chip, electronic device and medium
KR20150095267A (en) Data storage device, method thereof, and data processing system including same
JP2005515546A (en) Low power bus interface
CN106063304B (en) System and method for message-based fine-grained system-on-chip power control
JP6785332B2 (en) Bluetooth speaker Data processing method, device and bluetooth speaker
CN102402272B (en) There is the electronic installation of network connecting function and be applied to the method for this electronic installation
CN102830789B (en) Low-power-consumption standby method for jointed display system
CN111565444B (en) Communication device
CN102594575A (en) System and method of controlling sleep and awakening of server
CN115017079A (en) Power-off method of management equipment, chip, PCIe card and business processing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant