CN113760082A - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
CN113760082A
CN113760082A CN202010491490.5A CN202010491490A CN113760082A CN 113760082 A CN113760082 A CN 113760082A CN 202010491490 A CN202010491490 A CN 202010491490A CN 113760082 A CN113760082 A CN 113760082A
Authority
CN
China
Prior art keywords
processor
power management
management module
electronic device
abnormal information
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.)
Withdrawn
Application number
CN202010491490.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010491490.5A priority Critical patent/CN113760082A/en
Publication of CN113760082A publication Critical patent/CN113760082A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses electronic equipment, which comprises a power management module, a first processor and a second processor, wherein the power management module is electrically connected with the first processor, the first processor is electrically connected with the second processor, and the power management module is used for carrying out power distribution on the first processor; the first processor includes a control module configured to: when the power management module is abnormal, acquiring abnormal information of the power management module; judging whether a processor in a normal working state exists in the first processor and the second processor; if the first processor is in a normal working state, sending the abnormal information of the power management module to a central processing unit of the first processor; and if the second processor is in a normal working state, sending the abnormal information of the power management module to the second processor. Therefore, when the power management module is abnormal, the abnormal problem of the power management module is timely processed.

Description

Electronic device
Technical Field
The application relates to the technical field of electronic circuits, in particular to an electronic device.
Background
The power management chip can distribute power to the processor and send feedback information to the processor when the power management chip works abnormally so as to remind the processor to process the abnormality. After the processor receives the feedback information, the processor processes the abnormity based on the feedback information, and the problem of abnormal work of the power management chip is solved. However, if the processor is in the sleep state, the feedback cannot be responded to in time, so that the exception cannot be solved in time.
Disclosure of Invention
The embodiment of the application provides an electronic device, which can timely handle the abnormal problem of a power management module when the power management module is abnormal.
In a first aspect, the present application provides an electronic device, including a power management module, a first processor and a second processor, where the power management module is electrically connected to the first processor, and the first processor is electrically connected to the second processor;
the power management module is used for performing power distribution on the first processor;
the first processor comprises a control module configured to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
judging whether a processor in a normal working state exists in the first processor and the second processor;
if the first processor is in a normal working state, sending the abnormal information of the power management module to a central processing unit of the first processor;
and if the second processor is in a normal working state, sending the abnormal information of the power management module to the second processor.
In a second aspect, the present application provides another electronic device, including a power management module, a front image processor and an application processor, where the power management module is electrically connected to the front image processor, and the front image processor is electrically connected to the application processor;
the power supply management module is used for distributing power supply to the front image processor;
a control module configured to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
if the electronic equipment is in a first mode, sending abnormal information to the front image processor;
and if the electronic equipment is in a second mode, the control module sends the abnormal information to the application processor.
The electronic device provided by the embodiment of the application comprises a power management module, a first processor and a second processor, wherein the power management module is electrically connected with the first processor, the first processor is electrically connected with the second processor, and the power management module is used for distributing power to the first processor; the first processor includes a control module configured to: when the power management module is abnormal, acquiring abnormal information of the power management module; judging whether a processor in a normal working state exists in the first processor and the second processor; if the first processor is in a normal working state, sending the abnormal information of the power management module to a central processing unit of the first processor; and if the second processor is in a normal working state, sending the abnormal information of the power management module to the second processor. Therefore, when the power management module is abnormal, the abnormal problem of the power management module is timely processed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first structural schematic diagram of an electronic device provided in an embodiment of the present application.
Fig. 2 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a third structural schematic diagram of an electronic device provided in the embodiment of the present application.
Fig. 4 is a fourth structural schematic diagram of an electronic device provided in the embodiment of the present application.
Fig. 5 is a fifth structural schematic diagram of an electronic device provided in an embodiment of the present application.
Fig. 6 is a sixth structural schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides electronic equipment which can be used for timely processing the abnormal problem of a power management chip in the electronic equipment.
Referring to fig. 1, fig. 1 is a schematic view of a first structure of an electronic device according to an embodiment of the present disclosure. Wherein the electronic device includes an image sensor 110, a pre-image Signal Processing (pre-ISP) 210, and an Application Processor (AP) 310.
It is understood that the image sensor 110, the front image processor 210, and the application processor 310 are capable of processing image data, such as still image data and moving image data. The still image data may be understood as data of a still image, and the still image may be a frame of image obtained in the zero-delay photographing mode, that is, a frame of image is selected from the multiple frames of preview images. The still image may also be a frame image acquired in a non-zero time-lapse photographing mode. A static image may also be understood as an image displayed with an album open. The moving image data may be understood as data of a moving image, and the moving image may include a preview image, an image of a recorded video, and an image of a played video. It should be noted that the dynamic image may be understood as a video image, that is, the video image may include a preview image, a recorded video image, and a played video image.
The front image processor 210 includes a first interface 211 and a second interface 212. The image sensor 110 may be connected to the front image processor 210 through the first interface 211, and the application processor 310 may be connected to the front image processor through the second interface 212.
The first Interface 211 and the second Interface 212 may be Mobile Industry Processor interfaces (MI PI). The first interface 211 may receive image data such as RAW data, such as RAW data acquired from the image sensor 110. The image data such as RAW data received by the first interface 211 may be original image data, that is, the image data received by the first interface 211 is unprocessed image data, and specifically, the original image data may be understood as image data unprocessed by the image processor. The first interface 211 may transmit image data, such as raw image data, to the front image processor 210 after receiving the image data.
In some embodiments, the second interface 212 may receive results of the processing of the image data by the pre-image processor 210. The second interface 212 may be connected with the application processor 310 to transmit image data, such as video image data, received by the second interface 212 to the application processor 310.
In some embodiments, the first interface 211 and the second interface 212 are connected, the image data acquired by the image sensor 110 can be directly transmitted to the second interface 212 through the first interface 211, and then the second interface 212 transmits the image data to the application processor 310.
Please refer to fig. 2, wherein fig. 2 is a second schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device includes an image sensor 110, a multimedia processing chip 200 and an application processing chip 300.
The image sensor 110 may acquire image data. The image sensor 110 may be a Complementary Metal-Oxide-Semiconductor (CMOS) image sensor, a Charge Coupled Device (CCD) image sensor, or the like. The image sensor 110 may be electrically connected with the multimedia processing chip 200, such as the image sensor 600 being electrically connected with the first interface 201 of the multimedia processing chip 200. The image sensor 600 may collect RAW image data such as RAW image data and transmit the RAW image data to the multimedia processing chip 200 through the first interface 211 for processing by the front image processor 210 inside the multimedia processing chip 200.
In some embodiments, the electronic device further provides a Neural-Network Processing Unit (NPU) 230, the NPU 230 may receive the image data sent by the image sensor 110, and the NPU 230 may process the image data.
The various components of the multimedia processing chip 200 may be connected by a system bus 220. Such as the pre-image signal processor 210 connected to the system bus 220, the neural network processor 230 connected to the system bus 220, the memory connected to the system bus 240, the memory access controller connected to the system bus 220, and so forth.
The multimedia Processing chip 200 may further include a Central Processing Unit (CPU) for controlling operations of the system of the multimedia Processing chip 200, such as configuring peripheral parameters, controlling interrupt responses, and the like.
The application processing chip 300 includes an application processor 310, a system bus 320, an image signal processor 330, and a third interface 311.
The various components of the application processing chip 300 may be connected by a system bus 320. Such as application processor 310 coupled to system bus 320, video signal processor coupled to system bus 320, memory access controller coupled to system bus 320, and so forth
The third interface 311 may be a mobile industry processor interface, and the third interface 311 is electrically connected to the second interface 212 and can receive data processed by the multimedia processing chip 200.
The image signal processor 330 may process the image data, for example, the image signal processor 330 may further process the data processed by the multimedia processing chip 200. Of course, the image signal processor 330 may also process raw image data collected by the image sensor 110.
In some embodiments, the result of the image data processing by the front image processor 210 in the multimedia processing chip 200 can be transmitted to the memory of the application processing chip 300 through the connection of the second interface 212 and the third interface 311. The result of the image data processing by the neural network processor 230 in the multimedia processing chip 200 can be transmitted to the memory of the application processing chip 300 through the connection of the second interface 212 and the third interface 311.
When the electronic device is in different modes, the hardware working state inside the electronic device is also changed. For example, when the electronic device is in a power saving mode, the electronic device may cause some working elements to be in a sleep state or cause the performance of a processor of the electronic device to be limited. For another example, when the electronic device is in a video shooting mode, in order to enable the electronic device to shoot a video with a picture effect, more devices inside the electronic device are called to process received moving image data.
In some embodiments, when the electronic device is in a first mode, such as a zero-latency photographing mode, a play video mode, a record video mode, an album picture viewing mode, and so forth. The multimedia processing chip 200 pre-processes the image data captured by the image sensor 110 and then processes the image data by the image signal processor of the application processing chip to improve the image quality.
For example, when the electronic device is in a recorded video mode or takes a picture with zero delay, the image sensor 110 receives the image data, and then transmits the image data to the front image processor 210 through the first interface 211, and the front image processor 210 processes the image data. Or the image data is transmitted to the memory of the multimedia processing chip 200, and the neural network processor 230 may obtain the image data from the memory and process the image data. The image data may be still image data or moving image data. Or the front image processor 210 processes the image data to obtain first data, then transmits the first data to the neural network processor 230 for processing to obtain second data, finally the neural network processor 230 transmits the second data to the application processing chip 300, and the application processing chip 300 processes the second image to obtain final image processing data.
The image data processed by the front image processor 210 or the image data processed by the neural network processor 230 may be transmitted to the application processing chip 300, and the application processing chip 300 processes the image data processed by the multimedia processing chip 200 again, thereby achieving better picture quality.
For another example, when the electronic device is in a video playing mode or an album picture viewing mode, the multimedia processing chip 200 may obtain the stored image data, then perform RAW image editing on the image data, and finally display the processed image data on a display screen, so as to improve the display effect of the still image, improve the resolution of the video playing, and solve the problem of particles occurring in the video playing process.
In some embodiments, when the electronic device is in the second mode, for example, a non-zero delay photographing mode. In the non-zero-delay photographing mode, the application processor 310 of the application processing chip 300 may determine that the image data in the mode does not need to be preprocessed by the multimedia processing chip 200, and when the image data, such as the image data collected by the image sensor, is transmitted to the first interface 211, the image data transmitted to the first interface 211 may be directly transmitted to the second interface 212 and transmitted to the application processing chip through the second interface 212.
It should be noted that, in the non-zero-delay photographing mode, which is actually photographing offline processing, such as photographing processing time of 30 milliseconds, 50 milliseconds, etc., the process is not strong to the user. It does not require real-time transmission of image data. Based on this, the image processing efficiency can be improved on the basis of improving the image quality. Some embodiments of the present application may be directed to some images with low real-time data transmission, which are not processed by the multimedia processing chip, but directly processed by the image signal processor 330 of the application processing chip 300. Of course, the image signal may also be directly processed by the image signal processor 330 of the application processing chip 300 for some other special cases.
It can be understood that, when the electronic device is in the second mode, some devices inside the electronic device are in a dormant state, and do not need to participate in processing image data or processing other data, so as to save the power of the electronic device.
However, when the electronic device is in the second mode, some devices have power management chips or power management circuits with abnormal conditions, such as over-temperature, over-voltage, over-current, etc. Because the device is in a sleep state, a bypass mode (bypass mode) or an inoperative state, abnormal information of the power management chip cannot be reported to the device, which may cause an error when the power management chip allocates power, and finally cause the device to have system breakdown, device damage and the like.
Therefore, when the electronic device is in the second mode, the device in the normal operation needs to take over the power management chip corresponding to the device in the sleep state, and when the power management chip of the device in the sleep state is abnormal, the device in the normal operation can handle the abnormality.
Referring to fig. 3 in detail, fig. 3 is a schematic diagram illustrating a third structure of an electronic device according to an embodiment of the present disclosure. The electronic device includes a power management module 400, a first processor 500 and a second processor 600.
The power management module 400 is electrically connected to the first processor 500, and the power management module 400 is configured to distribute power to the first processor 500. The Power Management module 400 may be a Power Management Integrated Circuit (PMIC) of the first processor 500, or may be understood as a Power Management chip of the first processor 500. The power management module 400 communicates with the first processor 500 through corresponding interfaces and buses, so as to realize data interaction.
The first processor 500 and the second processor 600 are electrically connected, and the first processor 500 and the second processor 600 can communicate through corresponding buses and interfaces, so as to realize data interaction.
It should be noted that the first processor 500 includes a Central Processing Unit (CPU), and the CPU 510 is used to control the operation of the system of the multimedia Processing chip 200, such as configuring peripheral parameters, controlling interrupt response, and the like.
In addition, the first processor 500 may be the pre-image processor 210 described in the embodiment of the present application, and the second processor 600 may be the application processor 310 described in the embodiment of the present application. The first processor 500 and the second processor 600 may be other types of processors, the first processor 500 may be a main processor, the second processor 600 may be a co-processor, and so on, without limitation.
Referring to fig. 4, fig. 4 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The first processor 500 further includes a control module 520, the central processing unit 510 is electrically connected to the control module 520, the control module 520 can upload data to the central processing unit 510 or download data from the central processing unit 510, and data interaction with the power management module 400 can be realized through the control module 520.
The control module 520 is electrically connected to the second processor 600, the second processor 600 may send a corresponding instruction to the control module 520, and the control module 520 may also send a corresponding request to the second processor 600.
In some embodiments, when the electronic device is in the first mode, the first processor 500 is in a normal operating state, and the central processing unit 510 of the first processor 500 is also operating, the control module 520 may perform data interaction with the central processing unit 510.
When the power management module 400 works, the working information of the power management module 400 is sent to the control module 520, if the control module 520 determines that the first processor 500 is in a normal working state, the control module 520 sends the working information to the central processing unit 510, the central processing unit 510 generates a corresponding processing instruction according to the working information and sends the processing instruction to the control module 520, and the control module 520 can generate a corresponding regulation instruction according to the processing instruction to control the work of the power management module 400.
For example, when the power management circuit of the power management module 400 is abnormal, such as over-high temperature, over-high voltage, over-high current, and the like, the power management module 400 sends the detected abnormal information to the control module 520, the control module 520 reports the abnormal information to the central processing unit 510, the central processing unit 510 makes a corresponding decision according to the abnormal information to generate a first processing instruction and sends the first processing instruction to the control module 520, the control module 520 generates a corresponding regulation instruction according to the first processing instruction and then transmits the regulation instruction to the power management module 400, and the power management module 400 processes the abnormal information according to the regulation instruction.
For example, when the temperature of the power management module 400 is too high, the power management module 400 may adjust the power of the load according to the regulation instruction, so as to reduce the heating value. When the current or voltage of the power management module 400 is too high, the power management module 400 may implement voltage division and shunt by adjusting the size of the resistor to reduce the voltage or current.
In some embodiments, when the electronic device is in the second mode, the first processor 500 is in a sleep state or a bypass mode, in which the central processing unit 510 of the first processor 500 is inactive, and the control module 520 cannot interact with the central processing unit 510.
When the power management module 400 works, the working information of the power management module 400 is sent to the control module 520, when the control module 520 determines that the first processor 500 is in the sleep state and the second processor 600 is in the normal working state, the control module 520 sends the working information to the second processor 600, the second processor 600 generates a corresponding processing instruction according to the working information and sends the processing instruction to the control module 520, and the control module 520 can generate a corresponding regulation instruction according to the processing instruction to control the work of the power management module 400.
For example, when the power management circuit of the power management module 400 is abnormal, such as over-high temperature, over-high voltage, over-high current, and the like, the power management module 400 sends the detected abnormal information to the control module 520, because the first processor 500 is not in a normal working state, the control module 520 reports the abnormal information to the second processor 600, the second processor 600 generates a corresponding second processing instruction according to the abnormal information, and sends the second processing instruction to the control module 520, the control module 520 generates a corresponding regulation instruction according to the second processing instruction, and transmits the regulation instruction to the power management module 400, and the power management module 400 processes the abnormal information according to the regulation instruction.
For example, when the temperature of the power management module 400 is too high, the power management module 400 may adjust the power of the load according to the regulation instruction, so as to reduce the heating value. When the current or voltage of the power management module 400 is too high, the power management module 400 may implement voltage division and shunt by adjusting the size of the resistor to reduce the voltage or current. Or the power management module 400 directly powers off and powers on again according to the regulation and control instruction to handle the abnormal problem of the power management module.
In some embodiments, after the control module 520 receives the operation information of the power management module 400, when the control module 520 determines that both the first processor 500 and the second processor 600 are in the normal operation state, the operation information may be directly sent to the first processor 500, and the first processor 500 generates a corresponding instruction to control the operation of the power management module 400.
Referring to fig. 5, fig. 5 is a fifth structural schematic diagram of an electronic device according to an embodiment of the disclosure. The control module 520 includes a register 521 and a controller 522, where the register 521 can store a processing instruction sent by the first processor 500 or the second processor 600, and meanwhile, when the power management module 400 sends work information, such as exception information of the power management module 400, to the control module 520, the register 521 can store the exception information, such as an exception type of the exception information.
In some embodiments, when the electronic device is in the second mode and the first processor 500 is in the sleep state, when the power management module 400 is abnormal, the power management module 400 sends the abnormal information to the control module 520, at this time, the control module 520 stores the acquired abnormal information and the type of the abnormal information in the register 521, and then the control module 520 sends a processing request to the second processor 600. Then, after receiving the processing request, the second processor 600 obtains the exception type of the exception information stored in the register 521, the second processor 600 generates a corresponding second processing instruction according to the exception type, and sends the second processing instruction to the control module 520, and the controller 522 of the control module 520 generates a regulation instruction according to the second processing instruction, and sends the regulation instruction to the power management module 400.
The power management module 400 processes the abnormal information according to the acquired regulation instruction, for example, power is turned on again or power is turned off.
In addition, when the electronic device is in the first mode, the first processor 500 is in a normal operating state, and when the power management module 400 is abnormal, the power management module 400 sends the abnormal information to the control module 520, at this time, the control module 520 stores the acquired abnormal information and the type of the abnormal information in the register 521, and then reports the abnormal information to the central processing unit 510, and the central processing unit 510 generates the first processing instruction according to the abnormal information and the type of the abnormal information. And sends the first processing instruction to the control module 520, the control module 520 generates a corresponding regulation instruction according to the first processing instruction, and then transmits the regulation instruction to the power management module 400, and the power management module 400 processes the abnormal information according to the regulation instruction.
It should be noted that the exception information and the exception type of the exception information sent by the power management module 400 to the control module 520 may also be stored in a memory corresponding to the first processor 500, where the memory may be a memory different from a register type, for example, the memory may be a static memory or a dynamic memory, such as a ddr (double Data Rate sdram). The number of the memories may be one or more.
Referring to fig. 6, fig. 6 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The first processor 500 further includes a fourth interface 530, a fifth interface 540, and a sixth interface 550, the fourth interface 530, the fifth interface 540, and the sixth interface 550 are electrically connected to the control module 520, respectively, and the fourth interface 530, the fifth interface 540, and the sixth interface 550 can transmit different data or the same data.
The power management module 400 may be connected with a fourth interface 530. The second processor 600 may be connected to the fifth interface 540 and may also be connected to the sixth interface 550.
For example, the fourth Interface 530 may be a System Power Management Interface (SPMI), when the Power Management module 400 sends the operation information to the first processor 500 through the fourth Interface 530.
The fifth interface 540 may be a General Purpose Input Output (GPIO) interface, and the control module 520 may send an interrupt signal to the second processor 600 through the fifth interface 540, and notify the second processor 600 of the abnormal operation condition of the power management module 400 through the interrupt signal.
The sixth Interface 550 may be a Serial Peripheral Interface (SPI), which is a high-speed, full-duplex, synchronous communication bus. When the second processor 600 works normally, the data stored in the first processor 500 may be obtained through the sixth interface 550, for example, the second processor 600 obtains the type of the exception information stored in the register 521 of the control module 520 through the sixth interface 550. The second processor 600 may further transmit the second processing instruction to a register corresponding to the controller 522 of the control module through the sixth interface 550, and then the controller 522 generates a corresponding regulation instruction according to the second processing instruction.
The control module 520 may transmit the regulation instruction to the power management module 400 through the fourth interface 530, and the power management module 400 processes the abnormal information according to the regulation instruction, for example, the power management module 400 powers off or powers on again, so as to solve the abnormal problem of the power management module 400 in time.
The first mode and the second mode of the electronic device may correspond to different processing modes when the electronic device takes a picture, for example, in the first mode, the image data collected by the image sensor is sent to the front image processor and processed by the front image processor, and the image data processed by the front image processor is transmitted to the image processing unit of the application processor through the second interface.
When in a second mode, the second mode comprises that the image data acquired by the image sensor is transmitted to the application processor through the direct connection of the first interface and the second interface.
Specifically, in an actual scene, when the electronic device takes a picture, the picture taking mode of the electronic device is a non-zero-delay picture taking mode (a second mode), at this time, the first processor 500 (the front image processor 210) is in a sleep state and does not need to participate in processing of image data, at this time, the central processing unit 510 of the first processor 500 is inactive, when the power management module 400 of the first processor 500 is abnormally operated, the power management module 400 transmits abnormal information to the control module 520 through the fourth interface 530, the control module 520 transmits the abnormal information to the second processor 600 through the fifth interface 540, the second processor 600 generates a second processing instruction according to the abnormal information and transmits the second processing instruction to the control module 520 through the sixth interface 550, the control module 520 generates a corresponding regulation instruction according to the second processing instruction, and finally transmits the regulation instruction to the power management module 400, the power management module 400 processes the abnormal information in time according to the regulation and control instruction.
In summary, in the embodiment of the present application, when the power management module is abnormal, the control module obtains the abnormal information of the power management module; if the central processing unit of the first processor is in a normal working state, the control module sends the abnormal information to the central processing unit; if the central processing unit of the first processor is in a dormant state, the control module sends the abnormal information to the second processor in a normal working state. Therefore, when the power management module is abnormal, the abnormal problem of the power management module is timely processed.
It will be understood by those of ordinary skill in the art that all or part of the steps in the various embodiments of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions, which can be loaded by a processor to execute the instructions provided by the embodiments of the present application.
For example, when the electronic device is in the first mode, the control module is configured with instructions to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
and sending the abnormal information of the power management module to the front image processor.
When the electronic device is in the second mode, the control module is configured with instructions to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
the control module sends the exception information to the application processor.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the method steps in any embodiment provided in the embodiments of the present application, beneficial effects that can be achieved by the electronic device provided in the embodiments of the present application may be achieved, for details, see the foregoing embodiments, and are not described herein again.
The electronic device provided by the embodiment of the present application is described in detail above, and the principle and the implementation of the present application are explained in this document by applying specific examples, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. An electronic device is characterized by comprising a power management module, a first processor and a second processor, wherein the power management module is electrically connected with the first processor, and the first processor is electrically connected with the second processor;
the power management module is used for performing power distribution on the first processor;
the first processor comprises a control module configured to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
judging whether a processor in a normal working state exists in the first processor and the second processor;
if the first processor is in a normal working state, sending the abnormal information of the power management module to a central processing unit of the first processor;
and if the second processor is in a normal working state, sending the abnormal information of the power management module to the second processor.
2. The electronic device of claim 1, wherein the control module is further configured to:
receiving a first processing instruction sent by the first processor or a second processing instruction sent by the second processor;
generating a regulation and control instruction corresponding to the abnormal information according to the first processing instruction or the second processing instruction;
and sending the regulation and control instruction to the power management module.
3. The electronic device of claim 2, wherein the control module comprises a controller and a register;
the register is used for storing the first processing instruction or the second processing instruction;
the controller is used for generating the regulating instruction according to the first processing instruction or the second processing instruction.
4. The electronic device of claim 3, wherein the second processor is configured to:
if the central processing unit of the first processor is in a dormant state, acquiring the second processing instruction corresponding to the abnormal information according to the abnormal information;
and sending the second processing instruction to the control module.
5. The electronic device of claim 4, wherein the register is further configured to store an exception type of the exception information;
the second processor is configured to:
acquiring the exception type of exception information stored in the register;
acquiring the second processing instruction corresponding to the abnormal information according to the abnormal type of the abnormal information;
and sending the second processing instruction to the control module.
6. The electronic device of claim 2, wherein the first processor is configured to:
if the central processing unit of the first processor is in a normal working state, acquiring the first processing instruction corresponding to the abnormal information according to the abnormal information;
and sending the first processing instruction to the control module.
7. The electronic device of any of claims 1-6, wherein the power management module is configured to:
receiving a regulation and control instruction sent by the control module;
and regulating and controlling a circuit according to the regulating and controlling instruction so as to process the abnormal information.
8. An electronic device is characterized by comprising a power management module, a front image processor and an application processor, wherein the power management module is electrically connected with the front image processor, and the front image processor is electrically connected with the application processor;
the power supply management module is used for distributing power supply to the front image processor;
a control module configured to:
when the power management module is abnormal, acquiring abnormal information of the power management module;
if the electronic equipment is in a first mode, sending abnormal information to the front image processor;
and if the electronic equipment is in a second mode, the control module sends the abnormal information to the application processor.
9. The electronic device of claim 8, further comprising an image sensor for acquiring image data, the image sensor being connected to the front image processor via a first interface;
the image processor is connected with the application processor through a second interface, and the second interface is connected with the first interface;
the first mode comprises the steps that image data collected by the image sensor are sent to the front image processor and processed by the front image processor, and the image data processed by the front image processor are transmitted to the image processing unit of the application processor through the second interface;
the second mode comprises that the image data collected by the image sensor is transmitted to the application processor through the direct connection of the first interface and the second interface.
10. The electronic device of claim 9, wherein when the electronic device is in the second mode, the image processor is configured to:
transmitting the image data received from the first interface of the image processor to the application processor directly through the second interface of the image processor;
and in the second mode, the application processing chip processes the image data.
11. The electronic device of any of claims 8-10, wherein the first mode comprises at least one of a zero-latency photography mode, a play video mode, a record video mode, and an album picture viewing mode, and wherein the second mode comprises a non-zero-latency photography mode.
12. The electronic device of claim 11, wherein when the electronic device is in the second mode, the image processor is in a bypass mode;
the application processor is configured to:
receiving the abnormal information sent by the control module;
generating a corresponding processing instruction according to the abnormal information and sending the processing instruction to the control module;
the control module is configured to:
generating a regulation and control instruction corresponding to the abnormal information according to the processing instruction;
sending the regulation and control instruction to the power management module;
the power management module is configured to:
and powering off or powering on again according to the regulating and controlling instruction.
CN202010491490.5A 2020-06-02 2020-06-02 Electronic device Withdrawn CN113760082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010491490.5A CN113760082A (en) 2020-06-02 2020-06-02 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010491490.5A CN113760082A (en) 2020-06-02 2020-06-02 Electronic device

Publications (1)

Publication Number Publication Date
CN113760082A true CN113760082A (en) 2021-12-07

Family

ID=78782938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010491490.5A Withdrawn CN113760082A (en) 2020-06-02 2020-06-02 Electronic device

Country Status (1)

Country Link
CN (1) CN113760082A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627266A (en) * 2003-12-12 2005-06-15 乐金电子(中国)研究开发中心有限公司 Error processing method of mobile communication terminal and device
US20130151837A1 (en) * 2011-12-09 2013-06-13 International Business Machines Corporation Application management of a processor performance monitor
CN104216790A (en) * 2013-05-29 2014-12-17 联想(北京)有限公司 Part anomaly monitoring method and electronic equipment
CN105589336A (en) * 2014-11-07 2016-05-18 三星电子株式会社 Multi-Processor Device
CN105929925A (en) * 2015-02-26 2016-09-07 三星电子株式会社 Electronic device and method for managing power in electronic device
CN106937052A (en) * 2017-03-29 2017-07-07 维沃移动通信有限公司 The processing method and mobile terminal of a kind of view data
CN107808645A (en) * 2016-08-30 2018-03-16 乐金显示有限公司 Display device and electric power monitoring circuit
CN108388334A (en) * 2017-02-03 2018-08-10 三星电子株式会社 Electronic equipment and the method for preventing electronic equipment consumption electric current
CN110134216A (en) * 2019-04-25 2019-08-16 维沃移动通信有限公司 A kind of power control, method and terminal device
CN111078448A (en) * 2019-08-06 2020-04-28 华为技术有限公司 Method for processing audio abnormity and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627266A (en) * 2003-12-12 2005-06-15 乐金电子(中国)研究开发中心有限公司 Error processing method of mobile communication terminal and device
US20130151837A1 (en) * 2011-12-09 2013-06-13 International Business Machines Corporation Application management of a processor performance monitor
CN104216790A (en) * 2013-05-29 2014-12-17 联想(北京)有限公司 Part anomaly monitoring method and electronic equipment
CN105589336A (en) * 2014-11-07 2016-05-18 三星电子株式会社 Multi-Processor Device
CN105929925A (en) * 2015-02-26 2016-09-07 三星电子株式会社 Electronic device and method for managing power in electronic device
CN107808645A (en) * 2016-08-30 2018-03-16 乐金显示有限公司 Display device and electric power monitoring circuit
CN108388334A (en) * 2017-02-03 2018-08-10 三星电子株式会社 Electronic equipment and the method for preventing electronic equipment consumption electric current
CN106937052A (en) * 2017-03-29 2017-07-07 维沃移动通信有限公司 The processing method and mobile terminal of a kind of view data
CN110134216A (en) * 2019-04-25 2019-08-16 维沃移动通信有限公司 A kind of power control, method and terminal device
CN111078448A (en) * 2019-08-06 2020-04-28 华为技术有限公司 Method for processing audio abnormity and electronic equipment

Similar Documents

Publication Publication Date Title
US8610793B2 (en) Electronic camera that reduces processing time by performing different processes in parallel
US7478260B2 (en) System and method for setting a clock rate in a memory card
US20170078573A1 (en) Adaptive Power Saving For Multi-Frame Processing
CN111026254A (en) Temperature control method, temperature control device, storage medium and electronic equipment
JP2001238190A (en) Image processing apparatus and its control processing method
JP3333144B2 (en) Imaging device
CN113760082A (en) Electronic device
CN212303018U (en) Image signal processing device, terminal
US20180288344A1 (en) Systems and methods for dynamic voltage scaling of an image signal processor
KR100852885B1 (en) Circuit and method for controlling current consumed therein in power-down mode, and i2c interface circuit
US10771681B2 (en) Imaging pickup apparatus of which display start timing and display quality are selectable, method of controlling the same
JPH02248170A (en) Electronic camera
US10506161B2 (en) Image signal processor data traffic management
US20220264002A1 (en) Computing device, information processing apparatus and control method
JP2002190982A (en) Photographing apparatus, image processing system, control method, and storage medium
US11405551B2 (en) Imaging apparatus
JP4266477B2 (en) Information processing apparatus and control method thereof
JP3225357B2 (en) Electronic camera
US11537299B2 (en) Local memory use for perspective transform engine
US20090077406A1 (en) Computer, Power Saving Method And Method For Reducing Output Current Of A Web Camera
KR101939990B1 (en) Low power LVDS video transmission device, system and method
JP4408478B2 (en) Video recording device
CN113902608A (en) Image processing architecture, method, storage medium and electronic device
CN113806283A (en) Processing chip, circuit board, electronic equipment and data transmission method
JP3937253B2 (en) Video camera

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20211207

WW01 Invention patent application withdrawn after publication