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

Control method and device and electronic equipment Download PDF

Info

Publication number
CN112925572B
CN112925572B CN202110232299.3A CN202110232299A CN112925572B CN 112925572 B CN112925572 B CN 112925572B CN 202110232299 A CN202110232299 A CN 202110232299A CN 112925572 B CN112925572 B CN 112925572B
Authority
CN
China
Prior art keywords
target
hardware
hardware component
parameters
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.)
Active
Application number
CN202110232299.3A
Other languages
Chinese (zh)
Other versions
CN112925572A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

According to the control method and device disclosed by the application, at least target data is stored in the first hardware component, and at least target control logic is stored in the second target hardware, so that the control of the target hardware through the first hardware component and/or the second hardware component at the bottom of the system is supported. On the basis, when the target hardware is required to be controlled, only input parameters are needed to be obtained at the upper layer (such as upper layer software) of the system to trigger the required control, then, corresponding hardware components are further determined at least according to the input parameters from the bottom layer of the system, and corresponding response processing is executed through the determined hardware components (such as the first hardware components and/or the second hardware components) 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, an apparatus, and an electronic device.
Background
Electronic devices such as notebooks, desktops, etc. are provided with a range of control functions for the hardware.
At present, electronic equipment generally realizes control of hardware based on system driving, which needs to provide corresponding different control capacities for different types of hardware of the equipment in driving software respectively, so that the development workload of the driving software is large and the period is prolonged; in addition, different control functions are often provided for different generations of the same hardware or different types of hardware products in the same generation, so that for different types of electronic devices (different generations or different types of hardware may be often used), different system driving software needs to be respectively designed and developed for the different types of electronic devices to adapt to different hardware control requirements.
Disclosure of Invention
In view of this, the present application provides a control method, a control device, and an electronic device, where the specific scheme is as follows:
a control method, comprising:
obtaining input parameters;
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;
And executing corresponding response processing through the first hardware component and/or the second hardware component.
Optionally, the obtaining the input parameter includes:
obtaining operation parameters acting on a target application process;
or, obtain the environmental 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 the hardware component for executing response processing as a first hardware component and/or a second hardware component according to the processing result; or alternatively, the first and second heat exchangers may be,
if the input parameters are operation parameters acting on the target application process, obtaining attribute information of the target application process, and determining a hardware component for executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameters; or alternatively, the first and second heat exchangers may be,
and if the input parameters are environment parameters provided by the target interface process, determining the hardware component for executing response processing as a second hardware component.
Optionally, executing, by the first hardware component and/or the second hardware component, a corresponding response process includes:
if the processing result represents the input parameters, the processing result is used for obtaining target performance parameters of the electronic equipment, and the performance parameters corresponding to the configuration parameters of the first target hardware obtained from the first hardware component are fed back and output according to a preset mode; or alternatively, the first and second heat exchangers may be,
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 alternatively, the first and second heat exchangers may be,
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, executing, by the first hardware component and/or the second hardware component, a corresponding response process includes:
if the target application process is determined to be at least capable of 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; or alternatively, the first and second heat exchangers may be,
if the target application process is determined to be at least capable of controlling 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 in the second hardware component for controlling the third target hardware; or alternatively, the first and second heat exchangers may be,
And if the control parameters of the fourth target hardware of the electronic equipment can be at least adjusted by the target application process according to the attribute information, updating the performance parameters corresponding to the configuration parameters of the fourth target hardware obtained from the first hardware component according to the input parameters to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operations according to the updated target control logic.
Optionally, the method further comprises:
obtaining a first difference parameter of 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 alternatively, the first and second heat exchangers may be,
and obtaining a second difference parameter of the performance parameter corresponding to the configuration parameter and the corresponding control parameter in the target control logic, and updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter if the second difference parameter meets a second adjustment condition.
Optionally, the method further comprises:
and storing the updated target control logic into the second hardware component, so that when the electronic equipment is in a preset running state, the second hardware component controls the target hardware to execute corresponding operation according to the updated target control logic.
Optionally, the method further comprises:
outputting content matched with the corresponding operation executed by the third target hardware on a display interface of the target application process; or alternatively, the first and second heat exchangers may be,
and outputting the content matched with the corresponding operation executed by the fourth target hardware on the display interface of the target application process.
Optionally, the executing, by the second hardware component, a corresponding response process includes:
and adjusting 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 operations according to the adjusted control parameters.
A control apparatus 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;
and the response is in a module and is used for executing corresponding response processing through the first hardware component and/or the second hardware component.
The application also provides an electronic device comprising:
a hardware component comprising 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 having stored therein a set of computer instructions which, when executed by a processor, implement a 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 can be used for supporting the control of the target hardware through the first hardware component and/or the second hardware component at the bottom of the system by storing at least the target data in the first hardware component and storing at least the target control logic in the second target hardware. On the basis, when the target hardware needs to be controlled, only input parameters are needed to be obtained at the upper layer (such as upper layer software) of the system to trigger the required control, then corresponding hardware components are further determined from the bottom layer of the system at least according to the input parameters, and corresponding response processing is executed through the determined hardware components (such as the first hardware component and/or the second hardware component) to realize the control of the target hardware.
Therefore, in the application, the data and the control logic corresponding to different control capacities of different types of hardware can be realized in the bottom hardware (the first hardware component and the second hardware component) of the system, so that a general hardware control scheme is provided based on the bottom hardware of the system, the upper software of the system can be only used as a trigger to trigger the bottom hardware to execute response processing by acquiring input parameters, and the required control is correspondingly realized, unified hardware control management based on the bottom hardware of the system is realized, the development period, the workload and the difficulty of the upper software are greatly reduced, and different system driving software is not required to be designed and developed for electronic equipment of different models respectively.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a control method disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of the logic for implementing hardware control based on BIOS and EC as disclosed in the embodiments of the present application;
FIG. 3 is a schematic diagram of a process for performing light effect control on a keyboard and synchronously outputting simulated light effects of the keyboard in 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 following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
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 logic corresponding to different control capabilities of different generations, different series and/or different types of hardware of different types of electronic equipment in system bottom hardware (different from target hardware to be controlled), and releasing the different control capability requirements of system upper software on the different generations, different series and/or different types of hardware, so that the upper software can only be used as a trigger to trigger the bottom hardware to execute response processing and correspondingly realize required control, thereby correspondingly achieving the purpose of reducing the development period, the workload and the difficulty of the upper software.
Referring to fig. 1, a flow chart of a control method of the present application is shown, and the control method may be applied to, but not limited to, an electronic device with a software and hardware based data processing function/component control function, and the electronic device may be, for example, 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, an all-in-one machine, etc.
As shown in fig. 1, in this embodiment, the control method includes the following processing steps:
And 101, obtaining input parameters.
In the application, corresponding data and control logic required for controlling controllable hardware of different generations, different series and/or different models are stored in hardware components of the electronic equipment in advance. Wherein, this hardware component includes at least: at least a first hardware component storing target data and at least a second hardware component storing target control logic. The controllable hardware may be, but is not limited to, hardware such as a CPU (central processing unit ), GPU (Graphics Processing Unit, graphics processor), keyboard, etc., where the keyboard may be an on-board 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: the target configuration parameters of a certain generation, a certain series and/or a certain model of controllable hardware actually used by the current model of the electronic equipment, and performance parameters (performance parameter sets) matched with a plurality of different configuration parameters corresponding to each generation, each series and/or each model of controllable hardware. The configuration parameters of the hardware refer to algebra, serial and/or model information of the hardware, the performance parameters of the hardware include, but are not limited to, over-frequency parameters of a CPU/GPU, light efficiency control parameters of a keyboard, and the like, and the light efficiency control parameters of the keyboard may include, for example, information such as a light efficiency mode, a controllable area, the number of keyboard lights, color, brightness, a light efficiency animation switching direction, speed, time, and the like. Taking a controllable hardware as a CPU or a GPU as an example, the different generations, different series and/or different types of CPUs and the over-frequency parameters of the GPUs are often different, and accordingly, the algebra (which is the generation of the GPU/CPU), the series, the type and other target configuration parameters of the GPU/CPU which is actually used by the current electronic device (the electronic device where the BIOS is located) model, and the performance parameters such as the different over-frequency parameters corresponding to the GPU/CPU of each generation, each series and/or each type on the market can 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 and time) supported by different generations, different series and/or different models of keyboards are often different, so that the target configuration parameters such as algebra, series and model of the keyboard actually used by the current electronic equipment (the electronic equipment where the BIOS is located) can be correspondingly stored in the BIOS, and the performance information (set) such as different light effect modes, light effect control areas and light effect parameters corresponding to the keyboards of various generations, series and/or models on the market can be stored.
By storing the performance parameters corresponding to each generation, each series and/or each model of controllable hardware in the BIOS, the hardware performance parameters which are commonly used for different models 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 can be stored in the BIOS, 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 can include, but are not limited to, circular, elliptical, linear and square light effect animations so as to support the custom combination of different basic light effects on the user interface of the upper-layer software program, and the required custom animation or scene animation can be realized by combining the different basic light effects.
Therefore, for the electronic equipment of different models, only the target configuration parameters of the corresponding controllable hardware actually used by the first hardware component are required to be stored in a distinguishing mode, and the hardware performance parameters corresponding to the current model of the electronic equipment can be obtained by matching based on the general performance parameters stored by the first hardware component. In practical application, as shown in fig. 2, the supporting upper layer software reads the performance parameters of the hardware actually used in the current equipment model from the BIOS, so as to obtain the hardware capability of the current equipment model, such as the light effect mode supported by the keyboard of the current equipment model, the controllable area of the keyboard, the available basic light effect animation, and the like, and on the basis, the supporting user performs operations such as parameter input, configuration, and the like on the hardware based on the performance parameters displayed on the interface, such as combination of the basic animation, collocation of different light effect modes and different controllable areas, setting of color, brightness, and the like of the keyboard lamp, setting of the over-frequency parameter value of the GPU/CPU, and the like, so as to generate the required control parameters, and transmits the required control parameters to the EC through the interface, so that the hardware (keyboard, GPU/CPU) control is realized by means of the EC.
In addition, since the primary function of the BIOS is to provide the lowest, most direct hardware setup and control for the computer, control logic for controlling certain controllable hardware may be stored in the BIOS in addition to storing the target data described above in the first hardware component of the BIOS. Preferably, the control logic stored in the BIOS is control logic of corresponding hardware that needs to rely on the BIOS to control itself, for example, but not limited to, control logic that performs over-frequency control on the CPU and PGU, where the control logic is 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, relatively complex control logic such as the light effect control logic of the 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 animation or scene animation based on speed, direction, color, time and other light effect parameters, where the flow may demonstrate different light effects by adjusting speed, direction, color, time and other of the keyboard light animation, and may specifically be implemented by using computing power and logic processing power of EC.
In the implementation of the second hardware component, the storage of the target control logic is not limited to the implementation, and some target data on which the target control logic depends may be stored in the second hardware component in addition to the target control logic, for example, in the case of keyboard lighting effect control, in addition to the control logic of the keyboard lighting effect stored in the second hardware component, the second hardware component may store the target configuration parameters such as algebra, series, model and the like of the keyboard actually used by the current electronic device (the electronic device where the EC is located), and the performance information such as different lighting effect modes, lighting effect control areas, lighting effect parameters, and basic animation library corresponding to the keyboards of various generations, series and/or types on the market. It will be readily appreciated that in the case where the above-described 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 one embodiment, the input parameters are obtained in this step 101, which may be specifically implemented as: operating parameters acting on the target application process are obtained.
The obtained operating parameters are taken as the input parameters.
In this embodiment, a software program may be specifically used to provide a User Interface (UI) for controlling the target hardware of the electronic device for an operator of the electronic device, where the operator may perform corresponding operations on the User Interface provided by the software program according to actual needs to implement interaction with the underlying first hardware component and/or the second hardware component, so as to control the target hardware, such as a keyboard lamp, a CPU/GPU, and the like, through 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 for different kinds of controllable hardware, such as a keyboard, a CPU, and a GPU, or a software program commonly used for different kinds of controllable hardware may be developed and implemented, which is not limited in implementation form herein.
Wherein the operating parameters acting on the target application process, specifically the operating parameters acting on the corresponding target application process of the software program, the target application process may include, but is not limited to: a process for querying configuration parameters, performance parameters of a certain target hardware from target data of a first hardware component, a process for adjusting control parameters in target control logic of a certain target hardware in a second hardware component, or a process for adjusting (in process/control flow of) target control logic of a certain target hardware in a second hardware component, etc. Accordingly, the operating parameters acting on the target application process may be, but are not limited to, any of the following:
1) Query parameters for querying corresponding configuration parameters/performance parameters from the first hardware component;
For example, a hardware identifier (such as a hardware type, a hardware name, etc. of any hardware such as a keyboard lamp, a CPU, a GPU, etc.) of a certain target hardware is input or selected to the user interface, so as to query and output configuration parameters and/or performance parameters of the target hardware from the first hardware component as input parameters.
2) Adjustment parameter information for adjusting corresponding control parameters in the second hardware component;
for example, the performance parameters (such as the over-frequency parameters of the GPU, the brightness and the color of the keyboard lamp) 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 correspondingly used as the adjustment parameter information for adjusting the corresponding control parameters (the over-frequency parameters of the GPU, the brightness and the color of the keyboard lamp) in the second hardware component.
3) Adjustment parameter information for adjusting target control logic in the second hardware component;
for example, the different keyboard light effect mode identifiers called from the first hardware component and displayed on the user interface are combined and matched with the different keyboard light area identifiers, or the different basic animations are subjected to self-defined combination, and the generated combined matching information is used as adjustment parameter information, so that the matched keyboard light effect mode information, keyboard light area information or various basic animation information is read from the first hardware component based on the adjustment parameter information, and then the light effect control logic (light effect processing/control flow) of the keyboard light in the second hardware component is adjusted based on the read information, so that the adjusted light effect control logic is matched with the combined matching information.
Alternatively, in another embodiment, the input parameters obtained in the step 101 may be specifically implemented as: environmental parameters provided to the target interface process are obtained.
In this embodiment, the electronic device may provide an environmental parameter detection function by setting various sensing elements such as an illuminometer, a sound sensor, a temperature sensor, a camera, or the like, or creating and starting a detection process for an application executed by the electronic device, and obtain environmental parameters 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, environmental brightness, environmental noise, temperature, surrounding image of the electronic device (such as whether an image of an operator in front of the electronic device is detected), information of an application (such as a specific running game application or an audio-video application) running 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.
Step 102, determining corresponding hardware components at least according to the input parameters.
Wherein, can be according to the input parameter at least, confirm from above-mentioned first hardware part and second hardware part, the hardware part used for carrying out response processing to the above-mentioned input parameter.
Specifically, this step 102 may be implemented as any one of the following:
1) Processing the input parameters to obtain a processing result, and determining the hardware component for executing response processing as a first hardware component and/or a second hardware component according to the processing result;
the method specifically can process the operation parameters acting on the target application process or the environment parameters provided to the target interface process, and determine the hardware component for executing the response processing as the first hardware component and/or the second hardware component according to the processing result.
For example, the operation parameters acting on the target application process are analyzed (such as semantic analysis of voice input information or interface button operation information, etc.), so that it is known whether the operation purpose belongs to a query type, a control parameter adjustment type or a target control logic adjustment type, and a processing instruction is determined based on the operation purpose, so as to determine a hardware component for performing response processing on the processing instruction, where if the operation purpose is to query the performance parameter of target hardware (such as GPU), the processing instruction may be determined to be a query instruction, and accordingly, the hardware component for performing response processing on the query instruction is determined to be a hardware component storing the performance parameter of the target hardware, such as 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 an adjustment instruction (adjust the control parameter or the target control logic), and accordingly, the hardware component for performing response processing on the adjustment instruction is determined to be a hardware component storing the target control logic (including the control parameter) of the target hardware, such as the second hardware component EC.
For another example, the environmental sensing signal provided by the sensor or the detection result provided by the application detection process is analyzed to obtain an environmental parameter, and then the hardware component for 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 environmental parameter, so that the second hardware component can perform adaptive adjustment matched with the equipment environment on the control parameter or the control flow in the target control logic. For example, in the case where the game application is detected and parsed to be executed by the device and the user is in front of the device, the second hardware component is determined to be a hardware component for executing the response processing, so that the keyboard light effect is adaptively adjusted (for example, the digital area or the directional control area of the keyboard is adjusted to a certain light effect mode to highlight the area for facilitating the user operation) when the second hardware component is adapted to the game application of the device, or in the case where the detection and parsing is known that the environment brightness is low or the environment noise is loud, the hardware component such as the EC storing the device brightness and volume control logic can be determined to be a hardware component for executing the response processing, so that the device backlight and volume are adaptively adjusted based on the environment brightness or noise at the EC.
2) If the input parameters are operation parameters acting on the target application process, obtaining attribute information of the target application process, and determining the hardware component for executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the operation parameters;
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, such as that the target application process belongs to a GPU control application type, and a GPU over-frequency parameter setting process under the GPU control application type, or that the target application process belongs to a keyboard light effect control application type, and a query process for keyboard light effect data (light effect mode data, keyboard region data, light effect parameter data, etc.) under the keyboard light effect control application type, and so on.
In this embodiment, in the case where the input parameter is an operation parameter acting on the target application process, the hardware component for executing the response process may be determined specifically according to the operation parameter and the 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 is a keyboard effect information query process under the application type, the hardware component for executing the response process may be determined to be a first hardware component, and further, if the input parameter is a parameter value of a brightness, a color, etc. of the keyboard lamp, and the attribute information of the target application process is a keyboard control application type, and is a keyboard effect parameter setting process under the application type, the hardware component for executing the response process may be determined to be a second hardware component (for adjusting the keyboard effect control parameter in the second hardware component based on a set parameter value of brightness, color, etc.).
3) And if the input parameters are environment parameters provided by the target interface process, determining the hardware component for executing response processing as a second hardware component.
If the input parameters are environment parameters provided by the target interface process, the control parameters in the target control logic or the logic flow of the target control logic itself are correspondingly required to be adjusted based on the environment parameters, so as to realize the self-adaptive adjustment of the control of the target hardware based on the environment information of the electronic equipment, such as the self-adaptive adjustment of the brightness, the color, the light efficiency mode and the like of the keyboard light based on the environment brightness and the application process operated by the electronic equipment. Thus, in the case where the input parameter is an environmental parameter provided by the target interface process, the hardware component that performs the response processing may be directly determined to be the hardware component that stores the target control logic, such as the second hardware component EC.
Step 103, executing corresponding response processing through the first hardware component and/or the second hardware component.
After determining, at least according to the input parameters, that the hardware component for executing the response processing is the first hardware component and/or the second hardware component, interaction between the upper layer software and the bottom layer hardware, such as parameter or command transfer, may be further performed based on the interface between the first hardware component and the determined hardware component, and then the corresponding response processing is further executed on the input parameters through the determined first hardware component and/or the second hardware component.
Wherein, corresponding to the 1 st embodiment (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 the input parameters, and the processing result represents the input parameters;
specifically, the target performance parameter of the electronic device is a performance parameter of the first target hardware actually applied by the current model of the electronic device, which is a performance parameter of a keyboard, a GPU or a CPU actually used.
If the processing result characterizes the input parameter to obtain the target performance parameter of the first target hardware of the electronic device, for example, the input parameter is identification information of the first target hardware (such as inputting a GPU on the user interface or selecting an option button of the GPU to query the performance parameter of the GPU, etc.), then the first hardware component, such as the BIOS, in response to the input parameter, queries, from the target data stored in the first hardware component, a target performance parameter corresponding to the configuration parameter of the first target hardware actually used by the electronic device, such as querying an over-frequency parameter of a GPU of a certain generation actually used by the electronic device, or querying information of a lamp efficiency mode supported by a keyboard of a certain generation actually used by the electronic device, supported information of a lamp efficiency control area, a lamp efficiency parameter (brightness, color, time), a basic animation, etc., and feedback the queried information on the user interface in a predetermined manner.
The predetermined mode may be, but not limited to, a text information output mode, a graphic/image information output mode, or a mode combining text and graphics/images, for example, outputting an over-frequency parameter corresponding to the GPU in a text information output mode, outputting a light effect control area supported by the keyboard in a graphic/image mode (such as a virtual keyboard image), and outputting information such as a light effect mode, a light effect parameter, a basic animation and the like supported by the area in a text mode at a corresponding area position of the keyboard.
12 If the processing result represents the input parameter to cause the control parameter of the target control logic to change, controlling the control object of the target control logic to execute corresponding operation through the second hardware component;
specifically, if the above processing result characterizes that the input parameter causes a change in the control parameter of the target control logic (i.e., the input parameter causes an adjustment in the control parameter of the target control logic), the second hardware component, such as EC, may specifically control the control object of the target control logic to perform a corresponding operation based on the adjusted control parameter.
Now, an example is described: for example, if the input parameters are the brightness, the color, and the time interval of the keyboard lamp in the blinking mode, and these parameters are different from the control parameters in the light effect control logic of the keyboard in the EC, and result in adjustment of the control parameters, the EC may specifically control the keyboard (essentially the keyboard controller) to perform operations such as brightness adjustment, color adjustment, and time interval adjustment during blinking of the keyboard lamp based on the adjusted brightness, color, time interval, and other control parameters. For another example, if it is determined that the control parameters in the control logic that may cause the brightness and the volume of the device are changed according to the processed ambient brightness and noise, the control device may perform the adjustment operation of the brightness and the volume of the backlight based on the changed control parameters such as the brightness and the volume of the device at the EC.
13 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, and the first target hardware is controlled to execute corresponding operation according to the adjusted target control logic.
In this case, the target control logic of the second hardware unit may be specifically adjusted by reading the first target data of the first target hardware from the first hardware unit, and then the second hardware unit may control the first target hardware to execute the corresponding operation according to the adjusted target control logic.
For example, for the input parameter processing result of collocating 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 the self-defined combination result of different basic animations, the light effect mode information of the keyboard and the keyboard region information of the keyboard can be specifically read from the first hardware component such as the BIOS, for example, the light effect mode 1 is a normally-on mode, the light effect mode 3 is a blinking mode, the first keyboard region is a digital key region for m keys, the second keyboard region is a directional key region, n keys in total, etc., or the corresponding basic animation information in the BIOS is read, and based on the read information, the light effect control logic of the second hardware component such as the keyboard in the EC is adjusted to correspond to the collocating result or the self-defined animation combination result, and then the EC controls the keyboard (essentially the keyboard controller) to execute the corresponding light effect processing according to the adjusted light effect control logic.
Corresponding to embodiment 2) in step 102 (determining hardware components based on the operating parameters and the attribute information of the target application process), this step 103 may be implemented specifically as:
21 If it is determined that the target application process can at least query the target performance parameters of the electronic device 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;
wherein at least the target performance parameter of the electronic device can be queried, it may refer to the target performance parameter of the second target hardware of the electronic device being queried and/or being adjustable.
If the target performance parameter of at least the second target hardware of the electronic device can be queried according to the attribute information of the target application process, such as the application type to which the target application process belongs and the corresponding process function information under the application type, the first hardware component, such as the BIOS, queries the target performance parameter corresponding to the configuration parameter of the second target hardware actually used by the electronic device from the target data stored by the first hardware component, such as the over-frequency parameter corresponding to the GPU of a certain model actually used by the electronic device, queries the lamp efficiency mode information supported by the keyboard of a certain model actually used by the electronic device, the supported lamp efficiency control area information, the lamp efficiency parameter and the like, and feeds back the queried information to the user interface in a preset mode.
The predetermined mode may also be, but not limited to, a text information output mode, a graphic/image information output mode, or a mode of combining text with graphic/image.
22 If the target application process is determined to be at least capable of controlling the third target hardware of the electronic device according to the attribute information, controlling the third target hardware to execute corresponding operation according to the input parameters and target control logic in the second hardware component for controlling the third target hardware;
specifically, in the case that the attribute information of the target application process is a control function process (such as a light effect control process under a keyboard control application type) belonging to a corresponding application type, it may be determined that the target application process can control at least a third target hardware (such as a keyboard) of the electronic device according to the attribute information, where in this case, an input parameter, that is, an operation parameter acting on the target application process may be specifically used as a control parameter, and a corresponding target control logic in the second hardware component for controlling the third target hardware is used to control the third target hardware to execute a corresponding operation, such as an operation for controlling the keyboard to execute light flashing, color adjustment, and so on.
23 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, updating the performance parameters corresponding to the configuration parameters of the fourth target hardware obtained from the first hardware component according to the input parameters 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, performance parameters corresponding to the configuration parameters of the fourth target hardware, such as a lighting effect mode, a basic animation and the like supported by a keyboard of a certain generation and a keyboard of a certain model in a corresponding control area, are obtained from the first hardware component, and the obtained performance parameters are updated to corresponding target control logic in the second hardware component, such as an EC, so that the fourth target hardware is 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 by means of the keyboard controller for brightness adjustment, color adjustment, light effect mode adjustment, etc. of the keyboard light).
Corresponding to embodiment 3) in step 102 (determining hardware components according to the environment parameters provided by the target interface process), this step 103 may be implemented specifically as:
and adjusting 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 operations according to the adjusted control parameters.
In this embodiment, the corresponding control parameters of the target control logic may be adaptively adjusted according to the environmental parameters, for example, the backlight brightness in the device brightness control logic may be adaptively adjusted according to the environmental brightness, the device volume in the device volume control logic may be adaptively adjusted according to the environmental noise, etc., and then the target object may be controlled to perform corresponding operations according to the adjusted control parameters, for example, the control device may perform the backlight brightness, the increase or decrease of the volume, etc.
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, so as to support control of the target hardware by the first hardware component and/or the second hardware component at the bottom of the system. On the basis, when the target hardware needs to be controlled, only input parameters are needed to be obtained at the upper layer (such as upper layer software) of the system to trigger the required control, then corresponding hardware components are further determined from the bottom layer of the system at least according to the input parameters, and corresponding response processing is executed through the determined hardware components (such as the first hardware component and/or the second hardware component) to realize the control of the target hardware.
Therefore, in the application, the data and the control logic corresponding to different control capacities of different types of hardware can be realized in the bottom hardware (the first hardware component and the second hardware component) of the system, so that a general hardware control scheme is provided based on the bottom hardware of the system, the upper software of the system can be only used as a trigger to trigger the bottom hardware to execute response processing by acquiring input parameters, and the required control is correspondingly realized, unified hardware control management based on the bottom hardware of the system is realized, the development period, the workload and the difficulty of the upper software are greatly reduced, and different system driving software is not required to be designed and developed for electronic equipment of different models respectively.
In an optional embodiment of the present application, the above processing method may further include any one of the following processing:
1) Obtaining a first difference parameter of the input parameter and a corresponding control parameter in the target control logic, and updating the corresponding control parameter in the target control logic according to the input parameter if the first difference parameter meets a first adjustment condition;
specifically, in the case that the input parameter may cause a change in the 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 satisfies a first adjustment condition, and the corresponding control parameter in the target control logic is updated according to the input parameter only if the first adjustment condition is satisfied, otherwise, if the first adjustment condition is not satisfied, 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 adopted to perform corresponding control on the target hardware.
Optionally, the first difference parameter meeting the first adjustment condition may mean that a value corresponding to the first difference parameter reaches a set first threshold.
For example, for a keyboard light brightness value input on the user interface, a difference between the input brightness value and a brightness parameter value in keyboard light effect control logic in the second hardware component is specifically determined, if the difference reaches a set first threshold value, the brightness parameter value in the keyboard light effect control logic is adjusted to the input brightness value, so that keyboard light effect control is performed according to the adjusted brightness value, otherwise, the keyboard light effect control is not adjusted.
2) And obtaining a second difference parameter between the performance parameter corresponding to the configuration parameter and the corresponding control parameter in the target control logic, and updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter if the second difference parameter meets a second adjustment condition.
Similarly, the performance parameter corresponding to the configuration parameter of the target hardware can be obtained, whether the second difference parameter of the performance parameter and the corresponding control parameter in the target control logic meets the second adjustment condition is determined, if the second difference parameter meets 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 in the target control logic is not updated.
Optionally, the second difference parameter meets the first adjustment condition, which may mean that a value corresponding to the second difference parameter reaches a set second threshold, where the second threshold may be the same as or different from the first threshold.
Specifically, for example, the number of keyboard lamps in a controllable area of a keyboard of a certain generation and a certain model currently used by the electronic device is obtained from the BIOS, if the difference between the number of keyboard lamps and the number of keyboard lamps in the area in the keyboard lamp efficiency control logic in the EC reaches a second threshold, the corresponding number of keyboard lamps in the lamp efficiency control logic is updated according to the number of keyboard lamps in the performance parameter, otherwise, the number of keyboard lamps is not updated.
According to the embodiment, the corresponding control parameters in the target control logic are updated according to the input parameters or the performance parameters in the target data under the condition that the adjustment conditions are met, so that frequent updating of the corresponding control parameters in the target control logic can be avoided, and the control parameter updating events filtered based on the adjustment conditions are only small-amplitude updating of the control parameters, so that the filtering of the corresponding control parameter updating events does not cause obvious difference in control effect.
In an optional embodiment of the present application, the above processing method may further include the following processing:
and storing the updated target control logic into a 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 state of closing, restarting, etc. the target application process.
In this embodiment, after updating the target control logic (such as the control parameter or the control flow in the target control logic) according to the input parameter or the performance parameter corresponding to the configuration parameter of the target hardware, the updated target control logic is saved in the second hardware component, such as EC, and then, when the electronic device is in the above-mentioned state of restarting the device, closing/restarting the target application process, etc., 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 the light efficiency control according to the updated light efficiency control logic.
In an optional embodiment of the present application, the above processing method may further include the following processing:
outputting 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 the corresponding operation based on the target control logic, for example, when the EC controls the keyboard to execute the keyboard light brightness adjustment and the light effect mode adjustment operation based on the keyboard light effect control logic, the content matched with the operation of the target hardware can be synchronously output by the display interface of the target application process in the upper software, and optionally, a diagram matched with the operation process of the target hardware can be specifically displayed and output or the operation simulation process can be realized based on the interface rendering, so that the synchronous display output of the operation process of the target hardware on the display interface of the target application process can be realized.
Still take the control of the keyboard light effect as an example, referring to fig. 3, in the operation process of controlling the keyboard to perform the brightness control, the color control, the animation control of the light effect 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 entity keyboard is performed based on a software mode, a picture which is the same as the layout of the keyboard is rendered specifically in a software UI, the color of the picture is changed through a light effect algorithm, and information such as the current color, brightness and the like of each LED lamp in the entity keyboard is set by taking points at a certain frequency, so that the light effect control of the keyboard is realized. In the application, when the lamp effect control of the entity keyboard is realized, the control parameter setting and algorithm processing based on software are not relied on, but parameters are only transmitted from the UI to the EC, and the keyboard control is realized by the EC, so that the delay problem can be solved, CPU/GPU resources cannot be preempted with other processes, the synchronization between the lamp effect of the entity keyboard and the simulated lamp effect of the software interface is ensured, the stability of the UI and the lamp effect of the entity keyboard is ensured, and the occurrence of the catton and the lamp effect error is avoided.
Corresponding to the above-mentioned control method, the embodiment of the present application further discloses a control device, referring to the schematic structural diagram of the control device shown in fig. 4, where the device may include:
an obtaining module 401, configured to obtain an input parameter;
a determining module 402, configured to determine corresponding hardware components according to at least the input parameters, where the hardware components include 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 a module 403 for executing a corresponding response process by said first hardware component and/or said second hardware component.
In an optional implementation manner of the embodiment of the present application, the obtaining module 401 is specifically configured to:
obtaining operation parameters acting on a target application process;
or, obtain the environmental 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 the hardware component for executing response processing as a first hardware component and/or a second hardware component according to the processing result; or alternatively, the first and second heat exchangers may be,
if the input parameters are operation parameters acting on the target application process, obtaining attribute information of the target application process, and determining a hardware component for executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameters; or alternatively, the first and second heat exchangers may be,
And if the input parameters are environment parameters provided by the target interface process, determining the hardware component for executing response processing as a second hardware component.
In an alternative implementation manner of the embodiment of the present application, the response is in a module 403, specifically configured to:
if the processing result represents the input parameters, the processing result is used for obtaining target performance parameters of the electronic equipment, and the performance parameters corresponding to the configuration parameters of the first target hardware obtained from the first hardware component are fed back and output according to a preset mode; or alternatively, the first and second heat exchangers may be,
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 alternatively, the first and second heat exchangers may be,
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 alternative implementation manner of the embodiment of the present application, the response is in a module 403, specifically configured to:
if the target application process is determined to be at least capable of 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; or alternatively, the first and second heat exchangers may be,
If the target application process is determined to be at least capable of controlling 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 in the second hardware component for controlling the third target hardware; or alternatively, the first and second heat exchangers may be,
and if the control parameters of the fourth target hardware of the electronic equipment can be at least adjusted by the target application process according to the attribute information, updating the performance parameters corresponding to the configuration parameters of the fourth target hardware obtained from the first hardware component according to the input parameters to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operations according to the updated target control logic.
In an alternative implementation of the embodiment of the present application, the response is in a module 403, and is further configured to:
obtaining a first difference parameter of 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 alternatively, the first and second heat exchangers may be,
and obtaining a second difference parameter of the performance parameter corresponding to the configuration parameter and the corresponding control parameter in the target control logic, and updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter if the second difference parameter meets a second adjustment condition.
In an alternative implementation of the embodiment of the present application, the response is in a module 403, and is further configured to:
and storing the updated target control logic into the second hardware component, so that when the electronic equipment is in a preset running state, the second hardware component controls the target hardware to execute corresponding operation according to the updated target control logic.
In an alternative implementation of the embodiment of the present application, the response is in a module 403, and is further configured to:
outputting content matched with the corresponding operation executed by the third target hardware on a display interface of the target application process; or alternatively, the first and second heat exchangers may be,
and outputting the content matched with the corresponding operation executed by the fourth target hardware on the display interface of the target application process.
In an alternative implementation of the embodiment of the present application, the response is in a module 403, and is further configured to:
and adjusting 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 operations according to the adjusted control parameters.
Since the control device disclosed in the embodiments of the present application corresponds to the control method disclosed in each of the method embodiments, the description is relatively simple, and the relevant similarities will be described with reference to the description of the corresponding method embodiments, and will not be described in detail herein.
In an optional implementation manner of the embodiment of the present application, an electronic device is also disclosed, including:
a hardware component comprising 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 the computer instruction set is executed by a processor, the control method provided by any method embodiment is realized.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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. The software modules may be disposed 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 input parameters;
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;
And executing corresponding response processing through the first hardware component and/or the second hardware component so as to realize the control of target hardware through the first hardware component and/or the second hardware component, wherein the target hardware at least comprises a CPU, a GPU or a keyboard.
2. The method of claim 1, the obtaining input parameters comprising:
obtaining operation parameters acting on a target application process;
or, obtain the environmental parameters provided to the target interface process.
3. The method according to claim 1 or 2, wherein determining a corresponding hardware component at least from the input parameters comprises:
processing the input parameters to obtain a processing result, and determining the hardware component for executing response processing as a first hardware component and/or a second hardware component according to the processing result; or alternatively, the first and second heat exchangers may be,
if the input parameters are operation parameters acting on the target application process, obtaining attribute information of the target application process, and determining a hardware component for executing response processing as a first hardware component and/or a second hardware component according to the attribute information and the input parameters; or alternatively, the first and second heat exchangers may be,
and if the input parameters are environment parameters provided by the target interface process, determining the hardware component for executing response processing as a second hardware component.
4. A method according to claim 3, wherein performing, by the first hardware component and/or the second hardware component, a corresponding response process comprises:
if the processing result represents the input parameters, the processing result is used for obtaining target performance parameters of the electronic equipment, and the performance parameters corresponding to the configuration parameters of the first target hardware obtained from the first hardware component are fed back and output according to a preset mode; or alternatively, the first and second heat exchangers may be,
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 alternatively, the first and second heat exchangers may be,
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. A method according to claim 3, wherein performing, by the first hardware component and/or the second hardware component, a corresponding response process comprises:
if the target application process is determined to be at least capable of 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; or alternatively, the first and second heat exchangers may be,
If the target application process is determined to be at least capable of controlling 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 in the second hardware component for controlling the third target hardware; or alternatively, the first and second heat exchangers may be,
and if the control parameters of the fourth target hardware of the electronic equipment can be at least adjusted by the target application process according to the attribute information, updating the performance parameters corresponding to the configuration parameters of the fourth target hardware obtained from the first hardware component according to the input parameters to corresponding target control logic in the second hardware component so as to control the fourth target hardware to execute corresponding operations according to the updated target control logic.
6. The method of claim 5, further comprising:
obtaining a first difference parameter of 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 alternatively, the first and second heat exchangers may be,
and obtaining a second difference parameter of the performance parameter corresponding to the configuration parameter and the corresponding control parameter in the target control logic, and updating the corresponding control parameter in the target control logic according to the performance parameter corresponding to the configuration parameter if the second difference parameter meets a second adjustment condition.
7. The method of claim 6, further comprising:
and storing the updated target control logic into the second hardware component, so that when the electronic equipment is in a preset running state, the second hardware component controls the target hardware to execute corresponding operation according to the updated target control logic.
8. The method of claim 5, further comprising:
outputting content matched with the corresponding operation executed by the third target hardware on a display interface of the target application process; or alternatively, the first and second heat exchangers may be,
and outputting the content matched with the corresponding operation executed by the fourth target hardware on the display interface of the target application process.
9. A method according to claim 3, wherein performing, by the second hardware component, a corresponding response process comprises:
and adjusting 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 operations according to the adjusted control parameters.
10. A control apparatus 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;
And the response is in a module, which is used for executing corresponding response processing through the first hardware component and/or the second hardware component so as to realize the control of target hardware through the first hardware component and/or the second hardware component, wherein the target hardware at least comprises a CPU, a GPU or a keyboard.
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 CN112925572A (en) 2021-06-08
CN112925572B true 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)

Families Citing this family (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 (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063068A (en) * 2010-10-29 2011-05-18 深圳市奥宇控制系统有限公司 Programming method, system and computer of DDC (Direct Digital Control) logic
CN102902544A (en) * 2012-09-29 2013-01-30 福建升腾资讯有限公司 Implementation method of phone payment terminal software platform
CN105068854A (en) * 2015-08-07 2015-11-18 杭州古北电子科技有限公司 Method for controlling different products by using same rule
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
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
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
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
CN111580923A (en) * 2020-05-18 2020-08-25 联想(北京)有限公司 Control method and device and electronic equipment
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

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5171829B2 (en) * 2007-08-30 2013-03-27 パナソニック株式会社 Ultrasonic diagnostic apparatus and ultrasonic diagnostic system
CN102707861B (en) * 2011-03-28 2014-09-03 联想(北京)有限公司 Electronic equipment and display method thereof
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
CN105278986A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Control method and apparatus of electronic device
CN107861458B (en) * 2017-11-09 2021-05-14 山东省计算中心(国家超级计算济南中心) PLC rapid construction method capable of automatically configuring hardware resources
CN109783144B (en) * 2017-11-13 2022-03-25 深圳市创客工场科技有限公司 Method and device for processing variable in interactive realization of virtual environment and storage medium
CN109271208A (en) * 2018-09-26 2019-01-25 Oppo广东移动通信有限公司 Parameter setting method, device, terminal and storage medium
CN111142968A (en) * 2019-12-26 2020-05-12 联想(北京)有限公司 Electronic equipment configuration recommendation processing method and device and storage medium
CN111625379B (en) * 2020-06-02 2021-06-04 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and readable storage medium

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063068A (en) * 2010-10-29 2011-05-18 深圳市奥宇控制系统有限公司 Programming method, system and computer of DDC (Direct Digital Control) logic
CN102902544A (en) * 2012-09-29 2013-01-30 福建升腾资讯有限公司 Implementation method of phone payment terminal software platform
CN105068854A (en) * 2015-08-07 2015-11-18 杭州古北电子科技有限公司 Method for controlling different products by using same rule
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
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
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
CN111580923A (en) * 2020-05-18 2020-08-25 联想(北京)有限公司 Control method and device and electronic equipment
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

Also Published As

Publication number Publication date
CN112925572A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN112925572B (en) Control method and device and electronic equipment
US9389759B2 (en) Environment for responsive graphical designs
CN105511873B (en) User interface control display method and device
CN110399583B (en) Page display method and device, electronic equipment and storage medium
WO2013182089A1 (en) Object suspension realizing method and device
CN111240777B (en) Dynamic wallpaper generation method and device, storage medium and electronic equipment
US10628121B2 (en) Electronic device and method for controlling the same
WO2011116601A1 (en) Device and method for implementing landscape/portrait screen switching of mobile terminal
US9946806B2 (en) Exporting responsive designs from a graphical design tool
JP2018536952A (en) Method and apparatus for controlling a smart device and computer storage medium
US20150348278A1 (en) Dynamic font engine
WO2022194003A1 (en) Screen capture method and apparatus, electronic device, and readable storage medium
CN113742366B (en) Data processing method, device, computer equipment and storage medium
CN112506854B (en) Page template file storage and page generation methods, devices, equipment and media
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN111936966A (en) Design system for creating graphical content
US20200249965A1 (en) Display Device with Built-In Web Browser for Graphical User Interface in an Embedded System
CN111694549A (en) Data processing method, device, terminal and medium
CN110868471B (en) Equipment construction method, device and storage medium
CN113596529A (en) Terminal control method and device, computer equipment and storage medium
WO2016201813A1 (en) Dynamic layout method and system based on android
EP2736040A2 (en) Display method of OSD system
CN116594616A (en) Component configuration method and device and computer readable storage medium
CN114237795B (en) Terminal interface display method and device, electronic equipment and readable storage medium
CN114647703B (en) Data processing method and device, electronic equipment 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