CN112925572A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN112925572A
CN112925572A CN202110232299.3A CN202110232299A CN112925572A CN 112925572 A CN112925572 A CN 112925572A CN 202110232299 A CN202110232299 A CN 202110232299A CN 112925572 A CN112925572 A CN 112925572A
Authority
CN
China
Prior art keywords
target
hardware
hardware component
parameter
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110232299.3A
Other languages
Chinese (zh)
Other versions
CN112925572B (en
Inventor
李晓远
鲁希达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110232299.3A priority Critical patent/CN112925572B/en
Publication of CN112925572A publication Critical patent/CN112925572A/en
Application granted granted Critical
Publication of CN112925572B publication Critical patent/CN112925572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

According to the control method and device disclosed by the application, at least target data are stored in the first hardware component, and at least target control logic is stored in the second target hardware, so that the target hardware is controlled by the first hardware component and/or the second hardware component of the system bottom layer. On the basis, when the target hardware needs to be controlled, only the input parameters need to be obtained at the upper layer (such as upper layer software) of the system to trigger the required control, then, the corresponding hardware component is further determined from the bottom layer of the system at least according to the input parameters, and the corresponding response processing is executed through the determined hardware component (such as the first hardware component and/or the second hardware component) to realize the control of the target hardware.

Description

Control method and device and electronic equipment
Technical Field
The present disclosure relates to the field of control, and in particular, to a control method and apparatus, and an electronic device.
Background
Electronic devices such as notebook computers, desktop computers, and the like are provided with a series of control functions for hardware.
At present, electronic equipment generally realizes control over hardware based on system driving, which needs to provide corresponding different control capabilities for different types of hardware of the equipment in driving software, resulting in large development workload and long period of the driving software; moreover, different generations of hardware products of the same hardware or different models of the same hardware often have different control functions, so that different types of electronic devices (which may use different generations or different models of hardware) usually need to be respectively designed and developed with different system driver software to meet different hardware control requirements.
Disclosure of Invention
In view of the above, the present application provides a control method, a control device and an electronic device, and the specific scheme is as follows:
a control method, comprising:
obtaining an input parameter;
determining corresponding hardware components at least according to the input parameters, wherein the hardware components at least comprise a first hardware component at least storing target data and a second hardware component at least storing target control logic;
performing, by the first hardware component and/or the second hardware component, a corresponding response process.
Optionally, the obtaining the input parameters includes:
obtaining operating parameters acting on a target application process;
or, obtaining the environment parameters provided to the target interface process.
Optionally, determining a corresponding hardware component according to at least the input parameter includes:
processing the input parameters to obtain a processing result, and determining a hardware component executing response processing to be a first hardware component and/or a second hardware component according to the processing result; or the like, or, alternatively,
if the input parameter is an operation parameter acting on the target application process, acquiring attribute information of the target application process, and determining a hardware component executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameter; or the like, or, alternatively,
and if the input parameter is the environment parameter provided by the target interface process, determining the hardware component for executing the response processing as a second hardware component.
Optionally, wherein the executing, by the first hardware component and/or the second hardware component, the corresponding response processing includes:
if the processing result represents that the input parameter is used for obtaining the target performance parameter of the electronic equipment, feedback outputting the performance parameter corresponding to the configuration parameter of the first target hardware obtained from the first hardware component according to a preset mode; or the like, or, alternatively,
if the processing result represents that the input parameter causes the control parameter of the target control logic to change, controlling a control object of the target control logic to execute corresponding operation through the second hardware component; or the like, or, alternatively,
and if the processing result represents that the first target data of the first target hardware is read from the first hardware component to adjust the target control logic of the second hardware component, controlling the first target hardware to execute corresponding operation according to the adjusted target control logic.
Optionally, wherein the executing, by the first hardware component and/or the second hardware component, the corresponding response processing includes:
if the target application process is determined to be capable of inquiring at least the target performance parameters of the electronic equipment according to the attribute information, outputting the performance parameters corresponding to the configuration parameters of the second target hardware obtained from the first hardware component according to the input parameters; or the like, or, alternatively,
if the target application process is determined to be capable of controlling at least a third target hardware of the electronic equipment according to the attribute information, controlling the third target hardware to execute corresponding operation according to the input parameters and a target control logic which controls the third target hardware in the second hardware component; or the like, or, alternatively,
and if the target application process is determined to be capable of adjusting at least the control parameter of fourth target hardware of the electronic equipment according to the attribute information, updating the performance parameter corresponding to the configuration parameter of the fourth target hardware obtained from the first hardware component according to the input parameter to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operation according to the updated target control logic.
Optionally, the method further includes:
obtaining a first difference parameter between the input parameter and a corresponding control parameter in the target control logic, and if the first difference parameter meets a first adjustment condition, updating the corresponding control parameter in the target control logic according to the input parameter; or the like, or, alternatively,
and obtaining a performance parameter corresponding to the configuration parameter and a second difference parameter corresponding to the control parameter in the target control logic, and if the second difference parameter meets a second adjustment condition, updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter.
Optionally, the method further includes:
and storing the updated target control logic into the second hardware component, so that the target hardware is controlled by the second hardware component to execute corresponding operation according to the updated target control logic when the electronic equipment is in a preset running state.
Optionally, the method further includes:
outputting content matched with the third target hardware for executing corresponding operation on a display interface of the target application process; or the like, or, alternatively,
and outputting the content matched with the fourth target hardware for executing the corresponding operation on the display interface of the target application process.
Optionally, the executing, by the second hardware component, the corresponding response processing includes:
and adjusting the corresponding control parameters of the target control logic according to the environmental parameters provided by the target interface process so as to control the target object to execute corresponding operation according to the adjusted control parameters.
A control device, comprising:
the acquisition module is used for acquiring input parameters;
the determining module is used for determining corresponding hardware components at least according to the input parameters, and the hardware components at least comprise a first hardware component at least storing target data and a second hardware component at least storing target control logic;
a response placement module for performing corresponding response processing by the first hardware component and/or the second hardware component.
The present application further provides an electronic device, comprising:
hardware components including at least a first hardware component storing at least target data and a second hardware component storing at least target control logic;
a memory for storing a set of computer instructions;
a processor for implementing the control method of any one of the above by executing a set of instructions stored on a memory.
In addition, the present application also provides a storage medium, in which a set of computer instructions is stored, and the set of computer instructions, when executed by a processor, implements the control method as disclosed in any one of the above.
According to the technical scheme, the control method and the control device disclosed by the application have the advantages that the first hardware component at least stores the target data, and the second target hardware at least stores the target control logic, so that the target hardware is controlled by the first hardware component and/or the second hardware component of the system bottom layer. On the basis, when the target hardware needs to be controlled, only the input parameters need to be obtained at the upper layer (e.g., upper layer software) of the system to trigger the required control, and then the corresponding hardware component is further determined from the bottom layer of the system according to at least the input parameters, and the corresponding response processing is executed through the determined hardware component (e.g., the first hardware component and/or the second hardware component) to realize the control of the target hardware.
Therefore, in the application, data and control logic corresponding to different control capabilities of different types of hardware can be implemented in system bottom hardware (a first hardware component and a second hardware component), so that a universal hardware control scheme is provided based on the system bottom hardware, system upper software can be used as a trigger to trigger the bottom hardware to execute response processing and correspondingly realize required control by acquiring input parameters, unified hardware control management based on the system bottom hardware is realized, the development period, workload and difficulty of the upper software are greatly reduced, and different system driving software does not need to be designed and developed respectively aiming at electronic devices of different types.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a control method disclosed in an embodiment of the present application;
FIG. 2 is a logic diagram of a BIOS and EC based hardware control implementation disclosed in an embodiment of the present application;
FIG. 3 is a schematic view of a process for performing light effect control on a keyboard and synchronously outputting a simulated light effect of the keyboard on a UI according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a control device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application discloses a control method, a control device and electronic equipment, which are used for realizing a unified hardware control management scheme based on system bottom hardware by realizing data and control logics corresponding to different control capacities of different generations, different series and/or different types of hardware of different types of electronic equipment in the system bottom hardware (different from target hardware to be controlled), and releasing different control capacity requirements of upper software of the system on different generations, different series and/or different types of hardware, so that the upper software can be used as a trigger only to trigger the bottom hardware to execute response processing and correspondingly realize required control, and accordingly, the aim of reducing the development period, workload and difficulty of the upper software is fulfilled.
Referring to fig. 1, a flow chart of the control method of the present application is shown, where the control method can be applied to, but is not limited to, an electronic device having a software and hardware-based data processing function/component control function, and the electronic device can be, for example and without limitation, a portable mobile terminal such as a smart phone, a tablet computer, a personal digital assistant, or a computer device such as a notebook, a desktop, or a kiosk.
As shown in fig. 1, in the present embodiment, the control method includes the following processing steps:
step 101, obtaining input parameters.
In the present application, corresponding data and control logic required for controlling controllable hardware of different generations, different series and/or different models are stored in advance in a hardware component of an electronic device. Wherein the hardware component includes at least: a first hardware component storing at least target data and a second hardware component storing at least target control logic. The controllable hardware may be, but is not limited to, a CPU (central Processing Unit), a GPU (Graphics Processing Unit), a keyboard, and other hardware, where the keyboard may be a self-contained keyboard or an extended keyboard of the electronic device.
The first hardware component may be, but is not limited to, a BIOS (Basic Input Output System) chip of the electronic device, and the second hardware component may be, but is not limited to, an EC (embedded Controller) of the electronic device. In other embodiments, the first hardware component may also be a component having the same or similar functionality as the BIOS, and the second hardware component may also be another component having the same or similar functionality as the EC.
Target data stored in the BIOS, including but not limited to: target configuration parameters of controllable hardware of a certain generation, a certain series and/or a certain model actually used by the current model of the electronic equipment, and performance parameters (performance parameter set) matched with various different configuration parameters corresponding to the controllable hardware of each generation, series and/or model. The configuration parameters of the hardware refer to parameter information such as algebra, series and/or model to which the hardware belongs, the performance parameters of the hardware include, but are not limited to, overclocking parameters of a CPU/GPU, light effect control parameters of a keyboard, and light effect control parameters of the keyboard, which illustratively include information such as a light effect mode, a controllable region, the number of lamps of the keyboard, color, brightness, a light effect animation switching direction, speed, and time. For example, taking the controllable hardware as the CPU or the GPU as an example, the turbo parameters of the CPUs and GPUs of different generations, series and/or models are often different, and accordingly, target configuration parameters such as an algebra (belonging to a GPU/CPU of a certain generation), a series and a model of the GPU/CPU actually used by the current electronic device (the electronic device where the BIOS is located) model and performance parameters such as different turbo parameters corresponding to the GPUs/CPUs of the various generations, series and/or models on the market may be stored in the BIOS. Taking controllable hardware as a keyboard as an example, the light effect modes, light effect control areas and/or light effect parameters (such as brightness, color, animation switching, direction, speed, time) supported by keyboards of different generations, different series and/or different models are often different, and accordingly, target configuration parameters such as the generation number, the series and the model to which the keyboard actually used by the current electronic device (the electronic device in which the BIOS is located) belongs can be stored in the BIOS, and performance information (set) such as different light effect modes, light effect control areas and light effect parameters corresponding to keyboards of different generations, series and/or models on the market can be stored.
The performance parameters corresponding to controllable hardware of each generation, each series and/or each model are stored in the BIOS, so that the hardware performance parameters which are universally used for different types of equipment are stored in the BIOS. Optionally, for the hardware of the keyboard, a basic light effect library including a series of basic light effects may be stored in the BIOS, and the basic light effect library is also used as a performance parameter commonly used for different keyboards, and the basic light effects in the basic light effect library may include, but are not limited to, circular, elliptical, linear, and square light effect animations, so as to support the user interface of the upper software program to perform a customized combination of different basic light effects, and implement a desired customized animation or scene animation by performing a combination of different basic light effects.
Therefore, for electronic equipment of different models, the target configuration parameters of the corresponding controllable hardware actually used by the electronic equipment are stored in the first hardware component in a differentiated manner, and the hardware performance parameters corresponding to the current model of the electronic equipment can be obtained through matching based on the general performance parameters stored by the first hardware component. Specifically, as shown in fig. 2, in practical application, the upper layer software is supported to read the performance parameters of the hardware matched with the actual use of the current device model from the BIOS, so as to obtain the hardware capability of the current device model, such as the light effect mode supported by the keyboard of the current device model, the controllable area of the keyboard, the available basic light effect animation, and the like, and on the basis, the user is supported to perform operations such as parameter input, configuration, and the like on the hardware based on the performance parameters displayed on the interface, for example, the combination of the basic animation, the collocation of different light effect modes and different controllable areas, the setting of the color, brightness, and the like of the keyboard lamp, the setting of the super-frequency parameter value of the GPU/CPU, and the like are performed on the user interface, so as to generate the required control parameters, and transmit the control parameters to the EC through the interface, so that the hardware (keyboard, GPU/CPU.
In addition, since the main function of the BIOS is to provide the lowest level, most direct hardware settings and control for the computer, in addition to storing the above-mentioned target data in the first hardware component, BIOS may also store control logic for controlling certain controllable hardware. Preferably, the control logic stored in the BIOS is control logic of corresponding hardware that needs to be controlled by the BIOS, for example, the control logic may specifically be, but is not limited to, control logic for performing over-clocking control on a CPU and a PGU, and these control logics are relatively simple and can be implemented by using control capability provided by the BIOS itself.
Preferably, the target control logic stored in the EC as the second hardware component may be, but is not limited to, a relatively complex control logic such as a light effect control logic of a keyboard. The target control logic may specifically include control parameters and processing and/or control flows based on the control parameters, for example, a light effect control flow of some custom animations or scene animations based on light effect parameters such as speed, direction, color, time, etc., which may show different light effects by adjusting speed, direction, color, time, etc. of the keyboard light animation, and may specifically be implemented by means of the computing power and logic processing power of the EC.
In addition to the target control logic, for example, for the keyboard light effect control, in addition to the control logic of the keyboard light effect stored in the second hardware component, the second hardware component may also store target configuration parameters such as the generation number, series, model number and the like of the keyboard actually used by the current electronic device (the electronic device where the EC is located), and performance information such as different light effect modes, light effect control areas, light effect parameters, basic animation libraries and the like corresponding to the generation, series and/or model keyboards on the market. It will be readily appreciated that in the case where the aforementioned target data for the keyboard is stored in the EC, it is no longer necessary to store such data in the BIOS.
On this basis, in an embodiment, the obtaining of the input parameters in step 101 may be specifically implemented as: operating parameters acting on the target application process are obtained.
The obtained operation parameters serve as the input parameters described above.
In this embodiment, a software program may be specifically utilized to provide a User Interface (UI) for controlling target hardware of the electronic device to an operator of the electronic device, and the operator may execute corresponding operations on the User Interface provided by the software program according to actual requirements to realize interaction with the underlying first hardware component and/or second hardware component, and accordingly realize control of the target hardware, such as a keyboard lamp, a CPU/GPU, and the like, by the first hardware component and/or the second hardware component.
The software program for providing the user interface may be local system software of the electronic device or third-party software installed in the electronic device, and in implementation, different software programs may be developed and implemented one by one or a software program that is generally used for various different controllable hardware for different types of controllable hardware, such as a keyboard, a CPU, and a GPU, and the implementation form of the software program is not limited herein.
The operation parameters acting on the target application process are specifically operation parameters acting on a corresponding target application process of the software program, and the target application process may include but is not limited to: a process for querying the target data of a certain target hardware from the target data of the first hardware component for the configuration parameters and performance parameters of the certain target hardware, a process for adjusting the control parameters in the target control logic of a certain target hardware in the second hardware component, or a process for adjusting the target control logic (the processing/control flow) of a certain target hardware in the second hardware component, and so on. Accordingly, the operating parameter acting on the target application process may be, but is not limited to, any of the following:
1) query parameters for querying the respective configuration/performance parameters from the first hardware component;
for example, a hardware identifier (e.g., a hardware type, a hardware name, etc. of any hardware such as a keyboard light, a CPU, a GPU, etc.) of a certain target hardware is input or selected to the user interface, and this is used as an input parameter to query and output configuration parameters and/or performance parameters of the target hardware from the first hardware component.
2) Adjustment parameter information for adjusting a corresponding control parameter in the second hardware component;
for example, the performance parameters (e.g. the over-clocking parameter of the GPU, the brightness and the color of the keyboard light) of a certain target hardware which is queried from the first hardware component and displayed on the user interface are set, and the generated setting information is used as the adjustment parameter information for adjusting the corresponding control parameters (e.g. the over-clocking parameter of the GPU, the brightness and the color of the keyboard light) in the second hardware component.
3) Adjustment parameter information for adjusting the target control logic in the second hardware component;
for example, different keyboard light effect mode identifiers and different keyboard light area identifiers, which are called from a first hardware component and displayed on a user interface, are combined and matched, or different basic animations are combined in a user-defined manner, and generated combination and matching information is used as adjustment parameter information to read matched keyboard light effect mode information, keyboard light area information or various basic animation information from the first hardware component based on the adjustment parameter information, and further adjust light effect control logic (light effect processing/control flow) for a keyboard light in a second hardware component based on the read information, so that the adjusted light effect control logic is matched with the combination and matching information.
Or, optionally, in another embodiment, the obtaining of the input parameter in step 101 may specifically be implemented as: the environment parameters provided to the target interface process are obtained.
In this embodiment, the electronic device may provide an environment parameter detection function by setting various sensing elements such as an illuminometer, a sound sensor, a temperature sensor, and a camera, or creating and starting a detection process for an application running on the electronic device, and obtain an environment parameter detected by each sensor or the application detection process through a target interface process. The environmental parameters detected by each sensor or detection process may include, but are not limited to, ambient brightness, ambient noise, temperature, ambient image (for example, whether an image of an operator in front of the electronic device is detected), information of an application (for example, a specific game application or an audio/video application) run by the electronic device, and the like, so as to support adaptive adjustment of corresponding control parameters of the target control logic in the second hardware component based on the detected environmental parameters.
And 102, determining a corresponding hardware component according to at least the input parameters.
The hardware component for performing the response processing on the input parameter may be determined from the first hardware component and the second hardware component at least according to the input parameter.
Specifically, the step 102 can be implemented as any one of the following:
1) processing the input parameters to obtain a processing result, and determining the hardware component executing response processing to be a first hardware component and/or a second hardware component according to the processing result;
specifically, the operation parameters acting on the target application process or the environment parameters provided to the target interface process may be processed, and the hardware component executing the response processing may be determined to be the first hardware component and/or the second hardware component according to the processing result.
Illustratively, for example, the operation parameter acting on the target application process is parsed (e.g. semantic parsing on the voice input information or the interface button operation information, etc.), and the operation purpose is known to be the query type, the control parameter adjustment type or the target control logic adjustment type, and a processing instruction is determined based on the operation purpose, and then a hardware component for performing response processing on the processing instruction is determined, wherein if the operation purpose is to query the performance parameter of the target hardware (e.g. GPU), the processing instruction is determined to be the query instruction, the hardware component for performing response processing on the query instruction is correspondingly determined to be the hardware component storing the target hardware performance parameter, e.g. the first hardware component BIOS, and if the operation purpose is to adjust the control parameter or the target control logic of the target hardware, the processing instruction is determined to be the adjustment instruction (adjustment control parameter or target control logic), the hardware component for performing the response process on the adjustment instruction is accordingly determined to be a hardware component, such as the second hardware component EC, in which the target control logic (including the control parameters) of the target hardware is stored.
For another example, the environment sensing signal provided by the sensor or the detection result provided by the application detection process is analyzed to obtain the environment parameter, and then the hardware component executing the response processing is determined as the hardware component storing the target control logic, such as the second hardware component EC, based on the environment parameter, so that the second hardware component can perform adaptive adjustment of matching the control parameter or the control flow in the target control logic to the device environment. For example, in a case where the device is detected and analyzed to run a game application and the user is in front of the device, the second hardware component is determined as a hardware component for performing response processing, so as to perform adaptive adjustment on the keyboard light effect when the second hardware component is adapted to the game application of the device (e.g., the digital area or the directional control area of the keyboard is adjusted to a certain light effect mode, so as to highlight the area for the user to operate conveniently), or in a case where it is detected and analyzed that the ambient brightness is low or the ambient noise is high, the hardware component storing the device brightness and volume control logic, such as EC, may be determined as a hardware component for performing response processing, so as to perform adaptive adjustment on the device backlight and volume based on the ambient brightness or noise at EC, and the like.
2) If the input parameter is an operation parameter acting on the target application process, acquiring attribute information of the target application process, and determining a hardware component executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the operation parameter;
the attribute information of the target application process may include, but is not limited to, an application type to which the target application process belongs, and process function information under the application type to which the target application process belongs, such as that the target application process belongs to a GPU control application type, and a process for setting a GPU turbo parameter under the GPU control application type, or that the target application process belongs to a keyboard light effect control application type, and a process for querying keyboard light effect data (light effect mode data, keyboard area data, light effect parameter data, and the like) under the keyboard light effect control application type, and the like.
In this embodiment, in the case that the input parameter is an operation parameter acting on the target application process, specifically, the hardware component for performing the response process may be determined according to the operation parameter and the above-mentioned attribute information of the target application process, for example, if the input parameter is identification information of a keyboard lamp (for example, inputting a "keyboard lamp", or clicking a "keyboard lamp" button on an interface), and the attribute information of the target application process is a keyboard control application type, and the keyboard lamp effect information query process for the application type is performed, the hardware component for performing the response process may be determined as the first hardware component, and if the input parameter is a parameter value such as brightness, color, and the like of the keyboard lamp, and the attribute information of the target application process is a keyboard control application type, and the keyboard lamp effect parameter setting process for the application type is performed, the hardware component for performing the response process may be determined as the second hardware component (based on the set brightness, color, brightness, or the like, Color, etc., adjusting keyboard light effect control parameters in the second hardware component).
3) And if the input parameter is the environment parameter provided by the target interface process, determining the hardware component for executing the response processing as a second hardware component.
If the input parameter is an environmental parameter provided by the target interface process, the control parameter in the target control logic or the logic flow of the target control logic needs to be adjusted correspondingly based on the environmental parameter, so as to realize the self-adaptive adjustment of the control of the target hardware based on the environmental information of the electronic equipment, such as the self-adaptive adjustment of the brightness, the color and the light effect mode of the keyboard light based on the environmental brightness and the application process of the running of the electronic equipment. Therefore, in the case where the input parameter is an environmental parameter provided by the target interface process, it can be directly determined that the hardware component performing the response processing is a hardware component storing the target control logic, such as the second hardware component EC.
Step 103, executing corresponding response processing by the first hardware component and/or the second hardware component.
After determining that the hardware component for performing the response processing is the first hardware component and/or the second hardware component according to at least the input parameter, interaction may be performed between the upper layer software and the lower layer hardware, such as transmission of a parameter or a command, further based on an interface with the determined hardware component, and then the corresponding response processing may be performed on the input parameter through the determined first hardware component and/or the determined second hardware component.
Corresponding to the 1 st implementation manner (determining the hardware component according to the processing result of the input parameter) in step 102, the step 103 may be specifically implemented as:
11) if the processing result represents that the input parameters are used for obtaining the target performance parameters of the electronic equipment, the configuration parameters of the first target hardware obtained from the first hardware component are fed back and output according to a preset mode;
specifically, the target performance parameter of the electronic device is a performance parameter of first target hardware actually applied by a current model of the electronic device, such as a performance parameter of a keyboard, a GPU, or a CPU actually used.
If the processing result represents that the input parameter is used to obtain the target performance parameter of the first target hardware of the electronic device, for example, the input parameter is the identification information of the first target hardware (e.g., input GPU on the user interface or select an option button of the GPU to query the performance parameter of the GPU, etc.), the first hardware component, such as the BIOS, responds to the input parameters, queries, from the target data stored in the first hardware component, the target performance parameters corresponding to the configuration parameters of the first target hardware actually used by the current model of the electronic device, such as querying the over-clocking parameters of a certain generation and model of GPU actually used by the electronic device, or inquiring the light effect mode information supported by a certain generation and a certain type of keyboard, the supported light effect control area information, the light effect parameters (brightness, color and time), the basic animation and the like of the electronic equipment, and feeding back and outputting the inquired information on the user interface in a preset mode.
The predetermined mode may be, but is not limited to, a text information output mode, a graphic/image information output mode, or a mode combining text and graphic/image, for example, outputting the over-frequency parameter corresponding to the GPU in the text information output mode, outputting the light effect control area supported by the keyboard in the graphic/image mode (such as a virtual keyboard image), and outputting the light effect mode, the light effect parameter, the basic animation, and other information supported by the area in the corresponding area position of the keyboard in the text mode.
12) If the processing result represents that the input parameters cause the control parameters of the target control logic to change, controlling a control object of the target control logic to execute corresponding operation through a second hardware component;
specifically, if the processing result indicates that the input parameter causes a change in a control parameter of the target control logic (i.e., the input parameter causes an adjustment of the control parameter of the target control logic), the second hardware component, such as the EC, may specifically control the control object of the target control logic to perform a corresponding operation based on the adjusted control parameter.
Now, the following examples are given: for example, if the input parameters are the brightness, color, and time interval in the flashing mode of the keyboard lamp, and these parameters are different from the control parameters in the light effect control logic of the keyboard in the EC, which results in the adjustment of the control parameters, the EC may specifically control the keyboard (essentially, the keyboard controller) to perform the operations of brightness adjustment, color adjustment, time interval adjustment during flashing, and the like of the keyboard lamp based on the adjusted control parameters of brightness, color, time interval, and the like. For another example, if it is determined that the control parameters in the control logic of the device brightness and volume are changed according to the processed ambient brightness and noise, the EC may control the device to perform the operation of adjusting the backlight brightness and volume based on the changed control parameters of the brightness and volume.
13) And if the processing result represents that the first target data of the first target hardware is read from the first hardware component to adjust the target control logic of the second hardware component, controlling the first target hardware to execute corresponding operation according to the adjusted target control logic.
In this case, the first target data of the first target hardware may be read from the first hardware component to adjust the target control logic of the second hardware component, and then the second hardware component controls the first target hardware to execute the corresponding operation according to the adjusted target control logic.
For example, for the input parameter processing results obtained by matching different light effect modes with different keyboard regions (for example, the first keyboard region adopts the light effect mode 3, the second keyboard region adopts the light effect mode 1, etc.), or for different basic animation self-defined combination results, the light effect mode information and the keyboard region information of the keyboard can be specifically read from the first hardware component, such as the BIOS, if the light effect mode 1 is the normally-on mode, the light effect mode 3 is the blinking mode, the first keyboard region is the number key region for m keys, and the second keyboard region is the direction key region, for n keys in total, etc., or the corresponding basic animation information in the BIOS is read, and based on these read information, the light effect control logic for the keyboard in the second hardware component, such as the EC, is adjusted to correspond to the matching results or the self-defined animation combination results, and the EC controls the keyboard (essentially, according to the adjusted light effect control logic, to execute the corresponding light effect processing by the keyboard controller.
Corresponding to the implementation manner 2) in step 102 (determining the hardware component according to the operation parameters and the attribute information of the target application process), the step 103 may be specifically implemented as:
21) if the target application process is determined to be capable of at least inquiring the target performance parameters of the electronic equipment according to the attribute information, outputting the performance parameters corresponding to the configuration parameters of the second target hardware obtained from the first hardware component according to the input parameters;
at least the target performance parameter of the electronic device can be queried, which may refer to a target performance parameter of a second target hardware of the electronic device that can be queried and/or adjusted.
If the target performance parameters of the second target hardware of the electronic equipment at least can be inquired according to the attribute information of the target application process, such as the application type of the target application process and the corresponding process function information under the affiliated application type, the first hardware component, such as a BIOS (basic input/output system), inquires the target performance parameters of the configuration parameters of the second target hardware which are actually used by the electronic equipment from the target data stored in the first hardware component, such as the over-frequency parameters of a certain generation of model GPU (graphics processing unit) which is actually used by the electronic equipment, inquires the light effect mode information, the supported light effect control area information, the light effect parameters and the like which are supported by a certain generation of model keyboard which is actually used by the electronic equipment, and feeds back the inquired information to a user interface in a preset mode.
The predetermined mode can also be, but is not limited to, a text message output mode, a graphic/image message output mode, or a mode combining text and graphics/images.
22) If the target application process is determined to be capable of controlling at least a third target hardware of the electronic equipment according to the attribute information, controlling the third target hardware to execute corresponding operation according to the input parameters and target control logic for controlling the third target hardware in the second hardware component;
specifically, in a case where the attribute information of the target application process belongs to a control function process (for example, a light effect control process in a keyboard control application type) in the corresponding application type, it may be correspondingly determined that the target application process is capable of controlling at least a third target hardware (for example, a keyboard) of the electronic device according to the attribute information, and in this case, the input parameter, that is, the operation parameter acting on the target application process may be specifically used as the control parameter, and the third target hardware may execute a corresponding operation by using a corresponding target control logic control for controlling the third target hardware in the second hardware component, for example, controlling the keyboard to execute operations of light flashing, color adjustment, and the like.
23) And if the target application process is determined to be capable of adjusting at least the control parameter of the fourth target hardware of the electronic equipment according to the attribute information, updating the performance parameter corresponding to the configuration parameter of the fourth target hardware obtained from the first hardware component according to the input parameter to the corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute the corresponding operation according to the updated target control logic.
If it is determined that the target application process can at least adjust the control parameters of the fourth target hardware of the electronic device according to the attribute information, obtaining performance parameters corresponding to the configuration parameters of the fourth target hardware from the first hardware component, such as light effect modes, basic animations, and the like supported by a certain generation and a certain model of keyboard in a corresponding control area, and updating the obtained performance parameters to a second hardware component, such as a corresponding target control logic in the EC, so that the fourth target hardware is subsequently controlled to execute corresponding operations according to the updated target control logic. For example, the keyboard is controlled according to the updated keyboard light effect control logic (essentially, the brightness adjustment, the color adjustment, the light effect mode adjustment, etc. of the keyboard light are performed by the keyboard controller.
Corresponding to the implementation manner of the 3 rd step 102 (determining the hardware component according to the environment parameter provided by the target interface process), the step 103 can be specifically implemented as follows:
and adjusting the corresponding control parameters of the target control logic according to the environmental parameters provided by the target interface process so as to control the target object to execute corresponding operation according to the adjusted control parameters.
In this embodiment, the corresponding control parameter of the target control logic may be adaptively adjusted according to the environment parameter, for example, backlight brightness in the device brightness control logic is adaptively adjusted according to the environment brightness, device volume in the device volume control logic is adaptively adjusted according to the environment noise, and the like, and then the target object is controlled according to the adjusted control parameter to perform corresponding operations, such as controlling the device to perform increase or decrease of the backlight brightness and the volume.
In summary, in the control method disclosed in this embodiment, at least the target data is stored in the first hardware component, and at least the target control logic is stored in the second target hardware component, so as to support the control of the target hardware by the first hardware component and/or the second hardware component of the system bottom layer. On the basis, when the target hardware needs to be controlled, only the input parameters need to be obtained at the upper layer (e.g., upper layer software) of the system to trigger the required control, and then the corresponding hardware component is further determined from the bottom layer of the system according to at least the input parameters, and the corresponding response processing is executed through the determined hardware component (e.g., the first hardware component and/or the second hardware component) to realize the control of the target hardware.
Therefore, in the application, data and control logic corresponding to different control capabilities of different types of hardware can be implemented in system bottom hardware (a first hardware component and a second hardware component), so that a universal hardware control scheme is provided based on the system bottom hardware, system upper software can be used as a trigger to trigger the bottom hardware to execute response processing and correspondingly realize required control by acquiring input parameters, unified hardware control management based on the system bottom hardware is realized, the development period, workload and difficulty of the upper software are greatly reduced, and different system driving software does not need to be designed and developed respectively aiming at electronic devices of different types.
In an optional embodiment of the present application, the processing method may further include any one of the following processes:
1) obtaining a first difference parameter between the input parameter and a corresponding control parameter in the target control logic, and if the first difference parameter meets a first adjustment condition, updating the corresponding control parameter in the target control logic according to the input parameter;
specifically, in the case that the input parameter may cause a change of a corresponding control parameter in the target control logic, in this embodiment, a first difference parameter between the input parameter and the corresponding control parameter in the target control logic is further determined, and it is determined whether the first difference parameter meets a first adjustment condition, if the first adjustment condition is met, the corresponding control parameter in the target control logic is updated according to the input parameter, otherwise, if the first adjustment condition is not met, the corresponding control parameter in the target control logic is not updated, that is, in this case, the original control parameter in the target control logic is still used to perform corresponding control on the target hardware.
Optionally, the first difference parameter satisfies the first adjustment condition, which may mean that a value corresponding to the first difference parameter reaches a set first threshold.
For example, for the keyboard light brightness value input on the user interface, a difference between the input brightness value and the brightness parameter value in the keyboard light effect control logic in the second hardware component is specifically determined, if the difference reaches a set first threshold, the brightness parameter value in the keyboard light effect control logic is adjusted to the input brightness value, so as to perform keyboard light effect control according to the adjusted brightness value, otherwise, the adjustment is not performed.
2) And if the second difference parameter meets a second adjusting condition, updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter.
Similarly, a performance parameter corresponding to the configuration parameter of the target hardware may also be obtained, and it is determined whether the performance parameter and a second difference parameter of the corresponding control parameter in the target control logic satisfy a second adjustment condition, if the second difference parameter satisfies the second adjustment condition, the corresponding control parameter in the target control logic is updated according to the performance parameter corresponding to the configuration parameter, otherwise, the corresponding control parameter is not updated.
Optionally, the second difference parameter satisfies the first adjustment condition, and accordingly, the value corresponding to the second difference parameter may reach a set second threshold, and the second threshold may be the same as or different from the first threshold.
Specifically, for example, the number of keyboard lights in a controllable area of a certain generation or model of keyboard currently used by the electronic device is obtained from the BIOS, and if the difference between the number of keyboard lights and the number of keyboard lights in the area in the keyboard light effect control logic in the EC reaches the second threshold, the number of corresponding keyboard lights in the light effect control logic is updated according to the number of keyboard lights in the performance parameter, otherwise, the number of keyboard lights is not updated.
In this embodiment, the corresponding control parameter in the target control logic is updated according to the performance parameter in the input parameter or the target data only when the adjustment condition is satisfied, so that frequent updating of the corresponding control parameter in the target control logic can be avoided, and the filtering of the corresponding control parameter update event does not result in an obvious difference in control effect because the control parameter update event filtered based on the adjustment condition is only a small-amplitude update of the control parameter.
In an optional embodiment of the present application, the processing method may further include the following processing:
and storing the updated target control logic into the second hardware component so as to control the target hardware to execute corresponding operation according to the updated target control logic through the second hardware component when the electronic equipment is in a preset running state.
The predetermined running state may be, but is not limited to, a restart state of the electronic device, or a shutdown state, a restart state, and the like of the target application process.
In this embodiment, after the target control logic (for example, the control parameter or the control flow in the target control logic) is updated according to the input parameter or the performance parameter corresponding to the configuration parameter of the target hardware, the updated target control logic is stored in the second hardware component, for example, the EC, and subsequently, when the electronic device is in the above states of restarting the device, shutting down/restarting the target application process, and the like, the target hardware is controlled by the second hardware component to execute the corresponding operation according to the updated target control logic, for example, the control keyboard performs light effect control according to the updated light effect control logic.
In an optional embodiment of the present application, the processing method may further include the following processing:
outputting the content matched with the corresponding operation executed by the third target hardware on a display interface of the target application process; or outputting the content matched with the corresponding operation executed by the fourth target hardware on the display interface of the target application process.
Specifically, when the second hardware component controls the target hardware to execute corresponding operations based on the target control logic, such as the EC controls the keyboard to execute the operations of adjusting the brightness of the keyboard light and adjusting the light effect mode based on the keyboard light effect control logic, the content matched with the operations of the target hardware may be synchronously output on the display interface of the target application process in the upper layer software, and optionally, a motion picture matched with the operations of the target hardware may be specifically displayed and output or an operation simulation process may be realized by displaying and outputting the motion picture or the display output based on interface rendering, so as to realize the display and output for synchronizing the operations of the target hardware on the display interface of the target application process.
Still taking the keyboard light effect control as an example, referring to fig. 3, in the operation process of controlling the keyboard to perform keyboard light brightness control, color control, light effect animation control and the like based on the light effect control logic, a virtual keyboard is synchronously displayed on the display interface of the target application process, and the corresponding keyboard light effect is synchronously rendered on the virtual keyboard.
In the prior art, when the light effect control of the physical keyboard is performed based on a software mode, a picture with the same layout as that of the keyboard is specifically rendered on a software UI, the color of the picture is changed through a light effect algorithm, and points are taken at a certain frequency to set information such as the current color and brightness of each LED lamp in the physical keyboard, so as to realize the keyboard light effect control. In the application, when the light effect control of the entity keyboard is realized, the control parameter setting and the algorithm processing based on software are not relied on, the parameters are only transmitted to the EC from the UI, and the keyboard control is realized by the EC, so that the time delay problem can be solved, the CPU/GPU resources can not be occupied with other processes, the synchronization between the light effect of the entity keyboard and the simulation light effect of a software interface is ensured, the stability of the light effect of the UI and the entity keyboard is ensured, and the generation of blocking and light effect errors is avoided.
Corresponding to the control method described above, an embodiment of the present application further discloses a control device, and referring to a schematic structural diagram of the control device shown in fig. 4, the control device may include:
an obtaining module 401, configured to obtain an input parameter;
a determining module 402, configured to determine, according to at least the input parameter, a corresponding hardware component, where the hardware component includes at least a first hardware component storing at least target data and a second hardware component storing at least target control logic;
the response is in module 403, configured to execute corresponding response processing by the first hardware component and/or the second hardware component.
In an optional implementation manner of the embodiment of the present application, the obtaining module 401 is specifically configured to:
obtaining operating parameters acting on a target application process;
or, obtaining the environment parameters provided to the target interface process.
In an optional implementation manner of the embodiment of the present application, the determining module 402 is specifically configured to:
processing the input parameters to obtain a processing result, and determining a hardware component executing response processing to be a first hardware component and/or a second hardware component according to the processing result; or the like, or, alternatively,
if the input parameter is an operation parameter acting on the target application process, acquiring attribute information of the target application process, and determining a hardware component executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameter; or the like, or, alternatively,
and if the input parameter is the environment parameter provided by the target interface process, determining the hardware component for executing the response processing as a second hardware component.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and specifically configured to:
if the processing result represents that the input parameter is used for obtaining the target performance parameter of the electronic equipment, feedback outputting the performance parameter corresponding to the configuration parameter of the first target hardware obtained from the first hardware component according to a preset mode; or the like, or, alternatively,
if the processing result represents that the input parameter causes the control parameter of the target control logic to change, controlling a control object of the target control logic to execute corresponding operation through the second hardware component; or the like, or, alternatively,
and if the processing result represents that the first target data of the first target hardware is read from the first hardware component to adjust the target control logic of the second hardware component, controlling the first target hardware to execute corresponding operation according to the adjusted target control logic.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and specifically configured to:
if the target application process is determined to be capable of inquiring at least the target performance parameters of the electronic equipment according to the attribute information, outputting the performance parameters corresponding to the configuration parameters of the second target hardware obtained from the first hardware component according to the input parameters; or the like, or, alternatively,
if the target application process is determined to be capable of controlling at least a third target hardware of the electronic equipment according to the attribute information, controlling the third target hardware to execute corresponding operation according to the input parameters and a target control logic which controls the third target hardware in the second hardware component; or the like, or, alternatively,
and if the target application process is determined to be capable of adjusting at least the control parameter of fourth target hardware of the electronic equipment according to the attribute information, updating the performance parameter corresponding to the configuration parameter of the fourth target hardware obtained from the first hardware component according to the input parameter to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operation according to the updated target control logic.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and the response is further configured to:
obtaining a first difference parameter between the input parameter and a corresponding control parameter in the target control logic, and if the first difference parameter meets a first adjustment condition, updating the corresponding control parameter in the target control logic according to the input parameter; or the like, or, alternatively,
and obtaining a performance parameter corresponding to the configuration parameter and a second difference parameter corresponding to the control parameter in the target control logic, and if the second difference parameter meets a second adjustment condition, updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and the response is further configured to:
and storing the updated target control logic into the second hardware component, so that the target hardware is controlled by the second hardware component to execute corresponding operation according to the updated target control logic when the electronic equipment is in a preset running state.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and the response is further configured to:
outputting content matched with the third target hardware for executing corresponding operation on a display interface of the target application process; or the like, or, alternatively,
and outputting the content matched with the fourth target hardware for executing the corresponding operation on the display interface of the target application process.
In an optional implementation manner of the embodiment of the present application, the response is in module 403, and the response is further configured to:
and adjusting the corresponding control parameters of the target control logic according to the environmental parameters provided by the target interface process so as to control the target object to execute corresponding operation according to the adjusted control parameters.
The control device disclosed in the embodiments of the present application is relatively simple in description because it corresponds to the control method disclosed in the above embodiments of the method, and for the relevant similarities, please refer to the description of the above corresponding embodiments of the method, and detailed description is omitted here.
In an optional implementation manner of the embodiment of the present application, there is also disclosed an electronic device, including:
hardware components including at least a first hardware component storing at least target data and a second hardware component storing at least target control logic;
a memory for storing a set of computer instructions;
and the processor is used for realizing the control method provided by any method embodiment by executing the instruction set stored in the memory.
In addition, the application also discloses a storage medium, wherein a computer instruction set is stored in the storage medium, and when being executed by a processor, the computer instruction set realizes the control method provided by any method embodiment.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended 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.

Claims (10)

1. A control method, comprising:
obtaining an input parameter;
determining corresponding hardware components at least according to the input parameters, wherein the hardware components at least comprise a first hardware component at least storing target data and a second hardware component at least storing target control logic;
performing, by the first hardware component and/or the second hardware component, a corresponding response process.
2. The method of claim 1, the obtaining input parameters, comprising:
obtaining operating parameters acting on a target application process;
or, obtaining the environment parameters provided to the target interface process.
3. The method of claim 1 or 2, wherein determining the corresponding hardware component based at least on the input parameters comprises:
processing the input parameters to obtain a processing result, and determining a hardware component executing response processing to be a first hardware component and/or a second hardware component according to the processing result; or the like, or, alternatively,
if the input parameter is an operation parameter acting on the target application process, acquiring attribute information of the target application process, and determining a hardware component executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameter; or the like, or, alternatively,
and if the input parameter is the environment parameter provided by the target interface process, determining the hardware component for executing the response processing as a second hardware component.
4. The method of claim 3, wherein performing, by the first hardware component and/or the second hardware component, corresponding response processing comprises:
if the processing result represents that the input parameter is used for obtaining the target performance parameter of the electronic equipment, feedback outputting the performance parameter corresponding to the configuration parameter of the first target hardware obtained from the first hardware component according to a preset mode; or the like, or, alternatively,
if the processing result represents that the input parameter causes the control parameter of the target control logic to change, controlling a control object of the target control logic to execute corresponding operation through the second hardware component; or the like, or, alternatively,
and if the processing result represents that the first target data of the first target hardware is read from the first hardware component to adjust the target control logic of the second hardware component, controlling the first target hardware to execute corresponding operation according to the adjusted target control logic.
5. The method of claim 3, wherein performing, by the first hardware component and/or the second hardware component, corresponding response processing comprises:
if the target application process is determined to be capable of inquiring at least the target performance parameters of the electronic equipment according to the attribute information, outputting the performance parameters corresponding to the configuration parameters of the second target hardware obtained from the first hardware component according to the input parameters; or the like, or, alternatively,
if the target application process is determined to be capable of controlling at least a third target hardware of the electronic equipment according to the attribute information, controlling the third target hardware to execute corresponding operation according to the input parameters and a target control logic which controls the third target hardware in the second hardware component; or the like, or, alternatively,
and if the target application process is determined to be capable of adjusting at least the control parameter of fourth target hardware of the electronic equipment according to the attribute information, updating the performance parameter corresponding to the configuration parameter of the fourth target hardware obtained from the first hardware component according to the input parameter to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operation according to the updated target control logic.
6. The method of claim 5, further comprising:
obtaining a first difference parameter between the input parameter and a corresponding control parameter in the target control logic, and if the first difference parameter meets a first adjustment condition, updating the corresponding control parameter in the target control logic according to the input parameter; or the like, or, alternatively,
and obtaining a performance parameter corresponding to the configuration parameter and a second difference parameter corresponding to the control parameter in the target control logic, and if the second difference parameter meets a second adjustment condition, updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter.
7. The method of claim 6, further comprising:
and storing the updated target control logic into the second hardware component, so that the target hardware is controlled by the second hardware component to execute corresponding operation according to the updated target control logic when the electronic equipment is in a preset running state.
8. The method of claim 5, further comprising:
outputting content matched with the third target hardware for executing corresponding operation on a display interface of the target application process; or the like, or, alternatively,
and outputting the content matched with the fourth target hardware for executing the corresponding operation on the display interface of the target application process.
9. The method of claim 3, wherein performing, by the second hardware component, a corresponding response process comprises:
and adjusting the corresponding control parameters of the target control logic according to the environmental parameters provided by the target interface process so as to control the target object to execute corresponding operation according to the adjusted control parameters.
10. A control device, comprising:
the acquisition module is used for acquiring input parameters;
the determining module is used for determining corresponding hardware components at least according to the input parameters, and the hardware components at least comprise a first hardware component at least storing target data and a second hardware component at least storing target control logic;
a response placement module for performing corresponding response processing by the first hardware component and/or the second hardware component.
CN202110232299.3A 2021-03-01 2021-03-01 Control method and device and electronic equipment Active CN112925572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110232299.3A CN112925572B (en) 2021-03-01 2021-03-01 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110232299.3A CN112925572B (en) 2021-03-01 2021-03-01 Control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112925572A true CN112925572A (en) 2021-06-08
CN112925572B CN112925572B (en) 2023-05-23

Family

ID=76173081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110232299.3A Active CN112925572B (en) 2021-03-01 2021-03-01 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112925572B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721514A (en) * 2021-08-30 2021-11-30 联想(北京)有限公司 Control method and device
CN114340097A (en) * 2021-12-30 2022-04-12 合肥市芯海电子科技有限公司 Method and device for controlling lamp strip, chip and electronic equipment

Citations (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110112401A1 (en) * 2007-08-30 2011-05-12 Panasonic Corporation Ultrasonic diagnosis device and ultrasonic diagnosis system
CN102063068A (en) * 2010-10-29 2011-05-18 深圳市奥宇控制系统有限公司 Programming method, system and computer of DDC (Direct Digital Control) logic
CN102707861A (en) * 2011-03-28 2012-10-03 联想(北京)有限公司 Electronic equipment and display method thereof
CN102902544A (en) * 2012-09-29 2013-01-30 福建升腾资讯有限公司 Implementation method of phone payment terminal software platform
CN103777529A (en) * 2012-10-24 2014-05-07 北京强度环境研究所 Fast varying signal collector
US20140366577A1 (en) * 2013-06-18 2014-12-18 Pioneer Energy Inc. Systems and methods for separating alkane gases with applications to raw natural gas processing and flare gas capture
CN105068854A (en) * 2015-08-07 2015-11-18 杭州古北电子科技有限公司 Method for controlling different products by using same rule
CN105278986A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Control method and apparatus of electronic device
CN106125665A (en) * 2016-08-23 2016-11-16 广东东方精工科技股份有限公司 A kind of method realizing Combining soft control by user program
CN106224278A (en) * 2016-08-31 2016-12-14 沈阳鼓风机集团自动控制系统工程有限公司 A kind of compressor control system automatic generation method and device
CN106919853A (en) * 2017-03-01 2017-07-04 中天安泰(北京)信息技术有限公司 A kind of computing device configuration device and collocation method
CN107817820A (en) * 2017-10-16 2018-03-20 复旦大学 A kind of unmanned plane autonomous flight control method and system based on deep learning
CN107861458A (en) * 2017-11-09 2018-03-30 山东省计算中心(国家超级计算济南中心) It is a kind of can autonomous configuration hardware resource PLC fast construction methods
CN108415237A (en) * 2018-01-24 2018-08-17 中山大学 A kind of embedded highly reliable auto-pilot controller based on software and hardware redundancy Rating Model
CN109062714A (en) * 2018-07-27 2018-12-21 阿里巴巴集团控股有限公司 The method, apparatus and electronic equipment of long-range control Android device
CN109271208A (en) * 2018-09-26 2019-01-25 Oppo广东移动通信有限公司 Parameter setting method, device, terminal and storage medium
CN109343954A (en) * 2018-08-31 2019-02-15 联想(北京)有限公司 Electronic device works method and system
CN109491959A (en) * 2018-10-27 2019-03-19 北京控制与电子技术研究所 A kind of programmable logic device configurator
EP3461511A1 (en) * 2017-09-29 2019-04-03 Fenwal, Inc. Systems and methods for processing large volumes of biological fluid
CN109765875A (en) * 2018-11-30 2019-05-17 联合汽车电子有限公司 Whole vehicle functions module automatic calibration system and method
CN109783144A (en) * 2017-11-13 2019-05-21 深圳市创客工场科技有限公司 Processing method, device and the storage medium of variable in virtual environment interaction realization
CN109885293A (en) * 2019-02-27 2019-06-14 重庆电子工程职业学院 The method, apparatus and server that Internet of Things application and development automatically creates
CN110007945A (en) * 2019-04-15 2019-07-12 苏州浪潮智能科技有限公司 BIOS/firmware file method for refreshing, device, equipment and readable storage medium storing program for executing
CN110032088A (en) * 2019-05-08 2019-07-19 渤海大学 The three-phase alternating-current motor Virtual simulation lab system and experimental method of hardware in loop
CN110134237A (en) * 2019-05-13 2019-08-16 Oppo广东移动通信有限公司 Interface control method and relevant device
CN110309731A (en) * 2019-06-12 2019-10-08 中国人民解放军海军工程大学 The autonomous target detection tracking method of loosely coupled architecture unmanned vehicles photoelectricity and system
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control performance verification method for large-scale hierarchical control system
CN110730228A (en) * 2019-10-10 2020-01-24 深圳市网心科技有限公司 Data storage method, electronic device, system and medium
CN110995994A (en) * 2019-12-09 2020-04-10 上海瑾盛通信科技有限公司 Image shooting method and related device
CN111124397A (en) * 2019-12-10 2020-05-08 北京慧虹远航科技有限公司 Control logic multiplexing method and device, computer equipment and storage medium
CN111142968A (en) * 2019-12-26 2020-05-12 联想(北京)有限公司 Electronic equipment configuration recommendation processing method and device and storage medium
CN111580923A (en) * 2020-05-18 2020-08-25 联想(北京)有限公司 Control method and device and electronic equipment
CN111625379A (en) * 2020-06-02 2020-09-04 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable storage medium
CN112162900A (en) * 2020-09-18 2021-01-01 北京浪潮数据技术有限公司 Hardware information acquisition method and device, electronic equipment and storage medium
CN112328328A (en) * 2020-11-24 2021-02-05 北京百度网讯科技有限公司 Method, device, equipment and storage medium for overloading equipment drive

Patent Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110112401A1 (en) * 2007-08-30 2011-05-12 Panasonic Corporation Ultrasonic diagnosis device and ultrasonic diagnosis system
CN102063068A (en) * 2010-10-29 2011-05-18 深圳市奥宇控制系统有限公司 Programming method, system and computer of DDC (Direct Digital Control) logic
CN102707861A (en) * 2011-03-28 2012-10-03 联想(北京)有限公司 Electronic equipment and display method thereof
CN102902544A (en) * 2012-09-29 2013-01-30 福建升腾资讯有限公司 Implementation method of phone payment terminal software platform
CN103777529A (en) * 2012-10-24 2014-05-07 北京强度环境研究所 Fast varying signal collector
US20170292077A1 (en) * 2013-06-18 2017-10-12 Pioneer Energy Inc. Systems and methods for controlling, monitoring, and operating remote oil and gas field equipment over a data network with applications to raw natural gas processing and flare gas capture
US20140366577A1 (en) * 2013-06-18 2014-12-18 Pioneer Energy Inc. Systems and methods for separating alkane gases with applications to raw natural gas processing and flare gas capture
US20150233634A1 (en) * 2013-06-18 2015-08-20 Pioneer Energy Inc. Systems and methods for producing cng and ngls from raw natural gas, flare gas, stranded gas, and/or associated gas
CN105068854A (en) * 2015-08-07 2015-11-18 杭州古北电子科技有限公司 Method for controlling different products by using same rule
CN105278986A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Control method and apparatus of electronic device
CN106125665A (en) * 2016-08-23 2016-11-16 广东东方精工科技股份有限公司 A kind of method realizing Combining soft control by user program
CN106224278A (en) * 2016-08-31 2016-12-14 沈阳鼓风机集团自动控制系统工程有限公司 A kind of compressor control system automatic generation method and device
CN106919853A (en) * 2017-03-01 2017-07-04 中天安泰(北京)信息技术有限公司 A kind of computing device configuration device and collocation method
EP3461511A1 (en) * 2017-09-29 2019-04-03 Fenwal, Inc. Systems and methods for processing large volumes of biological fluid
CN107817820A (en) * 2017-10-16 2018-03-20 复旦大学 A kind of unmanned plane autonomous flight control method and system based on deep learning
CN107861458A (en) * 2017-11-09 2018-03-30 山东省计算中心(国家超级计算济南中心) It is a kind of can autonomous configuration hardware resource PLC fast construction methods
CN109783144A (en) * 2017-11-13 2019-05-21 深圳市创客工场科技有限公司 Processing method, device and the storage medium of variable in virtual environment interaction realization
CN108415237A (en) * 2018-01-24 2018-08-17 中山大学 A kind of embedded highly reliable auto-pilot controller based on software and hardware redundancy Rating Model
CN109062714A (en) * 2018-07-27 2018-12-21 阿里巴巴集团控股有限公司 The method, apparatus and electronic equipment of long-range control Android device
CN109343954A (en) * 2018-08-31 2019-02-15 联想(北京)有限公司 Electronic device works method and system
CN109271208A (en) * 2018-09-26 2019-01-25 Oppo广东移动通信有限公司 Parameter setting method, device, terminal and storage medium
CN109491959A (en) * 2018-10-27 2019-03-19 北京控制与电子技术研究所 A kind of programmable logic device configurator
CN109765875A (en) * 2018-11-30 2019-05-17 联合汽车电子有限公司 Whole vehicle functions module automatic calibration system and method
CN109885293A (en) * 2019-02-27 2019-06-14 重庆电子工程职业学院 The method, apparatus and server that Internet of Things application and development automatically creates
CN110007945A (en) * 2019-04-15 2019-07-12 苏州浪潮智能科技有限公司 BIOS/firmware file method for refreshing, device, equipment and readable storage medium storing program for executing
CN110032088A (en) * 2019-05-08 2019-07-19 渤海大学 The three-phase alternating-current motor Virtual simulation lab system and experimental method of hardware in loop
CN110134237A (en) * 2019-05-13 2019-08-16 Oppo广东移动通信有限公司 Interface control method and relevant device
CN110309731A (en) * 2019-06-12 2019-10-08 中国人民解放军海军工程大学 The autonomous target detection tracking method of loosely coupled architecture unmanned vehicles photoelectricity and system
CN110632857A (en) * 2019-09-25 2019-12-31 中国工程物理研究院计算机应用研究所 Control performance verification method for large-scale hierarchical control system
CN110730228A (en) * 2019-10-10 2020-01-24 深圳市网心科技有限公司 Data storage method, electronic device, system and medium
CN110995994A (en) * 2019-12-09 2020-04-10 上海瑾盛通信科技有限公司 Image shooting method and related device
CN111124397A (en) * 2019-12-10 2020-05-08 北京慧虹远航科技有限公司 Control logic multiplexing method and device, computer equipment and storage medium
CN111142968A (en) * 2019-12-26 2020-05-12 联想(北京)有限公司 Electronic equipment configuration recommendation processing method and device and storage medium
CN111580923A (en) * 2020-05-18 2020-08-25 联想(北京)有限公司 Control method and device and electronic equipment
CN111625379A (en) * 2020-06-02 2020-09-04 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable storage medium
CN112162900A (en) * 2020-09-18 2021-01-01 北京浪潮数据技术有限公司 Hardware information acquisition method and device, electronic equipment and storage medium
CN112328328A (en) * 2020-11-24 2021-02-05 北京百度网讯科技有限公司 Method, device, equipment and storage medium for overloading equipment drive

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721514A (en) * 2021-08-30 2021-11-30 联想(北京)有限公司 Control method and device
CN114340097A (en) * 2021-12-30 2022-04-12 合肥市芯海电子科技有限公司 Method and device for controlling lamp strip, chip and electronic equipment

Also Published As

Publication number Publication date
CN112925572B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10310630B2 (en) System and method for context aware usability management of human machine interfaces
JP6158345B2 (en) Adjusting the display area
WO2013182089A1 (en) Object suspension realizing method and device
CN112925572B (en) Control method and device and electronic equipment
US20210149558A1 (en) Method and apparatus for controlling terminal device, and non-transitory computer-readle storage medium
US11455075B2 (en) Display method when application is exited and terminal
EP3396519A1 (en) Terminal and display control method
WO2022194003A1 (en) Screen capture method and apparatus, electronic device, and readable storage medium
WO2019019835A1 (en) Method and device for responding to blank screen gesture, and storage medium and mobile terminal
US9939982B2 (en) Control of application based on user operation on information processing apparatus
KR20210101704A (en) electronic device and method for operating high speed screen of the electronic device
WO2023046101A1 (en) Icon display method and apparatus, and electronic device
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN113596529A (en) Terminal control method and device, computer equipment and storage medium
EP2736040A2 (en) Display method of OSD system
WO2021008287A1 (en) Character recommending method and apparatus, and computer device and storage medium
CN116594616A (en) Component configuration method and device and computer readable storage medium
TW202016723A (en) Method for adaptively adjusting amount of information in user interface design and electronic device
WO2019061278A1 (en) Intelligent terminal and theme generation method thereof
JP2009134014A (en) Electronic equipment
US11868225B2 (en) Provided inputs and provided output actions for use in platform management policies for platform management drivers
CN104866087A (en) Electronic device and control method thereof
WO2022152159A1 (en) Adaptive ui constraint solving method and related device
US20230195666A1 (en) Providing Platform Management Profiles to Platform Management Drivers on Electronic Devices
WO2021077264A1 (en) Method and apparatus for updating refresh rate of touch screen, mobile terminal and storage medium

Legal Events

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