CN104808959B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104808959B
CN104808959B CN201510214053.8A CN201510214053A CN104808959B CN 104808959 B CN104808959 B CN 104808959B CN 201510214053 A CN201510214053 A CN 201510214053A CN 104808959 B CN104808959 B CN 104808959B
Authority
CN
China
Prior art keywords
display
window
parameters
parameter
presented
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510214053.8A
Other languages
Chinese (zh)
Other versions
CN104808959A (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 CN201510214053.8A priority Critical patent/CN104808959B/en
Publication of CN104808959A publication Critical patent/CN104808959A/en
Application granted granted Critical
Publication of CN104808959B publication Critical patent/CN104808959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an information processing method and electronic equipment. The method is applied to the electronic equipment with the display unit; the method comprises the following steps: detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application; determining display parameters of the first window on the display unit based on the type parameters; and determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
In the initial development stage of the mobile terminal, the screen size of the mobile terminal is smaller, the resolution of the screen is lower, an operating system of the mobile terminal such as an Android system can only provide an application function of a single window, and only one application program can be displayed in the single window; i.e., the operating system allows only one application to be in the foreground and interact with the user. However, with the rapid development of mobile terminal hardware, especially the improvement of the resolution and the increase of the size of the screen, such a single-window application of the Android system has failed to meet the needs of the user, and the user urgently needs that the operating system of the mobile terminal can provide the application function of the small window.
Based on this, when the application is displayed through the small window, the typesetting layout of the displayed small window still needs to be manually performed, for example, the position of the small window is moved or the size of the small window is adjusted. Therefore, how to automatically typeset and lay out the small windows becomes an urgent problem to be solved.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device, which can implement automatic typesetting and layout of small windows.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment with a display unit; the method comprises the following steps:
detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application;
determining a display parameter of a first window on the display unit based on the type parameter;
and determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit.
In the foregoing solution, before determining the display parameter of the first window on the display unit, the method further includes: acquiring a second attribute parameter of a window which is presented on the display unit at present,
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter includes:
determining a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter.
In the foregoing solution, the second attribute parameter includes: the number of windows already presented on the display unit;
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter and the second attribute parameter includes:
determining a display parameter of the first window on the display unit based on the type parameter and the number of windows already presented on the display unit;
wherein the display parameters of the first window on the display unit include at least one of the following parameters: display position and display size.
In the above solution, the second attribute parameter of the presented window includes at least one of the following parameters: display position, display size, and display shape.
In the foregoing solution, before determining the display parameter of the first window on the display unit, the method further includes:
acquiring third attribute parameters of M windows presented on the display unit;
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter includes: determining display parameters of the first window on the display unit and determining display parameters of the presented M windows based on the type parameter and the third attribute parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows;
correspondingly, the method further comprises the steps of determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit, and the method further comprises the steps of: and re-determining the display area of each window in the M windows based on the display parameters of the presented M windows, and controlling the M windows to be presented in the newly determined display areas.
The embodiment of the invention also provides the electronic equipment, which comprises a display unit; the electronic device further includes: the device comprises a detection unit, a determination unit and a control unit; wherein the content of the first and second substances,
the detection unit is used for detecting a first window and acquiring the attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application;
the determining unit is used for determining display parameters of the first window on the display unit based on the type parameters acquired by the detecting unit; the display device is also used for determining a first display area based on the display parameter;
the control unit is used for controlling the first window to be presented in the first display area of the display unit.
In the above scheme, the detection unit is further configured to obtain a second attribute parameter of a window that has been presented on the display unit currently;
the determining unit is configured to determine a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter acquired by the detecting unit.
In the foregoing solution, the second attribute parameter includes: the number of windows already presented on the display unit;
the determining unit is used for determining the display parameter of the first window on the display unit based on the number of windows presented on the display unit in the type parameter and the second attribute parameter; wherein the display parameters of the first window on the display unit include at least one of the following parameters: display position and display size.
In the above solution, the second attribute parameter of the presented window includes at least one of the following parameters: display position, display size, and display shape.
In the above scheme, the detection unit is further configured to obtain third attribute parameters of M windows that have been presented on the display unit currently;
the determining unit is configured to determine, based on the type parameter acquired by the detecting unit and the third attribute parameters of the presented M windows, display parameters of the first window on the display unit and display parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows; the display area of each window in the M windows is determined again based on the display parameters of the presented M windows;
and the control unit is also used for controlling the M windows to be presented in the newly determined display area.
The embodiment of the invention provides an information processing method and electronic equipment, wherein the method comprises the steps of detecting a first window through the electronic equipment, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application; determining a display parameter of a first window on the display unit based on the type parameter; and determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit. Therefore, by adopting the technical scheme of the embodiment of the invention, when the application is started, the automatic typesetting layout of the small window displayed on the application is realized, for example, the small window is automatically moved to the position which is accustomed to the user, or the size of the small window is automatically adjusted to the size which is accustomed to the user, so that the adjustment operation of the user on the small window is reduced (for example, the position of the small window is adjusted or the size of the small window is adjusted), and the operation experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides an information processing method which is applied to electronic equipment with a display unit. Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the information processing method includes:
step 101: detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application.
The information processing method described in this embodiment is applied to an electronic device, where the electronic device has a display unit, and it can be understood that the electronic device may specifically be an electronic device with a display screen, such as a smart phone, a tablet computer, a desktop computer, a notebook computer, an all-in-one machine, and a desktop computer. In this step, the obtaining, by detecting the first window, the attribute parameter of the first application displayed by the first window includes: the electronic equipment detects a first window and obtains attribute parameters of a first application displayed by the first window.
The electronic device may preset N (N is a positive integer) type parameters, each type parameter may preset a suffix name corresponding to the type parameter, and after the suffix name of the first application is acquired, the electronic device may acquire the type parameter matching the suffix name as the type parameter of the first application.
Step 102: and determining display parameters of the first window on the display unit based on the type parameters.
In this embodiment, a first information set may be preset in the electronic device, where the first information set includes a corresponding relationship between a type parameter and a display parameter; it can be understood that, if N types of parameters are preset in step 101, the first information set in this step includes corresponding relationships between the N types of parameters and the display parameters. Wherein the display parameters include at least one of the following parameters: the size and display position of the display area; wherein the size of the display area is particularly representable by the length x width of the display area; the display position may be represented by a position of a center point of the display area. In particular, it can be understood that, when a user watches a video application, the size of the window in which the video application is located is generally required to be larger, and is generally in the middle of the display screen of the electronic device. Based on this, when the type parameter represents that the first application is a video application, the display parameter corresponding to the type parameter representing the video application is generally set to have a larger size of a display area and/or a display position in the middle of a display screen of the electronic device. Of course, the display parameters included in the first information set may be preset, or the usage habits of the user for the applications of different types of parameters may be obtained through multiple times of user operation acquisition, so as to obtain the display parameters corresponding to each type of parameters.
As another preferred embodiment of the present embodiment, the display parameters further include display attribute parameters, such as brightness, contrast, color parameters (such as RGB parameters), and the like. The first information set comprises a first information set and a second information set, wherein the first information set comprises a type parameter and a display parameter, and the display parameter at least comprises the size and/or the display position of a display area and also comprises a display attribute parameter. It can be understood that the display attribute parameters of the first windows in which the first applications with the same type parameters are located are the same, and the display attribute parameters of the first windows in which the first applications with different type parameters are located are different.
Step 103: and determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit.
In this embodiment, the electronic device determines the first display area in the display screen of the electronic device based on the display parameter, specifically, based on the size and/or the display position of the display area in the display parameter. Specifically, when the display parameter includes a size and a display position of the display region, it may be determined that a center point of the first display region matches the display position, and a length × width of the first display region matches the size of the display region, so as to determine the first display region. In another embodiment, when the display parameters include only the size of the display area, the electronic device determines the first display area based on the size of the display area when it is determined that there is a display area that satisfies the size of the display area (i.e., there is a display area that satisfies the size of the display area and is not occupied by other application windows) based on the display parameters (e.g., display position and display size) of a currently presented window (i.e., an application window currently displayed in the display unit of the electronic device). In yet another embodiment, when the display parameters only include a display position, the electronic device determines a first display area based on the display position when it is determined that the display position is not occupied by other application windows based on display parameters (such as display position and display size) of a currently presented window (i.e., an application window currently displayed in a display unit of the electronic device); when it is determined that the display position is already occupied by the other application window, the electronic device may determine the first display region based on the display position while adjusting the display position of the other application window.
In various embodiments of the present invention, the application windows are mainly in a tiled scene, that is, each window is not covered by other windows, and is not covered by other windows. Of course, not limited to scenes in which the windows overlap each other.
By adopting the technical scheme of the embodiment of the invention, when the application is started, the automatic typesetting layout of the small window displayed on the application is realized, for example, the small window is automatically moved to the position which is used by a user, or the size of the small window is automatically adjusted to the size which is used by the user, so that the adjustment operation of the user on the small window (for example, the position of the small window is adjusted or the size of the small window is adjusted) is reduced, and the operation experience of the user is improved.
Example two
The embodiment of the invention also provides an information processing method, which is applied to the electronic equipment with the display unit. FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 2, the information processing method includes:
step 201: detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application.
The information processing method described in this embodiment is applied to an electronic device, where the electronic device has a display unit, and it can be understood that the electronic device may specifically be an electronic device with a display screen, such as a smart phone, a tablet computer, a desktop computer, a notebook computer, an all-in-one machine, and a desktop computer. In this step, the obtaining, by detecting the first window, the attribute parameter of the first application displayed by the first window includes: the electronic equipment detects a first window and obtains attribute parameters of a first application displayed by the first window.
The electronic device may preset N (N is a positive integer) type parameters, each type parameter may preset a suffix name corresponding to the type parameter, and after the suffix name of the first application is acquired, the electronic device may acquire the type parameter matching the suffix name as the type parameter of the first application.
Step 202: and acquiring a second attribute parameter of the window presented on the display unit currently.
Here, the second attribute parameter includes: the number of windows already presented on the display unit; the second attribute parameters further include at least one of: display position, display size, and display shape.
Specifically, the windows presented on the display unit are application windows displayed in the display unit, and the application windows all have a certain display position, display size, and shape. In this embodiment, the electronic device obtains a second attribute parameter of the application window already displayed in the display unit, where the second attribute parameter includes the number of windows already presented and at least one of the following parameters: display position, display size, and display shape.
Step 203: determining a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter.
Here, the determining a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter includes: determining a display parameter of the first window on the display unit based on the type parameter and the number of windows already presented on the display unit;
wherein the display parameters of the first window on the display unit include at least one of the following parameters: display position and display size.
In this embodiment, the determining, by the electronic device, the display parameter of the first window on the display unit based on the type parameter and the number of windows already presented on the display unit includes: the electronic equipment determines the display parameters of the first window on the display unit based on the type parameters, the number of presented windows on the display unit and the display parameters of the presented windows (the display parameters of the presented windows comprise at least one of the following parameters, namely display position, display size and display shape).
Specifically, in this embodiment, a second information set may be preset in the electronic device, where the second information set includes a corresponding relationship between a type parameter and an intermediate display parameter; it can be understood that, if N (N is a positive integer) type parameters are preset in step 201, the second information set in this step includes corresponding relationships between the N type parameters and the intermediate display parameters. Wherein the intermediate display parameters include at least one of the following parameters: the size and display position of the display area; wherein the size of the display area is particularly representable by the length x width of the display area; the display position may be represented by a position of a center point of the display area. In particular, it can be understood that, when a user watches a video application, the size of the window in which the video application is located is generally required to be larger, and is generally in the middle of the display screen of the electronic device. Based on this, when the type parameter represents that the first application is a video application, the display parameter corresponding to the type parameter representing the video application is generally set to have a larger size of a display area and/or a display position in the middle of a display screen of the electronic device. Of course, the intermediate display parameters included in the second information set may be preset, or the usage habits of the user for the applications of different types of parameters may be obtained through multiple user operation acquisition, so as to obtain the intermediate display parameters corresponding to each type of parameters. In this embodiment, the intermediate display parameter may be understood as a preferred display parameter of the first window, and certainly, after combining the presented window on the display unit, the obtained intermediate display parameter matching the type parameter may not be satisfied.
The electronic equipment firstly judges whether a display area which meets the size and/or the display position of the display area in the intermediate display parameters is overlapped by the presented window or not based on the intermediate display parameters acquired through the second information set and the second attribute parameters of the presented window; when confirming that the display area meeting the size and/or the display position of the display area is not covered by the presented window, taking the intermediate display parameter represented by the display area of the size and/or the display position of the display area as the final display parameter; and when the display area meeting the size and/or the display position of the display area is confirmed to be overlapped with the presented window, gradually adjusting the size and/or the display position of the display area according to the first threshold value until the display area meeting the size and/or the display position of the display area is confirmed not to be covered by the presented window, and taking the middle display parameter represented by the adjusted size and/or the adjusted display position of the display area as the final display parameter.
As another preferred embodiment of this embodiment, the intermediate display parameters further include display attribute parameters, such as brightness, contrast, color parameters (such as RGB parameters), and the like. And the second information set comprises a corresponding relation between the type parameter and an intermediate display parameter, wherein the intermediate display parameter at least comprises the size and/or the display position of the display area and also comprises a display attribute parameter. It can be understood that the display attribute parameters of the first windows in which the first applications with the same type parameters are located are the same, and the display attribute parameters of the first windows in which the first applications with different type parameters are located are different. Correspondingly, the second property parameters of the presented window also include display property parameters, such as brightness, contrast, color parameters (e.g., RGB parameters), and so on. Whether the display attribute parameter of the first window to be presented or the display attribute parameter of the presented window is matched with the type parameter of the application corresponding to the first window, in this embodiment, the display attribute parameter included in the intermediate display parameter is also the display attribute parameter included in the finally determined display parameter.
Step 204: and determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit.
In this embodiment, the electronic device at least includes one of the following parameters based on the display parameters determined in step 203: the display position and the display size, and display attribute parameters (such as brightness, contrast, color parameters and the like) can be further included to determine a first display area, and the first window is controlled to be presented in the first display area of the display unit.
By adopting the technical scheme of the embodiment of the invention, when the application is started, the automatic typesetting layout of the small window displayed on the application is realized, for example, the small window is automatically moved to the position which is used by a user, or the size of the small window is automatically adjusted to the size which is used by the user, so that the adjustment operation of the user on the small window (for example, the position of the small window is adjusted or the size of the small window is adjusted) is reduced, and the operation experience of the user is improved.
EXAMPLE III
The embodiment of the invention also provides an information processing method, which is applied to the electronic equipment with the display unit. FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the information processing method includes:
step 301: detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application.
The information processing method described in this embodiment is applied to an electronic device, where the electronic device has a display unit, and it can be understood that the electronic device may specifically be an electronic device with a display screen, such as a smart phone, a tablet computer, a desktop computer, a notebook computer, an all-in-one machine, and a desktop computer. In this step, the obtaining, by detecting the first window, the attribute parameter of the first application displayed by the first window includes: the electronic equipment detects a first window and obtains attribute parameters of a first application displayed by the first window.
The electronic device may preset N (N is a positive integer) type parameters, each type parameter may preset a suffix name corresponding to the type parameter, and after the suffix name of the first application is acquired, the electronic device may acquire the type parameter matching the suffix name as the type parameter of the first application.
Step 302: acquiring third attribute parameters of M windows presented on the display unit; m is a positive integer.
Here, the third attribute parameters of the presented M windows include display parameters of the presented M windows; the display parameters of the presented M windows comprise the display parameters of each window, and the display parameters of each display window at least comprise at least one of the following parameters: display position, display size, and display shape.
Specifically, the M windows presented on the display unit are M application windows displayed in the display unit, and the M application windows all have a certain display position, display size, and shape. In this embodiment, the electronic device obtains the third attribute parameters of the M application windows already displayed in the display unit.
Step 303: determining display parameters of the first window on the display unit and determining display parameters of the presented M windows based on the type parameter and the third attribute parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows.
Specifically, the third attribute parameters of the presented M windows include at least one of the following parameters: display position, display size, and display shape.
A third information set can be preset in the electronic equipment, wherein the third information set comprises a corresponding relation between a type parameter and an intermediate display parameter; it can be understood that, if N types of parameters are preset in step 301, the third information set in this step includes the corresponding relationship between the N types of parameters and the intermediate display parameters. Wherein the intermediate display parameters include at least one of the following parameters: the size and display position of the display area; wherein the size of the display area is particularly representable by the length x width of the display area; the display position may be represented by a position of a center point of the display area. In particular, it can be understood that, when a user watches a video application, the size of the window in which the video application is located is generally required to be larger, and is generally in the middle of the display screen of the electronic device. Based on this, when the type parameter represents that the first application is a video application, the display parameter corresponding to the type parameter representing the video application is generally set to have a larger size of a display area and/or a display position in the middle of a display screen of the electronic device. Of course, the intermediate display parameters included in the third information set may be preset, or the usage habits of the user for the applications of different types of parameters may be obtained through multiple user operation acquisition, so as to obtain the intermediate display parameters corresponding to each type of parameters. In this embodiment, the intermediate display parameter may be understood as a preferred display parameter of the first window, and certainly, after combining the presented window on the display unit, the obtained intermediate display parameter matching the type parameter may not be satisfied.
The electronic device first determines, based on the intermediate display parameters obtained through the third information set and the third attribute parameters of the presented M windows, an overlapping condition of a display area, which satisfies a size and/or a display position of the display area, in the intermediate display parameters, where the overlapping condition may include an overlapping size. After the overlapping condition is determined, both the first window and the M presented windows are adjusted (specifically, the adjustment may be performed gradually according to the first threshold value) so as to meet the display size and/or the display position of the first window, and the display sizes and/or the display positions of the other M presented windows are adjusted when two adjacent windows are in a tiled state (i.e., a state where no overlapping occurs). And determining the adjusted display parameters of the first window and the adjusted display parameters of the presented M windows under the condition that the size and/or the display position of the display area of the first window are met and all windows are in a tiled state.
As another preferred embodiment of this embodiment, the intermediate display parameters further include display attribute parameters, such as brightness, contrast, color parameters (such as RGB parameters), and the like. And the third information set comprises a corresponding relation between the type parameter and an intermediate display parameter, wherein the intermediate display parameter at least comprises the size and/or the display position of the display area and also comprises a display attribute parameter. It can be understood that the display attribute parameters of the first windows in which the first applications with the same type parameters are located are the same, and the display attribute parameters of the first windows in which the first applications with different type parameters are located are different. Accordingly, the display parameters of the rendered M windows also include display attribute parameters, such as brightness, contrast, color parameters (e.g., RGB parameters), and so on. No matter the display attribute parameters of the first window to be presented or the display attribute parameters of the M presented windows are matched with the type parameters of the corresponding application, in this embodiment, the display attribute parameters included in the intermediate display parameters are also the display attribute parameters included in the finally determined display parameters.
Step 304: determining a first display area based on the display parameters, controlling the first window to be presented in the first display area of the display unit, and re-determining the display area of each of the M windows based on the display parameters of the M windows already presented, controlling the M windows to be presented in the newly determined display areas.
In this embodiment, the electronic device at least includes one of the following parameters based on the display parameters determined in step 303: the display position and the display size, and display attribute parameters (such as brightness, contrast, color parameters and the like) can be further included to determine a first display area, and the first window is controlled to be presented in the first display area of the display unit; meanwhile, based on the display parameters of the presented M windows re-determined in step 303, at least one of the following parameters is included: the display position and the display size can also comprise display attribute parameters (such as brightness, contrast, color parameters and the like) to re-determine the display area of each window in the M windows, and control the M windows to be presented in the newly determined display area.
By adopting the technical scheme of the embodiment of the invention, when the application is started, the automatic typesetting layout of the small window displayed on the application is realized, for example, the small window is automatically moved to the position which is used by a user, or the size of the small window is automatically adjusted to the size which is used by the user, so that the adjustment operation of the user on the small window (for example, the position of the small window is adjusted or the size of the small window is adjusted) is reduced, and the operation experience of the user is improved.
Example four
The embodiment of the invention also provides the electronic equipment. FIG. 4 is a schematic diagram of a structure of an electronic device according to an embodiment of the invention; as shown in fig. 4, the electronic apparatus includes a display unit 40; the electronic device further includes: a detection unit 41, a determination unit 42, and a control unit 43; wherein the content of the first and second substances,
the detecting unit 41 is configured to detect a first window, and acquire an attribute parameter of a first application displayed in the first window; wherein the attribute parameter comprises a type parameter of the first application;
the determining unit 42 is configured to determine a display parameter of the first window on the display unit 40 based on the type parameter acquired by the detecting unit 41; the display device is also used for determining a first display area based on the display parameter;
the control unit 43 is configured to control the first window to be presented in the first display area of the display unit 40.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE five
The embodiment of the invention also provides the electronic equipment. As shown in fig. 4, the electronic apparatus includes a display unit 40; the electronic device further includes: a detection unit 41, a determination unit 42, and a control unit 43; wherein the content of the first and second substances,
the detecting unit 41 is configured to detect a first window, and acquire an attribute parameter of a first application displayed in the first window; wherein the attribute parameter comprises a type parameter of the first application; the second attribute parameter is further used for acquiring a second attribute parameter of a window presented on the display unit 40;
the determining unit 42 is configured to determine a display parameter of the first window on the display unit 40 based on the type parameter and the second attribute parameter acquired by the detecting unit 41; the display device is also used for determining a first display area based on the display parameter;
the control unit 43 is configured to control the first window to be presented in the first display area of the display unit 40.
Specifically, the second attribute parameter includes: the number of windows already presented on the display unit 40;
the determining unit 42 is configured to determine a display parameter of the first window on the display unit 40 based on the number of windows already presented on the display unit 40 in the type parameter and the second attribute parameter; wherein the display parameters of the first window on the display unit 40 include at least one of the following parameters: display position and display size.
Wherein the second attribute parameter of the presented window comprises at least one of the following parameters: display position, display size, and display shape.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE six
The embodiment of the invention also provides the electronic equipment. As shown in fig. 4, the electronic apparatus includes a display unit 40; the electronic device further includes: a detection unit 41, a determination unit 42, and a control unit 43; wherein the content of the first and second substances,
the detecting unit 41 is configured to detect a first window, and acquire an attribute parameter of a first application displayed in the first window; wherein the attribute parameter comprises a type parameter of the first application; the third attribute parameters of the M windows currently displayed on the display unit 40 are also obtained;
the determining unit 42 is configured to determine, based on the type parameter obtained by the detecting unit 41 and the third attribute parameters of the presented M windows, display parameters of the first window on the display unit 40 and display parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows; the display area of each window in the M windows is determined again based on the display parameters of the presented M windows;
the control unit 43 is configured to control the first window to be presented in the first display area of the display unit 40; and is further configured to control the M windows to be presented in the newly determined display area.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the fourth to sixth embodiments of the present invention, the detecting Unit 41, the determining Unit 42, and the controlling Unit 43 in the electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the electronic device in practical application; the display unit 40 in the electronic device may be implemented by a display screen or a display in the electronic device in practical applications.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. An information processing method is applied to an electronic device with a display unit; the method comprises the following steps:
detecting a first window, and acquiring attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application;
determining a display parameter of a first window on the display unit based on the type parameter;
determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit;
wherein the size and position of the first display area is related to a type parameter of the first application; the first display area is an area of the display unit that is not occupied by windows of other applications.
2. The method of claim 1, wherein prior to determining the display parameter of the first window on the display unit, the method further comprises: acquiring a second attribute parameter of a window which is presented on the display unit at present,
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter includes:
determining a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter.
3. The method of claim 2, wherein the second attribute parameter comprises: the number of windows already presented on the display unit;
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter and the second attribute parameter includes:
determining a display parameter of the first window on the display unit based on the type parameter and the number of windows already presented on the display unit;
wherein the display parameters of the first window on the display unit include at least one of the following parameters: display position and display size.
4. The method of claim 2, wherein the second property parameter of the rendered window comprises at least one of: display position, display size, and display shape.
5. The method of claim 1, wherein prior to determining the display parameter of the first window on the display unit, the method further comprises:
acquiring third attribute parameters of M windows presented on the display unit;
correspondingly, the determining the display parameter of the first window on the display unit based on the type parameter includes: determining display parameters of the first window on the display unit and determining display parameters of the presented M windows based on the type parameter and the third attribute parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows;
correspondingly, the method further comprises the steps of determining a first display area based on the display parameters, and controlling the first window to be presented in the first display area of the display unit, and the method further comprises the steps of: and re-determining the display area of each window in the M windows based on the display parameters of the presented M windows, and controlling the M windows to be presented in the newly determined display areas.
6. An electronic device includes a display unit; the electronic device further includes: the device comprises a detection unit, a determination unit and a control unit; wherein the content of the first and second substances,
the detection unit is used for detecting a first window and acquiring the attribute parameters of a first application displayed by the first window; wherein the attribute parameter comprises a type parameter of the first application;
the determining unit is used for determining display parameters of the first window on the display unit based on the type parameters acquired by the detecting unit; the display device is also used for determining a first display area based on the display parameter;
the control unit is used for controlling the first window to be presented in a first display area of the display unit;
wherein the size and position of the first display area is related to a type parameter of the first application; the first display area is an area of the display unit that is not occupied by windows of other applications.
7. The electronic device according to claim 6, wherein the detecting unit is further configured to obtain a second attribute parameter of a window that has been currently presented on the display unit;
the determining unit is configured to determine a display parameter of the first window on the display unit based on the type parameter and the second attribute parameter acquired by the detecting unit.
8. The electronic device of claim 7, wherein the second attribute parameter comprises: the number of windows already presented on the display unit;
the determining unit is used for determining the display parameter of the first window on the display unit based on the number of windows presented on the display unit in the type parameter and the second attribute parameter; wherein the display parameters of the first window on the display unit include at least one of the following parameters: display position and display size.
9. The electronic device of claim 7, wherein the second attribute parameter of the rendered window comprises at least one of: display position, display size, and display shape.
10. The electronic device according to claim 6, wherein the detecting unit is further configured to obtain third attribute parameters of M windows that have been currently presented on the display unit;
the determining unit is configured to determine, based on the type parameter acquired by the detecting unit and the third attribute parameters of the presented M windows, display parameters of the first window on the display unit and display parameters of the presented M windows; wherein the third attribute parameters of the presented M windows comprise display parameters of the presented M windows; the display area of each window in the M windows is determined again based on the display parameters of the presented M windows;
and the control unit is also used for controlling the M windows to be presented in the newly determined display area.
CN201510214053.8A 2015-04-29 2015-04-29 Information processing method and electronic equipment Active CN104808959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214053.8A CN104808959B (en) 2015-04-29 2015-04-29 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214053.8A CN104808959B (en) 2015-04-29 2015-04-29 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104808959A CN104808959A (en) 2015-07-29
CN104808959B true CN104808959B (en) 2020-07-24

Family

ID=53693818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214053.8A Active CN104808959B (en) 2015-04-29 2015-04-29 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104808959B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204734A (en) * 2015-09-07 2015-12-30 上海创功通讯技术有限公司 Brightness control method and system
CN105843504B (en) * 2016-03-18 2019-06-25 联想(北京)有限公司 A kind of window regulation method and electronic equipment
CN107626105B (en) * 2017-08-24 2021-04-02 网易(杭州)网络有限公司 Game picture display method and device, storage medium and electronic equipment
CN109271074A (en) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 A kind of window regulation method, window adjusting means and mobile terminal
CN111142730B (en) * 2019-12-26 2021-06-15 维沃移动通信有限公司 Split-screen display method and electronic equipment
CN113497964B (en) * 2020-03-19 2024-01-19 深圳Tcl数字技术有限公司 Display method of local light control, storage medium and intelligent television

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741969A (en) * 2008-11-07 2010-06-16 康佳集团股份有限公司 Method for managing a plurality of controls on display interface of mobile phone and control manager thereof
CN103558959A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Window displaying method and device applied to Android platform
CN104202647A (en) * 2014-08-08 2014-12-10 深圳市同洲电子股份有限公司 Display method and device of window
CN104423777A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Window display method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7913183B2 (en) * 2002-10-08 2011-03-22 Microsoft Corporation System and method for managing software applications in a graphical user interface
US20090327871A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation I/o for constrained devices
KR102069014B1 (en) * 2012-09-25 2020-02-12 삼성전자 주식회사 Apparatus and method for controlling split view in portable terminal equipment
CN103970417B (en) * 2014-04-16 2017-12-29 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741969A (en) * 2008-11-07 2010-06-16 康佳集团股份有限公司 Method for managing a plurality of controls on display interface of mobile phone and control manager thereof
CN104423777A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Window display method and device
CN103558959A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Window displaying method and device applied to Android platform
CN104202647A (en) * 2014-08-08 2014-12-10 深圳市同洲电子股份有限公司 Display method and device of window

Also Published As

Publication number Publication date
CN104808959A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104808959B (en) Information processing method and electronic equipment
CN106970735B (en) Information processing method and electronic equipment
CN107797739B (en) Mobile terminal, display control method and device thereof, and computer-readable storage medium
US9549121B2 (en) Image acquiring method and electronic device
CN107506637B (en) Information display method and device, terminal and readable storage medium
CN109885314B (en) Automatic layout method and device for small programs
CN108702452A (en) A kind of image capturing method and device
CN112055244B (en) Image acquisition method and device, server and electronic equipment
EP3822758A1 (en) Method and apparatus for setting background of ui control
CN105224187A (en) Menu execution control method and terminal equipment
CN104914979A (en) Display control method and terminal
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
CN110174984B (en) Information processing method and electronic equipment
CN109753957B (en) Image significance detection method and device, storage medium and electronic equipment
CN107533448A (en) Image output control method, image Output Control Program and display device
CN110858154A (en) Switching display method and device of carousel pictures, electronic equipment and storage medium
CN106951239B (en) Method and device for setting display of application program
CN106126057B (en) Screen capture method and device and terminal equipment
US10147164B2 (en) Electronic device and data-erasing method
CN107529095A (en) A kind of video-splicing method and device
US9367522B2 (en) Time-based presentation editing
CN109766530B (en) Method and device for generating chart frame, storage medium and electronic equipment
CN104516696A (en) Information processing method and electronic device
CN104536709A (en) Display control method
KR20160053545A (en) Method for inputting command editing object in word processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant