CN111258699B - Page display method and communication terminal - Google Patents

Page display method and communication terminal Download PDF

Info

Publication number
CN111258699B
CN111258699B CN202010072481.2A CN202010072481A CN111258699B CN 111258699 B CN111258699 B CN 111258699B CN 202010072481 A CN202010072481 A CN 202010072481A CN 111258699 B CN111258699 B CN 111258699B
Authority
CN
China
Prior art keywords
application program
authority authentication
interface
small window
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010072481.2A
Other languages
Chinese (zh)
Other versions
CN111258699A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202010072481.2A priority Critical patent/CN111258699B/en
Publication of CN111258699A publication Critical patent/CN111258699A/en
Application granted granted Critical
Publication of CN111258699B publication Critical patent/CN111258699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a page display method and a communication terminal, which are used for starting a small window of an application program with an application lock. The communication terminal responds to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, and if the first application program needs authority authentication, an authority authentication interface is displayed in the small window; responding to the operation of the user on the authority authentication interface, and if the authority authentication is passed, displaying the interface of the first application program in the small window. According to the method and the device, the authority authentication interface is displayed in the small window, and after the authority authentication is passed, the display page of the first application program is displayed in the small window, so that the whole process of starting the application program is displayed in the small window, and the user experience is improved.

Description

Page display method and communication terminal
Technical Field
The present application relates to the field of terminal display technologies, and in particular, to a page display method and a communication terminal.
Background
In order to improve user experience, the android system develops a widget technology, in the process that one application program is used by a communication terminal, another application program can be started into the widget, the application program of the widget can be seen or operated at the same time without influencing the currently used application program, and therefore the disturbance-free function is achieved through the widget technology.
The communication terminal is also provided with an application lock function, a password can be set for an important application program, and after the communication terminal is restarted or the screen is unlocked again, a user is required to input the password when the application program is opened for the first time.
Disclosure of Invention
The exemplary embodiment of the application provides a page display method and a communication terminal, which are used for starting a small window of an application program with an application lock.
According to an aspect of the exemplary embodiments, there is provided a communication terminal including:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
the processor is respectively coupled with the touch screen and the display screen, and a user interface displayed by the communication terminal in a picture-in-picture mode at least comprises a full-screen window and a small window positioned on the full-screen window, wherein the small window is used for displaying a first application program, and the full-screen window is used for displaying a second application program;
the processor is configured to:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, and if the first application program needs authority authentication, displaying an authority authentication interface in the small window;
responding to the operation of the user on the authority authentication interface, and if the authority authentication is passed, displaying the interface of the first application program in the small window.
According to the method and the device, when the first application program is determined to need to be subjected to authority authentication and needs to be displayed in the small window, the authority authentication interface is displayed in the small window, and authority authentication can be performed on the premise that the display interface of the current operation of a user is not influenced; after the authority authentication is passed, the display page of the first application program is displayed in the small window, so that the whole process of starting the application program is guaranteed to be displayed in the small window, the application program is displayed in the small window on the basis that the current viewing or operating interface of a user is not influenced, the user can view or operate the application program in the small window, the disturbance-free function is achieved, and the user experience is improved.
In some exemplary embodiments, the processor is further configured to:
determining that the first application needs to be subjected to authority authentication according to the following modes:
acquiring a package name of the first application program, and if the package name of the first application program is contained in a preset package name set, determining that the first application program needs to be subjected to authority authentication; and the application program corresponding to the package name in the preset package name set is the application program needing authority authentication.
In some exemplary embodiments, the processor is further configured to:
determining that the first application is an application that is open in a portlet in accordance with:
if the starting parameter of the first application program comprises a small window identifier, determining that the first application program is an application program opened in a small window; the starting parameter is used for determining a display page of the application program.
In some exemplary embodiments, the processor is further configured to:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, stopping starting an interface of the first application program when the first application program is determined to need authority authentication, and transmitting a starting parameter of the first application program to the authority authentication interface, so that the interface of the first application program is started according to the starting parameter after the authority authentication of the first application program is passed.
In some exemplary embodiments, the authority authentication interface includes a password input area, and the user operates on the authority authentication interface to input a password in the password input area; or
The authority authentication interface comprises a gesture input area, and the user operates on the authority authentication interface to input an unlocking gesture in the gesture input area; or
The authority authentication interface comprises a fingerprint input area, and the user operates the authority authentication interface to input a fingerprint in the fingerprint input area; or
The authority authentication interface comprises a face scanning area, and the user operates the authority authentication interface to scan a face based on the face scanning area; or
The authority authentication interface comprises a voice input function option, and the user operates the authority authentication interface to input voice based on the voice input function option.
According to another aspect of exemplary embodiments, there is provided a page display method including:
at a communication terminal having a processor, a memory, a touch screen, and a display screen:
the user interface displayed by the communication terminal in the picture-in-picture mode at least comprises a full-screen window and a small window positioned on the full-screen window, wherein the small window is used for displaying a first application program, and the full-screen window is used for displaying a second application program;
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, and if the first application program needs authority authentication, displaying an authority authentication interface in the small window;
responding to the operation of the user on the authority authentication interface, and if the authority authentication is passed, displaying the interface of the first application program in the small window.
In some exemplary embodiments, it is determined that the first application requires permission authentication according to the following:
acquiring a package name of the first application program, and if the package name of the first application program is contained in a preset package name set, determining that the first application program needs to be subjected to authority authentication; and the application program corresponding to the package name in the preset package name set is the application program needing authority authentication.
In some exemplary embodiments, the first application is determined to be an application that opens in a portlet in accordance with:
if the starting parameter of the first application program comprises a small window identifier, determining that the first application program is an application program opened in a small window; the starting parameter is used for determining a display page of the application program.
In some exemplary embodiments, the method further comprises:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, stopping starting an interface of the first application program when the first application program is determined to need authority authentication, and transmitting a starting parameter of the first application program to the authority authentication interface, so that the interface of the first application program is started according to the starting parameter after the authority authentication of the first application program is passed.
In some exemplary embodiments, the authority authentication interface includes a password input area, and the user operates on the authority authentication interface to input a password in the password input area; or
The authority authentication interface comprises a gesture input area, and the user operates on the authority authentication interface to input an unlocking gesture in the gesture input area; or
The authority authentication interface comprises a fingerprint input area, and the user operates the authority authentication interface to input a fingerprint in the fingerprint input area; or
The authority authentication interface comprises a face scanning area, and the user operates the authority authentication interface to scan a face based on the face scanning area; or
The authority authentication interface comprises a voice input function option, and the user operates the authority authentication interface to input voice based on the voice input function option.
According to a further aspect of the exemplary embodiments, there is provided a computer storage medium having stored therein computer program instructions which, when run on a computer, cause the computer to perform the page display method as described above.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a communication terminal according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a software architecture of a communication terminal according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a user interface of a communication terminal provided by an embodiment of the present application;
fig. 4 is a diagram illustrating a picture-in-picture mode according to an embodiment of the present application;
FIG. 5 is a diagram illustrating that full-screen presentation of a permission authentication interface causes a picture-in-picture mode to fail according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating a page display method according to an embodiment of the present application;
FIG. 7 is a diagram illustrating an application being launched via a sidebar according to an embodiment of the present application;
FIG. 8 is a diagram illustrating an application being launched by clicking on a notification message in a notification bar according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating an authority authentication interface displayed in a small window of a current display interface of a communication terminal according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a display page for displaying a first application in a small window of a current display interface of a communication terminal according to an embodiment of the present application;
fig. 11 is a flowchart illustrating a page display method according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; the "and/or" in the text is only an association relation describing the association object, and indicates that three relations may exist, for example, a and/or B may indicate: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Some terms appearing herein are explained below:
1. in the embodiment of the present application, the term "and/or" describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. The term "widget technology" in the embodiment of the present application refers to a technology that an application program or a system running interface is displayed in a floating window form on a current operation interface without affecting the current operation interface, the widget is located on a full-screen window of a communication terminal and blocks a part of the full-screen window, a display page of the application program can be displayed in the widget, meanwhile, the display content of the full-screen window of the communication terminal is not affected, the function of simultaneously operating the full-screen window and the widget can be realized, and a disturbance-free service can be provided for a user.
3. In the embodiment of the present application, the term "application lock" may be used to set a password for an important application, and after the mobile phone is restarted or the screen is unlocked again, the user may be required to input the password when the application is opened for the first time. The application lock adds a protection for the privacy information, and prevents other people from using important applications in the equipment without permission.
Fig. 1 shows a schematic configuration of a communication terminal 100.
The following describes an embodiment specifically taking the communication terminal 100 as an example. It should be understood that the communication terminal 100 shown in fig. 1 is only an example, and the communication terminal 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a communication terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the communication terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 executes various functions of the communication terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the communication terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the communication terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the communication terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the communication terminal 100. The display 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the communication terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The communication terminal 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The communication terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, optical sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the communication terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The communication terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the communication terminal 100 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the communication terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the communication terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Additionally, the processor 180 is coupled to the display unit 130 and the camera 140.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the communication terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The communication terminal 100 also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The communication terminal 100 may also be configured with power buttons for powering the terminal on and off, and for locking the screen.
Fig. 2 is a block diagram of a software configuration of the communication terminal 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the communication terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following exemplifies the workflow of the software and hardware of the communication terminal 100 in connection with capturing a photographing scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The communication terminal 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a communication terminal (e.g., communication terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
The communication terminal in the embodiment of the application can display the user interface in a picture-in-picture mode, and simultaneously display a full-screen window and a small window positioned on the full-screen window on a display interface of the same communication terminal, wherein the small window can be displayed on the full-screen window in a floating window mode. In the picture-in-picture mode, a full-screen window and a small window can be used for showing different application programs; for example, a small window is used to expose a first application and a full screen window is used to expose a second application. The user can open the picture-in-picture mode, and when the second application program is operated in a full-screen window in the picture-in-picture mode, if the notification message from the first application program is received and the user clicks the notification message, the first application program is displayed in the small window.
As shown in fig. 4, a schematic diagram of a picture-in-picture mode according to an embodiment of the present application includes a full-screen window 41 and a small window 42 located on the full-screen window 41, and assuming that a user opens a non-disturbance mode of a communication terminal, when the full-screen window 41 is playing a video through a second application program, the communication terminal receives a notification message, and in response to an operation of clicking the notification message by the user, a first application program corresponding to the notification message is displayed in the small window 42.
The communication terminal in the embodiment of the application provides an application lock function, a user can perform authority authentication on the user before starting a specified application program, the corresponding application program is started after the authority authentication of the user passes, and the corresponding application program cannot be started if the authority authentication of the user fails.
In an exemplary embodiment of the present application, after the first application is started, if the first application needs to perform permission authentication, a permission authentication interface corresponding to the first application is displayed in the widget 42, and after the permission authentication passes, the first application is displayed in the widget 42, so that an operation of a user in the full screen window 41 is not affected.
Fig. 5 is a flowchart illustrating a page display method according to an embodiment of the present application, including the following steps:
s501, responding to a command of opening a first application program in a small window triggered by a user, and acquiring a package name of the first application program;
step S502, judging whether the package name of the first application program is in a preset package name set or not; if yes, go to step S503; if not, go to step S506;
step S503, transmitting the starting parameter of the first application program to an authority authentication interface;
step S504, displaying an authority authentication interface in a small window of a communication terminal display interface;
step S505, judging whether the user authority authentication is passed; if yes, go to step S506; otherwise, go to step S508;
step S506, acquiring a starting parameter of the first application program;
step S507, after detecting that the starting parameters comprise small window identifications, displaying a display page of the first application program in a small window of a display interface of the communication terminal;
and step S508, closing the small window, and displaying the display page of the second application program on the full-screen window of the communication terminal.
In an exemplary embodiment, a user may set an application program to be displayed in a small window, and when the user starts a picture-in-picture mode in system setting, the application program started in a preset manner is displayed in the small window. The preset mode used when the application program is started can be set by a user; for example, the preset manner may be to launch an application from a particular location of the user interface. As shown in fig. 6, in the process of playing a video in a full-screen window, a user may start an application program by clicking an icon corresponding to the application program in a sidebar; alternatively, as shown in fig. 7, in the process of playing a video in the full-screen window, the user starts the application by clicking a notification message corresponding to the application in the notification bar.
Specifically, when the communication terminal starts the picture-in-picture mode, an application program started in a small window can be set; in the implementation, a small window identifier is added to a set starting parameter of an application program started in a small window, and when the application program is started, the communication terminal displays the application program in the small window after determining that the starting parameter of the application program carries the small window identifier.
For example, assuming that the start parameter of the application program is intent and the widget identifier is pip _ tag, the widget identifier may be added to the start parameter through intent.putextra ("pip _ tag", "1"), and the corresponding value of the widget identifier may be set to 1;
the communication terminal responds to an instruction of triggering and starting the application program by a user, and if the starting parameters of the application program to be started comprise pip _ tag and 1, the application program is determined to need to be started in the small window.
The start parameter is a parameter for specifying a display page of the application, and may be an intent parameter, which specifically includes part or all of an action (action), data (data), Category (Category), Type (Type), Component (Component), and extension information (Extra).
In an exemplary embodiment, in step S501, the communication terminal needs to determine whether the first application program opened in the small window needs to perform permission authentication; in implementation, the communication terminal may determine according to the following ways:
the communication terminal acquires a packet name of a first application program and judges whether the packet name of the first application program is in a preset packet name set or not; the application program corresponding to the package name in the preset package name set is the application program needing authority authentication; if so, determining that the first application program is the application program needing authority authentication.
The preset package name set is a package name set of an application program which needs to be subjected to authority authentication through the application lock, and the application program which needs to be subjected to authority authentication through the application lock can be an application program preset by a system or an application program set by a user.
In an exemplary embodiment, in step S502, after the package name of the first application is acquired, the package name of the first application is matched with the package names in the preset package name set one by one, and if the package name of the first application is successfully matched with the package names corresponding to the applications in the preset package name set, the package name of the first application is determined to be in the preset package name set, so as to determine that the first application is an application that needs to perform authority authentication.
In an exemplary embodiment, in step S503, after determining that the first application needs to perform the authority authentication, the start parameter including the widget identifier is passed to the authority authentication interface.
In specific implementation, after a starting parameter containing a small window identifier is transmitted to an authority authentication interface, a starting parameter corresponding to authority authentication is generated, wherein the starting parameter corresponding to the authority authentication is a parameter used for determining display content of the authority authentication interface; specifically, the starting parameter corresponding to the authority authentication may be an intent parameter, and specifically includes part or all of an action (action), data (data), a Category (Category), a Type (Type), a Component (Component), and extension information (Extra).
In an exemplary embodiment, after determining that the first application program is an application program that needs to be subjected to authority authentication and needs to be displayed in a widget, a parameter corresponding to an authority authentication interface is obtained, and a start parameter corresponding to the first application program is added to a parameter corresponding to the authority authentication interface as an additional parameter, so as to generate a start parameter corresponding to the authority authentication.
Specifically, assuming that the starting parameter corresponding to the first application program is intent1, and the starting parameter corresponding to the authority authentication is intent2, the starting parameter corresponding to the first application program may be added as an additional parameter to the parameter corresponding to the authority authentication interface through intent2.putextra ("orig _ app", intent1), so as to obtain the starting parameter intent2 corresponding to the authority authentication.
In an exemplary implementation manner, in step S504, after generating a start parameter corresponding to the authority authentication including the widget identifier, and detecting that the start parameter corresponding to the authority authentication includes the widget identifier, a widget start interface is invoked, and an authority authentication interface is displayed in a widget of a display interface of the communication terminal according to the start parameter corresponding to the authority authentication.
For example, as shown in fig. 8, in response to an instruction triggered by a user to open a first application program in a small window, after it is determined that the first application program needs to perform authority authentication, an authority authentication interface is displayed in the small window of the current display interface of the communication terminal.
The method and the device for authenticating the authority can support one or more authority authentication modes, such as password authority authentication, gesture authority authentication or fingerprint authority authentication and the like.
In the embodiment of the application, under the condition of supporting password authority authentication, the authority authentication interface can comprise a password input area, and the authority authentication operation is the operation of inputting the password in the password input area. And the communication terminal acquires the password input by the user according to the authority authentication operation, compares the password with the stored password of the application, passes the authority authentication if the password is the same as the stored password, and fails the authority authentication if the password is not the same as the stored password.
In the embodiment of the application, under the condition of supporting gesture authority authentication, the authority authentication interface comprises a gesture input area, and the authority authentication operation based on the user on the authority authentication interface is the operation of a gesture (pattern) in the gesture input area. And the communication terminal acquires the gesture pattern input by the user according to the authority authentication operation, compares the gesture pattern with the stored gesture pattern applied by the user, passes the authority authentication if the gesture pattern is the same as the stored gesture pattern applied by the user, and fails the authority authentication if the gesture pattern is not the same as the stored gesture pattern applied by the user.
Under the condition of supporting fingerprint authority authentication, the authority authentication interface comprises a fingerprint input area, and the authority authentication operation based on the authority authentication interface of the user is the operation of inputting the fingerprint in the fingerprint input area. And the communication terminal acquires the fingerprint input by the user according to the authority authentication operation, identifies the fingerprint characteristic, compares the fingerprint characteristic with the stored fingerprint characteristic corresponding to the application, passes the authority authentication if the fingerprint characteristic is matched with the fingerprint characteristic, and fails the authority authentication if the fingerprint characteristic is not matched with the fingerprint characteristic.
In the embodiment of the application, under the condition of supporting the face scanning authority authentication, the authority authentication interface comprises a face scanning area, and the authority authentication operation based on the user in the authority authentication interface is the operation based on the face scanning area to scan the face. And the communication terminal acquires the face input by the user according to the authority authentication operation, identifies the face characteristics, compares the face characteristics with the stored face characteristics corresponding to the application, passes the authority authentication if the face characteristics are matched with the stored face characteristics, and fails the authority authentication if the face characteristics are not matched with the stored face characteristics.
Under the condition of supporting voice authority authentication, the authority authentication interface comprises a voice input function option, and the authority authentication operation based on the authority authentication interface of the user is the operation of inputting voice based on the voice input function option. And the communication terminal acquires the voice input by the user according to the authority authentication operation, recognizes the voice, compares the voice with the stored voice or voice characteristics corresponding to the application, passes the authority authentication if the voice or the voice characteristics are matched with the stored voice or voice characteristics corresponding to the application, and fails the authority authentication if the voice or the voice characteristics are not matched with the application.
The above examples only exemplify several rights authentication methods, and the embodiments of the present application are not limited to the above listed rights authentication methods.
In step S502, if it is determined that the package name of the first application is not in the preset package name set, that is, the first application does not need to perform the authority authentication on the user, the start parameter corresponding to the first application is directly obtained when step S507 is executed.
After the user authority authentication is passed in step S506, when step S507 is executed, the communication terminal analyzes the startup parameter corresponding to the authority authentication, and acquires the startup parameter corresponding to the first application program.
In step S508, if it is detected that the start parameter corresponding to the first application includes the widget identifier, the widget start interface is called, and the display page of the application corresponding to the start instruction is displayed in the widget.
For example, as shown in fig. 9, after the user right authentication is passed, a display page of the first application program is displayed in a small window of a current display interface of the communication terminal.
According to the page display method provided by the embodiment of the application, the starting parameter of the first application program is transmitted to the authority authentication interface, so that the authority authentication interface can generate the starting parameter corresponding to the authority authentication containing the small window identification, the authority authentication interface can be displayed in the small window, and after the authority authentication passes, the display page of the first application program is displayed in the small window, so that the whole process of starting the application program is displayed in the small window, and the user experience is improved.
If the user does not transfer the start parameter of the first application program to the authority authentication interface after triggering the instruction to open the first application program in the small window, the authority authentication interface corresponding to the first application program will be directly displayed in the full-screen window, and the user interface of the second application program displayed in the original full-screen window will be blocked, as shown in fig. 10, the picture-in-picture mode is disabled.
As shown in fig. 11, which is a complete flowchart of a page display method according to an embodiment of the present invention, the method includes the following steps:
step S1101, responding to an instruction for starting the application program triggered by a user, intercepting the started application program in a startActivity system flow, and acquiring a starting parameter intent1 of the application program;
step S1102, judging whether the intent1 contains a small window identifier pip _ tag; if yes, go to step S1103; otherwise, step S1111 is executed;
step S1103, determining that the started application program is a first application program which needs to be displayed in the small window;
step S1104, determining whether the package name of the first application is included in a preset package name set; if yes, go to step S1105; otherwise, step S1109 is executed;
s1105, transmitting intent1 to the authority authentication interface, adding intent1 as an additional parameter to the starting parameter corresponding to the authority authentication interface, and generating a starting parameter intent2 corresponding to the authority authentication interface;
step S1106, calling a small window starting interface, and displaying an authority authentication interface in a small window of a display interface of the communication terminal according to intent 2;
step S1107, judging whether the user authority authentication is passed; if yes, go to step S1108; otherwise, go to step S1110;
step S1108, the authority authentication interface acquires the orig _ app information, and the intent2 is analyzed to obtain intent 1;
step S1109, calling a small window starting interface, and displaying a display page of a first application program in a small window of a current display interface of the communication terminal according to intent 1;
step S1110, determining that the first application program fails to start, and closing the small window;
step S1111, determining that the started application program is a second application program which needs to be displayed in a full screen window;
step S1112, determining whether the package name of the second application program is included in the preset package name set, if yes, executing step S1113; otherwise, go to step S1115;
s1113, displaying a permission authentication interface on a full screen window of the communication terminal;
step S1114, judging whether the user authority authentication is passed; if yes, go to step S1115; otherwise, go to step S1116;
s1115, displaying a display page of a second application program on a full-screen window of the communication terminal;
step S1116, determining that the second application program fails to start.
Embodiments of the present application also provide a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the steps of any of the methods described above.
Since the communication terminal and the computer storage medium in the embodiment of the present application may be applied to the processing method, reference may also be made to the above method embodiment for obtaining technical effects, and details of the embodiment of the present application are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the present application have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the present application is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and principles of this application, and these changes and modifications are intended to be included within the scope of this application.

Claims (8)

1. A communication terminal, comprising:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
a processor coupled to the touch screen and the display screen, respectively;
the user interface displayed by the communication terminal in the picture-in-picture mode at least comprises a full-screen window and a small window positioned on the full-screen window, wherein the small window is used for displaying a first application program, and the full-screen window is used for displaying a second application program;
the processor is configured to:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, and if the first application program needs authority authentication, displaying an authority authentication interface in the small window;
responding to the operation of a user on the authority authentication interface, and if the authority authentication is passed, displaying the interface of the first application program in the small window;
determining that the first application needs to be authenticated according to the following modes:
acquiring a package name of the first application program, and if the package name of the first application program is contained in a preset package name set, determining that the first application program needs to be subjected to authority authentication; the application program corresponding to the package name in the preset package name set is the application program needing authority authentication;
if the first application program needs to be subjected to authority authentication, transmitting a starting parameter containing a small window identifier to an authority authentication interface, and generating a starting parameter corresponding to the authority authentication, wherein the starting parameter corresponding to the authority authentication is a parameter for determining display content of the authority authentication interface;
and if the fact that the starting parameters corresponding to the authority authentication contain the small window identification is detected, calling a starting interface of the small window, and displaying the authority authentication interface in the small window of the display interface of the communication terminal according to the starting parameters corresponding to the authority authentication.
2. The communication terminal of claim 1, wherein the processor is further configured to:
determining that the first application is an application that is open in a portlet in accordance with:
if the starting parameter of the first application program comprises a small window identifier, determining that the first application program is an application program opened in a small window; the starting parameter is used for determining a display page of the application program.
3. The communication terminal of claim 1, wherein the processor is further configured to:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, stopping starting an interface of the first application program when the first application program is determined to need authority authentication, and transmitting a starting parameter of the first application program to the authority authentication interface, so that the interface of the first application program is started according to the starting parameter after the authority authentication of the first application program is passed.
4. The communication terminal according to any one of claims 1 to 3, wherein the authority authentication interface comprises a password input area, and the user operates on the authority authentication interface to input a password in the password input area; or
The authority authentication interface comprises a gesture input area, and the user operates on the authority authentication interface to input an unlocking gesture in the gesture input area; or
The authority authentication interface comprises a fingerprint input area, and the user operates the authority authentication interface to input a fingerprint in the fingerprint input area; or
The authority authentication interface comprises a face scanning area, and the user operates the authority authentication interface to scan a face based on the face scanning area; or
The authority authentication interface comprises a voice input function option, and the user operates the authority authentication interface to input voice based on the voice input function option.
5. A page display method is characterized by comprising the following steps:
at a communication terminal having a processor, a memory, a touch screen, and a display screen:
the user interface displayed by the communication terminal in the picture-in-picture mode at least comprises a full-screen window and a small window positioned on the full-screen window, wherein the small window is used for displaying a first application program, and the full-screen window is used for displaying a second application program;
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, and if the first application program needs authority authentication, displaying an authority authentication interface in the small window;
responding to the operation of a user on the authority authentication interface, and if the authority authentication is passed, displaying the interface of the first application program in the small window;
determining that the first application needs to be subjected to authority authentication according to the following modes:
acquiring a package name of the first application program, and if the package name of the first application program is contained in a preset package name set, determining that the first application program needs to be subjected to authority authentication; the application program corresponding to the package name in the preset package name set is the application program needing authority authentication;
if the first application program needs to be subjected to authority authentication, transmitting a starting parameter containing a small window identifier to an authority authentication interface, and generating a starting parameter corresponding to the authority authentication, wherein the starting parameter corresponding to the authority authentication is a parameter for determining display content of the authority authentication interface;
and if the fact that the starting parameters corresponding to the authority authentication contain the small window identification is detected, calling a starting interface of the small window, and displaying the authority authentication interface in the small window of the display interface of the communication terminal according to the starting parameters corresponding to the authority authentication.
6. The method of claim 5, wherein the first application is determined to be an application that opens in a portlet in accordance with:
if the starting parameter of the first application program comprises a small window identifier, determining that the first application program is an application program opened in a small window; the starting parameter is used for determining a display page of the application program.
7. The method of claim 5, further comprising:
responding to an instruction of a user for opening a first application program in a small window in a picture-in-picture mode, stopping starting an interface of the first application program when the first application program is determined to need authority authentication, and transmitting a starting parameter of the first application program to the authority authentication interface, so that the interface of the first application program is started according to the starting parameter after the authority authentication of the first application program is passed.
8. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of any of claims 5 to 7.
CN202010072481.2A 2020-01-21 2020-01-21 Page display method and communication terminal Active CN111258699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010072481.2A CN111258699B (en) 2020-01-21 2020-01-21 Page display method and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010072481.2A CN111258699B (en) 2020-01-21 2020-01-21 Page display method and communication terminal

Publications (2)

Publication Number Publication Date
CN111258699A CN111258699A (en) 2020-06-09
CN111258699B true CN111258699B (en) 2022-06-10

Family

ID=70949100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010072481.2A Active CN111258699B (en) 2020-01-21 2020-01-21 Page display method and communication terminal

Country Status (1)

Country Link
CN (1) CN111258699B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956426A (en) * 2016-04-26 2016-09-21 上海斐讯数据通信技术有限公司 Application program authority authentication and authorization method and intelligent equipment
CN106843879A (en) * 2017-01-19 2017-06-13 北京珠穆朗玛移动通信有限公司 The display methods and mobile terminal of application program
CN108664300B (en) * 2018-04-03 2021-06-25 青岛海信移动通信技术股份有限公司 Application interface display method and device in picture-in-picture mode
CN109933386A (en) * 2019-03-28 2019-06-25 努比亚技术有限公司 The starting method, apparatus and computer readable storage medium of picture-in-picture mode
CN110519628A (en) * 2019-09-20 2019-11-29 青岛海信移动通信技术股份有限公司 A kind of picture-in-picture display methods and display equipment
CN110659010A (en) * 2019-09-20 2020-01-07 青岛海信移动通信技术股份有限公司 Picture-in-picture display method and display equipment

Also Published As

Publication number Publication date
CN111258699A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111597000B (en) Small window management method and terminal
CN111367456A (en) Communication terminal and display method in multi-window mode
CN111240546B (en) Split screen processing method and communication terminal
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111274564A (en) Communication terminal and application unlocking method in split screen mode
CN111597004B (en) Terminal and user interface display method in application
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN112835472B (en) Communication terminal and display method
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN111258699B (en) Page display method and communication terminal
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN111163220B (en) Display method, communication terminal and computer storage medium
CN111600862B (en) User account management method and device
CN114449171A (en) Method for controlling camera, terminal device, storage medium and program product
CN114595203A (en) File synchronization method based on dual systems, terminal device and storage medium
CN111787157A (en) Mobile terminal and operation response method thereof
CN114035870A (en) Terminal device, application resource control method and storage medium
CN111273849A (en) Communication terminal and screen unlocking method
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN113496039A (en) Authority management method and terminal
CN114286320A (en) Display device, mobile terminal and Bluetooth connection method
CN111225113A (en) Communication terminal and starting method thereof
CN111324255A (en) Application processing method based on double-screen terminal and communication terminal
CN114020379B (en) Terminal equipment, information feedback method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder