CN112882779A - Lock screen display control method and device, mobile terminal and storage medium - Google Patents

Lock screen display control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN112882779A
CN112882779A CN202110157124.0A CN202110157124A CN112882779A CN 112882779 A CN112882779 A CN 112882779A CN 202110157124 A CN202110157124 A CN 202110157124A CN 112882779 A CN112882779 A CN 112882779A
Authority
CN
China
Prior art keywords
screen locking
screen
wallpaper
preset
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110157124.0A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110157124.0A priority Critical patent/CN112882779A/en
Publication of CN112882779A publication Critical patent/CN112882779A/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
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a lock screen display control method, a device, a mobile terminal and a storage medium, which are applied to the mobile terminal, wherein the method comprises the following steps: when the screen is bright under the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window, wherein the preset screen locking wallpaper comprises: a page capable of interacting with a user; detecting touch operation acting on a touch panel of a display screen of the mobile terminal; and controlling the preset screen locking wallpaper to dynamically change based on the touch operation. Therefore, the wallpaper displayed in the screen locking state of the mobile terminal can be controlled to dynamically change according to touch operation, the display effect of the screen locking interface in the screen locking state is enriched, and the interactivity of the screen locking interface in the screen locking state is enhanced.

Description

Lock screen display control method and device, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling lock screen display, a mobile terminal, and a storage medium.
Background
The smart phone becomes a necessary tool for people to live, entertain and work, and at present, when an application program in the smart phone is not needed, the smart phone is usually in a screen locking state. In the related technology, the wallpaper displayed after the screen locking of the smart phone is a preset static wallpaper picture or dynamic wallpaper, that is, after the screen locking of the smart phone, the display of the screen locking wallpaper is single, and even though the screen locking wallpaper of the smart phone can be dynamically displayed, the preset screen locking wallpaper is replaced according to a preset period for display, a user cannot change the display effect of the screen locking wallpaper at any time according to own preference, or the screen locking wallpaper is changed into the display effect desired by the user according to own preference, so that the user experience is poor.
Disclosure of Invention
According to a first aspect of the embodiments of the present disclosure, there is provided a lock screen display control method applied to a mobile terminal, including:
when the screen is bright under the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window, wherein the screen locking wallpaper comprises: a page capable of interacting with a user;
detecting touch operation acting on a touch panel of a display screen of the mobile terminal;
and controlling the preset screen locking wallpaper to dynamically change based on the touch operation.
Optionally, the method further comprises:
before the mobile terminal enters a screen locking state, configuring application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process, wherein the application parameters comprise application identifiers;
the displaying of the preset lock screen wallpaper under the lock screen window comprises the following steps:
and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
Optionally, the invoking and starting the screen locking wallpaper process according to the application identifier included in the invocation parameter includes:
determining the path information of the class where the movable component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and creating a movable component instance of the screen locking wallpaper process according to the read class;
when the movable component instance is determined to be positioned in a stack according to the starting mode of the type of the movable component, the movable component instance of the screen locking wallpaper process is positioned at the top of the stack;
and running the screen locking wallpaper process corresponding to the stack top of the stack.
Optionally, the method further comprises:
when the mobile terminal enters a screen locking state and turns off a screen, placing a movable component example of an application program running before turning off the screen on the stack top of the stack;
the placing of the active component instance of the lock screen wallpaper process on the stack top of the stack comprises:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the method further comprises the following steps:
and after the screen locking state is released, closing the screen locking wallpaper process, moving the movable component instance corresponding to the screen locking wallpaper process out of the stack, and restoring the movable component instance of the application program running before the screen is turned off to the top of the stack.
Optionally, when the screen is highlighted in the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper in the screen locking window, including:
when a display screen of the mobile terminal is lightened in a screen locking state, acquiring a screen locking message in a system process;
determining whether the screen locking message contains configuration parameters for the preset screen locking wallpaper, wherein the configuration parameters are used for indicating the starting requirement for configuring the preset screen locking wallpaper;
and if the screen locking information contains the configuration parameters, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window.
Optionally, the controlling the preset screen locking wallpaper to dynamically change based on the touch operation includes:
and controlling a set area of the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
Optionally, the controlling, based on the operation instruction, the set area of the preset lock screen wallpaper to move according to the direction or track indicated by the operation instruction includes:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
According to a second aspect of the embodiments of the present disclosure, there is provided a lock screen display control device applied in a mobile terminal, including:
the screen locking processing module is configured to draw a transparent screen locking window and display preset screen locking wallpaper under the screen locking window when the screen is highlighted under the screen locking state of the mobile terminal, wherein the preset screen locking wallpaper comprises: a page capable of interacting with a user;
the detection module is configured to detect touch operation acting on a touch panel of the display screen of the mobile terminal;
the control module is configured to control the preset screen locking wallpaper process to dynamically change based on the touch operation.
Optionally, the apparatus further comprises:
the configuration module is configured to configure application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process before the mobile terminal enters a screen locking state, wherein the application parameters comprise application identifiers;
the screen locking processing module is further configured to:
and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
Optionally, the screen locking processing module includes:
the first determining submodule is configured to determine path information of a class where an active component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and create an active component instance of the screen locking wallpaper process according to the read class;
the setting submodule is configured to place the active component instance of the screen locking wallpaper process at the top of the stack when the active component instance is determined to be located in the stack according to the starting mode of the class where the active component is located;
and the operation submodule is configured to operate the lock screen wallpaper process corresponding to the stack top of the stack.
Optionally, the setting sub-module is further configured to:
setting the attribute of the activity component instance as a set-top attribute.
Optionally, the apparatus further comprises:
the mobile terminal comprises a determining module, a judging module and a judging module, wherein the determining module is configured to place an active component instance of an application program running before screen-off at the top of the stack when the mobile terminal enters a screen-locking state and turns off the screen;
the settings sub-module further configured to:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the device further comprises:
and the closing module is configured to close the lock screen wallpaper process after the lock screen state is released, move the movable component instance corresponding to the lock screen wallpaper process out of the stack, and restore the movable component instance of the application program running before the screen is turned off to the top of the stack.
Optionally, the screen locking processing module includes:
the acquisition submodule is configured to acquire a screen locking message in a system process when a display screen of the mobile terminal is lightened in a screen locking state;
a second determining sub-module configured to determine whether a configuration parameter for the preset screen locking wallpaper is included in the screen locking message, wherein the configuration parameter is used for indicating a starting requirement for configuring the preset screen locking wallpaper;
and the screen locking processing submodule is configured to draw a transparent screen locking window and display preset screen locking wallpaper under the screen locking window if the screen locking information contains the configuration parameters.
Optionally, the control module is further configured to:
and controlling a set area of the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
Optionally, the control module is further configured to:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: and when the method is executed, the steps of any one of the screen locking display control methods are realized.
In a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, where instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform steps implementing any one of the above-mentioned lock screen display control methods.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment of the method and the device, when the screen is on under the screen locking state of the mobile terminal, the transparent screen locking window is drawn, the preset screen locking wallpaper is displayed under the screen locking window, and the preset screen locking wallpaper is controlled to dynamically change by the detected touch operation acting on the touch panel of the display screen of the mobile terminal. Therefore, the preset screen locking wallpaper under the screen locking window of the mobile terminal can be dynamically displayed based on touch operation. Compared with the related art, the display of the screen locking wallpaper is single, and if dynamic change is needed, replacement display among the wallpapers can be performed only in a preset period, the preset screen locking wallpaper under the screen locking window can be dynamically changed according to the touch operation of the user, so that the user can perform touch operation on the touch panel according to own preference to change the display effect of the screen locking wallpaper at any time in the screen locking state, for example, the user can perform sliding operation on the screen locking wallpaper according to own preference to move a certain area or the whole area of the screen locking wallpaper and the like. Therefore, the dynamic change of the screen locking wallpaper can be realized based on the touch operation of the user, so that the screen locking wallpaper is not presented in a fixed mode any more, but different display effects can be displayed based on different touch operations, the interactivity of the preset screen locking wallpaper under the screen locking window is enhanced, the display of the preset screen locking wallpaper is more diversified, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a lock screen display control method according to an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a scenario of a lock screen display control method according to an example embodiment;
FIG. 3 is another schematic diagram illustrating a scenario of a lock screen display control method according to an example embodiment;
FIG. 4 is another flow diagram illustrating a method of lock screen display control in accordance with an exemplary embodiment;
FIG. 5 is yet another flow chart illustrating a method of lock screen display control in accordance with an exemplary embodiment;
FIG. 6 is yet another flow chart illustrating a method of lock screen display control in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a lock screen display control device in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating a mobile terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In order to improve the interchangeability of the screen locking wallpaper and enrich the screen locking effect, the embodiment of the disclosure provides a screen locking display control method. Fig. 1 is a flowchart illustrating a lock screen display control method according to an exemplary embodiment, which is applied to a mobile terminal, as shown in fig. 1, and includes the steps of:
step 11: when the screen is bright under the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window, wherein the preset screen locking wallpaper comprises: a page capable of interacting with a user.
Here, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, or a wearable device; wherein, wearable equipment can be smart watch or intelligent bracelet etc.. It is understood that the mobile terminal may be any electronic device having a touch panel capable of displaying lock screen wallpaper.
Here, the screen locking and screen blanking of the mobile terminal are bound together, that is, when the screen locking operation is performed on the mobile terminal, the display screen of the mobile terminal is turned off, that is, turned into a black screen. The execution of the screen locking operation comprises: and performing by touching a power key, clicking a screen locking key in a shortcut button area in a pull-down notification bar, or setting a fixed period to perform automatic screen locking (for example, performing screen locking once every 20 minutes), or performing screen locking operation based on a voice screen locking instruction.
In step 11, the screen being turned on in the screen locking state means that the mobile terminal is in the screen locking state, but the display screen of the mobile terminal is triggered to be turned from the black screen to the screen being turned on. The display screen is triggered to include: the trigger is triggered based on user operation, such as the user pressing a power key, or based on an automatic trigger performed at a fixed period (e.g., the display is lit 1 time every 10 seconds in a lock screen state), or based on the detection of the movement of the mobile terminal within a preset acceleration range.
Here, the preset screen locking wallpaper may be an application page of an application program provided by the embodiment of the present disclosure to achieve higher interactivity of the screen locking wallpaper, and the preset screen locking wallpaper may be used for displaying when the mobile terminal is in a screen-locked state and is in a bright screen state. The preset screen locking wallpaper can be used for displaying a more interactive screen locking wallpaper page after the screen of the mobile terminal is locked.
In some embodiments, the screen locking wallpaper process corresponding to the preset screen locking wallpaper application may be set in a system service, and is started when the screen is turned on in a screen locking state of the mobile terminal, and is closed after the mobile terminal is unlocked, and does not belong to an application program visible in the mobile terminal.
Specifically, when the screen is on under the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window, the method includes:
when the screen is bright in the screen locking state of the mobile terminal, drawing a transparent screen locking window by using a screen locking service, and starting a screen locking wallpaper process corresponding to the preset screen locking wallpaper so as to display the preset screen locking wallpaper under the screen locking window.
Here, the transparent lock screen window is drawn through the lock screen service to display the preset lock screen wallpaper, so that the user can see the preset lock screen wallpaper displayed under the transparent lock screen window. Here, the lock screen window may implement control of transparency of the lock screen window through setting of transparency of an image.
It should be noted that the screen locking service is a service for executing a screen locking operation, and belongs to one of system services, and the screen locking operation includes: drawing a lock screen window and drawing an unlock window. The screen locking window refers to a window which is triggered to be displayed after screen locking, and comprises information such as time, date, screen locking identification and/or screen locking wallpaper. The unlocking window is used for inputting an unlocking password and comprises a plurality of number keys and/or a plurality of symbol keys.
In this embodiment, the screen locking wallpaper process corresponding to the preset screen locking wallpaper application is set in the system service, and is drawn by the screen locking service when the screen is locked, so that the preset screen locking wallpaper is equivalent to the current screen locking wallpaper, that is, the preset screen locking wallpaper has interactivity and a screen locking background function.
Step 12: and detecting touch operation acting on a touch panel of the display screen of the mobile terminal.
Here, detecting a touch operation acting on a touch panel of the display screen of the mobile terminal includes determining the touch operation by detecting various operations of a UI (user Interface) on the touch panel.
The touch operation may include a sliding operation, a clicking operation, a long-time pressing operation, or the like; the sliding operation may include an operation of sliding left, an operation of sliding right, or an operation of sliding along a certain track; the clicking operation may further include a single clicking operation, a multi-clicking operation, and the like. In some embodiments, the touch operation may further include: single finger operation, or multi-finger operation. Here, all the touch operations are not limited at all, and any one of the touch operations is applied to the touch panel in the lock screen state.
Step 13: and controlling the preset screen locking wallpaper to dynamically change based on the touch operation.
It should be noted that the touch operation corresponds to the control instruction for controlling the preset wallpaper to dynamically change. For example, if the touch control operation is a single-finger right sliding, the correspondingly generated control instruction may be an instruction to control the preset wallpaper to turn right or a setting area of the wallpaper to move right; if the touch control operation is single-finger leftward sliding, the correspondingly generated control instruction may be to instruct to control the preset wallpaper to be turned leftward or to control the set area of the wallpaper to be moved leftward. For example, if the touch operation is a double-finger rightward sliding operation, the corresponding control instruction may indicate that the image color of the screen locking wallpaper is controlled to be lightened, or the original red color is programmed to be green, so as to enrich the screen locking wallpaper; if the touch operation is double-finger leftward sliding, the corresponding control instruction can be used for indicating to control the screen locking wallpaper to be leftward turned and the like.
Here, the dynamic change of the preset screen locking wallpaper may include: presetting the color change of the screen locking wallpaper, or presetting the form change of the screen locking wallpaper. Specifically, the color change of the preset screen locking wallpaper may include a change of RGB data and/or HSB data of image confidence in the preset screen locking wallpaper, for example, a change of green in an original image into red; the preset form change of the screen locking wallpaper may include: the preset screen locking wallpaper is turned over, or the position change of a target object in the screen locking wallpaper is preset. Of course, the dynamic change of the preset wallpaper is not limited to the change of color or form, and any change that can be generated by the whole preset wallpaper or all or part of the content presented in the preset lock screen wallpaper falls within the scope of the dynamic change of the preset wallpaper implemented by the present disclosure.
In some embodiments, the step 13 of controlling the preset screen locking wallpaper to dynamically change based on the touch operation includes:
and controlling the preset lock screen wallpaper setting area to move according to the direction or track indicated by the touch operation based on the touch operation.
Here, the set region may be a region that is set in advance, that can interact with a user, and that can be dynamically changed based on the user interaction. The set area may be a partial area or a whole area of the preset lock screen wallpaper.
Referring to fig. 2, as shown in fig. 2, the preset screen locking wallpaper 21 is displayed in the display screen 2 of the mobile terminal, and when the setting area is the whole area of the preset wallpaper, the preset screen locking wallpaper may be indicated to turn right when the direction indicated by the operation instruction is right. In the case that the setting area 211 is a partial area of the preset wallpaper, for example, in the case of an area within a dashed box in fig. 2, the setting area 211 within the preset lock screen wallpaper 21 may be indicated to be flipped right or moved right.
In this embodiment, the preset wallpaper setting area can be controlled to move according to the direction or track indicated by the operation instruction through the touch operation, and compared with the related art that the screen locking wallpaper can only be fixedly displayed on the display screen or the content in the screen locking wallpaper can only be fixedly displayed on the display screen, the interactivity of the screen locking wallpaper is improved, and therefore the screen locking display effect is enriched.
In other embodiments, referring to fig. 3, as shown in fig. 3, the setting area 211 may include an area 2111 where a target object in the lock screen wallpaper 21 is located, so that the setting area can be set based on the contour of the target object, which makes the interaction more precise and enhances the user experience. Specifically, step 13 may further include:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
Referring to fig. 3, in this embodiment, the target object may be a character image in the preset screen locking wallpaper 21, and the character image may dynamically change along with an instruction of an operation instruction, so that compared with the related object in which the content in the screen locking wallpaper is only fixedly displayed, the interactivity of the screen locking wallpaper is improved, and the screen locking display effect is enriched.
Of course, in other embodiments, the lock screen wallpaper includes two layers, where the layer of the target object can move along with the direction or track indicated by the touch operation.
Further, in some embodiments, the step 13 of controlling the preset screen locking wallpaper to dynamically change based on the touch operation includes:
obtaining dynamic change parameters of the preset wallpaper based on the touch operation;
and controlling the preset screen locking wallpaper to dynamically change based on the dynamic change parameters.
Here, the preset variable parameters of the screen locking wallpaper include: a color class change parameter, or a morphology class change parameter. Wherein the color class variation parameters include: parameters for representing changes in RGB data and/or HSB data of image information in the lock wallpaper, and the like. The form type change parameters comprise a turning parameter of the screen locking wallpaper, or a change parameter of a target object in the screen locking wallpaper, and the like, wherein the turning parameter may further comprise a turning direction parameter, and the change parameter of the target object in the screen locking wallpaper may comprise a coordinate position change of the target object in the screen locking wallpaper.
In the above embodiment, when the mobile terminal is in a screen-locked state and is in a bright screen state, the transparent screen-locked window is drawn, the preset screen-locked wallpaper is displayed under the screen-locked window, and the control instruction for indicating the dynamic change of the preset screen-locked wallpaper is generated based on the touch operation detected by the touch panel, so as to control the preset wallpaper to dynamically change. Here, the change of the preset lock screen wallpaper includes: presetting the change of the content of the screen locking wallpaper, or the change of the display effect, and the like. Therefore, a user can perform touch operation on the touch panel according to own preference in the screen locking state so as to change the display effect of the screen locking wallpaper by changing the content of the screen locking wallpaper in the screen locking state at any time, so that the interactivity of the screen locking wallpaper in the screen locking state is enhanced, the screen locking effect is enriched, and further the user experience is enhanced.
As another optional embodiment, the controlling the preset wallpaper to dynamically change based on the touch operation includes:
determining whether the touch operation is a preset touch operation or not based on the touch operation;
and if the touch operation is the preset touch operation, controlling the preset wallpaper to dynamically change based on the preset touch operation.
It should be noted that, in some embodiments, in order to be able to distinguish a touch operation for triggering the mobile terminal to enter the unlock window in the screen lock state, or to be able to distinguish a touch operation for triggering the mobile terminal to enter the shortcut application interface in the screen lock state, the preset touch operation may include: and the preset touch operation is used for carrying out user interaction with the preset screen locking wallpaper. It can be understood that the touch operation performed on the touch panel of the display screen of the mobile terminal may further include a touch operation for triggering the mobile terminal to enter the unlocking window in the screen locking state, or a touch operation for touching the mobile terminal to enter the shortcut application interface in the screen locking state, for example, a touch operation for entering the camera interface.
Here, the preset touch operation may be a preset touch operation for distinguishing whether the mobile terminal enters the unlock window in the screen lock state or the shortcut application interface in the screen lock state. For example, if the touch operation entering the unlock window is set to be a single-finger single-click operation, the touch operation set for user interaction with the preset lock screen wallpaper may be a single-click operation with two fingers, or a double-click operation with one finger. For another example, if the touch operation entering the shooting interface is a single-finger right-sliding operation, the touch operation set for user interaction with the preset lock screen wallpaper may be a double-finger sliding operation.
Certainly, in some embodiment modes, the mobile terminal does not need to distinguish between a touch operation for triggering the mobile terminal to enter the unlocking window in the screen locking state and a touch operation for controlling the dynamic change of the preset wallpaper; and the touch operation for triggering the mobile terminal to enter the shortcut application interface in the screen locking state and the touch operation for controlling the dynamic change of the preset wallpaper are not required to be distinguished. In this embodiment, when a certain touch operation can trigger both entering the unlocking window and the dynamic change of the preset wallpaper, the touch operation can trigger entering the unlocking window and triggering the dynamic change of the preset wallpaper, for example, when entering the unlocking window, the set area of the preset wallpaper can also move upwards based on the touch operation, so that the diversity of the screen locking effect is increased, the screen locking effect is enriched, and the user experience is improved.
In addition, in order to balance the energy consumption of the mobile terminal, the phenomenon of mistaken touch in the screen locking state is reduced.
In some embodiments, the determining, based on the touch operation, whether the touch operation is a preset touch operation may further include:
determining a touch area of the touch operation based on the touch operation;
if the touch area of the touch operation is a first preset area, determining that the touch operation is the preset touch operation; or the like, or, alternatively,
if the touch area of the touch operation is not the first preset area, determining that the touch operation is not the preset touch operation.
Here, the first preset area may be a central area of the touch panel. It can be understood that when the mobile terminal is not used, the edge area of the touch panel of the mobile terminal is often touched inadvertently when the mobile terminal is taken up or put down or in a pocket of clothes of a user, thereby causing a false touch phenomenon to the mobile terminal. In this embodiment, only in a first preset area, for example, a touch operation detected in a central area, a control instruction corresponding to the touch operation can be issued, so that the preset screen locking wallpaper is dynamically changed. Therefore, the phenomenon of mistaken touch generated when a user carelessly touches the touch panel of the mobile terminal can be reduced, and the energy consumption of the mobile terminal caused by the phenomenon of misoperation is reduced.
In other embodiments, the determining whether the touch operation is a preset touch operation based on the touch operation may further include:
detecting touch information generated on a touch panel based on the touch operation;
and if the touch information meets the touch condition, determining that the touch operation is the preset touch operation.
Here, the touch information includes: touch pressure and/or touch frequency.
In some embodiments, the touch condition includes: the touch pressure value is greater than a first preset pressure value, wherein it can be understood that the first preset pressure value is greater than a second preset pressure value, and here, the second preset pressure value is a pressure value at which the touch panel determines that the touch operation is detected after the screen is unlocked.
Based on this, in this embodiment, the touch pressure value is set to be greater than the first preset pressure value, that is, only when the application program is used to perform touch control with a force greater than that used in a normal use, the preset lock screen wallpaper can be controlled to perform dynamic change, touch control for interaction with the application program and touch control for interaction with the preset lock screen wallpaper can be better distinguished, and a confusion phenomenon caused by simultaneous operation on the preset lock screen wallpaper by touch control operation performed by calling applications such as a notification bar under the lock screen wallpaper is reduced.
In some embodiments, the touch condition may further include: the touch frequency is greater than the first frequency and less than a second frequency, wherein the second frequency is: and the average touch frequency after the mobile terminal is unlocked is the lowest touch frequency in the use process of the mobile terminal. It can be understood that the first frequency is set to reduce the false touch phenomenon when the mobile terminal is not used, and the second frequency is based on the average touch frequency counted by the mobile terminal during the use process. In this embodiment, in order to better distinguish between a touch control for interacting with an application program and a touch control for interacting with a preset screen locking wallpaper, by setting the touch control frequency between the first frequency and the second frequency, a confusion phenomenon caused by the fact that a touch control operation is simultaneously performed on the preset screen locking wallpaper due to the fact that an application such as a notification bar under the screen locking wallpaper needs to be called is reduced.
In other embodiments, the method further comprises:
activating a touch control capacitor on the touch control panel when the screen of the mobile terminal is on in a screen locking state;
the detecting a touch operation acting on a touch panel of a display screen of the mobile terminal includes:
detecting the touch operation based on the activated touch capacitance on the touch panel.
In the embodiment, in order to change the display effect of the screen locking wallpaper at any time according to the preference of the user in the screen locking state, the touch control capacitor of the touch control panel is activated in the screen locking state, so that the touch control operation of the user can be received in the screen locking state, and the screen locking wallpaper is interacted with the preset screen locking wallpaper based on the touch control operation, so that the display effect of the screen locking wallpaper is changed, the screen locking wallpaper is no longer displayed in a fixed mode, the interactivity and the interestingness of the screen locking wallpaper are enhanced, and the user experience is improved.
Further, in order to save energy consumption of the mobile terminal and reduce a phenomenon of misoperation of the mobile terminal when wallpaper interaction is not required, in other embodiments, the touch capacitor in the second preset area of the touch panel is activated when the mobile terminal is lighted in a screen locking state.
Here, the second preset area may also be a fixed area configured in advance, for example, a central area of the touch panel.
In other embodiments, the second preset area may also be an area dynamically configured based on display content of preset wallpaper, and specifically, the second preset area is determined according to an area where a target operation object of the preset wallpaper is located. It will be appreciated that the preset lock screen wallpaper for different display content, the location or object for interaction may be different. For example, the second preset area of the preset lock screen wallpaper a may be an area within the outline of the character object, so that the character object may be controlled to move based on the touch operation; for another example, the second preset area of preset lock screen wallpaper B may be an area within the outline where the building object is located. In summary, different wallpaper presets may configure different second preset zones.
In this embodiment, the wallpaper dynamic change based on the touch operation is realized by activating only the touch capacitor in the coordinate position to be interacted, so that not only can the phenomenon of mistaken touch caused by detection of the touch operation by the touch capacitor in the coordinate position which does not need to be interacted on the touch panel be reduced, but also the energy consumption of the mobile terminal can be saved due to the fact that the touch capacitor in the coordinate position which does not need to be interacted is closed.
In some embodiments, the above steps 12 and 13 may be performed by a system layer, that is, the system layer detects a touch operation on the touch panel and then controls the wallpaper to dynamically change based on the touch operation.
Further, the method further comprises:
and creating a movable component example of the screen locking wallpaper process corresponding to the preset screen locking wallpaper, and monitoring a control instruction corresponding to the touch operation by using the movable component example.
After the preset screen locking wallpaper is started, an active component instance of the screen locking wallpaper process is created, and the active component instance is used for monitoring the operation instruction. Here, the active component instance of the lock screen wallpaper process is located below the lock screen window drawn by the lock screen wallpaper service after being created, and when the transparency of the lock screen window is set to be transparent, the wallpaper presented by the active component implementation can be presented to the outside user through the transparent window.
The activity component instance includes a user interface for interacting with a user. Here, the active component instance is in an active state when the preset lock screen wallpaper is displayed, that is, the active component instance can continuously monitor the operation instruction of the system layer without being influenced by other newly opened application programs, for example, the life cycle of the active component instance is ended, so that no process of the operating system layer monitors the control instruction.
Therefore, in the process of controlling the preset screen locking wallpaper to dynamically change based on the touch operation, the system framework does not need to be modified to monitor the touch panel by the application program corresponding to the preset screen locking wallpaper, but the system layer can still monitor the touch panel and monitor the control instruction generated by the touch operation by the movable component example of the screen locking wallpaper process corresponding to the preset screen locking wallpaper, and the program change is simple and feasible. And because program change related to a system layer is not needed, the universality of the mobile terminal is improved.
In another embodiment, referring to fig. 4, as shown in fig. 4, the method further includes:
step 41: before the mobile terminal enters a screen locking state, configuring application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process, wherein the application parameters comprise application identifiers;
the step 11 may include:
step 111: and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
Specifically, configuring the application parameter of the screen locking wallpaper process corresponding to the preset screen locking wallpaper as the calling parameter of the screen locking wallpaper process includes: and configuring the application parameters of the screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of a view intermediary callback device of the screen locking service.
Here, a View intermediate callback (Keyguard View Mediator) of the lock screen service is a class that performs an intermediate function, processes a state change of the lock screen service with an intermediate identity, performs requests such as power management, window management notification, and the like, and makes a callback as a callback object for other classes of the lock screen service. For example, the view broker callback device may start to perform the drawing of the lock screen after the lock screen service issues the lock screen task, that is, draw the lock screen window including the lock screen wallpaper.
The application parameters of the screen locking wallpaper process comprise: package name, application identification and/or storage path, through which the lock screen wallpaper process can be found.
The call parameters of the view broker callback device refer to: parameters required when executing a call to an application include: the called application package name, the application identification, and/or the storage address. For example, in the embodiment of the present disclosure, when a call to the screen locking wallpaper process is to be executed, an application parameter of the screen locking wallpaper process needs to be acquired. Then, configuring the application parameter of the screen locking wallpaper process as a calling parameter of a view intermediary callback device of the screen locking service is to prepare for subsequently starting the screen locking wallpaper process, so that when the mobile terminal is detected to be on screen in a screen locking state, the screen locking wallpaper process can be started directly through the calling parameter. The application identifier of each application program is used for representing the application program, and the application identifier of each application program is unique, so that the application program to be searched can be accurately determined through the application identifier, and the screen locking wallpaper process corresponding to the preset screen locking wallpaper can be accurately called, so that the preset screen locking wallpaper is displayed.
In this embodiment, in order to enable the mobile terminal to normally start the screen locking wallpaper process when the screen is highlighted in the screen locking state, the application parameters of the started screen locking wallpaper process need to be configured as the call parameters of the view intermediary callback device of the screen locking service before the start. Therefore, when the mobile terminal is detected to be on screen in the screen locking state, the screen locking wallpaper process can be accurately found by calling the application identifier contained in the parameter, so that the screen locking wallpaper process is called and started, and the preset screen locking wallpaper is displayed under the screen locking window.
In other embodiments, the step 111, that is, invoking and starting the screen locking wallpaper process according to the application identifier included in the invocation parameter, may further include:
and calling and starting the screen locking wallpaper process through an intention component according to the application identifier of the screen locking wallpaper process contained in the calling parameter.
Wherein, the intention component (Intent) is used for assisting the interaction and communication between the application programs. Here, when interaction is required, the view intermediary callback translator passes call information to the intent component, through which the lock screen wallpaper process is initiated.
In this manner, the view intermediary callback engine may enable launching of the lock screen wallpaper process by communicating the application identification of the lock screen wallpaper process to the intent component.
In other embodiments, referring to fig. 6, as shown in fig. 6, the step 111 of invoking and booting the screen locking wallpaper process according to the application identifier included in the invocation parameter includes:
step 1111: determining the path information of the class where the movable component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and creating a movable component instance of the screen locking wallpaper process according to the read class;
step 1112: when the movable component instance is determined to be positioned in a stack according to the starting mode of the type of the movable component, the movable component instance of the screen locking wallpaper process is positioned at the top of the stack;
step 1113: and running the screen locking wallpaper process corresponding to the stack top of the stack.
Here, the path information of the class where the active component is located is used to search and read the class corresponding to the active component, and after the corresponding class is found, the active component instance can be created according to the read class. The created activity component instance inherits some or all of the class properties of the class in which the activity component resides.
In this embodiment, the active components all have a corresponding activation mode before being activated. Xml, the startup mode can be set in the configuration file android main, by the < activity > tag android: launchMode attribute. And whether the active component instance is located in the stack can be realized by reading the starting mode of the class corresponding to the active component.
When it is determined that the active component instance is located in the stack by reading the start mode, in order to enable the active component instance to be excited in the screen locking state, that is, to be started, or in order to enable the active component instance to monitor the operation instruction, the embodiment places the active component instance of the screen locking wallpaper process on the top of the stack, so that the active component instance of the screen locking wallpaper process is not affected by active components of other application programs, and interruption of monitoring of the operation instruction of the mobile terminal is avoided.
For the push operation of an Activity component, the participation and assistance of an Activity Manager Service (AMS) is required when a new Activity component is started. Here, the AMS, as a system service, may set stack information according to a start mode of an active component.
It should be noted that, in order to enable multiple active components to work cooperatively without causing confusion, a stack mechanism is provided for managing the active components. Since the last-in-first-out principle is followed in the stack, the active component always displayed on the top of the stack on the operating system can be opened first. Thus, the active component at the top of the stack is the one that was last opened into the stack. When the screen locking function is executed, the application program running on the mobile terminal stops running, and then the active component of the application program running last on the mobile terminal is pushed into the stack and is positioned below the active component instance of the screen locking process. Therefore, after the lock screen is finished, the active component of the last running application program is positioned at the top of the stack.
In order to achieve a richer screen locking display effect, the movable component instance of the screen locking wallpaper process is placed at the top of the stack after screen locking, at the moment, the mobile terminal is in a screen locking state, no new movable component instance is generated at the mobile terminal, the movable component instance of the screen locking wallpaper process is located at the top of the stack, and the movable component instance of the screen locking wallpaper process can be always located at the top of the stack when the mobile terminal is in the screen locking state.
Therefore, in the embodiment of the disclosure, since the active component instance of the screen locking wallpaper process is arranged at the top of the stack, it can be ensured that the active component instance of the screen locking wallpaper process monitors the operation instruction, and the preset screen locking wallpaper dynamic change is controlled based on the operation instruction, so that the confusion phenomenon that other application programs monitor the operation instruction and respond to the operation instruction is reduced.
In other embodiments, in order to enable the location of the active component instance of the lock screen wallpaper at the top of the stack to be continuously maintained in the lock screen state, the placing the active component instance of the lock screen wallpaper process at the top of the stack includes: setting the attribute of the activity component instance as a set-top attribute.
Specifically, in order to reduce the influence of active components of other application programs, in this embodiment, the attribute of the active component instance of the screen locking wallpaper process is directly set as a set-top attribute always on top, so that the active component instance of the screen locking wallpaper process can be always on the top of the stack in the process of screen lightening of the mobile terminal in the screen locking state, and the operation instruction can be continuously monitored.
In addition, because the stack is also provided with an instance of the active component of the foreground running application program before screen locking, after the wallpaper change is completed once through the instance of the active component of the screen locking wallpaper process, a completely same instance is newly created and the attribute is set to be that the always on top is positioned at the top of the stack, and compared with the situation that the attribute is set to be the single on top, the instance of the active component of the foreground running application program before screen locking can be maintained in the stack, and the return to the application interface of the foreground running application program before screen locking is convenient to realize after the unlocking is recovered.
Further, in other embodiments, the method further comprises:
when the mobile terminal enters a screen locking state and turns off a screen, placing a movable component example of an application program running before turning off the screen on the stack top of the stack;
the placing of the active component instance of the lock screen wallpaper process on the stack top of the stack comprises:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the method further comprises the following steps:
and after the screen locking state is released, closing the screen locking wallpaper process, moving the movable component instance corresponding to the screen locking wallpaper process out of the stack, and restoring the movable component instance of the application program running before the screen is turned off to the top of the stack.
Here, AMS involvement and assistance is required when a new active component is started. In order to allow multiple active components to work in concert without creating confusion, a stack mechanism may be provided for managing the active components. Then, when the mobile terminal enters the screen locking state and turns off the screen, the active component instance of the application program running before the screen locking is placed in the stack, and since the mobile terminal is running last at this time, the active component instance of the application program is automatically placed at the top of the stack at this time.
Further, on the basis of the push operation, the step of placing the active component instance of the lock screen wallpaper process on the stack top of the stack includes: and moving the active component instance of the running application program to the tail part of the stack before the screen is turned off, and pressing the active component instance of the screen locking wallpaper process to the top of the stack.
Here, in order to enable the active component instance of the screen locking wallpaper process to continuously monitor the control instruction corresponding to the touch operation detected in the mobile terminal, the active component instance needs to be placed at the top of the stack after being stacked, and at this time, the above-mentioned stacking operation of placing the active component instance of the screen locking wallpaper process at the top of the stack means that the active component instance of the application program running before the screen is turned off is moved to the tail of the stack, and the active component instance of the screen locking wallpaper process is pushed to the top of the stack.
Therefore, the movable component instance of the application program running before the screen is turned off can be always positioned at the top of the stack in the screen locking state of the mobile terminal in a mode of moving the movable component instance of the application program to the tail of the stack, and subsequent monitoring of the control instruction corresponding to the touch operation is facilitated.
Further, after the screen locking state is released, closing the screen locking wallpaper process, moving the movable component instance of the screen locking wallpaper process out of the stack, and restoring the movable component instance of the application program running before the screen is turned off to the top of the stack.
Here, since the embodiment of the present disclosure is to improve the interchangeability of the screen locking wallpaper and enrich the screen locking display effect, that is, the screen locking wallpaper is displayed when the mobile terminal is in the screen locking state, the preset screen locking wallpaper is displayed only when the mobile terminal is in the screen locking state, and then after the screen locking state of the mobile terminal is released, the screen locking wallpaper process can be closed since the preset screen locking wallpaper is not required to be displayed, so as to reduce the power consumption of the system. Correspondingly, after the screen locking state is released, the operation instruction aiming at the preset screen locking wallpaper dynamic change does not need to be monitored, but the operation instruction generated by the touch operation on the touch panel is monitored by the active component instance of the running application program, so that the cooperative work among the active components can be recovered to be normal by moving the active component instance of the screen locking wallpaper process out of the stack.
Here, after the active component instance of the screen locking wallpaper process is moved out of the stack, the active component instance of the application program which is operated last before the screen is turned off is located at the top of the stack, and the operation of various application programs on the mobile terminal can be normally recovered.
In another embodiment, referring to fig. 5, as shown in fig. 5, the step 11, when the screen is highlighted in the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window includes:
step 113: when a display screen of the mobile terminal is lightened in a screen locking state, acquiring a screen locking message in a system process;
step 114: determining whether the screen locking message contains configuration parameters for the screen locking wallpaper, wherein the configuration parameters are used for indicating the starting requirement of configuring preset screen locking wallpaper;
step 115: and if the screen locking information contains the configuration parameters, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window.
Here, a System process (System Service) is used to control the entire unlocking flow. That is, when it is detected that the mobile terminal is lit up in the screen locking state, for such a situation, the system process sends a screen locking message to the screen locking system process, and at this time, the view intermediary callback device in the screen locking service, which is responsible for the distribution of the screen locking message, receives the screen locking message, and starts to draw a screen locking window based on the screen locking message. Here, the video intermediary callback device performs transparent rendering of the lock screen window according to the received lock screen message.
It should be noted that the screen locking System process may be customized based on the operating System, for example, in this embodiment, the screen locking System process may be a screen locking System customized based on a System interface (System UI), and is responsible for running the screen locking or notification bar and other parts.
Further, if the starting requirement of the preset screen locking wallpaper is configured in advance, namely the preset screen locking wallpaper needs to be started during screen locking to enhance the interactivity of the screen locking wallpaper, and the display effect of the screen locking wallpaper is improved, the view intermediary callback device of the screen locking service can start and call the screen locking wallpaper process according to the configuration information and the calling parameters of the screen locking wallpaper process.
It is to be added that the configuration parameters may be set when the mobile terminal leaves a factory, or may be set based on an input operation of a user for a requirement of presetting the lock screen wallpaper. In a word, only when the screen locking message of the mobile terminal contains the configuration parameters for the preset wallpaper, the transparent screen locking window is drawn, and the preset screen locking wallpaper capable of interacting with the user is displayed under the screen locking window. The energy consumption caused by displaying the preset screen locking wallpaper capable of being used for user interaction when the preset screen locking wallpaper of user interaction does not need to be displayed is reduced.
Further, in order to improve the interchangeability of the screen locking wallpaper and enrich the screen locking effect, the embodiment of the disclosure further provides a screen locking display control device. Fig. 7 is a view illustrating a lock screen display control apparatus according to an exemplary embodiment, and referring to fig. 7, the apparatus includes: a screen locking processing module 71, a detection module 72, a generation module 73 and a control module 74;
the screen locking processing module 71 is configured to draw a transparent screen locking window when the screen is turned on in the screen locking state of the mobile terminal, and display a preset screen locking wallpaper under the screen locking window, where the preset screen locking wallpaper includes: a page capable of interacting with a user;
the detection module 72 is configured to detect a touch operation acting on a touch panel of the display screen of the mobile terminal;
the generating module 73 is configured to control the preset screen locking wallpaper to dynamically change based on the touch operation.
In an optional embodiment, the apparatus further comprises:
the configuration module is configured to configure application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process before the mobile terminal enters a screen locking state, wherein the application parameters comprise application identifiers;
the screen locking processing module 71 is further configured to:
and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
In an alternative embodiment, the lock screen processing module 71 includes:
the first determining submodule is configured to determine path information of a class where an active component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and create an active component instance of the screen locking wallpaper process according to the read class;
the setting submodule is configured to place the active component instance of the screen locking wallpaper process at the top of the stack when the active component instance is determined to be located in the stack according to the starting mode of the class where the active component is located;
and the operation submodule is configured to operate the lock screen wallpaper process corresponding to the stack top of the stack.
In an optional embodiment, the apparatus further comprises:
the mobile terminal comprises a setting module, a display module and a display module, wherein the setting module is configured to place an active component example of an application program running before screen-off at the top of a stack when the mobile terminal enters a screen-locking state and turns off the screen;
the settings sub-module further configured to:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the device further comprises:
and the closing module is configured to close the lock screen wallpaper process after the lock screen state is released, move the movable component instance corresponding to the lock screen wallpaper process out of the stack, and restore the movable component instance of the application program running before the screen is turned off to the top of the stack.
In an alternative embodiment, the lock screen processing module 71 includes:
the acquisition submodule is configured to acquire a screen locking message in a system process when a display screen of the mobile terminal is lightened in a screen locking state;
a second determining sub-module configured to determine whether a configuration parameter for the preset screen locking wallpaper is included in the screen locking message, wherein the configuration parameter is used for indicating a starting requirement for configuring the preset screen locking wallpaper;
and the screen locking processing submodule is configured to draw a transparent screen locking window and display preset screen locking wallpaper under the screen locking window if the screen locking information contains the configuration parameters.
In an alternative embodiment, the control module 74 is further configured to:
and based on the operation instruction, controlling a preset area of the preset screen locking wallpaper to move according to the direction or track indicated by the operation instruction.
In an alternative embodiment, the control module 74 is further configured to:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or the track indicated by the operation instruction based on the operation instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a mobile terminal 800 according to an example embodiment. For example, the mobile terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 8, a mobile terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the mobile terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the mobile terminal 800. Examples of such data include instructions for any application or method operating on mobile terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of mobile terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 800.
The multimedia component 808 includes a screen providing an output interface between the mobile terminal 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the mobile terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 800. For example, sensor assembly 814 may detect an open/closed state of mobile terminal 800, the relative positioning of components, such as a display and keypad of mobile terminal 800, sensor assembly 814 may detect a change in position of mobile terminal 800 or a component of terminal 800, the presence or absence of user contact with mobile terminal 800, orientation or acceleration/deceleration of mobile terminal 800, and a change in temperature of mobile terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the mobile terminal 800 and other devices in a wired or wireless manner. The mobile terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the mobile terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the page display method according to the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (16)

1. A screen locking display control method is applied to a mobile terminal and comprises the following steps:
when the screen is bright under the screen locking state of the mobile terminal, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window, wherein the preset screen locking wallpaper comprises: a page capable of interacting with a user;
detecting touch operation acting on a touch panel of a display screen of the mobile terminal;
and controlling the preset screen locking wallpaper to dynamically change based on the touch operation.
2. The method of claim 1, further comprising:
before the mobile terminal enters a screen locking state, configuring application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process, wherein the application parameters comprise application identifiers;
the displaying of the preset lock screen wallpaper under the lock screen window comprises the following steps:
and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
3. The method according to claim 2, wherein the calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter comprises:
determining the path information of the class where the movable component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and creating a movable component instance of the screen locking wallpaper process according to the read class;
when the movable component instance is determined to be positioned in a stack according to the starting mode of the type of the movable component, the movable component instance of the screen locking wallpaper process is positioned at the top of the stack;
and running the screen locking wallpaper process corresponding to the stack top of the stack.
4. The method of claim 3, further comprising:
when the mobile terminal enters a screen locking state and turns off a screen, placing a movable component example of an application program running before turning off the screen on the stack top of the stack;
the placing of the active component instance of the lock screen wallpaper process on the stack top of the stack comprises:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the method further comprises the following steps:
and after the screen locking state is released, closing the screen locking wallpaper process, moving the movable component instance corresponding to the screen locking wallpaper process out of the stack, and restoring the movable component instance of the application program running before the screen is turned off to the top of the stack.
5. The method according to claim 1, wherein when the screen is highlighted in the screen locking state of the mobile terminal, drawing a transparent screen locking window and displaying a preset screen locking wallpaper under the screen locking window comprises:
when a display screen of the mobile terminal is lightened in a screen locking state, acquiring a screen locking message in a system process;
determining whether the screen locking message contains configuration parameters for the preset screen locking wallpaper, wherein the configuration parameters are used for indicating the starting requirement for configuring the preset screen locking wallpaper;
and if the screen locking information contains the configuration parameters, drawing a transparent screen locking window, and displaying preset screen locking wallpaper under the screen locking window.
6. The method according to claim 1, wherein the controlling the preset screen locking wallpaper to dynamically change based on the touch operation comprises:
and controlling a set area of the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
7. The method according to claim 1, wherein the controlling the preset screen locking wallpaper to dynamically change based on the touch operation comprises:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
8. A lock screen display control device is applied to a mobile terminal, and comprises:
the screen locking processing module is configured to draw a transparent screen locking window and display preset screen locking wallpaper under the screen locking window when the screen is highlighted under the screen locking state of the mobile terminal, wherein the preset screen locking wallpaper comprises: a page capable of interacting with a user;
the detection module is configured to detect touch operation acting on a touch panel of the display screen of the mobile terminal;
the control module is configured to control the preset screen locking wallpaper to dynamically change based on the touch operation.
9. The method of claim 8, wherein the apparatus further comprises:
the configuration module is configured to configure application parameters of a screen locking wallpaper process corresponding to the preset screen locking wallpaper as calling parameters of the screen locking wallpaper process before the mobile terminal enters a screen locking state, wherein the application parameters comprise application identifiers;
the screen locking processing module is further configured to:
and calling and starting the screen locking wallpaper process according to the application identifier contained in the calling parameter so as to display the preset screen locking wallpaper under the screen locking window.
10. The apparatus of claim 9, wherein the lock screen processing module comprises:
the first determining submodule is configured to determine path information of a class where an active component of the screen locking wallpaper process is located according to the application identifier contained in the calling parameter, and create an active component instance of the screen locking wallpaper process according to the read class;
the setting submodule is configured to place the active component instance of the screen locking wallpaper process at the top of the stack when the active component instance is determined to be located in the stack according to the starting mode of the class where the active component is located;
and the operation submodule is configured to operate the lock screen wallpaper process corresponding to the stack top of the stack.
11. The apparatus of claim 9 or 10, further comprising:
the mobile terminal comprises a setting module, a display module and a display module, wherein the setting module is configured to place an active component example of an application program running before screen-off at the top of a stack when the mobile terminal enters a screen-locking state and turns off the screen;
the settings sub-module further configured to:
moving an active component instance of an application program running before the screen is turned off to the tail of the stack, and pressing the active component instance of the screen locking wallpaper process to the top of the stack;
the device further comprises:
and the closing module is configured to close the lock screen wallpaper process after the lock screen state is released, move the movable component instance corresponding to the lock screen wallpaper process out of the stack, and restore the movable component instance of the application program running before the screen is turned off to the top of the stack.
12. The apparatus of claim 8, wherein the lock screen processing module comprises:
the acquisition submodule is configured to acquire a screen locking message in a system process when a display screen of the mobile terminal is lightened in a screen locking state;
a second determining sub-module configured to determine whether a configuration parameter for the preset screen locking wallpaper is included in the screen locking message, wherein the configuration parameter is used for indicating a starting requirement for configuring the preset screen locking wallpaper;
and the screen locking processing submodule is configured to draw a transparent screen locking window and display preset screen locking wallpaper under the screen locking window if the screen locking information contains the configuration parameters.
13. The apparatus of claim 8, wherein the control module is further configured to:
and controlling a set area of the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
14. The apparatus of claim 8, wherein the control module is further configured to:
and controlling the target object in the preset screen locking wallpaper to move according to the direction or track indicated by the touch operation based on the touch operation.
15. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method steps of implementing any of claims 1 to 7.
16. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the instructions in the storage medium, when executed by a processor of a terminal, enable the mobile terminal to perform the method steps of implementing any of claims 1 to 7.
CN202110157124.0A 2021-02-04 2021-02-04 Lock screen display control method and device, mobile terminal and storage medium Pending CN112882779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110157124.0A CN112882779A (en) 2021-02-04 2021-02-04 Lock screen display control method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110157124.0A CN112882779A (en) 2021-02-04 2021-02-04 Lock screen display control method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112882779A true CN112882779A (en) 2021-06-01

Family

ID=76057303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110157124.0A Pending CN112882779A (en) 2021-02-04 2021-02-04 Lock screen display control method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112882779A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986377A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Wallpaper interaction method and device and electronic equipment
CN114780012A (en) * 2022-06-21 2022-07-22 荣耀终端有限公司 Display method and related device for screen locking wallpaper of electronic equipment
CN114942810A (en) * 2022-05-30 2022-08-26 深圳传音控股股份有限公司 State switching method, intelligent terminal and storage medium
WO2023207844A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Dynamic wallpaper display method and apparatus, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915182A (en) * 2012-09-03 2013-02-06 广州市久邦数码科技有限公司 Three-dimensional screen locking method and apparatus
CN107172282A (en) * 2017-05-17 2017-09-15 努比亚技术有限公司 Screen locking wallpaper displaying method, mobile terminal and computer-readable recording medium
CN111343329A (en) * 2020-05-22 2020-06-26 北京小米移动软件有限公司 Lock screen display control method, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915182A (en) * 2012-09-03 2013-02-06 广州市久邦数码科技有限公司 Three-dimensional screen locking method and apparatus
CN107172282A (en) * 2017-05-17 2017-09-15 努比亚技术有限公司 Screen locking wallpaper displaying method, mobile terminal and computer-readable recording medium
CN111343329A (en) * 2020-05-22 2020-06-26 北京小米移动软件有限公司 Lock screen display control method, device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986377A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Wallpaper interaction method and device and electronic equipment
WO2023207844A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Dynamic wallpaper display method and apparatus, and electronic device
CN114942810A (en) * 2022-05-30 2022-08-26 深圳传音控股股份有限公司 State switching method, intelligent terminal and storage medium
CN114780012A (en) * 2022-06-21 2022-07-22 荣耀终端有限公司 Display method and related device for screen locking wallpaper of electronic equipment

Similar Documents

Publication Publication Date Title
CN107919123B (en) Multi-voice assistant control method, device and computer readable storage medium
EP3331226B1 (en) Method and device for reading messages
CN112882779A (en) Lock screen display control method and device, mobile terminal and storage medium
EP3151117B1 (en) Method and device for delaying information broadcasting
CN105893136B (en) Multitask management method and device
CN110231901B (en) Application interface display method and device
CN106528081B (en) Operation execution method and device
CN111381739B (en) Application icon display method and device, electronic equipment and storage medium
CN111580904A (en) Display state switching method, display state switching device and storage medium
CN107229411B (en) Method and device for controlling split screen state
CN109976861B (en) Interactive interface display method and device and storage medium
CN111381737B (en) Dock display method and device and storage medium
EP3236355B1 (en) Method and apparatus for managing task of instant messaging application
CN111381738B (en) Interface display method and device, electronic equipment and storage medium
CN111552426B (en) Intelligent equipment operation method and device and storage medium
CN108803892B (en) Method and device for calling third party application program in input method
CN107132983B (en) Split-screen window operation method and device
KR102258742B1 (en) Touch signal processing method, apparatus and medium
CN111427449A (en) Interface display method, device and storage medium
CN108766427B (en) Voice control method and device
CN113010056A (en) Desktop display control method, device, terminal and storage medium
CN107728909B (en) Information processing method and device
CN106773753B (en) Equipment control method and device
CN106126246B (en) Item display method and device
CN112486603A (en) Interface adaptation method and device for adapting interface

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