CN115237511A - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN115237511A
CN115237511A CN202110445468.1A CN202110445468A CN115237511A CN 115237511 A CN115237511 A CN 115237511A CN 202110445468 A CN202110445468 A CN 202110445468A CN 115237511 A CN115237511 A CN 115237511A
Authority
CN
China
Prior art keywords
key information
application program
mobile terminal
key
information
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.)
Pending
Application number
CN202110445468.1A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110445468.1A priority Critical patent/CN115237511A/en
Priority to PCT/CN2022/085408 priority patent/WO2022222751A1/en
Publication of CN115237511A publication Critical patent/CN115237511A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The application discloses an information display method and device, and relates to the technical field of information interaction. The information display method comprises the following steps: the method comprises the steps that in response to the fact that an application program of the mobile terminal is detected to be switched from foreground running to background running, key information of a user interface to be displayed currently of the application program is obtained; sending the key information to a wearable device to trigger display of the key information on the wearable device. According to the method and the device, when other application programs run on the foreground of the mobile terminal or the mobile terminal is in a screen-off state, the user can still obtain information of the application programs running on the background from the wearable device, operation steps are reduced, and man-machine interaction is improved.

Description

Information display method and device
Technical Field
The present application relates to the field of information interaction, and in particular, to a method and an apparatus for displaying information.
Background
With the development of mobile terminals, more and more applications can be run simultaneously on the mobile terminals, and normally, only the application running in the foreground is displayed on the display page of the terminal, but in many scenarios, a user still wants to acquire information on the application running in the background while using the application running in the foreground.
At present, the user can only switch the application program running in the background to the foreground again to run, so that the purposes are achieved, operation steps are multiple, and human-computer interaction experience is poor.
Disclosure of Invention
The embodiment of the application provides an information display method and device, and the problems that a user has many operation steps and experiences poor man-machine interaction when viewing information on an application program running in a background can be solved.
In a first aspect, an embodiment of the present application provides an information display method, including:
in response to the detection that the application program of the mobile terminal is switched from foreground operation to background operation, key information of a user interface to be displayed currently of the application program is acquired;
sending the key information to a wearable device to trigger display of the key information on the wearable device.
In a second aspect, an embodiment of the present application provides an apparatus for displaying information, including:
the mobile terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to the detection that the application program of the mobile terminal is switched from foreground operation to background operation and acquiring the key information of the user interface to be displayed currently of the application program;
and the sending module is used for sending the key information to the wearable equipment so as to trigger the wearable equipment to display the key information.
In a third aspect, an embodiment of the present application further provides an information display method, including:
receiving key information sent by a mobile terminal, wherein the key information is key information of a user interface to be displayed currently of an application program which is switched from foreground operation to background operation in the mobile terminal;
and displaying the key information.
In a fourth aspect, an embodiment of the present application further provides an information display apparatus, including:
the mobile terminal comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving key information sent by the mobile terminal, and the key information is key information of a user interface to be displayed currently of an application program which is switched from foreground operation to background operation in the mobile terminal;
and the second display module is used for displaying the key information.
The method comprises the steps that in response to the fact that the application program of the mobile terminal is detected to be switched from foreground running to background running, key information of a user interface to be displayed currently of the application program is obtained; sending the key information to a wearable device to trigger display of the key information on the wearable device. Through the mode, when other application programs run in the foreground of the mobile terminal, the user can directly obtain information of the application programs running in the background from the wearable device, operation steps are reduced, and man-machine interaction is improved.
Drawings
Fig. 1 is a flowchart of an information display method according to an embodiment of the present application;
FIG. 2 is a schematic interface diagram for switching an application from a foreground operation to a background operation according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a setup interface for the flashback key function provided by one embodiment of the present application;
FIG. 4 is a schematic diagram of a display interface of an application provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a wearable device provided by an embodiment of the present application displaying key information;
fig. 6 is a schematic diagram of a wearable device displaying key information according to another embodiment of the present application;
FIG. 7A is a diagram illustrating a display of a flashback key on a mobile terminal according to one embodiment of the present application;
fig. 7B is a schematic diagram of a wearable device displaying key information according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a method for closing a flashback key according to one embodiment of the present application;
FIG. 9 is a flow chart of an information display method provided by another embodiment of the present application;
FIG. 10A is a schematic view of a flashback key provided by another embodiment of the present application displayed on a mobile terminal;
fig. 10B is a schematic diagram of a wearable device displaying key information according to yet another embodiment of the present application;
FIG. 11 is a schematic diagram illustrating a wearable device displaying a plurality of key information according to yet another embodiment of the present application;
FIG. 12 is a flow chart of an information display method according to yet another embodiment of the present application;
fig. 13 is a schematic interface diagram of a wearable device displaying key information according to an embodiment of the present application;
fig. 14 is a schematic interface diagram of a wearable device displaying key information according to another embodiment of the present application;
FIG. 15 is a schematic diagram of an interface for displaying key information on a wearable device according to yet another embodiment of the present application;
FIG. 16 is a flow chart of a method of displaying information provided by yet another embodiment of the present application;
fig. 17 is a schematic structural diagram of an information display device applied to a mobile terminal according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of an information display device applied to a mobile terminal according to another embodiment of the present application;
fig. 19 is a schematic structural diagram of an information display device applied to a wearable device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The mobile terminal according to the embodiment of the present application includes mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a pedometer, and fixed terminals such as a Digital TV, a desktop computer, and the like. The wearable equipment that this application embodiment related to includes equipment such as intelligent bracelet, intelligent wrist-watch.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
An embodiment of the present application provides a method for displaying information, and with reference to fig. 1, the method includes:
s101, in response to the detection that the application program of the mobile terminal is switched from foreground operation to background operation, key information of a user interface to be displayed currently of the application program is acquired.
Optionally, the mobile terminal receives an exit instruction, and the application program is switched from the foreground operation to the background operation. The exit instruction includes, but is not limited to, a virtual exit control on the user interface, a specific gesture operation, and a physical button such as a HOME key.
Alternatively, the user may invoke the application running in the background to run in the foreground by triggering the multitasking interface, and at this time, the application running in the foreground is forced to switch to the background running.
Alternatively, the user may trigger the application that issues the message prompt by triggering the message prompt bar, at which point the application running in the foreground is forced to switch to running in the background. As shown in fig. 2, a message reminder of a short message is popped up in a current page, a user can enter a short message application program by triggering the message reminder of the short message, and the current application program is forced to be switched to a background for running.
Optionally, the mobile terminal and the wearable device may be wirelessly connected through bluetooth, a cellular network such as an LTE network, a WIFI network, or the like.
In a specific embodiment, referring to fig. 3, a function setting interface 01 of the flashback key in the mobile terminal includes a function switch 02 of the flashback key; when the function switch 02 of the flashback key is in an open state, the function of the flashback key takes effect, namely the application program of the mobile terminal is detected to be switched from foreground operation to background operation, and key information of a user interface to be displayed currently of the application program is acquired; when the function switch 02 of the flashback key is in the off state, the function of the flashback key is disabled, and the application program is switched to the background operation and does not trigger the acquisition of key information.
The function setting interface 01 of the flashback key further comprises a function switch 03 of the application flashback key, when the function switch 03 of the application flashback key is in an open state, the application program can use the function of the flashback key, namely when the application program with the flashback key function is switched to background operation, key information of a user interface to be displayed currently of the application program is acquired; when the function switch 03 of the application flash key is in an off state, the application cannot use the function of the flash key, and at this time, even if the function switch 02 of the flash key is turned on, the application is switched to a background operation and does not trigger to acquire the key information of the application.
In an alternative scheme, the mobile terminal calls an Application Programming Interface (API) of the predetermined program to obtain the key information of the Application program.
Optionally, a first program is run in the mobile terminal, the mobile terminal may detect a running state of the application program through the first program, and when it is detected that the application program is switched from foreground running to background running, the first program calls an API of the application program to obtain key information of the application program.
It should be noted that before the first program obtains the key information of the application from the background service of the application, an inter-process Communication relationship needs to be established, optionally, the mobile terminal establishes inter-process Communication (IPC) between the first program and the background service of the application through a binding service (bindService), and then calls the API of the application to obtain the key information of the application through the first program based on the IPC.
In one example, the key information is information of a user interface of the application currently to be displayed. When the application program of the mobile terminal runs in the foreground, the user interface of the application program is displayed on the mobile terminal, and a user can directly acquire the information displayed on the user interface by the application program. The application program is switched from the foreground to the background, the application program runs in the background, at the moment, the user interface of the application program is to be displayed in the background, the user cannot acquire the information on the user interface, and at the moment, the user interface to be displayed comprises the key information.
Optionally, the application includes a video playing function, and the key information includes a video playing progress. For example, referring to fig. 4, when the video playback application is running in the foreground, the video playback is displayed on the user interface of the application to 8 minutes and 13 seconds. The video playing application program is switched to the background to run, and the key information of the application program is 'the playing progress is 8 minutes and 13 seconds'.
Optionally, the application includes a queuing function and the critical information includes queuing information. For example, a taxi-calling application running in the foreground, waiting for the driver to pick up the order, displays the total number of current taxi-calling orders on the application's user interface, and the number of users' orders in the queue, such as "current queuing information 7/30". The car-calling application program is switched to the background to run, and the key information is 'current queuing information 7/30'.
Optionally, the application includes a teaching function and the key information includes a class time being learned. For example, when the tutorial application is running in the foreground, the lesson displayed on the user interface of the application is played to the fourth chapter. And (4) switching the teaching application program to a background to run, wherein the key information of the application program is the fourth chapter.
S102, sending the key information to wearable equipment to trigger the wearable equipment to display the key information.
Optionally, a second program runs in the application program, the second program detects that the first program calls key information of the application program, and the second program sends the key information to the wearable device.
Optionally, the application includes a trip monitoring function, and the key information includes departure time, or arrival time, or next stop location. For example, when the map application navigation function is used, the map application is switched to run in the background, and the key information of the application may be the distance to the next station, such as "43 meters left turn". Referring to fig. 5, this key information is sent to the wearable device, which displays "there is still 43 meters left turn".
Optionally, the application includes a timing function and the key information includes a countdown duration or an already-waiting duration. For example, when the virtual character needs to be revived in the game application program, the game application program is switched to the background to run, and the key information of the application program is the time waiting for revival. Referring to fig. 6, the critical information is sent to the wearable device, and the wearable device displays the time waiting for revival.
In another specific embodiment, in response to detecting that the application program of the mobile terminal is switched from foreground running to background running, a flashback key is displayed, wherein the flashback key is used for displaying key information of a user interface to be displayed currently of the application program.
Optionally, the first program calls an API of the application program to obtain key information of the application program, and the first program generates a flashback key carrying the key information of the application program.
Optionally, the application includes a trip monitoring function, and the key information includes departure time, arrival time, or next stop location. Referring to fig. 7A, when the taxi calling application is used, the taxi calling application is switched to run in the background, and the key information of the application may be the distance and time to the destination, such as "4.3 km left, 5 minutes later". A flashback key is displayed on the mobile terminal, and "4.3 kilometers left, and 5 minutes later arrive" is displayed on the flashback key. Referring to fig. 7B, key information is sent to the wearable device, and "4.3 km left, 5 minutes later" is displayed on the wearable device.
In another specific embodiment, after key information of a user interface to be displayed currently by the application program is acquired, the mobile terminal is switched to a screen-off state, and the acquired key information is sent to the wearable device.
Alternatively, an application having a trip monitoring function is taken as an example. For example, when the map application navigation function is used, the map application is switched to the background to run, and the key information of the application may be the distance to the next station, such as "turn left by 43 meters", where "turn left by 43 meters" is displayed on both the splash key of the mobile terminal and the wearable device. If the mobile terminal is switched to the information screen state at this time, the mobile terminal still sends key information to the wearable device, the wearable device still displays 'turn left by 43 meters', and the user can continue to obtain the key information of the map application program through the wearable device and realize the navigation function. When a user is in a scene inconvenient to use the mobile terminal, the information of the application program running in the background is obtained by checking the wearable device, so that the information interactivity is improved, and the safety of the use scene is enhanced.
In another specific embodiment, in response to detecting that the application program is switched from the background running to the foreground running, the key information of the user interface to be currently displayed by the application program is stopped being acquired.
Optionally, when the application is switched to foreground operation, the user directly operates the application through the display page without using a wearable device. Therefore, when the application program is detected to be switched from background operation to foreground operation, the mobile terminal stops acquiring the key information, and the wearable device stops displaying the key information. Therefore, the information interaction is satisfied, and simultaneously, the same information is prevented from being displayed at multiple positions, and resources are wasted.
Optionally, in a preset time, the application program is not detected to be switched from the background operation to the foreground operation, and key information of the user interface to be displayed currently by the application program is stopped being acquired. When the application program is switched from foreground operation to background operation, the flashback key is triggered to be displayed on the terminal, at the moment, a user can operate other application programs on a display interface or maintain the mobile terminal in a desktop state, and key information of the application program is obtained from the flashback key and the wearable device. After the preset time, the preset time can be set by a user or set by default when the mobile terminal leaves a factory, the application program is not detected to be switched from background operation to foreground operation, the user does not need to use the application program within the preset time can be determined, the key information stops being acquired, the wearable device stops displaying the key information, and the flash key is closed. Therefore, the running power of the mobile terminal and the wearable device is saved while the information interaction is satisfied.
Optionally, the user may close the flashback key autonomously, and receive a deletion operation of the flashback key triggered on the mobile terminal, and then trigger the flashback key to close. For example, the mobile terminal receives a dragging operation of a flashback key triggered on the interface, drags the flashback key to the edge of the interface for deletion, no flashback key is displayed on the interface of the mobile terminal, and the sending of key information to the wearable device is stopped. Illustratively, as shown in fig. 8, the flashback key 04 can be turned off by dragging the flashback key 04 to the edge area of the interface on the mobile terminal with a loose hand.
It should be noted here that, when the flashback key is turned off but the first program is not turned off, and when the application program is switched from foreground operation to background operation, the mobile terminal may still obtain key information of the user interface of the application program to be currently displayed and send the key information to the wearable device.
In another embodiment, referring to fig. 9, fig. 9 is a flowchart of an information display method provided by an embodiment of the present application when at least two applications run in the background, including:
s301, in response to detecting that at least two applications are running in the background, determining priorities of the at least two applications.
The method for detecting the running of the application program in the background is the same as S101, and is not described herein again.
The priority of the application program can be set by the user or by default when the mobile terminal leaves the factory.
S302, key information of the user interface to be displayed currently of the application program with the highest priority is obtained.
The method for acquiring the key information of the application program is the same as S101, and is not described herein again.
S303, sending the key information of the application program with the highest priority to the wearable device.
Optionally, key information of the application with the highest priority is displayed on the flashback key, and the flashback key is displayed on the mobile terminal. And sending the key information of the application program with the highest priority to the wearable device, wherein the key information is displayed in the wearable device.
When at least two application programs with the flash back function run in the background, the key information of the application program with the highest priority can be displayed on the mobile terminal and the wearable device at the same time, and through screening of the priority of the application program, a user can obtain the key information of the most important application program running in the background, so that omission of important information is avoided, and the information interactivity is enhanced.
In another embodiment, when at least two applications run in the background, referring to fig. 10A, at least two splash keys may also be displayed on the mobile terminal, where the at least two splash keys display key information corresponding to the at least two applications. The mobile terminal sends only the key information of the application with the highest priority to the wearable device, as shown in fig. 10B, only the key information of the first application is displayed on the wearable device.
When at least two applications with the flash function run in the background, the key information of the multiple applications can be displayed on the mobile terminal, and the key information of the application with the highest priority is displayed on the wearable device. The user can view key information of a plurality of background running applications on the mobile terminal with a larger screen, and view key information of the most important applications running in the background on the wearable device with a smaller screen. The user can check the integrity of the obtained interactive information ensured by the mobile terminal, and can also ensure that the most important information is not missed by checking the wearable equipment.
In another embodiment, when at least two applications run in the background, with reference to fig. 11, the key information corresponding to the at least two applications is sent to the wearable device to trigger the display of the at least two key information corresponding to the at least two applications on the wearable device.
An embodiment of the present application further provides an information display method, as shown in fig. 12, including:
s501, receiving key information sent by the mobile terminal, wherein the key information is key information of a user interface to be displayed currently of an application program which is switched from foreground operation to background operation in the mobile terminal;
and S502, displaying the key information.
Optionally, the key information is displayed in a notification manner.
Optionally, a third program is run on the wearable device. The third program is for receiving the key information transmitted by the mobile terminal and displaying the key information.
Optionally, after receiving the key information sent by the mobile terminal, the third program triggers the notification program to display the key information.
Optionally, when the mobile terminal is in the screen-off state, if the mobile terminal still sends the key information to the wearable device, the wearable device continuously receives the key information and displays the key information. When the mobile terminal is in the screen-off state, the user can still obtain the information of the application program through the wearable device.
In another possible embodiment, the displaying of the key information is suspended in response to a first instruction, the first instruction being for triggering the suspending of the displaying of the key information.
Referring to fig. 13, a first command is triggered by clicking a virtual key, clicking "pack" on the wearable device, and pausing the display of the key information on the wearable device.
Optionally, the method of triggering the first instruction includes, but is not limited to, clicking a virtual key, a specific gesture operation, a physical key such as a button on the wearable device.
Optionally, the key information is paused on the wearable device, and an icon is displayed above a display page of the wearable device to indicate that the key information is in a paused state.
Optionally, after the key information is suspended, the display of the key information is resumed in response to a second instruction for the wearable device, the second instruction being used to trigger the resumption of the display of the key information.
Referring to FIG. 14, the key information resumes display by a slide down gesture.
Optionally, the method of triggering the second instruction includes, but is not limited to, clicking a virtual key, a specific gesture operation, a physical key such as a button on the wearable device.
In another possible embodiment, the key information is stopped from being displayed in response to a third instruction for the key information, the third instruction being used to trigger the stop of displaying the key information.
Referring to fig. 15, clicking the virtual key triggers a third command, clicking "off" on the wearable device, stopping displaying the key information.
Optionally, the method of triggering the third instruction includes, but is not limited to, a virtual key, a specific gesture operation, a physical key such as a button on the wearable device.
It should be noted here that the display of the key information is stopped, but the third program is not closed, and when the mobile terminal sends the key information of the user interface to be displayed currently of the application program to the wearable device, the third program still receives and displays the key information.
In another specific embodiment, referring to fig. 16, receiving key information of at least two applications sent by the mobile terminal, and displaying at least two pieces of key information corresponding to the at least two applications includes:
s701, receiving key information of at least two application programs sent by the mobile terminal.
Optionally, the method for receiving the key information of at least two applications sent by the mobile terminal is the same as that in S501, and is not described herein again.
S702, displaying at least two pieces of key information corresponding to the at least two application programs.
As can be seen from the above, in the information display method provided in this embodiment, key information of a user interface to be currently displayed of an application program is acquired by switching from foreground operation to background operation in response to detection of the application program of the mobile terminal; sending the key information to a wearable device to trigger the wearable device to display the key information. When other application programs run in the foreground of the mobile terminal, or the mobile terminal is in a screen-off state, or a user is in a scene without using the mobile terminal, the user can still obtain information of the application programs running in the background from the wearable device.
In order to better implement the information display method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the information display method. The terms are the same as those of the information processing method described above, and details of implementation can be referred to the description in the method embodiment.
An embodiment of the present application provides an information display device 10 applied to a mobile terminal, and with reference to fig. 17, the information display device includes:
the obtaining module 11 is configured to, in response to detecting that an application program of the mobile terminal is switched from foreground operation to background operation, obtain key information of a user interface to be currently displayed of the application program.
In an alternative scheme, the mobile terminal calls an Application Programming Interface (API) of a predetermined program to obtain key information of the Application program.
Optionally, a first program is run in the mobile terminal, the mobile terminal may detect a running state of the application program through the first program, and when it is detected that the application program is switched from foreground running to background running, the first program calls an API of the application program to obtain key information of the application program.
It should be noted that before the first program obtains the key information of the application from the background service of the application, an inter-process Communication relationship needs to be established, optionally, the mobile terminal establishes inter-process Communication (IPC) between the first program and the background service of the application through a binding service (bindService), and then calls the API of the application to obtain the key information of the application through the first program based on the IPC.
In one example, the key information is information of a user interface of the application currently to be displayed. When the application program of the mobile terminal runs in the foreground, the user interface of the application program is displayed on the mobile terminal, and a user can directly acquire the information displayed on the user interface by the application program. The application program is switched from the foreground to the background, the application program runs in the background, at the moment, the user interface of the application program is to be displayed in the background, the user cannot acquire the information on the user interface, and at the moment, the user interface to be displayed comprises the key information.
A sending module 12, configured to send the key information to a wearable device, so as to trigger display of the key information on the wearable device.
In another embodiment, the information display device 10, referring to fig. 18, further includes:
the first display module 13 is configured to display a flashback key, where the flashback key is used to display key information of a user interface to be currently displayed of the application program.
Optionally, the first program calls an API of the application program to obtain key information of the application program, and the first program generates a flashback key that carries the key information of the application program.
In another embodiment, in response to detecting that the application program is switched from the background running to the foreground running, the obtaining module 11 stops obtaining the key information of the user interface to be currently displayed by the application program.
Optionally, when the application is switched to foreground operation, the user directly operates the application through the display page without using a wearable device. Therefore, when the application program is detected to be switched from the background operation to the foreground operation, the mobile terminal stops obtaining the key information, and the wearable device stops displaying the key information. Therefore, the information interaction is met, and meanwhile, the same information is prevented from being displayed at multiple positions, and resources are wasted.
Optionally, in a preset time, it is not detected that the application program is switched from the background operation to the foreground operation, and the obtaining module 11 stops obtaining key information of the user interface to be currently displayed by the application program. After the application program is switched from foreground operation to background operation, the first display module 13 displays the flashback key, at this time, the user can operate other application programs on the display interface or maintain the mobile terminal in a desktop state, and key information of the application program is obtained from the flashback key and the wearable device. After the preset time, the preset time can be set by a user or set by default when the mobile terminal leaves a factory, the application program is not detected to be switched from background operation to foreground operation, it can be determined that the user does not need to use the application program within the preset time, the acquisition module 11 stops acquiring the key information, the wearable device stops displaying the key information, and the flashback key is turned off. The running power of the mobile terminal and the wearable device is saved while the information interaction is met.
Optionally, the user may close the flashback key autonomously, and receive a deletion operation of the flashback key triggered on the mobile terminal, and then trigger the flashback key to close. For example, the mobile terminal receives a dragging operation of a flashback key triggered on the interface, drags the flashback key to the edge of the interface for deletion, the flashback key is no longer displayed on the interface of the mobile terminal, and the acquisition module 11 stops acquiring the key information.
It should be noted here that, when the flashback key is turned off but the first program is not turned off, and when the application program is switched from the foreground operation to the background operation again, the obtaining module 11 still obtains the key information of the user interface of the application program to be currently displayed, and the sending module 12 sends the key information to the wearable device.
In another specific embodiment, when at least two applications run in the background, the obtaining module 11 is configured to determine the priority of the at least two applications in response to detecting that the at least two applications run in the background; and acquiring key information of the user interface to be displayed currently of the application program with the highest priority.
A sending module 12, configured to send the key information of the application with the highest priority to the wearable device.
As can be seen from the above, in the information display apparatus provided in this embodiment, the obtaining module is configured to, in response to detecting that an application program of the mobile terminal is switched from foreground operation to background operation, obtain key information of a user interface to be currently displayed of the application program; and the sending module is used for sending the key information to the wearable equipment so as to trigger the wearable equipment to display the key information. When other application programs run in the foreground of the mobile terminal, or the mobile terminal is in a screen-off state, or a user is in a scene without using the mobile terminal, the user can still obtain information of the application programs running in the background from the wearable device.
The embodiment of the present application provides an information display device 20 applied to a wearable device, referring to fig. 19, including:
the receiving module 21 is configured to receive key information sent by a mobile terminal, where the key information is key information of a user interface to be displayed currently of an application program that is switched from foreground operation to background operation in the mobile terminal;
and a second display module 22, configured to display the key information.
As can be seen from the above, in the information display apparatus provided in this embodiment, the obtaining module is configured to, in response to detecting that an application program of the mobile terminal is switched from foreground operation to background operation, obtain key information of a user interface to be currently displayed of the application program; the sending module is used for sending the key information to the wearable equipment so as to trigger the wearable equipment to display the key information. When other application programs run in the foreground of the mobile terminal, or the mobile terminal is in a screen-off state, or the user is in a scene without using the mobile terminal, the user can still obtain information of the application programs running in the background from the wearable device.
An embodiment of the application provides an electronic device, which comprises a processor and a memory. Wherein the processor is electrically connected with the memory.
In this embodiment, a processor in the electronic device loads instructions corresponding to processes of one or more computer programs into a memory according to the following steps, and the processor runs the computer programs stored in the memory, so as to implement various functions, as follows:
in response to the detection that the application program of the mobile terminal is switched from foreground operation to background operation, key information of a user interface to be displayed currently by the application program is acquired;
sending the key information to a wearable device to trigger the wearable device to display the key information.
The embodiments of the present application provide a computer-readable memory, which includes a temporary storage memory and a non-temporary storage memory, and the computer-readable memory stores a computer program, when the computer program runs on a computer, the computer program causes the computer to execute the method for displaying information in any of the above embodiments, such as: the method comprises the steps that in response to the fact that an application program of the mobile terminal is detected to be switched from foreground running to background running, key information of a user interface to be displayed currently of the application program is obtained; sending the key information to a wearable device to trigger display of the key information on the wearable device.
The present application provides a computer program product, in which computer program instructions are stored, and when the computer program runs on a computer, the computer is caused to execute the method for displaying information in any of the above embodiments, such as: the method comprises the steps that in response to the fact that an application program of the mobile terminal is detected to be switched from foreground running to background running, key information of a user interface to be displayed currently of the application program is obtained; sending the key information to a wearable device to trigger display of the key information on the wearable device.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "possible implementations," or the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A method of information display, comprising:
in response to the detection that the application program of the mobile terminal is switched from foreground operation to background operation, key information of a user interface to be displayed currently by the application program is acquired;
sending the key information to a wearable device to trigger display of the key information on the wearable device.
2. The method of claim 1, further comprising:
and displaying a flash key, wherein the flash key is used for displaying key information of a user interface to be displayed currently of the application program.
3. The method according to claim 1 or 2, wherein after obtaining key information of a user interface to be currently displayed by the application program, the method further comprises: and switching the mobile terminal to a screen-off state, and sending the key information to the wearable equipment.
4. The method of claim 1 or 2, further comprising:
and in response to the detection that the application program is switched from background operation to foreground operation, stopping acquiring the key information of the user interface to be displayed currently by the application program.
5. The method of claim 1 or 2, further comprising:
and in response to that the application program is not detected to be switched from background operation to foreground operation within preset time, stopping acquiring the key information of the user interface to be displayed currently by the application program.
6. The method according to claim 1 or 2,
the response to detecting that the application program of the mobile terminal is switched from foreground running to background running comprises the following steps: in response to detecting that at least two applications are running in the background, determining priorities of the at least two applications;
the acquiring key information of the user interface to be displayed currently of the application program comprises: acquiring the key information of a user interface to be displayed currently of the application program with the highest priority;
the sending the key information to the wearable device comprises: sending the key information of the application program with the highest priority to the wearable device.
7. A method of information display, comprising:
receiving key information sent by a mobile terminal, wherein the key information is key information of a user interface to be displayed currently of an application program which is switched from foreground operation to background operation in the mobile terminal;
and displaying the key information.
8. An apparatus for displaying information, comprising:
the mobile terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to the detection that the application program of the mobile terminal is switched from foreground operation to background operation and acquiring the key information of the user interface to be displayed currently of the application program;
and the sending module is used for sending the key information to the wearable equipment so as to trigger the wearable equipment to display the key information.
9. The apparatus of claim 8, further comprising:
the first display module is used for displaying a flashback key, and the flashback key is used for displaying key information of a user interface to be displayed currently of the application program.
10. An apparatus for displaying information, comprising:
the mobile terminal comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving key information sent by the mobile terminal, and the key information is key information of a user interface to be displayed currently of an application program which is switched from foreground operation to background operation in the mobile terminal;
and the second display module is used for displaying the key information.
CN202110445468.1A 2021-04-23 2021-04-23 Information display method and device Pending CN115237511A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110445468.1A CN115237511A (en) 2021-04-23 2021-04-23 Information display method and device
PCT/CN2022/085408 WO2022222751A1 (en) 2021-04-23 2022-04-06 Information display method and apparatus, and mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110445468.1A CN115237511A (en) 2021-04-23 2021-04-23 Information display method and device

Publications (1)

Publication Number Publication Date
CN115237511A true CN115237511A (en) 2022-10-25

Family

ID=83665740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110445468.1A Pending CN115237511A (en) 2021-04-23 2021-04-23 Information display method and device

Country Status (2)

Country Link
CN (1) CN115237511A (en)
WO (1) WO2022222751A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853037A (en) * 2015-04-23 2015-08-19 惠州Tcl移动通信有限公司 Wearable device and method, based on intelligent terminal, for intelligently displaying important information of user
KR102449533B1 (en) * 2015-05-28 2022-10-04 삼성전자주식회사 Electronic device and method for controlling an execution of application in electronic device
CN105426076B (en) * 2015-11-04 2019-10-29 联想(北京)有限公司 Information processing method and electronic equipment
WO2020101390A1 (en) * 2018-11-14 2020-05-22 Samsung Electronics Co., Ltd. Wearable device for displaying content, and method thereof
CN110515717B (en) * 2019-08-29 2023-09-01 Oppo广东移动通信有限公司 Background switching method, device and equipment of application program and storage medium
CN111290814A (en) * 2020-01-21 2020-06-16 努比亚技术有限公司 Application apportionment display method, terminal, wearable device and storage medium
CN114265645A (en) * 2020-09-15 2022-04-01 Oppo(重庆)智能科技有限公司 Information display method, device, terminal and storage medium

Also Published As

Publication number Publication date
WO2022222751A1 (en) 2022-10-27

Similar Documents

Publication Publication Date Title
US11895354B2 (en) Live broadcast interaction method and apparatus, and readable medium and electronic device
WO2017101387A1 (en) Split-screen displaying method and mobile terminal
KR101590341B1 (en) Method and apparatus controlling interrupt in portable terminal
CN106302095B (en) Message display control method, device and terminal
CN106201409B (en) Processing method and system for application program operation interface
US20140325436A1 (en) Mobile communication terminal for displaying event-handling view on split screen and method for controlling the same
WO2015176448A1 (en) Method and apparatus for intelligent screen splitting of terminal
KR20150020584A (en) Method and device for recording information in mobile terminal
CN109117060B (en) Pull-down notification bar display method, device, terminal and storage medium
WO2019047728A1 (en) Method for opening shortcut function, device, mobile terminal, and storage medium
CN112751971A (en) Voice playing method and device and electronic equipment
CN107526424B (en) Terminal energy saving method and device
EP4130956A1 (en) Multimedia playback method and device
EP3232325B1 (en) Method and device for starting application interface
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
CN108170361A (en) A kind of application operation condition control method and mobile terminal
WO2019047183A1 (en) Key display method, apparatus, and terminal
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
CN108076223B (en) Task switching method and device, terminal equipment and storage medium
CN105630498A (en) Application program display method and device and electronic equipment
CN111221599A (en) Method for displaying floating window, mobile terminal and storage medium
CN109658934B (en) Method and device for controlling multimedia app through voice
CN105159540A (en) Control method of screen state and terminal
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
WO2024037563A1 (en) Content display method and apparatus, and device and storage medium

Legal Events

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