[go: up one dir, main page]

CN114780012B - Method for displaying lock screen wallpaper of electronic equipment and related device - Google Patents

Method for displaying lock screen wallpaper of electronic equipment and related device 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
value
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 OR CALCULATING; 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 OR CALCULATING; 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

电子设备的锁屏壁纸的显示方法和相关装置Method for displaying lock screen wallpaper of electronic equipment and related device

技术领域technical field

本申请涉及电子技术领域,尤其涉及电子设备的锁屏壁纸的显示方法和相关装置。The present application relates to the field of electronic technology, and in particular to a method for displaying a lock screen wallpaper of an electronic device and a related device.

背景技术Background technique

用户在在使用终端设备时,通常会为终端设备设置锁屏壁纸。用户点亮屏幕后可观看锁屏界面的壁纸图片,这些图片可以是杂志图、风景图、人物图等。When using a terminal device, a user usually sets a lock screen wallpaper for the terminal device. After turning on the screen, the user can watch the wallpaper pictures on the lock screen interface, and these pictures can be magazine pictures, landscape pictures, person pictures, etc.

终端设备处于亮屏且锁屏状态时,终端设备通常会通过显示锁屏壁纸来提高用户体验。When the terminal device is in a bright screen and locked screen state, the terminal device usually improves user experience by displaying a lock screen wallpaper.

终端设备显示当前锁屏壁纸时,若接收到用户输入的锁屏壁纸切换指令,则会切换到其他锁屏壁纸,以提高终端设备在锁屏状态下与用户的交互性。例如,用户在屏幕上进行左滑操作或右滑操作,且该滑动操作又不足以解锁该终端设备时,终端设备会切换到上一页锁屏壁纸或切换到下一页锁屏壁纸。When the terminal device displays the current lock screen wallpaper, if it receives a lock screen wallpaper switch command input by the user, it will switch to other lock screen wallpapers, so as to improve the interactivity between the terminal device and the user in the lock screen state. For example, when the user swipe left or right on the screen, and the swipe operation is not enough to unlock the terminal device, the terminal device will switch to the previous lock screen wallpaper or switch to the next lock screen wallpaper.

发明内容Contents of the invention

本申请提供的电子设备的锁屏壁纸的显示方法和相关装置,该方法可以使得锁屏壁纸的切换过程随用户操作呈动画进行动态显示,增强用户与设备间的交互。The present application provides a method for displaying a lock screen wallpaper of an electronic device and a related device. The method can make the switching process of the lock screen wallpaper dynamically displayed as an animation with user operations, thereby enhancing the interaction between the user and the device.

第一方面,本申请提供一种电子设备的锁屏壁纸的显示方法,包括:在电子设备处于锁屏状态时,通过电子设备的显示屏显示第一锁屏壁纸;用户在电子设备的触摸屏进行第一滑动操作时,根据第一滑动操作的第一滑动幅度调整第一锁屏壁纸中第一图像元素的目标显示参数的值,第一滑动幅度小于第二滑动幅度,第二滑动幅度为电子设备的锁屏壁纸进行切换所需的最小滑动幅度,目标显示参数包括以下显示参数中至少一种:尺寸、旋转角度、透明度、模糊度或位置。In a first aspect, the present application provides a method for displaying a lock screen wallpaper of an electronic device, including: when the electronic device is in the lock screen state, displaying the first lock screen wallpaper through the display screen of the electronic device; During the first sliding operation, the value of the target display parameter of the first image element in the first lock screen wallpaper is adjusted according to the first sliding range of the first sliding operation, the first sliding range is smaller than the second sliding range, and the second sliding range is electronic The minimum sliding range required to switch the lock screen wallpaper of the device, and the target display parameters include at least one of the following display parameters: size, rotation angle, transparency, blur or position.

可选地,前述显示参数中的尺寸可以包括第一图像元素的长度和/或宽度;前述显示参数中的旋转角度可以是基于各种参照对象进行旋转的角度,例如,垂直于显示屏且朝向用户的方向上的旋转角度,又如,在滑动操作的滑动方向上旋转的角度;本申请实施例对此不作限定。Optionally, the size in the aforementioned display parameters may include the length and/or width of the first image element; the rotation angle in the aforementioned display parameters may be an angle of rotation based on various reference objects, for example, perpendicular to the display screen and toward The rotation angle in the direction of the user is another example, the rotation angle in the sliding direction of the sliding operation; this is not limited in this embodiment of the present application.

可选地,前述图像元素可以是锁屏壁纸中的组成部分,也可以是该锁屏壁纸。Optionally, the foregoing image elements may be components of the lock screen wallpaper, or may be the lock screen wallpaper.

本申请提供的方法,通过在切换锁屏壁纸前,检测用户的滑动操作,响应于该滑动操作变化动态图像元素,使得动态图像元素的显示受用户的动作手势影响,给用户更强的交互感知性。The method provided by this application detects the user’s sliding operation before switching the lock screen wallpaper, and changes the dynamic image element in response to the sliding operation, so that the display of the dynamic image element is affected by the user’s action gesture, giving the user a stronger interaction perception sex.

结合第一方面,在第一方面的某些实现方式中,在电子设备处于锁屏状态时,接收用户输入的亮屏操作;响应于亮屏操作点亮显示屏,并通过显示屏显示第一锁屏壁纸。With reference to the first aspect, in some implementations of the first aspect, when the electronic device is in the screen-locked state, a screen-on operation input by the user is received; the display screen is turned on in response to the screen-on operation, and the first lock screen wallpaper.

可选地,前述亮屏操作可以是电子设备响应于用户的操作,点亮显示屏的操作;作为示例,该亮屏操作可以是接触性操作,例如,用户触摸电子设备的屏幕,电子设备的传感器检测到该接触信号,进而点亮屏幕,又如,用户触摸电子设备的按键,电子设备基于该按键信号,点亮屏幕;作为又一示例,该亮屏操作可以是非接触性操作,例如,用户靠近电子设备,电子设备的传感器检测到用户的靠近,进而点亮屏幕,又如,用户隔空对电子设备使用手势,电子设备的传感器检测到用户的手势操作,进而点亮屏幕。Optionally, the aforementioned screen-on operation may be an operation in which the electronic device turns on the display screen in response to a user operation; as an example, the screen-on operation may be a contact operation, for example, the user touches the screen of the electronic device, The sensor detects the contact signal, and then lights up the screen. For another example, the user touches a button of the electronic device, and the electronic device lights up the screen based on the button signal; as another example, the screen-on operation may be a non-contact operation, for example, When the user approaches the electronic device, the sensor of the electronic device detects the user's approach, and then lights up the screen. For another example, the user gestures to the electronic device from a distance, and the sensor of the electronic device detects the user's gesture operation, and then lights up the screen.

本申请提供的方法,仅在用户的输入亮屏操作时,才会显示锁屏壁纸,能够有效的提升设备能源使用效率。The method provided by the present application displays the lock screen wallpaper only when the user enters the screen brightening operation, which can effectively improve the energy efficiency of the device.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,响应于亮屏操作,绘制第一锁屏壁纸;绘制完毕第一锁屏壁纸之后,点亮显示屏,并通过显示屏显示第一锁屏壁纸。Combining the first aspect and the above implementation manners, in some implementation manners of the first aspect, in response to the screen brightening operation, draw the first lock screen wallpaper; after drawing the first lock screen wallpaper, turn on the display screen, and display The screen displays the first lock screen wallpaper.

可选地,前述绘制操作可以是电子设备的处理器从内存中读取图像的像素信息,根据该图像的像素信息确定锁屏壁纸在屏幕的像素点的显示信息,并可以将其缓存至显示缓存中。Optionally, the aforementioned drawing operation may be that the processor of the electronic device reads the pixel information of the image from the memory, determines the display information of the lock screen wallpaper at the pixel points of the screen according to the pixel information of the image, and caches it to the display in cache.

本申请提供的方法,在屏幕点亮前提前绘制锁屏壁纸,可以避免手机因实时计算资源被其他应用占用而造成的壁纸绘制响应速度慢的问题,提高锁屏壁纸切换的流畅度,进一步提升用户的使用体验。The method provided by this application draws the lock screen wallpaper in advance before the screen is lit, which can avoid the slow response speed of wallpaper drawing caused by the mobile phone’s real-time computing resources being occupied by other applications, improve the smoothness of lock screen wallpaper switching, and further improve the User experience.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,响应于亮屏操作,绘制第二锁屏壁纸;用户在电子设备的触摸屏进行第二滑动操作时,绘制第三锁屏壁纸,并将显示屏上显示的锁屏壁纸从第一锁屏壁纸切换为第二锁屏壁纸,第二滑动操作的滑动幅度大于或等于第二滑动幅度。Combining the first aspect and the above-mentioned implementation manners, in some implementation manners of the first aspect, in response to the screen brightening operation, the second lock screen wallpaper is drawn; when the user performs the second sliding operation on the touch screen of the electronic device, the third lock screen wallpaper is drawn. screen wallpaper, and switch the lock screen wallpaper displayed on the display screen from the first lock screen wallpaper to the second lock screen wallpaper, and the sliding range of the second sliding operation is greater than or equal to the second sliding range.

本申请提供的方法,在进行锁屏壁纸切换前,提前绘制好要切换的锁屏壁纸,可以避免手机因实时计算资源被其他应用占用而造成的壁纸绘制响应速度慢的问题,提高锁屏壁纸切换的流畅度,进一步提升用户的使用体验。The method provided by this application draws the lock screen wallpaper to be switched in advance before switching the lock screen wallpaper, which can avoid the problem of slow response speed of wallpaper drawing caused by the real-time computing resources of the mobile phone being occupied by other applications, and improve the lock screen wallpaper. The fluency of switching further improves the user experience.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,用户在电子设备的触摸屏进行第三滑动操作时,根据第三滑动操作的滑动幅度调整第二锁屏壁纸中第二图像元素的目标显示参数,第三滑动操作的滑动幅度小于第二滑动幅度。In combination with the first aspect and the above-mentioned implementation manners, in some implementation manners of the first aspect, when the user performs the third sliding operation on the touch screen of the electronic device, the second lock screen wallpaper in the second lock screen wallpaper is adjusted according to the sliding range of the third sliding operation. The target display parameter of the image element, the sliding range of the third sliding operation is smaller than the second sliding range.

本申请提供的方法,通过检测用户的滑动操作,响应于该滑动操作变化动态图像元素,使得动态图像元素的显示受用户的动作手势影响,给用户更强的交互感知性。The method provided in the present application changes the dynamic image element in response to the sliding operation by detecting the user's sliding operation, so that the display of the dynamic image element is affected by the user's action gesture, giving the user stronger interactive perception.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,获取锁屏壁纸信息,锁屏壁纸信息中包括第一信息、第二信息和第三信息,第一信息用于指示第一图像,第二信息用于指示第一图像元素,第三信息用于指示第一图像元素的目标显示参数的M个值,M为大于1的正整数;基于锁屏壁纸信息、第一滑动幅度以及目标显示参数的值与滑动幅度之间的对应关系调整第一锁屏壁纸中第一图像元素的目标显示参数的值。In combination with the first aspect and the above-mentioned implementation manners, in some implementation manners of the first aspect, the lock screen wallpaper information is acquired, and the lock screen wallpaper information includes first information, second information, and third information, and the first information is used to indicate The first image, the second information is used to indicate the first image element, and the third information is used to indicate M values of the target display parameters of the first image element, where M is a positive integer greater than 1; based on the lock screen wallpaper information, the first The sliding range and the corresponding relationship between the value of the target display parameter and the sliding range adjust the value of the target display parameter of the first image element in the first lock screen wallpaper.

可选地,前述目标显示参数的值还可以基于锁屏壁纸信息、第一滑动幅度以及滑动幅度和位置之间的预设关系进行调整,例如,基于滑动幅度和第三信息中的对应关系确定目标显示参数,然后基于第二信息和目标显示参数生成第二图像,基于第一图像和第二图像生成第一锁屏壁纸。Optionally, the value of the aforementioned target display parameter may also be adjusted based on the lock screen wallpaper information, the first sliding range, and the preset relationship between the sliding range and the position, for example, determined based on the corresponding relationship between the sliding range and the third information target display parameters, and then generate a second image based on the second information and the target display parameters, and generate a first lock screen wallpaper based on the first image and the second image.

本申请提供的方法,当具有多个滑动幅度时,多个滑动幅度对应不用的显示参数,即对应不同的显示图像,增强图像元素显示的流畅度,同时使得动态图像元素的显示紧随着用户的动作手势。In the method provided by this application, when there are multiple sliding ranges, the multiple sliding ranges correspond to different display parameters, that is, corresponding to different display images, so as to enhance the smoothness of displaying image elements, and at the same time make the display of dynamic image elements closely follow the user action gestures.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,M个值与M个滑动幅度一一对应;若第一滑动幅度为M个滑动幅度之一,则将第一锁屏壁纸中第一图像元素的目标显示参数的值调整为M个值中与第一滑动幅度对应的第一值;若第一滑动幅度不是M个滑动幅度之一,则将第一锁屏壁纸中第一图像元素的目标显示参数的值调整为M个值中位于第二值和第三值之间的第四值,第二值对应的滑动幅度为M个滑动幅度中大于第一滑动幅度的最小滑动幅度,第三值对应的滑动幅度为M个滑动幅度中小于第一滑动幅度的最大滑动幅度。Combining the first aspect and the above-mentioned implementation, in some implementations of the first aspect, the M values correspond to the M sliding ranges one-to-one; if the first sliding range is one of the M sliding ranges, the first lock The value of the target display parameter of the first image element in the screen wallpaper is adjusted to the first value corresponding to the first sliding range among the M values; if the first sliding range is not one of the M sliding ranges, then the first lock screen wallpaper The value of the target display parameter of the first image element in is adjusted to the fourth value between the second value and the third value among the M values, and the sliding range corresponding to the second value is larger than the first sliding range among the M sliding ranges The minimum sliding range, the sliding range corresponding to the third value is the largest sliding range smaller than the first sliding range among the M sliding ranges.

本申请提供的方法,当不存在滑动幅度与预设的目标显示参数对应的情形时,可以根据预设规则在与该滑动幅度相近的滑动幅度所对应的目标参数中取值,有效平滑相邻动作间图像元素显示的间断感或不连续感,提升锁屏壁纸动态显示过程中的流畅度。In the method provided by this application, when there is no situation where the sliding range corresponds to the preset target display parameter, the value can be selected from the target parameter corresponding to the sliding range close to the sliding range according to the preset rules, effectively smoothing the adjacent The sense of discontinuity or discontinuity in the display of image elements between actions improves the smoothness of the dynamic display of lock screen wallpapers.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,获取锁屏壁纸信息,包括:接收来自云端服务器的锁屏壁纸信息。With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, obtaining lock screen wallpaper information includes: receiving lock screen wallpaper information from a cloud server.

本申请提供的方法,锁屏壁纸信息不但可以是存储在电子设备本地的存储中,同时也可以通过与云端服务器通信获取该锁屏壁纸信息,从而增加锁屏壁纸的丰富度,提升用户的使用体验。In the method provided by this application, the lock screen wallpaper information can not only be stored in the local storage of the electronic device, but also can obtain the lock screen wallpaper information through communication with the cloud server, thereby increasing the richness of the lock screen wallpaper and improving the user's use. experience.

结合第一方面和上述实现方式,在第一方面的某些实现方式中,目标显示参数包括位置,相应地,第一滑动操作的滑动幅度为多个滑动幅度中不同滑动幅度时,第一图像元素的位置为多个位置中不同的位置,多个位置与多个滑动幅度一一对应,且多个位置位于同一条贝塞尔曲线上。In combination with the first aspect and the above-mentioned implementation manners, in some implementation manners of the first aspect, the target display parameter includes a position, and correspondingly, when the sliding range of the first sliding operation is a different sliding range among multiple sliding ranges, the first image The positions of the elements are different positions among the multiple positions, the multiple positions correspond to the multiple sliding ranges one by one, and the multiple positions are located on the same Bezier curve.

本申请提供的方法,通过让图像元素的动态显示轨迹呈贝塞尔曲线,使得图像元素的变化动画的呈现效果更自然,进一步提升用户的视觉体验。The method provided in the present application makes the dynamic display trajectory of the image element be a Bezier curve, so that the presentation effect of the change animation of the image element is more natural, and further improves the user's visual experience.

综上所述,本申请提供的一种电子设备的锁屏壁纸的显示方法可以基于用户在进行锁屏壁纸的切换过程中,根据用户在电子设备屏幕上的滑动操作,电子设备通过检测用户滑动屏幕的手势,控制壁纸中动态图像元素的显示效果,以及动态图像元素的显示过程,从而控制壁纸切换过程呈现的动画效果,使得切换过程呈现的动画与用户的手势息息相关。相对于现有壁纸切换过程中静态壁纸的固定的显示过程,本申请提供的锁屏壁纸的显示方法可以使得切换动画的显示效果更佳流畅自然,动态界面元素的显示受用户手势、动作的影响,给用户更强的交互感知性,提升用户的体验,增强产品的用户粘度。To sum up, the method for displaying the lock screen wallpaper of an electronic device provided by this application can be based on the user's sliding operation on the screen of the electronic device during the switching process of the user's lock screen wallpaper, and the electronic device detects the user's sliding Screen gestures control the display effect of dynamic image elements in the wallpaper and the display process of dynamic image elements, thereby controlling the animation effect presented during the wallpaper switching process, so that the animation presented during the switching process is closely related to the user's gestures. Compared with the fixed display process of static wallpapers in the existing wallpaper switching process, the lock screen wallpaper display method provided by this application can make the display effect of switching animations more smooth and natural, and the display of dynamic interface elements is affected by user gestures and actions , to give users a stronger sense of interaction, improve the user experience, and enhance the user viscosity of the product.

第二方面,本申请提供的一种电子设备,包括:一个或多个处理器;与处理器通信连接的存储器;以及一个或多个程序,其中一个或多个程序被存储在存储器中,当一个或多个程序被处理器执行时,使得电子设备执行以下步骤:在电子设备处于锁屏状态时,通过电子设备的显示屏显示第一锁屏壁纸;用户在电子设备的触摸屏进行第一滑动操作时,根据第一滑动操作的第一滑动幅度调整第一锁屏壁纸中第一图像元素的目标显示参数的值,第一滑动幅度小于第二滑动幅度,第二滑动幅度为电子设备的锁屏壁纸进行切换所需的最小滑动幅度,目标显示参数包括以下显示参数中至少一种:尺寸、旋转角度、透明度、模糊度或位置。In a second aspect, an electronic device provided by the present application includes: one or more processors; a memory communicated with the processor; and one or more programs, wherein one or more programs are stored in the memory, when When one or more programs are executed by the processor, the electronic device is made to perform the following steps: when the electronic device is in a locked screen state, the first lock screen wallpaper is displayed on the display screen of the electronic device; the user performs a first slide on the touch screen of the electronic device During operation, the value of the target display parameter of the first image element in the first lock screen wallpaper is adjusted according to the first sliding range of the first sliding operation, the first sliding range is smaller than the second sliding range, and the second sliding range is the electronic device lock The target display parameter includes at least one of the following display parameters: size, rotation angle, transparency, ambiguity or position.

结合第二方面,在第二方面的某些实现方式中,在电子设备处于锁屏状态时,接收用户输入的亮屏操作;响应于亮屏操作点亮显示屏,并通过显示屏显示第一锁屏壁纸。With reference to the second aspect, in some implementations of the second aspect, when the electronic device is in the screen-locked state, a screen-on operation input by the user is received; the display screen is turned on in response to the screen-on operation, and the first lock screen wallpaper.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,响应于亮屏操作,绘制第一锁屏壁纸;绘制完毕第一锁屏壁纸之后,点亮显示屏,并通过显示屏显示第一锁屏壁纸。Combining the second aspect and the above-mentioned implementations, in some implementations of the second aspect, in response to the screen brightening operation, draw the first lock screen wallpaper; after drawing the first lock screen wallpaper, turn on the display screen, and display The screen displays the first lock screen wallpaper.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,响应于亮屏操作,绘制第二锁屏壁纸;用户在电子设备的触摸屏进行第二滑动操作时,绘制第三锁屏壁纸,并将显示屏上显示的锁屏壁纸从第一锁屏壁纸切换为第二锁屏壁纸,第二滑动操作的滑动幅度大于或等于第二滑动幅度。In combination with the second aspect and the above-mentioned implementation manners, in some implementation manners of the second aspect, the second lock screen wallpaper is drawn in response to the screen brightening operation; when the user performs the second sliding operation on the touch screen of the electronic device, the third lock screen wallpaper is drawn. screen wallpaper, and switch the lock screen wallpaper displayed on the display screen from the first lock screen wallpaper to the second lock screen wallpaper, and the sliding range of the second sliding operation is greater than or equal to the second sliding range.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,用户在电子设备的触摸屏进行第三滑动操作时,根据第三滑动操作的滑动幅度调整第二锁屏壁纸中第二图像元素的目标显示参数,第三滑动操作的滑动幅度小于第二滑动幅度。In combination with the second aspect and the above-mentioned implementation manners, in some implementation manners of the second aspect, when the user performs the third sliding operation on the touch screen of the electronic device, the second lock screen wallpaper in the second lock screen wallpaper is adjusted according to the sliding range of the third sliding operation. The target display parameter of the image element, the sliding range of the third sliding operation is smaller than the second sliding range.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,获取锁屏壁纸信息,锁屏壁纸信息中包括第一信息、第二信息和第三信息,第一信息用于指示第一图像,第二信息用于指示第一图像元素,第三信息用于指示第一图像元素的目标显示参数的M个值,M为大于1的正整数;基于锁屏壁纸信息、第一滑动幅度以及目标显示参数的值与滑动幅度之间的对应关系调整第一锁屏壁纸中第一图像元素的目标显示参数的值。In combination with the second aspect and the above-mentioned implementation manners, in some implementation manners of the second aspect, the lock screen wallpaper information is acquired, and the lock screen wallpaper information includes first information, second information, and third information, and the first information is used to indicate The first image, the second information is used to indicate the first image element, and the third information is used to indicate M values of the target display parameters of the first image element, where M is a positive integer greater than 1; based on the lock screen wallpaper information, the first The sliding range and the corresponding relationship between the value of the target display parameter and the sliding range adjust the value of the target display parameter of the first image element in the first lock screen wallpaper.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,M个值与M个滑动幅度一一对应;若第一滑动幅度为M个滑动幅度之一,则将第一锁屏壁纸中第一图像元素的目标显示参数的值调整为M个值中与第一滑动幅度对应的第一值;若第一滑动幅度不是M个滑动幅度之一,则将第一锁屏壁纸中第一图像元素的目标显示参数的值调整为M个值中位于第二值和第三值之间的第四值,第二值对应的滑动幅度为M个滑动幅度中大于第一滑动幅度的最小滑动幅度,第三值对应的滑动幅度为M个滑动幅度中小于第一滑动幅度的最大滑动幅度。Combining the second aspect and the above-mentioned implementation, in some implementations of the second aspect, the M values correspond to the M sliding ranges one-to-one; if the first sliding range is one of the M sliding ranges, the first lock The value of the target display parameter of the first image element in the screen wallpaper is adjusted to the first value corresponding to the first sliding range among the M values; if the first sliding range is not one of the M sliding ranges, then the first lock screen wallpaper The value of the target display parameter of the first image element in is adjusted to the fourth value between the second value and the third value among the M values, and the sliding range corresponding to the second value is larger than the first sliding range among the M sliding ranges The minimum sliding range, the sliding range corresponding to the third value is the largest sliding range smaller than the first sliding range among the M sliding ranges.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,获取锁屏壁纸信息,包括:接收来自云端服务器的锁屏壁纸信息。With reference to the second aspect and the above implementation manners, in some implementation manners of the second aspect, obtaining lock screen wallpaper information includes: receiving lock screen wallpaper information from a cloud server.

结合第二方面和上述实现方式,在第二方面的某些实现方式中,目标显示参数包括位置,相应地,第一滑动操作的滑动幅度为多个滑动幅度中不同滑动幅度时,第一图像元素的位置为多个位置中不同的位置,多个位置与多个滑动幅度一一对应,且多个位置位于同一条贝塞尔曲线上。In combination with the second aspect and the above-mentioned implementation manners, in some implementation manners of the second aspect, the target display parameter includes a position, and correspondingly, when the sliding range of the first sliding operation is a different sliding range among multiple sliding ranges, the first image The positions of the elements are different positions among the multiple positions, the multiple positions correspond to the multiple sliding ranges one by one, and the multiple 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, and has a function of realizing the behavior of the electronic device in the above aspect and possible implementation manners of the above aspect. The functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware. Hardware and software include one or more modules or units corresponding to the functions described above. For example, a display module or unit, a detection module or unit, a processing module or unit, etc.

可选地,该装置可以是计算设备,也可以是能够应用在计算设备的芯片。Optionally, the apparatus may be a computing device, or a chip that can be applied to the computing device.

第四方面,本申请提供一种电子设备,包括:处理器,以及与处理器通信连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现第一方面的电子设备的锁屏壁纸的显示方法。In a fourth aspect, the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so as to realize the electronic device of the first aspect How to display the lock screen wallpaper in .

第五方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现第一方面的电子设备的锁屏壁纸的显示方法。In a fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to display the lock screen wallpaper of the electronic device in the first aspect method.

第六方面,本申请提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第一方面的电子设备的锁屏壁纸的显示方法。In a sixth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for displaying the lock screen wallpaper of the electronic device in the first aspect is implemented.

附图说明Description of 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.

图1为本申请一实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

图2为本申请一实施例提供的一种电子设备的软件结构框图;FIG. 2 is a software structural block diagram of an electronic device provided by an embodiment of the present application;

图3为本申请一实施例提供的一种锁屏壁纸的显示方法流程示意图;FIG. 3 is a schematic flowchart of a method for displaying a lock screen wallpaper provided by an embodiment of the present application;

图4为本申请一实施例提供的一种锁屏壁纸的显示过程的图形用户界面示意图;FIG. 4 is a schematic diagram of a graphical user interface of a lock screen wallpaper display process provided by an embodiment of the present application;

图5为本申请一实施例提供的又一种锁屏壁纸的显示过程的图形用户界面示意图;FIG. 5 is a schematic diagram of a graphical user interface of another lock screen wallpaper display process provided by an embodiment of the present application;

图6为本申请一实施例提供的又一种锁屏壁纸的显示过程的图形用户界面示意图;FIG. 6 is a schematic diagram of a graphical user interface of another lock screen wallpaper display process provided by an embodiment of the present application;

图7为本申请一实施例提供的一种动态图像元素的显示过程示意图;FIG. 7 is a schematic diagram of a display process of a dynamic image element provided by an embodiment of the present application;

图8为本申请一实施例提供的又一种锁屏壁纸的显示过程的图形用户界面示意图;FIG. 8 is a schematic diagram of a graphical user interface of another lock screen wallpaper display process provided by an embodiment of the present application;

图9为本申请一实施例提供的又一种锁屏壁纸的显示过程的图形用户界面示意图。FIG. 9 is a schematic diagram of a graphical user interface of another lock screen wallpaper display process provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。Hereinafter, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features.

本申请实施例提供的技术方案可以应用于能够根据用户的手势进行锁屏壁纸切换的电子设备上。本申请实施例对电子设备的具体类型不作任何限制。The technical solutions provided by the embodiments of the present application may be applied to electronic devices capable of switching lock screen wallpapers according to user gestures. The embodiment of the present application does not impose any limitation on the specific type of the electronic device.

例如,本申请的技术方案可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备中。For example, the technical solutions of the present application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) equipment, notebook computers, ultra mobile personal computers (ultra -mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other electronic devices.

本申请实施例提供的技术方案,可以使得电子设备显示的锁屏壁纸中的图像元素可以基于用户的操作进行移动,从而可以进一步提高电子设备与用户之间的交互性,进而可以提高用户对电子设备的功能满意度。The technical solution provided by the embodiment of the present application can make the image elements in the lock screen wallpaper displayed by the electronic device move based on the user's operation, thereby further improving the interactivity between the electronic device and the user, and further improving the user's understanding of the electronic device. Functional satisfaction of the device.

作为示例,图1是本申请实施例提供的一例电子设备的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universalserial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。As an example, FIG. 1 is a schematic structural diagram of an electronic device provided in 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 charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and user An identification module (subscriber identification module, SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.

可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP) ,调制解调处理器,图形处理器(graphicsprocessingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor (ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。在一些实施例中,处理器110可以包括一个或多个接口,例如,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universalasynchronousreceiver/transmitter,UART)接口,移动产业处理器接口(mobile industryprocessorinterface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universalserialbus,USB)接口等。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in 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 use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time 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 interface 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, universal asynchronous receiver/transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, and the like.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .

MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (displayserial interface, DSI), and the like. In some embodiments, the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 . The processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .

例如,在本申请中,处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,当用户触摸显示屏时,或者通过显示屏执行一定的触摸操作时,该触摸传感器180K可以将用户的触摸操作传递给处理器110,以实现显示屏的触摸功能。或者,处理器110可以控制显示屏194上界面元素的显示过程,处理器110和显示屏194通过DSI接口通信,进而控制电子设备100的显示屏194上动态界面元素的显示过程,例如控制动态界面元素的自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等。For example, in this application, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface. When the user touches the display screen, or performs a certain touch operation through the display screen , the touch sensor 180K can transmit the user's touch operation to the processor 110, so as to realize the touch function of the display screen. Alternatively, the processor 110 may control the display process of the interface elements on the display screen 194, and the processor 110 and the display screen 194 communicate through the DSI interface, thereby controlling the display process of the dynamic interface elements on the display screen 194 of the electronic device 100, for example, controlling the dynamic interface Changes in the size of the element itself, changes in the rotation angle, changes in different transparency, changes in different positions, changes in the degree of blur, etc.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized 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.

天线1和天线2用于发射和接收电磁波信号。移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocalarea networks,WLAN) (如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM) ,近距离无线通信技术(near field communication,NFC) ,红外技术(infrared,IR)等无线通信的解决方案。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 . The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are 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.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED) ,有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED) ,柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dotlightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dotlight emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。其中,ISP用于处理摄像头193反馈的数据。摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。视频编解码器用于对数字视频压缩或解压缩。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor. Wherein, the ISP is used for processing the data fed back by the camera 193 . Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. Video codecs are used to compress or decompress digital video.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将锁屏壁纸等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, save files such as lock screen wallpaper in the external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 .

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.

陀螺仪传感器180B可以用于确定电子设备100的运动姿态。气压传感器180C用于测量气压。磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。The gyro sensor 180B can be used to determine the motion posture 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 use the magnetic sensor 180D to detect the opening and closing of the flip leather case.

加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).

距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。The distance sensor 180F is used to measure the distance. The electronic device 100 may measure the distance by infrared or laser. Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .

环境光传感器180L用于感知环境光亮度。The ambient light sensor 180L is used for sensing ambient light brightness.

温度传感器180J用于检测温度。骨传导传感器180M可以获取振动信号。按键190包括开机键,音量键等。The temperature sensor 180J is used to detect temperature. The bone conduction sensor 180M can acquire vibration signals. The keys 190 include a power key, a volume key and the like.

按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .

马达191可以产生振动提示。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The motor 191 can generate a vibrating reminder. The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.

触摸传感器180K,也称“触控面板”触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K, also called “touch panel”, the touch sensor 180K can be arranged on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .

在本申请实施例中,电子设备的显示屏显示锁屏壁纸,触摸传感器180K检测用户手势或动作,处理器基于触摸传感器180K检测到的手势或动作确定显示屏当前显示的锁屏应用中的图像元素的移动轨迹,显示屏基于该移动轨迹显示该图像元素的移动过程。In this embodiment of the present application, the display screen of the electronic device displays the lock screen wallpaper, the touch sensor 180K detects user gestures or actions, and the processor determines the image in the lock screen application currently displayed on the display screen based on the gesture or action detected by the touch sensor 180K The moving track of the element, and the display screen displays the moving process of the image element based on the moving track.

电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .

图2是本申请实施例提供的一例电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。FIG. 2 is a block diagram of a software structure of an electronic device 100 provided by an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can consist of a series of application packages.

如图2所示,结合本申请实施例的描述,该应用程序包可以包括锁屏、设置等应用程序,其中,锁屏应用可以控制电子设备的界面上的壁纸上界面元素的显示尺寸、位置坐标以及显示效果等。As shown in Figure 2, combined with the description of the embodiment of the present application, the application package may include application programs such as lock screen and settings, wherein the lock screen application may control the display size and position of the interface elements on the wallpaper on the interface of the electronic device Coordinates and display effects, etc.

应用程序框架层为应用程序层的应用程序提供应用编程接口(a pplicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (a application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。本申请中,该窗口管理器可以参与显示屏中锁屏壁纸的界面元素的显示过程。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. In this application, the window manager may participate in the process of displaying the interface elements of the lock screen wallpaper on the display screen.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建锁屏应用。显示界面可以由一个或多个视图组成的。例如,显示界面上壁纸的显示,或者包括壁纸上动态界面元素的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build lock screen apps. A display interface can consist of one or more views. For example, the display of wallpaper on the display interface, or the display interface including dynamic interface elements on the wallpaper, may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知用户下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,或者通过发出提示音、振动、指示灯闪烁等方式进行通知。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the user that the download is complete, message reminders, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, or a notification is made by sounding, vibrating, or flashing an indicator light.

Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc. 2D graphics engine is a drawing engine for 2D drawing.

本申请中,表面管理器、三维图形处理库等可以参与电子设备的界面元素的显示过程,此处不再对具体的显示过程进行赘述。In this application, the surface manager, the three-dimensional graphics processing library, etc. may participate in the display process of the interface elements of the electronic device, and the specific display process will not be repeated here.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,传感器驱动等。The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, sensor drivers, etc.

为了便于理解,本申请以下实施例以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的锁屏壁纸的显示方法进行具体阐述。For ease of understanding, the following embodiments of the present application take the electronic device with the structure shown in FIG. 1 and FIG. 2 as an example, and describe the method for displaying the lock screen wallpaper provided by the embodiment of the present application in detail in combination with the drawings and application scenarios.

用户在点亮屏幕状态下,滑动屏幕,可以切换屏幕所显示的壁纸图像,壁纸图像的切换过程可以对应不同的界面元素的显示过程。一种可能的界面元素的显示过程是按预设方向进行移动。具体地,以球员踢球的壁纸图为例,以壁纸图中的足球为动态界面元素,用户滑动屏幕的过程中,该足球按照预设方向进行移动。In the state of turning on the screen, the user can slide the screen to switch the wallpaper image displayed on the screen, and the switching process of the wallpaper image can correspond to the display process of different interface elements. A possible display process of the interface element is to move in a preset direction. Specifically, taking the wallpaper picture of a player playing football as an example, the football in the wallpaper picture is used as a dynamic interface element, and the football moves in a preset direction when the user slides the screen.

图3为本申请实施例提供的一种锁屏壁纸的显示方法的示意性流程图。如图3所示,该方法可以包括S310、S320、S330和S340。FIG. 3 is a schematic flowchart of a method for displaying a lock screen wallpaper provided by an embodiment of the present application. As shown in Fig. 3, the method may include S310, S320, S330 and S340.

可以理解的是,虽然本申请的实施例中,以特定顺序呈现了方法的各个步骤,但是可以在不同的实施例中改变步骤的顺序。或者,在一些实施例中,可以同时执行在本说明书中按顺序示出的一个或多个步骤。或者,在一些实施例中,可以仅执行图3中部分步骤,例如,可以仅执行S310,或可以仅执行S320和S330。It can be understood that, although the various steps of the method are presented in a specific order in the embodiments of the present application, the order of the steps can be changed in different embodiments. Alternatively, in some embodiments, one or more steps shown sequentially in this specification may be performed concurrently. Alternatively, in some embodiments, only part of the steps in FIG. 3 may be performed, for example, only S310 may be performed, or only S320 and S330 may be performed.

S310,云端服务器周期性向电子设备发送锁屏壁纸信息。相应地,电子设备周期性接收该锁屏壁纸信息。S310. The cloud server periodically sends lock screen wallpaper information to the electronic device. Correspondingly, 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 wallpaper service.

例如,云端服务器可以每天或者每个星期向电子设备更新一次锁屏壁纸信息。For example, the cloud server can update the lock screen wallpaper information to the electronic device every day or every week.

S320,电子设备向云端服务器发送请求信息,该请求信息用于请求锁屏壁纸信息。相应地,云端服务器接收该锁屏壁纸信息的请求信息。S320. The electronic device sends request information to the cloud server, where the request information is used to request 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 the user requesting to update the lock screen wallpaper information, the electronic device sends request information for the lock screen wallpaper information to the cloud server.

S330,云端服务器基于电子设备的请求信息向电子设备发送锁屏壁纸信息。相应地,电子设备接收该锁屏壁纸信息。S330. The cloud server sends lock screen wallpaper information to the electronic device based on the request information of the electronic device. Correspondingly, the electronic device receives the lock screen wallpaper information.

本实施例中的锁屏壁纸信息可以包括第一参数、第二参数和第三参数中至少一种。The lock screen wallpaper information in this embodiment may include at least one of the first parameter, the second parameter and the third parameter.

其中,第一参数可以包括一张或多张锁屏壁纸的数据信息,该锁屏壁纸也可以称为锁屏壁纸。作为示例,锁屏壁纸可以包含风景图、人物图等。Wherein, the first parameter may include data information of one or more lock screen wallpapers, and the lock screen wallpapers may also be called lock screen wallpapers. As an example, the lock screen wallpaper may contain landscape images, human figure images, and the like.

第二参数可以包括至少一张锁屏壁纸中每张锁屏壁纸对应的一个或多个图像元素的数据信息。作为示例,图像元素可以包括图像中任一种或多种元素。例如,图像元素可以包括足球、卫星、汽车、人物等等。The second parameter may include data information of one or more image elements corresponding to each lock screen wallpaper in at least one lock screen wallpaper. As an example, an image element may include any one or more elements in an image. For example, image elements may include footballs, satellites, cars, people, and so on.

作为示例,第一参数(即前述第一信息)指示N张锁屏壁纸时,这N张锁屏壁纸中可以有M张锁屏壁纸存在对应的图像元素,即第二参数(即前述第二信息)可以指示这N张锁屏壁纸中的M张锁屏壁纸中每张锁屏壁纸对应的图像元素,其中,每张锁屏壁纸可以对应一个或多个图像元素,M为小于或等于N的正整数。As an example, when the first parameter (that is, the aforementioned first information) indicates N lock screen wallpapers, among the N lock screen wallpapers, M lock screen wallpapers may have corresponding image elements, that is, the second parameter (that is, the aforementioned second information) may indicate that the N An image element corresponding to each of the M lock screen wallpapers among the lock screen wallpapers, wherein each lock screen wallpaper may correspond to one or more image elements, and M is a positive integer less than or equal to N.

本实施例中,存在对应图像元素的锁屏壁纸可以称为动态壁纸,不存在对应图像元素的锁屏壁纸可以称为静态壁纸。锁屏壁纸对应的图像元素是指该锁屏壁纸在电子设备上显示的同时,还叠加显示该图像元素。In this embodiment, a lock screen wallpaper with corresponding image elements may be called a dynamic wallpaper, and a lock screen wallpaper without corresponding image elements may be called a static wallpaper. The image element corresponding to the lock screen wallpaper means that when the lock screen wallpaper is displayed on the electronic device, the image element is superimposed and displayed.

第三参数(即前述第三信息)可以包含图像元素的轨迹参数。例如,第三参数可以包含图像元素在对应的锁屏壁纸中的一个或多个位置,或图像元素与对应的锁屏壁纸叠加显示时该图像元素的一个或多个显示角度等。The third parameter (ie, the aforementioned third information) may include a trajectory parameter of the image element. For example, the third parameter may include one or more positions of the image element in the corresponding lock screen wallpaper, or one or more display angles of the image element when the image element is superimposed on the corresponding lock screen wallpaper.

可选地,第三参数可以通过比值来指示图像元素所在位置。例如,第三参数可以包含如下信息:(x轴方向上位置:0.1,0.3,0.8,1.0),(y轴方向上位置:0.5,0.55,0.55,0.5)。其中,x轴方向上的第一个数值0.1和y轴方向上的第一个数值0.5合起来可以表示图像元素位于图像上如下位置:以图像左下角为原点,x轴方向上图像十分之一处、y轴方向上二分之一处,其他比值依次类推。Optionally, the third parameter may indicate the location of the image element through a ratio. For example, the third parameter may include the following information: (positions in the x-axis direction: 0.1, 0.3, 0.8, 1.0), (positions in the y-axis direction: 0.5, 0.55, 0.55, 0.5). Among them, the combination of the first value 0.1 in the x-axis direction and the first value 0.5 in the y-axis direction can indicate that the image element is located at the following position on the image: with the lower left corner of the image as the origin, 10% of the image in the x-axis direction One place, one-half place on the y-axis direction, other ratios and so on.

其中,x轴方向的一种示例为以手机屏幕正对用户时的左下角为原点,沿着短屏向右的方向;y轴方向的一种示例为以手机屏幕正对用户时的左下角为原点,沿着长屏向上的方向。Among them, an example of the x-axis direction is to take the lower left corner of the mobile phone screen facing the user as the origin, and move to the right along the short screen; an example of the y-axis direction is the lower left corner of the mobile phone screen facing the user As the origin, along the upward direction of the long screen.

可选地,第三参数可以通过绝对角度来指示图像元素的旋转角度,也可以通过比值来指示图像元素的旋转角度。例如,第三参数可以包括如下信息:(Z轴方向上旋转角度:0,108,252,360)。又如,第三参数可以包括如下信息:(Z轴方向上旋转角度:0,0.3,0.7,1.0),则0.3指示图像元素的旋转角度为360度的十分之三,即108度,其他比值以此类推。Optionally, the third parameter may indicate the rotation angle of the image element through an absolute angle, or may indicate the rotation angle of the image element through a ratio. For example, the third parameter may include the following information: (rotation angle in the Z-axis direction: 0, 108, 252, 360). As another example, the third parameter may include the following information: (rotation angle in the Z-axis direction: 0, 0.3, 0.7, 1.0), then 0.3 indicates that the rotation angle of the image element is three-tenths of 360 degrees, that is, 108 degrees, and others ratio and so on.

其中,z轴方向的一种示例为以手机屏幕正对用户时的左下角为原点,沿着屏幕至用户的方向。An example of the z-axis direction is a direction along the screen to the user with the lower left corner of the mobile phone screen facing the user as the origin.

S340,电子设备基于用户指令和锁屏壁纸信息显示用户界面。S340. The electronic device displays a user interface based on the user instruction and the lock screen wallpaper information.

本申请中,电子设备接收到锁屏壁纸信息之后,可以将锁屏壁纸信息记录下来;并在锁屏状态下接收到用户的操作指令之后,可以基于用户的操作指令结合锁屏壁纸信息显示相应的用户界面。In this application, after the electronic device receives the lock screen wallpaper information, it can record the lock screen wallpaper information; and after receiving the user's operation instruction in the lock screen state, it can display the corresponding lock screen wallpaper information based on the user's operation instruction. user interface.

作为示例,检测到用户的具有滑动幅度的滑动操作,根据该滑动操作和前述第二参数及第三参数生成该滑动幅度所对应的显示参数,该显示参数用于绘制显示在用户界面中的锁屏壁纸。As an example, a user's sliding operation with a sliding range is detected, and the display parameters corresponding to the sliding range are generated according to the sliding operation and the aforementioned second and third parameters, and the display parameters are used to draw the lock displayed in the user interface. screen wallpaper.

下面以电子设备为手机为例,介绍基于用户的操作指令和锁屏壁纸信息显示用户界面的实现方式。Taking the electronic device as a mobile phone as an example, an implementation manner of displaying a user interface based on a user's operation instruction and lock screen wallpaper information is introduced below.

如图4所示,图4为本申请一个实施例提供的手机处于锁屏状态时的图形用户界面(graphical user interface,GUI)示意图。如图4中(a),手机处于锁屏模式下,其用户界面401可以是黑屏界面。As shown in FIG. 4 , FIG. 4 is a schematic diagram of a graphical user interface (graphical user interface, GUI) provided by an embodiment of the present application when the mobile phone is in a locked screen state. As shown in (a) of FIG. 4 , the mobile phone is in the lock screen mode, and its user interface 401 may be a black screen interface.

当手机检测到解锁指令时,手机响应于该解锁指令,基于接收到的锁屏壁纸信息进行锁屏壁纸的绘制。例如,当用户的手指触摸屏幕时,即手机检测到屏幕上存在触发指令时,手机响应于该触发指令,基于接收到的锁屏壁纸信息进行锁屏壁纸的绘制。When the mobile phone detects the unlocking instruction, the mobile phone responds to the unlocking instruction and draws the lock screen wallpaper based on the received lock screen wallpaper information. For example, when the user's finger touches the screen, that is, when the mobile phone detects that there is a trigger instruction on the screen, the mobile phone responds to the trigger instruction and draws the lock screen wallpaper based on the received lock screen wallpaper information.

在一些可能的实现方式中,手机响应于解锁指令,可以先基于锁屏壁纸信息判断目标锁屏壁纸为静态壁纸还是动态壁纸。若为静态壁纸,则可以直接基于锁屏壁纸信息中的第一参数绘制得到静态壁纸;若为动态壁纸,则可以基于锁屏壁纸信息中的第一参数、第二参数和第三参数绘制得到动态壁纸。In some possible implementation manners, in response to the unlocking instruction, the mobile phone may first determine whether the target lock screen wallpaper is a static wallpaper or a dynamic wallpaper based on the lock screen wallpaper information. If it is a static wallpaper, the static wallpaper can be drawn directly based on the first parameter in the lock screen wallpaper information; if it is a dynamic wallpaper, it can be drawn based on the first parameter, the second parameter and the third parameter in the lock screen wallpaper information dynamic wallpaper.

本实施例中,目标锁屏壁纸包括当前即将显示的锁屏壁纸。可选地,目标锁屏壁纸还可以包括即将显示的锁屏壁纸的前一张或多张锁屏壁纸,和/或,即将显示的锁屏壁纸的后一张或多张锁屏壁纸。In this embodiment, the target lock screen wallpaper includes the lock screen wallpaper to be displayed currently. Optionally, the target lock screen wallpaper may also include one or more lock screen wallpapers before the lock screen wallpaper to be displayed, and/or, one or more lock screen wallpapers after the lock screen wallpaper to be displayed.

例如,第一参数指示N张锁屏壁纸,手机检测到屏幕上存在触发指令时,可以绘制S张目标锁屏壁纸,这S张锁屏壁纸的中间顺位锁屏壁纸为即使显示的锁屏壁纸,S为小于或等于N的正整数。作为示例,S等于3或等于5。For example, the first parameter indicates N lock screen wallpapers. When the mobile phone detects that there is a trigger command on the screen, it can draw S target lock screen wallpapers. A positive integer less than or equal to N. As an example, S is equal to 3 or equal to 5.

例如,锁屏壁纸信息中包含1系2有排序关张锁屏壁纸的数据信息,手机解锁之后即将显示这12张锁屏壁纸中的第1张锁屏壁纸,则手机可以绘制第12张、第1张和第2张锁屏壁纸。For example, the lock screen wallpaper information contains the data information of 1 series 2 related lock screen wallpapers, and the first lock screen wallpaper among the 12 lock screen wallpapers will be displayed after the mobile phone is unlocked, then the mobile phone can draw the 12th, 1st and 12th lock screen wallpapers. 2 lock screen wallpapers.

基于锁屏壁纸信息判断目标锁屏壁纸为静态壁纸还是动态壁纸时,作为一个示例,手机可以判断锁屏壁纸信息中是否包含第二参数和/或第三参数来判断是静态壁纸还是动态壁纸。若包含第二参数和/或第三参数,则为动态壁纸;若既不包含第二参数也不包含第三参数,则为静态壁纸。When judging whether the target lock screen wallpaper is a static wallpaper or a dynamic wallpaper based on the lock screen wallpaper information, as an example, the mobile phone may determine whether the lock screen wallpaper information includes the second parameter and/or the third parameter to determine whether it is a static wallpaper or a dynamic wallpaper. If it contains the second parameter and/or the third parameter, it is a dynamic wallpaper; if neither the second parameter nor the third parameter is contained, it is a static wallpaper.

基于锁屏壁纸信息判断目标锁屏壁纸为静态壁纸还是动态壁纸时,作为另一个示例,手机判断锁屏壁纸信息中的第二参数和/或第三参数中的信息是否为空。若第二参数和/或第三参数中信息不为空,则为动态壁纸;若第二参数和第三参数中信息均为空,则为静态壁纸。When determining whether the target lock screen wallpaper is a static wallpaper or a dynamic wallpaper based on the lock screen wallpaper information, as another example, the mobile phone determines whether the information in the second parameter and/or the third parameter in the lock screen wallpaper information is empty. If the information in the second parameter and/or the third parameter is not empty, it is a dynamic wallpaper; if the information in the second parameter and the third parameter are both empty, it is a static wallpaper.

若为静态壁纸,根据该第一参数对静态壁纸进行绘制,并可以将绘制好的该静态壁纸存储至手机显示器的缓存中。If it is a static wallpaper, the static wallpaper is drawn according to the first parameter, and the drawn static wallpaper can be stored in the buffer memory of the mobile phone display.

若为动态壁纸,作为第一种示例,可以根据第一参数绘制出静态壁纸,再根据第二参数绘制出图像元素,然后将图像元素和静态壁纸叠加(或者说合成)得到动态壁纸,并将绘制所得动态壁纸存储至手机显示器的缓存中。If it is a dynamic wallpaper, as the first example, the static wallpaper can be drawn according to the first parameter, and the image element can be drawn according to the second parameter, and then the image element and the static wallpaper can be superimposed (or synthesized) to obtain a dynamic wallpaper, and the The drawn dynamic wallpaper is stored in the cache memory of the mobile phone display.

若为动态壁纸,作为第二种示例,根据第一参数绘制出静态壁纸,再基于第二参数在静态壁纸的基础上绘制图像元素,从而得到动态壁纸,并将动态壁纸存储至手机显示器的缓存中。If it is a dynamic wallpaper, as the second example, draw a static wallpaper according to the first parameter, and then draw image elements on the basis of the static wallpaper based on the second parameter, so as to obtain a dynamic wallpaper, and store the dynamic wallpaper to the cache of the mobile phone display middle.

本实施例中,在屏幕点亮前提前绘制锁屏壁纸,可以避免手机因实时计算资源被其他应用占用而造成的壁纸绘制响应速度慢的问题,提高锁屏壁纸切换的流畅度,进一步提升用户的使用体验。In this embodiment, the lock screen wallpaper is drawn in advance before the screen is turned on, which can avoid the problem of slow response speed of wallpaper drawing caused by the real-time computing resources of the mobile phone being occupied by other applications, improve the smoothness of lock screen wallpaper switching, and further improve user experience. use experience.

手机绘制好锁屏壁纸之后,点亮屏幕,并显示锁屏壁纸。手机显示的锁屏壁纸的一种用户界面如图4中(b)图中的显示界面402所示。After drawing the lock screen wallpaper on the mobile phone, turn on the screen and display the lock screen wallpaper. A user interface of the lock screen wallpaper displayed on the mobile phone is shown in the display interface 402 in (b) of FIG. 4 .

此时,手机屏幕的显示界面由(a)图的界面401转换到(b)图的界面402。作为示例,界面402中包括图像元素41和图像元素42,图像元素41是静态壁纸中所包含的图像元素,图像元素42是能够随着用户触摸位置移动而移动的图像元素。At this time, the display interface of the mobile phone screen is switched from the interface 401 in (a) to the interface 402 in (b). As an example, the interface 402 includes an image element 41 and an image element 42. The image element 41 is an image element contained in a static wallpaper, and the image element 42 is an image element that can move as the user touches the position.

当用户的手指在屏幕上操作时,即手机检测到屏幕上存在移动的触发指令时,图像元素能够随着用户的操作进行相应的变化显示。图5为本申请实施例提供的一种锁屏壁纸显示过程的图形用户界面(graphical user interface,GUI)的示意图。图像元素的变化过程中的一种如图5中(a)图中显示界面501变换至(b)图中的显示界面502。When the user's finger operates on the screen, that is, when the mobile phone detects that there is a moving trigger instruction on the screen, the image elements can be displayed in corresponding changes according to the user's operation. FIG. 5 is a schematic diagram of a graphical user interface (graphical user interface, GUI) in a lock screen wallpaper display process provided by an embodiment of the present application. One of the changing processes of image elements is as shown in Fig. 5 (a) where the display interface 501 is transformed into the display interface 502 in (b).

作为示例,手机响应于用户滑动的幅度,手机屏幕的显示界面由图5中的(a)图的界面501(可以对应于图4中(a)图的界面401)转换到(b)图的界面502,其中,界面501中包含图像元素52,界面502中包含图像元素53,图像元素53为图像元素52进行移动和旋转所得的图像元素。As an example, the mobile phone responds to the user's sliding range, and the display interface of the mobile phone screen is converted from the interface 501 in (a) in Figure 5 (which may correspond to the interface 401 in (a) in Figure 4 ) to the one in (b) An interface 502, wherein the interface 501 includes an image element 52, the interface 502 includes an image element 53, and the image element 53 is an image element obtained by moving and rotating the image element 52.

可选地,当用户手指离开手机屏幕或朝前述滑动方向的相反方向滑动时,手机上的界面可以从界面502恢复到界面501。Optionally, when the user's finger leaves the screen of the mobile phone or slides in the opposite direction of the aforementioned sliding direction, the interface on the mobile phone can be restored from interface 502 to interface 501 .

手机显示图5中的(b)图所示界面时,若用户的手指在手机屏幕上继续向右滑动,即若手机检测到屏幕上存在持续移动触发指令,则手机屏幕可以显示如图5中的(c)图所示界面503。界面503中包含图像元素54,图像元素54为图像元素53进行移动和旋转所得的图像元素。When the mobile phone displays the interface shown in (b) in Figure 5, if the user's finger continues to slide to the right on the mobile phone screen, that is, if the mobile phone detects that there is a continuous movement trigger command on the screen, the mobile phone screen can be displayed as shown in Figure 5 (c) shows the interface 503 . 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 .

手机显示图5中的(c)图所示界面时,若用户的手指在手机屏幕上再次向右滑动,即若手机检测到屏幕上存在持续移动触发指令,则手机屏幕可以显示如图5中的(d)图所示界面504。界面504中包含图像元素55,图像元素55为图像元素54进行移动和旋转所得的图像元素。When the mobile phone displays the interface shown in (c) in Figure 5, if the user's finger slides to the right again on the mobile phone screen, that is, if the mobile phone detects that there is a continuous movement trigger command on the screen, the mobile phone screen can be displayed as shown in Figure 5 Figure (d) shows interface 504 . The interface 504 includes an image element 55 , and the image element 55 is an image element obtained by moving and rotating the image element 54 .

下面以锁屏壁纸信息中第二参数指示的图像元素为足球,第三参数包含如下内容为例:(x轴方向上位置:0.1,0.3,0.8,1.0),(y轴方向上位置:0.5,0.55,0.55,0.5),(z轴方向上旋转角度:0,0.3,0.7,1.0)为例,介绍手机基于屏幕尺寸和用户操作所生成的滑动参数重新绘制图像元素,以显示图像元素位置移动后的动态壁纸的实现方式。In the following, the image element indicated by the second parameter in the lock screen wallpaper information is football, and the third parameter contains the following content as an example: (position in the x-axis direction: 0.1, 0.3, 0.8, 1.0), (position in the y-axis direction: 0.5 , 0.55, 0.55, 0.5), (rotation angle in the z-axis direction: 0, 0.3, 0.7, 1.0) as an example, introduce the mobile phone to redraw image elements based on the screen size and sliding parameters generated by user operations to display the position of the image elements The implementation of the moving live wallpaper.

该示例中,基于锁屏壁纸信息中配置了四个位置以及这四个位置一一对应的四个角度,手机可以在目标最大可滑动幅度范围内均匀选取四个幅度值,这四个幅度值与这四个位置和四个角度一一对应。In this example, based on the four positions configured in the lock screen wallpaper information and the four angles corresponding to these four positions, the mobile phone can evenly select four amplitude values within the maximum slidable range of the target. These four amplitude values One-to-one correspondence with these four positions and four angles.

例如,滑动幅度为0是对应第一个位置和第一个角度,即用户手指没有滑动时图像元素的初始位置和初始旋转角度;用户的手指滑动幅度为目标最大可滑动幅度的三分之一时,图像元素对应第二个位置和第二个旋转角度;用户的手指滑动幅度为目标最大可滑动幅度的三分之二时,图像元素对应第三个位置和第三个旋转角度;用户的手指滑动幅度为目标最大可滑动幅度时,图像元素对应第四个位置和第四个旋转角度。For example, a sliding range of 0 corresponds to the first position and first angle, that is, the initial position and initial rotation angle of the image element when the user's finger does not slide; the sliding range of the user's finger is one-third of the maximum sliding range of the target , the image element corresponds to the second position and the second rotation angle; when the sliding range of the user's finger is two-thirds of the maximum sliding range of the target, the image element corresponds to the third position and the third rotation angle; the user's When the sliding range of the finger is the maximum sliding range of the target, the image element corresponds to the fourth position and the fourth rotation angle.

其中,目标最大可滑动幅度是指不会使得手机屏幕解锁且不会使得锁屏壁纸发生切换的最大可滑动幅度。例如,若用户在滑动方向上的滑动幅度超过手机在该滑动方向上的屏幕尺寸的一半(或者说0.5)时,手机锁屏壁纸就会切换到下一页,则目标最大可滑动服务即为对应滑动方向上的屏幕尺寸的一半。Wherein, the target maximum slidable range refers to the maximum slidable range that does not cause the phone screen to be unlocked and does not cause the lock screen wallpaper to be switched. For example, if the user's sliding range 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 will switch to the next page, and the target maximum sliding service is Corresponds to half the screen size in the direction of the swipe.

例如,如图5所示,手机检测到用户手指的触摸而点亮屏幕,如(a)图,屏幕显示包含图像元素52的界面501。此时,由于用户手机滑动幅度为零,因此图像元素52在短屏方向上(相当于x轴方向)的位置为屏幕宽度的0.1处;在长屏方向上(相当于y轴方向)的位置为屏幕宽度的0.5处;图像元素朝用户方向的旋转角度(相当于z轴方向旋转角度朝向用户方向)的为0度。For example, as shown in FIG. 5 , the mobile phone detects the touch of the user's finger and lights up the screen, as shown in figure (a), where the screen displays an interface 501 including image elements 52 . At this time, since the sliding range of the user's mobile phone is zero, the position of the image element 52 in the short screen direction (equivalent to the x-axis direction) is 0.1 of the screen width; the position in the long screen direction (equivalent to the y-axis direction) is It is 0.5 of the screen width; the rotation angle of the image element toward the user (equivalent to the rotation angle of the z-axis toward the user) is 0 degrees.

用户手指从屏幕左边缘位置向右滑动至(b)图所示位置,作为示例,滑动幅度为目标最大可滑动幅度(即手机宽度的二分之一)的三分之一时,手机基于第三参数可以确定图像元素的位置为第二个位置,旋转角度为第二旋转角度。Swipe the user's finger from the left edge of the screen to the right as shown in Figure (b). As an example, when the sliding range is one-third of the target maximum sliding range (that is, half the width of the mobile phone), the mobile phone is based on the first The three parameters can determine the position of the image element as the second position, and the rotation angle as the second rotation angle.

也就是说,图像元素在手机短屏方向上的位置为手机屏幕宽度的0.3处,在手机长屏方向上的位置为手机屏幕长度的0.55处,旋转角度为360*0.3度。手机可以基于该位置和旋转角度重新在手机屏幕上绘制图像元素。绘制所得的图像元素示例如图5中的(b)图中的图像元素53,图像元素53相当于将图像元素52从初始位置移动到了第二个位置,并且将图像元素52朝着屏幕外的方向旋转了108度。That is to say, the position of the image element in the direction of the short screen of the mobile phone is 0.3 of the width of the mobile phone screen, the position of the image element in the direction of the long screen 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 mobile phone can redraw the image element on the mobile phone screen based on the position and rotation angle. An example of the drawn image element is shown as the image element 53 in (b) of Figure 5. The image element 53 is equivalent to moving the image element 52 from the initial position to the second position, and moving the image element 52 towards the outside of the screen. The orientation is rotated 108 degrees.

用户手指继续向右滑动至(c)图所示位置,作为示例,滑动幅度为目标最大可滑动幅度(即手机宽度的二分之一)的三分之二时,手机基于第三参数可以确定图像元素的位置为第三个位置,旋转角度为第三旋转角度。The user continues to slide the finger to the right to the position shown in (c). As an example, when the sliding range is two-thirds of the target maximum sliding range (that is, one-half of the mobile phone width), the mobile phone can determine based on the third parameter The position of the image element is a third position, and the rotation angle is a third rotation angle.

也就是说,图像元素在手机短屏方向上的位置为手机屏幕宽度的0.8处,在手机长屏方向上的位置为手机屏幕长度的0.55处,旋转角度为360*0.7度。手机可以基于该位置和旋转角度重新在手机屏幕上绘制图像元素。绘制所得的图像元素示例如图5中的(c)图中的图像元素54,图像元素54相当于将图像元素52从初始位置移动到了第三个位置,并且将图像元素52朝着屏幕外的方向旋转了252度。That is to say, the position of the image element in the direction of the short screen of the mobile phone is 0.8 of the width of the mobile phone screen, the position of the image element in the direction of the long screen 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 mobile phone can redraw the image element on the mobile phone screen based on the position and rotation angle. An example of the drawn image element is shown as the image element 54 in (c) of Figure 5. The image element 54 is equivalent to moving the image element 52 from the initial position to the third position, and moving the image element 52 towards the outside of the screen. The orientation is rotated by 252 degrees.

用户手指继续向右滑动至(d)图所示位置,作为示例,滑动幅度为目标最大可滑动幅度(即手机宽度的二分之一)时,手机基于第三参数可以确定图像元素的位置为第四个位置,旋转角度为第四旋转角度。The user continues to slide the finger to the right to the position shown in (d). As an example, when the sliding range is the target maximum sliding range (that is, half the width of the mobile phone), the mobile phone can determine the position of the image element based on the third parameter as In the fourth position, the rotation angle is the fourth rotation angle.

也就是说,图像元素在手机短屏方向上的位置为手机屏幕最边缘处,在手机长屏方向上的位置为手机屏幕长度的0.5处,旋转角度为360度。手机可以基于该位置和旋转角度重新在手机屏幕上绘制图像元素。绘制所得的图像元素示例如图5中的(d)图中的图像元素55,图像元素55相当于将图像元素52从初始位置移动到了第三个位置,并且将图像元素52朝着屏幕外的方向旋转了360度(或者没有旋转)。That is to say, the position of the image element in the direction of the short screen of the mobile phone is the edge of the mobile phone screen, the position of the image element in the direction of the long screen of the mobile phone is 0.5 of the length of the mobile phone screen, and the rotation angle is 360 degrees. The mobile phone can redraw the image element on the mobile phone screen based on the position and rotation angle. An example of the drawn image element is shown as the image element 55 in (d) of Figure 5. The image element 55 is equivalent to moving the image element 52 from the initial position to the third position, and moving the image element 52 towards the outside of the screen. The orientation is rotated 360 degrees (or not).

上述实施例,介绍的是基于用户手指滑动幅度实时重新绘制移动和旋转之后的图像元素。可以理解的是,这仅是示例,本申请实施例对移动和旋转后的图像元素的绘制时机并不限定。例如,也可以在手机接收到锁屏壁纸信息之后,或者在用户输入点亮屏幕的指令之后,预先基于第二参数和第三参数绘制好不同位置和不同旋转角度的图像元素,然后在用户滑动幅度到特定比值时直接基于绘制好的图像元素显示的锁屏图形。The above-mentioned embodiment introduces real-time redrawing of the moved and rotated image elements based on the sliding range of the user's finger. It can be understood that this is only an example, and this embodiment of the present application does not limit the drawing timing of the moved and rotated image elements. For example, after the mobile phone receives the lock screen wallpaper information, or after the user enters an instruction to light up the screen, image elements with different positions and different rotation angles can be drawn in advance based on the second parameter and the third parameter, and then when the user slides When the amplitude reaches a specific ratio, the lock screen graphics are displayed directly based on the drawn image elements.

可以理解的是,手机中还可以配置有如下信息:在第三参数指示的任意两个相邻位置之间图像元素的移动轨迹应满足的规则。例如,在第三参数指示的任意两个相邻位置之间,图像元素可以沿着直线移动,或者可以沿着贝塞尔曲线移动。其中,若沿着贝塞尔曲线移动,可以提高图像元素的移动轨迹的平滑性,从而可以提高显示效果。It can be understood that the mobile phone may also be configured with the following information: the rule that the moving trajectory of the image element between any two adjacent positions indicated by the third parameter should satisfy. For example, between any two adjacent positions indicated by the third parameter, the image element may move along a straight line, or may move along a Bezier curve. Wherein, if moving along the Bezier curve, the smoothness of the moving track of the image element can be improved, thereby improving the display effect.

手机中配置的该信息可以是云端服务器下发的,也可以是手机中预先配置好的。The information configured in the mobile phone may be delivered by the cloud server, or may be pre-configured in the mobile phone.

手机中配置有上述移动规则的情况下,用户手指滑动幅度位于前述均匀取值的相邻两个滑动幅度之间时,手机在该相邻两个滑动幅度之间均匀取值M个滑动幅度,并基于该规则在这两个相邻滑动幅度对应的两个位置之间添加与这M个滑动幅度一一对应的M个位置,甚至可以在这两个相邻滑动幅度对应的两个旋转角度之间添加与这M个滑动幅度一一对应的M个的旋转角度,M为正整数。这样,在用户手指滑动幅度等于这M个滑动幅度中任意滑动幅度时,手机也可以以前述类似方法绘制与该任意滑动幅度对应的图像元素,并显示相应的用户界面,该任意滑动幅度对应的图像元素的位置为该任意滑动幅度对应的位置,任意滑动幅度对应的图像元素的旋转角度为任意滑动幅度对应的旋转角度。In the case where the mobile phone is configured with the above moving rules, when the sliding range of the user's finger is between the aforementioned two adjacent sliding ranges with uniform values, the mobile phone evenly takes M sliding ranges between the two adjacent sliding ranges, And based on this rule, M positions corresponding to the M sliding ranges are added between the two positions corresponding to the two adjacent sliding ranges, and even the two rotation angles corresponding to the two adjacent sliding ranges can be Add M rotation angles corresponding to the M sliding ranges one-to-one, and M is a positive integer. In this way, when the sliding range of the user's finger is equal to any sliding range in the M sliding ranges, the mobile phone can also draw the image element corresponding to the arbitrary sliding range in a similar manner as described above, and display the corresponding user interface. The position of the image element is the position corresponding to the arbitrary sliding range, and the rotation angle of the image element corresponding to the arbitrary sliding range is the rotation angle corresponding to the arbitrary sliding range.

这种为更多滑动幅度添加对应位置和旋转角度的图像元素的方法,可以提高图像元素的显示效果。This method of adding image elements corresponding to positions and rotation angles for more sliding ranges can improve the display effect of image elements.

以该规则为在第二参数指示的任意相邻两个位置之间图像元素沿着贝塞尔曲线移动为例,手机可以在第二参数指示的任意相邻两个位置之间为图像元素添加M个位置,并使用贝塞尔曲线对这M个位置进行平滑处理,尽量使得这M个位置和该任意相邻两个位置构成贝塞尔曲线。Taking the rule that the image element moves along the Bezier curve between any two adjacent positions indicated by the second parameter as an example, the mobile phone can add M positions, and use a Bezier curve to smooth the M positions, try to make the M positions and any two adjacent positions form a Bezier curve.

作为一种示例,跟随用户手指滑动幅度变化的图像元素位置进行贝塞尔曲线平滑处理后,图像元素的移动轨迹的一种示例如图6中虚线所示。由图6可以明显看出,该移动轨迹更真实。As an example, after the Bezier curve smoothing process is performed on the position of the image element following the variation of the sliding range of the user's finger, an example of the moving track of the image element is shown as a dotted line in FIG. 6 . It can be clearly seen from Fig. 6 that the moving trajectory is more realistic.

本实施例中,可以理解的是,随着用户手指滑动幅度的变化来调整图像元素的位置和在z轴方向上的旋转角度,仅是本实施例提高锁屏壁纸和用户交互性的一种示例,只要是锁屏状态下,屏幕中显示的用户界面中一个或多个图像元素的显示效果能够随着手指滑动幅度的变化而变化的方案都应属于本实施例的保护范围。例如,手机可以随着用户手指滑动幅度的变化来调整图像元素的尺寸、透明度、颜色、在其他方向上的旋转角度等等。In this embodiment, it can be understood that adjusting the position of the image element and the rotation angle in the z-axis direction with the change of the sliding range of the user's finger is only one way of improving the lock screen wallpaper and user interactivity in this embodiment. For example, as long as the screen is locked, the display effect of one or more image elements in the user interface displayed on the screen can change with the change of the finger sliding range, which should fall within the scope of protection of this embodiment. For example, the mobile phone can adjust the size, transparency, color, rotation angle in other directions, and so on of image elements as the user's finger slides.

以图5中的图像元素为例,随着用户手指滑动幅度的变化来调整图像元素的尺寸、在其他方向上的旋转角度和透明度的示例图如图7所示。Taking the image element in FIG. 5 as an example, FIG. 7 shows an example diagram of adjusting the size of the image element, the rotation angle in other directions, and the transparency according to the change of the sliding range of the user's finger.

作为示例,该动态图像元素足球可以如图7中的(a)图所示的变化效果,足球图像元素尺寸从1变化到n,n小于1。当足球图像元素的尺寸为1时,该元素的尺寸可以为最大尺寸,在显示过程中,该足球图像元素的尺寸逐渐减小。当足球图像元素的尺寸为n时,该元素的尺寸可以为最小尺寸,并为最终显示的标准尺寸大小。应理解,该最终显示的标准尺寸的大小为用户在界面图切换前或恢复到原始状态时看见的该元素大小。例如,可以是如图5中(d)图所示的界面图上图像元素55的尺寸大小。As an example, the dynamic image element football can change as shown in (a) in FIG. 7 , the size of the football image element changes from 1 to n, and n is less than 1. When the size of the football image element is 1, the size of the element may be the maximum size, and the size of the football image element decreases gradually during the display process. When the size of the football image element is n, the size of the element may be the minimum size and be the final displayed standard size. It should be understood that the final displayed standard size is the size of the element seen by the user before the interface map is switched or restored to the original state. For example, it may be the size of the image element 55 on the interface diagram as shown in (d) of FIG. 5 .

或者,作为示例,该足球图像元素可以如图7中的(b)图所示的变化效果,图像元素尺寸从1逐渐变化到n,n大于1。当足球图像元素的尺寸为1时,该元素的尺寸可以为最小尺寸,在显示过程中,该足球图像元素的尺寸逐渐增大。当足球图像元素的尺寸为n时,该元素的尺寸可以为最大尺寸,并为最终显示的标准尺寸大小。应理解,该最终显示的标准尺寸的大小为用户在界面图切换前或恢复到原始状态时看见的该元素大小,本申请实施例对此不作限定。Or, as an example, the football image element can have a changing effect as shown in (b) of FIG. 7 , the size of the image element gradually changes from 1 to n, and n is greater than 1. When the size of the football image element is 1, the size of the element may be the minimum size, and the size of the football image element gradually increases during the display process. When the size of the football image element is n, the size of the element can be the maximum size, which is the final displayed standard size. It should be understood that the final displayed standard size is the size of the element seen by the user before the interface map is switched or restored to the original state, which is not limited in this embodiment of the present application.

又或者,作为示例,该足球图像元素可以如图7中的(c)图所示的变化效果,图像元素尺寸从1逐渐变化到n,再从n逐渐变化到1,n小于1。当足球图像元素的尺寸为1时,该元素的尺寸可以为标准尺寸大小。在显示过程中,足球图像元素的尺寸逐渐缩小到小于最终显示的标准尺寸,再逐渐增大,直到该元素尺寸为1时,变成最终标准尺寸大小,本申请实施例对不做限定。Or, as an example, the soccer image element can change as shown in (c) in FIG. When the size of the football image element is 1, the size of the element can be a standard size. During the display process, the size of the football image element is gradually reduced to be smaller than the final displayed standard size, and then gradually increased until the element size is 1, which becomes the final standard size, which is not limited in this embodiment of the application.

可选地,对应于图5中(a)图至(d)图中动态图像元素52至55的显示过程中,该足球旋转角度的变化状态。Optionally, it corresponds to the changing state of the rotation angle of the soccer ball during the display process of the dynamic image elements 52 to 55 in (a) to (d) of FIG. 5 .

作为示例,该足球图像元素可以如图7中的(d)图所示的变化效果,图像元素角度从0°逐渐旋转到360°。当足球图像元素的旋转角度为360°时,该元素的角度可以为标准角度大小,在显示过程中,足球图像元素的旋转角度逐渐旋转到最终显示的标准角度大小。应理解,该最终显示的标准角度大小为用户在界面图切换前或恢复到原始状态时看见的该元素角度。例如,可以是如图5中(d)图所示的界面图上图像元素55的角度大小。As an example, the football image element can have a change effect as shown in (d) of FIG. 7 , and the angle of the image element is gradually rotated from 0° to 360°. When the rotation angle of the football image element is 360°, the angle of the element may be a standard angle size, and during the display process, the rotation angle of the football image element gradually rotates to the final displayed standard angle size. It should be understood that the final displayed standard angle size is the element angle seen by the user before the interface map is switched or when the original state is restored. For example, it may be the angular size of the image element 55 on the interface diagram as shown in (d) of FIG. 5 .

可以理解的是,动态图像元素的旋转角度不限于本实施例中的二维图形,同样适用于当动态图像元素为三维图形时的情形,此处不再赘述。It can be understood that the rotation angle of the dynamic image element is not limited to the two-dimensional graphics in this embodiment, and it is also applicable to the situation when the dynamic image element is a three-dimensional graphics, and details will not be repeated here.

可选地,对应于图5中(a)图至(d)图中动态图像元素52至55的显示过程中,该足球透明度大小的变化状态。作为示例,该足球图像元素可以如图7中的(e)图所示的变化效果,该足球图像元素的透明度从1逐渐变化到n,n小于1。当透明度变化到n时,该元素的透明度大小可以是标准透明度大小,在显示过程中,足球图像元素的透明度大小逐渐变成最终显示的标准透明度大小。应理解,该最终显示的透明度大小为用户在界面图切换前或恢复到原始状态时看见的该元素透明度。Optionally, it corresponds to the changing state of the transparency of the soccer ball during the display process of the dynamic image elements 52 to 55 in (a) to (d) of FIG. 5 . As an example, the football image element can have a change effect as shown in (e) of FIG. 7 , the transparency of the football image element gradually changes from 1 to n, and n is less than 1. When the transparency changes to n, the element's transparency size can be a standard transparency size, and during the display process, the transparency size of the football image element gradually changes to the final displayed standard transparency size. It should be understood that the finally displayed transparency is the transparency of the element seen by the user before the interface map is switched or when the original state is restored.

可选地,对应于图5中(a)图至(d)图中动态图像元素52至55的显示过程中,该足球位置的变化状态。作为示例,结合图7中(a)图至(c)图的尺寸变化过程,伴随着该足球图像元素显示到最终显示的标准尺寸,位置也逐渐移动到预设位置。例如,可以是如图5中(a)图所示的界面图上图像元素52伴随着尺寸变化过程移动到(d)图所示的界面图上图像元素55的位置。Optionally, it corresponds to the changing state of the football position during the display process of the dynamic image elements 52 to 55 in (a) to (d) of FIG. 5 . As an example, in combination with the size change process from (a) to (c) in FIG. 7 , as the football image element is displayed to the final displayed standard size, the position gradually moves to the preset position. For example, the image element 52 on the interface diagram as shown in (a) in FIG. 5 may move to the position of the image element 55 on the interface diagram as shown in (d) along with the size change process.

作为另一示例,结合图7中(d)图的旋转角度变化过程,伴随着该足球图像元素显示到最终显示的标准角度,位置也逐渐移动到预设位置。例如,可以是如图5中(a)图所示的界面图上图像元素52伴随着旋转角度变化过程移动到(d)图所示的界面图上图像元素55的位置。As another example, in combination with the change process of the rotation angle in (d) of FIG. 7 , as the football image element is displayed to the final displayed standard angle, the position gradually moves to the preset position. For example, it may be that the image element 52 on the interface diagram shown in (a) of FIG. 5 moves to the position of the image element 55 on the interface diagram shown in (d) along with the change process of the rotation angle.

作为又一示例,结合图7中(e)图的透明度变化过程,伴随着该足球图像元素显示到最终显示的标准透明度,位置也逐渐移动到预设位置。例如,可以是如图5中(a)图所示的界面图上图像元素52伴随着透明度变化过程移动到(d)图所示的界面图上图像元素55的位置。As yet another example, in combination with the transparency change process in (e) of FIG. 7 , as the football image element is displayed to the final displayed standard transparency, the position also gradually moves to a preset position. For example, the image element 52 on the interface diagram as shown in (a) in FIG. 5 may move to the position of the image element 55 on the interface diagram as shown in (d) along with the transparency change process.

可选地,对应于图5中(a)图至(d)图中动态图像元素52至55的显示过程中,该足球模糊程度的变化状态。在该足球元素的显示过程中,该元素的模糊程度逐渐升高,直到完全模糊,为该图像元素最终显示的模糊程度。应理解,图像元素模糊程度可以通过模糊处理的算法实现,例如高斯模糊算法、均值模糊算法等,本申请对模糊控制算法的类型不做限定。对于动态图像元素,在显示界面上占据像素为100×100,针对不同的模糊程度,可以从100×100个像素中提取部分像素进行模糊处理。作为示例,模糊程度为1时,从100×100个像素中提取5000个像素进行模糊处理;牧户程度为0.5时,从100×100个像素中提取1000个像素进行模糊处理,模糊程度为0时,100×100个像素都正常显示,本申请实施例对此不作限定。Optionally, it corresponds to the changing state of the blurring degree of the soccer ball during the display process of the dynamic image elements 52 to 55 in (a) to (d) of FIG. 5 . During the display process of the football element, the blur degree of the element gradually increases until it is completely blurred, which is the final displayed blur degree of the image element. It should be understood that the blurring degree of image elements can be realized by blurring algorithms, such as Gaussian blurring algorithm, mean value blurring algorithm, etc. The application does not limit the type of blurring control algorithm. For dynamic image elements, the pixels occupied on the display interface are 100×100, and for different blurring degrees, some pixels can be extracted from the 100×100 pixels for blurring processing. As an example, when the blur degree is 1, 5000 pixels are extracted from 100×100 pixels for blur processing; when the shepherd degree is 0.5, 1000 pixels are extracted from 100×100 pixels for blur processing, and the blur degree is 0 100×100 pixels are normally displayed, which is not limited in this embodiment of the present application.

可选地,手机可以获取用户滑动时手指离开屏幕前的滑动速度,根据手指滑动的速度使得动态图像元素按照不同的显示过程进行显示,以呈现动画效果。应理解,这里动态图像元素不同的显示过程可以参照前述图7的相关介绍,动态图像元素可以根据自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等进行显示,或者,动态图像元素根据手指离开屏幕前的速度延长或者缩短自身显示到最终形态的时长等,此处不再赘述。Optionally, the mobile phone may obtain the sliding speed of the user's finger before leaving the screen when sliding, and display the dynamic image elements according to different display processes according to the sliding speed of the finger, so as to present animation effects. It should be understood that the different display processes of the dynamic image elements here can refer to the relevant introduction in the aforementioned Figure 7, and the dynamic image elements can change according to their own size, rotation angle, transparency, position and blur degree, etc. display, or the dynamic image element prolongs or shortens the duration of its own display to the final form according to the speed before the finger leaves the screen, etc., which will not be repeated here.

作为示例,当用户滑动时手指离开屏幕前的速度为10像素每毫秒(pixel/millisecond,px/ms)时,动态图像元素的自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等在100ms内完成,呈现最终效果,并根据手指在屏幕滑动方向上位移距离所占该方向上屏幕尺寸的比例确定是否切换界面图或进入桌面。当用户滑动时手指离开屏幕前的速度为50px/ms时,动态图像元素的自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等在50ms内完成,呈现最终效果,并根据手指在屏幕滑动方向上位移距离所占该方向上屏幕尺寸的比例确定是否切换界面图或进入桌面,本申请实施例对此不作限定。As an example, when the user slides the finger before leaving the screen at a speed of 10 pixels per millisecond (pixel/millisecond, px/ms), the size of the dynamic image element itself changes, the rotation angle changes, the change of different transparency, different The change of position and the change of blur degree are completed within 100ms to present the final effect, and it is determined whether to switch the interface map or enter the desktop according to the ratio of the finger displacement distance in the screen sliding direction to the screen size in that direction. When the speed of the user's finger before leaving the screen is 50px/ms when the user slides, the change of the size of the dynamic image element itself, the change of the rotation angle, the change of different transparency, the change of different positions and the change of blur degree are completed within 50ms. Present the final effect, and determine whether to switch the interface map or enter the desktop according to the proportion of the finger's displacement distance in the screen sliding direction to the screen size in this direction, which is not limited in the embodiment of the present application.

用户在显示屏上手指滑动速度越快,动态图像元素变化的间隔时长也越短,换言之,用户手指滑动速度越快,动态图像元素位移至最终位置形成最终界面图完成动画的整体时长越短。The faster the user slides his finger on the display screen, the shorter the interval between dynamic image elements changes. In other words, the faster the user slides his finger, the shorter the overall time for the dynamic image element to move to the final position to form the final interface image to complete the animation.

作为示例,当用户滑动时的滑动轨迹与手机短边的水平夹角为40°时,动态图像元素的自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等在100ms内完成,呈现最终效果,并根据手指在屏幕滑动方向上位移距离所占该方向上屏幕尺寸的比例确定是否切换界面图或进入桌面。当用户滑动时的滑动轨迹与手机短边的水平夹角为30°时,动态图像元素的自身尺寸大小的变化、旋转角度的变化、不同透明度的变化、不同位置的变化和模糊程度变化等在50ms内完成,呈现最终效果,并根据手指在屏幕滑动方向上位移距离所占该方向上屏幕尺寸的比例确定是否切换界面图或进入桌面,本申请实施例对此不作限定。As an example, when the horizontal angle between the sliding track of the user and the short side of the mobile phone is 40°, the changes in the size of the dynamic image element itself, the change of the rotation angle, the change of different transparency, the change of different positions and the degree of blur The changes are completed within 100ms, and the final effect is presented. According to the ratio of the finger displacement distance in the screen sliding direction to the screen size in this direction, it is determined whether to switch the interface map or enter the desktop. When the horizontal angle between the sliding track of the user and the short side of the mobile phone is 30°, changes in the size, rotation angle, transparency, position, and blur degree of dynamic image elements are Complete within 50ms, present the final effect, and determine whether to switch the interface map or enter the desktop according to the proportion of the finger's displacement distance in the screen sliding direction to the screen size in this direction, which is not limited in this embodiment of the application.

在一些可能的实现方式中,用户在手机屏幕上滑动的范围超过预设比例时,或者用户在手机屏幕上滑动的时间超过预设值时,即手机检测到屏幕的触发指令超过预设阈值时,手机会切换当前锁屏壁纸。In some possible implementations, when the user's sliding range on the mobile phone screen exceeds a preset ratio, or when the user's sliding time on the mobile phone screen exceeds a preset value, that is, when the mobile phone detects that the trigger command of the screen exceeds the preset threshold , the phone will switch the current lock screen wallpaper.

作为示例,如图8所示,当用户的手指从(a)图屏幕的中间位置继续朝右滑动如(b)图所示位置时,即手机检测到屏幕的触发指令超过预设阈值时,手机屏幕的显示界面由(a)图的界面图801切换至(b)图的界面图802。其中,触发指令的预设阈值可以是手机检测到用户滑动的位移距离占滑动方向上屏幕尺寸参数的二分之一;例如,当手机屏幕的短边尺寸参数为十厘米时,用户的手指在平行于该屏幕短边方向滑动的位移距离超过五厘米时,手机检测到该触发指令,执行切换锁屏壁纸的操作。As an example, as shown in Figure 8, when the user's finger continues to slide from the middle position of the screen in Figure (a) to the right as shown in Figure (b), that is, when the mobile phone detects that the trigger instruction on the screen exceeds the preset threshold, The display interface of the mobile phone screen is switched from the interface diagram 801 in (a) to the interface diagram 802 in (b). Wherein, the preset threshold value of the trigger command may be that the mobile phone detects that the displacement distance of the user's sliding accounted for half of the screen size parameter in the sliding direction; for example, when the short side size parameter of the mobile phone screen is ten centimeters, the user's finger When the displacement distance of sliding parallel to the short side of the screen exceeds five centimeters, the mobile phone detects the trigger command and performs the operation of switching the lock screen wallpaper.

其中,界面图801中的静态图像元素81和动态图像元素82被图像元素83所覆盖或替换,从而生成(b)图的界面图802所示的锁屏壁纸。Wherein, the static image element 81 and the dynamic image element 82 in the interface diagram 801 are covered or replaced by the image element 83, thereby generating the lock screen wallpaper shown in the interface diagram 802 in (b).

可选地,图像元素83可以是已绘制好并存储在显示器的缓存中,也可以是手机检测到屏幕上上存在锁屏壁纸切换的触发指令时,对图像元素83进行实时绘制而最终生成界面802所示的锁屏壁纸,此处不作限定。Optionally, the image element 83 may have been drawn and stored in the cache 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 an interface The lock screen wallpaper shown in 802 is not limited here.

可选地,界面图802中的图像元素83可以是静态元素,也可以是动态元素;当图像元素83是动态元素时,手机检测到屏幕上存在前述的图像元素的触发指令时,根据动态规则对图像元素83进行对应的绘制,以实现锁屏壁纸的动态显示。Optionally, the image element 83 in the interface diagram 802 can be a static element or a dynamic element; when the image element 83 is a dynamic element, when the mobile phone detects that there is a trigger instruction of the aforementioned image element on the screen, according to the dynamic rule Corresponding drawing is performed on the image element 83 to realize the dynamic display of the lock screen wallpaper.

可以理解的是,本申请实施例所示的向右滑动仅是一种示例,本申请不限定具体滑动方向或位移距离。It can be understood that the sliding to the right shown in the embodiment of the present application is only an example, and the present application does not limit the specific sliding direction or displacement distance.

作为又一示例,当手机处在解锁状态下时,用户的手指在屏幕上继续向右滑动超过预设比例时,即手机检测到屏幕上存在锁屏壁纸切换的触发指令时,手机屏幕显示界面可以切换至手机桌面。As another example, when the mobile phone is in the unlocked state, when the user's finger continues to slide to the right on the screen beyond the preset ratio, that is, when the mobile phone detects that there is a trigger instruction for switching the lock screen wallpaper on the screen, the mobile phone screen displays an interface You can switch to the phone desktop.

如图9为本申请实施例提供的一种界面元素显示过程的图形用户界面(graphicaluser interface,GUI)的示意图,手机响应于用户在屏幕上的预设范围或事件的操作,绘制(a)图的包含静态界面元素91和动态界面元素92的界面901,用户手指继续向右滑动执行超过预设范围或时间时,即手机检测到屏幕上存在锁屏壁纸切换触发指令时,手机屏幕切换至如(b)图中界面902所示的桌面。Figure 9 is a schematic diagram of a graphical user interface (graphical user interface, GUI) in the display process of interface elements provided by the embodiment of the present application. In the interface 901 including the static interface element 91 and the dynamic interface element 92, when the user continues to slide the finger to the right for more than the preset range or time, that is, when the mobile phone detects that there is a lock screen wallpaper switching trigger command on the screen, the mobile phone screen switches to (b) The desktop shown in the interface 902 in the figure.

可选地,本申请前述手机桌面可以是包含应用图标的主界面,也可以是用户在前一次亮屏时所操作的界面,例如,用户在前一次亮屏时在使用视频应用程序,界面图停留在视频应用程序的界面,当手机处于解锁状态下时,用户的手指在屏幕上继续向右滑动超过预设比例时,即手机检测到屏幕上存在锁屏壁纸切换的触发指令时,手机屏幕显示界面可以切换至前述视频应用程序的界面,此时界面图可以包括视频应用的背景、图标、控件、菜单、正在播放的视频等,本申请实施例在此处不作限定。Optionally, the desktop of the aforementioned mobile phone in this application may be the main interface containing application icons, or it may be the interface operated by the user when the screen was turned on last time, for example, the user was using a video application when the screen was turned on last time, the interface diagram Staying on the interface of the video application, when the phone is in the unlocked state, when the user's finger continues to slide to the right on the screen beyond the preset ratio, that is, when the phone detects that there is a trigger instruction for switching the lock screen wallpaper on the screen, the phone screen The display interface can be switched to the interface of the aforementioned video application program. At this time, the interface diagram can include the background, icons, controls, menus, and playing videos of the video application, which are not limited in this embodiment of the present application.

应理解,本申请实施例所示的向右滑动仅是一种示例,本申请不限定具体滑动方向或位移距离。It should be understood that the sliding to the right shown in the embodiment of the present application is only an example, and the present application does not limit the specific sliding direction or displacement distance.

综上所述,本申请提供的锁屏壁纸的显示方法可以基于用户在切换锁屏应用的壁纸过程中,电子设备通过检测用户滑动屏幕的手势,控制壁纸中动态图像元素的显示效果,以及动态图像元素的显示过程,从而控制壁纸切换过程呈现的动画效果,使得切换过程呈现的动画与用户的手势息息相关。相对于现有壁纸切换过程中静态壁纸的固定的显示过程,本申请提供的锁屏壁纸的显示方法可以使得切换动画的显示效果更佳流畅自然,动态界面元素的显示受用户手势、动作的影响,给用户更强的交互感知性,提升用户的体验,增强产品的用户粘度。In summary, the lock screen wallpaper display method provided by this application can be based on the fact that the electronic device controls the display effect of the dynamic image elements in the wallpaper by detecting the gesture of the user sliding the screen when the user switches the wallpaper of the lock screen application, and dynamically The display process of the image elements, thereby controlling the animation effect presented during the wallpaper switching process, so that the animation presented during the switching process is closely related to the user's gestures. Compared with the fixed display process of static wallpapers in the existing wallpaper switching process, the lock screen wallpaper display method provided by this application can make the display effect of switching animations more smooth and natural, and the display of dynamic interface elements is affected by user gestures and actions , to give users a stronger sense of interaction, improve the user experience, and enhance the user viscosity of the product.

可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above functions, the electronic device includes hardware and/or software modules corresponding to each function. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the functional modules of the electronic device may be divided 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 above integrated modules may be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division methods in actual implementation.

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.

本实施例提供的电子设备,用于执行上述锁屏壁纸的显示方法,因此可以达到与上述实现方法相同的效果。The electronic device provided in this embodiment is used to execute the above method for displaying the lock screen wallpaper, so the same effect as that of the above implementation method can be achieved.

在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。In the case of an integrated unit, the electronic device may include a processing module, a memory module and a communication module. Wherein, the processing module may be used to control and manage the actions of the electronic device, for example, may be used to support the electronic device to execute the above steps. The memory module can be used to support electronic devices to execute stored program codes and data, and the like. The communication module can be used to support the communication between the electronic device and other devices.

其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。Wherein, the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like. The storage module may be a memory. Specifically, the communication module may be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.

在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .

本实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的锁屏壁纸的显示方法。This embodiment also provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are run on the electronic device, the electronic device executes the above-mentioned relevant method steps to realize the steps in the above-mentioned embodiments. How to display the lock screen wallpaper.

本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的锁屏壁纸的显示方法。This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to realize the method for displaying the lock screen wallpaper in the above embodiment.

另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的锁屏壁纸的显示方法。In addition, an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the method for displaying the lock screen wallpaper in the above method embodiments.

其中,本实施例提供的电子设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the above-mentioned The beneficial effects of the corresponding method will not be repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can 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 into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, and other media capable of storing program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on 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 Method for displaying lock screen wallpaper of electronic equipment and related device Active CN114780012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210702031.6A CN114780012B (en) 2022-06-21 2022-06-21 Method for displaying lock screen wallpaper of electronic equipment and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210702031.6A CN114780012B (en) 2022-06-21 2022-06-21 Method for displaying lock screen wallpaper of electronic equipment and related device

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 Method for displaying lock screen wallpaper of electronic equipment and related device

Country Status (1)

Country Link
CN (1) CN114780012B (en)

Families Citing this family (5)

* 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
CN119091000A (en) * 2023-06-06 2024-12-06 荣耀终端有限公司 Wallpaper generation method, readable medium and electronic device
CN118295746B (en) * 2023-06-28 2025-07-15 华为技术有限公司 Display method, electronic device and computer storage medium
CN119444546A (en) * 2023-08-02 2025-02-14 华为技术有限公司 Display processing method and electronic device
CN119248391A (en) * 2024-04-29 2025-01-03 荣耀终端有限公司 Interface display method and electronic device

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 (6)

* 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 and 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

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
CN114780012B (en) Method for displaying lock screen wallpaper of electronic equipment and related device
CN111176504B (en) Interface element display method and electronic equipment
CN116501210A (en) A display method, electronic device and storage medium
CN111553846B (en) Super-resolution processing method and device
CN113805744A (en) Window display method and electronic device
CN116672707B (en) Method and electronic device for generating game prediction frames
CN117724783B (en) Dynamic effect display method and electronic equipment
WO2021052035A1 (en) Display method for side region of screen, and electronic apparatus
WO2023040666A1 (en) Keyboard display method, foldable screen device, and computer-readable storage medium
CN116095221B (en) Frame rate adjusting method in game and related device
CN115018692B (en) Image rendering method and electronic device
CN114866641A (en) Icon processing method, terminal equipment and storage medium
CN117148959B (en) Frame rate adjusting method for eye movement tracking and related device
CN116700655B (en) Interface display method and electronic device
CN116055627A (en) A screen off control method, electronic device and storage medium
CN116737291B (en) Desktop application processing method and electronic equipment
CN117894256B (en) Display processing method, device and electronic equipment
CN119271280B (en) Screen bright processing method, device, chip, electronic device and medium
CN116382896B (en) Calling method of image processing algorithm, terminal equipment, medium and product
CN115016714B (en) Electronic device control method, system, electronic device and storage medium
EP4579415A1 (en) Display method, display apparatus, and electronic device
CN119987919A (en) Display method and electronic device
CN120343136A (en) Display method, electronic device and storage medium
WO2023072113A1 (en) Display method and electronic device
CN116088745A (en) Application opening method and related devices

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
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address