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

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

Info

Publication number
CN114780012B
CN114780012B CN202210702031.6A CN202210702031A CN114780012B CN 114780012 B CN114780012 B CN 114780012B CN 202210702031 A CN202210702031 A CN 202210702031A CN 114780012 B CN114780012 B CN 114780012B
Authority
CN
China
Prior art keywords
screen
sliding
wallpaper
image element
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.)
Active
Application number
CN202210702031.6A
Other languages
Chinese (zh)
Other versions
CN114780012A (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 display method and the related device for the screen locking wallpaper of the electronic equipment, in the switching process of the screen locking wallpaper, according to the sliding operation of the user on the screen of the electronic equipment, the electronic equipment 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. According to the display method of the screen locking wallpaper, the display effect of the switching animation is better, smoother and natural, the display of the dynamic interface element is influenced by gestures and actions of a user, the interaction perceptibility is stronger for the user, the user experience is improved, and the user viscosity of the product is enhanced.

Description

Display method and related device of screen locking wallpaper of electronic equipment
Technical Field
The application relates to the technical field of electronics, in particular to a display method and a related device of screen locking wallpaper of electronic equipment.
Background
When a user uses the terminal device, a screen locking wallpaper is usually set for the terminal device. The user can watch wallpaper pictures of the screen locking interface after lighting the screen, and the pictures can be magazine pictures, scenery pictures, character pictures and the like.
When the terminal device is in a bright screen and screen locking state, the terminal device generally improves user experience by displaying screen locking 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 between the terminal equipment and the user in a screen locking state is improved. For example, when the user performs a left-hand or right-hand sliding operation on the screen and the sliding operation is insufficient to unlock the terminal device, the terminal device may switch to the last screen-locking wallpaper or to the next screen-locking wallpaper.
Disclosure of Invention
According to the display method and the related device for the screen locking wallpaper of the electronic equipment, the screen locking wallpaper can be dynamically displayed in an animation mode along with user operation in the switching process of the screen locking wallpaper, and interaction between a user and the equipment is enhanced.
In a first aspect, the present application provides a method for displaying a lock 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 screen locking wallpaper of the electronic device, and the target display parameter comprises at least one of the following display parameters: size, rotation angle, transparency, ambiguity, or position.
Optionally, the size in the foregoing display parameters may include a length and/or a width of the first image element; the rotation angle in the foregoing display parameters may be an angle rotated based on various reference objects, for example, a rotation angle in a direction perpendicular to the display screen and toward the user, and for example, an angle rotated in a sliding direction of a sliding operation; the embodiments of the present application are not limited in this regard.
Optionally, the image element may be an integral part of the screen locking wallpaper, or the screen locking wallpaper.
According to the method, before the lock screen wallpaper is switched, sliding operation of a user is detected, and the dynamic image element is changed in response to the sliding operation, so that display of the dynamic image element is influenced by action gestures of the user, and the user is more sensitive to interaction.
With reference to the first aspect, in some implementations of the first aspect, when the electronic device is in a screen locking state, receiving a screen brightening operation input by a user; and lightening the display screen in response to the screen lightening operation, and displaying the first screen locking wallpaper through the display screen.
Alternatively, the foregoing operation of lighting the display screen may be an operation in which the electronic apparatus lights the display screen in response to an operation of the user; as an example, the screen-lighting operation may be a contact operation, for example, a user touches a screen of the electronic device, a sensor of the electronic device detects the contact signal, and further, lights up the screen, and for example, the user touches a key of the electronic device, and the electronic device lights up the screen based on the key signal; as yet another example, the screen-lighting operation may be a non-contact operation, for example, a user approaches the electronic device, a sensor of the electronic device detects approach of the user, and thus lights up the screen, and for example, a user uses a gesture to the electronic device at intervals, a sensor of the electronic device detects a gesture operation of the user, and thus lights up 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, drawing a first screen locking wallpaper in response to a screen-brightening operation; and after the first screen locking wallpaper is drawn, the display screen is lightened, and the first screen locking wallpaper is displayed through the display screen.
Optionally, the drawing operation may be that the processor of the electronic device reads pixel information of an image from the 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 buffer the display information into the display buffer.
According to the method, the screen locking wallpaper is drawn in advance before the screen is lightened, the problem that the response speed of wallpaper drawing is low due to the fact that real-time computing resources are occupied by other applications of a mobile phone can be avoided, smoothness of switching of the screen locking wallpaper is improved, and user experience is further improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, drawing a second lock wallpaper in response to a screen lighting operation; when the touch screen of the electronic equipment performs the second sliding operation, the user draws the third screen locking wallpaper, and switches 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 larger than or equal to the second sliding amplitude.
According to the method, before the screen locking wallpaper is switched, the screen locking wallpaper to be switched is drawn in advance, the problem that the response speed of wallpaper drawing is low due to the fact that real-time computing resources are occupied by other applications of a mobile phone can be avoided, smoothness of screen locking wallpaper switching is improved, and use experience of a user is further improved.
With reference to the first aspect and the foregoing implementation manner, 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 lock 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, and the dynamic image element is changed in response to the sliding operation, so that the display of the dynamic image element is influenced by the action gesture of the user, and the user is more sensitive to interaction.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, lock screen wall paper information is acquired, where the lock screen wall paper 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, and the third information is used to indicate M values of a target display parameter of the first image element, where 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 relation between the value of the target display parameter and the sliding amplitude.
Optionally, the value of the target display parameter may be adjusted based on the lock screen wallpaper information, the first sliding amplitude, and a preset relationship between the sliding amplitude and the position, for example, the target display parameter is determined based on the corresponding relationship between the sliding amplitude and the third information, then the second image is generated based on the second information and the target display parameter, and the first lock screen wallpaper is generated based on the first image and the second image.
According to the method, when the sliding amplitude is multiple, the sliding amplitude corresponds to different display parameters, namely different display images, so that the smoothness of display of the image elements is enhanced, and meanwhile, the display of the dynamic image elements is enabled to follow the action gesture of a user.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, M values are in one-to-one correspondence with M sliding magnitudes; if the first sliding amplitude is one of 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 screen locking wallpaper is adjusted to be a fourth value between the second value and the 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 of the sliding amplitude corresponding to the sliding amplitude similar to the sliding amplitude can be taken according to the preset rule, the discontinuous sense or the discontinuous sense of the display of the image elements between the adjacent actions is effectively smoothed, and the fluency of the lock screen wallpaper in the dynamic display process is improved.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, acquiring lock screen wall paper information includes: and receiving the lock screen wallpaper information from the cloud server.
According to the method, the lock screen wallpaper information can be stored in the local storage of the electronic equipment, and meanwhile, the lock screen wallpaper information can be acquired through communication with the cloud server, so that the richness of the lock screen wallpaper is increased, and the use experience of a user is improved.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, the target display parameter includes a position, and accordingly, when a sliding amplitude of the first sliding operation is different in a plurality of sliding amplitudes, the position of the first image element is a different position in a plurality of positions, the plurality of positions are in one-to-one correspondence with the plurality of sliding amplitudes, 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 display 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, in the process of switching the screen locking wallpaper, according to the sliding operation of the user on the screen of the electronic device, the electronic device controls the display effect of the dynamic image element in the wallpaper and the display process of the dynamic image element by detecting the gesture of the user sliding the screen, so as to control the animation effect presented in the wallpaper switching process, and enable the animation presented in the switching process to be 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 can enable the display effect of the switching animation to be better, smoother and natural, the display of dynamic interface elements is influenced by gestures and actions of a user, the interaction perceptibility is stronger for the user, the user experience is improved, and the user viscosity of a 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 screen locking wallpaper of the electronic device, and the target display parameter comprises 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, when the electronic device is in a screen locking state, receiving a screen brightening operation input by a user; 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, the first screen locking wallpaper is drawn in response to a screen-brightening operation; and after the first screen locking wallpaper is drawn, the display screen is lightened, and the first screen locking wallpaper is displayed through the display screen.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, drawing a second lock screen wallpaper in response to a screen lighting operation; when the touch screen of the electronic equipment performs the second sliding operation, the user draws the third screen locking wallpaper, and switches 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 larger than or equal to the second sliding amplitude.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second 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.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, lock screen wall paper information is acquired, where the lock screen wall paper 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, and the third information is used to indicate M values of a target display parameter of the first image element, where 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 relation between the value of the target display parameter and the sliding amplitude.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, M values are in one-to-one correspondence with M sliding magnitudes; if the first sliding amplitude is one of 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 screen locking wallpaper is adjusted to be a fourth value between the second value and the 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.
With reference to the second aspect and the foregoing implementation manners, in some implementation manners of the second aspect, acquiring lock screen wall paper information includes: and receiving the lock screen wallpaper information from the cloud server.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, the target display parameter includes a position, and accordingly, when a sliding amplitude of the first sliding operation is a different sliding amplitude of the plurality of sliding amplitudes, the position of the first image element is a different position of the plurality of positions, the plurality of positions are in one-to-one correspondence with the plurality of sliding amplitudes, and the plurality of positions are located on the same bezier curve.
In a third aspect, the present application provides an apparatus, which is included in an electronic device, the apparatus having a function of implementing the above aspect and a possible implementation of the above aspect, as regards behavior of the electronic device. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware and software include one or more modules or units corresponding to the functions described above. 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 the computing device.
In a fourth aspect, the present application provides an electronic device, comprising: a processor, a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to implement the method of displaying a lock 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, which when executed by a processor is configured to implement a method for displaying a lock wallpaper of an 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 of displaying a lock 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 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 application;
FIG. 2 is a block diagram of a software architecture of an electronic device according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a method for displaying a lock wallpaper according to an embodiment of the present application;
FIG. 4 is a graphical user interface diagram illustrating a display process of a lock wallpaper according to an embodiment of the present application;
FIG. 5 is a graphical user interface diagram illustrating a display process of a further lock wallpaper according to an embodiment of the present application;
FIG. 6 is a graphical user interface diagram illustrating a display process of a further lock wallpaper according to an embodiment of the present application;
fig. 7 is a schematic diagram of 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 further lock wallpaper according to an embodiment of the present application;
fig. 9 is a graphical user interface schematic diagram of a display process of another lock wallpaper according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
The technical scheme provided by the embodiment of the application can be applied to the electronic equipment capable of switching the lock screen wallpaper according to the gesture of the user. The embodiment of the application does not limit 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, a vehicle-mounted device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), and the like.
According to the technical scheme, the image elements in the screen locking 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 further the functional satisfaction degree of the user to the electronic equipment can be improved.
As an example, fig. 1 is a schematic structural diagram of an electronic device according to an 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 (universalserial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity 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 structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system. In some embodiments, the processor 110 may include one or more interfaces, for example, the interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronousreceiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processorinterface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serialbus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (displayserial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
For example, in the present application, the processor 110 may be coupled to 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 a touch function of the display screen. Alternatively, the processor 110 may control the display process of the interface element on the display screen 194, where the processor 110 and the display screen 194 communicate through the DSI interface, and further control the display process of the dynamic interface element on the display screen 194 of the electronic device 100, for example, control the change of the size of the dynamic interface element, the change of the rotation angle, the change of different transparency, the change of different positions, the change of the blur degree, and so on.
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 for wireless communication including 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 the 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 transmits the demodulated low frequency baseband signal to the 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 sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless localarea networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency Modulation (FM), near field communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the electronic device 100.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrixorganic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot lightemitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. Wherein the ISP is used to process the 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 onto 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 enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, a file such as a lock wallpaper is stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including 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 through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal.
The gyro sensor 180B may be used to determine a motion gesture 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 cover 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 device 100 emits infrared light outward 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 may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100.
The ambient light sensor 180L is used to sense ambient light level.
The temperature sensor 180J is for detecting temperature. The bone conduction sensor 180M may acquire a vibration signal. The keys 190 include a power-on key, a volume key, etc.
The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. 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 form a touch screen, also referred to as a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
In the embodiment of the application, the display screen of the electronic device displays the screen locking wallpaper, the touch sensor 180K detects a gesture or action of a user, the processor determines a movement track of an image element in the screen locking application currently displayed by 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 microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a block diagram of a software architecture of an example electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 2, in connection with the description of the embodiments of the present application, the application package may include an application program such as a lock screen, a setting, and the like, where the lock screen 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 the electronic device.
The application framework layer provides an application programming interface (a pplica tionprogramming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire 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 interface elements of the lock wallpaper in the display screen.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, 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, a display of wallpaper on a display interface, or a display interface including dynamic interface elements on wallpaper, may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification managers, are used to notify the user of the completion of the download, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, 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 a status bar, or a notification is made by emitting a notification sound, vibration, flashing an indicator light, or the like.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of 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 program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
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 graphics processing library and the like can participate in the display process of the interface element of the electronic device, and detailed description of the specific display process is omitted here.
The kernel layer is a layer between hardware and software. The kernel layer contains at least display driver, sensor driver, etc.
For easy understanding, the following embodiments of the present application take an electronic device having a structure shown in fig. 1 and fig. 2 as an example, and specifically describe a display method of a lock wallpaper provided in the embodiments of the present application in combination with the accompanying drawings and application scenarios.
The user slides the screen in the state of lighting the screen, the wallpaper image displayed by the screen can be switched, and the switching process of the wallpaper image can correspond to the display process of different interface elements. One possible display process of the interface element is to move in a preset direction. Specifically, taking a wallpaper image of a football kicked by a player as an example, taking a football in the wallpaper image as a dynamic interface element, and moving the football according to 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 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 to be understood that although the various steps of the methods are presented in a particular order in the embodiments of the present application, the order of the steps may be altered in different embodiments. Alternatively, in some embodiments, one or more steps shown in sequence in this specification may be performed simultaneously. Alternatively, in some embodiments, only a portion of the steps of 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 lock screen paper 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 providing a lock screen paper service.
For example, the cloud server may update the lock screen information to the electronic device once a day or every week.
S320, the electronic device sends request information to the cloud server, wherein the request information is used for requesting lock screen wallpaper information. Correspondingly, the cloud server receives the request information of the lock screen wallpaper information.
For example, after receiving an instruction input by a user to request to update the lock screen paper information, the electronic device sends request information of the lock screen paper information to the cloud server.
S330, the cloud server sends lock screen wallpaper information to the electronic device based on the request information of the electronic device. Accordingly, the electronic device receives the lock screen wallpaper information.
The lock screen 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 lock wallpaper, which may also be referred to as lock wallpaper. As an example, the lock wallpaper may contain a landscape image, a character image, etc.
The second parameter may include data information for one or more image elements corresponding to each of the at least one lock-screen wallpaper. As an example, an image element may include any one or more elements in an image. For example, the image elements may include football, satellite, car, character, and the like.
As an example, when the first parameter (i.e., the first information described above) indicates N Zhang Suobing wallpaper, there may be M lock wallpapers in the N Zhang Suobing wallpaper, and the second parameter (i.e., the second information described above) may indicate an image element corresponding to each lock wallpapers in the M Zhang Suobing wallpaper in the N Zhang Suobing wallpaper, where each lock wallpapers 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 is displayed on the electronic equipment, and the image element is displayed in a superimposed mode.
The third parameter (i.e. the aforementioned third information) may comprise a trajectory parameter of the image element. For example, the third parameter may comprise one or more positions of the image element in the corresponding lock wallpaper, or one or more display angles of the image element when displayed superimposed with the corresponding lock wallpaper, etc.
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 in x-axis: 0.1,0.3,0.8,1.0), (position in y-axis: 0.5,0.55,0.55,0.5). Wherein the first value 0.1 in the x-axis direction and the first value 0.5 in the y-axis direction together represent that the picture element is located in the following position on the image: the lower left corner of the image is taken as the origin, one tenth of the image in the x-axis direction and one half of the image in the y-axis direction are taken, and other ratios are analogized.
One example of the x-axis direction is a direction along the right of the short screen with the lower left corner of the mobile phone screen facing the user as the origin; one example of the y-axis direction is along the long screen upward direction 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, and may also 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-axis 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, other ratios, and so on.
One example of the z-axis direction is along the screen to the user with the lower left corner of the cell phone screen facing the user as the origin.
S340, the electronic device displays a user interface based on the user instruction and the lock screen wallpaper information.
In the application, after the electronic equipment receives the lock screen paper information, the lock screen paper information can be recorded; and after receiving the operation instruction of the user in the screen locking state, the corresponding user interface can be displayed based on the operation instruction of the user and combined 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 for drawing the screen locking 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 will be described by taking an electronic device as an example of a mobile phone.
As shown in fig. 4, fig. 4 is a schematic diagram of a graphical user interface (graphical user interface, GUI) of a mobile phone in a locked state according to an embodiment of the present application. As in (a) of fig. 4, the mobile phone is in the lock mode, and the user interface 401 thereof may be a black screen interface.
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 a screen, that is, when the mobile phone detects that a trigger instruction exists on the screen, the mobile phone responds to the trigger instruction to draw the screen locking wallpaper based on the received screen locking wallpaper information.
In some possible implementations, the mobile phone may first determine whether the target lock wallpaper is static wallpaper or dynamic wallpaper based on the lock wallpaper information in response to the unlock instruction. If the wall paper is static wall paper, the static wall paper can be directly drawn based on the first parameter in the lock screen wall paper information; if the wallpaper is dynamic wallpaper, the dynamic wallpaper can be drawn based on the first parameter, the second parameter and the third parameter in the lock screen wallpaper information.
In this embodiment, the target lock wallpaper includes a currently upcoming lock wallpaper. Optionally, the target lock-screen wallpaper may further include one or more previous lock-screen wallpapers to be displayed, and/or one or more subsequent lock-screen wallpapers to be displayed.
For example, the first parameter indicates N Zhang Suobing wallpaper, when the mobile phone detects that a trigger instruction exists on the screen, S target screen locking wallpaper can be drawn, the middle sequential screen locking wallpaper of S Zhang Suobing wallpaper is even the displayed screen locking wallpaper, 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 lock screen wallpaper information includes 1 series 2 data information about the ordered lock screen wallpaper, and the mobile phone can draw the 12 th, 1 st and 2 nd lock screen wallpaper just after unlocking the mobile phone and displaying the 1 st lock screen wallpaper of the 12 lock screen wallpapers.
When the target lock wallpaper is determined to be static wallpaper or dynamic wallpaper based on the lock wallpaper information, as an example, the mobile phone may determine whether the lock wallpaper information includes the second parameter and/or the third parameter to determine whether the target lock wallpaper is static wallpaper or dynamic wallpaper. If the second parameter and/or the third parameter are/is included, the wallpaper is dynamic wallpaper; if the second parameter is not included and the third parameter is not included, the wallpaper is static wallpaper.
When judging whether the target screen locking wallpaper is static wallpaper or dynamic wallpaper based on the screen locking wallpaper information, as another example, the mobile phone judges whether the information in the second parameter and/or the third parameter in the screen locking wallpaper information is empty. If the information in the second parameter and/or the third parameter is not null, the dynamic wallpaper is obtained; and if the information in the second parameter and the third parameter is empty, the static wallpaper is obtained.
If the static wallpaper is the static wallpaper, drawing the static wallpaper according to the first parameter, and storing the drawn static wallpaper into a cache of a mobile phone display.
In the case of dynamic wallpaper, as a first example, static wallpaper may be drawn according to a first parameter, then image elements may be drawn according to a second parameter, then the image elements and the static wallpaper may be superimposed (or synthesized) to obtain dynamic wallpaper, and the drawn dynamic wallpaper may be stored in a cache of a mobile phone display.
If the dynamic wallpaper is the dynamic wallpaper, as a second example, drawing the static wallpaper according to the first parameter, drawing the image element based on the static wallpaper based on the second parameter, thereby obtaining the dynamic wallpaper, and storing the dynamic wallpaper in a cache of a mobile phone display.
In this embodiment, the screen-locking wallpaper is drawn in advance before the screen is lightened, so that the problem of slow wallpaper drawing response speed caused by occupation of real-time computing resources by other applications of the mobile phone can be avoided, smoothness of screen-locking wallpaper switching is improved, and use experience of a user is further improved.
After the mobile phone draws the lock screen wallpaper, the screen is lightened, and the lock screen wallpaper is displayed. One user interface for a lock wallpaper displayed by a cell phone is shown as display interface 402 in figure 4 (b).
At this time, the display interface of the mobile phone screen is switched from the interface 401 of the (a) diagram to the interface 402 of the (b) diagram. As an example, the image element 41 and the image element 42 are included in the interface 402, the image element 41 being an image element contained in a static wallpaper, the image element 42 being an image element capable of moving with the movement of the user touch position.
When the finger of the user operates on the screen, namely when the mobile phone detects that a moving trigger instruction exists on the screen, the image element can be displayed in a corresponding changing mode along with the operation of the user. Fig. 5 is a schematic diagram of a graphical user interface (graphical user interface, GUI) of a lock screen wallpaper display process according to an embodiment of the present application. One of the image element changes is changed from the display interface 501 in the diagram (a) to the display interface 502 in the diagram (b) in fig. 5.
As an example, in response to the magnitude of the user sliding, the display interface of the mobile phone screen is converted from interface 501 of fig. 5 (which may correspond to interface 401 of fig. 4 (a)) to interface 502 of fig. 4 (b), wherein interface 501 includes image element 52, interface 502 includes image element 53, and image element 53 is the image element obtained by moving and rotating image element 52.
Alternatively, the interface on the cell phone may revert from interface 502 to interface 501 when the user's finger is moved away from the cell phone screen or slid in the opposite direction to the previous sliding direction.
When the mobile phone displays the interface shown in fig. 5 (b), if the finger of the user continues to slide rightward 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 503 shown in fig. 5 (c). The interface 503 includes an image element 54, and the image element 54 is an image element obtained by moving and rotating the image element 53.
When the mobile phone displays the interface shown in fig. 5 (c), if the finger of the user slides 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). The interface 504 includes the image element 55, and the image element 55 is a moving and rotating image element 54.
Taking the image element indicated by the second parameter in the lock screen wall paper information as football, the third parameter includes the following matters as examples: (position in x-axis: 0.1,0.3,0.8,1.0), (position in y-axis: 0.5,0.55,0.55,0.5), and (rotation angle in z-axis: 0,0.3,0.7,1.0), an implementation is described in which the mobile phone redraws the image elements based on the screen size and the sliding parameters generated by the user operation to display dynamic wallpaper after the image element position is moved.
In this example, based on the configuration of four positions and four angles corresponding to the four positions one by one in the lock screen wall paper information, the mobile phone can uniformly select four amplitude values within the range of the target maximum slidable amplitude, and the four amplitude values correspond to the four positions and the four angles one by 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 sliding amplitude of the finger of the user is one third of the maximum sliding amplitude of the target, the image element corresponds to a second position and a second rotation angle; when the sliding amplitude of the finger of the user is two thirds of the maximum sliding amplitude of the target, the image element corresponds to a third position and a third rotation angle; when the sliding amplitude of the finger of the user is the target maximum sliding amplitude, the image element corresponds to the fourth position and the fourth rotation angle.
The target maximum slidable range is the maximum slidable range which does not unlock the mobile phone screen and does not switch the lock screen wallpaper. For example, if the sliding width 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 lock screen 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 handset detects a touch by a user's finger to illuminate a screen, as shown in FIG. (a), which displays an interface 501 containing image elements 52. At this time, since the user's cell phone sliding amplitude is zero, the position of the image element 52 in the short screen direction (corresponding to the x-axis direction) is at 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 z-axis direction rotation angle in the user direction) is 0 degrees.
When the user's finger slides rightward from the left edge position of the screen to the position shown in the figure (b), for example, the sliding width is one third of the maximum sliding width (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 second position, and the rotation angle is the second rotation angle.
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, the position of the image element 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 the angle of rotation. The resulting image element is drawn, for example, as image element 53 in the (b) diagram in fig. 5, the image element 53 corresponding to moving the image element 52 from the initial position to the second position, and rotating the image element 52 108 degrees in the off-screen direction.
When the user's finger continues to slide to the right to the position shown in (c), as an example, the mobile phone can determine that the position of the image element is the third position and the rotation angle is the third rotation angle based on the third parameter when the sliding amplitude is two-thirds of the maximum slidable amplitude (i.e., one-half of the width of the mobile phone) which is the target.
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, the position of the image element 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 the angle of rotation. The resulting image element is drawn, for example, as image element 54 in the (c) diagram of fig. 5, with image element 54 corresponding to moving image element 52 from the initial position to the third position and rotating image element 52 252 degrees in the off-screen direction.
When the user's finger continues to slide rightward to the position shown in the (d) diagram, and 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 a fourth position, and the rotation angle is a fourth rotation angle.
That is, the position of the image element in the short screen direction of the mobile phone is the most edge of the screen of the mobile phone, the position in the long screen direction of the mobile phone is 0.5 of the length of the screen of the mobile phone, and the rotation angle is 360 degrees. The handset can redraw the image elements on the handset screen based on the position and the angle of rotation. The resulting image element is drawn, for example, as image element 55 in the (d) diagram of fig. 5, with image element 55 corresponding to moving image element 52 from the initial position to the third position and rotating image element 52 360 degrees (or no rotation) in the off-screen direction.
The above embodiments introduce the re-rendering of the image elements after movement and rotation in real time based on the magnitude of the user's finger swipe. It will be appreciated that this is merely an example, and the drawing timing of the image elements after movement and rotation is not limited in the embodiments of the present application. For example, after the mobile phone receives the screen locking wall paper information or after the user inputs an instruction to lighten the screen, the image elements in different positions and different rotation angles are drawn in advance based on the second parameter and the third parameter, and then the screen locking graph displayed based on the drawn image elements is directly displayed when the sliding amplitude of the user reaches a specific ratio.
It can be understood that the mobile phone can be further configured with the following information: a rule that the movement trajectory of the image element should satisfy between any two adjacent positions indicated by the third parameter. For example, the image element may be moved along a straight line or may be moved along a bezier curve between any two adjacent positions indicated by the third parameter. If the image element moves along the bezier curve, the smoothness of the moving track of the image element can be improved, and the display effect can be improved.
The information configured in the mobile phone can be issued by the cloud server or can be preconfigured in the mobile phone.
When the movement rule is configured in the mobile phone, and the sliding amplitude of the finger of the user is located between two adjacent sliding amplitudes with the uniform value, 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 by one between two positions corresponding to the two adjacent sliding amplitudes based on the rule, and even can add M rotating angles corresponding to the M sliding amplitudes one by one between two rotating angles corresponding to the two adjacent sliding amplitudes, wherein M is a positive integer. In this way, when the sliding amplitude of the finger of the user is equal to any sliding amplitude of the M sliding amplitudes, the mobile phone may draw the image element corresponding to the any sliding amplitude by using the similar method, and display a 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 with corresponding positions and rotation angles for 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 can add M positions for the image element between any two adjacent positions indicated by the second parameter, and smooth the M positions by using the Bezier curve, so that the M positions and the any two adjacent positions form the Bezier curve as far as possible.
As an example, after the bezier curve smoothing processing is performed on the image element position that follows the change in the sliding amplitude of the user's finger, an example of the movement locus of the image element is shown as a broken line in fig. 6. As is evident from fig. 6, the movement trace is more realistic.
In this embodiment, it can be understood that adjusting the position of the image element and the rotation angle in the z-axis direction along with the change of the sliding amplitude of the finger of the user 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 sliding amplitude of the finger should fall within the protection scope of this embodiment as long as the screen locking state is achieved. 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 sliding changes.
Taking the image element in fig. 5 as an example, an example diagram of adjusting the size, the rotation angle in other directions, and the transparency of the image element with the change of the sliding amplitude of the finger of the user is shown in fig. 7.
As an example, the dynamic image element soccer may change in size from 1 to n, n being smaller than 1, as the changing effect shown in the (a) diagram of fig. 7. When the size of the football image element is 1, the size of the element may be the largest size, and the football image element gradually decreases in size during display. When the football image element has a size n, the element may have a minimum size and a standard size for final display. It should be appreciated 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 reverting to the original state. For example, the size of the image element 55 on the interface diagram as shown in fig. 5 (d) may be the same.
Alternatively, as an example, the football image element may change in size from 1 to n, n being greater than 1, as shown by the changing effect in the (b) diagram of fig. 7. When the size of the football image element is 1, the size of the element may be the smallest size, and the football image element gradually increases in size during display. When the football image element has a size n, the element may have a maximum size and be of a standard size for final display. It should be appreciated that the size of the standard dimension of the final display is the element size that the user sees before the interface diagram switches or when reverting to the original state, which is not limited in this embodiment of the application.
Alternatively, as an example, the football image element may change gradually from 1 to n in size, and then from n to 1, where n is smaller than 1, as shown in the (c) diagram of fig. 7. When the size of the football image element is 1, the size of the element may be a standard size. In the display process, the size of the football image element is gradually reduced to be smaller than the standard size of final display, and then gradually increased until the element size is 1, the football image element becomes the final standard size, and the embodiment of the application is not limited.
Alternatively, the change state of the rotation angle of the soccer ball during the display of the dynamic image elements 52 to 55 in the diagrams (a) to (d) in fig. 5 is corresponded.
As an example, the soccer ball image element may be changed as shown in the (d) diagram 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 the 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 appreciated that the standard angle size of the final display is the element angle that the user sees before the interface diagram switches or when reverting to the original state. For example, the angular size of the image element 55 on the interface diagram as shown in fig. 5 (d) may be mentioned.
It is understood that the rotation angle of the moving image element is not limited to the two-dimensional graph in the present embodiment, and is also applicable to the case when the moving image element is a three-dimensional graph, which is not described herein.
Alternatively, the football transparency size is changed in the display process corresponding to the dynamic image elements 52 to 55 in the diagrams (a) to (d) in fig. 5. As an example, the football image element may have a change effect as shown in the (e) diagram of fig. 7, in which the transparency of the football image element gradually changes from 1 to n, where n is smaller than 1. When the transparency changes to n, the transparency size of the element may be a standard transparency size, and the transparency size of the football image element gradually becomes the standard transparency size of the final display during the display. It should be appreciated that the transparency size of the final display is the transparency of the element that the user sees before the interface diagram switches or when reverting to the original state.
Alternatively, the change state of the soccer ball position during the display of the dynamic image elements 52 to 55 in the diagrams (a) to (d) in fig. 5 is corresponded. As an example, in connection with the size change process of the diagrams (a) to (c) in fig. 7, the position is gradually moved to the preset position as the soccer ball image element is displayed to the standard size of the final display. For example, the image element 52 on the interface diagram shown in fig. 5 (a) moves to the position of the image element 55 on the interface diagram shown in fig. (d) with the size change process.
As another example, in connection with the rotation angle change process of the graph (d) in fig. 7, the position is gradually moved to the preset position as the soccer image element is displayed to the standard angle of the final display. For example, the image element 52 on the interface map shown in fig. 5 (a) may be moved to the position of the image element 55 on the interface map shown in fig. (d) with the rotation angle change process.
As yet another example, in connection with the transparency change process of the (e) diagram in fig. 7, the position is gradually moved to the preset position as the football image element is displayed to the standard transparency of the final display. For example, the image element 52 on the interface map shown in fig. 5 (a) moves to the position of the image element 55 on the interface map shown in fig. (d) with the transparency change process.
Alternatively, the state of change in the degree of blurring 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. In the display process of the football element, the blurring degree of the element gradually rises until the element is completely blurred, and the blurring degree is finally displayed for the image element. It should be appreciated that the degree of blurring of the image elements may be achieved by an algorithm of blurring processing, such as a gaussian blurring algorithm, a mean blurring algorithm, etc., and the type of the blurring control algorithm is not limited in this application. For dynamic image elements, 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 carry out blurring processing. As an example, when the degree of blurring is 1, 5000 pixels are extracted from 100×100 pixels to perform blurring processing; when the degree of the herding is 0.5, 1000 pixels are extracted from 100×100 pixels to perform blurring processing, and when the degree of blurring is 0, 100×100 pixels are displayed normally, which is not limited in the embodiment of the present application.
Optionally, the mobile phone may obtain a sliding speed of the user before the finger leaves the screen when sliding, 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, in the process of displaying the dynamic image element differently, the dynamic image element may be displayed according to the change of its size, the change of the rotation angle, the change of different transparency, the change of different positions, the change of the blurring degree, etc. or the dynamic image element may lengthen or shorten the duration of displaying the dynamic image element to the final form according to the speed before the finger leaves the screen, etc. which will not be described herein.
As an example, when the speed of the finger before leaving the screen is 10 pixels per millisecond (px/ms) when the user slides, the change of the size of the moving picture element itself, the change of the rotation angle, the change of the different transparency, the change of the different position, the change of the degree of blurring, and the like are completed within 100ms, the final effect is presented, and whether to switch the interface map or enter the desktop is determined according to the proportion of the screen size in the direction of the finger displacement distance in the screen sliding direction. When the speed of the finger before leaving the screen is 50px/ms during sliding of the user, the change of the size of the moving image element, the change of the rotation angle, the change of different transparency, the change of different positions, the change of the blurring degree and the like are completed within 50ms, the final effect is presented, and whether to switch the interface diagram or enter the desktop is determined according to the proportion of the screen size of the finger in the direction of the displacement distance of the finger in the sliding direction of the screen.
The faster the user's finger sliding speed on the display screen, the shorter the interval duration of the change of the dynamic image element, in other words, the faster the user's finger sliding speed, the shorter the overall duration of the moving image element moving to the final position to form the final interface diagram to complete the animation.
As an example, when the horizontal included angle between the sliding track of the user sliding and the short side of the mobile phone is 40 °, the change of the size of the moving image element, the change of the rotation angle, the change of the different transparency, the change of the different positions, the change of the blurring 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 screen size of the finger in the direction occupied by the displacement distance of the finger in the screen sliding direction. When the horizontal included angle between the sliding track of the user sliding and the short side of the mobile phone is 30 degrees, the change of the size of the self dimension, the change of the rotation angle, the change of different transparency, the change of different positions, the change of the blurring degree and the like of the dynamic image element are completed within 50ms, the final effect is presented, and whether to switch the interface diagram or enter the desktop is determined according to the proportion of the screen dimension of the finger in the direction of the screen sliding direction, wherein the displacement distance of the finger occupies the screen dimension in the direction.
In some possible implementations, when the sliding range of the user on the screen of the mobile phone exceeds a preset proportion, or when the sliding time of the user on the screen of the mobile phone exceeds a preset value, that is, when the mobile phone detects that the triggering instruction of the screen exceeds a preset threshold, the mobile phone switches the current screen locking wallpaper.
As an example, as shown in fig. 8, when the user's finger continues to slide rightward from the middle position of the screen of (a) to the position shown in (b), 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 value 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 short side dimension parameter of the mobile phone screen is ten centimeters, the mobile phone detects the trigger instruction when the displacement distance of the finger of the user sliding in the direction parallel to the short side of the screen exceeds five centimeters, and performs the operation of switching the screen locking wallpaper.
Wherein the still image element 81 and the moving image element 82 in the interface diagram 801 are overlaid or replaced with the image element 83, thereby generating the lock wallpaper shown in the interface diagram 802 of the (b) diagram.
Alternatively, the image element 83 may be already drawn and stored in a buffer of the display, or when the mobile phone detects that there is a trigger instruction for switching the lock screen wallpaper on the screen, the image element 83 is drawn in real time to finally generate the lock screen wallpaper shown in the interface 802, which is not limited herein.
Alternatively, the image element 83 in the interface diagram 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 triggering 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 to be understood that the rightward sliding shown in the embodiment of the present application is only one example, and the present application is not limited to a specific sliding direction or displacement distance.
As yet another example, when the mobile phone is in the unlocked state, the mobile phone screen display interface may be switched to the mobile phone desktop when the user's finger continues to slide to the right on the screen beyond a preset ratio, i.e., when the mobile phone detects that there is a trigger instruction to switch the lock screen wallpaper on the screen.
Fig. 9 is a schematic diagram of a graphical user interface (graphical user interface, GUI) of an interface element display process provided in an embodiment of the present application, where the mobile phone responds to an operation of a user in a preset range or event on a screen, and draws an interface 901 including a static interface element 91 and a dynamic interface element 92 in the diagram (a), and when a user's finger continues to slide to the right to execute 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, the mobile phone screen switches to a desktop as shown by the interface 902 in the diagram (b).
Optionally, the mobile phone desktop may be a main interface including an application icon, or an interface operated by a user when the user is on the screen for the previous time, for example, the user uses a video application program when the user is on the screen for the previous time, the interface diagram stays on the interface of the video application program, when the mobile phone is in the unlocked state, and when the user's finger continues to slide rightwards on the screen beyond a preset proportion, that is, when the mobile phone detects that a trigger instruction for switching the lock screen wrapper exists on the screen, the mobile phone screen display interface may be switched to the interface of the video application program, and 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.
It should be understood that the rightward sliding shown in the embodiments of the present application is only an example, and the present application is not limited to a specific sliding direction or displacement distance.
In summary, the method for displaying the screen locking wallpaper can be based on the fact that the electronic device controls the display effect of the dynamic image element in the wallpaper and the display process of the dynamic image element by detecting the gesture of the user sliding the screen in the wallpaper switching process of the screen locking application, 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 can enable the display effect of the switching animation to be better, smoother and natural, the display of dynamic interface elements is influenced by gestures and actions of a user, the interaction perceptibility is stronger for the user, the user experience is improved, and the user viscosity of a product is enhanced.
It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. The steps of an algorithm for each example described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The present embodiment may divide the functional modules of the electronic device 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 modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
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 that of the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage an action of the electronic device, for example, may be configured to support the electronic device to perform the above steps. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one 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 the structure shown in fig. 1.
The present embodiment also provides a computer readable storage medium, where computer instructions are stored, and when the computer instructions are executed on an electronic device, the electronic device is caused to execute the related method steps to implement the method for displaying the lock wallpaper in the foregoing embodiment.
The present embodiment also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the display method of the lock wallpaper in the above-mentioned embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer-executed instructions, and when the device is operated, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the display method of the screen locking wallpaper in the method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions to cause a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely 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 about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to 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 (11)

1. A method for displaying a lock wallpaper of an electronic device, the method comprising:
when the electronic equipment is in a screen locking state, receiving a screen brightening operation input by a user;
the display screen is lightened in response to the screen lightening operation, and the first screen locking wallpaper is displayed through the display screen;
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 comprises a position, a rotation angle and an ambiguity;
The adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper according to the first sliding amplitude of the first sliding operation includes:
acquiring lock screen paper information, wherein the lock screen paper 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, and the third information
M values for indicating the target display parameter of the first image element, the M values comprising a sequence value in an x-axis direction, a sequence value in a y-axis direction, and a sequence value in a z-axis direction; the sequence value in the z-axis direction is used to indicate the rotation angle of the first image element; 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 a correspondence between the value of the target display parameter and the sliding amplitude;
the method further comprises the steps of:
drawing a second screen locking wallpaper in response to the screen-brightening operation;
when a user performs a second sliding operation on a touch screen of the electronic equipment, drawing 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 larger than or equal to the second sliding amplitude;
And when the touch screen of the electronic equipment performs a third sliding operation, the user adjusts the target display parameter of the second image element in the second screen locking 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.
2. The method of claim 1, wherein the illuminating the display screen in response to the bright screen operation and displaying the first lock wallpaper through the display screen comprises:
drawing the first screen locking wallpaper in response to the screen-brightening operation;
and after the first screen locking wallpaper is drawn, the display screen is lightened, and the first screen locking wallpaper is displayed through the display screen.
3. The method of claim 1, wherein the M values correspond one-to-one to M sliding magnitudes; correspondingly, the adjusting the value of the target display parameter of the first image element in the first screen-locking wallpaper based on the lock screen wallpaper information, the first sliding amplitude, and the correspondence between the value of the target display parameter and the sliding amplitude includes:
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 be a first value corresponding to the first sliding amplitude in the M values;
And 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 screen locking wallpaper to a fourth value which is positioned between a second value and a third value in the M values, wherein the sliding amplitude corresponding to the second value is the minimum sliding amplitude which is 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 which is smaller than the first sliding amplitude in the M sliding amplitudes.
4. A method according to claim 3, wherein the obtaining lock screen wallpaper information comprises:
and receiving the lock screen wallpaper information from the cloud server.
5. The method of claim 4, wherein the target display parameter comprises a position, and wherein the position of the first image element is a different position of a plurality of positions when the sliding amplitude of the first sliding operation is a different sliding amplitude of a plurality of sliding amplitudes, the plurality of positions are in one-to-one correspondence with the plurality of sliding amplitudes, and the plurality of positions are on a same bezier curve.
6. 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, receiving a screen brightening operation input by a user;
the display screen is lightened in response to the screen lightening operation, and the first screen locking wallpaper is displayed through the display screen; 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 comprises a position, a rotation angle and an ambiguity;
the adjusting the value of the target display parameter of the first image element in the first screen locking wallpaper according to the first sliding amplitude of the first sliding operation includes:
acquiring lock screen paper information, wherein the lock screen paper 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, and the third information
M values for indicating the target display parameter of the first image element, the M values comprising a sequence value in an x-axis direction, a sequence value in a y-axis direction, and a sequence value in a z-axis direction; the sequence value in the z-axis direction is used to indicate the rotation angle of the first image element; 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 a correspondence between the value of the target display parameter and the sliding amplitude;
The electronic device further performs the steps of:
drawing a second screen locking wallpaper in response to the screen-brightening operation;
when a user performs a second sliding operation on a touch screen of the electronic equipment, drawing 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 larger than or equal to the second sliding amplitude;
and when the touch screen of the electronic equipment performs a third sliding operation, the user adjusts the target display parameter of the second image element in the second screen locking 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.
7. The electronic device of claim 6, wherein the lighting the display screen in response to the bright screen operation and displaying the first lock wallpaper through the display screen causes the electronic device to perform the steps of:
drawing the first screen locking wallpaper in response to the screen-brightening operation;
and after the first screen locking wallpaper is drawn, the display screen is lightened, and the first screen locking wallpaper is displayed through the display screen.
8. The electronic device of claim 7, wherein the M values correspond one-to-one with M sliding magnitudes; correspondingly, when the value of the target display parameter of the first image element in the first screen-locking wallpaper is adjusted based on the lock screen wallpaper information, the first sliding amplitude and the corresponding relation between the value of the target display parameter and the sliding amplitude, the electronic equipment 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 screen locking wallpaper to be a first value corresponding to the first sliding amplitude in the M values;
and 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 screen locking wallpaper to a fourth value which is positioned between a second value and a third value in the M values, wherein the sliding amplitude corresponding to the second value is the minimum sliding amplitude which is 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 which is smaller than the first sliding amplitude in the M sliding amplitudes.
9. The electronic device of claim 8, wherein the obtaining the lock screen wallpaper information causes the electronic device to perform the steps of:
and receiving the lock screen wallpaper information from the cloud server.
10. The electronic device of claim 9, wherein the target display parameter comprises a position, and wherein, accordingly, when the sliding amplitude of the first sliding operation is a different sliding amplitude of the plurality of sliding amplitudes, the position of the first image element is a different position of the plurality of positions, the plurality of positions are in one-to-one correspondence with the plurality of sliding amplitudes, and the plurality of positions are on a same bezier curve.
11. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, which when executed by a processor, is configured to implement a method of displaying a lock wallpaper of an electronic device according to any of claims 1 to 6.
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 CN114780012A (en) 2022-07-22
CN114780012B true 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)

Families Citing this family (1)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8117281B2 (en) * 2006-11-02 2012-02-14 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
EP2175343A1 (en) * 2008-10-08 2010-04-14 Research in Motion Limited A method and handheld electronic device having a graphical user interface which arranges icons dynamically
CN105242826B (en) * 2015-09-21 2018-07-10 北京元心科技有限公司 A kind of method and apparatus for realizing 3D dynamic wallpapers on the mobile apparatus
CN105867794A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Acquisition method and device of associated information of screen locking wallpaper
CN105912258B (en) * 2016-04-13 2019-12-13 北京小米移动软件有限公司 Operation processing method and device
CN106161789A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 A kind of mobile terminal, the device and method of switching screen locking wallpaper
CN112882779A (en) * 2021-02-04 2021-06-01 北京小米移动软件有限公司 Lock screen display control method and device, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111095165A (en) * 2017-08-31 2020-05-01 苹果公司 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

Also Published As

Publication number Publication date
CN114780012A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN111176504B (en) Interface element display method and electronic equipment
CN113805745B (en) Control method of suspension window and electronic equipment
CN114648951A (en) Method for controlling dynamic change of screen refresh rate and electronic equipment
CN112241932A (en) Picture processing method and device
CN113805744A (en) Window display method and electronic equipment
CN114780012B (en) Display method and related device of screen locking wallpaper of electronic equipment
CN116688495B (en) Frame rate adjusting method and related device
CN116091329B (en) Image processing method, device, equipment and storage medium
WO2023040666A1 (en) Keyboard display method, foldable screen device, and computer-readable storage medium
WO2023005751A1 (en) Rendering method and electronic device
CN116225274A (en) Identification method and device for touch operation, electronic equipment and storage medium
CN115018692B (en) Image rendering method and electronic equipment
CN116672707B (en) Method and electronic device for generating game prediction frame
CN116688494B (en) Method and electronic device for generating game prediction frame
CN116382896B (en) Calling method of image processing algorithm, terminal equipment, medium and product
CN116700655B (en) Interface display method and electronic equipment
CN113821153B (en) Gesture navigation method, electronic device and readable storage medium
CN114866641B (en) Icon processing method, terminal equipment and storage medium
CN117097883B (en) Frame loss fault cause determining method, electronic equipment and storage medium
CN116955208B (en) Test method, terminal equipment, chip and storage medium
CN114816311B (en) Screen movement method and device
CN117806744A (en) Control display method and electronic equipment
CN117850928A (en) Application display method and electronic equipment
CN116700554A (en) Information display method, electronic device and readable storage medium
CN117724783A (en) Dynamic effect 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