Processing method and processing device
By switching the first processing system to the second processing system when the electronic device is connected to the external video signal, the problem of excessive power consumption of the device is solved, and a longer battery life and a better user experience is achieved.
Patent Information
- Application Number
- CN202110335746.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2041-03-29
AI Technical Summary
After the electronic device is connected to the external video signal, its own operating system is not turned off, resulting in excessive power consumption, affecting the device's battery life and portability performance.
By switching from the first processing system to the second processing system by controlling the electronic device, the first processing system is deactivated, additional energy consumption is avoided, and external video input signals are processed through the second processing system according to the operating state of the display control unit.
It realizes that when external input signals are connected, the power consumption of electronic devices is reduced, the battery life is extended, and the user experience is improved.
Smart Images

Figure CN113031744B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display processing technologies, and particularly relates to a processing method and a processing device. Background Art
[0002] With the development of display processing technologies and the diversity of user requirements, electronic devices such as TVs / tablets can be used as displays for output. Among them, after a TV accesses an external signal, the TV outputs the content corresponding to the external signal. At this time, the TV's own playback system is not turned off, which will increase the power consumption of the TV; when using a tablet as a portable display for output, after accessing an external signal, the tablet outputs the content input by the external signal. At this time, if the tablet's own operating system is not turned off and is still running, it will cause excessive power consumption of the tablet, affecting the battery life of the tablet and thus affecting the portability of the tablet. Summary of the Invention
[0003] In view of the above problems existing in the prior art, this application provides a processing method and a processing device. The technical solutions adopted in the embodiments of this application are as follows:
[0004] A processing method includes:
[0005] In response to the access of an external video input signal, controlling the electronic device to switch from a first processing system to a second processing system to process the external video input signal;
[0006] Adjusting the processing of the external video input signal by the second processing system according to the working state of the display control unit; wherein:
[0007] The first processing system and the second processing system are different operating systems.
[0008] In some embodiments, the controlling the electronic device to switch from the first processing system to the second processing system includes:
[0009] Suspending the running events of the first processing system, including:
[0010] Stopping multimedia playback, saving and closing document files;
[0011] Blocking the screen-on event;
[0012] Blocking the hardware wake-up source.
[0013] In some embodiments, the controlling the electronic device to switch from the first processing system to the second processing system further includes:
[0014] Along with the suspension of the running events of the first processing system, powering on the display control unit to adjust the processing of the external video input signal by the second processing system.
[0015] In some embodiments, when the control electronic device switches from the first processing system to the second processing system, it further includes:
[0016] After suspending the running event of the first processing system, obtain the parameters of the device, where the parameters of the device at least include: screen brightness, volume, battery power or battery temperature.
[0017] In some embodiments, adjusting the processing of the external video input signal by the second processing system according to the working state of the display control unit includes:
[0018] When the display control unit is working properly, configure the parameters of the device so that the electronic device can output the content of the external video input signal.
[0019] In some embodiments, the method further includes:
[0020] When running the second processing system, adjust the parameters of the device through the display control unit.
[0021] In some embodiments, the method further includes:
[0022] When the electronic device can output the content of the external video input signal, regularly obtain the working state of the display control unit.
[0023] In some embodiments, the method further includes:
[0024] When cutting off the input signal, control the electronic device to switch from the second processing system to the first processing system.
[0025] In some embodiments, switching to the first processing system includes:
[0026] Running the events corresponding to the first processing system includes:
[0027] Resume responding to the screen-on event;
[0028] Restore the hardware wake-up source.
[0029] On the other hand, an embodiment of the present application further provides a processing device, including:
[0030] A control unit, configured to control the electronic device to switch from the first processing system to the second processing system in response to the access of an external video input signal to process the external video input signal;
[0031] A display control unit, configured to adjust the processing of the external video input signal by the second processing system;
[0032] Wherein:
[0033] The first processing system and the second processing system are different operating systems.
[0034] Through the processing method and device proposed in the embodiments of the present application, when an external input signal is accessed, it is possible to control the electronic device to switch from the first processing system to the second processing system, thereby deactivating the first processing system, avoiding additional energy consumption, and at the same time, according to the working state of the display control unit, processing the external video input signal through the second processing system to achieve the content output corresponding to the accessed signal, while reducing the power consumption of the electronic device and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present disclosure. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0036] Figure 1 It is a flowchart of the processing method according to the embodiments of the present application;
[0037] Figure 2 It is a structural block diagram of the processing device according to the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions of the embodiments of the present application with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the described embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.
[0039] Unless otherwise defined, technical terms or scientific terms used in this application shall have the ordinary meanings as understood by those of ordinary skill in the art to which this application pertains. The terms "first", "second" and similar terms used in this application do not denote any order, quantity or importance, but are only used to distinguish different components. Words such as "including" or "comprising" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Upper", "lower", "left", "right", etc. are only used to indicate relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0040] To keep the following description of the embodiments of this application clear and concise, detailed descriptions of known functions and known components are omitted in this application.
[0041] The embodiments of this application provide a processing method. When an external video signal is accessed, by switching the first processing system to the second processing system, the first processing system is deactivated to reduce the power consumption of the electronic device. At the same time, the second processing system processes the accessed external video signal according to the working state of the display control unit to achieve corresponding output.
[0042] Figure 1 For the flowchart of the processing method of the embodiments of this application, see Figure 1 As shown, the processing method of the embodiments of this application specifically includes the following steps:
[0043] S1, in response to the access of an external video input signal, control the electronic device to switch from the first processing system to the second processing system to process the external video input signal.
[0044] In this application, the electronic device is configured with a display interface, a first processing system, and a second processing system. The display interface is used to transmit audio or video signals from a source device to the electronic device. Common interface types include, but are not limited to, High-Definition Multimedia Interface (HDMI), DisplayPort (DP), or Mobile Industry Processor Interface (MIPI) Display Serial Interface (DSI). The first processing system is configured to process the operation and management of various applications of the electronic device when no audio or video signal is accessed through the display interface of the electronic device. The second processing system is configured to at least be able to process the display signal accessed through the display interface and perform output display when an audio or video signal is accessed through the display interface of the electronic device.
[0045] In this step, when the electronic device runs the first processing system and a video signal is connected to the display interface of the electronic device, in response to the connection of the externally connected video signal, the electronic device is controlled to switch from the currently running first processing system to the second processing system capable of video / audio signal processing. At this time, the first processing system is deactivated and the second processing system is activated to start running, so as to process the externally connected video input signal.
[0046] S2. Adjust the processing of the externally connected video input signal by the second processing system according to the working state of the display control unit. Among them, the first processing system and the second processing system are different operating systems.
[0047] In this step, the first processing system and the second processing system are different operating systems, which are independent of each other and can both control the electronic device to perform input / output operations and manage program running. The type of the specific operating system is not limited here. The type of the operating system of the first processing system can be the same as that of the second processing system. For example, they can both be the Android operating system, or they can be different. The display control unit is used to control the output of the video content corresponding to the externally connected video input signal. When the second processing system is running, the working state of the display control unit includes states such as power-on and enabled, initialization running, abnormal disconnection, or normal disconnection. According to the different working states of the display control unit, the first processing system is correspondingly controlled whether to enter the sleep state, and the processing of the externally connected video input signal by the second processing system is adjusted, so that the electronic device can output the video content corresponding to the externally connected video input signal.
[0048] Through the processing method proposed in the embodiments of the present application, it can be realized that when an externally connected input signal is connected, the electronic device is controlled to switch from the first processing system to the second processing system, so as to deactivate the first processing system and avoid additional energy consumption. At the same time, according to the working state of the display control unit, the externally connected video input signal is processed by the second processing system to realize the output of the content corresponding to the connected signal, while reducing the power consumption of the electronic device and improving the user experience.
[0049] In some embodiments, when the control electronic device switches from the first processing system to the second processing system, it includes: suspending the running events of the first processing system, specifically including: stopping multimedia playback, saving and closing document files; shielding the screen-on events; shielding the hardware wake-up sources. In this embodiment, when the control electronic device switches from the first processing system to the second processing system, the first processing system needs to be stopped first before the second processing system can be enabled to run. Stopping the first processing system includes: suspending the running events of the first processing system and not continuing to execute, specifically including: first stopping the multimedia being played in the multimedia playback event, or saving and then closing the document file that is open in the document processing event; then shielding the events in the first processing system that may cause the screen to turn on, such as shielding the reminder event when a new notification message of an application is reported through the Framework layer, etc., to avoid enabling the first processing system to process when a new message notification of the application is reported; in the process of the first processing system entering the sleep state, finally shielding the hardware wake-up sources of the electronic device and shielding some hardware that can wake up the electronic device, such as shielding the power button of the electronic device, to avoid waking up the first processing system through the power button of the electronic device.
[0050] In some embodiments, when the control electronic device switches from the first processing system to the second processing system, it further includes: with the suspension of the running events of the first processing system, powering on the display control unit to adjust the processing of the external video input signal by the second processing system. In this embodiment, to switch to the second processing system as soon as possible to process the external video input signal and at the same time shorten the waiting time after the second processing system is enabled, while suspending the running events of the first processing system, the display control unit is powered on in advance before the second processing system is enabled to complete the initialization of the display control unit during the suspension of the running events of the first processing system. Thus, when switching to the second processing system after the running events of the first processing system are suspended, the display control unit can be directly enabled, so as to adjust the processing of the external video input signal by the second processing system.
[0051] In some embodiments, when the control electronic device switches from the first processing system to the second processing system, it further includes: after suspending the running event of the first processing system, obtaining the parameters of the device, where the parameters of the device at least include: screen brightness, volume, battery power or battery temperature. In this embodiment, to smoothly switch to the second processing system to process the external video input signal, after suspending the running event of the first processing system, by obtaining the initial relevant parameters when the electronic device enables the second processing system, to confirm the state of the electronic device, the obtained parameters of the device at least include: the screen brightness of the electronic device and the set volume at that time, as well as the remaining battery power or the temperature of the battery at this time, to determine the current working state or battery life of the electronic device, and whether the electronic device is suitable to switch to the second processing system to continue working.
[0052] In some embodiments, adjusting the processing of the external video input signal by the second processing system according to the working state of the display control unit includes: when the display control unit is working properly, configuring the parameters of the device so that the electronic device can output the content of the external video input signal. In this embodiment, when the second processing system is enabled and running, when the display control unit is in a normal working state, to enable the electronic device to output the content of the video corresponding to the external video input signal, the relevant parameters of the device are configured through the display control unit, such as configuring the screen output and initial screen brightness of the device, turning on the internal speaker of the device and the initial volume size, so as to output video content on the screen of the electronic device.
[0053] In some embodiments, it further includes: when running the second processing system, adjusting the parameters of the device through the display control unit. In this embodiment, the user can adjust the parameters of the device through the display control unit. For example, when the surrounding brightness changes, the brightness of the display screen can be adjusted brighter or darker, or when the surrounding is noisy, the volume of the playback can be adjusted larger.
[0054] In some embodiments, it further includes: when the electronic device can output the content of the external video input signal, regularly obtaining the working state of the display control unit. In this embodiment, to ensure the stability when the electronic device outputs video content through the second processing system, it is necessary to regularly obtain the working state of the display control unit, so that when the working state of the display control unit is disconnected or other abnormalities occur, the connection state of the cable or the relevant problem source can be checked in time, and the playback of the video content can be restored in time.
[0055] In some embodiments, it further includes: when the input signal is cut off, controlling the electronic device to switch from the second processing system to the first processing system. In this embodiment, when the electronic device is running the second processing system, the access of the input signal is cut off from the display interface of the electronic device. At this time, the electronic device is controlled to switch from the running second processing system to the first processing system, that is, the second processing system is deactivated and the first processing system is enabled to process relevant tasks or processes of the electronic device.
[0056] Specifically, in some embodiments, the switching to the first processing system includes: running events corresponding to the first processing system, including: restoring the response to the screen-on event; restoring the hardware wake source. In this embodiment, in order to enable the first processing system, events corresponding to it can be run through the first processing system. The response to the screen-on event needs to be restored. For example, some applications shielded at the Framework layer are reminded to report when they receive new notification messages, so that these application notifications can be received and processed in a timely manner when the first processing system is re-enabled; at the same time, the hardware wake source is restored, and the hardware that can wake up the electronic device shielded when the first processing system enters the sleep state is restored, such as the power button of the electronic device, so as to restore waking up the electronic device through the power button, and then process corresponding events through the first processing system.
[0057] When specifically applying the processing method of the embodiments of the present application, the user first uses a cable with an adapter to connect the original device that outputs the video signal to the display interface of the electronic device. After the connection, the software scanning program is used to remove jitter interference and check for connection faults. If the continuous scanning results are all normal within the anti-shake time (such as 100 ms), the connection status of the display interface and the cable is updated to connected. If there is a disconnection in the continuous scanning results within the anti-shake time (such as 100 ms), the electronic device does not perform the next operation and waits for the user's operation, such as checking the connection status of the interface and the cable or confirming whether the cable is faulty.
[0058] When the connection status between the display interface and the cable is updated to connected, control the electronic device to switch from the first processing system to the second processing system, that is, stop the operation of the first processing system and enter the sleep state, and start the second processing system to process the external video input signal. The stop of the operation of the first processing system includes suspending the operation events related to the first processing system. While suspending the operation events related to the first processing system, power on the display control unit, which can shorten the waiting time after the second processing system is enabled and can start processing the external video input signal for output as soon as possible. In a specific implementation, suspending the operation events related to the first processing system includes the playback event or document processing event running in the first processing system, stopping multimedia playback or saving and closing the document without continuing to execute. After closing the running application, further shield the screen-on event in the first processing system. For example, shield the reminder event when a new message notification of the application is reported through the framework layer to avoid enabling the first processing system for processing when a new message notification of the application is reported; during the process of the first processing system entering the sleep state, shield the hardware wake-up sources of the electronic device and shield some hardware that can wake up the electronic device, such as shielding the power button of the electronic device to avoid waking up the first processing system through the power button of the electronic device. Finally, turn off the display screen of the electronic device. At this time, the display screen of the electronic device cannot be turned on through the power button of the electronic device to wake up the first processing system, but the input and output paths of the electronic device are configured through the display control unit and the opening of the display screen of the electronic device is controlled.
[0059] Specifically, first obtain the relevant parameters of the device through the display control unit, such as: screen brightness, volume, battery power or battery temperature, to confirm the state of the electronic device, and control whether the first processing system enters the sleep state according to the working state of the display control unit. When the display control unit is running normally, control the first processing system to enter the sleep state, and the electronic device enables the operation of the second processing system. At this time, the electronic device switches from the first processing system to the second processing system; when the display control unit runs abnormally, do not control the first processing system to enter the sleep state and wait for further operations by the user, such as checking the connection status of the interface and the cable or confirming whether the cable is faulty. After confirming that there is no problem, perform the next operation according to the working state of the display control unit.
[0060] After the control electronic device enables the second processing system, when the display control unit is working properly, configure the parameters of the device through the display control unit, such as configuring the screen output and initial screen brightness of the device, turning on and off the internal speaker of the device and the initial volume size, so that the electronic device can output the image content corresponding to the external video input signal. Of course, during the operation of the second processing system, the user can also adjust the parameters of the device through the display control unit. For example, when the surrounding brightness changes, brighten or dim the brightness of the display screen, or when the surrounding is noisy, turn up the playing volume. In addition, the electronic device will obtain the working state of the display control unit at a predetermined period, so that when the working state of the display control unit is disconnected or otherwise abnormal, the connection state of the cable or the relevant problem source can be checked in time to resume the playback of the video content in time.
[0061] Of course, the user can also cut off the access of the input signal from the display interface of the electronic device when the second processing system is running on the electronic device. In this way, the electronic device will switch from the running second processing system to the first processing system, that is, disable the second processing system and enable the first processing system to process the relevant tasks or processes for processing the electronic device. Among them, switching to the first processing system may include: running the events corresponding to the first processing system. Specifically, it includes: restoring the response to the screen-on event, for example, restoring the reminder event reported when some applications shielded in the Framework layer receive new notification messages, so that these application notification messages can be received and processed in time when the first processing system is re-enabled to control the electronic device to enable the first processing system; at the same time, restoring the hardware wake-up source, that is, restoring the hardware that can wake up the electronic device shielded when the first processing system enters the sleep state, such as the power button of the electronic device, to restore waking up the electronic device through the power button, so as to process the corresponding events through the first processing system; switching the input and output paths of the electronic device, and controlling the opening of the display screen through the first processing system. After the initialization process of the display screen is completed, turn on the display screen. At this time, the first processing system runs normally and can process relevant events, such as multimedia playback, accessing relevant application programs, document processing, etc.
[0062] An embodiment of the present application also proposes a processing device, and the processing device includes:
[0063] A control unit 10, configured to control the electronic device to switch from the first processing system to the second processing system in response to the access of an external video input signal to process the external video input signal.
[0064] In this application, the electronic device is configured with a display interface, a first processing system, and a second processing system. The display interface is used to transmit audio or video signals from a source device to the electronic device. Common interface types include, but are not limited to, High-Definition Multimedia Interface (HDMI), DisplayPort (DP), or Mobile Industry Processor Interface (MIPI) Display Serial Interface (DSI). The first processing system is configured to process the operation and management of various applications of the electronic device when no audio or video signal is connected to the display interface of the electronic device. The second processing system is configured to at least be used to process the display signal connected to the display interface and perform output display when an audio or video signal is connected to the display interface of the electronic device.
[0065] In an embodiment of this application, when the electronic device runs the first processing system and a video signal is connected to the display interface of the electronic device, in response to the connection of the external video signal, the control unit 10 controls the electronic device to switch from the currently running first processing system to the second processing system capable of processing video / audio signals. At this time, the first processing system is deactivated, and the second processing system is activated to start running, so as to process the connected external video input signal.
[0066] The display control unit 20 is configured to adjust the processing of the external video input signal by the second processing system. Among them:
[0067] The first processing system and the second processing system are different operating systems.
[0068] In an embodiment of this application, the first processing system and the second processing system are different operating systems, which are independent of each other and can both control the electronic device to perform input / output operations and manage program running. The type of the specific operating system is not limited here. The type of the operating system of the first processing system can be the same as that of the second processing system. For example, they can both be the Android operating system, or they can be different. The display control unit 20 is used to control the output of the video content corresponding to the external video input signal. When the second processing system is running, the working states of the display control unit 20 include power-on enabled, initialization running, abnormal disconnection, or normal disconnection, etc. According to the different working states of the display control unit 20, the processing of the external video input signal by the second processing system is adjusted accordingly, so that the electronic device can output the video content corresponding to the external video input signal.
[0069] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application that have equivalent elements, modifications, omissions, combinations (e.g., schemes that cross various embodiments), adaptations, or alterations. The elements in the claims will be broadly interpreted based on the language employed in the claims and are not limited to the examples described in this specification or during the implementation of the present application, and the examples will be interpreted as non-exclusive. Thus, this specification and the examples are intended to be considered only as examples, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.
[0070] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of their aspects) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. Additionally, in the above detailed description, various features can be grouped together to simplify the present application. This should not be construed as an intention that an unclaimed disclosed feature is necessary for any claim. On the contrary, the subject matter of the present application can be less than all the features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, where each claim independently serves as a separate embodiment, and it is contemplated that these embodiments can be combined with each other in various combinations or permutations. The scope of the present application should be determined with reference to the appended claims and the full scope of the equivalent forms empowered by these claims.
[0071] The above has described in detail multiple embodiments of the present application, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope claimed by the present application.
Claims
1. Processing method, wherein, Including: In response to the access of an external video input signal, controlling the electronic device to switch from the first processing system to the second processing system to process the external video input signal; wherein, the external video input signal is obtained through the display interface of the electronic device; Adjusting the processing of the external video input signal by the second processing system according to the working state of the display control unit; wherein: The first processing system and the second processing system are different operating systems; The controlling the electronic device to switch from the first processing system to the second processing system includes: Suspending the running events of the first processing system, including: Stopping multimedia playback, saving and closing document files; Masking the screen-on event; Masking the hardware wake-up source.
2. The method according to claim 1, wherein, The controlling the electronic device to switch from the first processing system to the second processing system further includes: Following the suspension of the running events of the first processing system, powering on the display control unit to adjust the processing of the external video input signal by the second processing system.
3. The method according to claim 1, wherein, The controlling the electronic device to switch from the first processing system to the second processing system further includes: After suspending the running events of the first processing system, obtaining the parameters of the device, wherein the parameters of the device at least include: screen brightness, volume, battery power or battery temperature.
4. The method according to claim 1, wherein, The adjusting the processing of the external video input signal by the second processing system according to the working state of the display control unit includes: When the display control unit is working properly, configuring the parameters of the device so that the electronic device can output the content of the external video input signal.
5. The method according to claim 4, wherein, Further including: When running the second processing system, adjusting the parameters of the device through the display control unit.
6. The method according to claim 1, wherein, Further including: When the electronic device can output the content of the external video input signal, regularly obtaining the working state of the display control unit.
7. The method according to claim 1, wherein, Further including: When cutting off the input signal, controlling the electronic device to switch from the second processing system to the first processing system.
8. The method according to claim 7, wherein, The switching to the first processing system includes: Running the events corresponding to the first processing system, including: Restoring the response to the screen-on event; Restoring the hardware wake-up source.
9. Processing device, wherein, Including: A control unit, configured to control the electronic device to switch from the first processing system to the second processing system in response to the access of an external video input signal to process the external video input signal; wherein, the external video input signal is obtained through the display interface of the electronic device; A display control unit, configured to adjust the processing of the external video input signal by the second processing system; wherein: The first processing system and the second processing system are different operating systems; The controlling the electronic device to switch from the first processing system to the second processing system includes: Suspending the running events of the first processing system, including: Stopping multimedia playback, saving and closing document files; Masking the screen-on event; Masking the hardware wake-up source.
Citation Information
Patent Citations
Computer of hybrid system
CN101714021A
Switching method and apparatus, mobile terminal device and readable storage medium
CN108733474A