CN112799769A - Information determination method and device - Google Patents

Information determination method and device Download PDF

Info

Publication number
CN112799769A
CN112799769A CN202110185301.6A CN202110185301A CN112799769A CN 112799769 A CN112799769 A CN 112799769A CN 202110185301 A CN202110185301 A CN 202110185301A CN 112799769 A CN112799769 A CN 112799769A
Authority
CN
China
Prior art keywords
target
application process
parameter
target 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.)
Granted
Application number
CN202110185301.6A
Other languages
Chinese (zh)
Other versions
CN112799769B (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 CN202110185301.6A priority Critical patent/CN112799769B/en
Publication of CN112799769A publication Critical patent/CN112799769A/en
Application granted granted Critical
Publication of CN112799769B publication Critical patent/CN112799769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an information determination method and an information determination device, wherein the method comprises the following steps: obtaining a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object; acquiring a target image of a newly-built target application process; determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image.

Description

Information determination method and device
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information determining method and apparatus.
Background
In the related art, a white list or a system load is adopted to determine whether a process running inside the electronic equipment belongs to game application or not; therefore, the white list needs to be updated frequently and conflict of process names easily occurs, and the situation that all processes with high energy consumption are determined to be game application by utilizing system load can occur; therefore, the accuracy of determining that the running process in the electronic equipment belongs to the game application is low, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present application are intended to provide an information determining method and apparatus.
The technical scheme of the application is realized as follows:
an embodiment of the present application further provides an information determining method, including:
obtaining a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object;
acquiring a target image of a newly-built target application process;
determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image.
An embodiment of the present application further provides an information determining apparatus, where the information determining apparatus includes: the device comprises an acquisition module and a determination module;
the acquisition module is used for acquiring a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object;
the acquisition module is also used for acquiring a target image of the newly-built target application process;
the determining module is used for determining the attribute information of the target application process at least based on the display parameters of the target object in the reference image and the target image.
An embodiment of the present application further provides an electronic device, where the electronic device includes: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the program in the memory to implement any of the information determining methods described above.
Accordingly, embodiments of the present application also provide a computer-readable storage medium having one or more programs, which are executable by one or more processors to implement the steps of the information determination method described above.
The information determining method and the information determining device provided by the embodiment of the application firstly obtain a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object; acquiring a target image of the newly-built target application process; then determining attribute information of the target application process at least based on display parameters of the target object in the reference image and the target image; in this way, the attribute information of the target application process is determined according to the display parameters of the target object in the reference image and the target image, so that the accuracy of determining the attribute information of the target application process in the electronic equipment can be improved, and further the user experience can be improved.
Drawings
Fig. 1 is a schematic flowchart of an information determining method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information determination method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information determination method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another information determination method according to an embodiment of the present application;
fig. 5a and fig. 5b are schematic flowcharts of two processes for adjusting relevant parameters based on determined attribute information of a target application process according to an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a process of determining that an application process is a game application process based on a target image and a reference image according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an information determination apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be appreciated that reference throughout this specification to "an embodiment of the present application" or "an embodiment described previously" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in the embodiments of the present application" or "in the embodiments" in various places throughout this specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In a case where no specific description is given, the electronic device may execute any step in the embodiments of the present application, and the processor of the electronic device may execute the step. It should also be noted that the embodiment of the present application does not limit the sequence of the steps executed by the electronic device. In addition, the data may be processed in the same way or in different ways in different embodiments. It should be further noted that any step in the embodiments of the present application may be executed by the electronic device independently, that is, when the electronic device executes any step in the following embodiments, the electronic device may not depend on the execution of other steps.
When the electronic equipment is used for playing games, the heat dissipation and the performance of the electronic equipment are properly improved, so that good use experience can be brought, and in the related technology, detection aiming at game applications mainly uses a white list or a system such as: loads of a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU) are used for judging whether a process belongs to a game or not; the white list method has the defects that the white list method needs to be updated frequently, and the process names conflict; and the system load is utilized to identify the possibility of misjudgment, and some non-game processes are as follows: virus detection, high-definition video playing and the like can also cause the system load to be increased; in addition, the loads of electronic devices with different configurations when the same game is run are different, and it is difficult to clearly determine the standard.
Based on the above problem, an embodiment of the present application provides an information determining method, which is applied to an electronic device and is described below with reference to the steps shown in fig. 1:
step 101, obtaining a reference image of a system graphical user interface of the electronic device.
The reference image includes a target object.
In the embodiments of the present application, the electronic device may be any device having data processing capability.
In one possible implementation, the electronic device obtains the reference image through an internal, self-contained system application or application software running inside the electronic device.
In another possible implementation, the electronic device may receive the reference image through a second electronic device capable of communicating information with the electronic device.
The size, pixels, colors, and the corresponding number of the reference image are not limited in this application; meanwhile, the image format of the reference image includes, but is not limited to: bitmap (BMP) format, Joint Photographic Experts Group (JEPG) format, Portable Network Graphics (PNG) format, and Joint Photographic Experts Group (JPG) format, and the like, which are not limited in this application.
It should be noted that, a Graphical User Interface (GUI) generally refers to a computer operation User Interface displayed in a Graphical manner.
In a possible implementation manner, the reference image of the system GUI of the electronic device may be, in a case where the electronic device completes the startup state, a display device of the electronic device such as: displaying the rendered image on the screen.
In another possible implementation manner, the reference image of the system GUI of the electronic device may be an image presented by the display device of the electronic device in a case where the electronic device is in a power-on state and a display interface displayed by the display device of the electronic device is not running by any application.
It should be noted that the target object may refer to an external input device of the electronic device, such as: displaying an image on a display device of the electronic equipment by the mouse correspondingly; in other embodiments of the present application below, the target objects all refer to mouse cursors.
The electronic equipment can control the target object to move in response to receiving a movement instruction input by a user.
The display position, display form, display state, and the like of the target object in the reference image are not limited in any way in the embodiments of the present application.
And 102, acquiring a target image of the newly-built target application process.
In the embodiment of the application, the electronic equipment obtains a target image of a newly-built target application process; the manner of obtaining the target image may be the same as or different from the manner of obtaining the reference image, and this application does not limit this.
Accordingly, the image format of the target image may be the same as or different from the image format of the reference image, and the present application does not limit this.
The size, pixels, colors and number of the target image are not limited in this application.
In this embodiment of the present application, the target application process may be a process corresponding to any target application, and meanwhile, the target application process may be a system software process and an application software process, and may further be a game application, an editing application, an office application, an instant messaging application, and the like.
It should be noted that a process is a running activity of a program in an electronic device on a certain data set, is a basic unit for resource allocation and scheduling of a system, and is a basis of an operating system structure; accordingly, processes in the task manager of the electronic device correspond one-to-one to applications that are running on the electronic device.
It should be noted that the target image of the newly created target application process refers to a display screen presented on the display interface of the electronic device in a state where the electronic device is completely started and starts to run.
In the embodiment of the present application, the target image may include the target object, that is, the target object is presented in the corresponding screen, or may not include the target object, that is, the target object is hidden in the corresponding screen, and the display mode for the target object in the corresponding screen may be switched between displaying and hiding.
In a possible implementation manner, when the target image includes the target object, the display forms, display states, and the like of the target object in the reference image and the target image may be completely the same, may also be completely different, and may further be partially the same, which is not limited in this application.
It should be noted that the content presented by the target image is richer than that presented by the reference image, in other words, it has a screen presented by the target application process which is not provided by the reference image in the running state.
And 103, determining attribute information of the target application process at least based on the display parameters of the target object in the reference image and the target image.
In the embodiment of the application, the electronic equipment determines the attribute information of the target application process at least based on the display parameters of the target object in the reference image and the display parameters of the target object in the target image.
It should be noted that the attribute information may be used to characterize the category of the target application process, and meanwhile, the attribute information of the two target application processes may be the same or different, which is not limited in this application.
In a possible implementation manner, when the attribute information of the target application process is the first attribute, the target application is a game application.
In another possible implementation manner, when the attribute information of the target application process is the second attribute, the target application is an editing application.
In another possible implementation manner, when the attribute information of the target application process is the third attribute, the target application is a video playing application.
In other embodiments of the present application, the display parameters of the target object in the reference image and in the target image include, but are not limited to, morphological parameters including, but not limited to, a shape and a size of the target object, and state parameters including, but not limited to, a color, a brightness, and the like of the target object, which are not limited in this application.
In one possible implementation, the electronic device determines the attribute information of the target application process based on the display parameters of the target object in the reference image and the target image.
In another possible implementation manner, the electronic device determines the attribute information of the target application process based on the target image and the display parameters of the target object in the reference image and the target image.
In another possible implementation manner, the electronic device, based on the display parameters of the target object in the reference image and the target image, and the output content of the target application process, is as follows: sound, etc., which together determine attribute information of the target application process.
It should be noted that, in the embodiment of the present application, the electronic device determines the attribute information of the target application process based on at least the display parameters of the target object in the reference image and the target image, and can accurately determine the attribute information of the target application process, so that it is avoided that in the relative technology, a white list needs to be additionally defined or an application process needs to be consulted to indirectly determine the attribute information of the target application process, and thus a more intuitive and convenient manner can be provided to determine the attribute information of the target application process, and meanwhile, the use experience of a user can be improved.
The information determining method provided by the embodiment of the application comprises the steps of firstly obtaining a reference image of a system graphical user interface of electronic equipment, wherein the reference image comprises a target object; acquiring a target image of the newly-built target application process; then determining attribute information of the target application process at least based on display parameters of the target object in the reference image and the target image; therefore, the attribute information of the target application process is determined according to the display parameters of the target object in the reference image and the target image, the accuracy of determining the attribute information of the target application process in the electronic equipment can be improved, and the user experience can be further improved.
Based on the foregoing embodiments, an information determining method applied to an electronic device is further provided in the embodiments of the present application, and the following description is made with reference to the steps shown in fig. 1 to 4:
step 201, obtaining a first display parameter of the target object in the reference image and a second display parameter in the target image.
In the embodiment of the application, the electronic equipment sequentially obtains a first display parameter of the target object in the reference image and a second display parameter of the target object in the target image.
In other embodiments of the present application, the first display parameter includes, but is not limited to, a display color, a shape, a size, a display brightness, a display frequency, and the like of the target object in the reference image; accordingly, the second display parameters include, but are not limited to, a display color, a shape, a size, a display brightness, a display frequency, and the like of the target object in the target image.
In the embodiment of the present application, the manner of obtaining the first display parameter of the target object in the reference image and the second display parameter in the target image by the electronic device is not limited at all.
It should be noted that, the electronic device may compare the first display parameter with the second display parameter, and further obtain that the target object has a different form and/or a partially identical or completely identical state in the reference image and the target image, and the application is not limited thereto.
Accordingly, the electronic device may compare the first display parameter and the second display parameter based on an image comparison algorithm; among them, the image comparison algorithm includes but is not limited to: mean square error method, etc.
The first display parameter and the second display parameter may be presented in any form such as a graph, a text, a table, and the like, which is not limited in this application.
Step 202, determining attribute information of the target application process at least based on a variation parameter between the first display parameter and the second display parameter.
In the embodiment of the application, the electronic equipment determines the attribute information of the target application process at least based on the variation parameter between the first display parameter and the second display parameter; the target application process may be a newly created application process inside the electronic device, or may be an application process that presents a specific running interface on a display interface of the electronic device.
In a possible implementation manner, the electronic device may determine the attribute information of the target application process based on a variation parameter between the first display parameter and the second display parameter, and the output content of the target application process.
In another possible implementation manner, the electronic device may determine the attribute information of the target application process based on a variation parameter between the first display parameter and the second display parameter, and the target image.
In yet another possible implementation manner, the electronic device may determine the attribute information of the target application process based on a variation parameter between the first display parameter and the second display parameter, and a third display parameter of an object other than the target object in the reference image in the target image.
It should be noted that, in the embodiment of the present application, the attribute information of the target application process is determined based on at least the variation parameter between the first display parameter and the second display parameter, that is, the specific variation parameter of the determined target object, so that the accuracy of determining the attribute information of the target application process can be further improved, further, the electronic device can adjust the operation mode and the like of the electronic device in time based on the attribute information of the target application process, and meanwhile, the normal operation of the electronic device can be ensured and the user experience can be improved.
In other embodiments of the present application, when the electronic device performs step 202, that is, when the electronic device determines the attribute information of the target application process based on at least a variation parameter between the first display parameter and the second display parameter, the electronic device may be implemented in the following two ways, that is, in step 202a or step 202 b:
step 202a, determining attribute information of the target application process based on the form change parameter and/or the state change parameter between the first display parameter and the second display parameter.
In other embodiments of the present application, the electronic device first compares the first display parameter with the second display parameter to determine a form change parameter and/or a state change parameter between the first display parameter and the second display parameter, and determines the attribute information of the target application process based on the determined form change parameter and/or the determined state change parameter.
In other embodiments of the present application, when the electronic device executes step 202a, the electronic device may further perform the following three ways, that is, step a1 or step a2 or step a 3:
step a1, if the morphology change parameter and/or the state change parameter characterize the target object with an increased likelihood of getting the attention of the target user, determining the target application process as the application process having the first attribute.
In other embodiments of the present application, the electronic device determines the morphological change parameter and/or the state change parameter to determine a specific reference of the morphological change parameter and/or the state change parameter, and further determine specific attribute information of the target application process.
The target user may be a user operating the electronic device, or may be a user viewing a display interface of the electronic device, which is not limited in this application.
The probability that the representation target object draws attention of the target user is increased, that is, the target object draws attention of the target user or draws attention of the target user when the morphological parameters or the state parameters presented by the reference image and the target image are obviously different, or the morphological change parameters and/or the state change parameters exceed a preset threshold.
In one possible implementation, the form change parameter and/or the state change parameter characterizes that the size of the target object changes from 2cm × 2cm to 0.5cm × 0.5cm, or the color changes from black and white to color, or the shape changes from circular to five-pointed star, or the brightness changes from dark to bright, etc., so that the probability of being able to attract the attention of the target user increases.
In a possible implementation manner, if it is determined that the probability that the morphological change parameter characterizes the target object to attract the attention of the target user is increased, the electronic device determines that the target application process is an application process with the first attribute.
In another possible implementation manner, if it is determined that the probability that the state change parameter characterizes the target object to attract the attention of the target user is increased, the electronic device determines that the target application process is an application process with the first attribute.
In another possible implementation manner, if it is determined that the probability that the morphological change parameter and the state change parameter characterize the target object to attract the attention of the target user is increased, the electronic device determines that the target application process is an application process having the first attribute.
In other embodiments below in this application, application processes having a first attribute all refer to applications having game tags.
It should be noted that the probability that the target object draws attention of the target user is increased by characterizing the morphological change parameter and/or the state change parameter, and the information of the target application process is determined, so that the attribute information of the target application process is intuitively determined based on the attention of the target user, and further, the electronic device can determine the relevant attribute information based on the attention of the target user, so that the electronic device can adjust the internal operation information of the electronic device at a later stage, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
Step a2, if the probability that the morphology change parameter and/or the state change parameter characterize the target object to attract the attention of the target user is reduced, determining the target application process as the application process with the second attribute.
In other embodiments of the present application, the electronic device determines the morphological change parameter and/or the state change parameter to determine a specific reference of the morphological change parameter and/or the state change parameter, and further determine which information the specific attribute information of the target application process is.
The specific reference of the target user may be described with reference to the foregoing embodiments, and is not described herein again.
The probability that the representation target object draws attention of the target user is reduced, that is, the target object draws attention of the target user or is not enough to draw attention of the target user to the target object under the condition that the morphological parameters or the state parameters of the reference image and the target image of the target object are slightly different or the morphological change parameters and/or the state change parameters do not exceed a preset threshold.
In one possible implementation, the form change parameter and/or the state change parameter characterizes that the size of the target object changes from 2cm × 2cm to 2.1cm × 1.9cm, or the color changes from black and white to grey and white, or the shape changes from trapezoid to rectangle, or the brightness changes from dark to grey and dark, etc., so that the possibility of attracting the attention of the target user is reduced.
In a possible implementation manner, if the possibility that the morphological change parameter characterizes the target object and attracts the attention of the target user is judged to be reduced, the electronic device determines that the target application process is an application process with the second attribute.
In another possible implementation manner, if it is determined that the possibility that the state change parameter characterizes the target object to attract the attention of the target user is reduced, the electronic device determines that the target application process is an application process having the second attribute.
In another possible implementation manner, if it is determined that the probability that the morphological change parameter and the state change parameter characterize the target object to attract the attention of the target user is reduced, the electronic device determines that the target application process is an application process having the second attribute.
In other embodiments below in the present application, the application processes having the second attribute all refer to applications having a play tab.
It should be noted that the probability that the target object draws attention of the target user is reduced by characterizing the morphological change parameter and/or the state change parameter, and information of the target application process is determined, so that the attribute information of the target application process is determined based on the attention of the target user, and further, the electronic device can determine the relevant attribute information based on the attention of the target user, so that the electronic device adjusts the internal operation information of the electronic device at a later stage, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
Step a3, if the form change parameter and/or the state change parameter characterize the target object switching between the first display parameter and the second display parameter, determining the target application process as the application process with the third attribute.
In other embodiments of the present application, the electronic device determines the morphological change parameter and/or the state change parameter to determine a specific reference of the morphological change parameter and/or the state change parameter, and further determine which information the specific attribute information of the target application process is.
It should be noted that, the representation switches between the first display parameter and the second display parameter, that is, the target object switches back and forth between at least two display forms and/or at least two display states; accordingly, the reason for the toggling may be: the electronic equipment responds to an operation instruction input by a user, such as moving a mouse, or the running state of a target application process; meanwhile, the frequency of switching back and forth corresponds to the mouse movement of the user, or the running state of the target application process and the like.
In a possible implementation manner, if the form change parameter indicates that the target object is switched between the first display parameter and the second display parameter, the electronic device determines that the target application process is an application process having a third attribute.
In another possible implementation manner, if the state change parameter indicates that the target object is switched between the first display parameter and the second display parameter, the electronic device determines that the target application process is an application process having a third attribute.
In yet another possible implementation manner, if the state change parameter and the form change parameter characterize that the target object is switched between the first display parameter and the second display parameter, the electronic device determines that the target application process is an application process having a third attribute.
In other embodiments below in the present application, application processes having the third attribute each refer to an application having a drawing label or an office label.
It should be noted that the information of the target application process is determined by representing the switching of the target object between the first display parameter and the second display parameter through the form change parameter and/or the state change parameter, so that the attribute of the target application process can be determined based on the event of switching the target object between the first display parameter and the second display parameter, that is, based on the intuitively changed event on the electronic device, so that the later electronic device can quickly and accurately adjust the internal operation information thereof.
And step 202b, determining attribute information of the target application process based on the second display parameter and the variation parameter.
In other embodiments of the present application, the electronic device determines the attribute information of the target application process based on the second display parameter and a variation parameter between the first display parameter and the second display parameter.
In other embodiments of the present application, when the electronic device executes step 202b, the electronic device may also implement the following two ways, i.e., step b1 or step b 2:
and b1, if the variation parameter meets the first variation condition, determining the target application process as the application process with the fourth attribute based on the identification result of the second display parameter in the target database.
In other embodiments of the present application, the first variation condition may be determined by the electronic device based on a variation parameter between the first display parameter and the second display parameter, or may be determined by the electronic device based on a target application process, and the present application does not limit a specific source of the first variation condition.
It should be noted that the first variation condition may refer to a variation parameter between the first display parameter and the second display parameter, that is, the target object is changed once between the reference image and the target image; the one-time change may be a change in form, a change in state, or a change in both form and state.
In one possible implementation, the target database may be composed of all the morphological parameters and state parameters that the target object can present in the electronic device; the specific source of the target database is not limited in this application.
In other embodiments of the present application, if the variation parameter satisfies the first variation condition, the electronic device determines, based directly on the recognition result of the second display parameter in the target database, that the target application process is an application process having the fourth attribute.
The fourth attribute may be an attribute parameter that is the same as any one of the first attribute, the second attribute, and the third attribute, or an attribute parameter that is completely different from the first attribute, the second attribute, and the third attribute.
In other embodiments of the present application, the application process having the fourth attribute may refer to an application having a literal read tag.
It should be noted that the attribute information of the target application process is determined through the target database, the first change condition, and the like, that is, the electronic device determines the attribute information of the target application process based on the information of the target object other than the first display parameter and the second display parameter, and can implement a multi-directional parameter to determine the specific attribute information of the target application process, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
And b2, if the variation parameter meets the second variation condition, determining the target application process as the application process with the fifth attribute based on the identification result of the second display parameter of the target object in the plurality of target images in the preset time period in the target database.
In other embodiments of the present application, the second variation condition may be determined by the electronic device based on a variation parameter between the first display parameter and the second display parameter, or may be determined by the electronic device based on the target application process, and the present application does not limit a specific source of the second variation condition.
It should be noted that the second variation condition may refer to a variation parameter between the first display parameter and the second display parameter, that is, the target object varies at least two times between the reference image and the target image; the at least two changes may be changes in form at least two times, changes in state at least two times, changes in form and state at the same time at least two times, or the like.
The specific reference of the target database may be described with reference to the above embodiments, and is not described herein again.
In other embodiments of the present application, if the variation parameter satisfies the second variation condition, the electronic device first needs to acquire a plurality of target images of the target object within a preset time period, and determines that the target application process is an application process having the fifth attribute based on a recognition result of the second display parameter of the target object in the plurality of target images in the target database.
The fifth attribute may be an attribute parameter that is the same as any one of the first attribute, the second attribute, and the third attribute, or an attribute parameter that is completely different from the first attribute, the second attribute, and the third attribute.
In other embodiments of the present application, the application process having the fifth attribute may refer to an application having an integrated game and playing audio.
It should be noted that the attribute information of the target application process is determined through the target database, the second variation condition, and the like, that is, the electronic device determines the attribute information of the target application process based on the information of the target object other than the first display parameter and the second display parameter, and can implement multi-directional parameters to determine the specific attribute information of the target application process, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
According to the information determining method provided by the embodiment of the application, the attribute information of the target application process is determined through the relevant information corresponding to the first display parameter of the target object in the reference image and the second display parameter in the target image, and the specific attribute information of the target application process can be determined through multi-directional parameters, so that the later electronic equipment adjusts the internal operation information of the later electronic equipment based on the determined attribute information, and the normal operation of the electronic equipment is ensured and the use experience of a target user is improved.
Based on the foregoing embodiments, the embodiments of the present application further provide an information determining method, which is applied to an electronic device, and the following description can be made with reference to the steps shown in fig. 1 to fig. 4 as well:
in a possible implementation manner, when the electronic device performs the determination of the attribute information of the target application process based on at least the display parameters of the target object in the reference image and the target image, the electronic device may further perform the following six manners shown in steps 301 to 306:
the first method is as follows:
step 301, determining attribute information of the target application process based on the target image and the display parameters.
In the embodiment of the application, the electronic device may determine the attribute information of the target application process based on the first display parameter of the target object in the reference image, the second display parameter in the target image, and the target image.
The display parameters of the target object in the reference image and the target image may be morphological parameters and/or state parameters of the target object in the two images.
In one possible implementation manner, the electronic device determines the attribute information of the target application process based on the display parameters of the target object in the reference image and the target image and the display color of the picture presented by the target image.
In another possible implementation manner, the electronic device determines the attribute information of the target application process based on the display parameters of the target object in the reference image and the target image, and the display brightness and the display screen content of the screen presented by the target image.
It should be noted that the attribute of the target application process is determined through the display parameters of the target object in the reference image and the target image, specific contrast parameters, that is, display parameters, are given, and meanwhile, according to the target image obtained based on the target application process, the information referred by the target application process is determined to be dependent on the information generated when the target application process operates, so that the determined attribute information of the target application process is more accurate, so that the electronic device adjusts the internal operation information thereof later based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
The second method comprises the following steps:
step 302, obtaining a third display parameter of other objects in the reference image except the target object in the target image, and determining attribute information of the target application process based on the third display parameter and the display parameter of the target object.
In other embodiments of the present application, the electronic device first extracts objects other than the target object from the obtained reference image and the target image, and then determines the attribute information of the target application process jointly based on the third display parameter and the display parameters of the target object in the reference image and the target image.
Wherein, other objects can exist in the reference image and the target image at the same time, and can also be displayed in the reference image and hidden in the target image; the image can be hidden in the reference image and displayed in the target image; the reference image and the target image may be displayed periodically, for example, and the present application is not limited thereto.
The other objects may be dialog boxes stably displayed on a display interface of the electronic device, time information, icons of related application processes, and the like, which is not limited in this application.
The display form, and display state of the other object in the reference image and the target image may be completely the same, completely different, or partially the same, and the present application is not limited thereto.
It should be noted that, the attribute information of the target application process is determined jointly through the third display parameter of the target image of the other objects except the target object in the reference image and the display parameters of the target object in the reference image and the target image, so that the information referred by the target application process is not limited to the target object itself, and the other objects in the same picture with the target object are also related, so that the parameter range depended on by the attribute information of the target application process is enlarged, and further the determined attribute information of the target application process is more accurate, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
The third method comprises the following steps:
and 303, acquiring target output content of the target application process, and determining attribute information of the target application process based on the target output content and the display parameters.
In other embodiments of the application, the electronic device may further obtain target output content of the target application process, and further determine attribute information of the target application process based on the obtained target output content and display parameters of the target object in the reference image and the target image; wherein the target output content may be audio information, sound source information, etc.
The electronic equipment obtains a section of voice information output in the running process of the target application process, and then analyzes the voice information to obtain corresponding audio information, sound source information and the like.
It should be noted that, the attribute information of the target application process is determined jointly through the target output content of the target application process and the display parameters of the target object in the reference image and the target image, so that the information referred to by the target application process is not limited to the event presented by the picture, and the information related to the target application process is also related to the output information related to the target application process, and further the determined attribute information of the target application process is more accurate, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
The method is as follows:
and 304, obtaining processor information on which the target application process depends, and determining attribute information of the target application process based on the processor information and the display parameters.
In other embodiments of the present application, the electronic device may further obtain processor information that the target application process depends on in the running process, such as: and the electronic equipment determines attribute information of the target application process together based on the relevant information of the GPU and the display parameters of the target object in the reference image and the target image.
In a possible implementation manner, the electronic device obtains that the process information generated in the GPU information on which the target application process runs is 1, and determines that the attribute information of the target application process is the first attribute based on the process information and the display parameters of the target object in the reference image and the target image.
In another possible implementation manner, the electronic device obtains that the process information generated in the GPU information on which the target application process runs is 0, and determines that the attribute information of the target application process is the second attribute based on the process information and the display parameters of the target object in the reference image and the target image.
It should be noted that, the attribute of the target application process is determined jointly through the processor information on which the target application process depends when the target application process runs and the display parameters of the target object in the reference image and the target image, so that the information referred by the target application process is determined not only relates to the picture information presented by the electronic device before and after the target application runs, but also includes the process information in the internal processor of the electronic device, so that the determined attribute information of the target application process is more accurate, and the later electronic device adjusts the internal operation information based on the determined attribute information, so as to ensure the normal operation of the electronic device and improve the use experience of the target user.
The fifth mode is as follows:
and 305, obtaining a first load parameter of the target application process and/or a second load parameter of each thread of the target application process, and determining attribute information of the target application process based on the first load parameter and/or the second load parameter and the display parameter.
The first load parameter is the time that the process consumes the target processor in the unit time, and the second load parameter is the time that the thread consumes the target processor in the unit time.
In other embodiments of the present application, the electronic device may further obtain a time that the target application process consumes the target processor in unit time, that is, a first load parameter, and a time that a thread corresponding to the process consumes the target processor in unit time, that is, a second load parameter, and jointly determine attribute information of the target application process based on the first load parameter and/or the second load parameter, and display parameters of the target object in the reference image and the target image.
The thread is the minimum unit that the operating system can perform operation scheduling, is included in the process, and is the actual operation unit in the process.
It should be noted that, the attribute information of the target application process is determined jointly by the time that the target application process consumes the target processor in unit time and the display parameters of the target object in the reference image and the target image, so that the information referred by the target application process is determined not only related to the pictures presented by the electronic device before and after the target application runs, but also includes the relevant time information in the internal processor of the electronic device, and further the determined attribute information of the target application process is more accurate, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
The method six:
step 306, obtaining a load change parameter of a target processor of the electronic device after the target application process is run, and determining attribute information of the target application process based on the load change parameter and the display parameter.
In other embodiments of the present application, the electronic device may further obtain a load change parameter of a target processor of the electronic device after the target application process is run, and determine attribute information of the target application process based on the load change parameter and display parameters of the target object in the reference image and the target image.
It should be noted that the load change parameter of the target processor of the electronic device after the target application process is executed refers to a usage change of the CPU, and the like.
It should be noted that, the attribute information of the target application process is determined jointly through the relevant change parameter of the processor on which the target application process depends when the target application process runs and the display parameter of the target object in the reference image and the target image, so that the information referred by the target application process is determined not only relates to the pictures presented by the electronic device before and after the target application runs, but also includes the relevant change information in the internal processor of the electronic device, and further the determined attribute information of the target application process is more accurate, so that the later electronic device adjusts the internal operation information based on the determined attribute information, thereby ensuring the normal operation of the electronic device and improving the use experience of the target user.
Based on this, the determination method according to the embodiment of the present application includes, but is not limited to, the six manners provided above, and may also be a fusion of the six manners according to a certain rule, where two or more of the manners may be used, and the present application does not limit this.
According to the information determining method provided by the embodiment of the application, the attribute information of the target application process is determined by not limiting the first display parameter of the target object in the reference image and the second display parameter in the target image, but also relating to the relevant information between the target application process of the electronic device and the target processor, or other objects except the target object in the target image, or the output content of the target application process, so that the specific attribute information of the target application process can be determined by using multi-directional parameters, and the later electronic device adjusts the internal operation information thereof based on the determined attribute information, so that the normal operation of the electronic device is ensured, and the use experience of a target user is improved.
Based on the foregoing embodiments, an information determining method provided in the embodiments of the present application is applied to an electronic device, and the following description is made with reference to the steps shown in fig. 1 to 5 (fig. 5a to 5b are schematic flow charts of adjusting relevant parameters based on determined attribute information of a target application process provided in the embodiments of the present application):
in other embodiments of the present application, after determining the attribute information performed by the target application, the electronic device may further perform the following step 401 or step 402:
step 401, adjusting the running state of the electronic device based on the attribute information of the target application process.
In other embodiments of the present application, the electronic device adjusts an operating state of the electronic device based on the determined attribute information of the target application process.
In a feasible implementation manner, when the electronic device determines that the attribute information of the target application process is an application of a game class, the electronic device adjusts the operation state of the electronic device to be in a high-energy-consumption operation state, and simultaneously can control the heat dissipation system of the electronic device to be switched off to be started or to be switched from low-speed operation to high-speed operation.
In another possible implementation manner, when the electronic device determines that the attribute information of the target application process is a document editing application, the electronic device adjusts the operating state of the electronic device to be in a low-power-consumption operating state, and meanwhile, can control the cooling system of the electronic device to be in low-speed operation.
It should be noted that, the operating state of the electronic device is adjusted according to the attribute information of the target application process, so that the use experience of the user in operating the electronic device is further improved under the condition that the normal operation of the electronic device is ensured.
Step 402, obtaining usage parameters of a target processor of the electronic device, and adjusting operation parameters of the target processor based on the usage parameters and the attribute information.
In this embodiment, the electronic device may further obtain a target processor of the electronic device, such as: and the CPU and/or the GPU and the like are used for adjusting the operation parameters of the CPU and/or the GPU together based on the use parameters and the attribute information.
The operation parameters of the target processor include process information or cache information in the target runner, which is not limited in this application.
It should be noted that the operating state of the electronic device or the operating parameter of the target processor is adjusted according to the attribute information of the target application process, so that the current operating environment of the electronic device can be adjusted in time to match with the attribute information of the target application process, and the use experience of the user in operating the electronic device is further improved under the condition of ensuring the normal operation of the electronic device.
According to the information determining method provided by the embodiment of the application, the attribute information of the target application process is determined by not limiting the first display parameter of the target object in the reference image and the second display parameter in the target image, but also relating to the relevant information between the target application process of the electronic device and the target processor, or other objects except the target object in the target image, or the output content of the target application process, so that the specific attribute information of the target application process can be determined by implementing multi-directional parameters, and the later electronic device adjusts the internal operation information thereof based on the determined attribute information, can adjust the current operation environment of the electronic device to be matched with the target application process in time, and further improves the use experience of a user for operating the electronic device under the condition of ensuring the normal operation of the electronic device.
Based on the foregoing embodiment, in other embodiments of the present application, the electronic device may further determine a target application process from the newly created application processes; the method for determining the target application process from the newly-built application processes by the electronic device includes, but is not limited to, the following three ways, that is, steps 501 to 503:
the first method is as follows:
step 501, determining an application process corresponding to an application window where the target object is located as a target application process.
In other embodiments of the present application, the electronic device may determine the corresponding target application process according to the position of the target object.
In a feasible implementation manner, when the electronic device runs multiple application processes simultaneously, the application process corresponding to the application window where the target object, i.e., the mouse cursor, is located may be determined as the target application process.
The application windows correspond to the application processes one to one, that is, each application process presents the corresponding application window on a display interface of the electronic device in the running process.
The second method comprises the following steps:
step 502, determining the newly established application process within the preset duration after the reference image is obtained as the target application process.
In other embodiments of the application, the electronic device may further determine, as the target application process, an application process newly created within a preset duration after the reference image is obtained.
The third method comprises the following steps:
step 502, determining the newly-built application process through the target object after the reference image is obtained as the target application process.
In other embodiments of the present application, after obtaining the reference image, the electronic device creates an application process by operating the external input device corresponding to the target object, and determines the target application process according to the created application process.
As shown in fig. 6, a schematic flow chart for determining that an application process is a game application process based on a target image and a reference image according to an embodiment of the present application is provided; steps 601 to 603 are to obtain a cursor image, that is, corresponding to the first display parameter of the target object in the reference image obtained in the information determining method provided in the embodiment of the present application; firstly executing step 601, starting the electronic device to enter a desktop, secondly executing step 602, judging whether a system of the electronic device is idle, if so, executing step 603, otherwise, returning to execute step 602 again, and then obtaining a cursor image from the desktop corresponding to the electronic device with the idle system, namely, step 603; correspondingly, steps 604 to 607 are to obtain an image corresponding to the cursor moving, that is, corresponding to obtaining a second display parameter of the target object in the target image in the information determination method provided in the embodiment of the present application; step 604 is to detect the process start for the newly created target application process, and then step 605 is executed to wait for 60 seconds, determine that the program is completely started, that is, determine that the newly created target application process is completely started, and then determine whether the GPU is used when the target application process is operated, if so, execute step 607, that is, obtain the image when the cursor is moved.
In the case of obtaining two cursor images based on step 603 and step 607, that is, corresponding to the first display parameter and the second display parameter in this embodiment, step 608 and image comparison are performed, that is, the first display parameter and the second display parameter are compared, if the difference between the two parameters is large, such as the second display parameter of the mouse cursor in step 607, the possibility of attracting the attention of the target user is increased, it may be determined that the target application process is a game application process, that is, step 609.
It should be noted that the display interface corresponding to the application process of each game class has characteristics, but compared with the display interface corresponding to the application process of a non-game class, the cursor pattern, i.e., the cursor pattern of the mouse, is a characteristic difference commonly possessed by a game, and the accuracy of determining the application process of the game class by the mouse cursor is higher.
The reason why the user operating the electronic device may change the default cursor pattern of the system is that a cursor image needs to be captured as a reference for comparison reference when the system enters the desktop after being started, that is, the reason why steps 601 to 602 are executed in fig. 6, meanwhile, when a process is started, a program is waited to be started, when a cursor is within a foreground window range of the process, the cursor pattern is captured and compared with the reference image, and meanwhile, in consideration of the fact that some drawing programs may also change the cursor pattern (such as a brush pen), only those processes using the GPU are detected; considering the case of viewing video full screen, capture is only performed when the cursor is moved, etc.
Meanwhile, the flow diagram corresponding to fig. 6 can be divided into two parts, namely: image acquisition and image comparison.
1. An image acquisition process: acquiring a system cursor image in a reference image, wherein the cursor image needs to be captured once during startup as a reference due to the existence of a type of a cursor which can be customized by a user, and the cursor image is captured only when the system is idle and is positioned on a foreground desktop so as to eliminate the interference of a startup self-starting process; accordingly, obtaining the cursor image of the target application process may be performed by: when the process is detected to be started, waiting for 1-2 minutes to ensure that the target application process is started completely, and then acquiring a cursor pattern when the cursor is detected to move to serve as a cursor image of the target application process; in addition, in order to eliminate the influence of some text and drawing programs, only the process using the GPU is detected.
2. And (3) image comparison process: an image comparison algorithm is adopted as follows: and the mean square error method is used for comparing the cursor image corresponding to the target application process with the cursor image in the reference image, and if the image difference is large, the target process is considered to belong to the game application.
Based on the foregoing embodiments, the present application further provides an information determining apparatus 7, where the information determining apparatus 8 may be applied to an information determining method provided in the embodiments corresponding to fig. 1 to 5, and as shown in fig. 7, the information determining apparatus 7 may include: an acquisition module 71 and a determination module 72, wherein:
an obtaining module 71, configured to obtain a reference image of a system graphical user interface of an electronic device, where the reference image includes a target object;
the obtaining module 71 is further configured to obtain a target image of the newly-built target application process;
a determining module 72, configured to determine attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image.
In other embodiments of the present application, the obtaining module 71 is further configured to obtain a first display parameter of the target object in the reference image and a second display parameter in the target image; accordingly, the determining module 72 is further configured to determine the attribute information of the target application process based on at least a variation parameter between the first display parameter and the second display parameter.
In other embodiments of the present application, the determining module 72 is further configured to determine attribute information of the target application process based on a morphological change parameter and/or a state change parameter between the first display parameter and the second display parameter; or determining the attribute information of the target application process based on the second display parameter and the variation parameter.
In other embodiments of the present application, the determining module 72 is further configured to determine that the target application process is an application process having a first attribute if the morphology change parameter and/or the state change parameter indicate that the target object is more likely to attract the attention of the target user; or, if the probability that the target object is noticed by the target user is reduced due to the morphological change parameter and/or the state change parameter, determining that the target application process is the application process with the second attribute; or, if the form change parameter and/or the state change parameter characterize the target object to switch between the first display parameter and the second display parameter, determining that the target application process is the application process with the third attribute.
In other embodiments of the present application, the determining module 72 is further configured to determine, if the variation parameter satisfies the first variation condition, that the target application process is an application process having a fourth attribute based on the identification result of the second display parameter in the target database; or, if the variation parameter satisfies the second variation condition, determining the target application process as the application process having the fifth attribute based on the recognition result of the second display parameter in the plurality of target images of the target object within the preset time period in the target database.
In other embodiments of the present application, the determining module 72 is further configured to determine attribute information of the target application process based on the target image and the display parameter; or acquiring a third display parameter of other objects except the target object in the reference image in the target image, and determining the attribute information of the target application process based on the third display parameter and the display parameter of the target object; or, obtaining target output content of the target application process, and determining attribute information of the target application process based on the target output content and the display parameters.
In other embodiments of the present application, the determining module 72 is further configured to obtain processor information on which the target application process depends, and determine attribute information of the target application process based on the processor information and the display parameter; or acquiring a first load parameter of the target application process and/or a second load parameter of each thread of the target application process, and determining attribute information of the target application process based on the first load parameter and/or the second load parameter and the display parameter, wherein the first load parameter is the time for the process to consume the target processor in unit time, and the second load parameter is the time for the thread to consume the target processor in unit time; or obtaining a load change parameter of a target processor of the electronic equipment after the target application process is operated, and determining the attribute information of the target application process based on the load change parameter and the display parameter.
In other embodiments of the present application, the information determining apparatus 7 may further include an adjusting module 73, an adjusting module 83, configured to adjust an operating state of the electronic device based on the attribute information of the target application process; or obtaining the use parameters of the target processor of the electronic equipment, and adjusting the operation parameters of the target processor based on the use parameters and the attribute information.
In other embodiments of the present application, the determining module 72 is further configured to determine a target application process from the newly created application processes; correspondingly, the determining module 72 is further configured to determine the application process corresponding to the application window where the target object is located as the target application process; or, determining the newly established application process in the preset duration after the reference image is obtained as a target application process; or, determining the application process newly built through the target object after the reference image is obtained as the target application process.
It should be noted that, for a specific implementation process of the steps executed by each module in this embodiment, reference may be made to an implementation process in the information determination method provided in the embodiments corresponding to fig. 1 to 5, and details are not described here again.
The information determining apparatus provided in the embodiment of the application determines the attribute information of the target application process by not being limited to the first display parameter of the target object in the reference image and the second display parameter in the target image, but also relating to the relevant information between the target application process of the electronic device and the target processor, or other objects except the target object in the target image, or the output content of the target application process, and can implement a multi-directional parameter to determine the specific attribute information of the target application process, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, can adjust the current operation environment of the electronic device to match with the target application process in time, and further improve the use experience of the user operating the electronic device under the condition of ensuring the normal operation of the electronic device.
Based on the foregoing embodiment, an embodiment of the present application further provides an electronic device 8, where the electronic device 8 may be applied to an information determining method provided in the embodiments corresponding to fig. 1 to 5, and as shown in fig. 8, the electronic device 8 may include: processor 81, memory 82, communication bus 83, wherein:
the communication bus 83 is used to realize a communication connection between the processor 81 and the memory 82.
The processor 81 is configured to execute a program of the information determination method stored in the memory 82 to implement the information determination method provided with reference to the corresponding embodiments of fig. 1 to 5.
The electronic device provided by the embodiment of the application determines the attribute information of the target application process by not being limited to the first display parameter of the target object in the reference image and the second display parameter in the target image, but also relating to the relevant information between the target application process and the target processor of the electronic device, or other objects except the target object in the target image, or the output content of the target application process, and can realize multi-directional parameters to determine the specific attribute information of the target application process, so that the later electronic device adjusts the internal operation information thereof based on the determined attribute information, can timely adjust the current operation environment of the electronic device to be matched with the target application process, and further improves the use experience of a user for operating the electronic device under the condition of ensuring the normal operation of the electronic device.
Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the information determination method provided by the embodiments corresponding to fig. 1 to 5.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. An information determination method, comprising:
obtaining a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object;
acquiring a target image of a newly-built target application process;
determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image.
2. The method of claim 1, wherein the determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image comprises:
obtaining a first display parameter of the target object in the reference image and a second display parameter of the target object in the target image;
determining attribute information of the target application process based at least on a variation parameter between the first display parameter and the second display parameter.
3. The method of claim 2, wherein the determining attribute information for the target application process based at least on a variation parameter between the first display parameter and the second display parameter comprises:
determining attribute information of the target application process based on a morphological change parameter and/or a state change parameter between the first display parameter and the second display parameter; or the like, or, alternatively,
determining attribute information of the target application process based on the second display parameter and the variation parameter.
4. The method according to claim 3, wherein the determining the attribute information of the target application process based on the morphology change parameter and/or the state change parameter between the first display parameter and the second display parameter comprises:
if the probability that the target object attracts the attention of the target user is increased due to the morphological change parameter and/or the state change parameter, determining that the target application process is an application process with a first attribute; or the like, or, alternatively,
if the probability that the target object attracts the attention of the target user is reduced due to the morphological change parameter and/or the state change parameter, determining that the target application process is an application process with a second attribute; or the like, or, alternatively,
and if the form change parameter and/or the state change parameter represent that the target object is switched between the first display parameter and the second display parameter, determining that the target application process is an application process with a third attribute.
5. The method of claim 3, wherein determining attribute information for the target application process based on the second display parameter and the variation parameter comprises:
if the change parameter meets a first change condition, determining the target application process as an application process with a fourth attribute based on the identification result of the second display parameter in a target database; or the like, or, alternatively,
and if the change parameter meets a second change condition, determining that the target application process is an application process with a fifth attribute based on the recognition result of the second display parameter of the target object in the plurality of target images in the preset time period in the target database.
6. The method of any of claims 1 to 5, wherein determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image comprises:
determining attribute information of the target application process based on the target image and the display parameters; or the like, or, alternatively,
obtaining third display parameters of other objects except the target object in the reference image in the target image, and determining attribute information of the target application process based on the third display parameters and the display parameters of the target object; or the like, or, alternatively,
and obtaining target output content of the target application process, and determining attribute information of the target application process based on the target output content and the display parameters.
7. The method according to any one of claims 1 to 5, wherein determining attribute information of the target application process based on at least display parameters of the target object in the reference image and the target image further comprises:
obtaining processor information on which the target application process depends, and determining attribute information of the target application process based on the processor information and the display parameters; or the like, or, alternatively,
obtaining a first load parameter of the target application process and/or a second load parameter of each thread of the target application process, and determining attribute information of the target application process based on the first load parameter and/or the second load parameter and the display parameter, wherein the first load parameter is the time that the process consumes a target processor in unit time, and the second load parameter is the time that the thread consumes the target processor in unit time; or the like, or, alternatively,
and obtaining a load change parameter of a target processor of the electronic equipment after the target application process is operated, and determining attribute information of the target application process based on the load change parameter and the display parameter.
8. The method of claim 1, wherein the method further comprises:
adjusting the running state of the electronic equipment based on the attribute information of the target application process; or the like, or, alternatively,
obtaining a use parameter of a target processor of the electronic equipment, and adjusting an operation parameter of the target processor based on the use parameter and the attribute information.
9. The method of claim 1, wherein the method further comprises: determining a target application process from the newly-built application processes;
the determining the target application process from the newly-built application processes comprises:
determining the application process corresponding to the application window where the target object is located as the target application process; or the like, or, alternatively,
determining an application process newly established within a preset duration after the reference image is obtained as the target application process; or the like, or, alternatively,
and determining the application process newly built through the target object after the reference image is obtained as the target application process.
10. An information determination apparatus, wherein the information determination apparatus comprises: the device comprises an acquisition module and a determination module;
the acquisition module is used for acquiring a reference image of a system graphical user interface of the electronic equipment, wherein the reference image comprises a target object;
the acquisition module is also used for acquiring a target image of the newly-built target application process;
the determining module is used for determining the attribute information of the target application process at least based on the display parameters of the target object in the reference image and the target image.
CN202110185301.6A 2021-02-10 2021-02-10 Information determination method and device Active CN112799769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110185301.6A CN112799769B (en) 2021-02-10 2021-02-10 Information determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110185301.6A CN112799769B (en) 2021-02-10 2021-02-10 Information determination method and device

Publications (2)

Publication Number Publication Date
CN112799769A true CN112799769A (en) 2021-05-14
CN112799769B CN112799769B (en) 2022-06-24

Family

ID=75815135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110185301.6A Active CN112799769B (en) 2021-02-10 2021-02-10 Information determination method and device

Country Status (1)

Country Link
CN (1) CN112799769B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870275A (en) * 2014-03-17 2014-06-18 珠海市君天电子科技有限公司 Information processing method and device
CN111382624A (en) * 2018-12-28 2020-07-07 杭州海康威视数字技术股份有限公司 Action recognition method, device, equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870275A (en) * 2014-03-17 2014-06-18 珠海市君天电子科技有限公司 Information processing method and device
CN111382624A (en) * 2018-12-28 2020-07-07 杭州海康威视数字技术股份有限公司 Action recognition method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN112799769B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
US10921873B2 (en) Method for displaying content and electronic device thereof
CN111610847B (en) Page display method and device of third-party application program and electronic equipment
CN108647055B (en) Application program preloading method and device, storage medium and terminal
EP3575962A1 (en) Method and device for preloading application, storage medium and intelligent terminal
US11099861B2 (en) Method for preloading application, storage medium, and terminal
CN108829371B (en) Interface control method and device, storage medium and electronic equipment
CN108614655B (en) Split screen display method and device, storage medium and electronic equipment
EP4177782A1 (en) Font adjustment method and apparatus, storage medium, and electronic device
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
US20230229286A1 (en) Interface display method and apparatus, and electronic device
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN107450838B (en) Response method and device of black screen gesture, storage medium and mobile terminal
US20220058772A1 (en) Image Processing Method and Device
JP2023526972A (en) Page switching method, device and electronic equipment
CN110795172B (en) Foreground process control method and device, electronic equipment and storage medium
CN112783594A (en) Message display method and device and electronic equipment
CN111240776B (en) Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111752632A (en) Control method and device of mobile terminal, mobile terminal and storage medium
CN111787602B (en) Terminal power saving method, terminal and readable storage medium
CN114205447A (en) Rapid setting method and device of electronic equipment, storage medium and electronic equipment
CN112799769B (en) Information determination method and device
CN111324262A (en) Application interface control method, device, terminal and medium
CN114764821B (en) Moving object detection method, moving object detection device, electronic equipment and storage medium
CN110855838A (en) Positioning service control method, positioning service control device, mobile terminal and storage medium

Legal Events

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