CN106326001B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106326001B
CN106326001B CN201510391844.8A CN201510391844A CN106326001B CN 106326001 B CN106326001 B CN 106326001B CN 201510391844 A CN201510391844 A CN 201510391844A CN 106326001 B CN106326001 B CN 106326001B
Authority
CN
China
Prior art keywords
target object
hardware device
hardware
adjusted
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510391844.8A
Other languages
Chinese (zh)
Other versions
CN106326001A (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 CN201510391844.8A priority Critical patent/CN106326001B/en
Publication of CN106326001A publication Critical patent/CN106326001A/en
Application granted granted Critical
Publication of CN106326001B publication Critical patent/CN106326001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information processing method and electronic equipment. The method comprises the following steps: acquiring attribute information of a target object and environment information to be operated of the target object; acquiring attribute information of hardware equipment in the electronic equipment; determining a hardware device to be adjusted in the electronic device based on the attribute information of the target object, and determining an adjustment parameter of the hardware device to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware device; and redriving the hardware equipment to be adjusted based on the adjustment parameters.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Often, some professional applications, such as professional drawing applications CAD, creo, etc., are run in electronic devices (e.g., desktops, workstations). The system and hardware requirements of the electronic device may vary from application to application, and the system and hardware resources provided by the electronic device for each application may not vary from application to application. While such an indiscriminate system and hardware environment may not perform optimally for the execution of the application for some particular applications.
Disclosure of Invention
In order to solve the existing technical problems, the embodiment of the invention provides an information processing method and electronic equipment, which can provide different systems and hardware resources required by different application programs for the running of the application programs.
In order to achieve the above object, the technical solution of the embodiment of the present invention is as follows:
the embodiment of the invention provides an information processing method, which comprises the following steps:
acquiring attribute information of a target object and environment information to be operated of the target object;
acquiring attribute information of hardware equipment in the electronic equipment;
determining a hardware device to be adjusted in the electronic device based on the attribute information of the target object, and determining an adjustment parameter of the hardware device to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware device;
and redriving the hardware equipment to be adjusted based on the adjustment parameters.
In the above solution, the attribute information of the target object includes: the type of the target object; the determining the hardware device to be adjusted in the electronic device based on the attribute information of the target object comprises the following steps:
determining a first hardware device and/or a second hardware device in the electronic device based on the type of the target object;
The importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object.
In the above solution, the determining, based on the environmental information to be operated by the target object and the attribute information of the hardware device, an adjustment parameter of the hardware device to be adjusted includes:
lifting a first adjustment parameter of the first hardware device based on the environment information to be operated of the target object and the attribute information of the hardware device; the first tuning parameter supports enhancing performance of the first hardware device.
In the above solution, the determining, based on the environmental information to be operated by the target object and the attribute information of the hardware device, an adjustment parameter of the hardware device to be adjusted includes:
reducing a second adjustment parameter of the second hardware device based on the environment information to be operated of the target object and the attribute information of the hardware device; the second tuning parameter supports reducing performance of the second hardware device.
In the above solution, the determining, based on the environmental information to be operated by the target object and the attribute information of the hardware device, an adjustment parameter of the hardware device to be adjusted includes:
Determining an adjustment parameter range of the hardware equipment to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware equipment:
outputting the adjustment parameter range through a preset modulation interface;
and acquiring a first operation based on the adjustment parameter range, and determining the adjustment parameters of the hardware equipment to be adjusted according to the first operation.
In the above solution, the determining, based on the environmental information to be operated by the target object and the attribute information of the hardware device, an adjustment parameter of the hardware device to be adjusted includes:
obtaining historical operation data of the target object;
and automatically determining the adjustment parameters of the hardware equipment to be adjusted based on the environment information to be operated of the target object, the attribute information of the hardware equipment and the historical operation data.
The embodiment of the invention also provides electronic equipment, which comprises: the device comprises an acquisition unit, a determination unit and a control unit; wherein,,
the acquisition unit is used for acquiring attribute information of a target object and environment information to be operated of the target object; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment;
The determining unit is used for determining hardware equipment to be adjusted in the electronic equipment based on the attribute information of the target object acquired by the acquiring unit, and determining adjustment parameters of the hardware equipment to be adjusted based on the environment information of the target object to be operated and the attribute information of the hardware equipment;
and the control unit is used for redriving the hardware equipment to be regulated based on the regulation parameters determined by the determination unit.
In the above solution, the attribute information of the target object includes: the type of the target object; the determining unit is used for determining a first hardware device and a second hardware device in the electronic device based on the type of the target object; the importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object.
In the above solution, the determining unit is configured to promote a first adjustment parameter of the first hardware device based on the environmental information to be operated by the target object and the attribute information of the hardware device; the first tuning parameter supports enhancing performance of the first hardware device.
In the above scheme, the determining unit is configured to reduce a second adjustment parameter of the second hardware device based on the environmental information to be operated by the target object and the attribute information of the hardware device; the second tuning parameter supports reducing performance of the second hardware device.
In the above solution, the determining unit is configured to determine, based on the environmental information to be operated by the target object and the attribute information of the hardware device, an adjustment parameter range of the hardware device to be adjusted: outputting the adjustment parameter range through a preset modulation interface; and acquiring a first operation based on the adjustment parameter range, and determining the adjustment parameters of the hardware equipment to be adjusted according to the first operation.
In the above scheme, the obtaining unit is further configured to obtain historical operation data of the target object;
the determining unit is configured to automatically determine an adjustment parameter of the hardware device to be adjusted based on the environmental information to be operated of the target object, the attribute information of the hardware device, and the historical operation data.
According to the information processing method and the electronic device provided by the embodiment of the invention, the attribute information of the target object and the environment information to be operated of the target object are obtained; acquiring attribute information of hardware equipment in the electronic equipment; determining a hardware device to be adjusted in the electronic device based on the attribute information of the target object, and determining an adjustment parameter of the hardware device to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware device; and redriving the hardware equipment to be adjusted based on the adjustment parameters. Therefore, by adopting the technical scheme of the embodiment of the invention, the hardware equipment to be adjusted in the electronic equipment is determined according to the different attribute information of the target object, so that the operation parameters of the hardware equipment to be adjusted are adjusted, the optimization of the system and hardware resources required by the target object according to the current environmental information of the electronic equipment and the type of the target object is realized, and when the target object operates, the optimal system and hardware resources are preferentially provided for the target object, the smoothness of the target object during operation is improved, and the use experience of a user is greatly improved. On the other hand, the system and hardware requirements of the target object in running are met without increasing the cost of design and development of a system platform of the electronic equipment, so that the cost is saved, and meanwhile, the operation experience of a user is greatly improved.
Drawings
Fig. 1 is a flow chart of an information processing method according to a first embodiment of the invention;
FIG. 2 is a flow chart of an information processing method according to a second embodiment of the invention;
FIG. 3 is a flow chart of an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flow chart of a method for processing information according to a fourth embodiment of the present invention;
fig. 5a to fig. 5c are schematic application scenarios of an information processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
Example 1
The embodiment of the invention provides an information processing method. Fig. 1 is a flow chart of an information processing method according to a first embodiment of the invention; as shown in fig. 1, the method includes:
step 101: and acquiring attribute information of a target object and environment information to be operated of the target object.
The information processing method of the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment can be a personal computer (PC, personal Computer), such as a desktop computer, a notebook computer, a workstation and the like, and the electronic equipment supports to run a target object, and the target object is an application program with a certain function; preferably, the target object in this embodiment may be a professional application, and the professional application may occupy a relatively large resource during the running process. The target object, such as the professional drawing application CAD, creo, etc., is of course not limited to the professional drawing application described above, and other professional application may be applied to the target object in the present embodiment.
Here, the attribute information of the target object includes: the type, size, application platform (e.g., win2003, win8, win7, win xp, vista, etc.), system resources required by the runtime (e.g., application platform requires Win2003 and above, system memory is greater than 2G, etc.), etc.
Here, the environment information to be executed by the target object includes the current system resource occupation situation of the electronic device, including the usage rate of a central processing unit (CPU, central Processing Unit), the memory occupation situation, the current process information, and the like.
Step 102: and acquiring attribute information of hardware equipment in the electronic equipment.
Here, the hardware device in the electronic device is any hardware device in the electronic device, including a CPU, a graphics card, a memory, a hard disk, and the like; the attribute information of the hardware device includes, but is not limited to, CPU main frequency, bus bandwidth, secondary buffer capacity, memory capacity, hard disk capacity, graphics card type, graphics card chip, video memory capacity, network card type, input/output interface (I/O), video interface, audio interface, etc. Specifically, in this step, the obtaining attribute information of the hardware device in the electronic device includes: and obtaining the attribute information of the hardware device from a device manager of the electronic device.
Step 103: and determining hardware equipment to be adjusted in the electronic equipment based on the attribute information of the target object, and determining adjustment parameters of the hardware equipment to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware equipment.
Here, the attribute information of the target object includes a type of the target object, for example: graphic image processing types (e.g., CAD, etc.), application tool types (e.g., data recovery, optimization settings, etc.), programming development types (e.g., database types, programming tools, installation artifacts, etc.), industry management types (e.g., financial management), etc. Wherein each target object runs with resources of the respective hardware in the electronic device, but different types of target objects have different demands on the hardware and the running environment in the electronic device. For example, graphics image processing type software has a higher demand for display attributes of electronic devices than other software, in addition to computing processing power. As another example, for certain industry management types of software, where a large amount of computation is required during operation, the demand for computing processing power of the electronic device is greater. Based on this, i.e. based on the property information of the target object, in particular based on the type of the target object, the hardware device to be adjusted is determined.
Further, the electronic device determines a parameter range which can be adjusted by the system resource corresponding to the hardware device to be adjusted based on the environmental information to be operated of the target object, specifically based on the current system resource occupation condition including CPU utilization rate, memory occupation condition, current process information and the like. The parameter range that the system resource corresponding to the hardware device to be adjusted can be understood as the system resource that can be allocated to the target object. Preferably, the electronic device may determine, based on current environmental information, a process that may be turned off, or a process that may reallocate system resources, further turn off the process, or reallocate the minimum system resources supporting operation, thereby releasing part of the system resources and providing more system resources for the target object; allocating an adjustment parameter of the hardware device to be adjusted to the target object based on the adjusted system resource, wherein the adjustment parameter can be at least one of the following parameters: memory size, video memory size, network bandwidth of N1 size, main frequency bandwidth of N2 size, etc.; wherein, N1 and N2 are both positive numbers.
Step 104: and redriving the hardware equipment to be adjusted based on the adjustment parameters.
In this embodiment, as an implementation manner, a dedicated interface for adjusting adjustment parameters of a hardware device in the electronic device is provided in the electronic device, and after determining an adjustment parameter range of the hardware device to be adjusted, a user is supported to manually adjust the adjustment parameters of the hardware device to be adjusted based on the dedicated interface. As another implementation manner, the electronic device automatically adjusts the hardware device to be adjusted based on the adjustment parameter range of the hardware device to be adjusted. Whether the manual adjustment mode or the automatic adjustment mode is adopted, the electronic equipment redrives the hardware equipment to be adjusted based on the adjusted adjustment parameters of the hardware equipment, so that the hardware equipment in the electronic equipment operates the target object based on the redistributed adjustment parameters.
By adopting the technical scheme of the embodiment of the invention, the hardware equipment to be adjusted in the electronic equipment is determined according to the different attribute information of the target object, so that the operation parameters of the hardware equipment to be adjusted are adjusted, the optimization of the system and hardware resources required by the target object according to the current environment information of the electronic equipment and the type of the target object is realized, the optimal system and hardware resources are preferentially provided for the target object when the target object operates, the smoothness of the target object during operation is improved, and the use experience of a user is greatly improved. On the other hand, the system and hardware requirements of the target object in running are met without increasing the cost of design and development of a system platform of the electronic equipment, so that the cost is saved, and meanwhile, the operation experience of a user is greatly improved.
Example two
The embodiment of the invention also provides an information processing method. FIG. 2 is a flow chart of an information processing method according to a second embodiment of the invention; as shown in fig. 2, the method includes:
step 201: acquiring attribute information of a target object and environment information to be operated of the target object; the attribute information of the target object includes: the type of target object.
The information processing method of the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment can be a PC (personal computer), such as a desktop computer, a notebook computer, a workstation and the like, and the electronic equipment supports operation of a target object, and the target object is an application program with a certain function; preferably, the target object in this embodiment may be a professional application, and the professional application may occupy a relatively large resource during the running process. The target object, such as the professional drawing application CAD, creo, etc., is of course not limited to the professional drawing application described above, and other professional application may be applied to the target object in the present embodiment.
Here, the attribute information of the target object includes: the type, size, application platform (e.g., win2003, win8, win7, win xp, vista, etc.), system resources required by the runtime (e.g., application platform requires Win2003 and above, system memory is greater than 2G, etc.), etc.
Here, the environmental information to be executed by the target object includes current system resource occupation conditions of the electronic device, including CPU utilization rate, memory occupation conditions, current process information, and the like.
Step 202: and acquiring attribute information of hardware equipment in the electronic equipment.
Here, the hardware device in the electronic device is any hardware device in the electronic device, including a CPU, a graphics card, a memory, a hard disk, and the like; the attribute information of the hardware device includes, but is not limited to, CPU main frequency, bus bandwidth, secondary buffer capacity, memory capacity, hard disk capacity, graphics card type, graphics card chip, video memory capacity, network card type, input/output interface (I/O), video interface, audio interface, etc. Specifically, in this step, the obtaining attribute information of the hardware device in the electronic device includes: and obtaining the attribute information of the hardware device from a device manager of the electronic device.
Step 203: determining a first hardware device and/or a second hardware device in the electronic device based on the type of the target object; the importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object.
Here, the attribute information of the target object includes a type of the target object, for example: graphic image processing types (e.g., CAD, etc.), application tool types (e.g., data recovery, optimization settings, etc.), programming development types (e.g., database types, programming tools, installation artifacts, etc.), industry management types (e.g., financial management), etc. Wherein each target object runs with resources of the respective hardware in the electronic device, but different types of target objects have different demands on the hardware and the running environment in the electronic device. For example, graphics image processing type software has a higher demand for display attributes of electronic devices than other software, in addition to computing processing power. As another example, for certain industry management types of software, where a large amount of computation is required during operation, the demand for computing processing power of the electronic device is greater. Based on this, in this embodiment, the first hardware device is a hardware device that is relatively important for the target object, that is, the first hardware device has a crucial role for the operation of the target object, for example, when the target object is graphics image processing software, the first hardware device may be a graphics card device. The second hardware device is a hardware device which is relatively unimportant to the target object in all hardware devices in the electronic device, namely the second hardware device has no crucial effect on the operation of the target object.
Step 204: the method comprises the steps of improving first adjustment parameters of first hardware equipment based on the environment information to be operated of the target object and the attribute information of the hardware equipment, and/or reducing second adjustment parameters of second hardware equipment based on the environment information to be operated of the target object and the attribute information of the hardware equipment; the first adjustment parameter supports improving the performance of the first hardware device; the second tuning parameter supports reducing performance of the second hardware device.
Here, the electronic device determines, based on the environmental information to be operated of the target object, specifically based on the current system resource occupation condition, including CPU utilization rate, memory occupation condition, current process information, and the like, a parameter range that can be adjusted by the system resource corresponding to the hardware device to be adjusted. The parameter range that the system resource corresponding to the hardware device to be adjusted can be understood as the system resource that can be allocated to the target object. Preferably, the electronic device may determine, based on current environmental information, a process that may be turned off, or a process that may reallocate system resources, further turn off the process, or reallocate the minimum system resources supporting operation, thereby releasing part of the system resources and providing more system resources for the target object; and further distributing the adjusting parameters of the hardware equipment to be adjusted for the target object based on the adjusted system resources. Based on this, in this embodiment, for the first hardware device of which the target object is relatively important, the first adjustment parameter of the first hardware device is promoted, so as to provide more system resources for the operation of the target object, thereby implementing smoother operation of the target object. And for the second hardware equipment which is relatively unimportant for the target object, reducing the second adjustment parameter of the second hardware equipment so as to reduce the system resources occupied by the second hardware equipment as much as possible on the premise of ensuring that the target object can operate, and providing a better operation environment for the operation of the target object.
Step 205: and redrive the hardware device to be adjusted based on the first adjustment parameter and/or the second adjustment parameter.
In this embodiment, as an implementation manner, a dedicated interface for adjusting adjustment parameters of a hardware device in the electronic device is provided in the electronic device, and after determining an adjustment parameter range of the first hardware device and/or the second hardware device, a user is supported to manually adjust the adjustment parameters of the first hardware device and/or the second hardware device based on the dedicated interface. As another implementation manner, the electronic device automatically adjusts the first hardware device and/or the second hardware device based on the adjustment parameter range of the first hardware device and/or the second hardware device. Whether the manual adjustment mode or the automatic adjustment mode is adopted, the electronic device redrives the first hardware device and/or the second hardware device based on the adjusted adjustment parameters of the first hardware device and/or the second hardware device, so that the hardware device in the electronic device runs the target object based on the redistributed adjustment parameters.
By adopting the technical scheme of the embodiment of the invention, the hardware equipment to be adjusted in the electronic equipment is determined according to the different attribute information of the target object, so that the operation parameters of the hardware equipment to be adjusted are adjusted, the optimization of the system and hardware resources required by the target object according to the current environment information of the electronic equipment and the type of the target object is realized, the optimal system and hardware resources are preferentially provided for the target object when the target object operates, the smoothness of the target object during operation is improved, and the use experience of a user is greatly improved. On the other hand, the system and hardware requirements of the target object in running are met without increasing the cost of design and development of a system platform of the electronic equipment, so that the cost is saved, and meanwhile, the operation experience of a user is greatly improved.
Example III
The embodiment of the invention also provides an information processing method. FIG. 3 is a flow chart of an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: and acquiring attribute information of a target object and environment information to be operated of the target object.
The information processing method of the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment can be a PC (personal computer), such as a desktop computer, a notebook computer, a workstation and the like, and the electronic equipment supports operation of a target object, and the target object is an application program with a certain function; preferably, the target object in this embodiment may be a professional application, and the professional application may occupy a relatively large resource during the running process. The target object, such as the professional drawing application CAD, creo, etc., is of course not limited to the professional drawing application described above, and other professional application may be applied to the target object in the present embodiment.
Here, the attribute information of the target object includes: the type, size, application platform (e.g., win2003, win8, win7, win xp, vista, etc.), system resources required by the runtime (e.g., application platform requires Win2003 and above, system memory is greater than 2G, etc.), etc.
Here, the environmental information to be executed by the target object includes current system resource occupation conditions of the electronic device, including CPU utilization rate, memory occupation conditions, current process information, and the like.
Step 302: and acquiring attribute information of hardware equipment in the electronic equipment.
Here, the hardware device in the electronic device is any hardware device in the electronic device, including a CPU, a graphics card, a memory, a hard disk, and the like; the attribute information of the hardware device includes, but is not limited to, CPU main frequency, bus bandwidth, secondary buffer capacity, memory capacity, hard disk capacity, graphics card type, graphics card chip, video memory capacity, network card type, input/output interface (I/O), video interface, audio interface, etc. Specifically, in this step, the obtaining attribute information of the hardware device in the electronic device includes: and obtaining the attribute information of the hardware device from a device manager of the electronic device.
Step 303: and determining the hardware equipment to be adjusted in the electronic equipment based on the attribute information of the target object.
Here, the attribute information of the target object includes a type of the target object, for example: graphic image processing types (e.g., CAD, etc.), application tool types (e.g., data recovery, optimization settings, etc.), programming development types (e.g., database types, programming tools, installation artifacts, etc.), industry management types (e.g., financial management), etc. Wherein each target object runs with resources of the respective hardware in the electronic device, but different types of target objects have different demands on the hardware and the running environment in the electronic device. For example, graphics image processing type software has a higher demand for display attributes of electronic devices than other software, in addition to computing processing power. As another example, for certain industry management types of software, where a large amount of computation is required during operation, the demand for computing processing power of the electronic device is greater. Based on this, i.e. based on the property information of the target object, in particular based on the type of the target object, the hardware device to be adjusted is determined.
Step 304: and determining the adjusting parameter range of the hardware equipment to be adjusted based on the environment information to be operated of the target object and the attribute information of the hardware equipment.
Here, the electronic device determines, based on the environmental information to be operated of the target object, specifically based on the current system resource occupation condition, including CPU utilization rate, memory occupation condition, current process information, and the like, a parameter range that can be adjusted by the system resource corresponding to the hardware device to be adjusted. The parameter range that the system resource corresponding to the hardware device to be adjusted can be understood as the system resource that can be allocated to the target object. Preferably, the electronic device may determine, based on current environmental information, a process that may be turned off, or a process that may reallocate system resources, further turn off the process, or reallocate the minimum system resources supporting operation, thereby releasing part of the system resources and providing more system resources for the target object; allocating an adjustment parameter of the hardware device to be adjusted to the target object based on the adjusted system resource, wherein the adjustment parameter can be at least one of the following parameters: memory size, video memory size, network bandwidth of N1 size, main frequency bandwidth of N2 size, etc.; wherein, N1 and N2 are both positive numbers.
Step 305: outputting the adjustment parameter range through a preset modulation interface; and acquiring a first operation based on the adjustment parameter range, and determining the adjustment parameters of the hardware equipment to be adjusted according to the first operation.
In this embodiment, a dedicated interface for adjusting adjustment parameters of a hardware device in the electronic device is provided in the electronic device, after an adjustment parameter range of the hardware device to be adjusted is determined, the adjustment parameter range is output through the dedicated interface (i.e., the preset modulation interface in this step), and then a user is supported to manually adjust the adjustment parameters of the hardware device to be adjusted based on the dedicated interface.
Step 306: and redriving the hardware equipment to be adjusted based on the adjustment parameters.
In this embodiment, the electronic device redrives the hardware device to be adjusted based on the adjusted adjustment parameter of the adjusted hardware device, so that the hardware device in the electronic device runs the target object based on the reassigned adjustment parameter.
By adopting the technical scheme of the embodiment of the invention, the hardware equipment to be adjusted in the electronic equipment is determined according to the different attribute information of the target object, so that the operation parameters of the hardware equipment to be adjusted are adjusted, the optimization of the system and hardware resources required by the target object according to the current environment information of the electronic equipment and the type of the target object is realized, the optimal system and hardware resources are preferentially provided for the target object when the target object operates, the smoothness of the target object during operation is improved, and the use experience of a user is greatly improved. On the other hand, the system and hardware requirements of the target object in running are met without increasing the cost of design and development of a system platform of the electronic equipment, so that the cost is saved, and meanwhile, the operation experience of a user is greatly improved.
Example IV
The embodiment of the invention also provides an information processing method. FIG. 4 is a flow chart of a method for processing information according to a fourth embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: and acquiring attribute information of a target object and environment information to be operated of the target object.
The information processing method of the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment can be a PC (personal computer), such as a desktop computer, a notebook computer, a workstation and the like, and the electronic equipment supports operation of a target object, and the target object is an application program with a certain function; preferably, the target object in this embodiment may be a professional application, and the professional application may occupy a relatively large resource during the running process. The target object, such as the professional drawing application CAD, creo, etc., is of course not limited to the professional drawing application described above, and other professional application may be applied to the target object in the present embodiment.
Here, the attribute information of the target object includes: the type, size, application platform (e.g., win2003, win8, win7, win xp, vista, etc.), system resources required by the runtime (e.g., application platform requires Win2003 and above, system memory is greater than 2G, etc.), etc.
Here, the environmental information to be executed by the target object includes current system resource occupation conditions of the electronic device, including CPU utilization rate, memory occupation conditions, current process information, and the like.
Step 402: and acquiring attribute information of hardware equipment in the electronic equipment.
Here, the hardware device in the electronic device is any hardware device in the electronic device, including a CPU, a graphics card, a memory, a hard disk, and the like; the attribute information of the hardware device includes, but is not limited to, CPU main frequency, bus bandwidth, secondary buffer capacity, memory capacity, hard disk capacity, graphics card type, graphics card chip, video memory capacity, network card type, input/output interface (I/O), video interface, audio interface, etc. Specifically, in this step, the obtaining attribute information of the hardware device in the electronic device includes: and obtaining the attribute information of the hardware device from a device manager of the electronic device.
Step 403: and determining the hardware equipment to be adjusted in the electronic equipment based on the attribute information of the target object.
Here, the attribute information of the target object includes a type of the target object, for example: graphic image processing types (e.g., CAD, etc.), application tool types (e.g., data recovery, optimization settings, etc.), programming development types (e.g., database types, programming tools, installation artifacts, etc.), industry management types (e.g., financial management), etc. Wherein each target object runs with resources of the respective hardware in the electronic device, but different types of target objects have different demands on the hardware and the running environment in the electronic device. For example, graphics image processing type software has a higher demand for display attributes of electronic devices than other software, in addition to computing processing power. As another example, for certain industry management types of software, where a large amount of computation is required during operation, the demand for computing processing power of the electronic device is greater. Based on this, i.e. based on the property information of the target object, in particular based on the type of the target object, the hardware device to be adjusted is determined.
Step 404: and obtaining historical operation data of the target object.
In this embodiment, when the electronic device runs the target object each time, system resources occupied by running the target object are recorded as the historical running data, where the historical running data may include running parameters of hardware devices in the electronic device, including memory occupation size, video memory occupation size, power consumption of a video card, and the like, when the target object runs, and the historical running data is not limited to the above running parameters.
Step 405: and automatically determining the adjustment parameters of the hardware equipment to be adjusted based on the environment information to be operated of the target object, the attribute information of the hardware equipment and the historical operation data.
Here, the electronic device determines the adjustment parameters of the hardware device to be adjusted preferentially according to the historical operation data based on the environmental information to be operated of the target object, specifically based on the current system resource occupation condition including CPU usage rate, memory occupation condition, current process information and the like. Preferably, when the current system resource is insufficient to satisfy the historical operation data, the electronic device may determine a process that can be closed, or a process that can reallocate system resources, based on the current environmental information, further closing the process, or reallocating the minimum system resource supporting operation for the process, thereby releasing part of the system resources, and providing more system resources for the target object to satisfy or as much as possible satisfy the historical operation data; allocating an adjustment parameter of the hardware device to be adjusted to the target object based further on the historical operating data, wherein the adjustment parameter can be at least one of the following parameters: memory size, video memory size, network bandwidth of N1 size, main frequency bandwidth of N2 size, power consumption of video card, etc.; wherein, N1 and N2 are both positive numbers.
Step 406: and redriving the hardware equipment to be adjusted based on the adjustment parameters.
In this embodiment, the electronic device redrives the hardware device to be adjusted based on the adjusted adjustment parameter of the adjusted hardware device, so that the hardware device in the electronic device runs the target object based on the reassigned adjustment parameter.
By adopting the technical scheme of the embodiment of the invention, the hardware equipment to be adjusted in the electronic equipment is determined according to the different attribute information of the target object, so that the operation parameters of the hardware equipment to be adjusted are adjusted, the optimization of the system and hardware resources required by the target object according to the current environment information of the electronic equipment and the type of the target object is realized, the optimal system and hardware resources are preferentially provided for the target object when the target object operates, the smoothness of the target object during operation is improved, and the use experience of a user is greatly improved. On the other hand, the system and hardware requirements of the target object in running are met without increasing the cost of design and development of a system platform of the electronic equipment, so that the cost is saved, and meanwhile, the operation experience of a user is greatly improved.
Based on the information processing method described in the first to fourth embodiments, in the information processing method described in the embodiment of the present invention, a dedicated interface for adjusting adjustment parameters of a hardware device in an electronic device is provided in the electronic device, and based on the dedicated interface, a user is supported to manually or automatically adjust the adjustment parameters of the hardware device to be adjusted. Specifically, fig. 5a to fig. 5c are schematic application scenarios of an information processing method in an embodiment of the present invention; as shown in fig. 5a, the electronic device obtains a plurality of target objects (i.e. application software) pre-installed in the electronic device, and displays a trigger interface of the at least one target object (which may be understood as an icon for starting the target object); or the electronic equipment obtains at least one target object (namely application software) running in the latest time of the electronic equipment, and displays a trigger interface of the at least one target object. After the trigger interface of the at least one target object is displayed, the user may determine the target object to be operated through a trigger operation, and the determined target object is Creo as shown in fig. 5 a. Further, the adjusting parameters of the hardware device to be adjusted according to the embodiment of the present invention are executed based on the determined target object, specifically, as shown in fig. 5b, the hardware device to be adjusted is determined to be a graphics card (NVIDIA GRID K2), and the current power consumption of the graphics card is determined to be 225 watts (W) and is raised to 240W; after the user determines to raise the power consumption of the graphics card, the graphics card is re-driven based on the power consumption of 240W, and after the driving is successful, the display card is shown in fig. 5 c.
Example five
The embodiment of the invention also provides electronic equipment. Fig. 6 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present invention, as shown in fig. 6, where the electronic device includes: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein,,
the acquiring unit 61 is configured to acquire attribute information of a target object and environmental information to be run by the target object; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment;
the determining unit 62 is configured to determine a hardware device to be adjusted in the electronic device based on the attribute information of the target object acquired by the acquiring unit 61, and determine an adjustment parameter of the hardware device to be adjusted based on the environmental information to be operated by the target object and the attribute information of the hardware device;
the control unit 63 is configured to redrive the hardware device to be adjusted based on the adjustment parameter determined by the determining unit 62.
It should be understood by those skilled in the art that the functions of the processing units in the electronic device according to the embodiment of the present invention may be understood by referring to the foregoing description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by using an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by executing software that implements the functions described in the embodiment of the present invention on an intelligent terminal.
Example six
The embodiment of the invention also provides an electronic device, as shown in fig. 6, which comprises: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein,,
the acquiring unit 61 is configured to acquire attribute information of a target object and environmental information to be run by the target object; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment; wherein the attribute information of the target object includes: the type of the target object;
the determining unit 62 is configured to determine a first hardware device and a second hardware device in an electronic device based on the type of the target object acquired by the acquiring unit 61; the importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object; the method comprises the steps of improving first adjustment parameters of first hardware equipment based on the environment information to be operated of the target object and the attribute information of the hardware equipment, and/or reducing second adjustment parameters of second hardware equipment based on the environment information to be operated of the target object and the attribute information of the hardware equipment; the first adjustment parameter supports improving the performance of the first hardware device; the second tuning parameter supports reducing performance of the second hardware device;
The control unit 63 is configured to redrive the hardware device to be adjusted based on the first adjustment parameter and/or the second adjustment parameter determined by the determining unit 62.
It should be understood by those skilled in the art that the functions of the processing units in the electronic device according to the embodiment of the present invention may be understood by referring to the foregoing description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by using an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by executing software that implements the functions described in the embodiment of the present invention on an intelligent terminal.
Example seven
The embodiment of the invention also provides an electronic device, as shown in fig. 6, which comprises: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein, the electronic equipment includes: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein,,
the acquiring unit 61 is configured to acquire attribute information of a target object and environmental information to be run by the target object; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment;
the determining unit 62 is configured to determine a hardware device to be adjusted in the electronic device based on the attribute information of the target object acquired by the acquiring unit 61, and determine an adjustment parameter range of the hardware device to be adjusted based on the environmental information to be operated by the target object and the attribute information of the hardware device; outputting the adjustment parameter range through a preset modulation interface; acquiring a first operation based on the adjustment parameter range, and determining adjustment parameters of the hardware equipment to be adjusted according to the first operation;
The control unit 63 is configured to redrive the hardware device to be adjusted based on the adjustment parameter determined by the determining unit 62.
It should be understood by those skilled in the art that the functions of the processing units in the electronic device according to the embodiment of the present invention may be understood by referring to the foregoing description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by using an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by executing software that implements the functions described in the embodiment of the present invention on an intelligent terminal.
Example eight
The embodiment of the invention also provides an electronic device, as shown in fig. 6, which comprises: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein, the electronic equipment includes: an acquisition unit 61, a determination unit 62, and a control unit 63; wherein,,
the acquiring unit 61 is configured to acquire attribute information of a target object and environmental information to be run by the target object; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment; the method is also used for obtaining historical operation data of the target object;
the determining unit 62 is configured to determine a hardware device to be adjusted in the electronic device based on the attribute information of the target object acquired by the acquiring unit 61; automatically determining adjustment parameters of the hardware device to be adjusted based on the environmental information to be operated of the target object, the attribute information of the hardware device and the historical operation data acquired by the acquisition unit 61;
The control unit 63 is configured to redrive the hardware device to be adjusted based on the adjustment parameter determined by the determining unit 62.
It should be understood by those skilled in the art that the functions of the processing units in the electronic device according to the embodiment of the present invention may be understood by referring to the foregoing description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by using an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by executing software that implements the functions described in the embodiment of the present invention on an intelligent terminal.
In the fifth to eighth embodiments of the present invention, the acquiring unit 61, the determining unit 62 and the control unit 63 in the electronic device may be implemented by a central processing unit (CPU, central Processing Unit), a digital signal processor (DSP, digital Signal Processor) or a programmable gate array (FPGA, field-Programmable Gate Array) in the electronic device in practical application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. An information processing method, the method comprising:
acquiring attribute information and to-be-operated environment information of a target object, wherein the to-be-operated environment information at least comprises the resource occupation condition of a current system, and the target object comprises an application;
acquiring attribute information of hardware equipment in the electronic equipment;
determining a hardware device to be adjusted in the electronic device based on the attribute information of the target object, and determining an adjustment parameter range of the hardware device to be adjusted based on the resource occupation condition of the current system and the attribute information of the hardware device; the adjustment parameter range is used for indicating system resources which can be allocated for the target object; wherein the system resources capable of being allocated to the target object include system resources capable of being released or system resources capable of being allocated to the target object again;
releasing the system resources which can be released or reallocating the system resources based on the adjustment parameter range to obtain adjusted system resources;
distributing the adjusting parameters of the hardware equipment to be adjusted to the target object based on the adjusted system resources;
and redriving the hardware equipment to be adjusted based on the adjustment parameters.
2. The method of claim 1, wherein the attribute information of the target object includes: the type of the target object; the determining the hardware device to be adjusted in the electronic device based on the attribute information of the target object comprises the following steps:
determining a first hardware device and/or a second hardware device in the electronic device based on the type of the target object;
the importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object.
3. The method of claim 2, wherein the adjustment parameters include first adjustment parameters of the first hardware device, and wherein assigning adjustment parameters of a hardware device to be adjusted to the target object further comprises:
based on the adjustment parameter range, the first adjustment parameter of the first hardware device is promoted; the first tuning parameter supports enhancing performance of the first hardware device.
4. The method of claim 2, wherein the adjustment parameters include a second adjustment parameter of the second hardware device, and wherein assigning the adjustment parameters of the hardware device to be adjusted to the target object further comprises:
Reducing a second adjustment parameter of the second hardware device based on the adjustment parameter range; the second tuning parameter supports reducing performance of the second hardware device.
5. The method of claim 1, wherein assigning adjustment parameters of a hardware device to be adjusted to the target object further comprises:
outputting the adjustment parameter range through a preset modulation interface;
and acquiring a first operation based on the adjustment parameter range, and determining the adjustment parameters of the hardware equipment to be adjusted according to the first operation.
6. The method of claim 1, wherein assigning adjustment parameters of a hardware device to be adjusted to the target object further comprises:
obtaining historical operation data of the target object;
and automatically determining the adjustment parameters of the hardware equipment to be adjusted based on the adjustment parameter range and the historical operation data.
7. An electronic device, the electronic device comprising: the device comprises an acquisition unit, a determination unit and a control unit; wherein,,
the acquisition unit is used for acquiring attribute information of a target object and information of an environment to be operated, wherein the information of the environment to be operated at least comprises the resource occupation condition of a current system; the method is also used for acquiring attribute information of hardware equipment in the electronic equipment, and the target object comprises an application;
The determining unit is configured to determine a hardware device to be adjusted in the electronic device based on the attribute information of the target object acquired by the acquiring unit, and determine an adjustment parameter range of the hardware device to be adjusted based on the resource occupation condition of the current system and the attribute information of the hardware device; the adjustment parameter range is used for indicating system resources which can be allocated for the target object; wherein the system resources capable of being allocated to the target object include system resources capable of being released or system resources capable of being allocated to the target object again; releasing the system resources which can be released or reallocating the system resources based on the adjustment parameter range to obtain adjusted system resources; distributing the adjusting parameters of the hardware equipment to be adjusted to the target object based on the adjusted system resources;
and the control unit is used for redriving the hardware equipment to be regulated based on the regulation parameters determined by the determination unit.
8. The electronic device of claim 7, wherein the attribute information of the target object comprises: the type of the target object; the determining unit is used for determining a first hardware device and a second hardware device in the electronic device based on the type of the target object; the importance degree of the first hardware device on the target object is higher than that of the second hardware device on the target object.
9. The electronic device of claim 8, wherein the determining unit is configured to boost a first adjustment parameter of the first hardware device based on the adjustment parameter range; the first tuning parameter supports enhancing performance of the first hardware device.
10. The electronic device of claim 8, wherein the determining unit is configured to reduce a second adjustment parameter of the second hardware device based on the adjustment parameter range; the second tuning parameter supports reducing performance of the second hardware device.
11. The electronic device according to claim 7, wherein the determining unit is configured to output the adjustment parameter range through a preset modulation interface; and acquiring a first operation based on the adjustment parameter range, and determining the adjustment parameters of the hardware equipment to be adjusted according to the first operation.
12. The electronic device of claim 7, wherein the obtaining unit is further configured to obtain historical operating data of the target object;
and the determining unit is used for automatically determining the adjusting parameters of the hardware equipment to be adjusted based on the adjusting parameter range and the historical operation data.
CN201510391844.8A 2015-07-06 2015-07-06 Information processing method and electronic equipment Active CN106326001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510391844.8A CN106326001B (en) 2015-07-06 2015-07-06 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510391844.8A CN106326001B (en) 2015-07-06 2015-07-06 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106326001A CN106326001A (en) 2017-01-11
CN106326001B true CN106326001B (en) 2023-07-21

Family

ID=57727495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510391844.8A Active CN106326001B (en) 2015-07-06 2015-07-06 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106326001B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958829B (en) * 2018-05-21 2021-06-08 Oppo广东移动通信有限公司 Pre-loaded resource control method, device, storage medium and terminal
CN109710330B (en) * 2018-12-20 2022-04-15 Oppo广东移动通信有限公司 Method and device for determining running parameters of application program, terminal and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182688A (en) * 2014-08-26 2014-12-03 北京软安科技有限公司 Android malicious code detection device and method based on dynamic activation and behavior monitoring

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8225324B2 (en) * 2008-05-15 2012-07-17 International Business Machines Corporation Resource management on a computer system utilizing hardware and environmental factors
CN102479108B (en) * 2010-11-26 2013-09-11 中国科学院声学研究所 Terminal resource management system for multi-application process embedded system and method
CN102073504A (en) * 2011-01-21 2011-05-25 深圳创维数字技术股份有限公司 Multi-scene operating method, multi-scene operating system and intelligent device
CN103530185B (en) * 2012-07-02 2018-12-04 南京中兴新软件有限责任公司 Method for optimizing resources and device
CN103430151B (en) * 2012-07-06 2016-11-16 华为终端有限公司 A kind of resource allocation method and device
CN104734996B (en) * 2015-04-07 2018-11-27 广东维沃软件技术有限公司 Network bandwidth allocation method and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182688A (en) * 2014-08-26 2014-12-03 北京软安科技有限公司 Android malicious code detection device and method based on dynamic activation and behavior monitoring

Also Published As

Publication number Publication date
CN106326001A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US20170300359A1 (en) Policy based workload scaler
CN108829469B (en) Application page display method and device
CN111045814A (en) Resource scheduling method and terminal equipment
CN113849312B (en) Data processing task allocation method and device, electronic equipment and storage medium
CN111373372B (en) Assigning priorities to applications for diagonal scaling in a distributed computing environment
US10552198B2 (en) Distribution of applications among machines in a cloud
US10411977B2 (en) Visualization of workload distribution on server resources
US10216530B2 (en) Method for mapping between virtual CPU and physical CPU and electronic device
CN109684080B (en) Centralized task scheduling method, system and storage medium
CN109684000B (en) APP data display method, device, equipment and computer readable storage medium
CN111104219A (en) Binding method, device, equipment and storage medium of virtual core and physical core
CN111190739A (en) Resource allocation method and device, electronic equipment and storage medium
KR20140145748A (en) Method for allocating process in multi core environment and apparatus therefor
CN110795238A (en) Load calculation method and device, storage medium and electronic equipment
CN106326001B (en) Information processing method and electronic equipment
CN113032102A (en) Resource rescheduling method, device, equipment and medium
KR20160071685A (en) Scratchpad memory management method, scratchpad memory management apparatus performing the same and storage medium storing the same
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
US10114438B2 (en) Dynamic power budgeting in a chassis
CN110795323A (en) Load statistical method, device, storage medium and electronic equipment
CN113521753A (en) System resource adjusting method, device, server and storage medium
JP2018190355A (en) Resource management method
CN116450290A (en) Computer resource management method and device, cloud server and storage medium
TWI512485B (en) Method and system for managing servers for signing
CN115237240A (en) Method and device for managing power of multi-partition platform

Legal Events

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