CN112685122B - Information processing method, electronic equipment and computer readable storage medium - Google Patents

Information processing method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112685122B
CN112685122B CN202011625148.6A CN202011625148A CN112685122B CN 112685122 B CN112685122 B CN 112685122B CN 202011625148 A CN202011625148 A CN 202011625148A CN 112685122 B CN112685122 B CN 112685122B
Authority
CN
China
Prior art keywords
display
target application
output state
interface
application
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
CN202011625148.6A
Other languages
Chinese (zh)
Other versions
CN112685122A (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 CN202011625148.6A priority Critical patent/CN112685122B/en
Publication of CN112685122A publication Critical patent/CN112685122A/en
Application granted granted Critical
Publication of CN112685122B publication Critical patent/CN112685122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: acquiring a trigger instruction; based on the trigger instruction, starting a target application; displaying an interface of the target application through a display screen; wherein the displaying the interface of the target application through the display screen includes: obtaining the display output state of the display screen; generating and displaying an interface of the target application based on a second display parameter if the display output state belongs to a first output state and the target application belongs to a non-immersive application; the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state. The embodiment of the application also discloses the electronic equipment and a computer readable storage medium.

Description

Information processing method, electronic equipment and computer readable storage medium
Technical Field
The present application relates to information processing technologies in the field of computers, and in particular, to an information processing method, an electronic device, and a computer-readable storage medium.
Background
Currently, when an electronic device, particularly a tablet computer, is in use, all applications installed on the device are opened, and the current task is interrupted, and the applications are opened in a full screen manner by default. However, many tasks in the system of the electronic device, such as replying to a message, taking a car, setting an alarm clock, taking out an order, etc., only occur temporarily, and the user needs to walk after using up; obviously, the opening mode of the application in the relative technology has the problems of fixed form and incapability of flexible adjustment, and the use efficiency of the electronic equipment is influenced.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present application are expected to provide an information processing method, an electronic device, and a computer-readable storage medium, which solve the problem that the application opening mode in the relative technology is fixed and cannot be flexibly adjusted.
The technical scheme of the application is realized as follows:
an information processing method, the method comprising:
acquiring a trigger instruction;
based on the trigger instruction, starting a target application; displaying an interface of the target application through a display screen;
wherein the content of the first and second substances,
the displaying the interface of the target application through the display screen comprises:
obtaining the display output state of the display screen;
generating and displaying an interface of the target application based on a second display parameter if the display output state belongs to a first output state and the target application belongs to a non-immersive application; the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state.
In the foregoing solution, the displaying the interface of the target application through the display screen further includes:
and if the display output state belongs to a second output state, generating and displaying the interface of the target application based on the second display parameter.
In the above scheme, the method further comprises:
obtaining an input operation aiming at an interface of the target application;
and generating and displaying the interface of the target application according to the first display parameter based on the input operation, wherein the typesetting of the display content for generating and displaying the interface of the target application based on the first display parameter is different from the typesetting of the display content for generating and displaying the interface of the target application based on the second display parameter.
In the above scheme, wherein:
the long edge of the interface of the target application generated and displayed based on the second display parameter corresponds to the short edge of the display screen;
and the long edge of the interface of the target application generated and displayed based on the first display parameter corresponds to the long edge of the display screen.
In the foregoing solution, the second display parameter includes a target display size, and the method further includes:
if the display output state belongs to the first output state, generating and displaying an interface of the target application according to the target display size; wherein the target display size is smaller than the size of the display screen.
In the foregoing solution, the second display parameter includes a display position, and the method further includes:
if the display output state belongs to the first output state, covering and displaying an interface of the target application at a preset position on a display interface of the display screen before the target application is called; the preset position is a position on the display interface, which is close to a frame of the display screen;
or if the display output state belongs to the first output state, displaying a display interface on the display screen before calling the target application at a first display area of the display screen, and displaying an interface of the target application at a second display area of the display screen; wherein the display area of the display screen comprises the first display area and the second display area.
In the above scheme, the method further comprises:
receiving dragging operations at two opposite ends of a first frame of the interface of the target application if the display output state belongs to a first output state and the interface of the target application is displayed with the second display parameters;
and switching the interface of the target application to be displayed with the first display parameter based on the dragging operation.
In the above scheme, the method further comprises:
acquiring historical use data of an application; wherein the historical usage data characterizes a historical usage state of the application by the user;
based on the historical usage data, a manifest of non-immersive applications is determined.
An electronic device, the electronic device comprising:
a processor for performing the steps of:
acquiring a trigger instruction;
based on the trigger instruction, starting a target application;
the display screen is used for displaying the interface of the target application;
the processor is further configured to perform the steps of:
obtaining the display output state of the display screen;
generating an interface for the target application based on a second display parameter if the display output state belongs to a first output state and the target application belongs to a non-immersive application; wherein the target application comprises at least a first display parameter and the second display parameter, the first display parameter corresponding to the first output state, the second display parameter corresponding to the second output state;
the display screen is also used for displaying the interface of the target application.
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 processing method described above.
According to the information processing method, the electronic device and the computer readable storage medium provided by the embodiment of the application, the trigger instruction is obtained, and the target application is started based on the trigger instruction; obtaining a display output state of the display screen, and if the display output state belongs to the first output state and the target application belongs to the non-immersive application, generating and displaying an interface of the target application based on the second display parameter; the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, the second display parameter corresponds to the second output state, and therefore when the display output state of the electronic equipment belongs to the first output state and the application belongs to the non-immersive application, the application can be generated and displayed according to the second display parameter corresponding to the second output state of the electronic equipment instead of opening the application in a fixed form in a unified manner without completely considering the type of the application program as in the relative technology, and the problems that the form of an application opening mode in the relative technology is fixed, the use efficiency of the electronic equipment cannot be flexibly adjusted and is influenced are solved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a target application displayed on a display screen in an information processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 5a and 5b are another schematic diagrams of a target application displayed on a display screen in an information processing method provided by an embodiment of the present application;
fig. 6a and 6b are further schematic diagrams illustrating a target application displayed on a display screen in an information processing method according to an embodiment of the present application;
fig. 7a and 7b are schematic diagrams illustrating a target application hidden and displayed on a display screen in an information processing method provided by 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.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
An embodiment of the present application provides an information processing method, which may be applied to an electronic device, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining a trigger instruction.
The triggering instruction can be an instruction for opening a target application in the electronic equipment; the trigger instruction can be generated after the user operates the electronic equipment; in a possible implementation manner, the trigger instruction may be generated after the user performs a touch operation on the electronic device to open the target application or sends voice information to open the target application. Of course, the trigger instruction may be any instruction that can open the target application, and the form of forming the trigger instruction is not limited.
And 102, starting the target application based on the trigger instruction.
After the electronic equipment acquires the trigger instruction, calling a target application in the electronic equipment; that is, the target application is started inside the electronic device, but the target application is not displayed on the display screen of the electronic device immediately while the target application is started; in one possible implementation, the target application may be run in the background of the electronic device first.
And 103, displaying an interface of the target application through a display screen.
After the target application is started, the electronic device may determine a display parameter for generating an interface of the target application according to a current output state of the electronic device and an application type of the target application, and generate and display the interface of the target application according to the determined display parameter. It should be noted that the application type of the target application may be a type capable of characterizing whether the target application is a non-immersive application.
In the embodiment of the present application, step 103 may be implemented by:
and 103a, obtaining the display output state of the display screen.
The display output state of the display screen can be used for representing what display style the current display output state of the display screen presents; it should be noted that the display output state may include two states, a landscape screen output state and a portrait screen output state.
And 103b, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, generating and displaying an interface of the target application based on the second display parameter.
The target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state.
In the embodiment of the present application, determining whether the target application belongs to the non-immersive application may be determined according to historical usage data of the target application; of course, it may also be determined by detecting whether the target application is in a manifest of non-immersive applications. Among them, the immersive application may refer to an application that is used for a long time and needs to be used for a long time; non-immersive applications refer to fragmented time usage and not long usage, and applications that switch to the background or exit immediately upon exhaustion.
It should be noted that the first output state may be a landscape output state; that is, if the display output state belongs to the landscape output state and the target application belongs to the non-immersive application, the electronic device generates a corresponding interface for the target application running in the background according to the second display parameter, and displays the interface of the target application on the display screen according to the second display parameter; the second display parameter may be a display parameter corresponding to the vertical screen output state. In this embodiment, the second display parameter may refer to a vertical screen output parameter, that is, the interface of the target application is presented at this time as a vertical screen interface.
According to the information processing method provided by the embodiment of the application, the trigger instruction is obtained, and the target application is started based on the trigger instruction; obtaining a display output state of the display screen, and if the display output state belongs to the first output state and the target application belongs to the non-immersive application, generating and displaying an interface of the target application based on the second display parameter; the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to a first output state, the second display parameter corresponds to a second output state, and therefore when the display output state of the electronic equipment belongs to the first output state and the application belongs to the non-immersive application, the application can be generated and displayed according to the second display parameter corresponding to the second output state of the electronic equipment, namely when the electronic equipment is in the horizontal screen state (the first output state) and the target application belongs to the non-immersive application, the target application is an interactive interface of the application drawn based on the vertical screen display parameter (the second display parameter) and is displayed in a local area of the display screen. Therefore, the target application is not an interactive interface of the application program drawn based on the landscape display parameters corresponding to the landscape state.
Based on the foregoing embodiments, an embodiment of the present application provides an information processing method, which is shown in fig. 2 and includes the following steps:
step 201, the electronic device obtains a trigger instruction.
Step 202, the electronic device starts the target application based on the trigger instruction.
The target application may be any application installed on the electronic device, or any web application (applet) included in one application.
And step 203, the electronic equipment obtains the display output state of the display screen.
In the embodiment of the present application, the display output state of the display screen may be determined according to a state in which the electronic device is placed or held, that is, a state in which the display screen is located; in a feasible implementation manner, if a sensor of the electronic device detects that the sensing parameter represents that the electronic device is in a horizontal screen placement state, the display output state of the display screen may be a horizontal screen output state; if the sensor of the electronic device detects that the sensing parameter represents that the electronic device is in the vertical screen placement state, the display output state of the display screen can be the vertical screen output state.
And 204, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, the electronic equipment generates and displays an interface of the target application based on the second display parameter.
The target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state. The first display parameter and/or the second display parameter are used for drawing an interactive interface of the target application by a processor of the electronic equipment based on the first display parameter and/or the second display parameter so as to output and display on a display screen of the electronic equipment. Further, the first display parameter may be a display parameter corresponding to a landscape output state; in one possible implementation, the first display parameter may be a landscape output parameter.
In an embodiment of the present application, if the target application is in a manifest of a non-immersive application, determining that the target application is a non-immersive application; determining that the target application is not a non-immersive application if the target application is not in the manifest of the non-immersive application. In one possible implementation, the non-immersive application may be a temporary short-term task class application, which may include a tool-type application. If the target application is not a non-immersive application, the target application generates a corresponding interactive interface with a corresponding display parameter rendering based on obtaining the display output state of the display screen. That is, the target application (which is not a non-immersive application) is an interactive interface of an application drawn based on the landscape display parameters corresponding to the landscape state, or an interactive interface of an application drawn based on the portrait display parameters corresponding to the portrait state.
It should be noted that, if the target application is not in the list of non-immersive applications, key information related to the target application may be acquired, and whether the target application is a non-immersive application may be determined according to the key information; in one possible implementation, a core field in an application store of the electronic device can be automatically and intelligently identified, and the core field is analyzed to determine whether the target application is a non-immersive application; if the target application is analyzed to belong to tool-type applications such as communication, taxi taking, takeaway, music, gadget and the like, the target application is determined to be a non-immersive application, and the target application satisfying the condition is added to a list of the non-immersive applications. If the target application is not obtained from the analysis as a tool-type application of communication, taxi taking, takeout, music, gadget, or the like, it is determined whether the target application is a non-immersive application (immersive application).
In the embodiment of the present application, an electronic device is taken as a tablet computer for illustration, as shown in fig. 3, a current display output state of the tablet computer is in a horizontal screen output state, and at this time, after a user clicks an instant messaging application AA, because the application AA belongs to a non-immersive application, the application AA may be generated according to a vertical screen output parameter and presented on a local area of a display output area of a display screen.
And step 205, if the display output state belongs to the second output state, the electronic device generates and displays an interface of the target application based on the second display parameter.
In this embodiment of the application, the second output state may be a portrait screen output state; that is, if the display output state belongs to the vertical screen output state and the target application belongs to the non-immersive application, the electronic device may generate an interface corresponding to the target application according to the vertical screen display parameters, and display the interface of the target application on the display screen according to the vertical screen display parameters.
In other embodiments of the present application, if the display output state belongs to the vertical screen output state and the target application belongs to the non-immersive application, the electronic device may also generate an interface of the target application using the vertical screen display parameters, and display the interface of the target application in a local area of the display screen using the vertical screen display parameters; in a possible implementation manner, the target application interface generated and displayed based on the second display parameter may be displayed in a floating window manner in a local area of the display screen in an overlapping manner. Therefore, the interface of the target application can be displayed, normal operation of other running applications on the electronic equipment is not affected, and meanwhile, the user can operate the target application and can also operate the other running applications.
It should be noted that, in the interface generation and display method of the application in the embodiment of the present application, for the non-immersive application that should be opened in the form of a floating window when being opened, the application can be immediately closed or switched to a background operation after being used up, and the influence on other applications running on the electronic device is not great.
According to the information processing method provided by the embodiment of the application, when the display output state of the electronic device belongs to the second output state and the application belongs to the non-immersive application, the application can be generated and displayed according to the second display parameter corresponding to the second output state of the electronic device, that is, when the electronic device is in the vertical screen state and the target application belongs to the non-immersive application, the target application is an interactive interface of an application program drawn based on the vertical screen display parameter, and is displayed on the display screen in a full screen manner or in a local area of the display screen. Therefore, the interactive interface of the application program drawn by the target application and the corresponding vertical screen display parameters in the vertical screen state can be realized, and other running applications on the electronic equipment can be monitored while the target application is operated.
Based on the foregoing embodiment, in another embodiment of the present application, as shown in fig. 4, the information processing method may further include the following steps:
step 301, the electronic device obtains a trigger instruction.
And step 302, the electronic equipment starts the target application based on the trigger instruction.
And step 303, the electronic equipment obtains the display output state of the display screen.
And 304, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, the electronic equipment generates and displays an interface of the target application based on the second display parameters.
The target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state.
It is noted that non-immersive applications may include tool-type applications; in one possible implementation, communication classes may be included, such as: various instant messaging software, and the like, such as: various taxi taking software, take-away classes, such as: a particular person, a particular group of takeaway, etc., music, such as: certain cloud music, certain my music, etc., gadgets, such as: weather, calendar, alarm clock, etc., learning tools: certain translation, certain word chop, etc.
Step 305, the electronic device obtains an input operation of an interface for the target application.
The input operation can be only the operation on the interface of the target application, but not the operation on the information displayed on the interface of the target application; in a possible implementation manner, the input operation may include interface operations such as a sliding operation and/or a dragging operation on an interface of the target application generated and displayed according to the second display parameter.
And step 306, the electronic equipment generates and displays an interface of the target application according to the first display parameter based on the input operation.
It should be noted that, after the user performs an input operation on the interface of the target application, the interface of the target application may be switched to the interface generated and displayed according to the first display parameter. That is to say, when the electronic device is in the landscape screen output state, the interface of the target application may be initially generated and displayed in the form of a floating window of the portrait screen, and after receiving an input operation to the interface, the interface of the target application may be switched to be generated and displayed in the form of the landscape screen. In one possible implementation, the interface in the form of a landscape screen may be presented in a full screen form, i.e., the interface of the target application may now be tiled across the entire display screen.
And generating and displaying the typesetting of the display content of the interface of the target application based on the first display parameter, wherein the typesetting of the display content of the interface of the target application is different from the typesetting of the display content of the interface of the target application based on the second display parameter.
It should be noted that, the display content includes specific information and display elements to be displayed, and the specific information and the position of the display element of the display of the interface of the target application generated and displayed based on the first display parameter are different from the specific information and the position of the display element of the display of the interface of the target application generated and displayed based on the second display parameter.
In other embodiments of the present application, the long side of the interface of the target application generated and displayed based on the second display parameter corresponds to the short side of the display screen.
The long side of the interface of the target application generated and displayed based on the first display parameter corresponds to the long side of the display screen.
The interface of the target application generated and displayed based on the second display parameter and the interface of the target application generated and displayed based on the first display parameter comprise two long sides arranged in parallel and two short sides arranged in parallel; the display screen also comprises two long sides arranged in parallel and two short sides arranged in parallel; it should be noted that, when the electronic device is in the horizontal screen output state, the long side of the interface of the target application generated and displayed based on the second display parameter is parallel to the short side of the display screen, and the short side of the interface of the target application generated and displayed based on the second display parameter is parallel to the long side of the display screen; the long edge of the interface of the target application generated and displayed based on the first display parameter is arranged in parallel with the long edge of the display screen, and the short edge of the interface of the target application generated and displayed based on the first display parameter is arranged in parallel with the short edge of the display screen; in a feasible implementation manner, the application AA shown in fig. 2 is generated and displayed based on the second display parameter, and obviously, when the electronic device is in a horizontal screen output state, the long side of the interface of the application AA is set corresponding to the short side of the display screen, and the short side of the interface of the application AA is set corresponding to the long side of the display screen; of course, when the electronic device is in the horizontal screen output state, the long edge of the interface of the application AA may also be set corresponding to the long edge of the display screen.
In other embodiments of the present application, if the second display parameter includes the target display size, step 304 can be implemented by:
and step A1, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, the electronic device generates and displays an interface of the target application according to the target display size.
Wherein the target display size is smaller than the size of the display screen.
It should be noted that the target display size may be a display size corresponding to the vertical screen display parameter; that is, the size of the long side of the interface corresponding to the target display size is smaller than or equal to the size of the short side of the display screen, and the size of the short side of the interface corresponding to the target display size is smaller than the size of the long side of the display screen; in a possible implementation manner, when the electronic device is in the landscape output state, the size of the short side of the interface corresponding to the target display size may be smaller than the size of the long side 1/2 of the display screen.
In other embodiments of the present application, if the second display parameter includes a display position, step 304 can be further implemented by:
and step A2, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, the electronic equipment covers the interface of the target application at a preset position on the display interface of the display screen before the target application is called.
The preset position is a position on the display interface, which is close to a frame of the display screen.
In this embodiment of the application, when the electronic device is in a landscape screen output state and the target application belongs to a non-immersive application, the interface of the target application may be displayed in a floating window manner in a manner of covering the display interface of the display screen before the target application is called, at a position close to the border; in one possible implementation, as shown in fig. 5a, the electronic device is currently in a landscape output state, and an application for making a file is running on the electronic device, and an interface of the application for making a file is displayed on the display screen; at this time, the instant messaging application AA receives a piece of information, and after the user clicks the notification information, the application AA may display the parameters on a vertical screen to generate and display the application AA, and as shown in fig. 5b, the application AA may be displayed on an interface of the application for making a file in a covering manner and located at a position close to a frame of the display screen.
Or, step a3, if the display output state belongs to the first output state and the target application belongs to the non-immersive application, the electronic device displays the display interface on the display screen before the target application is called at the first display area of the display screen, and displays the interface of the target application at the second display area of the display screen.
The display area of the display screen comprises a first display area and a second display area.
In the embodiment of the application, when the electronic device is in a landscape screen output state and the target application belongs to a non-immersive application, the interface of the target application does not cover the interface of the application currently running and displayed on the display screen, but the display interface on the display screen before the target application is called to be displayed at a first display area of the display screen, and the interface of the target application is displayed at a second display area of the display screen; that is, the display interface on the display screen before the target application is invoked and the interface of the target application are respectively displayed in different areas on the display screen. In a possible implementation manner, taking the display interface on the display screen before the target application is called as the interface of the application for making the file as an example, when the electronic device is in the horizontal screen output state, the interface of the application for making the file is displayed at the first display area, and the interface of the target application is displayed at the second display area.
It should be noted that when the electronic device is in the landscape screen output state, no matter whether the display interface on the display screen before calling the target application and the interface of the target application are displayed in an overlaying manner or in a partitioned manner on the display screen, the current main task can not be disturbed excessively. The current main task may refer to an application corresponding to a display interface on a display screen before the target application is called. Moreover, the display method of the interface of the target application enables a plurality of tasks to run in parallel and interaction between a plurality of applications to be possible.
Based on the foregoing embodiment, in other embodiments of the present application, the information processing method may further include the following steps:
and 307, if the display output state belongs to the first output state and the interface of the target application is displayed with the second display parameters, receiving dragging operations at two opposite ends of a first frame of the interface of the target application.
And 308, switching the interface of the target application to be displayed with the first display parameter based on the dragging operation.
In the embodiment of the application, the interface of the target application can be switched from the display with the second display parameter to the display with the first display parameter through the dragging operation of the interface of the target application; that is, the interface of the target application is displayed with the first display parameter and displayed with the second display parameter, and the interface can be switched according to the requirement of the user. In a feasible implementation manner, when the electronic device is in the landscape output state as shown in fig. 6a, the application AA is displayed on the display screen with the second display parameters (the vertical display parameters), and the user may perform a left dragging operation on the positions b1 and b2 of the first border of the interface of the application AA, so that the interface of the application AA may be switched to the interface displayed with the first display parameters (the landscape display parameters) as shown in fig. 6 b. Of course, when the electronic device is in the landscape output state, as shown in fig. 6b, the AA is displayed on the display screen with the first display parameter (landscape display parameter), and the user may perform right-hand dragging operation on c1 and c2 of the interface of the AA while performing left-hand dragging operation on c3 and c4, so as to switch the interface of the AA to the interface displayed with the second display parameter (portrait display parameter) as shown in fig. 6 a. It should be noted that fig. 6b and fig. 6b are only exemplary illustrations of what dragging operation is performed, and the actual use is not limited thereto.
In addition, when the electronic device is in the horizontal screen output state, and the interface of the target application is displayed on the display screen in a floating window manner by overlapping the vertical screen display parameters, as shown in fig. 7b, after the operation of sliding the side edge to the right, the interface of the target application is retracted to present the state shown in fig. 7 a; if the user wants to call out the interface of the target application, the user can perform a side left-sliding operation to call out the interface of the target application, and the state shown in fig. 7b is presented; the interface of the target application is called out or retracted by sliding the interface of the target application, so that a user can conveniently switch the target application to a background to run after the target application is used up, and the currently running main application is disturbed to the minimum extent.
Based on the foregoing embodiment, in other embodiments of the present application, the information processing method may further include the following steps:
step 309, obtain historical usage data of the application.
Wherein the historical usage data characterizes a historical usage state of the application by the user.
Based on the historical usage data, a manifest of non-immersive applications is determined, step 310.
It should be noted that the historical usage data may include data that can characterize average usage duration and usage habits. In one possible implementation, the average usage duration and usage habits of the applications may be determined based on historical usage data, and the inventory of non-immersive applications may be determined based on the average usage duration and usage habits of the applications. That is, determining a list of non-immersive applications according to the relation between the average usage duration of the applications and the preset duration, and whether the usage habit is the preset habit; the preset duration may be determined according to historical usage data, and the preset habit may include: whether the time period for using the application is fragmentation time, whether to quit immediately after use, and the like; if the time period for using the application is the fragmentation time and exits immediately after the application is used, the application may be determined to be a non-immersive application.
According to the information processing method provided by the embodiment of the application, when the display output state of the electronic device belongs to the first output state and the application belongs to the non-immersive application, the application can be generated and displayed according to the second display parameter corresponding to the second output state of the electronic device or according to the first display parameter, that is, when the electronic device is in the landscape state and the target application program belongs to the non-immersive application, the target application is to draw the interactive interface of the application program based on the portrait display parameter or the landscape display parameter and display the interactive interface in a partial area or the whole area of the display screen; and the interactive interface drawn based on the vertical screen display parameters and the interactive interface drawn based on the horizontal screen display parameters can be switched with each other according to the operation of the user. Therefore, the target application does not generate and display the interactive interface with a certain fixed display parameter.
Based on the foregoing embodiments, an embodiment of the present application provides an electronic device, which may be applied to the information processing method provided in the embodiments corresponding to fig. 1, 2, and 4, and as shown in fig. 8, the electronic device may include: a processor 41 and a display screen 42, wherein:
processor 41 is configured to perform the following steps:
acquiring a trigger instruction;
based on the trigger instruction, starting the target application;
displaying the interface of the target application through the display screen 42;
processor 41 is further configured to perform the following steps:
obtaining a display output state of the display screen 42;
if the display output state belongs to the first output state and the target application belongs to the non-immersive application, generating and displaying an interface of the target application based on the second display parameters;
the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state.
In other embodiments of the present application, wherein:
and the processor 41 is further configured to generate and display an interface of the target application based on the second display parameter if the display output state belongs to the second output state.
In other embodiments of the present application, the processor 41 is further configured to perform the following steps:
obtaining an input operation aiming at an interface of a target application;
generating and displaying an interface of the target application according to the first display parameter based on the input operation;
and generating and displaying the typesetting of the display content of the interface of the target application based on the first display parameter, wherein the typesetting of the display content of the interface of the target application is different from the typesetting of the display content of the interface of the target application based on the second display parameter.
In other embodiments of the present application, the processor 41 is further configured to perform the following steps:
the long side of the interface of the target application generated and displayed based on the second display parameter corresponds to the short side of the display screen 42;
the long side of the interface of the target application generated and displayed based on the first display parameter corresponds to the long side of the display screen 42.
In other embodiments of the present application, the second display parameter comprises a target display size, and the processor 41 is further configured to perform the following steps:
if the display output state belongs to the first output state, generating and displaying an interface of the target application according to the target display size; wherein the target display size is smaller than the size of the display screen.
In other embodiments of the present application, the second display parameter comprises a display position, and the processor 41 is further configured to perform the following steps:
if the display output state belongs to the first output state, covering and displaying an interface of the target application at a preset position on a display interface of a display screen before calling the target application;
the preset position is a position on the display interface, which is close to a frame of the display screen;
or if the display output state belongs to the first output state, displaying a display interface on the display screen before calling the target application at a first display area of the display screen, and displaying an interface of the target application at a second display area of the display screen;
the display area of the display screen comprises a first display area and a second display area.
In other embodiments of the present application, the processor 41 is further configured to perform the following steps:
if the display output state belongs to the first output state and the interface of the target application is displayed by the second display parameters, receiving dragging operations at two opposite ends of a first frame of the interface of the target application;
and switching the interface of the target application to be displayed with the first display parameter based on the dragging operation.
In other embodiments of the present application, the processor 41 is further configured to perform the following steps:
acquiring historical use data of an application; the historical use data represents the historical use state of the application by the user;
based on the historical usage data, a manifest of non-immersive applications is determined.
It should be noted that, for a specific implementation process of the step executed by the processor in this embodiment, reference may be made to an implementation process in the information processing method provided in the embodiments corresponding to fig. 1, 2, and 4, and details are not described here again.
The information processing device provided by the embodiment of the application can generate and display the application according to the second display parameter corresponding to the second output state of the electronic device instead of opening the application in a fixed form as in the relative technology when the display output state of the electronic device belongs to the first output state and the application belongs to the non-immersive application, and solves the problems that the application opening mode in the relative technology is fixed and cannot be flexibly adjusted.
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 processing method provided by the embodiments corresponding to fig. 1, 2, and 4.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 is not intended to limit the scope of the present application.

Claims (10)

1. An information processing method, the method comprising:
acquiring a trigger instruction;
based on the trigger instruction, starting a target application; displaying an interface of the target application through a display screen;
wherein the content of the first and second substances,
the displaying the interface of the target application through the display screen comprises:
obtaining the display output state of the display screen;
generating and displaying an interface of the target application based on a second display parameter if the display output state belongs to a first output state and the target application belongs to a non-immersive application; wherein the target application comprises at least a first display parameter and the second display parameter, the first display parameter corresponding to the first output state, the second display parameter corresponding to the second output state; the non-immersive application is a temporary short-term task class application; the first output state is a horizontal screen output state; the second output state is a vertical screen output state.
2. The method of claim 1, the displaying the interface of the target application through a display screen, further comprising:
and if the display output state belongs to a second output state, generating and displaying an interface of the target application based on the second display parameter.
3. The method of claim 1, further comprising:
obtaining an input operation aiming at an interface of the target application;
and generating and displaying the interface of the target application according to the first display parameter based on the input operation, wherein the typesetting of the display content for generating and displaying the interface of the target application based on the first display parameter is different from the typesetting of the display content for generating and displaying the interface of the target application based on the second display parameter.
4. The method of claim 3, wherein:
the long edge of the interface of the target application generated and displayed based on the second display parameter corresponds to the short edge of the display screen;
and the long edge of the interface of the target application generated and displayed based on the first display parameter corresponds to the long edge of the display screen.
5. The method of claim 4, the second display parameter comprising a target display size, the method further comprising:
if the display output state belongs to the first output state, generating and displaying an interface of the target application according to the target display size; wherein the target display size is smaller than the size of the display screen.
6. The method of claim 4, the second display parameter comprising a display location, the method further comprising:
if the display output state belongs to the first output state, covering and displaying an interface of the target application at a preset position on a display interface of the display screen before the target application is called; the preset position is a position on the display interface, which is close to a frame of the display screen;
or if the display output state belongs to the first output state, displaying a display interface on the display screen before calling the target application at a first display area of the display screen, and displaying an interface of the target application at a second display area of the display screen; wherein the display area of the display screen comprises the first display area and the second display area.
7. The method of claim 3, further comprising:
receiving dragging operations at two opposite ends of a first frame of the interface of the target application if the display output state belongs to a first output state and the interface of the target application is displayed with the second display parameters;
and switching the interface of the target application to be displayed with the first display parameter based on the dragging operation.
8. The method of claim 1, further comprising:
acquiring historical use data of an application; wherein the historical usage data characterizes a historical usage state of the application by the user;
based on the historical usage data, a manifest of non-immersive applications is determined.
9. An electronic device, the electronic device comprising: a processor and a display screen, wherein:
the processor is configured to perform the steps of:
acquiring a trigger instruction;
based on the trigger instruction, starting a target application;
displaying an interface of the target application through the display screen;
the processor is further configured to perform the steps of:
obtaining the display output state of the display screen;
generating and displaying an interface of the target application based on a second display parameter if the display output state belongs to a first output state and the target application belongs to a non-immersive application; the target application at least comprises a first display parameter and a second display parameter, the first display parameter corresponds to the first output state, and the second display parameter corresponds to the second output state; the non-immersive application is a temporary short-term task class application; the first output state is a horizontal screen output state; the second output state is a vertical screen output state.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the information processing method according to any one of claims 1 to 8.
CN202011625148.6A 2020-12-31 2020-12-31 Information processing method, electronic equipment and computer readable storage medium Active CN112685122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011625148.6A CN112685122B (en) 2020-12-31 2020-12-31 Information processing method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011625148.6A CN112685122B (en) 2020-12-31 2020-12-31 Information processing method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112685122A CN112685122A (en) 2021-04-20
CN112685122B true CN112685122B (en) 2022-05-31

Family

ID=75454230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011625148.6A Active CN112685122B (en) 2020-12-31 2020-12-31 Information processing method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112685122B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9612732B2 (en) * 2014-11-13 2017-04-04 Microsoft Technology Licensing, Llc Content transfer to non-running targets
US10198167B2 (en) * 2015-07-13 2019-02-05 Microsoft Technology Licensing, Llc Interacting with nonconforming applications in a windowing environment
CN107911798B (en) * 2017-11-10 2021-05-14 华为技术有限公司 Message pushing method and device and terminal
CN108376094B (en) * 2018-02-26 2022-03-01 平安普惠企业管理有限公司 Notification message display method and device, computer equipment and storage medium
CN110321035A (en) * 2018-03-29 2019-10-11 努比亚技术有限公司 A kind of display control method, terminal and computer readable storage medium
CN109413263A (en) * 2018-09-20 2019-03-01 上海传英信息技术有限公司 Notification method and a kind of mobile terminal under a kind of full frame immersive environment
CN110531920B (en) * 2019-08-29 2021-05-14 Oppo广东移动通信有限公司 Display method and device of sidebar, terminal and storage medium
CN111309210B (en) * 2020-02-17 2024-01-30 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for executing system functions
CN111596985B (en) * 2020-04-24 2023-03-14 腾讯科技(深圳)有限公司 Interface display method, device, terminal and medium in multimedia conference scene

Also Published As

Publication number Publication date
CN112685122A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US11816305B2 (en) Interface display method and apparatus, and storage medium
US8631419B2 (en) System and methods for disruption detection, management, and recovery
WO2018127063A1 (en) Application data processing method and apparatus, and storage medium
US20170324859A1 (en) Information processing method, terminal, and computer-readable storage medium
CN109062479A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN112269508B (en) Display method and device and electronic equipment
EP2434384A2 (en) Interface for application management in an electronic device
CN106383721B (en) Display control method and device of electronic equipment and electronic equipment
CN106095273A (en) Information processing method and electronic equipment
CN108614655B (en) Split screen display method and device, storage medium and electronic equipment
CN106250190A (en) A kind of application startup method and terminal
CN112817676B (en) Information processing method and electronic device
US20210109644A1 (en) Display method when application is exited and terminal
WO2023005828A1 (en) Message display method and apparatus, and electronic device
CN112099684A (en) Search display method and device and electronic equipment
CN109144447A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN106155768A (en) Split screen runs the method and device of application
CN114205447B (en) Shortcut setting method and device of electronic equipment, storage medium and electronic equipment
US20170300355A1 (en) Task switching assisting method and information processing apparatus
US20140028701A1 (en) Modifying transition sequences in a user interface depending on frequency of use
CN113268182B (en) Application icon management method and electronic device
CN112764833A (en) Application program management method and device and electronic equipment
CN112685122B (en) Information processing method, electronic equipment and computer readable storage medium
CN112433723B (en) Personalized list development method and device

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