CN112295235B - Processing method and processing device - Google Patents

Processing method and processing device Download PDF

Info

Publication number
CN112295235B
CN112295235B CN202011197483.0A CN202011197483A CN112295235B CN 112295235 B CN112295235 B CN 112295235B CN 202011197483 A CN202011197483 A CN 202011197483A CN 112295235 B CN112295235 B CN 112295235B
Authority
CN
China
Prior art keywords
input
application process
data
application
determining
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
CN202011197483.0A
Other languages
Chinese (zh)
Other versions
CN112295235A (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 CN202011197483.0A priority Critical patent/CN112295235B/en
Publication of CN112295235A publication Critical patent/CN112295235A/en
Application granted granted Critical
Publication of CN112295235B publication Critical patent/CN112295235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a processing method and a processing device, wherein the processing method comprises the following steps: monitoring to newly build an application process, and determining the operating environment required by the newly built application process; if the operating environment required by the application process cannot be determined, behavior data acting on the application process is obtained, so that the operating mode of the electronic equipment can be adjusted at least according to the behavior data.

Description

Processing method and processing device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a processing method and a processing apparatus.
Background
The running environments required by the application processes on the electronic device are different, for example, the game application has a large resource requirement, and a user inevitably encounters the problems of unclear display or unsmooth running in the game process.
However, in different operation modes of the electronic device, the configured resources are different, and when different application processes are enabled, such as operating in the same operation mode of the electronic device, an application with high resource consumption or an application with low resource consumption may not match the operation mode of the electronic device, for example, resources required by both a game application and an office application are different, both of them operate in the same operation mode of the electronic device, or fluency of the game application is not good, or the office application does not need the configured resources in the operation mode at all.
Disclosure of Invention
The embodiment of the application provides the following scheme:
a method of processing, comprising:
monitoring to newly build an application process, and determining the operating environment required by the newly built application process;
if the operating environment required by the application process cannot be determined, behavior data acting on the application process is obtained, so that the operating mode of the electronic equipment can be adjusted at least according to the behavior data.
In some embodiments, determining the execution environment required by the newly created application process includes:
obtaining a preset application list, and if the application process is in the preset application list, determining an operating environment required by the application process according to the operating environment corresponding to the preset application list; or the like, or, alternatively,
acquiring a file access path when the application process is newly built, and determining the operating environment required by the application process according to the file access path; or the like, or, alternatively,
and obtaining historical operation data of the application process, and determining the operation environment required by the application process according to the historical operation data.
In some embodiments, obtaining behavioural data acting on the application process to enable at least an adjustment of an operating mode of an electronic device in dependence on the behavioural data comprises:
obtaining historical behavior data acting on the application process, and determining an operation environment required by the application process at least according to the historical behavior data so as to adjust an operation mode of the electronic equipment at least according to the operation environment; or the like, or, alternatively,
obtaining input data acting on an input component of the electronic equipment, wherein the input data is used for operating the application process, and determining the operating environment required by the application process at least according to the input data so as to switch the electronic equipment from the current first operating mode to the second operating mode at least according to the operating environment.
In some embodiments, obtaining input data for an input component of an electronic device, determining a required execution environment for the application process based at least on the input data, comprises:
obtaining input data and a corresponding weight value of the input data, wherein the input data and the corresponding weight value act on an input component of electronic equipment, and generating an input thermodynamic diagram of the input component according to the input data and the corresponding weight value;
and determining the required running environment of the application process according to the input thermodynamic diagram.
In some embodiments, obtaining input data and corresponding weights applied to an input component of an electronic device, and generating an input thermodynamic diagram of the input component according to the input data and the corresponding weights, includes:
obtaining key operation data of a keyboard acting on the electronic equipment in a first time period, and processing the key operation data at least according to weights corresponding to different key operations to obtain a key point thermodynamic diagram of the keyboard, wherein the weight corresponding to a single key operation is different from the weight corresponding to a combined key operation; or the like, or, alternatively,
acquiring touch operation data acting on a touch component of the electronic equipment in a second time period, and processing the touch operation data at least according to weights corresponding to different touch operations to obtain a touch point thermodynamic diagram of the touch component, wherein the weight corresponding to a single-point touch operation is different from the weight corresponding to a multi-point touch operation; or the like, or, alternatively,
and obtaining the use data of the keyboard and the mouse of the electronic equipment in a third time period, and processing the use data at least according to the weight values corresponding to different use modes to obtain the use thermodynamic diagrams of the mouse and the keyboard, wherein the weight values corresponding to the keyboard and the mouse which are used independently or the mouse are different from the weight values corresponding to the keyboard and the mouse which are used simultaneously.
In some embodiments, the processing method further comprises:
determining an initial weight value corresponding to the input data at least according to the operating environment and/or the file access path when the application process is newly built; and/or the presence of a gas in the atmosphere,
and adjusting the corresponding weight value at least according to the input data in the input process.
In some embodiments, adjusting the corresponding weight value according to at least the input data in the input process includes: adjusting the corresponding weight value at least according to the interval duration of key operation aiming at the keyboard or the interval duration of touch operation aiming at the touch control component, or if the key operation aiming at the keyboard or the touch control operation aiming at the touch control component is increased, increasing the weight value corresponding to the key operation or the touch control operation according to a preset adjustment strategy; and/or the presence of a gas in the atmosphere,
the time for generating the input thermodynamic diagram of the input component can be correspondingly adjusted according to the adjustment of the weight value.
In some embodiments, determining the required execution environment for the application process from the input thermodynamic diagram comprises:
determining a region of the input thermodynamic diagram, wherein the heat degree of the region meets a first threshold range, and obtaining a first average heat degree of the region;
obtaining a second average heat of an input area of the input component according to the input thermodynamic diagram;
and calculating a difference value between the first average heat and the second average heat, determining the type of the application process according to the difference value at least, and determining the required running environment according to the type of the application process at least.
In some embodiments, further comprising: and adding the application process into a corresponding preset application list according to the type of the application process so as to determine a required operating environment according to the preset application list when the application process is newly built.
The present application also provides a processing apparatus, comprising:
the monitoring module is configured to monitor a newly-built application process and determine an operating environment required by the newly-built application process;
an adjusting module configured to obtain behavior data acting on the application process to enable at least an operation mode of the electronic device to be adjusted according to the behavior data.
The embodiment of the present application further provides an electronic device, which at least includes a memory, a processor and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor and the memory communicate with each other through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method provided in any embodiment of the present application are performed.
Embodiments of the present application further provide a storage medium carrying one or more programs which, when executed, implement the steps of the method provided in any of the above embodiments of the present application.
The beneficial effects of the embodiment of the application are that: the operating environment required by the newly-built application process is determined through the behavior data, and then the operating mode of the electronic equipment can be automatically adjusted, so that the requirements of different application processes are met, the power consumption is saved, the performance of the equipment is improved, and the service life of the equipment is prolonged. The method and the device can detect the lightweight application process in many application scenes to effectively cover the lightweight application process, can respond to the entry and exit of the application process in time, and are high in instantaneity, so that the user experience is improved.
Drawings
FIG. 1 is a flow chart of a processing method of an embodiment of the present application;
FIG. 2 is a schematic view of an embodiment of the present application;
FIG. 3 is a schematic view of another embodiment of the present application;
FIG. 4 is a block flow diagram of a processing method according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of alternative forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
All the embodiments in the application are suitable for triggering the processing method of the embodiments in response to occurrence of an application process under a preset condition, so as to configure an adaptive operating environment for the application process, and specifically, a scene of an operating mode of an electronic device can be adjusted according to behavior data of the application process under the condition that the operating environment cannot be determined. The running environment includes hardware functions of the electronic device, such as an image display function, and resources, such as network speed, a CPU, a memory, and the like, on which the application runs; the operation mode of the electronic device may be set based on the requirement of the application during operation, for example, the operation mode may be a normal operation mode, or a high energy consumption mode with fully opened output effects such as pictures, videos, sound effects, or the like, or an energy saving mode with a relatively low display effect, or the like. The application scenario of the application can be, for example, a situation of entering a game application or an office application, and when entering the game application, for example, the running environment required by the newly-built application process is a game running environment, and is a running environment configured based on resources relied on by the game application; when entering the office application, the operating environment required by the newly-built application process is the office application operating environment, and at this time, the operating environment is configured based on the resources depended by the office application.
An embodiment of the present application provides a processing method, as shown in fig. 1, including the following steps:
s1, monitoring the new application process, and determining the operation environment required by the new application process.
In this step, when the newly created application process is monitored, the required operating environment is determined according to the newly created application process. If the game application is started, the operation environment required by the newly-built application process is the game operation environment, under the operation environment, for the smoothness of game operation and good display effect, the output effects of pictures, videos, sound effects and the like need to be improved to a higher level, the priority of the game application process is correspondingly improved, and the occupied network speed resources, CPU resources, memory resources and the like are more; when the application enters the office application, the operation environment required by the newly-built application process is the office application operation environment, and the required display effect, network speed resources, CPU resources, memory resources and the like are relatively low in the operation environment configured based on the resources depended by the office application. In some embodiments, the application process condition of the system may be monitored in real time, the application process of the system may be acquired at intervals, or a certain type of process may be monitored based on an API called by the application process.
S2, if the operating environment required by the application process cannot be determined, obtaining behavior data acting on the application process, so as to at least adjust the operating mode of the electronic device according to the behavior data.
In this step, in the case that the operating environment required by the newly created application process cannot be directly determined, the behavior data acting on the application process may be acquired, so that the operating mode of the electronic device may be adjusted at least according to the behavior data. Specifically, the operating environment required by the application process may be determined based on the acquired behavior data, and the operating mode of the electronic device may be adjusted according to the operating environment required by the application process. For example, when it is determined that the operation environment required by the application process is the game operation environment based on the acquired behavior data, the operation mode of the electronic device may be adjusted to be the high-energy-consumption mode to improve the user experience of the game application operation, and at this time, each display output effect of the electronic device is at a higher level to improve the display effect of the game application. In some embodiments, the game application process may be prioritized, and other unnecessary processes may be closed to release more resources, so as to allocate more network speed resources, CPU resources, and memory resources to the game application, thereby improving the smoothness of the game application.
In the embodiments of the application, at least judgment and attention of the system to the process are realized, so that the system does not judge and pay attention to the application program, an operating environment required by determining a newly-built application process through behavior data is provided, and then the operating mode of the electronic equipment can be automatically adjusted, so that the requirements of different application processes are met, the power consumption is saved, and the performance and the service life of the equipment are improved. The method and the device can detect the lightweight application process in many application scenes to effectively cover the lightweight application process, can respond to the entry and exit of the application process in time, have high real-time performance, and improve user experience.
In some embodiments, in order to determine the operating environment required by the newly-created application process, a preset application list is obtained to perform a determination, and if the application process is in the preset application list, the operating environment required by the application process is determined according to the operating environment corresponding to the preset application list. In this embodiment, the preset application list may be a game application list, and an application process corresponding to an application listed in the game application list requires a game running environment; the preset application list may also be an office application list, and the application process corresponding to the application listed in the office application list needs to be an office operating environment. The preset application list can be stored on the electronic device, or can be stored on other terminals capable of communicating with the electronic device, or can be stored on the cloud server, so that when an application process is newly built, the electronic device can call the preset application list from the local, or can communicate with other terminals to acquire the preset application list, or send a request to the cloud server to acquire the preset application list, and accordingly the running environment required by the application process is determined through the running environment corresponding to the application process in the acquired preset application list. In some embodiments, according to different setting modes and storage modes of the preset application list, the application list can be updated and maintained based on a historical operating state of the electronic device, and the application list can also be updated and maintained based on a cloud server according to big data analysis.
In this embodiment, in order to determine the operating environment required by the newly-built application process, a file access path when the application process is newly built may be obtained, and if an application process is started, a file required by the application process needs to be locally loaded or communicated with a cloud storage or a processor, so that a file (command/data) access path when the application process is started can be determined to determine the operating environment required by the application process according to the file access path. Specifically, it may be determined that the game execution environment is required for the application process according to whether a file access path performed by the application includes a keyword related to a game, for example, a chinese name or an english name of the game or a corresponding name abbreviation.
In this embodiment, in order to determine the operating environment required by the newly-built application process, the operating environment required by the application process may be determined according to historical operating data obtained by obtaining the historical operating data of the application process. Specifically, the historical behavior data may include a historical operating time, an operating location, a state of an operating device, or an operating behavior data of the application process by the user, for example, when the operating time of the application process is 3 hours, the operating time is 8:00-11:00 pm, the process operating location includes an office location, a learning location, a home location, and the like, the operating behavior data of the application process by the user includes input data of the user during the operating process of the application process, such as key input data, mouse input data, eye movement data, user physiological data, voice data, image data, and the like, then it may be determined that the application process needs a game operating environment based on the historical data, and of course, it may further be determined according to a state of the electronic device at that time, for example, whether a power supply unit of the electronic device is always in a high power consumption state at that time, whether the heat dissipation unit of each fan system of the electronic device is also in a high heat dissipation state or not can further determine that the application process needs a game running environment.
In some embodiments, in order to obtain the behavior data acting on the application process so as to enable at least the operation mode of the electronic device to be adjusted according to the behavior data, historical behavior data acting on the application process may be obtained, and an operation environment required by the application process is determined according to at least the historical behavior data so as to enable at least the operation mode of the electronic device to be adjusted according to the operation environment. In this embodiment, the required operating environment may be determined according to the deep learning model from the trained historical behavior data acting on the application process, that is, the operating environment required by the application process is determined based on the operating environment corresponding to the trained historical behavior data acting on the application process, and then the operating mode of the electronic device is adjusted according to the determined operating environment, for example, when the required operating environment is determined to be a game environment, the operating mode of the electronic device may be adjusted to a high energy consumption mode; if the required operation environment is an office application environment, the operation mode of the electronic equipment can be adjusted to a normal working mode or an energy-saving mode, so that the required configuration of different application processes is adapted.
In this embodiment, in order to obtain the behavior data acting on the application process, so as to adjust the operation mode of the electronic device at least according to the behavior data, the method may further include obtaining input data acting on an input component of the electronic device, where the input data is used to operate the application process, and determining an operation environment required by the application process at least according to the input data, so as to switch the electronic device from the current first operation mode to the second operation mode at least according to the operation environment. The operation behavior data of the user on the application process comprises input data of the user in the running process of the application process, such as key input data, mouse input data, eyeball movement data, user physiological data, voice data, image data and the like. Specifically, the input data applied to the input component of the electronic device may include input data applied to a keyboard, a touch pad, a microphone, or the like of the electronic device, and the operating environment required by the application process is determined according to the corresponding input data, for example, when the required operating environment is a game environment, the operating mode of the electronic device may be adjusted from a current normal operating mode to a high-power-consumption mode, so as to improve the smoothness of game application operation; if the required operation environment is an office application environment, the operation mode of the electronic equipment can be adjusted from the current normal operation mode to an energy-saving mode, so that the operation environment is met and energy is saved.
Further, obtaining input data acting on an input component of the electronic device, and determining an execution environment required by the application process at least according to the input data, includes: obtaining input data and a corresponding weight value of the input data, wherein the input data and the corresponding weight value act on an input component of electronic equipment, and generating an input thermodynamic diagram of the input component according to the input data and the corresponding weight value; and determining the required running environment of the application process according to the input thermodynamic diagram. The input components corresponding to different application processes and the input data of each input component are different, so that the input thermodynamic diagram of the input component can be generated according to the input data and the corresponding weight value obtained by each input component, and the operating environment required by the application process is determined according to the input thermodynamic diagram of the input component. Specifically, as shown in fig. 2 and fig. 3, fig. 2 and fig. 3 are input thermodynamic diagrams drawn based on operation data and corresponding weights of a user for keyboard keys in different application processes, and it can be seen from the input thermodynamic diagrams that the operation data of the user for the keyboard keys are different in different application processes, in the input thermodynamic diagram shown in fig. 2, a range of an input area is small, the used keys are relatively fixed and concentrated, and the displayed heat on the corresponding keys is also high, and it can be determined that the application process is a game application, and the application process needs a game running environment; in the input thermodynamic diagram shown in fig. 3, the input area is wide, the keys used are relatively dispersed, and the displayed heat on the corresponding keys is relatively average, so that it can be determined that the application process is an office application, and the application process needs an office application operating environment. Of course, the input thermodynamic diagrams in some embodiments of the present application are shown in fig. 2 and fig. 3 in the scope of input areas, and in other embodiments, the construction of the input thermodynamic diagrams may also be implemented by detecting operation records of specific areas on an input device, such as a keyboard, for example, a certain type of application process may involve a keyboard area and a function key which are operated at a high frequency.
Specifically, in order to obtain input data and a weight value corresponding to the input data, which act on an input component of the electronic device, and generate an input thermodynamic diagram of the input component according to the input data and the weight value corresponding to the input data, key operation data, which act on a keyboard of the electronic device in a first time period, may be obtained, and the key operation data is processed according to at least the weight values corresponding to different key operations, so as to obtain a key point thermodynamic diagram of the keyboard, where the weight value corresponding to a single key operation is different from the weight value corresponding to a combined key operation. For keyboard operations, for example, for game applications, there may be more single-key operations and some fixed single-keys may be operated, while for office applications, there may also be some combined-key operations, and when operating a single-key, the keys to which the operations are directed are not relatively fixed, but rather are distributed and balanced. In a specific implementation, as shown in fig. 4, the HOOK interface of the keyboard may be used to obtain operation records acting on the keyboard keys, and the operation records of the keyboard keys are processed according to corresponding weights. Specifically, when the application process is detected to be related to the game, the weight corresponding to the single key operation can be set to be higher than the weight corresponding to the combined key operation, so that the heat of the single hot key can be increased and the heat of the combined key can be reduced in the operation data of each key, and the key point thermodynamic diagram for the application process can be drawn according to the key operation data of the keyboard acting on the electronic equipment in the first time period. Of course, when it is detected that the application process is related to the office application, the weight corresponding to the combined key operation may be set to be higher than the weight corresponding to the single key operation to increase the heat corresponding to the combined key operation, so as to draw the key point thermodynamic diagram for the application process.
In this embodiment, in order to obtain input data and a weight corresponding to the input data, which are applied to an input component of an electronic device, and generate an input thermodynamic diagram of the input component according to the input data and the weight corresponding to the input data, the touch operation data may be further processed according to at least weights corresponding to different touch operations by obtaining touch operation data, which is applied to a touch component of the electronic device in a second time period, so as to obtain a touch point thermodynamic diagram of the touch component, where the weight corresponding to a single-point touch operation is different from the weight corresponding to a multi-point touch operation. Because the frequencies of the single-point touch operation and the multi-point touch operation performed by different application processes are different, in the application process related to the single-point touch operation, the weight corresponding to the single-point touch operation can be set to be higher than the weight corresponding to the multi-point touch operation to increase the heat of the single-point touch, so that the touch point thermodynamic diagram of the application process is drawn according to the touch operation data acting on the touch component of the electronic device in the second time period. Accordingly, in the application process related to the multi-touch operation, the weight corresponding to the multi-touch operation may be set to be higher than the weight corresponding to the single-touch operation to increase the heat of the multi-touch operation, so as to draw the touch point thermodynamic diagram of the application process.
In this embodiment, in order to obtain input data and a weight corresponding to the input data, which are applied to an input component of an electronic device, and generate an input thermodynamic diagram of the input component according to the input data and the weight corresponding to the input data, the usage data may be processed at least according to weights corresponding to different usage modes by obtaining usage data of a keyboard and a mouse of the electronic device in a third time period, so as to obtain the usage thermodynamic diagrams of the mouse and the keyboard, where the weight corresponding to the use of the keyboard alone or the use of the mouse is different from the weight corresponding to the use of the keyboard and the mouse simultaneously. Generally, in office applications, to increase efficiency, a keyboard is used for operation more than a mouse, and in game applications, a mouse is used for clicking frequently when a fixed single key is operated on the keyboard. In specific implementation, the operation records of the input operation acting on the keyboard and the mouse can be obtained by adopting a HOOK interface of the keyboard and the mouse, and the operation records are processed according to the corresponding weight values to obtain the use data of the keyboard and the mouse; at this time, if it is detected that the application process is related to the game application, the weight corresponding to the simultaneous use of the keyboard and the mouse may be set to be higher than the weight corresponding to the separate use of the keyboard or the mouse, so as to increase the heat of the operation of the simultaneous use of the keyboard and the mouse, thereby drawing a usage thermodynamic diagram of the mouse and the keyboard according to the usage data of the keyboard and the mouse of the electronic device in the third time period; when the application process is detected to be related to office application, the weight corresponding to the independent use of the keyboard or the mouse can be set to be higher than the weight corresponding to the simultaneous use of the keyboard and the mouse, so that the heat of the operation of independently using the keyboard or the mouse is increased, and the use thermodynamic diagrams of the mouse and the keyboard can be drawn.
Further, when setting a weight corresponding to input data of an input component of the electronic device, the method further includes: and determining an initial weight value corresponding to the input data at least according to the operating environment and/or the file access path when the application process is newly built. In specific implementation, taking the input component of the electronic device as a keyboard as an example, at this time, the required operating environment may be determined according to a newly-built application process or a file access path based on the application process, and a corresponding weight value may be set as required for input data acting on the keyboard. Of course, the required operating environment can also be determined more accurately according to the newly-built application process and the file access path of the application process. Specifically, when the newly created application process determines that the game running environment is needed, generally, a single keyboard is used for more operations in the game application, and here, an initial weight value can be set for some single keys with higher use frequency according to the needs of the specific game application, so as to increase the heat of the single keys.
In this embodiment, when setting a weight corresponding to input data of an input component of an electronic device, the method further includes: and adjusting the corresponding weight value at least according to the input data in the input process. Specifically, in the input process applied to the input unit of the electronic device, the corresponding weight may be adjusted according to the input data so that the difference in heat between the input data with a high heat and the input data with a low heat is increased, thereby shortening the time of generating the thermodynamic diagram and making the difference in heat between the input data displayed on the thermodynamic diagram more obvious.
Certainly, in some embodiments, the foregoing technical solution may be combined, and the difference in heat between input data is controlled through assignment and adjustment, that is, when a newly-built application process determines that a game running environment is required, an initial weight is set for a few single keys with higher frequency of use, so as to increase the heat of the single keys, and meanwhile, the corresponding weight may be further adjusted more accurately according to the obtained input data of the single hot key, so that the thermodynamic diagram drawn may be more accurate while the time for generating the diagram is shortened.
Further, in order to adjust the corresponding weight value according to at least the input data in the input process, the method includes: and adjusting the corresponding weight value at least according to the interval duration of key operation aiming at the keyboard or the interval duration of touch operation aiming at the touch control component. Specifically, the weight corresponding to the key operation of the keyboard may be adjusted to be decreased when the interval duration of the key operation of the keyboard exceeds the preset time, the weight corresponding to the key operation of the keyboard may be adjusted to be increased when the interval duration of the key operation of the keyboard is lower than the preset time, or the weight corresponding to the touch operation of the touch component may be adjusted to be decreased when the interval duration of the touch operation of the touch component exceeds the preset time, and the weight corresponding to the touch operation of the touch component may be adjusted to be increased when the interval duration of the touch operation of the touch component is lower than the preset time, so that the difference between the operation heat of the corresponding component with the small interval duration and the operation heat of the corresponding component with the large interval duration is more obvious.
Of course, when the key operation of the keyboard or the touch operation of the touch component is increased, the weight corresponding to the key operation or the touch operation can be increased according to a preset adjustment strategy. Corresponding conditions can be preset based on touch operation, and when the increase of key operation of a keyboard or touch operation of a touch part reaches the preset conditions, the weight corresponding to the key operation or the touch operation is increased, so that the corresponding heat degree is increased, and the generation time of the thermodynamic diagram is shortened. For example, an operation frequency may be set based on a key operation of the keyboard or a touch operation of the touch component, and when the key operation of the keyboard or the touch operation of the touch component increases to reach the operation frequency, the weight corresponding to the key operation or the touch operation is increased, so as to increase the corresponding heat.
Further, adjusting the corresponding weight value according to at least the input data in the input process, further comprising: the time for generating the input thermodynamic diagram of the input component can be correspondingly adjusted according to the adjustment of the weight value. After the weight corresponding to the input operation of the input component is correspondingly adjusted, the corresponding heat is correspondingly increased or decreased, so that the difference of the heat between the corresponding input operations is more obvious on the whole, and the time for generating the input thermodynamic diagram of the input component is shortened.
Of course, in some embodiments of the present application, the weight value corresponding to the input operation of the input unit may be adjusted by combining the foregoing weight value adjustment, and then the generation time of the input thermodynamic diagram of the input unit is adjusted correspondingly.
In some embodiments, determining the required execution environment for the application process from the input thermodynamic diagram comprises:
an area of the input thermodynamic diagram where the heat degrees meet a first threshold range is determined, and a first average heat degree of the area is obtained.
In this step, a first threshold value is set first based on the acquired input thermodynamic diagram, a region reaching the first threshold value range in the input thermodynamic diagram is determined according to the first threshold value, heat values meeting the first threshold value range are screened out, and then a first average heat corresponding to the region reaching the first threshold value range is calculated based on the screened heat values.
And obtaining a second average heat of the input area of the input component according to the input thermodynamic diagram.
In this step, the second average heat corresponding to the input region of the input member is calculated as a whole based on all the heat values corresponding to the acquired input thermodynamic diagrams.
And calculating a difference value between the first average heat and the second average heat, determining the type of the application process according to the difference value at least, and determining the required running environment according to the type of the application process at least.
In this step, a difference between the first average heat and the second average heat calculated in the previous step is calculated, and the type of the application process is determined according to the difference, so that the required operating environment of the application process can be determined according to the type of the application process. As shown in fig. 4, for example, the first average heat degree is obviously different from the second average heat degree, and when the difference is large and can exceed the preset condition, for example, when the value of the first average heat degree is greater than twice of the value of the second average heat degree, it can be considered that the operation repeatedly received by the area corresponding to the first average heat degree is more, the type of the application can be determined to be the game application, and the game running environment required by the application can be determined according to the determined type of the game application; and when the difference value is small and does not exceed the preset condition, the operation repeatedly received by the region corresponding to the first average heat is considered to be less, the type of the application can be determined to be office application, and the office application running environment required by the application is determined according to the determined office application type.
Further, the application process is added to a corresponding preset application list according to the type of the application process, so that when the application process is newly built, a required running environment can be determined according to the preset application list. Specifically, after the type of the application process is determined based on the input thermodynamic diagram, for example, after the application process is determined to be the type of the game application, the application process is added to a preset game application list, so that when the application process is newly created, the required game running environment can be quickly determined based on the game running environment corresponding to the application process in the game application list.
This application can determine its required operational environment according to newly-built application process, perhaps comes the automatically regulated electronic equipment's operation mode according to this newly-built application process for electronic equipment can be for this application process automatic construction required operational environment, with the demand that satisfies different application processes, has improved the flexibility, also can promote user experience simultaneously.
Based on the same inventive concept, an embodiment of the present application further provides a processing apparatus, as shown in fig. 5, including: the system comprises a monitoring module 10 and an adjusting module 20, wherein the monitoring module 10 is used for monitoring a newly-built application process, and the electronic equipment can determine a required operating environment according to the newly-built application process; the adjusting module 20 is configured to, under a condition that the running environment required by the application process cannot be determined, obtain behavior data acting on the application process, so as to adjust the running mode of the electronic device according to at least the behavior data. The processing device can implement the information processing method mentioned in any embodiment of the present application through the monitoring module 10 and the adjusting module 20.
In another aspect, an embodiment of the present application provides a storage medium carrying one or more programs which, when executed, implement the steps of the method provided in any embodiment of the present application.
The storage medium in the present embodiment may be one contained in an electronic device/system; or may exist alone without being assembled into an electronic device/system. The storage medium carries one or more programs that, when executed, implement a method according to an embodiment of the application.
According to embodiments of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The embodiment of the present application further provides an electronic device, which at least includes a memory 501, a processor 502, and a bus, where a schematic structural diagram of the electronic device may be as shown in fig. 6, where the memory 501 stores machine-readable instructions executable by the processor 502, and when the electronic device runs, the processor 502 and the memory 501 communicate through the bus, and the machine-readable instructions, when executed by the processor, perform the steps of the processing method provided in any embodiment of the present application.
Since the electronic device described in the embodiment of the present application is an electronic device provided with a memory for implementing the processing method disclosed in the embodiment of the present application, based on the processing method described in the embodiment of the present application, a person skilled in the art can understand the structure and the variation of the electronic device described in the embodiment of the present invention, and thus details are not described here.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A method of processing, comprising:
monitoring to newly build an application process, and determining the operating environment required by the newly built application process;
if the running environment required by the application process cannot be determined, behavior data acting on the application process is obtained, so that the running mode of the electronic equipment can be adjusted at least according to the behavior data;
wherein the content of the first and second substances,
the method comprises the steps of obtaining input data and corresponding weight values of the input data, wherein the input data and the corresponding weight values act on an input component of the electronic equipment, generating an input thermodynamic diagram of the input component at least according to the input data and the corresponding weight values, and adjusting an operation mode of the electronic equipment according to the input thermodynamic diagram, wherein in the input process, the weight values can be adjusted based on operation interval duration and/or operation frequency of the input component.
2. The method of claim 1, wherein determining the operating environment required by the newly created application process comprises:
obtaining a preset application list, and if the application process is in the preset application list, determining an operating environment required by the application process according to the operating environment corresponding to the preset application list; or the like, or, alternatively,
acquiring a file access path when the application process is newly built, and determining the operating environment required by the application process according to the file access path; or the like, or, alternatively,
and obtaining historical operation data of the application process, and determining the operation environment required by the application process according to the historical operation data.
3. The method of claim 1 or 2, wherein obtaining behavior data acting on the application process to enable at least an adjustment of an operating mode of the electronic device based on the behavior data comprises:
and determining the operating environment required by the application process at least according to the input data, and switching the electronic equipment from the current first operating mode to the second operating mode at least according to the operating environment.
4. The method of claim 3, wherein obtaining input data for an input component acting on an electronic device, determining an execution environment required for the application process based at least on the input data, comprises:
and determining the required running environment of the application process according to the input thermodynamic diagram.
5. The method of claim 4, wherein obtaining input data and corresponding weights applied to an input component of an electronic device, and generating an input thermodynamic diagram of the input component according to the input data and the corresponding weights comprises:
obtaining key operation data of a keyboard acting on the electronic equipment in a first time period, and processing the key operation data at least according to weights corresponding to different key operations to obtain a key point thermodynamic diagram of the keyboard, wherein the weight corresponding to a single key operation is different from the weight corresponding to a combined key operation; or the like, or, alternatively,
acquiring touch operation data acting on a touch component of the electronic equipment in a second time period, and processing the touch operation data at least according to weights corresponding to different touch operations to obtain a touch point thermodynamic diagram of the touch component, wherein the weight corresponding to a single-point touch operation is different from the weight corresponding to a multi-point touch operation; or the like, or, alternatively,
and obtaining the use data of the keyboard and the mouse of the electronic equipment in a third time period, and processing the use data at least according to the weight values corresponding to different use modes to obtain the use thermodynamic diagrams of the mouse and the keyboard, wherein the weight values corresponding to the keyboard and the mouse which are used independently or the mouse are different from the weight values corresponding to the keyboard and the mouse which are used simultaneously.
6. The method of claim 4 or 5, further comprising:
determining an initial weight value corresponding to the input data at least according to the operating environment and/or the file access path when the application process is newly built; and/or the presence of a gas in the atmosphere,
and adjusting the corresponding weight value at least according to the input data in the input process.
7. The method of claim 6, wherein,
adjusting the corresponding weight value according to the input data at least in the input process, comprising: adjusting the corresponding weight value at least according to the interval duration of key operation aiming at the keyboard or the interval duration of touch operation aiming at the touch control component, or if the key operation aiming at the keyboard or the touch control operation aiming at the touch control component is increased, increasing the weight value corresponding to the key operation or the touch control operation according to a preset adjustment strategy; and/or the presence of a gas in the atmosphere,
the time for generating the input thermodynamic diagram of the input component can be correspondingly adjusted according to the adjustment of the weight value.
8. The method of claim 4, wherein determining the execution environment required by the application process from the input thermodynamic diagram comprises:
determining a region of the input thermodynamic diagram, wherein the heat degree of the region meets a first threshold range, and obtaining a first average heat degree of the region;
obtaining a second average heat of an input area of the input component according to the input thermodynamic diagram;
and calculating a difference value between the first average heat and the second average heat, determining the type of the application process according to the difference value at least, and determining the required running environment according to the type of the application process at least.
9. The method of claim 8, further comprising: and adding the application process into a corresponding preset application list according to the type of the application process so as to determine a required operating environment according to the preset application list when the application process is newly built.
10. A processing apparatus, comprising:
the monitoring module is configured to monitor a newly-built application process and determine an operating environment required by the newly-built application process;
the adjusting module is configured to obtain behavior data acting on the application process so as to adjust the operation mode of the electronic equipment at least according to the behavior data;
wherein the content of the first and second substances,
the method comprises the steps of obtaining input data and corresponding weight values of the input data, wherein the input data and the corresponding weight values act on an input component of the electronic equipment, generating an input thermodynamic diagram of the input component at least according to the input data and the corresponding weight values, and adjusting an operation mode of the electronic equipment according to the input thermodynamic diagram, wherein in the input process, the weight values can be adjusted based on operation interval duration and/or operation frequency of the input component.
CN202011197483.0A 2020-10-30 2020-10-30 Processing method and processing device Active CN112295235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011197483.0A CN112295235B (en) 2020-10-30 2020-10-30 Processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011197483.0A CN112295235B (en) 2020-10-30 2020-10-30 Processing method and processing device

Publications (2)

Publication Number Publication Date
CN112295235A CN112295235A (en) 2021-02-02
CN112295235B true CN112295235B (en) 2022-04-22

Family

ID=74333530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011197483.0A Active CN112295235B (en) 2020-10-30 2020-10-30 Processing method and processing device

Country Status (1)

Country Link
CN (1) CN112295235B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256129A (en) * 2021-06-01 2021-08-13 南京奥派信息产业股份公司 Concentration degree analysis method and system and computer readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130133564A (en) * 2012-05-29 2013-12-09 삼성전자주식회사 Electronic apparatus, method for key inputting and computer-readable recording medium
CN103970261B (en) * 2013-02-05 2017-09-22 宝德科技股份有限公司 The method of input unit and its operation state
US20160100465A1 (en) * 2014-10-07 2016-04-07 Logitech Europe S.A. System and method for software and peripheral integration
CN106201679A (en) * 2016-06-28 2016-12-07 联想(北京)有限公司 Information processing method and electronic equipment
US10726590B2 (en) * 2016-10-31 2020-07-28 Cisco Technology, Inc. Correlate application performance with hardware performance via heatmap
CN106648865A (en) * 2016-12-15 2017-05-10 北京奇虎科技有限公司 Intelligent terminal, game operating environment optimizing method and system
CN106959892A (en) * 2017-03-30 2017-07-18 联想(北京)有限公司 Process handling method, device and electronic equipment
CN107729131A (en) * 2017-09-25 2018-02-23 努比亚技术有限公司 A kind of event-handling method, terminal and computer-readable recording medium
CN109189579A (en) * 2018-09-14 2019-01-11 北京智明星通科技股份有限公司 A kind of method, apparatus and system optimizing game running environment
CN110908579B (en) * 2019-10-31 2022-02-22 维沃移动通信有限公司 Touch response method and electronic equipment

Also Published As

Publication number Publication date
CN112295235A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
KR101940389B1 (en) Adaptive battery life extension
KR102423712B1 (en) Transfer of automation assistant routines between client devices during routine execution
US11151994B2 (en) Methods and systems for managing voice commands and the execution thereof
US10697661B2 (en) Thermal control apparatus and method
KR102366778B1 (en) Device for distributing the load and manage the power of virtualization server cluster and method thereof
EP3590249B1 (en) Generating iot-based notification(s) and provisioning of command(s) to cause automatic rendering of the iot-based notification(s) by automated assistant client(s) of client device(s)
CN107148072B (en) Method and system for acquiring target resource parameters of intelligent terminal application
CN112333556B (en) Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
US20160321564A1 (en) Operational parameter value learning device, operational parameter value learning method, and controller for learning device
US11720154B2 (en) Environmental and temperature based computing device fan adjustments
CN113531844B (en) Control method and system for noise reduction of air conditioner, electronic equipment and storage medium
CN112295235B (en) Processing method and processing device
CN108063701B (en) Method and device for controlling intelligent equipment
JP2018204799A (en) Air conditioning control device, air conditioning control method and program
JP2018055172A (en) Energy consumption monitoring unit, apparatus management system and program
CN112015365A (en) Volume adjustment method and device and electronic equipment
US20220364759A1 (en) Air conditioner, control method thereof and readable storage medium
CN110173864B (en) Control method of air conditioner, air conditioner and storage medium
CN114466365B (en) Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium
US10866829B2 (en) Performing disruptive tasks based on user state
CN111193760B (en) Information sending method, device and storage medium
CN113867162A (en) Household appliance control method, intelligent terminal and computer readable storage medium
CN114061054B (en) Control method and system for active noise reduction of air conditioner, electronic equipment and storage medium
CN113432252B (en) Air conditioner control method and device, cloud server, air conditioner and storage medium
CN117348426A (en) Control method and device of equipment, control equipment, equipment control system and 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