CN111381906B - Method, device, terminal and storage medium for displaying information in application - Google Patents

Method, device, terminal and storage medium for displaying information in application Download PDF

Info

Publication number
CN111381906B
CN111381906B CN201811610578.3A CN201811610578A CN111381906B CN 111381906 B CN111381906 B CN 111381906B CN 201811610578 A CN201811610578 A CN 201811610578A CN 111381906 B CN111381906 B CN 111381906B
Authority
CN
China
Prior art keywords
application
screen
application program
widget
terminal
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
CN201811610578.3A
Other languages
Chinese (zh)
Other versions
CN111381906A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811610578.3A priority Critical patent/CN111381906B/en
Publication of CN111381906A publication Critical patent/CN111381906A/en
Application granted granted Critical
Publication of CN111381906B publication Critical patent/CN111381906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The disclosure relates to a method, a device, a terminal and a storage medium for displaying information in an application, and belongs to the field of man-machine interaction. The method is applied to the terminal, the terminal screen at least comprises a front screen and a back screen, and the method comprises the following steps: in a front display state, when an application program starting instruction is received, an application interface of a target application program is displayed in a front screen, wherein the front display state is a display state with the front screen facing upwards; displaying a target application widget corresponding to the target application program in the back screen; and displaying the intra-application information of the target application program in the target application widget. In the embodiment of the disclosure, even if the target application program is switched to the background operation, the user can know the information in the target application program by checking the application window gadget displayed in the back screen, so that the process of manually calling out the multi-task interface and switching the application program is avoided, the information checking flow in the application is simplified, and the information checking efficiency in the application is improved.

Description

Method, device, terminal and storage medium for displaying information in application
Technical Field
The disclosure relates to the field of man-machine interaction, and in particular relates to a method, a device, a terminal and a storage medium for displaying information in an application.
Background
In the process of using the mobile terminal, a user often needs to view information in the application of the background application program, and at this time, the user needs to switch the background application program to the foreground operation through a multi-task switching operation.
When the multi-task switching is performed, a user firstly needs to call out the multi-task interface through a specified gesture, and then selects an application program needing to be switched to a foreground operation from the multi-task interface. For example, in the process of using the news application, when the user needs to view the video downloading progress of the background video application, he needs to manually call out the multi-task interface and select the video application from the multi-task interface, so as to view the video downloading progress in the application interface of the video application.
Disclosure of Invention
The disclosure provides a method, a device, a terminal and a storage medium for displaying information in an application, which can solve the problem that when information in the application of a background application program is checked in the related technology, a multi-task interface is required to be called out and the background application program is switched to a foreground, so that the checking process of the information in the application is complicated. The technical scheme is as follows:
According to a first aspect of embodiments of the present disclosure, there is provided a method for displaying information in an application, which is applied to a terminal, where a terminal screen of the terminal includes at least a front screen and a back screen, and the method includes:
in a front display state, when an application program starting instruction is received, displaying an application interface of a target application program in the front screen, wherein the front display state is a display state with the front screen facing upwards;
displaying a target application widget (AppWidget) corresponding to the target application program in the back screen;
and displaying the intra-application information of the target application program in the target application widget.
In one possible implementation manner, in the front display state, the back panel is in a screen-off state;
the displaying the target application widget corresponding to the target application program in the back screen comprises the following steps:
when the terminal is in a back display state, displaying the target application widget corresponding to the target application program in the back screen, wherein the back display state is a display state with the back screen facing upwards;
the displaying the information in the application of the target application program in the target application widget comprises the following steps:
When the terminal is in the back display state, acquiring real-time application internal information of the target application program;
and displaying the information in the real-time application in the target application widget.
In one possible implementation, at least one application widget is displayed in the back panel;
when the terminal is in a back display state, displaying the target application widget corresponding to the target application program in the back screen, wherein the method comprises the following steps:
and when the terminal is in the back display state, displaying the target application widget at the top position of the back screen, and adjusting the display positions of other application widgets in the back screen.
In one possible implementation manner, after the target application widget corresponding to the target application program is displayed in the back panel, the method further includes:
deleting the target application widget when a first sliding operation on the target application widget is received;
and when receiving a second sliding operation on the target application widget, setting the target application widget on top, wherein the sliding direction of the first sliding operation is opposite to that of the second sliding operation.
In one possible implementation manner, after the target application widget corresponding to the target application program is displayed in the back panel, the method further includes:
displaying an operation control in the target application widget;
receiving triggering operation of the operation control in the target application widget;
and responding to the triggering operation of the operation control through the target application program.
In one possible implementation manner, after the displaying the intra-application information of the target application program in the target application widget, the method further includes:
when a closing instruction for the target application program is received, closing the target application program, and continuing to display the target application widget in the back screen;
and when the triggering operation of the target application widget is received, displaying an application interface of the target application program on the front screen.
According to a second aspect of embodiments of the present disclosure, there is provided a display device for information in an application, which is applied to a terminal, where a terminal screen of the terminal includes at least a front screen and a back screen, and the device includes:
The first interface display module is configured to display an application interface of a target application program in the front screen when an application program starting instruction is received in a front display state, wherein the front display state is a display state with the front screen facing upwards;
the component display module is configured to display a target application window component corresponding to the target application program in the back screen;
and the information display module is configured to display the intra-application information of the target application program in the target application widget.
In one possible implementation manner, in the front display state, the back panel is in a screen-off state;
the component display module is further configured to display the target application widget corresponding to the target application program in the back screen when the terminal is in a back display state, wherein the back display state is a display state in which the back screen faces upwards;
the information display module is further configured to acquire real-time intra-application information of the target application program when the terminal is in the back display state; and displaying the information in the real-time application in the target application widget.
In one possible implementation, at least one application widget is displayed in the back panel;
and the component display module is further configured to display the target application widget at the top position of the back screen and adjust the display positions of other application widgets in the back screen when the terminal is in the back display state.
In one possible implementation, the apparatus further includes:
a deletion module configured to delete the target application widget when a first sliding operation on the target application widget is received;
and the jacking module is configured to jack the target application widget when receiving a second sliding operation on the target application widget, wherein the first sliding operation is opposite to the sliding direction of the second sliding operation.
In one possible implementation, the apparatus further includes:
a control display module configured to display an operation control in the target application widget;
the first receiving module is configured to receive triggering operation of the operation control in the target application widget;
And the response module is configured to respond to the triggering operation of the operation control through the target application program.
In one possible implementation, the apparatus further includes:
a closing module configured to close the target application program and continue displaying the target application widget in the back panel when a closing instruction for the target application program is received;
and the second interface display module is configured to display an application interface of the target application program on the front screen when receiving the triggering operation of the target application widget.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal, a terminal screen of which includes at least a front screen and a rear screen;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in a front display state, when an application program starting instruction is received, displaying an application interface of a target application program in the front screen, wherein the front display state is a display state with the front screen facing upwards;
displaying a target application widget corresponding to the target application program in the back screen;
And displaying the intra-application information of the target application program in the target application widget.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program, the code set or the set of instructions being loaded and executed by the processor to implement the method for displaying in-application information according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least comprises the following beneficial effects:
the terminal displays an application interface of the target application program in the front screen according to the application program starting instruction, displays an application window widget corresponding to the target application program in the back screen, and displays the intra-application information of the target application program in the application window widget, even if the target application program is switched to the background operation, a user can know the information in the target application program by checking the application window widget displayed in the back screen, so that the process of manually calling out a multi-task interface and switching the application program is avoided, and the effects of simplifying the intra-application information checking flow and improving the intra-application information checking efficiency are achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a terminal shown according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of displaying information within an application, according to an example embodiment;
FIG. 3 is an interface schematic of the implementation of the embodiment of FIG. 2;
FIG. 4 is a flowchart illustrating a method of displaying information within an application according to another exemplary embodiment;
FIG. 5 is a schematic interface diagram of an application widget position adjustment process in a rear panel;
FIG. 6 is an interface schematic diagram of a right-slide delete application widget process;
FIG. 7 is an interface schematic diagram of a left slide set top application widget process;
FIG. 8 is a flowchart illustrating a method of displaying information within an application according to another exemplary embodiment;
FIG. 9 is a schematic interface diagram of displaying an operational control in an application widget;
FIG. 10 is a flowchart illustrating a method of displaying information within an application according to another exemplary embodiment;
FIG. 11 is a block diagram of a display device of in-application information, shown according to an exemplary embodiment;
fig. 12 is a block diagram of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The application scenario related to the embodiments of the present disclosure is first described below.
The embodiment of the disclosure is applied to an application scene for displaying information in an application program (the information in the application for short) on a terminal. The terminal comprises a terminal main body and a terminal screen. The terminal screen includes at least a front screen and a rear screen.
The front screen is a screen positioned on the front of the terminal body, and the back screen is a screen positioned on the back of the terminal body, namely the back screen and the front screen are arranged in a back-to-back mode. Wherein the size of the back panel is the same as or different from the size of the front panel.
Optionally, the front screen and the back screen are different screen areas in a terminal screen, or the front screen and the back screen are mutually independent different screens, that is, the front screen and the back screen are mutually spliced to obtain the terminal screen. And the front screen and the back screen have display and touch functions.
Optionally, the front screen is a full screen. The comprehensive screen is designed for a screen with the screen occupation ratio of the front panel of the terminal exceeding a preset threshold value. For example, the preset threshold is 80%. Illustratively, a full screen is a screen design that integrates at least one front panel component within or below the screen. The front panel member includes: at least one of a front camera, a fingerprint sensor, a proximity light sensor and a distance sensor.
Optionally, at least one rear camera, a flash lamp, a back microphone and other components are arranged on one side of the back screen, which is not limited in this disclosure.
Optionally, the terminal screen further comprises at least one side screen, wherein the size of the side screen is smaller than the size of the front screen (or the back screen).
In one possible implementation manner, the side screen, the front screen and the back screen are different screen areas in a terminal screen, or the side screen, the front screen and the back screen are mutually independent different screens, that is, the front screen, the back screen and the side screen are mutually spliced to obtain the terminal screen.
Optionally, the side screen is a curved screen. Curved screens are screen designs in which the screen area of the screen is not in one plane.
Optionally, the side screen of the terminal comprises one side screen or two side screens. When the side panels include two side panels, the two side panels are a first side panel and a second side panel opposite the first side panel. The long sides of the first side face screen and the second side face screen are respectively connected with the two long sides of the front face screen.
Illustratively, when the terminal is in a portrait state, the side panels include a first side panel on the left side of the terminal and a second side panel on the right side of the terminal.
Referring to fig. 1, a schematic diagram of a terminal 100 is shown. The terminal 100 includes a terminal body and a terminal screen.
It should be noted that, the terminal 100 in the embodiment of the present disclosure is a mobile terminal in a portrait state. Only the top end of the terminal body of the terminal 100 is shown in fig. 1, and the bottom end of the terminal body is not shown.
The terminal screen of the terminal 100 includes a front screen 11, a rear screen 12, a first side screen 13, and a second side screen 14.
The front screen 11 is located on the front of the terminal body, the back screen 12 is located on the back of the terminal body, the first side screen 13 is located on the left side of the terminal body, and the second side screen 14 is located on the right side of the terminal body.
It should be noted that, in the embodiment of the present disclosure, the terms related to the azimuth (for example, left, right, up or down) are all described on the premise that the terminal 100 is in the portrait state and the front screen 11 is facing the target object. The target object is an object currently holding the terminal 100.
Optionally, the front panel 11, the back panel 12, the first side panel 13 and the second side panel 14 are different screen areas in a terminal screen, or the front panel 11, the back panel 12, the first side panel 13 and the second side panel 14 are four mutually independent screens, that is, the four screens are mutually spliced to obtain the terminal screen.
Fig. 2 is a flowchart illustrating a method for displaying in-application information, which is applied to the above-described terminal, according to an exemplary embodiment, the terminal screen including at least a front screen and a rear screen, as shown in fig. 2, the method including the following steps.
In step 201, in the front display state, when an application program start instruction is received, an application interface of the target application program is displayed in the front screen, and the front display state is a display state with the front screen facing upwards.
Under the front display state, the front screen of the terminal screen faces upwards, the back screen faces downwards, and the front screen is in the bright screen state. From the user use perspective, in the front display state, when the user uses the terminal, the front screen can be viewed by the user and the back screen cannot be viewed by the user.
Optionally, the application opening command is triggered by clicking an application icon displayed in the front screen. Illustratively, as shown in fig. 3, in the front display state, when a click operation on the music application icon 31A in the front screen 31 is received, the terminal displays the music application interface 31B in the front screen 31.
In other possible implementations, the application program opening instruction may also be triggered by an application switching operation, for example, when the background application program is switched to the foreground operation, the terminal receives the application program opening instruction, and the triggering manner of the application program opening instruction is not limited in this disclosure.
And 202, displaying a target application widget corresponding to the target application program in the back screen.
An application widget (AppWidget) is a type of mini-application view that may be embedded in an application or desktop and periodically updates the content displayed therein. Wherein the content displayed in the application widget is less than the content displayed in the application interface corresponding to the application program.
Optionally, the dimensions of the application widgets corresponding to different application programs are different, and the dimensions of the application widgets are preset by a developer.
Because not all applications have corresponding application widgets, in one possible implementation, the terminal detects whether an application widget corresponding to the target application exists, and if so, displays the application widget in the back screen; if not, the application widget is not displayed on the back screen.
Illustratively, as shown in fig. 3, the terminal displays a music application interface 31B in the front panel 31 and a music widget 32A corresponding to a music application in the back panel 32.
Optionally, when the target application program is switched from the foreground operation to the background operation, the target application widget corresponding to the target application program is still displayed in the back screen.
Optionally, when the target application program is closed (i.e. the process of the target application program is killed), the display of the target application widget corresponding to the target application program is stopped in the back screen.
And 203, displaying the intra-application information of the target application program in the target application widget.
In order for the user to know the in-application information of the target application program by viewing the application widget, the terminal displays the in-application information acquired from the target application program in the target application widget.
In one possible implementation, since the in-application information of the target application program may change continuously, the terminal acquires the in-application information from the target application program at predetermined time intervals (for example, 5 s) to update the content displayed in the target application widget.
The application information of different application programs is different, and the type of the application information displayed in the application window widget is preset by a developer. Optionally, the in-application information includes at least one of text, picture, video, and audio.
Optionally, when the target application program is a music application, the information in the application includes a name of a currently played song, a current playing progress, a currently played song picture, and the like; when the target application program is a payment type application, the in-application information comprises a payment code, a collection code, a riding code and the like; when the target application is a travel class application, the in-application information includes the current geographic location, travel route, estimated time of arrival, and so forth. The disclosed embodiments are not limited to a particular type of information within an application.
Illustratively, as shown in FIG. 3, the terminal displays the name of the currently playing song and the current playing progress in the music widget 32A.
In one exemplary application scenario, as shown in FIG. 3, when a user uses the taxi taking application to drive, the terminal displays a taxi taking application widget 32B on the rear screen 32. After the user finishes getting a car, the car taking application is switched to the background, and the music application is started to listen to music in the foreground, and at the moment, the terminal displays the music application widgets 32A on the back screen 32. When the user needs to check the current driving position, only the taxi taking application widget 32B in the back screen 32 is needed to be checked, and the music application in the front screen 31 is not needed to be switched to the taxi taking application, so that the checking flow of information in the application is simplified, and the checking efficiency of the information in the application is improved.
In summary, in the embodiment of the present application, according to the application program starting instruction, the terminal displays the application interface of the target application program in the front panel, and simultaneously displays the application widget corresponding to the target application program in the back panel, and displays the intra-application information of the target application program in the application widget, so that even if the target application program is switched to the background operation, the user can also know the information in the target application program by checking the application widget displayed in the back panel, thereby avoiding the process of manually calling out the multi-task interface and switching the application program, and achieving the effects of simplifying the intra-application information checking flow and improving the intra-application information checking efficiency.
In the front display state, the back screen of the terminal is in a screen-off state, and accordingly, the terminal displays the application widgets in the back display state only when the terminal is in the back display state. An example is described below.
Fig. 4 is a flowchart illustrating a method of displaying in-application information, which is applied to the above-described terminal, according to another exemplary embodiment, the terminal screen including at least a front screen and a rear screen, the method including the following steps.
In step 401, in the front display state, when an application program start instruction is received, an application interface of the target application program is displayed in the front screen, and the front display state is a display state with the front screen facing upwards.
The implementation of this step may refer to step 201, and this embodiment is not described herein.
And step 402, when the terminal is in a back display state, displaying a target application widget corresponding to the target application program in a back screen, wherein the back display state is a display state with the back screen facing upwards.
In this embodiment, since the back panel of the terminal is in the off-screen state in the front display state, the terminal does not immediately display the target application widget on the back panel while displaying the target application interface, but displays the target application widget on the back panel when detecting that the terminal is in the back display state.
The back screen of the terminal faces upwards in the back display state, the front screen faces downwards, and the back screen is in the bright screen state. In an actual application scene, when a user views display content in the front screen, the terminal is in a front display state, and when the user turns over the terminal to view display content in the back screen, the terminal is in a back display state.
Optionally, the terminal determines the terminal pose based on sensor data (such as acceleration data and/or angular velocity data), thereby determining whether to be in a back display state based on the current terminal pose.
Because the terminal only displays the application widget in the back display state, the increase of power consumption caused by the fact that the back screen always displays the application widget can be avoided, and the condition that other people snoop the user privacy is avoided.
Optionally, at least one application widget is displayed in the back screen, the application widget is an application widget corresponding to other started application programs, and the display sequence of each application widget in the back screen is determined according to the latest foreground running time of the corresponding application program.
Illustratively, the user opens the exercise application and the taxi taking application sequentially, and as shown in fig. 5, the taxi taking application widgets 32B and the exercise application widgets 32C corresponding to the taxi taking application are displayed in sequence on the back screen 32 of the terminal.
Accordingly, in one possible implementation, when in the back display state, the terminal displays the target application widget at the top position of the back screen, and adjusts the display positions of other application widgets in the back screen.
Illustratively, as shown in FIG. 5, when the user opens the music application, the terminal displays the music application widget 32A corresponding to the music application at the top position of the back screen 32, and moves down the taxi application widget 32B and the exercise application widget 32C.
Optionally, when all application widgets cannot be displayed on the same screen in the back screen, the user may switch the application widgets displayed in the back screen through a slide-up or slide-down operation.
And step 403, when the terminal is in the back display state, acquiring the real-time application internal information of the target application program.
In the front display state, the user cannot directly view the content displayed in the back screen, so that the terminal frequently updates the display content in the application widget in the front display state, which causes waste of processing resources.
In one possible implementation, when detecting that the back display state is in, the terminal obtains real-time in-application information of the target application program for subsequent display in the target application widget.
Optionally, when detecting that the terminal is switched from the front display state to the back display state, the terminal acquires real-time application internal information of the target application program, so that a user can see the latest application internal information after turning over the terminal; when the terminal is detected to be in the back display state for a preset time, the terminal acquires the real-time application internal information of the target application program at intervals of preset time, and the real-time performance of the display information in the target application widget is ensured.
In an illustrative example, in a front display state, a user opens a music application, and when detecting that the user turns over the terminal to switch to a back display state, the terminal acquires a song name, a song picture and a current playing progress of the music application; when the duration of the back display state reaches 5s, the terminal acquires the name of the song, the picture of the song and the current playing progress of the current playing from the music application every 1 s.
Step 404, displaying the real-time intra-application information in the target application widget.
Further, the terminal displays the acquired information in the real-time application through the target application widget.
In the above steps, the description is given only by taking the case of displaying the information in the application in the target application widget, and the application widgets corresponding to other applications in the back screen also display the information in the application in the same manner, which is not described herein.
Step 405, deleting the target application widget when a first sliding operation on the target application widget is received.
Aiming at the application widgets displayed in the back screen, the user can edit the application widgets through different gestures, wherein when a first sliding operation of the target application widgets is received, the terminal deletes the target application widgets.
Optionally, after deleting the target application widget according to the first sliding operation, the terminal adjusts other application widgets in the back screen.
Alternatively, the first sliding operation is a left sliding operation or a right sliding operation, and the sliding distance is greater than a distance threshold, which may be 1/2 of the width of the application widget.
Illustratively, as shown in FIG. 6, when the user right slides the music application widget 32A, the terminal deletes the music application widget 32A and adjusts the display positions of the taxi application widget 32B and the fitness application widget 32C in the rear screen 32 accordingly.
Optionally, after the terminal deletes the application widget, the application program corresponding to the application widget is not deleted, that is, the deletion of the application widget does not affect the application program corresponding to the application widget.
In step 406, when a second sliding operation is received on the target application widget, the target application widget is set on top, and the sliding direction of the first sliding operation is opposite to that of the second sliding operation.
In addition to deleting the application widget through a sliding operation, the user may set the designated application widget on top through a sliding operation, and optionally, the terminal sets the target application widget on top when receiving a second sliding operation on the target application widget.
And after the target application widget is set on the top, the application widgets of other subsequently opened application programs are displayed below the target application widget.
Alternatively, the sliding direction of the second sliding operation is opposite to the sliding direction of the first sliding operation, and the sliding distance is greater than a distance threshold, which may be 1/2 of the width of the application widget. For example, when the first sliding operation is a right sliding operation, the second sliding operation is a left sliding operation.
Optionally, the terminal displays the set-top identifier on a peripheral side of the set-top application widget.
Illustratively, as shown in FIG. 7, when the user left-slides the music application widget 32A, the terminal will top the music application widget 32A and display a top icon 32D on the right side of the music application widget 32A.
In one possible implementation, when the set-top application widget receives the first sliding operation, the terminal cancels the set-top operation of the application widget; when the first sliding operation is received for the application widget again, the application widget is deleted.
In other possible implementations, the terminal may automatically perform the topping processing on the application widget of the application with the longest use time and/or the highest use frequency according to the application usage record of the user, which is not limited in this embodiment.
In the embodiment, the terminal displays the application window widget in the back screen in a back display state, and updates the display content in the application window widget in real time, so that the problems of power consumption increase and user privacy leakage caused by the fact that the back screen is always bright are avoided while the normal viewing of a user is ensured; in addition, the user can delete or set the application widgets displayed in the top and back screens through a simple sliding operation.
It should be noted that, in the above steps, only the deleting/setting up the target application widget is described as an example, and the application widgets corresponding to other applications in the back screen are deleted/set up in the same manner, which is not described herein.
In order to facilitate the user to operate the application program directly through the application widget, in a possible implementation, based on fig. 4, as shown in fig. 8, step 404 further includes the following steps:
step 407, displaying the operation control in the target application widget.
In addition to displaying intra-application information within the target application widget, operational controls are also displayed within the target application widget, wherein the types of operational controls in different application widgets are different.
Optionally, when the target application widget is a music application widget, the operation control includes at least one of a previous song control, a next song control and a pause control; when the target application is the map application widget, the operation control comprises a starting point input control and/or a destination input control; when the target application is a map application widget, the operation controls include a start point input control and/or a destination input control. The embodiments of the present disclosure are not limited to a particular type of operational control.
Illustratively, as shown in FIG. 9, a music application window control 32A has displayed therein a previous song control 32E, a pause control 32F, and a next song control 32G.
Step 408, a trigger operation is received for an operation control in the target application widget.
Further, the terminal receives triggering operation of the operation control in the target application widget, wherein triggering operations corresponding to different types of operation controls are different. For example, when the operation control is a button-type control, the triggering operation may be a clicking operation; when the operation control is a sliding bar control, the triggering operation can be a dragging operation; when the operation control is an input box control, the triggering operation may be a text input operation, which is not limited in this embodiment.
Illustratively, as shown in FIG. 9, the terminal receives a click operation on the pause control 32F.
Step 409, responding to the triggering operation of the operation control by the target application program.
In one possible implementation manner, after receiving the triggering operation on the operation control, the terminal sends a corresponding operation instruction to the target application program according to the triggering operation, so that the target application program executes the corresponding operation according to the operation instruction.
Illustratively, as shown in fig. 9, the music application pauses the music play according to the user's click operation of the pause control 32F.
In the embodiment, the terminal displays the corresponding operation control while displaying the information in the application widget, so that a user can operate the application program directly through the operation control without switching the application program to the foreground, and the operation efficiency of the application program is improved.
In one possible implementation, when an application is closed, the application widget corresponding to the application is still displayed in the back screen. On the basis of fig. 4, the method may further comprise the following steps, as shown in fig. 10.
And step 410, closing the target application program when receiving a closing instruction of the target application program, and continuing to display the target application widget in the back screen.
In this embodiment, when the target application program is closed, its corresponding target application widget is still displayed in the back panel.
Optionally, after the target application program is closed, the in-application information displayed in the target application widget will stop updating.
In step 411, when a trigger operation for the target application widget is received, an application interface of the target application program is displayed on the front screen.
Alternatively, the triggering operation of the application widget may be at least one of a clicking operation, a long pressing operation, and a pressing operation of a designated area on the application widget, for example, the designated area is an application icon display area in the application widget.
When the triggering operation of the target application widget is received, the terminal restarts the target application program, and the corresponding application interface is displayed on the front screen, so that the user can conveniently operate in the application interface, the step that the user restarts the application program by clicking the application icon is omitted, and the application restarting efficiency is improved.
Fig. 11 is a block diagram illustrating a display apparatus of in-application information, which is applied to a terminal, the terminal screen including at least a front screen and a rear screen, as shown in fig. 11, according to an exemplary embodiment, the apparatus including: a first interface display module 1101, a component display module 1102, and an information display module 1103:
a first interface display module 1101 configured to display an application interface of a target application program in the front screen when an application program start instruction is received in a front display state, the front display state being a display state in which the front screen faces upward;
The component display module 1102 is configured to display a target application window widget corresponding to the target application program in the back screen;
an information display module 1103 is configured to display in-application information of the target application program in the target application widget.
Optionally, in the front display state, the back screen is in a screen-off state;
the component display module 1102 is further configured to display, when the terminal is in a back display state, the target application widget corresponding to the target application program in the back screen, where the back display state is a display state in which the back screen faces upwards;
the information display module 1103 is further configured to obtain real-time intra-application information of the target application program when the terminal is in the back display state; and displaying the information in the real-time application in the target application widget.
Optionally, at least one application widget is displayed in the back panel;
the component display module 1102 is further configured to display the target application widget at a top position of the back screen and adjust display positions of other application widgets in the back screen when the terminal is in the back display state.
Optionally, the apparatus further includes:
a deletion module configured to delete the target application widget when a first sliding operation on the target application widget is received;
and the jacking module is configured to jack the target application widget when receiving a second sliding operation on the target application widget, wherein the first sliding operation is opposite to the sliding direction of the second sliding operation.
Optionally, the apparatus further includes:
a control display module configured to display an operation control in the target application widget;
the first receiving module is configured to receive triggering operation of the operation control in the target application widget;
and the response module is configured to respond to the triggering operation of the operation control through the target application program.
Optionally, the apparatus further includes:
a closing module configured to close the target application program and continue displaying the target application widget in the back panel when a closing instruction for the target application program is received;
and the second interface display module is configured to display an application interface of the target application program on the front screen when receiving the triggering operation of the target application widget.
In summary, in this embodiment, according to the application program starting instruction, the terminal displays the application interface of the target application program in the front screen, and simultaneously displays the application widget corresponding to the target application program in the back screen, and displays the intra-application information of the target application program in the application widget, so that even if the target application program is switched to the background operation, the user can also know the information in the target application program by checking the application widget displayed in the back screen, thereby avoiding the process of manually calling out the multi-task interface and switching the application program, and achieving the effects of simplifying the intra-application information checking flow and improving the intra-application information checking efficiency.
The relevant details may be combined with the method embodiments shown with reference to fig. 2 to 10. The first interface display module 1101 is further configured to implement any other implicit or disclosed function related to the acquiring step in the above method embodiment; the component display module 1102 is further configured to implement any other implicit or explicit function related to the determining step in the above method embodiment; the information display module 1103 is further configured to implement any other implicit or explicit function related to the adjusting step in the above method embodiment.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
An exemplary embodiment of the present disclosure provides a terminal, where a terminal screen includes at least a front screen and a rear screen;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in a front display state, when an application program starting instruction is received, displaying an application interface of a target application program in the front screen, wherein the front display state is a display state with the front screen facing upwards;
displaying a target application window widget corresponding to the target application program in the back screen;
and displaying the intra-application information of the target application program in the target application widget.
Fig. 12 is a block diagram of a terminal 1200, according to an example embodiment. The terminal 1200 is the terminal described in the above embodiment. For example, the terminal 1200 may be an electronic device such as a mobile phone, a tablet computer, an electronic book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard audio layer 4) player, or a wearable device.
Referring to fig. 12, a terminal 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, and a communications component 1216.
The processing component 1202 generally controls overall operation of the terminal 1200, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1202 may include one or more modules that facilitate interactions between the processing component 1202 and other components. For example, the processing component 1202 may include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
Memory 1204 is configured to store various types of data to support operations at device 1200. Examples of such data include instructions for any application or method operating on terminal 1200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
Power component 1206 provides power to the various components of terminal 1200. Power component 1206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 1200.
The multimedia component 1208 includes a screen between the terminal 1200 and the user, which provides an output interface, including a first screen and a second screen, or includes a first screen, a second screen, and a third screen. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when the terminal 1200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1204 or transmitted via the communications component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects of the terminal 1200. For example, the sensor assembly 1214 may detect the on/off state of the device 1200, the relative positioning of the components, such as the display and keypad of the terminal 1200, the sensor assembly 1214 may also detect a change in position of the terminal 1200 or a component of the terminal 1200, the presence or absence of user contact with the terminal 1200, the orientation or acceleration/deceleration of the terminal 1200, and a change in temperature of the terminal 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communication between the terminal 1200 and other devices, either wired or wireless. Terminal 1200 can access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication part 1216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short range communications.
In an exemplary embodiment, the terminal 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1204, including instructions executable by processor 1220 of terminal 1200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the method of displaying information within an application described above.
An exemplary embodiment of the present disclosure provides a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by a processor to implement the method for displaying in-application information provided by the above method embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. The method for displaying the information in the application is characterized by being applied to a terminal, wherein a terminal screen of the terminal at least comprises a front screen and a back screen, and the method comprises the following steps:
in a front display state, when an opening instruction of a first application program is received, displaying an application interface of the first application program in the front screen, wherein the front display state is an upward display state of the front screen;
the front screen displays an application interface of the first application program, and simultaneously displays a first application widget corresponding to the first application program in the back screen, wherein the first application widget displays application information of the first application program, the back screen also displays a second application widget corresponding to a second application program, the second application program is in a background running state, and the second application widget displays application information of the second application program;
and when the triggering operation of the second application widget is received, displaying an application interface of the second application program on the front screen.
2. The method of claim 1, wherein in the front display state, the rear screen is in a off-screen state;
The method further comprises the steps of:
when the terminal is in a back display state, displaying the first application widget corresponding to the first application program in the back screen, wherein the back display state is a display state with the back screen facing upwards;
acquiring real-time application internal information of the first application program;
displaying the real-time intra-application information in the first application widget.
3. The method of claim 2, wherein at least one application widget is displayed in the back panel;
when the terminal is in a back display state, displaying the first application widget corresponding to the first application program in the back screen, wherein the method comprises the following steps:
and when the terminal is in the back display state, displaying the first application widget at the top position of the back screen, and adjusting the display positions of other application widgets in the back screen.
4. A method according to any one of claims 1 to 3, wherein after displaying the first application widget corresponding to the first application program in the back panel, the method further comprises:
Deleting the first application widget when a first sliding operation of the first application widget is received;
and when receiving a second sliding operation on the first application widget, setting the first application widget on top, wherein the sliding direction of the first sliding operation is opposite to that of the second sliding operation.
5. A method according to any one of claims 1 to 3, wherein after displaying the first application widget corresponding to the first application program in the back panel, the method further comprises:
displaying an operation control in the first application widget;
receiving triggering operation of the operation control in the first application widget;
and responding to the triggering operation of the operation control through the first application program.
6. A method according to any one of claims 1 to 3, wherein after displaying the in-application information of the first application program in the first application widget, the method further comprises:
when a closing instruction for the first application program is received, closing the first application program, and continuing to display the first application widget in the back screen;
And when the triggering operation of the first application widget is received, displaying an application interface of the first application program on the front screen.
7. A display device for information in an application, which is applied to a terminal, wherein a terminal screen of the terminal at least comprises a front screen and a back screen, and the device comprises:
the first interface display module is configured to display an application interface of the first application program in the front screen when receiving an opening instruction of the first application program in a front display state, wherein the front display state is a display state with the front screen facing upwards;
the component display module is configured to display an application interface of the first application program on the front screen, and simultaneously display a first application widget corresponding to the first application program in the back screen, wherein the first application widget displays the intra-application information of the first application program, the back screen also displays a second application widget corresponding to a second application program, the second application program is in a background running state, and the second application widget displays the intra-application information of the second application program;
And the second interface display module is configured to display an application interface of the second application program on the front screen when receiving the triggering operation of the second application widget.
8. The device of claim 7, wherein in the front display state, the rear screen is in a off-screen state;
the component display module is further configured to display the first application widget corresponding to the first application program in the back screen when the terminal is in a back display state, wherein the back display state is a display state in which the back screen faces upwards;
the information display module is configured to acquire real-time intra-application information of the first application program; displaying the real-time intra-application information in the first application widget.
9. The apparatus of claim 8, wherein at least one application widget is displayed in the back panel;
and the component display module is further configured to display the first application widget at the top position of the back screen and adjust the display positions of other application widgets in the back screen when the terminal is in the back display state.
10. The apparatus according to any one of claims 7 to 9, further comprising:
a deletion module configured to delete the first application widget when a first sliding operation on the first application widget is received;
and the jacking module is configured to jack the first application widget when receiving a second sliding operation on the first application widget, wherein the sliding direction of the first sliding operation is opposite to that of the second sliding operation.
11. The apparatus according to any one of claims 7 to 9, further comprising:
a control display module configured to display an operation control in the first application widget;
the first receiving module is configured to receive triggering operation of the operation control in the first application widget;
and the response module is configured to respond to the triggering operation of the operation control through the first application program.
12. The apparatus according to any one of claims 7 to 9, further comprising:
a closing module configured to close the first application program and continue displaying the first application widget in the back screen when a closing instruction for the first application program is received;
The second interface display module is configured to display an application interface of the first application program on the front screen when a trigger operation of the first application widget is received.
13. A terminal, wherein a terminal screen of the terminal at least comprises a front screen and a back screen;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in a front display state, when an opening instruction of a first application program is received, displaying an application interface of the first application program in the front screen, wherein the front display state is an upward display state of the front screen;
the front screen displays an application interface of the first application program, and simultaneously displays a first application widget corresponding to the first application program in the back screen, wherein the first application widget displays application information of the first application program, the back screen also displays a second application widget corresponding to a second application program, the second application program is in a background running state, and the second application widget displays application information of the second application program;
And when the triggering operation of the second application widget is received, displaying an application interface of the second application program on the front screen.
14. A computer-readable storage medium, wherein at least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by a processor to implement the method for displaying in-application information according to any one of claims 1 to 6.
CN201811610578.3A 2018-12-27 2018-12-27 Method, device, terminal and storage medium for displaying information in application Active CN111381906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811610578.3A CN111381906B (en) 2018-12-27 2018-12-27 Method, device, terminal and storage medium for displaying information in application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811610578.3A CN111381906B (en) 2018-12-27 2018-12-27 Method, device, terminal and storage medium for displaying information in application

Publications (2)

Publication Number Publication Date
CN111381906A CN111381906A (en) 2020-07-07
CN111381906B true CN111381906B (en) 2023-10-03

Family

ID=71219430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811610578.3A Active CN111381906B (en) 2018-12-27 2018-12-27 Method, device, terminal and storage medium for displaying information in application

Country Status (1)

Country Link
CN (1) CN111381906B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596822B (en) * 2021-03-05 2021-05-25 全时云商务服务股份有限公司 Application program window display control method and system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103370924A (en) * 2010-12-10 2013-10-23 尤塔设备Ipr有限公司 Mobile device with user interface
JP2014140208A (en) * 2014-03-05 2014-07-31 Sharp Corp Display device, display method, and program
CN107168605A (en) * 2017-05-15 2017-09-15 海能达通信股份有限公司 A kind of interface alternation method and a kind of colony terminal
KR20180020669A (en) * 2016-08-19 2018-02-28 삼성전자주식회사 Electronic apparatus and method for controlling display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101889838B1 (en) * 2011-02-10 2018-08-20 삼성전자주식회사 Portable device having touch screen display and method for controlling thereof
KR20150047243A (en) * 2013-10-24 2015-05-04 삼성전자주식회사 Electronic device and method for outputing data in electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103370924A (en) * 2010-12-10 2013-10-23 尤塔设备Ipr有限公司 Mobile device with user interface
JP2014140208A (en) * 2014-03-05 2014-07-31 Sharp Corp Display device, display method, and program
KR20180020669A (en) * 2016-08-19 2018-02-28 삼성전자주식회사 Electronic apparatus and method for controlling display
CN107168605A (en) * 2017-05-15 2017-09-15 海能达通信股份有限公司 A kind of interface alternation method and a kind of colony terminal

Also Published As

Publication number Publication date
CN111381906A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107037949B (en) Split screen display method and device
CN105955607B (en) Content sharing method and device
US8750939B2 (en) Method of controlling instant message and mobile terminal using the same
CN106469054B (en) Notification message control method and device and terminal
US20190073124A1 (en) Method and apparatus for controlling application
US20200210061A1 (en) Method, device and storage medium for sharing multimedia resource
WO2017084183A1 (en) Information displaying method and device
CN105872365A (en) Photographing method and device for mobile terminal
US20190332232A1 (en) Method and device for displaying web page content
CN111381739B (en) Application icon display method and device, electronic equipment and storage medium
US9584651B2 (en) Mobile terminal and method for controlling the same
CN105786507B (en) Display interface switching method and device
CN109976861B (en) Interactive interface display method and device and storage medium
CN107562349B (en) Method and device for executing processing
CN111880757A (en) Screen projection method, screen projection device and storage medium
CN110798728B (en) Video playing method, device and storage medium
CN110262692B (en) Touch screen scanning method, device and medium
US11221734B2 (en) Punch-hole screen display method and apparatus
CN111859209A (en) Content display method, device and storage medium
CN111381906B (en) Method, device, terminal and storage medium for displaying information in application
CN108829473B (en) Event response method, device and storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN110968155A (en) Full-screen terminal, operation execution method and device based on full-screen terminal
US11112951B2 (en) Method, device and storage medium for displaying content in notification bar
CN110417987B (en) Operation response method, device, equipment and readable storage medium

Legal Events

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