CN114780012A - Display method and related device for screen locking wallpaper of electronic equipment - Google Patents

Display method and related device for screen locking wallpaper of electronic equipment Download PDF

Info

Publication number
CN114780012A
CN114780012A CN202210702031.6A CN202210702031A CN114780012A CN 114780012 A CN114780012 A CN 114780012A CN 202210702031 A CN202210702031 A CN 202210702031A CN 114780012 A CN114780012 A CN 114780012A
Authority
CN
China
Prior art keywords
screen
sliding
wallpaper
electronic device
amplitude
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.)
Granted
Application number
CN202210702031.6A
Other languages
Chinese (zh)
Other versions
CN114780012B (en
Inventor
牛国富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210702031.6A priority Critical patent/CN114780012B/en
Publication of CN114780012A publication Critical patent/CN114780012A/en
Application granted granted Critical
Publication of CN114780012B publication Critical patent/CN114780012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

According to the method and the related device for displaying the screen locking wallpaper of the electronic equipment, the electronic equipment can control the display effect of the dynamic image elements in the wallpaper and the display process of the dynamic image elements by detecting the gesture of the user sliding the screen according to the sliding operation of the user on the screen of the electronic equipment in the switching process of the screen locking wallpaper of the user, so that the animation effect presented in the wallpaper switching process is controlled, and the animation presented in the switching process is closely related to the gesture of the user. The display method of the lock screen wallpaper provided by the application can enable the display effect of the switching animation to be better, smooth and natural, the display of the dynamic interface elements is influenced by gestures and actions of a user, the user can have stronger interactive perception, the user experience is improved, and the user viscosity of the product is enhanced.

Description

Display method and related device for screen locking wallpaper of electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and a related apparatus for displaying a lock screen wallpaper of an electronic device.
Background
When a user uses a terminal device, the user usually sets screen locking wallpaper for the terminal device. The user can watch wallpaper pictures of the lock screen interface after lighting the screen, and the pictures can be magazine pictures, landscape pictures, figure pictures and the like.
When the terminal device is in a bright screen and locked screen state, the terminal device generally improves user experience by displaying the locked screen wallpaper.
When the terminal equipment displays the current screen locking wallpaper, if a screen locking wallpaper switching instruction input by a user is received, the terminal equipment can be switched to other screen locking wallpapers, so that the interactivity of the terminal equipment and the user in a screen locking state is improved. For example, when the user performs a left-sliding operation or a right-sliding operation on the screen and the sliding operation is insufficient to unlock the terminal device, the terminal device may switch to the previous screen locking wallpaper or switch to the next screen locking wallpaper.
Disclosure of Invention
According to the method and the related device for displaying the screen locking wallpaper of the electronic equipment, the switching process of the screen locking wallpaper can be displayed dynamically in an animation mode along with the operation of a user, and the interaction between the user and the equipment is enhanced.
In a first aspect, the present application provides a method for displaying a lock screen wallpaper of an electronic device, including: when the electronic equipment is in a screen locking state, displaying first screen locking wallpaper through a display screen of the electronic equipment; when a user performs a first sliding operation on a touch screen of the electronic device, adjusting a value of a target display parameter of a first image element in the first screen locking wallpaper according to a first sliding amplitude of the first sliding operation, wherein the first sliding amplitude is smaller than a second sliding amplitude, the second sliding amplitude is a minimum sliding amplitude required by switching the screen locking wallpaper of the electronic device, and the target display parameter includes at least one of the following display parameters: size, rotation angle, transparency, ambiguity, or position.
Optionally, the size in the aforementioned display parameters may comprise a length and/or a width of the first image element; the rotation angle in the foregoing display parameters may be an angle of rotation based on various reference objects, for example, a rotation angle in a direction perpendicular to the display screen and toward the user, and as another example, an angle of rotation in a sliding direction of a sliding operation; the embodiments of the present application do not limit this.
Optionally, the aforementioned image element may be a component in the lock-screen wallpaper, and may also be the lock-screen wallpaper.
According to the method, before the screen locking wallpaper is switched, the sliding operation of the user is detected, the dynamic image elements are changed in response to the sliding operation, the display of the dynamic image elements is influenced by the action gesture of the user, and the user is given stronger interactive perception.
With reference to the first aspect, in some implementations of the first aspect, a screen-up operation input by a user is received when the electronic device is in a screen-locked state; and lightening the display screen in response to the screen lightening operation, and displaying the first screen locking wallpaper through the display screen.
Optionally, the screen-lighting operation may be an operation of lighting up the display screen by the electronic device in response to an operation by a user; as an example, the screen-lighting operation may be a contact operation, for example, a user touches a screen of the electronic device, and a sensor of the electronic device detects the contact signal, and then lights the screen, or, for example, a user touches a key of the electronic device, and the electronic device lights the screen based on the key signal; as yet another example, the bright screen operation may be a non-contact operation, such as a user approaching the electronic device, a sensor of the electronic device detecting the user's approach, and then illuminating the screen, or, for example, a user using a gesture to the electronic device while clear, a sensor of the electronic device detecting the user's gesture operation, and then illuminating the screen.
According to the method, the screen locking wallpaper can be displayed only when the user inputs the screen brightening operation, and the energy utilization efficiency of the equipment can be effectively improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, in response to a screen-up operation, drawing a first screen-locking wallpaper; and after the first lock screen wallpaper is drawn, lightening the display screen, and displaying the first lock screen wallpaper through the display screen.
Optionally, the drawing operation may be that a processor of the electronic device reads pixel information of an image from a memory, determines display information of the screen locking wallpaper at a pixel point of the screen according to the pixel information of the image, and may cache the display information in a display cache.
According to the method, the screen locking wallpaper is drawn before the screen is lightened, the problem that the wallpaper drawing response speed is low due to the fact that real-time computing resources of the mobile phone are occupied by other applications can be avoided, the smoothness of screen locking wallpaper switching is improved, and the use experience of a user is further improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, in response to a screen-up operation, drawing a second screen-locking wallpaper; when the user performs a second sliding operation on the touch screen of the electronic device, drawing a third screen locking wallpaper, and switching the screen locking wallpaper displayed on the display screen from the first screen locking wallpaper to a second screen locking wallpaper, wherein the sliding amplitude of the second sliding operation is greater than or equal to the second sliding amplitude.
According to the method, the screen locking wallpaper to be switched is drawn in advance before the screen locking wallpaper is switched, the problem that the wallpaper drawing response speed is low due to the fact that real-time computing resources of a mobile phone are occupied by other applications can be avoided, the fluency of screen locking wallpaper switching is improved, and the use experience of a user is further improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, when a user performs a third sliding operation on a touch screen of the electronic device, a target display parameter of a second image element in the second screen locking wallpaper is adjusted according to a sliding amplitude of the third sliding operation, where the sliding amplitude of the third sliding operation is smaller than the second sliding amplitude.
According to the method, the sliding operation of the user is detected, the dynamic image elements are changed in response to the sliding operation, the display of the dynamic image elements is influenced by the action gesture of the user, and the user is given stronger interactive perception.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, screen locking wallpaper information is obtained, where the screen locking wallpaper information includes first information, second information, and third information, the first information is used to indicate a first image, the second information is used to indicate a first image element, the third information is used to indicate M values of a target display parameter of the first image element, and M is a positive integer greater than 1; and adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper based on the screen locking wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude.
Optionally, the value of the target display parameter may also be adjusted based on the information of the screen-locking wallpaper, the first sliding magnitude, and a preset relationship between the sliding magnitude and the position, for example, the target display parameter is determined based on a corresponding relationship between the sliding magnitude and the third information, then the second image is generated based on the second information and the target display parameter, and the first screen-locking wallpaper is generated based on the first image and the second image.
According to the method, when the plurality of sliding ranges exist, the plurality of sliding ranges correspond to different display parameters, namely correspond to different display images, the fluency of image element display is enhanced, and meanwhile, the display of the dynamic image elements is enabled to follow the action gestures of the user.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, M values correspond to M sliding amplitudes one to one; if the first sliding amplitude is one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper to a first value corresponding to the first sliding amplitude in the M values; if the first sliding amplitude is not one of the M sliding amplitudes, the value of the target display parameter of the first image element in the first lock screen wallpaper is adjusted to be a fourth value between a second value and a third value in the M values, the sliding amplitude corresponding to the second value is the minimum sliding amplitude larger than the first sliding amplitude in the M sliding amplitudes, and the sliding amplitude corresponding to the third value is the maximum sliding amplitude smaller than the first sliding amplitude in the M sliding amplitudes.
According to the method, when the situation that the sliding amplitude corresponds to the preset target display parameter does not exist, the value can be taken from the target parameter corresponding to the sliding amplitude close to the sliding amplitude according to the preset rule, the discontinuity or discontinuity of image element display between adjacent actions is effectively smoothened, and the fluency in the dynamic display process of the screen locking wallpaper is improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, the acquiring lock-screen wallpaper information includes: and receiving screen locking wallpaper information from the cloud server.
According to the method, the screen locking wallpaper information can be stored in the local storage of the electronic equipment, and meanwhile, the screen locking wallpaper information can be acquired through communication with the cloud server, so that the richness of the screen locking wallpaper is increased, and the use experience of a user is improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, the target display parameter includes a position, accordingly, when the sliding amplitude of the first sliding operation is different sliding amplitudes of a plurality of sliding amplitudes, the position of the first image element is different positions of the plurality of positions, the plurality of positions correspond to the plurality of sliding amplitudes one to one, and the plurality of positions are located on the same bezier curve.
According to the method, the dynamic display track of the image element is in the Bezier curve, so that the presentation effect of the change animation of the image element is more natural, and the visual experience of a user is further improved.
In summary, according to the method for displaying the screen locking wallpaper of the electronic device, provided by the application, based on the sliding operation of the user on the screen of the electronic device in the switching process of the screen locking wallpaper by the user, the electronic device controls the display effect of the dynamic image elements in the wallpaper and the display process of the dynamic image elements by detecting the gesture of the user sliding the screen, so that the animation effect presented in the wallpaper switching process is controlled, and the animation presented in the switching process is closely related to the gesture of the user. Compared with the fixed display process of static wallpaper in the existing wallpaper switching process, the display method of the screen locking wallpaper provided by the application can enable the display effect of the switching animation to be better, smooth and natural, the display of the dynamic interface elements is influenced by gestures and actions of a user, the user can be given stronger interactive perception, the user experience is improved, and the user viscosity of the product is enhanced.
In a second aspect, the present application provides an electronic device, including: one or more processors; a memory communicatively coupled to the processor; and one or more programs, wherein the one or more programs are stored in the memory, which when executed by the processor, cause the electronic device to perform the steps of: when the electronic equipment is in a screen locking state, displaying first screen locking wallpaper through a display screen of the electronic equipment; when a user performs a first sliding operation on a touch screen of the electronic device, adjusting a value of a target display parameter of a first image element in the first screen locking wallpaper according to a first sliding amplitude of the first sliding operation, wherein the first sliding amplitude is smaller than a second sliding amplitude, the second sliding amplitude is a minimum sliding amplitude required by switching the screen locking wallpaper of the electronic device, and the target display parameter includes at least one of the following display parameters: size, rotation angle, transparency, ambiguity, or position.
With reference to the second aspect, in some implementations of the second aspect, a screen-up operation input by a user is received when the electronic device is in a screen-locked state; and lightening the display screen in response to the screen lightening operation, and displaying the first screen locking wallpaper through the display screen.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, in response to a screen-up operation, drawing first lock-screen wallpaper; and after the first lock screen wallpaper is drawn, lightening the display screen, and displaying the first lock screen wallpaper through the display screen.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, in response to a screen-up operation, drawing a second lock-screen wallpaper; when the user performs a second sliding operation on the touch screen of the electronic device, drawing a third screen locking wallpaper, and switching the screen locking wallpaper displayed on the display screen from the first screen locking wallpaper to a second screen locking wallpaper, wherein the sliding amplitude of the second sliding operation is greater than or equal to the second sliding amplitude.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, when a user performs a third sliding operation on the touch screen of the electronic device, a target display parameter of a second image element in the second lock screen wallpaper is adjusted according to a sliding amplitude of the third sliding operation, where the sliding amplitude of the third sliding operation is smaller than the second sliding amplitude.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, screen locking wallpaper information is obtained, where the screen locking wallpaper information includes first information, second information, and third information, the first information is used to indicate a first image, the second information is used to indicate a first image element, the third information is used to indicate M values of a target display parameter of the first image element, and M is a positive integer greater than 1; and adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper based on the screen locking wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, the M values correspond to M sliding amplitudes one to one; if the first sliding amplitude is one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper to a first value corresponding to the first sliding amplitude in the M values; if the first sliding amplitude is not one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper to a fourth value between a second value and a third value in the M values, where the sliding amplitude corresponding to the second value is a minimum sliding amplitude larger than the first sliding amplitude in the M sliding amplitudes, and the sliding amplitude corresponding to the third value is a maximum sliding amplitude smaller than the first sliding amplitude in the M sliding amplitudes.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, the acquiring the screen locking wallpaper information includes: and receiving screen locking wallpaper information from the cloud server.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, the target display parameter includes a position, accordingly, when the sliding magnitude of the first sliding operation is different sliding magnitudes among a plurality of sliding magnitudes, the position of the first image element is different positions among a plurality of positions, the plurality of positions correspond to the plurality of sliding magnitudes one to one, and the plurality of positions are located on the same bezier curve.
In a third aspect, the present application provides an apparatus, included in an electronic device, that has functionality to implement the above aspects and possible implementations of the above aspects. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware and software includes one or more modules or units corresponding to the above-described functions. Such as a display module or unit, a detection module or unit, a processing module or unit, etc.
Alternatively, the apparatus may be a computing device, or may be a chip that can be applied to a computing device.
In a fourth aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored by the memory to implement the method for displaying the lock screen wallpaper of the electronic device of the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the method for displaying the lock-screen wallpaper of the electronic device according to the first aspect.
In a sixth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method for displaying a lock screen wallpaper of an electronic device of the first aspect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a display method of a lock screen wallpaper according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a graphical user interface of a display process of a lock screen wallpaper according to an embodiment of the application;
FIG. 5 is a schematic diagram illustrating a graphical user interface of yet another display process of the lock screen wallpaper according to an embodiment of the application;
FIG. 6 is a schematic diagram of a graphical user interface illustrating a display process of a lock screen wallpaper according to an embodiment of the application;
FIG. 7 is a schematic diagram illustrating a display process of a dynamic image element according to an embodiment of the present application;
FIG. 8 is a graphical user interface diagram illustrating a display process of a lock screen wallpaper according to an embodiment of the present application;
fig. 9 is a schematic diagram of a graphical user interface of another display process of the lock screen wallpaper according to an embodiment of the application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
The technical scheme provided by the embodiment of the application can be applied to the electronic equipment capable of switching the screen locking wallpaper according to the gesture of the user. The embodiment of the application does not set any limit to the specific type of the electronic device.
For example, the technical solution of the present application may be applied to electronic devices such as a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a Personal Digital Assistant (PDA).
According to the technical scheme, the image elements in the lock screen wallpaper displayed by the electronic equipment can be moved based on the operation of the user, so that the interactivity between the electronic equipment and the user can be further improved, and the function satisfaction of the user on the electronic equipment can be further improved.
As an example, fig. 1 is a schematic structural diagram of an example of an electronic device provided in the embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system. In some embodiments, the processor 110 may include one or more interfaces, for example, the interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a display screen serial interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. Processor 110 and display screen 194 communicate via a DSI interface to implement display functions of electronic device 100.
For example, in the present application, the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface, and when a user touches the display screen or performs a certain touch operation through the display screen, the touch sensor 180K may transmit the touch operation of the user to the processor 110, so as to implement the touch function of the display screen. Alternatively, the processor 110 may control a display process of the interface element on the display screen 194, and the processor 110 and the display screen 194 communicate through the DSI interface to control a display process of the dynamic interface element on the display screen 194 of the electronic device 100, for example, control a size change of the dynamic interface element itself, a rotation angle change, a transparency change, a position change, a blur degree change, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device 100. The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc. The ISP is used for processing data fed back by the camera 193. The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. Video codecs are used to compress or decompress digital video.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving files such as lock screen wallpaper in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes).
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic apparatus 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100.
The ambient light sensor 180L is used to sense the ambient light level.
The temperature sensor 180J is used to detect temperature. The bone conduction sensor 180M can acquire a vibration signal. The keys 190 include a power-on key, a volume key, and the like.
The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
The touch sensor 180K, also referred to as a "touch panel" touch sensor 180K, may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 constitute a touch screen, also referred to as a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the electronic device 100 at a different position than the display screen 194.
In the embodiment of the application, a display screen of the electronic device displays screen locking wallpaper, the touch sensor 180K detects a user gesture or action, the processor determines a movement track of an image element in a screen locking application currently displayed on the display screen based on the gesture or action detected by the touch sensor 180K, and the display screen displays a movement process of the image element based on the movement track.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a hierarchical architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software structure of an example of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, in conjunction with the description of the embodiment of the present application, the application package may include applications such as screen locking and setting, where the screen locking application may control a display size, a position coordinate, a display effect, and the like of an interface element on a wallpaper on an interface of an electronic device.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. In the application, the window manager can participate in the display process of the interface elements of the screen locking wallpaper in the display screen.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build a lock screen application. The display interface may be composed of one or more views. For example, the display of wallpaper on a display interface, or a display interface including dynamic interface elements on wallpaper, may include a view to display text as well as a view to display pictures.
The phone manager is used to provide communication functions for the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform the user that the download is complete, a message alert, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is presented in the status bar, or notification is made by sounding a warning tone, vibrating, or blinking an indicator light.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
In the application, the surface manager, the three-dimensional graphic processing library, and the like may participate in the display process of the interface element of the electronic device, and the specific display process is not described herein again.
The kernel layer is a layer between hardware and software. The core layer includes at least a display driver, a sensor driver, and the like.
For convenience of understanding, the following embodiments of the present application take an electronic device with a structure shown in fig. 1 and fig. 2 as an example, and a display method of the lock screen wallpaper provided by the embodiments of the present application is specifically described in conjunction with the accompanying drawings and application scenarios.
When the user lights the screen, the user slides the screen to switch the wallpaper image displayed on the screen, and the switching process of the wallpaper image can correspond to the display process of different interface elements. One possible interface element display process is to move in a preset direction. Specifically, a wallpaper picture of a player kicking a ball is taken as an example, a football in the wallpaper picture is taken as a dynamic interface element, and the football moves in a preset direction in the process of sliding a screen by a user.
Fig. 3 is a schematic flowchart of a method for displaying a lock screen wallpaper according to an embodiment of the present application. As shown in fig. 3, the method may include S310, S320, S330, and S340.
It is understood that although in the embodiments of the present application the individual steps of the method are presented in a specific order, the order of the steps may be changed in different embodiments. Alternatively, in some embodiments, one or more steps shown as sequential in this specification may be performed at the same time. Alternatively, in some embodiments, only some of the steps in fig. 3 may be performed, e.g., only S310 may be performed, or only S320 and S330 may be performed.
S310, the cloud server periodically sends screen locking wallpaper information to the electronic equipment. Accordingly, the electronic device periodically receives the lock screen wallpaper information.
As an example, the cloud server may be a cloud server that provides a lock wallpaper service.
For example, the cloud server may update the lock wallpaper information to the electronic device once a day or once a week.
S320, the electronic equipment sends request information to the cloud server, and the request information is used for requesting screen locking wallpaper information. Correspondingly, the cloud server receives the request information of the screen locking wallpaper information.
For example, after receiving an instruction input by a user and requesting updating of the screen locking wallpaper information, the electronic device sends request information of the screen locking wallpaper information to the cloud server.
S330, the cloud server sends screen locking wallpaper information to the electronic equipment based on the request information of the electronic equipment. Accordingly, the electronic device receives the lock screen wallpaper information.
The screen locking wallpaper information in this embodiment may include at least one of a first parameter, a second parameter, and a third parameter.
The first parameter may include data information of one or more screen locking wallpapers, which may also be referred to as screen locking wallpapers. As an example, the lock screen wallpaper may contain a landscape view, a people view, and the like.
The second parameter may include data information of one or more image elements corresponding to each of the at least one lock-screen wallpaper. By way of example, an image element may comprise any one or more elements in an image. For example, the image elements may include a football, a satellite, a car, a person, and so on.
As an example, when the first parameter (i.e., the aforementioned first information) indicates N lock-screen wallpapers, there may be M lock-screen wallpapers among the N lock-screen wallpapers with corresponding image elements, that is, the second parameter (i.e., the aforementioned second information) may indicate image elements corresponding to each lock-screen wallpaper among the M lock-screen wallpapers among the N lock-screen wallpapers, where each lock-screen wallpaper may correspond to one or more image elements, and M is a positive integer less than or equal to N.
In this embodiment, the screen locking wallpaper with the corresponding image element may be referred to as dynamic wallpaper, and the screen locking wallpaper without the corresponding image element may be referred to as static wallpaper. The image element corresponding to the screen locking wallpaper means that the image element is displayed in an overlapped mode while the screen locking wallpaper is displayed on the electronic equipment.
The third parameter, i.e. the aforementioned third information, may comprise a trajectory parameter of the image element. For example, the third parameter may include one or more positions of the image element in the corresponding lock screen wallpaper, one or more display angles of the image element when the image element is displayed in superposition with the corresponding lock screen wallpaper, and the like.
Alternatively, the third parameter may indicate the position of the image element by a ratio. For example, the third parameter may contain the following information: (position: 0.1, 0.3, 0.8, 1.0 in the x-axis direction), (position: 0.5, 0.55, 0.55, 0.5 in the y-axis direction). Wherein the first value 0.1 in the x-axis direction and the first value 0.5 in the y-axis direction taken together may indicate that the picture element is located at the following position on the image: and taking the lower left corner of the image as an origin, one tenth of the image in the x-axis direction, one half of the image in the y-axis direction, and the like.
One example of the x-axis direction is a direction from the left lower corner of the mobile phone screen facing the user to the right along the short screen, where the left lower corner is the origin; an example of a y-axis direction is a direction along the long screen up, with the lower left corner of the cell phone screen facing the user as the origin.
Alternatively, the third parameter may indicate the rotation angle of the image element by an absolute angle, or may indicate the rotation angle of the image element by a ratio. For example, the third parameter may include the following information: (rotation angle in Z-axis direction: 0, 108, 252, 360). As another example, the third parameter may include the following information: (rotation angle in Z-direction: 0, 0.3, 0.7, 1.0), then 0.3 indicates that the rotation angle of the picture element is three tenths of 360 degrees, i.e. 108 degrees, and so on.
An example of the z-axis direction is a direction from the screen to the user, where the lower left corner of the mobile phone screen facing the user is used as an origin.
S340, the electronic equipment displays a user interface based on the user instruction and the screen locking wallpaper information.
In the application, after the electronic equipment receives the screen locking wallpaper information, the screen locking wallpaper information can be recorded; and after receiving an operation instruction of the user in the screen locking state, displaying a corresponding user interface based on the operation instruction of the user in combination with the screen locking wallpaper information.
As an example, a sliding operation with a sliding amplitude of the user is detected, and a display parameter corresponding to the sliding amplitude is generated according to the sliding operation and the second parameter and the third parameter, where the display parameter is used to draw a lock screen wallpaper displayed in the user interface.
In the following, an implementation manner of displaying a user interface based on an operation instruction of a user and lock screen wallpaper information is introduced by taking an electronic device as a mobile phone as an example.
As shown in fig. 4, fig. 4 is a schematic view of a Graphical User Interface (GUI) of a mobile phone provided in an embodiment of the present application when the mobile phone is in a screen locking state. As shown in fig. 4 (a), the user interface 401 of the mobile phone in the lock screen mode may be a black screen interface.
And when the mobile phone detects an unlocking instruction, the mobile phone responds to the unlocking instruction and draws the screen locking wallpaper based on the received screen locking wallpaper information. For example, when a finger of a user touches the screen, that is, the mobile phone detects that a trigger instruction exists on the screen, the mobile phone responds to the trigger instruction and performs the drawing of the lock screen wallpaper based on the received lock screen wallpaper information.
In some possible implementation manners, in response to the unlocking instruction, the mobile phone may first determine whether the target lock-screen wallpaper is a static wallpaper or a dynamic wallpaper based on the lock-screen wallpaper information. If the wallpaper is the static wallpaper, the static wallpaper can be obtained by drawing directly based on the first parameter in the screen locking wallpaper information; if the wallpaper is the dynamic wallpaper, the dynamic wallpaper can be drawn based on the first parameter, the second parameter and the third parameter in the screen locking wallpaper information.
In this embodiment, the target lock-screen wallpaper includes the lock-screen wallpaper to be displayed currently. Optionally, the target lock-screen wallpaper may further include one or more lock-screen wallpapers before the lock-screen wallpaper to be displayed, and/or one or more lock-screen wallpapers after the lock-screen wallpaper to be displayed.
For example, the first parameter indicates N pieces of screen locking wallpaper, and when the mobile phone detects that a trigger instruction exists on the screen, S pieces of target screen locking wallpaper may be drawn, where the middle sequential screen locking wallpaper of the S pieces of screen locking wallpaper is the screen locking wallpaper even if displayed, and S is a positive integer less than or equal to N. As an example, S is equal to 3 or equal to 5.
For example, the information of the screen locking wallpaper includes 1 series of 2 data information of the relevant screen locking wallpapers in sequence, and after the mobile phone is unlocked, the 1 st screen locking wallpaper of the 12 screen locking wallpapers is to be displayed, so that the mobile phone can draw the 12 th, 1 st and 2 nd screen locking wallpapers.
When determining whether the target lock screen wallpaper is the static wallpaper or the dynamic wallpaper based on the lock screen wallpaper information, as an example, the mobile phone may determine whether the lock screen wallpaper information includes the second parameter and/or the third parameter to determine whether the lock screen wallpaper information is the static wallpaper or the dynamic wallpaper. If the second parameter and/or the third parameter are/is included, the wallpaper is dynamic wallpaper; and if the second parameter and the third parameter are not contained, the wallpaper is static.
When the target lock-screen wallpaper is determined to be the static wallpaper or the dynamic wallpaper based on the lock-screen wallpaper information, as another example, the mobile phone determines whether information in the second parameter and/or the third parameter in the lock-screen wallpaper information is empty. If the information in the second parameter and/or the third parameter is not empty, the wallpaper is dynamic; and if the information in the second parameter and the third parameter is empty, the wallpaper is static.
If the wallpaper is static wallpaper, the static wallpaper is drawn according to the first parameter, and the drawn static wallpaper can be stored in a cache of a display of the mobile phone.
If the wallpaper is dynamic wallpaper, as a first example, the static wallpaper may be drawn according to a first parameter, the image element may be drawn according to a second parameter, then the image element and the static wallpaper are overlapped (or synthesized) to obtain the dynamic wallpaper, and the dynamic wallpaper obtained by drawing may be stored in a cache of a mobile phone display.
If the wallpaper is the dynamic wallpaper, as a second example, the static wallpaper is drawn according to the first parameter, then the image elements are drawn on the basis of the static wallpaper based on the second parameter, so that the dynamic wallpaper is obtained, and the dynamic wallpaper is stored in a cache of a mobile phone display.
In the embodiment, the screen locking wallpaper is drawn before the screen is lightened, so that the problem of low wallpaper drawing response speed caused by occupation of real-time computing resources by other applications of the mobile phone can be avoided, the fluency of screen locking wallpaper switching is improved, and the use experience of a user is further improved.
After the mobile phone draws the screen locking wallpaper, lightening the screen, and displaying the screen locking wallpaper. One user interface for the lock screen wallpaper displayed by the cell phone is shown as display interface 402 in fig. 4 (b).
At this time, the display interface of the mobile phone screen is changed from the interface 401 of fig. (a) to the interface 402 of fig. (b). As an example, the interface 402 includes an image element 41 and an image element 42, the image element 41 is an image element included in static wallpaper, and the image element 42 is an image element that can move as the user touch position moves.
When the finger of the user operates on the screen, namely the mobile phone detects that the trigger instruction of movement exists on the screen, the image element can be correspondingly changed and displayed along with the operation of the user. Fig. 5 is a schematic diagram of a Graphical User Interface (GUI) of a lock screen wallpaper display process according to an embodiment of the present application. One of the changing processes of the image element is changed from (a) to (b) as shown in fig. 5, i.e., the display interface 501 is changed into (b) the display interface 502.
As an example, the display interface of the cell phone screen is converted from interface 501 of (a) diagram in fig. 5 (which may correspond to interface 401 of (a) diagram in fig. 4) to interface 502 of (b) diagram in response to the magnitude of the user's sliding, where interface 501 includes image element 52, interface 502 includes image element 53, and image element 53 is the image element resulting from the movement and rotation of image element 52.
Alternatively, the interface on the cell phone may be restored from interface 502 to interface 501 when the user's finger leaves the cell phone screen or slides in the opposite direction to the slide direction described above.
When the mobile phone displays the interface shown in fig. 5 (b), if the finger of the user continues to slide rightward on the screen of the mobile phone, that is, if the mobile phone detects that the continuous movement trigger instruction exists on the screen, the screen of the mobile phone may display the interface 503 shown in fig. 5 (c). The interface 503 comprises image elements 54, and the image elements 54 are image elements obtained by moving and rotating the image elements 53.
When the mobile phone displays the interface shown in fig. 5 (c), if the finger of the user slides to the right again on the mobile phone screen, that is, if the mobile phone detects that there is a continuous movement trigger instruction on the screen, the mobile phone screen may display the interface 504 shown in fig. 5 (d). Interface 504 includes image element 55, and image element 55 is the image element resulting from the movement and rotation of image element 54.
In the following, the image element indicated by the second parameter in the lock screen wallpaper information is taken as a football, and the third parameter includes the following contents: for example, (x-axis position: 0.1, 0.3, 0.8, 1.0), (y-axis position: 0.5, 0.55, 0.55, 0.5), (z-axis rotation angle: 0, 0.3, 0.7, 1.0), the implementation of redrawing image elements by a mobile phone based on screen size and sliding parameters generated by user operation to display dynamic wallpaper after the position of the image element is moved will be described.
In this example, based on that four positions and four angles corresponding to the four positions are configured in the lock wallpaper information, the mobile phone may uniformly select four amplitude values within the maximum slidable amplitude range of the target, where the four amplitude values correspond to the four positions and the four angles one to one.
For example, a sliding amplitude of 0 corresponds to a first position and a first angle, i.e., an initial position and an initial rotation angle of the image element when the user's finger is not sliding; when the finger sliding amplitude of the user is one third of the maximum target slidable amplitude, the image element corresponds to a second position and a second rotation angle; when the finger sliding amplitude of the user is two thirds of the maximum target slidable amplitude, the image element corresponds to a third position and a third rotation angle; and when the finger sliding amplitude of the user is the maximum target slidable amplitude, the image element corresponds to the fourth position and the fourth rotation angle.
The maximum target slidable amplitude refers to the maximum slidable amplitude which does not unlock the mobile phone screen and does not switch the lock screen wallpaper. For example, if the sliding amplitude of the user in the sliding direction exceeds half (or 0.5) of the screen size of the mobile phone in the sliding direction, the mobile phone screen locking wallpaper is switched to the next page, and the target maximum slidable service is half of the screen size in the corresponding sliding direction.
For example, as shown in fig. 5, the mobile phone detects the touch of the user's finger and lights up the screen, as shown in (a), which displays an interface 501 containing the image element 52. At this time, since the sliding amplitude of the user's mobile phone is zero, the position of the image element 52 in the short screen direction (corresponding to the x-axis direction) is 0.1 of the screen width; the position in the long screen direction (corresponding to the y-axis direction) is 0.5 of the screen width; the rotation angle of the image element in the user direction (corresponding to the rotation angle in the z-axis direction toward the user direction) is 0 degree.
When the user's finger slides rightward from the left edge position of the screen to (b) the position shown in the figure, for example, the sliding amplitude is one third of the target maximum slidable amplitude (i.e., one half of the width of the mobile phone), the mobile phone may determine the position of the image element as the second position and the rotation angle as the second rotation angle based on the third parameter.
That is, the position of the image element in the short screen direction of the mobile phone is 0.3 of the width of the mobile phone screen, and the position in the long screen direction of the mobile phone is 0.55 of the length of the mobile phone screen, and the rotation angle is 360 × 0.3 degrees. The handset can redraw the image elements on the handset screen based on the position and angle of rotation. The image element obtained by rendering is, for example, the image element 53 in the diagram (b) in fig. 5, and the image element 53 is equivalent to moving the image element 52 from the initial position to the second position, and rotating the image element 52 by 108 degrees toward the outside of the screen.
The user's finger continues to slide rightward to the position shown in (c), and for example, when the sliding amplitude is two thirds of the target maximum slidable amplitude (i.e., one half of the width of the mobile phone), the mobile phone may determine, based on the third parameter, that the position of the image element is the third position, and the rotation angle is the third rotation angle.
That is, the position of the image element in the short-screen direction of the mobile phone is 0.8 of the width of the mobile phone screen, and the position in the long-screen direction of the mobile phone is 0.55 of the length of the mobile phone screen, and the rotation angle is 360 × 0.7 degrees. The handset can redraw the image elements on the handset screen based on the position and angle of rotation. The image element obtained by rendering is, for example, the image element 54 in the diagram (c) in fig. 5, and the image element 54 is equivalent to moving the image element 52 from the initial position to the third position, and rotating the image element 52 by 252 degrees toward the outside of the screen.
The user's finger continues to slide rightward to the position shown in fig. (d), and for example, when the sliding amplitude is the target maximum slidable amplitude (i.e. half of the width of the mobile phone), the mobile phone may determine, based on the third parameter, that the position of the image element is the fourth position, and the rotation angle is the fourth rotation angle.
That is to say, the position of the image element in the short screen direction of the mobile phone is the edge of the mobile phone screen, the position in the long screen direction of the mobile phone is 0.5 of the length of the mobile phone screen, and the rotation angle is 360 degrees. The cell phone can redraw the image elements on the cell phone screen based on the position and rotation angle. The image element obtained by rendering is, for example, the image element 55 in the diagram (d) in fig. 5, and the image element 55 corresponds to moving the image element 52 from the initial position to the third position, and rotating the image element 52 by 360 degrees (or not rotating) toward the outside of the screen.
The above embodiments describe re-rendering image elements after movement and rotation in real time based on the magnitude of the user's finger swipe. It is to be understood that this is merely an example, and the rendering timing of the moved and rotated image element is not limited in the embodiment of the present application. For example, after the mobile phone receives the information of the wallpaper for locking the screen, or after the user inputs an instruction for lighting the screen, the image elements at different positions and different rotation angles are drawn in advance based on the second parameter and the third parameter, and then the screen locking graphics displayed based on the drawn image elements are directly displayed when the sliding amplitude of the user reaches a specific ratio.
It is understood that the following information can be configured in the mobile phone: a rule that the movement trajectory of the image element should satisfy between any two adjacent positions indicated by the third parameter. For example, between any two adjacent positions indicated by the third parameter, the image element may move along a straight line, or may move along a bezier curve. In this case, if the image element moves along the bezier curve, the smoothness of the movement locus of the image element can be improved, and the display effect can be improved.
The information configured in the mobile phone may be issued by the cloud server, or may be configured in advance in the mobile phone.
When the mobile phone is configured with the above-mentioned movement rule, when the finger sliding amplitude of the user is located between two adjacent sliding amplitudes of the uniform values, the mobile phone uniformly takes M sliding amplitudes between the two adjacent sliding amplitudes, and adds M positions corresponding to the M sliding amplitudes one to one between two positions corresponding to the two adjacent sliding amplitudes based on the rule, and even adds M rotation angles corresponding to the M sliding amplitudes one to one between two rotation angles corresponding to the two adjacent sliding amplitudes, where M is a positive integer. In this way, when the finger sliding amplitude of the user is equal to any sliding amplitude in the M sliding amplitudes, the mobile phone may also draw the image element corresponding to the any sliding amplitude by using the similar method described above, and display the corresponding user interface, where the position of the image element corresponding to the any sliding amplitude is the position corresponding to the any sliding amplitude, and the rotation angle of the image element corresponding to the any sliding amplitude is the rotation angle corresponding to the any sliding amplitude.
The method for adding the image elements corresponding to the positions and the rotation angles to more sliding amplitudes can improve the display effect of the image elements.
Taking the rule as an example that the image element moves along the bezier curve between any two adjacent positions indicated by the second parameter, the mobile phone may add M positions to the image element between any two adjacent positions indicated by the second parameter, and perform smoothing processing on the M positions by using the bezier curve, so that the M positions and the any two adjacent positions form the bezier curve as much as possible.
As an example, after the bezier curve smoothing process is performed on the positions of the image elements that vary in the magnitude of the sliding of the user's finger, an example of the movement trajectory of the image elements is shown by a dotted line in fig. 6. As is apparent from fig. 6, the movement locus is more realistic.
In this embodiment, it can be understood that, the position of the image element and the rotation angle in the z-axis direction are adjusted along with the change of the finger sliding amplitude of the user, which is only one example of improving the screen locking wallpaper and the user interactivity in this embodiment, and a scheme that the display effect of one or more image elements in the user interface displayed in the screen can be changed along with the change of the finger sliding amplitude in the screen locking state is all within the protection scope of this embodiment. For example, the cell phone may adjust the size, transparency, color, rotation angle in other directions, etc. of the image element as the magnitude of the user's finger swipe changes.
Taking the image element in fig. 5 as an example, an exemplary diagram for adjusting the size, rotation angle in other directions and transparency of the image element with the change of the sliding amplitude of the user's finger is shown in fig. 7.
As an example, the dynamic image element soccer ball may have a variation effect as shown in (a) of fig. 7, the soccer ball image element size being varied from 1 to n, n being smaller than 1. When the size of a soccer ball image element is 1, the size of the element may be the maximum size, and the soccer ball image element gradually decreases in size during display. When the size of a soccer ball image element is n, the size of the element may be the smallest size and the standard size of the final display. It should be understood that the standard size of the final display is the size of the element that the user sees before the interface diagram switches or when it returns to its original state. For example, it may be the size of the image element 55 on the interface diagram as shown in fig. 5 (d).
Or, as an example, the soccer ball image element may have a varying effect as shown in (b) of fig. 7, the image element size gradually varying from 1 to n, n being greater than 1. When the size of a soccer ball image element is 1, the size of the element may be a minimum size, and the soccer ball image element gradually increases in size during display. When the size of a soccer ball image element is n, the size of the element may be the largest size and the standard size of the final display. It should be understood that the size of the standard size of the final display is the size of the element that the user sees before the interface diagram is switched or when the interface diagram is restored to the original state, and the embodiment of the present application is not limited thereto.
Still alternatively, as an example, the soccer ball image element may have a changing effect as shown in (c) of fig. 7, in which the image element size gradually changes from 1 to n, and then gradually changes from n to 1, and n is smaller than 1. When the size of a soccer ball image element is 1, the size of the element may be a standard size. In the displaying process, the size of the football image element is gradually reduced to be smaller than the standard size of the final display, and then gradually increased until the size of the element is 1, which becomes the size of the final standard size.
Alternatively, the football rotation angle changes during the display corresponding to the dynamic image elements 52 to 55 in fig. 5 (a) to (d).
As an example, the soccer ball image element may have a varying effect as shown in (d) of fig. 7, with the image element angle gradually rotated from 0 ° to 360 °. When the rotation angle of the football image element is 360 degrees, the angle of the element can be a standard angle, and in the display process, the rotation angle of the football image element gradually rotates to the standard angle finally displayed. It should be understood that the standard angle size of the final display is the angle of the element that the user sees before the interface diagram switches or when it returns to its original state. For example, it may be the angular size of the image element 55 on the interface diagram as shown in fig. 5 (d).
It is understood that the rotation angle of the dynamic image element is not limited to the two-dimensional graph in the embodiment, but is also applicable to the case when the dynamic image element is a three-dimensional graph, and the description thereof is omitted here.
Alternatively, the football transparency changes during the display of the dynamic image elements 52 to 55 in the diagrams (a) to (d) in fig. 5. As an example, the soccer ball image element may have a varying effect as shown in (e) of fig. 7, the transparency of the soccer ball image element gradually varies from 1 to n, n being less than 1. When the transparency is changed to n, the transparency of the element may be a standard transparency, and the transparency of the soccer ball image element gradually changes to the standard transparency of the final display during the display process. It should be understood that the final displayed transparency level is the transparency of the element that the user sees before the interface diagram switches or when it reverts to the original state.
Alternatively, the state of the change in the position of the soccer ball during the display of the dynamic image elements 52 to 55 in the diagrams (a) to (d) in fig. 5 corresponds to the state of the change in the position of the soccer ball. As an example, in conjunction with the size change process of fig. 7 (a) to (c), along with the display of the soccer ball image element to the standard size of the final display, the position is gradually moved to the preset position. For example, it may be that the image element 52 on the interface diagram shown in (a) in fig. 5 moves to the position of the image element 55 on the interface diagram shown in (d) along with the size change process.
As another example, in conjunction with the rotation angle change process shown in fig. 7 (d), the position is gradually moved to the preset position along with the display of the soccer ball image element to the finally displayed standard angle. For example, it may be that the image element 52 on the interface diagram shown in (a) in fig. 5 moves to the position of the image element 55 on the interface diagram shown in (d) along with the rotation angle change process.
As a further example, in conjunction with the transparency change process shown in fig. 7 (e), along with the display of the soccer ball image element to the standard transparency of the final display, the position is gradually moved to the preset position. For example, it may be that the image element 52 on the interface diagram shown in (a) in fig. 5 moves to the position of the image element 55 on the interface diagram shown in (d) along with the transparency change process.
Alternatively, the football blur degree changes during the display corresponding to the dynamic image elements 52 to 55 in fig. 5 (a) to (d). During the display process of the football element, the blurring degree of the element is gradually increased until the football element is completely blurred, and the blurring degree of the image element is finally displayed. It should be understood that the blurring degree of the image elements may be realized by an algorithm of a blurring process, such as a gaussian blurring algorithm, a mean value blurring algorithm, etc., and the present application does not limit the type of the blurring control algorithm. For a dynamic image element, the occupied pixels on the display interface are 100 × 100, and for different blurring degrees, partial pixels can be extracted from 100 × 100 pixels to perform blurring processing. As an example, when the degree of blur is 1, 5000 pixels are extracted from 100 × 100 pixels to perform blur processing; when the user grazing degree is 0.5, 1000 pixels are extracted from 100 × 100 pixels for blurring processing, and when the blurring degree is 0, 100 × 100 pixels are all displayed normally, which is not limited in the embodiment of the present application.
Optionally, the mobile phone may obtain a sliding speed of the finger before the finger leaves the screen when the user slides, and display the dynamic image element according to different display processes according to the sliding speed of the finger, so as to present an animation effect. It should be understood that, here, the different display processes of the dynamic image elements may refer to the related description of fig. 7, and the dynamic image elements may be displayed according to the change of their own size, the change of the rotation angle, the change of different transparencies, the change of different positions, the change of the degree of blur, and the like, or the dynamic image elements may extend or shorten the time length from their own display to the final form according to the speed of the finger before leaving the screen, and the like, which is not described herein again.
As an example, when the speed of the finger before leaving the screen when the user slides is 10 pixels per millisecond (px/ms), the change of the size of the dynamic image element itself, the change of the rotation angle, the change of different transparencies, the change of different positions, the change of the blur degree, and the like are completed within 100ms, a final effect is presented, and whether to switch the interface diagram or enter the desktop is determined according to the proportion of the displacement distance of the finger in the screen sliding direction to the screen size in the direction. When the speed of the finger before leaving the screen is 50px/ms when the user slides, the size change of the dynamic image element, the change of the rotation angle, the change of different transparencies, the change of different positions, the change of the degree of blur, and the like are completed within 50ms, the final effect is presented, and whether the interface diagram is switched or the desktop is entered is determined according to the proportion of the displacement distance of the finger in the screen sliding direction to the screen size in the direction, which is not limited in the embodiment of the application.
In other words, the faster the finger sliding speed of the user is, the shorter the overall duration of the animation completed by the movement of the dynamic image element to the final position to form the final interface diagram is.
As an example, when the horizontal included angle between the sliding track when the user slides and the short side of the mobile phone is 40 °, the change of the size of the dynamic image element itself, the change of the rotation angle, the change of different transparencies, the change of different positions, the change of the blur degree, and the like are completed within 100ms, the final effect is presented, and whether to switch the interface diagram or enter the desktop is determined according to the proportion of the displacement distance of the finger in the screen sliding direction to the screen size in the direction. When the horizontal included angle between the sliding track and the short side of the mobile phone when the user slides is 30 degrees, the size change of the dynamic image element, the rotation angle change, the transparency change, the position change, the fuzzy degree change and the like are completed within 50ms, the final effect is presented, and whether the interface graph is switched or the mobile phone enters the desktop is determined according to the proportion of the displacement distance of the finger in the sliding direction of the screen to the screen size in the direction, wherein the limitation is not limited in the embodiment of the application.
In some possible implementation manners, when the sliding range of the user on the mobile phone screen exceeds a preset proportion, or the sliding time of the user on the mobile phone screen exceeds a preset value, that is, when the mobile phone detects that the trigger instruction of the screen exceeds a preset threshold value, the mobile phone may switch the current screen locking wallpaper.
As an example, as shown in fig. 8, when the finger of the user continues to slide to the right from the middle position of the (a) diagram screen to the position shown in the (b) diagram, that is, when the mobile phone detects that the trigger instruction of the screen exceeds the preset threshold, the display interface of the mobile phone screen is switched from the interface diagram 801 of the (a) diagram to the interface diagram 802 of the (b) diagram. The preset threshold of the trigger instruction can be that the displacement distance of the mobile phone for detecting the sliding of the user accounts for one half of the screen size parameter in the sliding direction; for example, when the size parameter of the short side of the screen of the mobile phone is ten centimeters, and the displacement distance of the finger of the user sliding in the direction parallel to the short side of the screen exceeds five centimeters, the mobile phone detects the trigger instruction, and executes the operation of switching the screen locking wallpaper.
Wherein the static image element 81 and the dynamic image element 82 in the interface diagram 801 are overlaid or replaced by the image element 83, thereby generating (b) a lock screen wallpaper shown in the interface diagram 802 of the diagram.
Optionally, the image element 83 may be drawn and stored in a cache of the display, or may be drawn in real time to finally generate the screen locking wallpaper shown in the interface 802 when the mobile phone detects that a trigger instruction for switching the screen locking wallpaper exists on the screen, which is not limited herein.
Alternatively, the image element 83 in the interface map 802 may be a static element or a dynamic element; when the image element 83 is a dynamic element, and the mobile phone detects that the trigger instruction of the image element exists on the screen, the image element 83 is correspondingly drawn according to a dynamic rule, so as to realize dynamic display of the screen locking wallpaper.
It is understood that the rightward sliding shown in the embodiments of the present application is only an example, and the present application does not limit a specific sliding direction or displacement distance.
As another example, when the mobile phone is in the unlocked state, the finger of the user continuously slides rightward on the screen beyond the preset ratio, that is, when the mobile phone detects that there is a trigger instruction for switching the lock wallpaper on the screen, the display interface of the mobile phone screen may be switched to the desktop of the mobile phone.
Fig. 9 is a schematic diagram of a Graphical User Interface (GUI) of an interface element display process provided in an embodiment of the present application, where a mobile phone, in response to an operation of a preset range or an event on a screen by a user, draws an interface 901, which includes a static interface element 91 and a dynamic interface element 92, of a drawing in (a), and when a finger of the user continues to slide rightward and execute the interface beyond the preset range or time, that is, when the mobile phone detects that a lock screen wallpaper switching trigger instruction exists on the screen, a screen of the mobile phone is switched to a desktop shown as an interface 902 in (b).
Optionally, the mobile phone desktop may be a main interface including an application icon, or may be an interface operated by a user when the screen is turned on last time, for example, when the user uses a video application program when the screen is turned on last time, an interface diagram stays at the interface of the video application program, when the mobile phone is in an unlocked state, and a finger of the user continues to slide rightward on the screen beyond a preset ratio, that is, when the mobile phone detects that a trigger instruction for switching a screen locking wallpaper exists on the screen, a display interface of the mobile phone screen may be switched to the interface of the video application program, at this time, the interface diagram may include a background, an icon, a control, a menu, a video being played, and the like of the video application, which is not limited herein.
It should be understood that the rightward sliding shown in the embodiment of the present application is only an example, and the present application does not limit a specific sliding direction or displacement distance.
In summary, the method for displaying the screen-locking wallpaper provided by the application can control the display effect of the dynamic image elements in the wallpaper and the display process of the dynamic image elements by detecting the gesture of the user sliding the screen in the process of switching the wallpaper of the screen-locking application by the electronic device, so as to control the animation effect presented in the wallpaper switching process, and make the animation presented in the switching process closely related to the gesture of the user. Compared with the fixed display process of static wallpaper in the existing wallpaper switching process, the display method of the screen locking wallpaper provided by the application can enable the display effect of the switching animation to be better, smooth and natural, the display of the dynamic interface elements is influenced by gestures and actions of a user, the user can be given stronger interactive perception, the user experience is improved, and the user viscosity of the product is enhanced.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application can be realized in hardware or a combination of hardware and computer software in connection with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be implemented in the form of hardware. It should be noted that, the division of the modules in this embodiment is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
It should be noted that all relevant contents of each step related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the display method of the screen locking wallpaper, so that the same effect as the realization method can be achieved.
Where an integrated unit is employed, the electronic device may include a processing module, a memory module, and a communication module. The processing module may be configured to control and manage actions of the electronic device, and for example, may be configured to support the electronic device to perform the above steps. The memory module can be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller, among others. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having a structure shown in fig. 1.
The present embodiment also provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on an electronic device, the electronic device executes the above related method steps to implement the display method of the lock-screen wallpaper in the above embodiment.
The embodiment also provides a computer program product, and when the computer program product runs on a computer, the computer is caused to execute the relevant steps so as to implement the display method of the lock screen wallpaper in the embodiment.
In addition, an apparatus, which may be specifically a chip, a component or a module, may include a processor and a memory connected to each other; when the device runs, the processor can execute the computer execution instruction stored in the memory, so that the chip can execute the display method of the screen locking wallpaper in the above method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A method for displaying screen locking wallpaper of an electronic device, the method comprising:
when the electronic equipment is in a screen locking state, displaying first screen locking wallpaper through a display screen of the electronic equipment;
when a user performs a first sliding operation on a touch screen of the electronic device, adjusting a value of a target display parameter of a first image element in the first lock screen wallpaper according to a first sliding amplitude of the first sliding operation, where the first sliding amplitude is smaller than a second sliding amplitude, the second sliding amplitude is a minimum sliding amplitude required for switching the lock screen wallpaper of the electronic device, and the target display parameter includes at least one of the following display parameters: size, rotation angle, transparency, ambiguity, or position.
2. The method of claim 1, wherein displaying a first lock screen wallpaper through a display screen of the electronic device when the electronic device is in a lock screen state comprises:
receiving a screen-lightening operation input by a user when the electronic equipment is in a screen locking state;
and lightening the display screen in response to the screen lightening operation, and displaying the first screen locking wallpaper through the display screen.
3. The method as claimed in claim 2, wherein the illuminating the display screen in response to the screen-lighting operation and displaying the first lock screen wallpaper through the display screen comprises:
responding to the screen lightening operation, and drawing the first screen locking wallpaper;
and after the first lock screen wallpaper is drawn, lightening the display screen, and displaying the first lock screen wallpaper through the display screen.
4. The method of claim 3, further comprising:
responding to the screen lightening operation, and drawing second screen locking wallpaper;
when a user performs a second sliding operation on the touch screen of the electronic device, drawing a third screen locking wallpaper, and switching the screen locking wallpaper displayed on the display screen from the first screen locking wallpaper to the second screen locking wallpaper, wherein the sliding amplitude of the second sliding operation is greater than or equal to the second sliding amplitude.
5. The method of claim 4, further comprising:
when a user performs a third sliding operation on the touch screen of the electronic device, the target display parameter of a second image element in the second lock screen wallpaper is adjusted according to the sliding amplitude of the third sliding operation, and the sliding amplitude of the third sliding operation is smaller than the second sliding amplitude.
6. The method of claim 5, wherein the adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper according to the first sliding magnitude of the first sliding operation comprises:
acquiring screen locking wallpaper information, wherein the screen locking wallpaper information comprises first information, second information and third information, the first information is used for indicating a first image, the second information is used for indicating the first image element, the third information is used for indicating M values of the target display parameters of the first image element, and M is a positive integer greater than 1;
adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper based on the screen locking wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude.
7. The method of claim 6, wherein the M values correspond one-to-one to M sliding amplitudes; correspondingly, the adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper based on the lock screen wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude comprises:
if the first sliding amplitude is one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper to a first value corresponding to the first sliding amplitude in the M values;
if the first sliding amplitude is not one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper to a fourth value between a second value and a third value among the M values, where the sliding amplitude corresponding to the second value is a minimum sliding amplitude larger than the first sliding amplitude among the M sliding amplitudes, and the sliding amplitude corresponding to the third value is a maximum sliding amplitude smaller than the first sliding amplitude among the M sliding amplitudes.
8. The method of claim 7, wherein the obtaining of lock screen wallpaper information comprises:
and receiving the screen locking wallpaper information from the cloud server.
9. The method according to claim 8, wherein the target display parameter comprises a position, and accordingly, when the sliding magnitude of the first sliding operation is different sliding magnitudes in a plurality of sliding magnitudes, the position of the first image element is different positions in a plurality of positions, the plurality of positions correspond to the plurality of sliding magnitudes one by one, and the plurality of positions are located on the same Bezier curve.
10. An electronic device, comprising: one or more processors; a memory communicatively coupled to the processor; and one or more programs, wherein the one or more programs are stored in the memory, which when executed by the processor, cause the electronic device to perform the steps of:
when the electronic equipment is in a screen locking state, displaying first screen locking wallpaper through a display screen of the electronic equipment;
when a user performs a first sliding operation on a touch screen of the electronic device, adjusting a value of a target display parameter of a first image element in the first lock screen wallpaper according to a first sliding amplitude of the first sliding operation, where the first sliding amplitude is smaller than a second sliding amplitude, the second sliding amplitude is a minimum sliding amplitude required for switching the lock screen wallpaper of the electronic device, and the target display parameter includes at least one of the following display parameters: size, rotation angle, transparency, ambiguity, or position.
11. The electronic device of claim 10, wherein when the electronic device is in a lock screen state and a first lock screen wallpaper is displayed through a display screen of the electronic device, the electronic device is caused to perform the following steps:
receiving a screen lightening operation input by a user when the electronic equipment is in a screen locking state;
and lightening the display screen in response to the screen lightening operation, and displaying the first screen locking wallpaper through the display screen.
12. The electronic device according to claim 11, wherein the electronic device is caused to perform the following steps when the display screen is lighted in response to the screen-lighting operation and the first screen locking wallpaper is displayed through the display screen:
responding to the screen lightening operation, and drawing the first screen locking wallpaper;
and after the first lock screen wallpaper is drawn, lightening the display screen, and displaying the first lock screen wallpaper through the display screen.
13. An electronic device as claimed in claim 12, characterized in that the electronic device is caused to further perform the steps of:
responding to the screen lightening operation, and drawing second screen locking wallpaper;
when a user performs a second sliding operation on the touch screen of the electronic device, drawing a third screen locking wallpaper, and switching the screen locking wallpaper displayed on the display screen from the first screen locking wallpaper to the second screen locking wallpaper, wherein the sliding amplitude of the second sliding operation is greater than or equal to the second sliding amplitude.
14. An electronic device according to claim 13, characterized in that the electronic device is caused to further perform the steps of:
and when a user performs a third sliding operation on the touch screen of the electronic equipment, adjusting the target display parameter of a second image element in the second lock screen wallpaper according to the sliding amplitude of the third sliding operation, wherein the sliding amplitude of the third sliding operation is smaller than the second sliding amplitude.
15. The electronic device of claim 14, wherein the adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper according to the first sliding magnitude of the first sliding operation causes the electronic device to perform the following steps:
acquiring screen locking wallpaper information, wherein the screen locking wallpaper information comprises first information, second information and third information, the first information is used for indicating a first image, the second information is used for indicating the first image element, the third information is used for indicating M values of the target display parameters of the first image element, and M is a positive integer greater than 1;
adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper based on the screen locking wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude.
16. The electronic device of claim 15, wherein the M values correspond one-to-one to M sliding magnitudes; correspondingly, when the value of the target display parameter of the first image element in the first lock screen wallpaper is adjusted based on the lock screen wallpaper information, the first sliding amplitude and the corresponding relationship between the value of the target display parameter and the sliding amplitude, the electronic device is caused to execute the following steps:
if the first sliding amplitude is one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper to a first value corresponding to the first sliding amplitude in the M values;
if the first sliding amplitude is not one of the M sliding amplitudes, adjusting the value of the target display parameter of the first image element in the first lock screen wallpaper to a fourth value between a second value and a third value among the M values, where the sliding amplitude corresponding to the second value is a minimum sliding amplitude larger than the first sliding amplitude among the M sliding amplitudes, and the sliding amplitude corresponding to the third value is a maximum sliding amplitude smaller than the first sliding amplitude among the M sliding amplitudes.
17. The electronic device according to claim 16, wherein the electronic device is caused to execute the following steps when obtaining the lock screen wallpaper information:
and receiving the screen locking wallpaper information from the cloud server.
18. The electronic device according to claim 17, wherein the target display parameter includes a position, and accordingly, when the sliding magnitude of the first sliding operation is different sliding magnitudes in a plurality of sliding magnitudes, the position of the first image element is different positions in a plurality of positions, the plurality of positions correspond to the plurality of sliding magnitudes one by one, and the plurality of positions are located on the same bezier curve.
19. A computer-readable storage medium having stored thereon computer-executable instructions for implementing a method of displaying a lock screen wallpaper of an electronic device as claimed in any one of claims 1 to 9 when executed by a processor.
20. A computer program product comprising a computer program which, when executed by a processor, implements a method of displaying a lock screen wallpaper for an electronic device as claimed in any one of claims 1 to 9.
CN202210702031.6A 2022-06-21 2022-06-21 Display method and related device of screen locking wallpaper of electronic equipment Active CN114780012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210702031.6A CN114780012B (en) 2022-06-21 2022-06-21 Display method and related device of screen locking wallpaper of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210702031.6A CN114780012B (en) 2022-06-21 2022-06-21 Display method and related device of screen locking wallpaper of electronic equipment

Publications (2)

Publication Number Publication Date
CN114780012A true CN114780012A (en) 2022-07-22
CN114780012B CN114780012B (en) 2023-06-20

Family

ID=82422045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210702031.6A Active CN114780012B (en) 2022-06-21 2022-06-21 Display method and related device of screen locking wallpaper of electronic equipment

Country Status (1)

Country Link
CN (1) CN114780012B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695634A (en) * 2022-09-09 2023-02-03 荣耀终端有限公司 Wallpaper display method, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222295A1 (en) * 2006-11-02 2008-09-11 Addnclick, Inc. Using internet content as a means to establish live social networks by linking internet users to each other who are simultaneously engaged in the same and/or similar content
CN102289344A (en) * 2010-06-17 2011-12-21 Lg电子株式会社 Mobile terminal and method of controlling same
CN103927092A (en) * 2013-01-16 2014-07-16 三星电子株式会社 Mobile device and method for displaying information
CN105242826A (en) * 2015-09-21 2016-01-13 北京元心科技有限公司 Method and apparatus for implementing 3D live wallpaper in mobile device
US20160188135A1 (en) * 2008-10-08 2016-06-30 Blackberry Limited Method and handheld electronic device having a graphical user interface which arranges icons dynamically
CN105867794A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Acquisition method and device of associated information of screen locking wallpaper
CN106161789A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 A kind of mobile terminal, the device and method of switching screen locking wallpaper
US20170300190A1 (en) * 2016-04-13 2017-10-19 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for processing operation
CN107608605A (en) * 2017-09-28 2018-01-19 北京金山安全软件有限公司 Image display method and device, electronic equipment and storage medium
CN111095165A (en) * 2017-08-31 2020-05-01 苹果公司 Systems, methods, and graphical user interfaces for interacting with augmented and virtual reality environments
CN112882779A (en) * 2021-02-04 2021-06-01 北京小米移动软件有限公司 Lock screen display control method and device, mobile terminal and storage medium
WO2022017261A1 (en) * 2020-07-24 2022-01-27 华为技术有限公司 Image synthesis method and electronic device
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222295A1 (en) * 2006-11-02 2008-09-11 Addnclick, Inc. Using internet content as a means to establish live social networks by linking internet users to each other who are simultaneously engaged in the same and/or similar content
US20160188135A1 (en) * 2008-10-08 2016-06-30 Blackberry Limited Method and handheld electronic device having a graphical user interface which arranges icons dynamically
CN102289344A (en) * 2010-06-17 2011-12-21 Lg电子株式会社 Mobile terminal and method of controlling same
CN103927092A (en) * 2013-01-16 2014-07-16 三星电子株式会社 Mobile device and method for displaying information
CN105242826A (en) * 2015-09-21 2016-01-13 北京元心科技有限公司 Method and apparatus for implementing 3D live wallpaper in mobile device
CN105867794A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Acquisition method and device of associated information of screen locking wallpaper
US20170300190A1 (en) * 2016-04-13 2017-10-19 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for processing operation
CN106161789A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 A kind of mobile terminal, the device and method of switching screen locking wallpaper
CN111095165A (en) * 2017-08-31 2020-05-01 苹果公司 Systems, methods, and graphical user interfaces for interacting with augmented and virtual reality environments
US20220019334A1 (en) * 2017-08-31 2022-01-20 Apple Inc. Systems, Methods, and Graphical User Interfaces for Interacting with Augmented and Virtual Reality Environments
CN107608605A (en) * 2017-09-28 2018-01-19 北京金山安全软件有限公司 Image display method and device, electronic equipment and storage medium
WO2022017261A1 (en) * 2020-07-24 2022-01-27 华为技术有限公司 Image synthesis method and electronic device
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device
CN112882779A (en) * 2021-02-04 2021-06-01 北京小米移动软件有限公司 Lock screen display control method and device, mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭建璞: "《多媒体技术应用 基于创新创业能力培养》", 28 February 2019, 中国铁道出版社有限公司 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695634A (en) * 2022-09-09 2023-02-03 荣耀终端有限公司 Wallpaper display method, electronic equipment and storage medium
CN115695634B (en) * 2022-09-09 2023-11-24 荣耀终端有限公司 Wallpaper display method, electronic equipment and storage medium
WO2024051556A1 (en) * 2022-09-09 2024-03-14 荣耀终端有限公司 Wallpaper display method, electronic device and storage medium

Also Published As

Publication number Publication date
CN114780012B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN111176504B (en) Interface element display method and electronic equipment
US20210098022A1 (en) Method for generating video, and electronic device and readable storage medium thereof
CN111966252A (en) Application window display method and electronic equipment
WO2021244443A1 (en) Split-screen display method, electronic device, and computer readable storage medium
CN110288689B (en) Method and device for rendering electronic map
CN113805744A (en) Window display method and electronic equipment
WO2023040666A1 (en) Keyboard display method, foldable screen device, and computer-readable storage medium
CN110928464A (en) User interface display method, device, equipment and medium
US20230377306A1 (en) Video Shooting Method and Electronic Device
CN114780012B (en) Display method and related device of screen locking wallpaper of electronic equipment
CN112905280B (en) Page display method, device, equipment and storage medium
CN115640083A (en) Screen refreshing method and equipment capable of improving dynamic performance
CN116091329B (en) Image processing method, device, equipment and storage medium
CN115018692B (en) Image rendering method and electronic equipment
WO2023005751A1 (en) Rendering method and electronic device
CN116672707B (en) Method and electronic device for generating game prediction frame
CN116688494B (en) Method and electronic device for generating game prediction frame
CN114866641B (en) Icon processing method, terminal equipment and storage medium
CN116700655B (en) Interface display method and electronic equipment
CN116700554B (en) Information display method, electronic device and readable storage medium
CN113821153B (en) Gesture navigation method, electronic device and readable storage medium
US20240040235A1 (en) Video shooting method and electronic device
CN117850928A (en) Application display method and electronic equipment
US20240064397A1 (en) Video Shooting Method and Electronic Device
CN117806744A (en) Control display method and electronic equipment

Legal Events

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