Control device, method, terminal equipment and storage medium
By setting up a repeater between the main board and the secondary board, the SOC controls the camera power mode, which solves the problem of the AO Camera being unable to reuse the secondary board Camera, achieving flexible switching of power modes and improving SPMI signal quality.
Patent Information
- Application Number
- CN202310731288.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-06-17
AI Technical Summary
The existing technology cannot control the power mode of the Camera on the secondary board to a low power consumption mode in the sleep state, resulting in the AO Camera being unable to reuse the Camera on the secondary board.
By setting up a repeater between the main board and the secondary board, the SOC sends control information to the first chip through the repeater, controlling the camera's power mode to switch between low power consumption and high performance modes, improving the quality of SPMI transmission signals.
It realizes the control of the power mode of the Camera on the secondary board, enables AO Camera to reuse the Camera on the secondary board, and improves the quality of SPMI transmission signals.
Smart Images

Figure CN117692764B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminals, and in particular to a control device, method, terminal equipment and storage medium. Background Art
[0002] More and more mobile phones support Always On (AO) cameras. Currently, most AO Cameras reuse the Camera in the mobile phone (such as the front camera or the rear camera). Among them, AO Camera can work in real time when the power mode of the Camera's power supply is low power mode (Low power mode, LPM), such as face detection, gesture page turning, and hand-flip QR code. Among them, when the Camera is used as a photographic Camera, such as using the Camera to take pictures or videos, the power mode of the Camera's power supply can enter high performance mode (High performance mode, HPM). Therefore, when the AO Camera reuses the Camera in the mobile phone, the power mode of the Camera's power supply needs to be able to switch between high performance mode and low power mode.
[0003] However, since the chip that supplies power to the camera on the sub-board cannot control the power mode of the camera to a low power mode in the sleep state, the AO Camera cannot reuse the camera on the sub-board. Therefore, how to control the power mode of the camera on the sub-board so that the AO Camera can reuse the camera on the sub-board has become an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present application provide a control device, method, terminal equipment and storage medium, which can control the power mode of the power supply of the Camera on the sub-board to enter a low power consumption mode, so that the AO Camera reuses the Camera on the sub-board.
[0005] In a first aspect, an embodiment of the present application provides a control device, the device comprising a main board and a sub-board, the main board comprising a system on chip (SOC) and a repeater, and the sub-board comprising a first chip and a camera;
[0006] The SOC is connected to a first end of the repeater via a first system power management interface SPMI, and a second end of the repeater is connected to the first chip;
[0007] The SOC is used to send control information to the first chip through the repeater; the control information is used to control the power mode of the power supply of the Camera to a low power consumption mode when the Camera is a normally-on AOCamera; and is used to control the power mode of the power supply of the Camera to a high performance mode when the Camera is a photographic Camera;
[0008] The first chip is used to receive control information, and in response to the control information, control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode.
[0009] The control device can control the power mode of the power supply of the camera on the sub-board to a low power mode, so that the AOCamera can reuse the camera on the sub-board. On the other hand, the control device can also transmit the control information from the SOC to the first chip through the repeater to improve the driving ability of the SPMI, thereby improving the quality of the SPMI transmission signal.
[0010] In a second aspect, an embodiment of the present application provides a control device, the device comprising a main board and a sub-board, the main board comprising a system-on-chip SOC, the sub-board comprising a first chip and a camera Camera;
[0011] The SOC is connected to the first chip via a second system power management interface SPMI; the second SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK;
[0012] The SOC is used to call the second SPMI to send control information to the first chip; the control information is used to control the power mode of the power supply of the Camera to a low power consumption mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the power supply of the Camera to a high performance mode when the Camera is a photographic Camera;
[0013] The first chip is used to receive control information from the SOC, and in response to the control information, control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode.
[0014] The control device can control the power mode of the power supply of the Camera on the sub-board to a low power mode, so that the AOCamera can reuse the Camera on the sub-board. On the other hand, compared with directly mounting the first chip on the first SPMI connected to the power management unit (power management unit, PMU) and the power management tool (power management kit, PMK), the control device connects the first chip to the second SPMI. Since there are fewer devices mounted on the second SPMI, the driving capability of the second SPMI is higher, thereby improving the quality of the SPMI transmission signal.
[0015] In a third aspect, an embodiment of the present application provides a control method, the method comprising:
[0016] When the camera is initialized and started, the startup information is determined; the startup information includes that the camera is a normally open AOCamera, or the camera is a photographic camera;
[0017] Based on the startup information, control information is determined, where the control information is used to control the power mode of the power supply of the Camera to a low power consumption mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the power supply of the Camera to a high performance mode when the Camera is a photographic Camera;
[0018] In response to the control information, the power mode of the power supply of the Camera is controlled to be a low power consumption mode or a high performance mode.
[0019] After implementing the control method provided in the embodiment of the present application, the terminal device can control the power mode of the Camera to a low power consumption mode, so that the AO Camera can reuse the Camera on the sub-board.
[0020] In combination with the third aspect, in an optional implementation, control information is sent by the system-on-chip SOC to the first chip through a repeater, and the first chip responds to the control information to control the power mode of the Camera to a low power mode or a high performance mode.
[0021] In this implementation, the control information from the SOC is transparently transmitted to the first chip through the repeater. In this way, the driving capability of the SPMI can be improved due to the presence of the repeater, thereby improving the quality of the SPMI transmission signal.
[0022] In combination with the third aspect, in an optional implementation, control information is sent by the system-on-chip SOC to the first chip through the second system power management interface SPMI, and the first chip responds to the control information to control the power mode of the Camera to a low power consumption mode or a high performance mode; wherein the second SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK.
[0023] In this implementation, compared with connecting the first chip to the first SPMI mounted with PMU and PMK, connecting the first chip to the second SPMI has fewer devices mounted on it, so the driving capability of the second SPMI is higher, thereby improving the quality of the SPMI transmission signal.
[0024] In combination with the third aspect, in an optional implementation, if the startup information is that the Camera is a normally-on AOCamera, the control information is determined by the intelligent sensor hub Sensorhub integrated in the system-on-chip SOC; if the startup information is that the Camera is a photographic Camera, the control information is determined by the application processor AP integrated in the SOC.
[0025] In a fourth aspect, an embodiment of the present application provides a terminal device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the device to execute: when the camera Camera is initialized and started, determine the startup information; the startup information includes that the Camera is a normally-on AO Camera, or the Camera is a photographic Camera; based on the startup information, determine control information, the control information is used to control the power mode of the Camera power supply to a low power consumption mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the Camera power supply to a high performance mode when the Camera is a photographic Camera; in response to the control information, control the power mode of the Camera power supply to a low power consumption mode or a high performance mode.
[0026] In combination with the fourth aspect, in an optional implementation, control information is sent by the system-on-chip SOC to the first chip through a repeater, and the first chip responds to the control information to control the power mode of the Camera to a low power mode or a high performance mode.
[0027] In combination with the fourth aspect, in an optional implementation, control information is sent by the system-on-chip SOC to the first chip through the second system power management interface SPMI, and the first chip responds to the control information to control the power mode of the Camera to a low power consumption mode or a high performance mode; wherein the second SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK.
[0028] In combination with the fourth aspect, in an optional implementation, if the startup information is that the Camera is a normally-on AOCamera, the control information is determined by the intelligent sensor hub Sensorhub integrated in the system-on-chip SOC; if the startup information is that the Camera is a photographic Camera, the control information is determined by the application processor AP integrated in the SOC.
[0029] In the fifth aspect, an embodiment of the present application provides a terminal device, comprising: a touch screen, a camera, one or more processors and one or more memories; the one or more processors are coupled to the touch screen, the camera, and the one or more memories, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the terminal device executes the method described in the third aspect or any optional implementation method of the third aspect.
[0030] In a sixth aspect, the present application provides a chip system, which is applied to a terminal device, and the chip system includes one or more processors, which are used to call computer instructions to enable the terminal device to execute the method described in the third aspect or any optional embodiment of the third aspect.
[0031] In a seventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a terminal device, enables the terminal device to execute a method as described in the third aspect or any optional implementation of the third aspect.
[0032] In an eighth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a terminal device, causes the terminal device to execute a method as described in the third aspect or any optional implementation of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a structural schematic diagram of a main board and a sub-board side of a terminal device provided in an embodiment of the present application;
[0034] Figure 2 is a structural schematic diagram of a control device provided in an embodiment of the present application;
[0035] Figure 3 is a structural schematic diagram of another control device provided in an embodiment of the present application;
[0036] Figure 4 is a structural schematic diagram of another control device provided in an embodiment of the present application;
[0037] Figure 5 It is a schematic diagram of power distribution provided in an embodiment of the present application;
[0038] Figure 6a is a schematic diagram of a circuit board provided in an embodiment of the present application;
[0039] Figure 6b It is a waveform diagram of an SPMI signal received by a PM8010 chip provided in an embodiment of the present application;
[0040] Figure 7a and Figure 7b is a schematic diagram of the appearance effect of a control device provided in an embodiment of the present application;
[0041] Figures 8a to 8c These are some user interfaces provided by the embodiments of the present application;
[0042] Fig. 9 It is a flow chart of a control method provided in an embodiment of the present application;
[0043] Fig.10 is a flow chart of another control method provided in an embodiment of the present application;
[0044] Fig.11 It is a flow chart of another control method provided in an embodiment of the present application;
[0045] Fig.12 1 is a schematic diagram of a hardware architecture of a terminal device 100 provided in an embodiment of the present application;
[0046] Fig.13 It is a schematic diagram of the software architecture of a terminal device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Mentioning "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present embodiment application. The appearance of this phrase in various positions in the specification is not necessarily the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It can be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0048] The terms "first", "second", etc. in the specification and claims of the present application and the drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a series of steps or units are included, or optionally, steps or units not listed are included, or optionally, other steps or units inherent to these processes, methods, products or devices are included.
[0049] Only the part relevant to the present application but not all content is shown in the accompanying drawings.Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processing or methods described as flow charts.Although flow charts describe various operations (or steps) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously.In addition, the order of various operations can be rearranged.Described processing can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings.Described processing can correspond to method, function, procedure, subroutine, subprogram etc.
[0050] As used in this specification, the terms "component", "module", "system", "unit", etc. are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a unit can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or distributed between two or more computers. In addition, these units can be executed from various computer-readable media having various data structures stored thereon. Units can communicate through local and / or remote processes, for example, based on signals having one or more data packets (e.g., data from a second unit interacting with another unit in a local system, a distributed system, and / or a network. For example, the Internet interacts with other systems via signals).
[0051] At present, most AO Cameras reuse the Camera in the mobile phone (such as the front camera or the rear camera). Among them, the AO Camera can work in real time when the power mode of the Camera is low power mode (Low power mode, LPM), such as face detection, gesture page turning, and QR code turning under the screen off. Among them, when the Camera is used as a photographic Camera (or called an ordinary Camera), such as using the Camera to take pictures or videos, the power mode of the Camera can enter the high-performance mode. Therefore, when the AO Camera reuses the Camera in the mobile phone, the power mode of the Camera needs to be able to switch between the high-performance mode and the low-power mode.
[0052] See also Figure 1 , Figure 1 Schematic diagram of the structure of a terminal device main board and sub-board provided in the embodiment of the present application. Figure 1 As shown, the main board 101 includes a system on chip (SOC) 1011, a power management unit (PMU) 1012 and a power management kit (PMK) 1013; the sub-board 102 includes a PM8008 chip 1021.
[0053] Among them, SOC 1011 is an integrated circuit that integrates a computing processor and other electronic systems into a single chip. SOC can process digital signals, analog signals, mixed signals, and even radio frequency signals, etc. SOC is often configured with many external interfaces (such as SPMI) and can connect various external devices (such as PM8008 chip 1021 in the sub-board 102).
[0054] The PMU 1012 is mainly used to manage the power supply on the mainboard side. Optionally, the PMU can also manage the power supply of the PM8008 chip.
[0055] PMK 1013 is mainly used to manage the power-on timing of the power management integrated circuit (PMIC) on the mainboard side.
[0056] The PM8008 chip 1021 is used to supply power to the Camera on the sub-board side.
[0057] Since the PM8008 chip 1021 in the sub-board 102 does not support SPMI, the power mode of the power supply of the Camera on the sub-board cannot be controlled to be a low power mode in the sleep state. Therefore, the AO Camera cannot reuse the Camera on the sub-board.
[0058] Therefore, how to control the power mode of the camera on the sub-board so that the AO Camera can reuse the camera on the sub-board has become an urgent problem to be solved.
[0059] See also Figure 2 , Figure 2 It is a structural schematic diagram of a control device provided in an embodiment of the present application.
[0060] like Figure 2 As shown, the control device includes a main board 201 and a sub-board 202, the main board 201 includes a system-level chip SOC2011 and a repeater 2012, and the sub-board 202 includes a first chip 2021 and a camera 2022; wherein the SOC 2011 is connected to the first SPMI (such as Figure 2 The SPMI0) in the repeater 2012 is connected to the first end, and the second end of the repeater 2012 is connected to the first chip 2021.
[0061] Among them, SOC 2011 is used to send control information to the first chip 2021 through the repeater 2012, and the control information is used to control the power mode of the power supply of Camera 2022 to a low power consumption mode when Camera 2022 is an AO Camera; and is used to control the power mode of the power supply of Camera 2022 to a high performance mode when Camera 2022 is a photographic Camera; the first chip 2021 is used to receive the control information, and respond to the control information to control the power mode of the power supply of Camera 2022 to a low power consumption mode or a high performance mode.
[0062] The first chip 2021 is a chip that supports SPMI. For example, the first chip is a PM8010 chip. The PM8010 chip uses the SPMI bus to work on a subsystem of an Always On Processor (AOP), and can enter a low power mode in a sleep state and a high performance mode in a wake-up state.
[0063] Optionally, in the control device, the repeater 2012 can be a repeater or a redriver. A repeater can also be called a signal repeater, which can regenerate signals and increase signal quality on a high-speed interface. A redriver can extend the distance of signal transmission by retransmitting or forwarding data signals.
[0064] Optionally, in the control device, the mainboard 201 further includes a PMU 2013 and a PMK 2014. Optionally, the relevant description of the PMU 2013 and the PMK 2014 can be referred to in the above description. Figure 1 The description of PMU 1012 and PMK 1013 will not be repeated here.
[0065] The control device provided in the embodiment of the present application has the following beneficial effects:
[0066] (1) The control device can control the power mode of the camera on the sub-board to a low power mode, so that the AOCamera can reuse the camera on the sub-board.
[0067] (2) The control device transmits the control information from the SOC to the first chip through the repeater, so that the driving capability of the SPMI can be improved, thereby improving the quality of the SPMI transmission signal.
[0068] In an optional embodiment, Figure 2 In the control device shown, the repeater 2012 can also be replaced by an IO expansion chip. Figure 3 , Figure 3 is a schematic diagram of the structure of another control device provided in an embodiment of the present application. Figure 3 As shown, the control device includes a main board 301 and a sub-board 302. The main board 301 includes a SOC 3011 and an IO expansion chip 3012; the sub-board 302 includes a first chip 3021 and a Camera 3022. The SOC 3011 is connected to a first end of the IO expansion chip 3012 through SPM10, and a second end of the IO expansion chip 3012 is connected to the first chip 3021.
[0069] The SOC 3011 is used to send control information to the first chip 3021 through the IO expansion chip 3012, and the control information is used to control the power mode of the power supply of the Camera 3022 to be a low power mode when the Camera 3022 is an AO Camera; and to control the power mode of the power supply of the Camera 3022 to be a high performance mode when the Camera 322 is a photographic Camera; the first chip 3021 is used to receive the control information, and respond to the control information to control the power mode of the power supply of the Camera 3022 to be a low power mode or a high performance mode. The first chip 2021 is a chip that supports SPMI.
[0070] In an optional embodiment, Figure 3 The motherboard 301 in the embodiment also includes a PMU 3013 and a PMK 3014. Optionally, the relevant description of the PMU 3013 and the PMK 3014 can be referred to in the above description. Figure 1 The description of PMU 1012 and PMK 1013 will not be repeated here.
[0071] Please attend Figure 4 , Figure 4 It is a structural schematic diagram of another control device provided in an embodiment of the present application.
[0072] like Figure 4 As shown, the control device includes a main board 401 and a sub-board 402, the main board 401 includes a SOC 4011, and the sub-board 402 includes a first chip 4021 and a Camera 4022; wherein the SOC 4011 is connected to the main board 4011 through a second SPMI (such as Figure 4 The second SPMI is different from the first SPMI (such as the SPMI1 in the example) connected to the first chip 4021; the second SPMI is different from the first SPMI (such as the SPMI1 in the example) connected to the PMU and PMK Figure 4 SPMI0 in.
[0073] Among them, SOC 4011 is used to call the second SPMI to send control information to the first chip 4021; the control information is used to control the power mode of the power supply of Camera 4022 to a low power consumption mode when Camera 4022 is an AO Camera; and is used to control the power mode of the power supply of Camera 4022 to a high performance mode when Camera 4022 is a photographic Camera; the first chip 4021 is used to receive the control information from SOC 4011, and respond to the control information to control the power mode of the power supply of Camera 4022 to a low power consumption mode or a high performance mode.
[0074] The second SPMI is a SPMI interface newly developed by the user on the SOC.
[0075] Optional, Figure 4 The system may also include PMU 4012 and PMK4013, wherein PMU 4012 and PMK4013 are connected to SPM10 in SOC4011.
[0076] See also Figure 5 , Figure 5 is a power distribution diagram provided in an embodiment of the present application, which may correspond to Figure 4 The control device shown. Figure 5 As shown in the figure, the main board uses a PM8010 chip to power the front camera and rear camera on the main board, so that the AO Camera on the main board can reuse the front camera and rear camera on the main board. The sub-board uses another PM8010 chip to independently power the front camera on the sub-board, so that the AO Camera can reuse the front camera on the sub-board. Among them, the PM8010 chip on the main board is connected through Figure 4 The SPMI0 in the SOC is connected, and the PM8010 chip on the sub-board is connected through Figure 4 SPMI1 and SOC connections in .
[0077] Optionally, the Camera power supply parameter correspondence table of the control device may be as shown in Table 1 below.
[0078] Table 1 Camera power supply parameter correspondence table of control device
[0079]
[0080]
[0081] In Table 1, DVDD represents the digital voltage (digital VDD); DOVDD represents the voltage output by the PM8010 chip pin; AVDD2.8 represents the analog voltage (analog VDD); AFVDD represents the autofocus voltage (autofocus VDD); SPMI0 represents the voltage connected to the PM8010 chip. Figure 4 SPMI0 in the figure; SPMI1 indicates that the PM8010 chip is connected to Figure 4 SPMI1 in the figure; PM8010_N (RST GPIO06) indicates the PM8010 chip in the main board; PM8010_M (RST GPIO05) indicates the PM8010 chip in the slave board.
[0082] In the second column of Table 1, L2N_1.1 / 1.05 indicates that the DVDD value corresponding to the front camera Camera 1 in the mainboard is 1.1V and 1.05V; L5N_1.8 indicates that the DOVDD value corresponding to the front camera Camera 1 in the mainboard is 1.8V; L3N_2.8 indicates that the AVDD2.8 value corresponding to the front camera Camera 1 in the mainboard is 2.8V; L7N_3.14 indicates that the AFVDD value corresponding to the front camera Camera 1 in the mainboard is 3.14V.
[0083] In the third column of Table 1, L2M represents the power supply of DVDD corresponding to the front camera 2 in the sub-board; L3M represents the power supply of DOVDD corresponding to the front camera 2 in the sub-board; L5M represents the power supply of AVDD2.8 corresponding to the front camera 2 in the sub-board; L7M represents the power supply of AFVDD corresponding to the front camera 2 in the sub-board.
[0084] In the fourth column of Table 1, in the column where AO Camera reuses the rear camera (main board), L1N_1.1 indicates that the DVDD value corresponding to the rear camera in the main board is 1.1V; L4N_2.8 indicates that the AVDD2.8 value corresponding to the rear camera in the main board is 2.8V; L5N_1.8 indicates that the DOVDD value corresponding to the rear camera in the main board is 1.8V; L7N_3.14 indicates that the AFVDD value corresponding to the rear camera in the main board is 3.14V.
[0085] The control device provided in the embodiment of the present application has the following beneficial effects:
[0086] (1) The control device can control the power mode of the camera on the sub-board to a low power mode, so that the AOCamera can reuse the camera on the sub-board.
[0087] (2) Compared with connecting the first chip to the first SPMI mounted with the PMU and the PMK, the control device connects the first chip to the second SPMI. Since the second SPMI has fewer devices mounted on it, the driving capability of the second SPMI is higher, thereby improving the quality of the SPMI transmission signal.
[0088] In addition, in the embodiment of the present application, by Figure 2 , Figure 3 or Figure 4The control device shown is used to control the power mode of the Camera in the sub-board to be a low power mode or a high performance mode, so that the AO Camera reuses the Camera on the sub-board. Compared with placing a chip supporting SPMI (such as a PM8010 chip) on the main board side, connecting the first end of the chip supporting SPMI to the SOC through the SPMI in the SOC in the main board, and connecting the second end of the chip supporting SPMI to the Camera on the sub-board to control the power mode of the Camera in the sub-board to be a low power mode or a high performance mode, it can not only avoid the problem of a large stripe effect caused by a too long power supply line and a large voltage difference between the working state and the sleep state, but also improve the quality of the SPMI transmission signal.
[0089] In the present application embodiment, by Figure 2 , Figure 3 or Figure 4 The control device shown controls the power mode of the power supply of the Camera in the sub-board to be a low power mode or a high performance mode, so that the AO Camera reuses the Camera on the sub-board. Compared with placing a chip supporting SPMI (such as a PM8010 chip) on the sub-board side and mounting the chip and other PMICs (for example, PMU, PMK) on the same SPMI in the SOC in the mainboard, the power mode of the power supply of the Camera in the sub-board is controlled to be a low power mode or a high performance mode, which can avoid the SPMI routing from bifurcation. For example, Figure 6a is a schematic diagram of a circuit board provided in an embodiment of the present application, such as Figure 6a As shown in the figure, ① indicates the location of the SOC in the motherboard; ② indicates the location of the PMK in the motherboard; ③ indicates the location of the PMU in the motherboard; ④ indicates the location of the PM8010 chip in the sub-board. Among them, the PM8010 chip, PMU, and PMK are all mounted on the same SPMI in the SOC in the motherboard. Among them, the SPMI routing starts from the SOC (i.e. Figure 6a Starting from ① in the figure, we first connect with PMU (i.e. Figure 6a ③) in the figure, and then continue to the right to form a fork at box 601, where the SPMI trace upward at the fork is connected to the PM8010 chip in the sub-board (i.e. Figure 6a ④) in the figure; the SPMI line to the lower right of the bifurcation is connected to the PMK (i.e. Figure 6a In this way, the SPMI can avoid the existence of SPMI back grooves due to the bifurcation of the SPMI routing, thereby improving the quality of the SPMI transmission signal. For example, Figure 6b FIG. 1 is a waveform diagram of an SPMI signal received by a PM8010 chip provided in an embodiment of the present application. Figure 6bAs shown, the horizontal axis represents time and the vertical axis represents voltage. When the horizontal axis is 59 and the vertical axis is 0.3, there is a groove in the waveform of the SPMI signal due to the bifurcation of the SPMI routing. The existence of the groove in the SPMI will lead to poor stability of the terminal equipment (such as freezing) and poor quality of the SPMI transmission signal. In the scenario of the SPMI through-axis flexible board, the quality of the SPMI transmission signal is even worse. The flexible board refers to a flexible circuit board, which can also be called a soft board. The flexible board has the characteristics of high wiring density, light weight and thin thickness.
[0090] The following takes a foldable mobile phone as an example of the control device provided in the embodiment of the present application. Figure 2 , Figure 3 or Figure 4 The application scenario of the control device shown is introduced.
[0091] See also Figure 7a and Figure 7b , Figure 7a and Figure 7b It is a schematic diagram of the appearance effect of a control device provided in an embodiment of the present application.
[0092] like Figure 7a As shown, it is a schematic diagram of the front appearance effect of the control device. Among them, it includes a front camera 701. The front camera 701 can be a photographic camera or an AO Camera. For example, when a user uses the front camera 701 to take a photo, the front camera 701 is a photographic camera. For another example, when the user uses the front camera 701 to perform face detection to unlock the lock screen password of the control device when the screen of the control device is off, the front camera 701 is an AO Camera.
[0093] like Figure 7b As shown, it is a schematic diagram of the appearance of the back of the control device. Among them, it includes a rear camera 702. The rear camera 702 can be a photographic camera or an AO camera. For example, when the user uses the rear camera 702 to record a video, the rear camera 702 is a photographic camera. For another example, when the user uses the rear camera 702 to turn pages with gestures, the rear camera 702 is an AO camera.
[0094] See also Figures 8a to 8c , Figures 8a to 8c These are some user interfaces provided by embodiments of the present application.
[0095] like Figure 8aAs shown, it is a user interface 11 after a control device performs face detection when the screen is off, provided by an embodiment of the present application. The user interface 11 may include a device lock 111. Exemplarily, the control device may detect a face detection operation performed by a user on the control device when the screen is off, and turn on the device lock 111 of the control device. At this time, the device lock 111 changes from a closed state to an open state. At this time, the control device may determine that the startup information when the front camera 701 is initialized includes that the front camera 701 is an AO Camera. In this case, the control device may control the power mode of the power supply of the front camera 701 to a low power consumption mode.
[0096] like Figure 8b As shown, a user interface 12 for controlling a device to display a main screen provided by an embodiment of the present application is shown. The user interface 12 displays a page with application icons, and the page includes multiple application icons, such as a phone application icon, a setting application icon, a contact application icon, a message application icon, a camera application icon, etc. A page indicator is also displayed below the multiple application icons to indicate the positional relationship between the currently displayed page and other pages.
[0097] Among them, the control device can detect the user's touch operation on different application icons in the user interface 12. In response to the operation, the terminal device can start the phone application, setting application, address book application, information application, camera application, etc. Exemplarily, the control device can detect the user's touch operation on the camera application icon and start the camera application to take pictures. At this time, the control device can confirm that the startup information when the front camera 701 is initialized and started includes that the camera is a photography camera. In this case, the control device can control the power mode of the front camera 701 to a high-performance mode.
[0098] like Figure 8c As shown, a default user interface 13 provided by a camera application after a control device provided in an embodiment of the present application turns on the camera application. The user interface 13 may include multiple functional options such as photo taking, portrait, night view, video recording, and short video. The control device may detect the user's touch operation on different functional options in the user interface 13, and in response to the operation, the control device may turn on functions such as photo taking, portrait, night view, video recording, and short video.
[0099] The control method provided in the embodiment of the present application is described below.
[0100] See also Fig. 9 , Fig. 9 is a flow chart of a control method provided in an embodiment of the present application. Fig. 9 As shown, the control method may include but is not limited to the following steps:
[0101] S901. When the camera is initialized and started, the terminal device determines startup information; the startup information includes that the Camera is a normally-on AO Camera, or that the Camera is a photographic Camera.
[0102] S902: The terminal device determines control information based on the startup information.
[0103] The control information is used to control the power mode of the Camera to a low power mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the Camera to a high performance mode when the Camera is a photographic Camera.
[0104] Optionally, if the startup information is that the Camera is an AO Camera, the control information is determined by the intelligent sensor hub Sensorhub integrated in the SOC in the terminal device; if the startup information is that the Camera is a photography Camera, the control information is determined by the application processor (AP) integrated in the SOC in the terminal device.
[0105] S903: The terminal device responds to the control information and controls the power mode of the Camera to be a low power consumption mode or a high performance mode.
[0106] In an optional implementation, the control information is sent from the system-on-chip SOC in the terminal device to the first chip through a repeater, and the first chip responds to the control information to control the power mode of the Camera to a low power mode or a high performance mode.
[0107] In another optional implementation, control information is sent from the system-on-chip SOC in the terminal device to the first chip through the second system power management interface SPMI, and the first chip responds to the control information to control the power mode of the Camera to a low power consumption mode or a high performance mode; wherein the second SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK.
[0108] In the embodiment of the present application, the terminal device can determine the control information based on the startup information; in response to the control information, the power mode of the power supply of the Camera can be controlled to be a low power mode or a high performance mode. It can be seen that by adopting the embodiment of the present application, the terminal device can control the power mode of the power supply of the Camera to be a low power mode, so that the AO Camera can reuse the Camera on the sub-board, and then, for the terminal device, combined with the power distribution method, multiple cameras of the terminal device can be realized as AOCamera.
[0109] See also Fig.10 , Fig.10 is a flow chart of another control method provided in an embodiment of the present application. Fig. 9 The difference of the control method shown is that the control method describes the interaction between the modules inside the terminal device, wherein the terminal device mainly includes the SOC, the repeater and the first chip. Fig.10 As shown, the control method may include but is not limited to the following steps:
[0110] S1001. When the camera is initialized and started, the SOC determines the startup information.
[0111] The startup information includes that the Camera is an AO Camera, or that the Camera is a photography Camera.
[0112] For example, if the camera is started to take pictures, the startup information is that the camera is a photography camera. For another example, if the camera is started for face recognition in a scenario where the terminal device is off screen, the camera is an AO camera.
[0113] S1002. The SOC determines control information based on the startup information.
[0114] The control information is used to control the power mode of the Camera to a low power consumption mode when the Camera is an AO Camera; and is used to control the power mode of the Camera to a high performance mode when the Camera is a photographic Camera.
[0115] In an optional implementation, the SOC determines the control information based on the startup information, and the following method may be used: if the startup information is AO Camera, then the control information for controlling the power mode of the Camera is determined to be a low power consumption mode; if the startup information is photography Camera, then the control information for controlling the power mode of the Camera is determined to be a high performance mode.
[0116] In this implementation, the control information for controlling the power mode of the Camera to be a low power mode may be determined by the Sesnorhub integrated in the SOC; and the control information for controlling the power mode of the Camera to be a high performance mode may be determined by the AP integrated in the SOC. That is, the AP integrated in the SOC and the Sesnorhub may arbitrate the power voting based on the startup information.
[0117] Optionally, if the control information is determined by a Sesnorhub integrated in the SOC, after the Sesnorhub determines the control information, it can also control the power supply to be powered on based on the control information.
[0118] Optionally, if the control information is determined by an AP integrated in the SOC, after the AP determines the control information, it may also control the power supply to be powered on based on the control information.
[0119] Optionally, the control information may include but is not limited to the output voltage of the first chip, the power mode of the first chip, etc.
[0120] S1003. The SOC sends control information to the first chip through the repeater, and correspondingly, the first chip receives the control information.
[0121] The repeater can be a repeater or a redriver. A repeater can also be called a signal repeater, which can regenerate signals and increase signal quality on high-speed interfaces. A redriver can extend the distance of signal transmission by resending or forwarding data signals.
[0122] In an optional implementation, before step S1003, the SOC may also initialize and configure the parameters of the repeater. Optionally, the parameters of the repeater include but are not limited to the driving capability of the repeater, the signal transmission rate, etc.
[0123] In an optional implementation, after step S1003, the SOC may also test the quality of the signal transmitted by the SPMI to the first chip through the repeater by traversing multiple repeater parameters to obtain multiple test results; select the best test result from the multiple test results; and determine the repeater parameters corresponding to the best test result as the final parameters of the repeater. Optionally, the test results are, for example, Figure 6b The waveform diagram shown; the optimal test result refers to the test result whose waveform diagram is closest to the square wave among multiple test results; the repeater parameters corresponding to the optimal test result refer to the repeater parameters corresponding to the waveform diagram that is closest to the square wave.
[0124] Optionally, the SOC may also update the parameters of the repeater in an adaptive manner until it is determined that the quality of the signal transmitted by the SPMI reaches a preset value.
[0125] S1004: The first chip responds to the control information and controls the power mode of the Camera to be a low power consumption mode or a high performance mode.
[0126] It can be seen that, by adopting the embodiment of the present application, on the one hand, the first chip can control the power mode of the power supply of the Camera on the sub-board to be a low power consumption mode, so that the Camera on the sub-board can be implemented as an AO Camera, and then, for the terminal device, combined with the power distribution method, multiple cameras of the terminal device can be implemented as AO Cameras. On the other hand, through the repeater, the control information from the SOC is transparently transmitted to the first chip to realize the control of the power mode of the power supply of the Camera. In this way, when the SPMI routing is still constrained according to the requirements of the mainboard routing, the presence of the repeater can improve the driving capability of the SPMI, thereby improving the quality of the SPMI transmission signal.
[0127] See also Fig.11 , Fig.11 is a flow chart of another control method provided in an embodiment of the present application. Fig. 9 The difference of the control method shown is that the control method describes the interaction between the modules inside the terminal device, wherein the terminal device mainly includes the SOC and the first chip. Fig.11 As shown, the control method may include but is not limited to the following steps:
[0128] S1101. When the camera is initialized and started, the SOC determines the startup information.
[0129] S1102. The SOC determines control information based on the startup information.
[0130] The control information is used to control the power mode of the Camera to a low power consumption mode when the Camera is an AO Camera; and is used to control the power mode of the Camera to a high performance mode when the Camera is a photographic Camera.
[0131] In an optional implementation, the relevant descriptions of steps S1101 and S1102 can refer to the descriptions in the aforementioned steps S701 and S702, respectively, and will not be repeated here.
[0132] S1103. The SOC calls the second SPMI to send control information to the first chip.
[0133] The second SPMI is a SPMI interface newly developed by the user on the SOC, for example Figure 4 SPMI1 in.
[0134] In an optional implementation, the SOC also calls the second SPMI to perform initialization configuration.
[0135] S1104: The first chip responds to the control information and controls the power mode of the Camera to be a low power consumption mode or a high performance mode.
[0136] It can be seen that, by adopting the embodiment of the present application, on the one hand, the first chip can control the power mode of the power supply of the Camera on the sub-board to be a low power consumption mode, so that the Camera on the sub-board can be an AO Camera, and then, for the terminal device, combined with the power distribution method, multiple cameras of the terminal device can be AO Cameras. On the other hand, compared with connecting the first chip to the first SPMI mounted with PMU and PMK, by connecting the first chip to the second SPMI, since there are fewer devices mounted on the second SPMI, the driving capability of the second SPMI is higher, thereby improving the quality of the SPMI transmission signal.
[0137] The following is an introduction to the terminal device to which the control method provided in this application is applied.
[0138] In this application, the terminal device may be equipped with Or terminal devices of other operating systems, such as mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, as well as cellular phones, personal digital assistants (PDA), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, vehicle-mounted devices, smart home devices and / or smart city devices, etc. The present application does not impose any special restrictions on the specific type of the terminal device.
[0139] See also Fig.12 , Fig.12 1 is a schematic diagram of the hardware architecture of a terminal device 100 provided in an embodiment of the present application. Fig.12As shown, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0140] It is understandable that the structure shown in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include Fig.12 More or fewer components may be shown, or some components may be combined or separated, or the components may be arranged differently. Fig.12 The components shown may be implemented in hardware, software or a combination of software and hardware.
[0141] In the embodiment of the present application, the processor 110 can be used for power control, specifically, it can be used to: determine the startup information when the camera Camera is initialized and started; the startup information includes that the Camera is a normally-on AO Camera, or that the Camera is a photographic Camera; based on the startup information, determine the control information, the control information is used to control the power mode of the Camera power supply to a low power mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the Camera power supply to a high-performance mode when the Camera is a photographic Camera; respond to the control information, control the power mode of the Camera power supply to a low power mode or a high-performance mode. The specific steps executed by the processor 110 can be referred to the description of the above steps S901-S903, which will not be repeated here.
[0142] In an optional implementation, the processor 110 may be a system-on-chip SOC, and the terminal device 100 may also include a main board and a sub-board, wherein the main board includes the system-on-chip SOC and a repeater, and the sub-board includes a first chip and a camera Camera; the SOC is connected to the first end of the repeater via the first system power management interface SPMI, and the second end of the repeater is connected to the first chip. The SOC is used to send control information to the first chip via the repeater; the control information is used to control the power mode of the Camera power supply to a low power mode when the Camera is a normally-on AO Camera; and is used to control the power mode of the Camera power supply to a high-performance mode when the Camera is a photographic Camera; the first chip is used to receive the control information, and in response to the control information, control the power mode of the Camera power supply to a low power mode or a high-performance mode.
[0143] In another optional implementation, the processor 110 may be a system-on-chip SOC, and the terminal device 100 further includes a main board and a sub-board, wherein the main board includes the system-on-chip SOC, and the sub-board includes a first chip and a camera Camera; the SOC is connected to the first chip via a second system power management interface SPMI; the second SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK. The SOC is used to call the second SPMI to send control information to the first chip; the control information is used to control the power mode of the Camera's power supply to a low power mode when the Camera is a normally-on AO Camera; and to control the power mode of the Camera's power supply to a high-performance mode when the Camera is a photographic Camera; the first chip is used to receive control information from the SOC, and respond to the control information to control the power mode of the Camera's power supply to a low power mode or a high-performance mode.
[0144] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor, an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0145] The controller may be the nerve center and command center of the terminal device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0146] A memory may also be provided in the processor 110 for storing instructions and data. In an optional implementation, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0147] In an optional implementation, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0148] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0149] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0150] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;
[0151] Non-volatile memory may include disk storage devices and flash memory.
[0152] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; can be divided into universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.
[0153] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data, etc.
[0154] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0155] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0156] The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0157] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0158] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In an optional embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In an optional embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0159] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0160] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0161] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0162] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0163] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0164] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0165] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0166] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0167] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0168] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0169] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.
[0170] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording function, etc.
[0171] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .
[0172] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0173] The magnetic sensor 180D includes a Hall sensor, and the terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
[0174] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0175] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0176] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.
[0177] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.
[0178] In the embodiment of the present application, the software system of the terminal device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device 100.
[0179] See also Fig.13 , Fig.13 It is a schematic diagram of the software architecture of a terminal device 100 provided in an embodiment of the present application.
[0180] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In an optional implementation, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the hardware abstraction layer (HAL), and the kernel layer.
[0181] The application layer can include a series of application packages. Fig.13 As shown, the application package may include settings, smart assistant, gallery, calls, maps, navigation, Bluetooth, camera and other applications.
[0182] The setting application may provide an option for adjusting camera parameters, and the option for adjusting camera parameters is used to select camera parameters.
[0183] The camera can be used to provide the functions of a photography camera or an AO Camera. The functions of a photography camera include taking photos and recording videos, while the functions of an AO Camera include performing face recognition when the terminal device is off screen.
[0184] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Fig.13 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0185] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0186] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0187] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0188] The phone manager is used to provide communication functions of the terminal device 100, such as management of call status (including connection, disconnection, etc.).
[0189] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0190] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.
[0191] The hardware abstraction layer may include multiple functional modules, such as an initialization module and a control module.
[0192] The initialization module is used to determine the startup information when the camera Camera is initialized and started; the startup information includes that the Camera is a normally open AO Camera, or that the Camera is a photographic Camera;
[0193] The initialization module is further used to determine control information based on the startup information, and the control information is used to control the power mode of the power supply of the Camera to a low power consumption mode when the Camera is a normally-on AO Camera; and to control the power mode of the power supply of the Camera to a high performance mode when the Camera is a photographic Camera;
[0194] The control module is used to respond to the control information and control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode.
[0195] The kernel layer is the layer between hardware and software. The kernel layer contains at least processing driver, display driver, camera driver, audio driver, and sensor driver.
[0196] It should be understood that each step in the above method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0197] It should be noted that, for the above method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present invention is not limited by the described order of actions. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention. The various embodiments of the present application can be arbitrarily combined to achieve different technical effects.
[0198] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk), etc.
[0199] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: read-only memory (ROM) or RAM, magnetic disk or optical disk and other media that can store program codes.
[0200] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control device, characterized in that: The control device includes a main board and a sub-board, the main board includes a system-on-chip SOC and a repeater, and the sub-board includes a first chip and a camera Camera; The SOC is connected to a first end of the repeater via a first system power management interface SPMI, and a second end of the repeater is connected to the first chip; The SOC is used to send control information to the first chip through the repeater; the control information is used to control the power mode of the power supply of the camera to a low power consumption mode when the camera is a normally-on AO camera; and is used to control the power mode of the power supply of the camera to a high performance mode when the camera is a photographic camera; The first chip is used to receive the control information, and in response to the control information, control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode.
2. A control device, characterized in that: The control device comprises a main board and a sub-board, the main board comprises a system-on-chip SOC, and the sub-board comprises a first chip and a camera Camera; The SOC is connected to the first chip via a second system power management interface SPMI; the second system power management interface SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK; The SOC is used to call the second system power management interface SPMI to send control information to the first chip; the control information is used to control the power mode of the power supply of the camera to a low power consumption mode when the camera is a normally-on AO camera; and is used to control the power mode of the power supply of the camera to a high performance mode when the camera is a photographic camera; The first chip is used to receive control information from the SOC, and in response to the control information, control the power mode of the power supply of the Camera to a low power consumption mode or a high performance mode.
3. A control method, characterized in that: Applied to a control device, the control device includes a main board and a sub-board, the main board includes a system-on-chip SOC and a repeater, the sub-board includes a first chip and a camera Camera, the method includes: When the camera is initialized and started, startup information is determined; the startup information includes that the camera is a normally-on AO Camera, or the camera is a photographic Camera; Based on the startup information, control information is determined, where the control information is used to control the power mode of the power supply of the camera to a low power consumption mode when the camera is a normally-on AO camera; and is used to control the power mode of the power supply of the camera to a high performance mode when the camera is a photographic camera; In response to the control information, control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode; The control information is sent by the SOC to the first chip through the repeater, and the first chip responds to the control information to control the power mode of the camera to a low power consumption mode or a high performance mode.
4. A control method, characterized in that: Applied to a control device, the control device includes a main board and a sub-board, the main board includes a system-on-chip SOC, the sub-board includes a first chip and a camera Camera, the method includes: When the camera is initialized and started, startup information is determined; the startup information includes that the camera is a normally-on AO Camera, or the camera is a photographic Camera; Based on the startup information, control information is determined, where the control information is used to control the power mode of the power supply of the camera to a low power consumption mode when the camera is a normally-on AO camera; and is used to control the power mode of the power supply of the camera to a high performance mode when the camera is a photographic camera; In response to the control information, control the power mode of the power supply of the Camera to be a low power consumption mode or a high performance mode; The control information is sent by the SOC to the first chip through the second system power management interface SPMI, and the first chip responds to the control information to control the power mode of the camera to a low power consumption mode or a high performance mode; The second system power management interface SPMI is different from the first SPMI connected to the power management unit PMU and the power management tool PMK.
5. The method according to claim 3 or 4, characterized in that: If the startup information indicates that the Camera is a normally-on AO Camera, the control information is determined by a smart sensor hub Sensorhub integrated in the system-on-chip SOC; If the startup information indicates that the Camera is a photography Camera, the control information is determined by an application processor AP integrated in the SOC.
6. A terminal device, characterized in that: include: Memory, processor and touch screen; wherein: The touch screen is used to display content; The memory is used to store a computer program, wherein the computer program includes program instructions; The processor is used to call the program instructions so that the terminal device executes the method according to any one of claims 3 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 3 to 5 is implemented.
