Control method and apparatus
By introducing parameter determination and output control units into electronic devices, the problem of inconsistent adjustment control parameters between different modules is solved, parameter synchronization is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202310293970.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-03-23
AI Technical Summary
When different modules in an electronic device adjust their control parameters, inconsistencies in the control parameters can easily occur, affecting the user experience.
By introducing a parameter determination unit and an output control unit into the electronic device, the control parameters under different update methods can be synchronized, ensuring parameter consistency.
In different operating modes, the control parameters that users can view in any way remain consistent, reducing inconsistencies and improving the user experience.
Smart Images

Figure CN116301694B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technology, and in particular to a control method and apparatus. Background Technology
[0002] Users can adjust the screen brightness, volume, and mode of their electronic devices according to their actual needs.
[0003] Currently, there are multiple ways to adjust the control parameters of electronic devices. Different modules within an electronic device may handle these different parameter adjustments, which can easily lead to inconsistencies in the control parameters presented to the user by these different modules. Summary of the Invention
[0004] On the one hand, this application provides a control method, including:
[0005] In response to receiving a control command, the control parameters corresponding to the control command are determined;
[0006] Based on the control parameters, the corresponding output component of the electronic device is controlled to output the target content;
[0007] The electronic device can update the control parameters through different update methods, and the updated control parameters under different update methods can be synchronized.
[0008] In one possible implementation, in response to receiving a control command, determining the control parameters corresponding to the control command includes at least one of the following:
[0009] In response to receiving a display parameter adjustment command, the first control parameter in the control chip of the electronic device is updated accordingly based on the display parameter adjustment command;
[0010] In response to receiving an audio parameter adjustment command, the second control parameter in the control chip of the electronic device is updated accordingly based on the audio parameter adjustment command;
[0011] In response to receiving a control command to switch modes of an electronic device, control parameters corresponding to the target operating mode are read from the control chip of the electronic device.
[0012] In one possible implementation, updating the first control parameter or the second control parameter in the control chip of the electronic device includes:
[0013] Determine the source information of the display parameter adjustment command or audio parameter adjustment command;
[0014] If the source information indicates that the display parameter adjustment command or audio parameter adjustment command is triggered based on a target button or screen menu of the electronic device, the first control parameter or second control parameter stored in the storage area of the control chip is updated in a first update manner; or,
[0015] If the source information indicates that the display parameter adjustment instruction or audio parameter adjustment instruction is triggered based on the target program of the electronic device, the first control parameter or the second control parameter stored in the storage area of the control chip is updated in a second update manner;
[0016] The first update method and the second update method differ at least in their update paths.
[0017] In another possible implementation, after updating the first control parameter or the second control parameter stored in the storage area of the control chip using the first update method, the method further includes:
[0018] The first control parameter or the second control parameter is obtained from the storage area of the control chip through the bus control chip, and the first control parameter or the second control parameter is transmitted to the target program to update the configuration parameter of the corresponding setting item of the target program to the first control parameter or the second control parameter.
[0019] In yet another possible implementation, the step of determining the control parameters corresponding to the control command in response to receiving a control command includes:
[0020] Determine the current operating mode of the electronic device;
[0021] If the electronic device is in a first operating mode, the control parameters in the storage area of the control chip of the electronic device are updated in a first update manner; or,
[0022] If the electronic device is in the second operating mode, the control parameters in the storage area of the control chip of the electronic device are updated in a first update method or in a second update method based on the source information of the control command; or,
[0023] If the electronic device is in the third operating mode, the control parameters in the storage area of the control chip of the electronic device are updated using the first update method and the second update method.
[0024] In another possible implementation, the step of controlling the corresponding output component of the electronic device to output the target content based on the control parameters includes at least one of the following:
[0025] The display control chip of the electronic device controls the duty cycle of the pulse signal output to the corresponding output component based on the control parameters, so that the target content is output with the target output parameters;
[0026] Based on the control parameters, the duty cycle of the first pulse signal output to the display control chip of the electronic device is adjusted to control the duty cycle of the second pulse signal output by the display control chip to the corresponding output component, so that the target content is output with the target output parameters.
[0027] In another possible implementation, the control command for controlling the electronic device to perform mode switching includes at least one of the following:
[0028] If it is determined that the electronic device is switching from the first display mode to the second display mode, the control command is obtained;
[0029] If it is determined that the electronic device is switching from the first audio output mode to the second audio output mode, the control command is obtained;
[0030] If it is determined that the electronic device is switching from a power-off state to a power-on state, the control command is obtained;
[0031] If it is determined that the electronic device is switching from a first network connection state to a second network connection state, the control command is obtained;
[0032] If it is determined that the electronic device and the extended device have switched from a first communication state to a second communication state, the control command is obtained.
[0033] In another possible implementation, reading control parameters corresponding to the target operating mode from the control chip of the electronic device includes at least one of the following:
[0034] Obtain the attribute information of the control command and / or the operating information of the electronic device, and determine the corresponding control parameters to be obtained from the target control chip of the electronic device by the basic input / output system or display control chip of the electronic device based on the attribute information and / or the operating information;
[0035] Obtain the attribute information of the control command and / or the operating information of the electronic device. Based on the attribute information and / or the operating information, determine that the basic input / output system of the electronic device shall obtain the corresponding control parameters from the target control chip of the electronic device or the display control chip of the electronic device, or determine that the target control chip of the electronic device shall obtain the corresponding control parameters from the display control chip of the electronic device.
[0036] In another possible implementation, before reading the control parameters corresponding to the target operating mode from the control chip of the electronic device, the method further includes:
[0037] The control command is given to the basic input / output system or display control chip of the electronic device, so that the basic input / output system or the display control chip can obtain the corresponding control parameters from the target control chip;
[0038] Accordingly, the output content of the corresponding output component of the electronic device controlled based on the control parameters includes at least one of the following:
[0039] The acquired control parameters are transmitted to the operating system via the target driver using the basic input / output system, so that the operating system controls the output parameters of the corresponding output components based on the control parameters.
[0040] The display control chip uses the acquired control parameters to control the output parameters of the corresponding output components;
[0041] The acquired control parameters are transmitted to the operating system via the target driver using the basic input / output system, so that the operating system controls the audio parameters and / or display parameters of the electronic device based on the control parameters.
[0042] The acquired control parameters are processed into corresponding control signals using the basic input / output system and sent to the display control chip so that the display control chip controls the display parameters and / or audio parameters of the electronic device.
[0043] The first control chip processes the acquired control parameters into corresponding control signals and sends them to the display control chip, so that the display control chip controls the display parameters and / or audio parameters of the electronic device based on the corresponding control signals.
[0044] In another aspect, this application provides a control device, comprising:
[0045] A parameter determination unit is used to determine the control parameters corresponding to a control command in response to receiving a control command.
[0046] An output control unit is used to control the corresponding output component of an electronic device to output target content based on the control parameters. The electronic device can update the control parameters through different update methods, and the updated control parameters under different update methods can be synchronized. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0048] Figure 1 A flowchart illustrating a control method provided in an embodiment of this application is shown;
[0049] Figure 2 This illustration shows another flowchart of the control method provided in an embodiment of this application;
[0050] Figure 3 This illustration shows a schematic diagram of the composition structure of an electronic device provided in an embodiment of this application;
[0051] Figure 4 shows another schematic diagram of the composition structure of the electronic device provided in the embodiment of this application;
[0052] Figures 5-7 Schematic diagrams of different hardware architectures of electronic devices to which the control methods provided in the embodiments of this application are applicable are shown respectively;
[0053] Figure 8 This illustration shows another flowchart of the control method provided in an embodiment of this application;
[0054] Figure 9 This illustration shows another flowchart of the control method provided in an embodiment of this application;
[0055] Figure 10 A schematic diagram of the composition structure of a control device provided in an embodiment of this application is shown. Detailed Implementation
[0056] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0057] like Figure 1 The diagram illustrates a flowchart of a control method provided in an embodiment of this application. The method of this embodiment can be applied to electronic devices, such as mobile phones, laptops, all-in-one computers, desktop computers, or servers, without limitation.
[0058] The method in this embodiment may include:
[0059] S101, in response to receiving a control command, determines the control parameters corresponding to the control command.
[0060] In this application, the control command is a parameter used to instruct the adjustment of the output of the electronic device. Correspondingly, the control parameter is a parameter used to control the output of the electronic device.
[0061] For example, the output of an electronic device may include display output, audio output, and operating mode output, etc. Correspondingly, the control parameters are one or more of the display parameters, audio output parameters, and operating mode-related parameters.
[0062] S102, based on the control parameters, control the corresponding output component of the electronic device to output the target content.
[0063] Depending on the control parameters, the output components to be controlled and the target content output by the output components will also differ.
[0064] For example, when the control parameters are used to control display parameters, the corresponding output component is a monitor, a display control chip in the monitor (used to control the display output of the screen, etc.), or a component related to the display parameters controlled by the display control chip. When the control parameters are used to control audio parameters, the corresponding output component is a speaker or a control chip that controls the speaker, etc. When the control parameters are related to the operating mode, the corresponding output component can be related to the parameters corresponding to the operating mode, such as a mode switching mode, a communication module, a network module, or a processing device that controls the operating mode, etc.
[0065] In this application, the electronic device can update the control parameters through different update methods, and the updated control parameters under different update methods can be synchronized.
[0066] In particular, because the control parameters updated under different update methods can be synchronized, the output parameters of electronic devices can be the same in different operating modes.
[0067] It is understandable that each time the control parameters are determined based on the control command, it essentially involves updating the control parameters, that is, updating the historical control parameters corresponding to the control parameters to the determined control parameters, so as to control the corresponding output components to output the target content based on the determined control parameters.
[0068] In this application, after the control parameters are updated through different update methods, the electronic device can synchronize the updated control parameters under different update methods. Therefore, no matter which method is used to update the control parameters, the current control parameters queried by the electronic device are the updated control parameters.
[0069] For example, in one possible implementation, after determining the control parameters, this application stores the control parameters in the storage area of the control chip. Depending on the update parameters controlled by the control command, the control chip can be a display control chip or an embedded controller, etc., without limitation. The storage area of the control chip can be accessed by multiple control modules that can trigger the update of the control parameters, and the update methods triggered by different control modules differ.
[0070] As can be seen from the above, in this embodiment of the application, after the electronic device determines the control parameters based on the obtained adjustment instructions, since the electronic device can update the control parameters through different update methods, and the updated control parameters under different update methods can be synchronized, after the corresponding output component of the electronic device outputs the target content based on the control parameters, the control parameters that the user can view in any way in the electronic device will remain consistent, reducing the situation where the control parameters viewed by the user in different ways are inconsistent with the actual situation due to the adjustment of control parameters in different ways.
[0071] In the embodiments of this application, there may be a variety of specific ways to control the corresponding output component of the electronic device to output the target content based on the control parameters.
[0072] In one scenario, the display control chip of the electronic device can output pulse signals to achieve the output of target content according to the control parameters. Specifically, controlling the corresponding output component of the electronic device to output the target content based on the control parameters can include at least one of the following possible implementation methods:
[0073] In the first possible implementation, the display control chip of the electronic device controls the duty cycle of the pulse signal output to the corresponding output component based on control parameters, so that the target content is output with the target output parameters.
[0074] The different duty cycles of the pulse signals output to the output component can affect parameters such as the voltage of the output component, which in turn can indicate that the format or form of the target content output by the output component will also be different.
[0075] For example, screen brightness varies depending on the duty cycle of the pulse signal input to the display. Similarly, the volume of the audio signal varies depending on the duty cycle of the pulse signal output to the audio output device.
[0076] In this implementation, the display control chip of the electronic device can receive control instructions and control the output parameters used by the output component to output the target content.
[0077] In the second possible implementation, the duty cycle of the first pulse signal output to the display control chip of the electronic device can be controlled based on the control parameters to adjust the duty cycle of the second pulse signal output by the display control chip to the corresponding output component, so that the target content is output with the target output parameters.
[0078] In this possible implementation, the electronic device can determine the duty cycle of the pulse signal required by the display control chip to control the output component based on the control parameters corresponding to the control command, and control the duty cycle of the corresponding pulse signal input to the display control chip. Accordingly, the display control chip can output a pulse signal with the same duty cycle as the input pulse signal to the output component.
[0079] For ease of distinction, the pulse signal input to the display control chip is called the first pulse signal, while the pulse signal output by the display control chip is called the second pulse signal.
[0080] In one possible implementation, the control method of this application can be implemented through a display control chip of an electronic device. The following describes... Figure 2 To explain, Figure 2 This illustration shows another flowchart of the control method provided in an embodiment of this application. The method in this embodiment may include:
[0081] S201, in response to receiving a control command, the control parameters corresponding to the control command are determined by the display control chip. In this embodiment, the control command can be a command used to control display parameters or audio output parameters.
[0082] Correspondingly, the control parameters determined by the display control chip can be the target display parameters used to control the display screen. For example, the control parameter can be the screen brightness that the display screen needs to be adjusted to.
[0083] Alternatively, the control parameter can be an audio output parameter used to control an audio output device (such as a speaker). For example, the control parameter could be a parameter such as the target volume that the audio output device needs to be adjusted to.
[0084] The control command can be triggered by a target button or on-screen menu, enabling the display control chip to receive the control command. Alternatively, the control command can be obtained from a target program (such as an operating system or BIOS program) and transmitted to the display control chip. Of course, there are other ways to obtain control commands, which will be discussed in detail later and will not be elaborated upon here.
[0085] S202, based on control parameters, controls the corresponding output component of the electronic device to output the target content through the display control chip.
[0086] Depending on the control command, the output component required for the control parameters will also be different. In this embodiment, the output component can be at least a display screen or an audio output device.
[0087] For example, if the control parameter is a display parameter used for the display screen, then the display control chip can control the display screen to output the display content according to the display parameter. For example, if the control parameter is the target screen brightness, then the display screen is controlled to display at the target screen brightness, and the display content is displayed at the target screen brightness.
[0088] For example, if the control parameter is an audio parameter, then the display control chip can control the audio output device to output audio content according to that audio parameter. For instance, if the audio parameter is a target volume, the display control chip can control the speaker to output an audio signal according to the target volume.
[0089] S203, the control parameters are stored in the storage area of the display control chip through the display control chip, so as to update the control parameters stored in the storage area.
[0090] The storage area of the display control chip can be accessed by the display control chip, the target program outside the display control chip, and other chips that can obtain or respond to control commands, or the control parameters in the storage area can be transmitted to the target program or other chips to achieve synchronization of the control parameters with the target program or other chips of the electronic device.
[0091] It is understood that step S203 is an optional step, which is actually one way to achieve control parameter synchronization. This embodiment is also applicable to achieving control parameter synchronization and updating through other methods, and there is no limitation on this.
[0092] It is understood that there may be a variety of possible situations in determining control parameters in response to control commands in this application.
[0093] In one possible implementation, determining the control parameters in this application essentially involves updating the parameters that need to be adjusted according to the control command. Several possible scenarios are described below.
[0094] For example, determining control parameters in response to control commands may include at least one of the following three cases:
[0095] The first scenario: In response to receiving a display parameter adjustment command, the first control parameter in the control chip of the electronic device is updated accordingly based on the display parameter adjustment command.
[0096] The second scenario: In response to receiving an audio parameter adjustment command, the second control parameter in the control chip of the electronic device is updated accordingly based on the audio parameter adjustment command.
[0097] In the third scenario, in response to receiving a control command to switch modes in the electronic device, control parameters corresponding to the target operating mode are read from the control chip of the electronic device.
[0098] The display parameter adjustment command is used to instruct the adjustment of the display parameters of the electronic device. Correspondingly, the first control parameter is the display control parameter of the electronic device. For example, the display parameters may include one or more of the following: screen brightness, refresh rate, and color temperature. Correspondingly, the first control parameter may involve the brightness value of the screen, the refresh rate value, or the color temperature value, etc., without limitation.
[0099] This audio parameter adjustment command can be used to instruct the adjustment of the device's audio output parameters. Correspondingly, the second control parameter is the control parameter for adjusting the audio. For example, audio output parameters may include volume, pitch, or the sampling rate of the processed audio, etc., without limitation.
[0100] Control commands for switching control modes can be commands used to control the operating mode of electronic devices, such as switching the operating mode of electronic devices. Operating modes can include, but are not limited to, the usage mode of electronic devices (e.g., screen mirroring mode or host mode), the operating status mode of electronic devices (power off, standby, or normal operation modes, etc.), and the network status mode (representing different network connections or network connection status, etc.).
[0101] It is understandable that when an electronic device is in an operating mode, if the electronic device receives a control command to switch the control mode, in order to ensure that the control parameters related to the operating mode of the electronic device remain synchronized before and after the mode switch, it is necessary to read the control parameters from the control chip so that after the mode switch, the corresponding components of the electronic device can still be controlled to output the target content based on the control parameters.
[0102] The control parameters related to the operating mode can include the aforementioned display parameters and / or audio parameters, or parameters related to operating mode control, without limitation.
[0103] The target operating mode can be the operating mode switched to by the control command, while the control parameters stored in the control chip can be the control parameters corresponding to the mode in which the electronic device was previously in the target operating mode. Of course, the target operating mode can also be understood as the operating mode in which the electronic device was before receiving the control command, without any restriction.
[0104] Understandably, in practical applications, the sources of control commands differ, the update methods of control parameters in the control chips of electronic devices differ, and correspondingly, the methods of controlling the output components to output target content based on the updated control parameters will also differ.
[0105] The solution of this application will be described below, taking into account the different sources of the control commands. For ease of description, the control command is illustrated as a display parameter adjustment command.
[0106] like Figure 3 As shown, this illustrates another flowchart of the control method provided in this application embodiment. The method of this embodiment is applied to the aforementioned electronic device, and the method of this embodiment may include:
[0107] S301, in response to receiving a display parameter adjustment instruction, update the first control parameter in the control chip of the electronic device based on the display parameter adjustment instruction.
[0108] The control chip can be a display control chip, such as a multi-functional display controller in a display screen. Alternatively, it can be an embedded controller; there are no restrictions on this.
[0109] S302, determine the source information of the display parameter adjustment command.
[0110] The source information is used to characterize the method that triggers the generation of the display parameter adjustment instruction.
[0111] For example, in this application, the display parameter adjustment command may be generated in response to a user pressing a target button, which is a button in an electronic device used to adjust display parameters. This target button may be connected to a control chip, enabling the control chip to receive the display parameter adjustment command via the target button.
[0112] For example, the display parameter adjustment command can also be a display parameter adjustment command generated in response to the user's input operation on the screen menu. For instance, after the electronic device displays the OSD (on-screen display) menu, the OSD menu displays an operation area where the user can adjust the screen brightness or other display parameters. Based on this, the user can obtain the display parameter adjustment command from the electronic device by adjusting the corresponding display parameters in the OSD menu.
[0113] For example, display parameter adjustment instructions can also be generated based on the target program of the electronic device. The target program can be an operating system or a device management application of the electronic device. Based on this, after obtaining the user's input operation or instruction to adjust the display parameters through the target program, the display parameter adjustment instructions can be generated.
[0114] S303, if the source information indicates that the display parameter adjustment instruction is triggered based on the target button or screen menu of the electronic device, the first control parameter stored in the storage area of the control chip is updated in a first update manner.
[0115] S304, if the source information indicates that the display parameter adjustment instruction is triggered based on the target program of the electronic device, the first control parameter stored in the storage area of the control chip is updated in a second update manner.
[0116] In this embodiment, the storage area of the control chip can store display-related control parameters. Therefore, the first control parameter can be a display control parameter, such as at least one of screen brightness, screen color temperature, and screen refresh rate.
[0117] The first update method and the second update method are two different update methods, and these two methods differ at least in their update paths. The difference in update paths is reflected in the different modules involved from generating the display parameter adjustment instruction to completing the update of the first control parameters stored in the control chip's storage area, as well as the different interactions between these modules.
[0118] In one possible implementation, the first update method involves the control chip adjusting the first control parameter stored in its storage area based on the display parameter adjustment command. The second update method involves the bus control chip sending the display parameter adjustment command generated by the target program to the control chip, which then updates the first control parameter stored in its storage area in response to the command.
[0119] It is understandable that, depending on the source of the display parameter adjustment instruction, only one of the above steps S303 and S304 may be executed for a single display parameter adjustment instruction.
[0120] S305, based on the first control parameter, control the corresponding output component of the electronic device to output the target content.
[0121] It is understandable that the order of step S305 with the preceding steps is not limited to... Figure 3 As shown, in practical applications, after receiving a display control adjustment command, the corresponding output component of the electronic device can be controlled to output the target content based on the first control parameter corresponding to the display control adjustment command.
[0122] For example, if the display control adjustment command is used to adjust the screen brightness, the target brightness output of the display screen can be adjusted according to the screen brightness indicated by the display control adjustment command.
[0123] The specific implementation of step S305 can be found in the relevant description of the previous embodiments, and there are no specific limitations.
[0124] In this embodiment, the display control chip can control the electronic device to output the target content to the corresponding output component (such as the display unit).
[0125] As mentioned above, the display control chip can control the duty cycle of the pulse signal output to the corresponding output component based on the first control parameter, so that the target content is output with the target output parameter.
[0126] Alternatively, the duty cycle of the first pulse signal output to the display control chip of the electronic device is controlled based on the first control parameter, so as to adjust the duty cycle of the second pulse signal output by the display control chip to the corresponding output component, so that the target content is output with the target output parameters. Wherein, the duty cycle of the first pulse signal is the same as that of the second pulse signal.
[0127] In this embodiment, even if the sources of the display parameter adjustment instructions are different and the update methods of the first control parameters are different, the first control parameters in the storage area of the control chip will eventually be updated. Based on this, the electronic device can synchronize the first control parameters stored in the storage area of the control chip to the control chip and the target program that can trigger the generation of display parameter adjustment instructions, so that no matter how the user adjusts the display parameters, the target program or the control chip can see the latest synchronized first control parameters.
[0128] In one possible implementation, when a display parameter adjustment command is triggered by a target button or screen menu on an electronic device, in order to promptly synchronize the updated first control parameters to the target program, the first control parameters can be obtained from the storage area of the control chip via a bus control chip, and then transmitted to the target program to update the configuration parameters of the corresponding settings in the target program as the first control parameters. Accordingly, the target program can determine the first control parameters upon which the current output target content is based.
[0129] The bus control chip is connected to the control chip and can obtain the first control parameters stored in the control chip's storage area through the control chip. For example, the bus control chip can be a module that implements signal input and output control for the southbridge of electronic devices.
[0130] To facilitate understanding, let's illustrate this with an application scenario. Let's take adjusting the screen brightness of an electronic device as an example:
[0131] In this application scenario, assuming the control chip is a display control chip and the target program is an operating system, then in this application, the display control chip can be connected to the processor via the southbridge. Figure 4a As shown, it illustrates a schematic diagram of the composition structure of an electronic device in this application.
[0132] Depend on Figure 4a As can be seen, the electronic device includes a display control chip 401, a processor 402, and a southbridge 403.
[0133] The display control chip 401 is connected to the first interface of the southbridge 403 via the first communication line 404, and the display control chip is connected to the second interface of the southbridge 403 via the second communication line 405. Meanwhile, the southbridge 403 is connected to the processor 402.
[0134] An operating system can run on processor 402.
[0135] The first interface of the Southbridge is connected to the input terminal of the input pulse modulation signal in the display control chip. Correspondingly, the first interface of the Southbridge is also the output port for the output pulse modulation signal.
[0136] The Southbridge's second interface is its integrated sensor hub interface, which supports various signal transmissions and ultimately enables the Southbridge to transmit control parameters obtained from the second interface to the processor.
[0137] The second communication line can be an Inter-Integrated Circuit (IIC) bus or other types of communication lines, without restriction.
[0138] exist Figure 4a Based on this, electronic devices can support adjusting screen brightness by triggering it through a display control chip or through the operating system.
[0139] First, we will introduce the process of adjusting screen brightness by triggering the display control chip.
[0140] Depend on Figure 4a As can be seen, the display control chip is connected to a brightness adjustment key 406 (i.e., a target key). This brightness adjustment key can be in the form of a button or a knob, without limitation. Based on this, the user can trigger an input screen brightness adjustment command through the brightness adjustment key. The display control chip responds to the screen brightness adjustment command, determines the target brightness to be adjusted to, and controls the display screen 407 to adjust to the target brightness.
[0141] In practical applications, after determining the target brightness, the display control chip can control the duty cycle of the pulse signal output to the display screen based on the target brightness, that is, control the duty cycle of the output pulse width modulation (PWM) signal, so that the display screen can output the display content at the target brightness.
[0142] After determining the target brightness that the display needs to be adjusted to, the display control chip can also update the brightness information stored in its storage area to that target brightness.
[0143] Understandably, prior to the solution proposed in this application, after adjusting screen brightness in this way, the operating system could not know the actual screen brightness because the brightness adjustment was triggered by the brightness adjustment keys connected to the display control chip. Therefore, if the user subsequently wanted to adjust the screen brightness through the operating system, the screen brightness seen through the operating system-related screen brightness control interface (e.g., the screen brightness progress bar) would still be the brightness adjusted by the operating system last time, resulting in a mismatch between the displayed screen brightness data and the actual brightness of the display.
[0144] In this application, the display control chip 401 is connected to the southbridge 403 via a second communication line 405. Based on this, the southbridge can periodically or irregularly obtain the screen brightness stored in the storage area of the display control chip and transmit it to the processor. This allows the operating system running on the processor to obtain the latest screen brightness stored in the display control chip through the southbridge. Consequently, the screen brightness data seen by the user through the operating system is consistent with the screen brightness actually controlled and adjusted by the display control chip, achieving screen brightness synchronization.
[0145] This example illustrates the scenario where the Southbridge actively requests brightness information stored in the display controller chip's memory area. In practical applications, the display controller chip could also send a data update instruction to the Southbridge after updating the brightness information in its memory area. For instance, the display controller chip could send the data update instruction to the Southbridge via a third communication line. Based on this, the Southbridge can then obtain the updated brightness information from the display controller chip's memory area.
[0146] The above example illustrates how triggering the display control chip to obtain screen brightness adjustment commands via the brightness adjustment keys can also be used. The process of triggering the display control chip to obtain screen brightness adjustment commands via the screen menu and related processing is similar and will not be repeated here.
[0147] The following section describes how screen brightness adjustment is triggered based on the operating system.
[0148] After the user adjusts the screen brightness through the brightness adjustment interface provided by the operating system, the operating system generates a screen brightness adjustment command. In this case, the operating system transmits the screen brightness adjustment command to the display control chip via the southbridge and the first communication line. The display control chip determines the target brightness of the display screen based on the screen brightness adjustment command, controls the display screen to be at the target brightness, and updates the brightness information in the display control chip's storage area to the target brightness.
[0149] For example, the operating system can determine the target brightness required for the display screen based on the user's brightness adjustment operation, and control the southbridge to output a first pulse signal with a duty cycle corresponding to the target brightness to the display control chip. Based on this, the display control chip outputs a pulse signal with the same duty cycle as the first pulse signal to the display screen, that is, outputs a second pulse signal with a duty cycle, in order to control the display screen to display the target brightness.
[0150] Understandably, when screen brightness adjustment is triggered by the operating system, the operating system can determine the target brightness level. Alternatively, the operating system can also obtain this target brightness information from the display controller chip's storage area via the southbridge.
[0151] The display control chip can adjust the screen brightness in response to the operating system's screen brightness adjustment commands and store the adjusted target brightness in the storage area. Therefore, the display control chip itself can also determine the actual brightness of the screen. Of course, when presenting the screen brightness to the user through the OSD menu later, the target brightness information stored in the storage area can be used to display the OSD menu, so that the current brightness of the screen seen by the user through the OSD menu is consistent with the actual brightness of the screen.
[0152] It is understandable that the above explanation uses the screen brightness adjustment command as an example. The control process is equally applicable when the display parameter adjustment command is used to adjust other display parameters, and will not be elaborated further.
[0153] It is understandable that adjusting audio parameters is similar to adjusting display parameters. Accordingly, in response to receiving an audio parameter adjustment command, the second control parameter in the control chip of the electronic device is updated based on the audio parameter adjustment command. The source information of the audio parameter adjustment command can also be determined first.
[0154] Based on this, if the source information indicates that the audio parameter adjustment command is triggered based on the target button or screen menu of the electronic device, the second control parameter stored in the storage area of the control chip is updated in the first update manner.
[0155] Alternatively, if the source information indicates that the audio parameter adjustment instruction is triggered based on the target program of the electronic device, the second control parameters stored in the storage area of the control chip are updated in a second update manner.
[0156] In the case where the control command is an audio parameter adjustment command, the target button can be a volume control button, and the control chip can be an embedded controller, a display control chip, etc., without any restrictions.
[0157] The first and second update methods can be processed similarly to the audio parameter adjustment instructions mentioned earlier, except that the control chip and output components may differ. For example, the output component may be an audio output device. Please refer to the relevant introduction above for details, which will not be repeated here.
[0158] Correspondingly, when the control command is an audio parameter adjustment command, after the control chip updates the second control parameter in the storage area, it can also obtain the second control parameter in the control chip's storage area through the bus control chip, and transmit the second control parameter to the target program to update the configuration parameter of the corresponding setting item in the target program to the first control parameter or the second control parameter. Accordingly, the target program can determine the second control parameter on which the output target content is based.
[0159] It is understood that, in response to receiving a control command, the control parameters corresponding to the control command may vary depending on the operating mode of the electronic device.
[0160] For example, in one possible scenario, determining the control parameters corresponding to a control command in response to receiving a control command may include:
[0161] Determine the current operating mode of the electronic device;
[0162] If the electronic device is in the first operating mode, the control parameters in the storage area of the control chip of the electronic device are updated in the first update method;
[0163] Alternatively, if the electronic device is in a second operating mode, the control parameters in the storage area of the control chip of the electronic device are updated in a first update manner or in a second update manner based on the source information of the control command.
[0164] Alternatively, if the electronic device is in a third operating mode, the control parameters in the storage area of the control chip of the electronic device are updated using the first update method and the second update method.
[0165] For example, the first operating mode can be that the electronic device is in display mode. In this case, the screen of the electronic device can serve as an extended screen for other electronic devices to support screen projection or screen sharing from other electronic devices to the electronic device, without any restrictions.
[0166] The second operating mode can be the normal operating mode of the electronic device. In this case, the electronic device can be used as an independent computer device for display control and audio output control, etc.
[0167] Considering that in the first operating mode, users mainly trigger electronic devices to generate call commands through target buttons connected to the control chip or control screen menus, similar processing can be performed as if the source of the control information is based on the target buttons or screen menus of the electronic device. Thus, the control parameters in the storage area of the control chip can be updated using the first update method.
[0168] like Figure 4b As shown, it illustrates another structural diagram of an electronic device.
[0169] Figure 4b This diagram illustrates the structure of the components involved in adjusting control parameters when an electronic device is in its first operating mode. For ease of description, we will use the example of adjusting screen brightness.
[0170] Depend on Figure 4b As can be seen, when the electronic device is in its first operating mode, the user can adjust the screen brightness using the brightness adjustment key 41. Based on this, the display control chip 42 receives the screen brightness adjustment command triggered by the brightness adjustment key, determines the target brightness to be adjusted to, and controls the display screen 43 to adjust to the target brightness. Furthermore, the display control chip can update the screen brightness information stored in its storage area to the target brightness. See the previous section for details. Figure 4a The relevant information will not be repeated here.
[0171] Correspondingly, in the second operating mode, although the control parameters in the storage area of the control chip can also be updated using the first update method, considering the user's operating habits in the second operating mode, the user may prefer to trigger the adjustment of control parameters through the target program. Accordingly, the control parameters in the storage area of the control chip can be updated according to the second update method.
[0172] The first and second update methods differ at least in their update paths, as detailed in the previous introductions to the first and second update methods, which will not be repeated here.
[0173] The third operating mode is an operating mode other than the first and second operating modes. For example, the third operating mode can be a split-screen mode, in which the display screen of the electronic device is divided into multiple display areas, and different display areas can display content independently, so that multiple different display areas can display different content.
[0174] When the electronic device is in the third operating mode, this application can also update the control parameters stored in the control chip using either the first or second update method based on the source information of the control command. However, as an optional approach, when the electronic device is in the third operating mode, the control parameters in the storage area of the control chip of the electronic device can be updated simultaneously using both the first and second update methods.
[0175] Specifically, if the third operating mode is a split-screen mode, since the first control parameter (i.e., the display parameter) can be adjusted separately for different display areas of the electronic device's screen, the control chip of this application can include multiple storage areas corresponding to different display areas of the screen for cases where the control command is a display parameter adjustment command. Different display areas correspond to different storage areas, and correspondingly, different storage areas are used to store the first control parameter corresponding to different display areas.
[0176] Accordingly, in response to receiving a display parameter adjustment command, at least one target display area to be adjusted in the display screen can be determined, wherein the target display area belongs to multiple display areas divided by the display screen of the electronic device. Based on this, a first control parameter in the storage area corresponding to the target display area in the control chip can be adjusted according to the display parameter adjustment command.
[0177] Based on this, the bus control chip can obtain the first control parameters in the storage area corresponding to different display areas in the control chip and transmit them to the target program, so that the target program can determine the first control parameters corresponding to the different display areas split by the display screen.
[0178] For example, still combined Figure 4a Let's take the screen brightness adjustment command as an example to illustrate the display parameter adjustment command.
[0179] exist Figure 4a Based on this, users can adjust the brightness of a target display area among the multiple display areas divided on the screen using the brightness adjustment keys or the OSD menu, enabling the display control chip to receive screen brightness adjustment commands. Based on these commands, the display control chip can then control the brightness of the target display area to the target brightness.
[0180] For example, a display control chip can control the duty cycle of the pulse signal output to the target display area of the screen based on the screen brightness adjustment command, so that the brightness of the target display area is the target brightness.
[0181] Based on the above, the display control chip will update the screen brightness information of the storage area corresponding to the target display area in the display control chip to the target brightness.
[0182] To enable the operating system to obtain screen brightness information for different display areas, the addresses of memory regions corresponding to different display areas can be pre-configured in the southbridge. Based on this, when the southbridge requests brightness information from the display controller chip, it can specify the address of the memory region. The display controller chip then transmits the screen brightness information stored in the corresponding memory region to the southbridge based on that address.
[0183] When the brightness of a target display area on the screen is adjusted by triggering the operating system, the process of controlling the brightness of the target display area is the same as the previous process of adjusting the screen brightness by triggering the operating system, except that the display control chip needs to update the screen brightness information in the storage area corresponding to the target display area. Therefore, it will not be described again.
[0184] It should be noted that when the electronic device is in the first or second operating mode, the screen may be split. However, the process of controlling and updating the first control parameters of each display area split by the screen is similar to that described above, and will not be repeated here.
[0185] In this application, when the control command is a control command for switching modes of an electronic device, there are several possible ways to obtain the control command.
[0186] For example, receiving a control command to control an electronic device to switch modes includes at least one of the following:
[0187] If it is determined that the electronic device is switching from the first display mode to the second display mode, a control command is obtained;
[0188] If it is determined that the electronic device is switching from the first audio output mode to the second audio output mode, the control command is obtained;
[0189] If it is determined that the electronic device is switching from the off state to the on state, the control command is obtained;
[0190] If it is determined that the electronic device is switching from a first network connection state to a second network connection state, a control command is obtained;
[0191] If it is determined that the electronic device and the extended device are switching from the first communication state to the second communication state, a control command is obtained.
[0192] The first display mode and the second display mode are different. For example, switching from the first display mode to the second display mode can be a switch from extended mode to non-extended mode, or a switch from non-extended mode to extended mode. Extended mode refers to the electronic device and an external electronic device simultaneously displaying the same content, while non-extended mode refers to the electronic device acting as a display screen for an external electronic device, displaying different content from the external electronic device.
[0193] The audio output mode can be one or more of the following audio output features: audio output path, volume mode, and audio format.
[0194] The transition from the first network connection state to the second network connection state can be a change in network state from an electronic device connecting to one network to connecting to another; it can also be a change in network state from connecting to disconnecting or from disconnecting to connecting within the same network; or it can be a change in network state such as network quality or signal strength, etc. There are no restrictions on these.
[0195] The transition from the first communication state to the second communication state can be a change in communication connection, such as establishing or disconnecting a communication connection, or switching communication methods. For example, switching from a wireless network to a wired network, or from Bluetooth communication to WiFi communication, etc. There are no restrictions on this.
[0196] In this application, when control commands are obtained due to the above-mentioned mode switching, in order to keep the output parameters of the electronic device unchanged before and after the mode switching, the control parameters can be read from the control chip as the control parameters corresponding to the target operating mode after the switch.
[0197] In this application, there are various ways to specifically implement reading control parameters corresponding to the target operating mode from the control chip of the electronic device.
[0198] For example, reading control parameters corresponding to the target operating mode from the control chip of an electronic device, including at least one of the following:
[0199] Obtain the attribute information of the control command and / or the operating information of the electronic device, and based on the attribute information and / or the operating information, determine the corresponding control parameters to be obtained from the target control chip of the electronic device by the basic input / output system or display control chip of the electronic device;
[0200] Obtain the attribute information of the control command and / or the operating information of the electronic device. Based on the attribute information and / or the operating information, determine that the basic input / output system of the electronic device shall obtain the corresponding control parameters from the target control chip of the electronic device or the display control chip of the electronic device, or determine that the target control chip of the electronic device shall obtain the corresponding control parameters from the display control chip of the electronic device.
[0201] The attribute information of the control command may include, but is not limited to, the method of generating the control command, the time of generation, and the location of generation.
[0202] Operational information of electronic devices can characterize the operational stage and status of the device. For example, operational information can reflect the operating system's running status or power status. The operating system's running status includes the startup and running phase, as well as the non-operational running state. Power status information is divided into six stages, S0 to S5. For instance, S0 represents the normal power-on state; S1 corresponds to the state where the CPU stops working but is still powered on; S2 corresponds to the state where the CPU is turned off and the power is disconnected, but special communication modules such as Bluetooth continue to operate; and S3 disconnects the power to all devices, including the CPU, except for the memory.
[0203] The target control chip can be any chip other than the display control chip, capable of controlling the updating of control parameters of the electronic device. For example, the target control chip can be an embedded controller or a serial input / output (SIO) chip.
[0204] Similar to the previous examples, the corresponding output components can be displays or speakers, which will not be elaborated further.
[0205] As can be seen from the above introduction, under the premise that the electronic device stores control parameters through the target control chip, this application can combine the attribute information of the control instruction or the operating status of the electronic device to obtain the control parameters stored in the storage area of the target control chip through the basic input / output BIOS system or the display control chip.
[0206] In one possible implementation, this application can provide control instructions for mode switching to the basic input / output system or display control chip of the electronic device, so that the basic input / output system or display control chip can obtain the corresponding control parameters from the target control chip.
[0207] Accordingly, when controlling the corresponding output component of an electronic device to output target content based on control parameters, the specific methods can be as follows: The acquired control parameters are transmitted to the operating system via a target driver using a basic input / output system, so that the operating system controls the output parameters of the corresponding output component based on the control parameters. Alternatively, a display control chip can be used to control the output parameters of the corresponding output component based on the acquired control parameters.
[0208] The target driver can be an Advanced Configuration and Power Management Interface (ACPI) interface driver.
[0209] like Figure 5 As shown, after obtaining the control command for mode switching from the target control chip, it can be sent to the basic input / output system (PIS). Alternatively, after the PIS obtains the control command for mode switching from the operating system, it can obtain the control parameters corresponding to the target operating mode stored in the target control chip. The obtained control parameters can be the updated control parameters. Of course, if the control parameters have not been updated, then the control parameters obtained from the target control chip are the preset parameters.
[0210] Based on this, the basic input / output system transmits control parameters to the operating system through the ACPI interface, enabling the operating system to control the output parameters of output components such as displays or speakers based on the control parameters.
[0211] Similarly, such as Figure 6 As shown, this application can also send the control command for mode switching triggered by the target button to the display control chip via the target display control chip. Of course, the display control chip can also have other ways of obtaining the control command for mode switching. Correspondingly, the display control chip can also obtain the control parameters stored in the target control chip from the target control chip, so that after the electronic device switches modes, the display control chip controls the corresponding component to output the target content based on the control parameters, so as to ensure that the same control parameters can be used to control the corresponding component to output the target content before and after the mode switch.
[0212] In another possible implementation, this application may also provide control instructions to the basic input / output system of the electronic device, which then obtains the corresponding control parameters from the target control chip or display control chip; or, the control instructions may be provided to the target control chip of the electronic device, which then obtains the corresponding control parameters from the display control chip.
[0213] Accordingly, the target content output by the corresponding output component of the electronic device based on the control parameters may include at least one of the following:
[0214] The acquired control parameters are fed to the operating system via the target driver using the basic input / output system, so that the operating system can control the audio parameters and / or display parameters of the electronic device based on the control parameters;
[0215] The acquired control parameters are processed into corresponding control signals using a basic input / output system and then sent to the display control chip so that the display control chip can control the display parameters and / or audio parameters of the electronic device.
[0216] The target control chip processes the acquired control parameters into corresponding control signals and sends them to the display control chip, so that the display control chip controls the display parameters and / or audio parameters of the electronic device based on the corresponding control signals.
[0217] The process of sending control commands to the basic input / output system (PIS) and the PIS reading control parameters from the target control chip or display control chip can be found in the preceding descriptions, or in [reference needed]. Figure 7 The specifics will not be elaborated further.
[0218] Sending control commands to the target control chip can be achieved by sending the control command generated when the target button used to trigger mode switching is activated to the target control chip, such as... Figure 5 , Figure 6 as well as Figure 7 As shown. Alternatively, the basic input / output system can obtain control commands for mode switching from the operating system and send them to the target control chip, or the display control chip can obtain control commands through the aforementioned method and then forward them to the target control chip.
[0219] In this context, the basic input / output system or the target control chip processes the acquired control parameters into control signals that can be directly responded to by the display control chip and control the display parameters or audio parameters. For example, the control signal can be a pulse signal with a determined duty cycle.
[0220] Understandably, after receiving control commands, electronic devices can also update the control parameters in the control chip based on their operating mode.
[0221] like Figure 8 The diagram illustrates yet another flowchart of the control method provided in this application. This embodiment can be applied to electronic devices, and the method may include:
[0222] S801, in response to receiving a control command, updates the control parameters in the control chip of the electronic device based on the corresponding control command.
[0223] S802 controls the output of the corresponding output component of the electronic device based on control parameters.
[0224] The control parameters are updated in different ways depending on the operating mode of the electronic device, and the control chip can synchronize the control parameters under different update methods.
[0225] In this embodiment, the control command can be similar to that in the previous embodiments. The specific implementation of updating the control parameters of the electronic device's control chip based on the control command can also refer to the several possible implementations mentioned in the previous embodiments. However, this application can select the appropriate update method based on the different operating modes of the electronic device. The update method used will also differ depending on the operating mode of the electronic device.
[0226] For example, when the electronic device is in normal operating mode, either the first update method or the second update method can be selected to update the control parameters. When the electronic device is used as an external display screen for other electronic devices, the first update method can be selected to update the control parameters.
[0227] As mentioned earlier, the control command can be a control command used for mode switching. Based on this, let's take the case of controlling the output of an output component as an example. Figure 9 As shown, it illustrates another flowchart of the control method provided in this application embodiment. The method of this embodiment may include:
[0228] S901, in response to the electronic device switching from the first operating mode to the second operating mode, reads the control parameters corresponding to the second operating mode from the control chip of the electronic device.
[0229] The control chip can update its stored control parameters. The update method for the control parameters differs depending on the operating mode.
[0230] S902, based on the control parameters, control the corresponding output component of the electronic device to output, so that the output parameters of the electronic device are the same in the first operating mode and the second operating mode.
[0231] Based on this, in the present application, when the electronic device is switching modes, the control parameters of the electronic device before the mode switch stored in the control chip can be obtained. Thus, after the electronic device switches modes, the output component can still be controlled according to the control parameters before the mode switch, ensuring that the output parameters such as display parameters or audio parameters of the electronic device can remain synchronized before and after the mode switch.
[0232] Corresponding to one control method of this application, this application also provides a control device.
[0233] like Figure 10 The diagram illustrates a possible structural composition of a control device provided in an embodiment of this application. The device in this embodiment may include:
[0234] The parameter determination unit 1001 is used to determine the control parameters corresponding to the control command in response to receiving a control command.
[0235] The output control unit 1002 is used to control the corresponding output component of the electronic device to output target content based on the control parameters. The electronic device can update the control parameters through different update methods, and the updated control parameters under different update methods can be synchronized.
[0236] In one possible implementation, the parameter determining unit includes at least one of the following:
[0237] The first parameter determination unit is configured to update the first control parameter in the control chip of the electronic device in response to receiving a display parameter adjustment instruction;
[0238] The second parameter determination unit is used to update the second control parameter in the control chip of the electronic device in response to receiving an audio parameter adjustment command.
[0239] The third parameter determination unit is used to read control parameters corresponding to the target operating mode from the control chip of the electronic device in response to receiving a control command for controlling the electronic device to switch modes.
[0240] Furthermore, when the third parameter determining unit or the second parameter determining unit updates the first control parameter or the second control parameter in the control chip of the electronic device, specifically:
[0241] Determine the source information of the display parameter adjustment command or audio parameter adjustment command;
[0242] If the source information indicates that the display parameter adjustment command or audio parameter adjustment command is triggered based on a target button or screen menu of the electronic device, the first control parameter or second control parameter stored in the storage area of the control chip is updated in a first update manner; or,
[0243] If the source information indicates that the display parameter adjustment instruction or audio parameter adjustment instruction is triggered based on the target program of the electronic device, the first control parameter or the second control parameter stored in the storage area of the control chip is updated in a second update manner;
[0244] The first update method and the second update method differ at least in their update paths.
[0245] In yet another possible implementation, the device further includes:
[0246] The parameter transmission unit is used to obtain the first control parameter or the second control parameter stored in the storage area of the control chip through the bus control chip after the first parameter determination unit or the second parameter determination unit updates the first control parameter or the second control parameter stored in the storage area of the control chip, and transmit the first control parameter or the second control parameter to the target program so as to update the configuration parameter of the corresponding setting item of the target program to the first control parameter or the second control parameter.
[0247] In yet another possible implementation, the parameter determining unit includes:
[0248] The mode determination unit is used to determine the current operating mode of the electronic device;
[0249] The first parameter update unit is used to update the control parameters in the storage area of the control chip of the electronic device in a first update manner if the electronic device is in a first operating mode.
[0250] Alternatively, a second parameter update unit is configured to update the control parameters in the storage area of the control chip of the electronic device in a first update manner or in a second update manner, based on the source information of the control command, if the electronic device is in a second operating mode.
[0251] Alternatively, a third parameter update unit is configured to update the control parameters in the storage area of the control chip of the electronic device in a first update method and a second update method if the electronic device is in a third operating mode.
[0252] In any of the above device embodiments, the output control unit includes at least one of the following:
[0253] The first output control unit is used to control the duty cycle of the pulse signal output to the corresponding output component based on the control parameters through the display control chip of the electronic device, so that the target content is output with the target output parameters;
[0254] The second output control unit is used to control the duty cycle of the first pulse signal output to the display control chip of the electronic device based on the control parameters, so as to adjust the duty cycle of the second pulse signal output by the display control chip to the corresponding output component, so that the target content is output with the target output parameters.
[0255] In another possible implementation, when the third parameter determining unit receives a control command for the electronic device to perform mode switching, it may specifically include at least one of the following:
[0256] If it is determined that the electronic device is switching from the first display mode to the second display mode, the control command is obtained;
[0257] If it is determined that the electronic device is switching from the first audio output mode to the second audio output mode, the control command is obtained;
[0258] If it is determined that the electronic device is switching from a power-off state to a power-on state, the control command is obtained;
[0259] If it is determined that the electronic device is switching from a first network connection state to a second network connection state, the control command is obtained;
[0260] If it is determined that the electronic device and the extended device have switched from a first communication state to a second communication state, the control command is obtained.
[0261] In another possible implementation, when the third parameter determining unit reads the control parameters corresponding to the target operating mode from the control chip of the electronic device, it is specifically used for at least one of the following:
[0262] Obtain the attribute information of the control command and / or the operating information of the electronic device, and determine the corresponding control parameters to be obtained from the target control chip of the electronic device by the basic input / output system or display control chip of the electronic device based on the attribute information and / or the operating information;
[0263] Obtain the attribute information of the control command and / or the operating information of the electronic device. Based on the attribute information and / or the operating information, determine that the basic input / output system of the electronic device shall obtain the corresponding control parameters from the target control chip of the electronic device or the display control chip of the electronic device, or determine that the target control chip of the electronic device shall obtain the corresponding control parameters from the display control chip of the electronic device.
[0264] In yet another possible implementation, the device further includes:
[0265] The instruction transmission unit is used to send the control instruction to the basic input / output system or display control chip of the electronic device before the third parameter determination unit reads the control parameters corresponding to the target operating mode from the control chip of the electronic device, so that the basic input / output system or the display control chip can obtain the corresponding control parameters from the target control chip.
[0266] Accordingly, the output control unit includes:
[0267] The first control subunit is used to use the basic input / output system to send the acquired control parameters to the operating system through the target driver, so that the operating system controls the output parameters of the corresponding output component based on the control parameters.
[0268] or,
[0269] The second control subunit is used to control the output parameters of the corresponding output component based on the acquired control parameters using the display control chip.
[0270] On the other hand, this application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the control method described in any of the above embodiments.
[0271] This application also proposes a computer program comprising computer instructions stored in a computer-readable storage medium. When executed on an electronic device, the computer program performs the control methods described in any of the above embodiments.
[0272] It is understood that in this application, the terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings are used to distinguish similar parts and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that illustrated herein.
[0273] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. Furthermore, the features described in the various embodiments of this specification can be substituted or combined with each other, enabling those skilled in the art to implement or use this application. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0274] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0275] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0276] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A control method, comprising: in response to obtaining a regulation instruction, determining a control parameter corresponding to the regulation instruction; controlling a corresponding output component of an electronic device to output target content based on the control parameter; wherein the electronic device is capable of updating the control parameter through different update manners, and the control parameters updated through different update manners are capable of being synchronized; wherein the different update manners are different at least in update paths, and the update paths are different in that the modules involved from generating the regulation instruction to completing the update of the control parameter and the interactions between the modules are different; wherein determining the control parameter corresponding to the regulation instruction comprises: determining source information of the regulation instruction; if the source information indicates that the regulation instruction is triggered based on a target key or a screen menu of the electronic device, updating the control parameter stored in a storage area of a control chip in a first update manner; and if the source information indicates that the regulation instruction is triggered based on a target program of the electronic device, updating the control parameter stored in the storage area of the control chip in a second update manner.
2. The method of claim 1, wherein, in response to obtaining a regulation instruction, determining a control parameter corresponding to the regulation instruction, comprises at least one of: in response to obtaining a display parameter adjustment instruction, updating a first control parameter in a control chip of the electronic device based on the display parameter adjustment instruction; in response to obtaining an audio parameter adjustment instruction, updating a second control parameter in the control chip of the electronic device based on the audio parameter adjustment instruction; in response to obtaining a control instruction for switching a mode of the electronic device, reading a control parameter corresponding to a target running mode from the control chip of the electronic device. 3.The method of claim 1, after updating the control parameter stored in the storage area of the control chip in the first update manner, further comprising: obtaining the first control parameter or the second control parameter in the storage area of the control chip through a bus, and transmitting the first control parameter or the second control parameter to the target program to update a configuration parameter of a corresponding setting item of the target program to the first control parameter or the second control parameter. 4.The method of claim 1, wherein in response to obtaining a regulation instruction, determining a control parameter corresponding to the regulation instruction comprises: determining a running mode in which the electronic device is currently located; if the electronic device is in a first running mode, updating the control parameter in the storage area of the control chip of the electronic device in the first update manner; or, if the electronic device is in a second running mode, updating the control parameter in the storage area of the control chip of the electronic device in the first update manner or updating the control parameter in the storage area of the control chip of the electronic device in the second update manner based on source information of the regulation instruction; or, if the electronic device is in a third running mode, updating the control parameter in the storage area of the control chip of the electronic device in the first update manner and the second update manner.
5. The method of any one of claims 1-4, wherein the controlling, based on the control parameter, the corresponding output component of the electronic device to output the target content comprises at least one of: controlling, by a display control chip of the electronic device, a duty cycle of a pulse signal output to the corresponding output component based on the control parameter to cause the target content to be output with the target output parameter; and controlling a duty cycle of a first pulse signal output to a display control chip of the electronic device based on the control parameter to adjust a duty cycle of a second pulse signal output by the display control chip to the corresponding output component to cause the target content to be output with the target output parameter. The control instruction for controlling the electronic device to switch modes is obtained, including at least one of: if it is determined that the electronic device switches from a first display mode to a second display mode, the control instruction is obtained; 6. The method of claim 2, wherein, if it is determined that the electronic device switches from a first audio output mode to a second audio output mode, the control instruction is obtained; if it is determined that the electronic device switches from a power-off state to a power-on state, the control instruction is obtained; if it is determined that the electronic device switches from a first network connection state to a second network connection state, the control instruction is obtained; if it is determined that the electronic device and the expansion device switch from a first communication state to a second communication state, the control instruction is obtained. The control parameter corresponding to the target operating mode is read from the control chip of the electronic device, including at least one of: obtaining attribute information of the control instruction and / or operating information of the electronic device, and determining, based on the attribute information and / or the operating information, that the corresponding control parameter is obtained by the basic input and output system or the display control chip of the electronic device from the target control chip of the electronic device; 7. The method of claim 6, wherein, obtaining attribute information of the control instruction and / or operating information of the electronic device, and determining, based on the attribute information and / or the operating information, that the corresponding control parameter is obtained by the basic input and output system of the electronic device from the target control chip of the electronic device or the display control chip of the electronic device, or that the corresponding control parameter is obtained by the target control chip of the electronic device from the display control chip of the electronic device.
8. The method of claim 7, wherein the control parameter corresponding to the target operating mode is read from the control chip of the electronic device, further comprising at least one of: providing the control instruction to the basic input and output system or the display control chip of the electronic device to obtain the corresponding control parameter from the target control chip by the basic input and output system or the display control chip; providing the control instruction to the basic input and output system of the electronic device to obtain the corresponding control parameter from the target control chip or the display control chip by the basic input and output system; providing the control instruction to the target control chip of the electronic device to obtain the corresponding control parameter from the display control chip by the target control chip; Accordingly, the controlling, based on the control parameter, the corresponding output component of the electronic device to output the target content comprises at least one of: The basic input and output system uses the obtained control parameter to drive the operating system through a target driver, so that the operating system controls the output parameter of the corresponding output component based on the control parameter; The display control chip controls the output parameter of the corresponding output component based on the obtained control parameter; The basic input and output system uses the obtained control parameter to drive the operating system through a target driver, so that the operating system controls the audio parameter and / or display parameter of the electronic device based on the control parameter; The basic input and output system uses the obtained control parameter to drive the operating system through a target driver, so that the operating system controls the audio parameter and / or display parameter of the electronic device based on the control parameter; The first control chip uses the obtained control parameter to drive the display control chip through a corresponding control signal, so that the display control chip controls the display parameter and / or audio parameter of the electronic device based on the corresponding control signal.
9. A control device, comprising: a parameter determination unit configured to determine a control parameter corresponding to a control instruction in response to obtaining the control instruction; an output control unit configured to control a corresponding output component of an electronic device to output target content based on the control parameter, wherein the electronic device is capable of updating the control parameter through different update modes, and the control parameters updated through different update modes are capable of being synchronized; wherein the different update modes are different at least in update paths, and the update paths being different means that the modules involved and the interactions between the modules from generating the control instruction to completing the update of the control parameter are different. The parameter determination unit determines the control parameter corresponding to the control instruction, and is specifically configured to: determine source information of the control instruction; if the source information indicates that the control instruction is triggered based on a target key or a screen menu of the electronic device, update the control parameter stored in a storage area of a control chip in a first update mode; and if the source information indicates that the control instruction is triggered based on a target program of the electronic device, update the control parameter stored in the storage area of the control chip in a second update mode.
Citation Information
Patent Citations
Control method and device
CN113742798A
Parameter setting device, parameter setting method and program
JP2016118893A
Display control method and apparatus, electronic device, and storage medium
WO2023010251A1
