WO2023097671A1 - Image processing method, intelligent terminal, and storage medium - Google Patents

Image processing method, intelligent terminal, and storage medium Download PDF

Info

Publication number
WO2023097671A1
WO2023097671A1 PCT/CN2021/135399 CN2021135399W WO2023097671A1 WO 2023097671 A1 WO2023097671 A1 WO 2023097671A1 CN 2021135399 W CN2021135399 W CN 2021135399W WO 2023097671 A1 WO2023097671 A1 WO 2023097671A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
preset
template
display state
smart terminal
Prior art date
Application number
PCT/CN2021/135399
Other languages
French (fr)
Chinese (zh)
Inventor
周勇
王力博
Original Assignee
深圳传音控股股份有限公司
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 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Priority to PCT/CN2021/135399 priority Critical patent/WO2023097671A1/en
Publication of WO2023097671A1 publication Critical patent/WO2023097671A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present application relates to the technical field of image processing, and in particular to an image processing method, an intelligent terminal and a storage medium.
  • the wallpaper function on the smart terminal is widely used.
  • the so-called wallpaper refers to the background image used by the display screen of the smart terminal.
  • the types of wallpapers displayed by the smart terminal can be divided into three categories: desktop wallpapers, lock screen wallpapers, and Always On Display (AOD) wallpapers.
  • the lock screen wallpaper refers to the background image that can only be displayed on the smart terminal when the screen is locked
  • the desktop wallpaper refers to the background image displayed when the smart terminal displays the desktop
  • the off-screen wallpaper refers to the background image displayed on the smart terminal when the screen is off. background image.
  • the applicant found at least the following problems: when the smart terminal displays wallpapers, if it wants to display different wallpapers in different time periods, the user needs to manually select different images in different time periods. Set the image as wallpaper, and then select and set it again in the next time period. The operation is relatively cumbersome, and the efficiency of changing the wallpaper is low.
  • the present application provides an image processing method, an intelligent terminal and a storage medium, which can generate or determine a target image according to the images and image templates in the image collection when it is detected that the image (such as wallpaper) switching condition is satisfied . Furthermore, the target image can be displayed on the display screen of the smart terminal. On the one hand, it can reduce the occupation of memory resources and improve the loading speed; on the other hand, it simplifies the operation of users to change wallpapers, improves the efficiency of users to switch wallpapers, and improves user experience.
  • the present application provides an image processing method, which can be applied to a smart terminal, including the following steps:
  • S1 Obtain at least one first image and at least one first image template in response to satisfying an image switching condition
  • S3 Determine or generate a target image according to the second image and the first image template.
  • step S2 includes:
  • the first image is adjusted according to at least one of the image adjustment parameter, the third image, and the preset special effect to obtain the second image.
  • step S2 includes:
  • the target display area of the first image is determined according to the position information, and the third image and/or the preset special effect is added to the target display area of the first image to obtain the second image.
  • the above S3 step includes:
  • the above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
  • the method for determining the first image and/or the first image template includes at least one of the following:
  • the above image switching conditions are met, including at least one of the following:
  • the environmental information meets the preset environmental conditions
  • the user's biometric information meets the preset biometric conditions
  • the status information satisfies the preset status condition
  • a start or switch or close command for a preset application is received.
  • the above state information includes a display state, and the above state information satisfies a preset state condition including detection of switching from the first display state to the second display state, and also includes at least one of the following:
  • the above-mentioned second display state is the first desktop display state or the off-screen state
  • the above-mentioned first image is at least one image
  • the first image is at least two images.
  • the above-mentioned desktop display state further includes a second desktop display state; and/or, if the above-mentioned second display state is the above-mentioned second desktop display state, the above-mentioned first image is at least one image.
  • the above at least two images are continuous image frames.
  • the above method also includes:
  • the reference image is displayed in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
  • the above-mentioned first display state is a black screen state
  • the above-mentioned fourth image is empty
  • the fourth image includes at least one image.
  • the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
  • the above-mentioned fourth image is at least two images
  • the above-mentioned at least two images are consecutive image frames.
  • the acquisition of at least one first image and at least one first image template includes:
  • the image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  • the above method further includes:
  • At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
  • the embodiment of the present application provides an image processing method, which can be applied to a smart terminal, and includes the following steps:
  • S10 Acquiring at least one first image and at least one first image template in response to satisfying an image switching condition
  • S30 Determine or generate a target image according to the first image and the second image template.
  • step S20 includes:
  • the first image template is adjusted according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template.
  • step S20 includes:
  • the manner of obtaining at least one of the template adjustment parameter, the fifth image, and the preset special effect includes at least one of the following:
  • the method for determining the first image and/or the first image template includes at least one of the following:
  • the aforementioned image switching conditions met include at least one of the following:
  • the environmental information meets the preset environmental conditions
  • the user's biometric information meets the preset biometric conditions
  • the status information satisfies the preset status condition
  • a start or switch or close command for a preset application is received.
  • step S30 includes:
  • the above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
  • the above-mentioned second image template is at least one image template, and the at least one image template included in the above-mentioned second image template is a continuous image frame; the above-mentioned second image template and the above-mentioned first image are subjected to preset processing to obtain Initial target image, including:
  • the target image includes at least one image
  • the sequence of the at least one image is the sequence of the image frames.
  • the acquisition of at least one first image and at least one first image template includes:
  • the image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  • the above method further includes:
  • At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
  • the present application also provides an image processing device, which includes:
  • an acquiring unit configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition
  • an adjustment unit configured to adjust the first image according to a preset adjustment rule to obtain a second image
  • a processing unit configured to determine or generate a target image according to the second image and the first image template.
  • the present application also provides an image processing device, which includes:
  • an acquiring unit configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition
  • an adjustment unit configured to adjust the first image according to a preset adjustment rule to obtain a second image
  • a processing unit configured to determine or generate a target image according to the second image and the first image template.
  • the present application also provides an intelligent terminal, including: a memory and a processor, wherein an image processing program is stored in the memory, and when the image processing program is executed by the processor, the steps of any one of the above methods are implemented.
  • the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the methods described above are realized.
  • the steps include: obtaining the first image set and the first image template in response to satisfying the image switching condition; adjusting the first image according to preset adjustment rules to obtain the second image, And determine or generate a target image according to the second image and the first image template.
  • FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application
  • FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of an image processing method shown according to the first embodiment
  • Fig. 4a is a schematic diagram of a user interface for adjusting a first image according to the first embodiment
  • Fig. 4b is a schematic diagram of a user interface of a search preset application shown according to the first embodiment
  • Fig. 4c is a schematic diagram of a user interface showing closing a preset application according to the first embodiment
  • Fig. 4d is a schematic diagram of a user interface for switching preset applications according to the first embodiment
  • Fig. 4e is a schematic diagram showing the sequence of generating or determining a target image according to the first embodiment
  • Fig. 4f is a schematic diagram of a user interface for generating or determining a target image according to the first embodiment
  • Fig. 5 is a schematic flowchart of an image processing method according to a second embodiment
  • Fig. 6a is a schematic diagram of image templates adjusted by acquiring different template adjustment parameters according to different reference periods shown in the second embodiment
  • Fig. 6b is a schematic diagram of a user interface for adjusting the first image template according to the second embodiment
  • Fig. 6c is a schematic diagram of a user interface in which the second image template is continuous image frames according to the second embodiment
  • Fig. 7 is a schematic flowchart of an image processing method according to a third embodiment
  • Fig. 8a is a schematic diagram of a user interface showing a smart terminal switching from a black screen state to a first desktop display state according to a third embodiment
  • Fig. 8b is a schematic diagram of another user interface for switching the smart terminal from the black screen state to the first desktop display state according to the third embodiment
  • Fig. 8c is a schematic diagram of the user interface of the smart terminal switching from the off-screen state to the locked screen state according to the third embodiment
  • Fig. 8d is a schematic diagram of the user interface of the smart terminal switching from the off-screen state to the first desktop display state according to the third embodiment
  • Fig. 8e is a schematic diagram of the user interface of the smart terminal switching from the lock screen state to the first desktop display state according to the third embodiment
  • Fig. 8f is a schematic diagram of the user interface of the smart terminal switching from the first desktop display state to the second desktop display state according to the third embodiment
  • FIG. 9 is a schematic structural diagram of an image processing device provided according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a hardware structure of an intelligent terminal provided by the present application.
  • FIG. 11 is a schematic diagram of a hardware structure of an intelligent terminal provided by the present application.
  • FIG. 12 is a schematic diagram of a hardware structure of a smart terminal provided by the present application.
  • first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information.
  • first information may also be called second information, and similarly, second information may also be called first information.
  • second information may also be called first information.
  • the word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination”.
  • the singular forms "a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
  • A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C
  • A, B or C or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
  • the words “if”, “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
  • the phrases “if determined” or “if detected (the stated condition or event)” could be interpreted as “when determined” or “in response to the determination” or “when detected (the stated condition or event) )” or “in response to detection of (a stated condition or event)”.
  • step codes such as S10 and S20 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order.
  • S20 will be executed first, followed by S10, etc., but these should be within the scope of protection of this application.
  • Smart terminals can be implemented in various forms.
  • the smart terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Smart terminals such as wearable devices, smart bracelets, and pedometers, as well as fixed terminals such as digital TVs and desktop computers.
  • PDA Personal Digital Assistant
  • PMP portable media players
  • navigation devices Smart terminals such as wearable devices, smart bracelets, and pedometers
  • Smart terminals such as wearable devices, smart bracelets, and pedometers
  • fixed terminals such as digital TVs and desktop computers.
  • a smart terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
  • FIG. 1 is a schematic diagram of the hardware structure of a smart terminal implementing various embodiments of the present application.
  • the smart terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
  • RF Radio Frequency, radio frequency
  • the radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call.
  • the radio frequency unit 101 can be processed by the processor 110; in addition, the uplink data can be sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
  • GSM Global System of Mobile communication, Global System for Mobile Communications
  • GPRS General Packet Radio Service
  • CDMA2000 Code Division Multiple Access 2000
  • WCDMA Wideband Code Division Multiple Access
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access, Time Division Synchro
  • WiFi is a short-distance wireless transmission technology.
  • the smart terminal can help users send and receive emails, browse web pages, and access streaming media, etc., and it provides users with wireless broadband Internet access.
  • FIG. 1 shows the WiFi module 102, it can be understood that it is not a necessary component of the smart terminal, and can be completely omitted according to needs without changing the essence of the application.
  • the audio output unit 103 can store the information received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 when the smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like.
  • the audio data is converted into an audio signal and output as sound.
  • the audio output unit 103 may also provide audio output related to specific functions performed by the smart terminal 100 (for example, call signal receiving sound, message receiving sound, etc.).
  • the audio output unit 103 may include a speaker, a buzzer, and the like.
  • the A/V input unit 104 is used to receive audio or video signals.
  • the A/V input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed.
  • the processed image frames may be displayed on the display unit 106 .
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 .
  • the microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data.
  • the processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode.
  • the microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
  • the smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the smart terminal 100 moves to the ear. panel 1061 and/or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the smart terminal.
  • the user input unit 107 may include a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it.
  • the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072 .
  • other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
  • the touch panel 1071 may cover the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event.
  • the corresponding visual output is provided on the display panel 1061 .
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated.
  • the implementation of the input and output functions of the smart terminal is not specifically limited here.
  • the interface unit 108 is used as an interface through which at least one external device can be connected with the smart terminal 100 .
  • an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
  • the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
  • the memory 109 can be used to store software programs as well as various data.
  • the memory 109 can mainly include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.
  • the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the smart terminal, and uses various interfaces and lines to connect various parts of the whole smart terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the smart terminal and process data, so as to monitor the smart terminal as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
  • the application processor mainly processes operating systems, user interfaces, and application programs, etc.
  • the demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
  • the smart terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components.
  • a power supply 111 (such as a battery) for supplying power to various components.
  • the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
  • the smart terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
  • the following describes the communication network system on which the smart terminal of the present application is based.
  • FIG. 2 is a structure diagram of a communication network system provided by an embodiment of the present application.
  • the communication network system is an LTE system of general mobile communication technology.
  • 201 E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
  • E-UTRAN Evolved UMTS Terrestrial Radio Access Network
  • EPC Evolved Packet Core, Evolved Packet Core Network
  • the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
  • E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on.
  • the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
  • a backhaul for example, X2 interface
  • EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc.
  • MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management.
  • HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates.
  • PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
  • the IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • LTE system is used as an example above, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems.
  • the network system (such as 5G), etc., is not limited here.
  • FIG. 3 is a schematic flowchart of an image processing method according to the first embodiment.
  • the image processing method shown in FIG. 3 includes 301-303.
  • the method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal.
  • the smart terminal may be applied to the communication network system shown in FIG. 2 .
  • the execution body of the method shown in FIG. 3 takes a smart terminal as an example. in:
  • the smart terminal may display a wallpaper
  • the so-called wallpaper refers to a background image displayed on a display screen of the smart terminal.
  • the wallpapers can be classified into three categories: desktop wallpapers, lock screen wallpapers, and off-screen wallpapers.
  • the so-called desktop wallpaper refers to the background image when the smart terminal displays the desktop
  • the so-called lock screen wallpaper refers to the background image displayed on the smart terminal when the screen is locked
  • the so-called off-screen wallpaper refers to the background image displayed on the smart terminal when the screen is off. image. If the smart terminal always displays the same wallpaper, it may cause the user of the smart terminal to always look at the same image every time he uses the smart terminal, which is too boring and prone to boredom.
  • the user wants to change the wallpaper he can re-select an image as the wallpaper in the settings. This operation is cumbersome. If the user wants to display different wallpapers at different times of the day, the user needs to manually select different ones at different times. Image set as wallpaper. This kind of operation is inconvenient for the user to change the wallpaper frequently, the efficiency of changing the wallpaper is low, and the user experience is not good.
  • the smart terminal may acquire at least one first image and at least one first image template in response to the satisfaction of the image switching condition when it detects that the wallpaper switching condition is met, and adjust the wallpaper according to the preset adjustment rule
  • the first image is adjusted to obtain the second image
  • the target image is determined or generated according to the second image and the first image template, and then the target image is used as the wallpaper, so that the user does not need to manually select the image to generate or select the wallpaper.
  • the image template may be a series of numerical values representing transparency and/or color values at different positions of the image, and the image template may also define a series of numerical values of image transparency and/or color.
  • the first image is one image
  • the set wallpaper is a dynamic wallpaper
  • the first image is multiple images, in order to achieve a dynamic effect, when the first image is multiple images
  • the multiple images may also be consecutive image frames.
  • the at least one first image and the at least one first image template may be preset by the smart terminal, or may be set or selected by the user.
  • the at least one first image and the at least one first image template may also be determined according to the user's last selection or setting.
  • the at least one first image and the at least one first image template may also be determined by the smart terminal according to big data analysis, which is not limited in this application.
  • the first image may be one or more images included in the wallpaper setting program of the smart terminal.
  • the at least one first image is set by the user, it may be an image collection selected by the user in the local gallery, or the first image obtained from one or more images taken by the user during setting;
  • At least one first image is set, an interface for adding images can be set in the wallpaper setting program, from which the user can add images in the local gallery, or images downloaded from the network, or images taken by the user when setting .
  • the at least one first image may be the first image used by the smart terminal according to the last target image, for example, the smart terminal may obtain an image selected or set by the user during the last process of determining or generating the target image.
  • the at least one first image may be determined according to the user's usage habits.
  • the smart terminal may acquire the first image that is used most frequently by the user among the determined or generated historical target images.
  • the smart terminal may acquire the first image used when the user periodically generates the target image in the usage habits of the user.
  • the at least one first image may be determined by the smart terminal based on big data analysis.
  • the smart terminal may obtain the image used by the most people among the images preset by the above-mentioned wallpaper setting program, or it may be the image in the wallpaper setting program.
  • the preset images the current most popular image and so on are not limited in this application.
  • the first image template may be a built-in image template in the wallpaper setting program of the smart terminal, or may be one or more image templates selected by the user from a plurality of image templates provided in the wallpaper setting program of the smart terminal, It can also be the transparency and/or color values of different positions in the image set by the user, or a series of numerical values of image transparency and/or color included in the image template provided by the user in the wallpaper setting program of the smart terminal. of.
  • the first image template may also be the first image template used by the smart terminal to determine or generate the target image last time.
  • the first image template may also be the image template that is used the most times by the user in the usage habits of the user, for example, the first image template that is used the most times by the user among historical target images determined or generated by the smart terminal.
  • the smart terminal may also acquire the first image template used when the user periodically generates the target image.
  • the first image template can also be determined by the smart terminal based on big data analysis.
  • the smart terminal can obtain the image template that is used by the most people and the most popular image template among the image templates preset by the wallpaper setting program. Etc., this application does not limit this.
  • the intelligent terminal responds to satisfying the image switching condition, which may be at least one of the following: the environmental information meets the preset environmental condition, the user's biological feature information meets the preset biological feature condition, and the status information meets the preset State conditions, the smart terminal receives an operation instruction to switch images, and the smart terminal receives a startup instruction, a switching instruction, or a closing instruction for a preset application.
  • the image switching condition which may be at least one of the following: the environmental information meets the preset environmental condition, the user's biological feature information meets the preset biological feature condition, and the status information meets the preset State conditions
  • the smart terminal receives an operation instruction to switch images
  • the smart terminal receives a startup instruction, a switching instruction, or a closing instruction for a preset application.
  • the smart terminal may acquire environmental information, and determine whether the acquired environmental information satisfies a preset environmental condition, and if the preset environmental condition is met, determine that the image switching condition is met.
  • the environment information may be time information, location information of the smart terminal, weather information, scene information of the user, etc., which is not limited in this application.
  • the scene information where the user is located may be that the smart terminal determines whether the user is in an indoor scene or an outdoor scene through the image collected by the camera, and determines whether the user is in a specific scene through the image collected by the camera, for example, a vehicle scene, etc. .
  • the preset environmental condition may be a condition for time information, a condition for location information, a condition for weather information, and a condition for scene information. If the preset environmental condition of the time information is satisfied, the image switching condition is satisfied.
  • the preset environmental condition may be a condition for an environmental category, and the environmental category is jointly determined according to time information, location information, weather information, and scene information.
  • the preset environmental condition may be that the time information belongs to a preset time period, that is, the smart terminal may display different wallpapers at different time periods.
  • the time period may be granular in minutes or hours.
  • the present application takes the preset environmental conditions as four reference time periods in a day, including morning time period, noon time period, evening time period and late night time period respectively.
  • the morning time period can be 4:01-10:00
  • the noon time period can be 10:01-16:00
  • the evening time period can be 16:01-22:00
  • the late night time period can be 22:01-4:00.
  • the smart terminal can obtain the time information of the current moment by acquiring the system time or the current network time, and determine that the image switching condition is satisfied when the time information of the current moment is determined to belong to different preset time periods.
  • the preset environmental condition may be that the weather belongs to a certain weather category, for example, rain, heavy fog, snow and so on.
  • the preset environmental condition may be that the current location information is the preset location information, for example, it may be in Beijing, Shanghai, Shenzhen, and so on.
  • the smart terminal can obtain the user's biometric feature, which can be the user's facial expression or the user's voice, and judge whether the facial expression category corresponding to the user's facial expression is a preset facial expression category, and if so, the smart terminal determines that the preset facial expression category is satisfied. Biometric conditions. Similarly, when converting the user's voice information to text information, whether the obtained text information includes preset text, and if so, the smart terminal determines that the preset biometric condition is met. Optionally, the smart terminal can determine the biometric category according to the expression category and the text information obtained through voice, and judge whether the biometric category meets the preset biometric condition, and if so, the smart terminal determines that the preset biometric condition is satisfied.
  • the user's biometric feature can be the user's facial expression or the user's voice
  • the smart terminal can collect the user's face image information through the camera and/or collect the user's voice information through the microphone, and recognize the face image information and voice information, and use the recognized expression category and/or text information It is determined whether preset biometric conditions are met.
  • the smart terminal can acquire the status of the current device and obtain status information, which can be screen brightness information, power information, step information, posture information, and display status information of the smart terminal.
  • the smart terminal can determine whether the preset state condition is satisfied according to one or more items of the above state information, and if so, determine that the image switching condition is satisfied, that is, the above preset state condition can be for screen brightness information, power
  • the state condition of one or more items of information, step number information, attitude information, and display status, that is, the preset state condition may be a limitation on the parameter value of one or more items of state information.
  • the smart terminal can obtain system parameters to obtain the screen brightness percentage, battery percentage, step count, and display status.
  • the smart terminal can also obtain the posture of the smart terminal according to the gravity acceleration sensor to obtain posture information.
  • the smart terminal can be obtained.
  • the smart terminal determines one or more of the following, it is determined to meet the preset state conditions: the screen brightness percentage belongs to the preset brightness percentage range, the power percentage belongs to the preset power percentage range, the number of steps belongs to the preset step range, and the display One or more of the state switches from the first display state to the second display state.
  • the display state may be a black screen state, an off-screen display state, a lock screen display state or a desktop display state
  • the desktop display state may be at least one desktop display state.
  • the smart terminal receives an operation instruction to switch images, and determines that an image switching condition is met.
  • the operation instruction can be triggered by the user through the above-mentioned wallpaper setting program, or can be triggered through a shortcut operation, for example, through a specific sliding track, or through the image switching included in the conversion of the above-mentioned voice information into text information What is triggered by the instruction is not limited in this application.
  • the smart terminal receives an instruction to start or switch or close the preset application, and determines that the image switching condition is met. It can be understood that when the smart terminal starts the application, switches the application displayed in the foreground, and closes the application, For some or all of the wallpapers, it may be determined that the image switching condition is satisfied when an instruction for starting or switching or closing a preset application is detected.
  • the preset applications may be some or all of the applications installed on the smart terminal.
  • the preset environmental conditions, preset biometric conditions, preset state conditions, and preset application identifiers may correspond to different preset image sets, or may correspond to different preset collection of image templates. Then, the images in the corresponding image set and the image templates in the corresponding image template set can be acquired when the above-mentioned preset environmental conditions, preset biological characteristic conditions, and preset state conditions are respectively satisfied.
  • the smart terminal may also acquire the images in the preset image set corresponding to the application category and/or application identifier of the preset application, and acquire the images in the preset image template set corresponding to the application category and/or application identifier of the preset application. Image template.
  • the smart terminal after the smart terminal obtains at least one first image and at least one first image template, it can adjust the first image according to a preset adjustment rule to obtain a second image, and determine according to the second image and the first image template or generate target image.
  • adjusting the first image according to a preset adjustment rule may be adjusting the first image according to at least one of an image adjustment parameter, a third image, and a preset special effect.
  • the image adjustment parameters may be transparency parameters, contrast parameters, brightness parameters, grayscale parameters, etc. of the image.
  • the image adjustment parameters can also be light information. It can be understood that the above-mentioned adjustments to the transparency parameters, contrast parameters, brightness parameters, and grayscale parameters of the image are all adjustments to all pixels in the first image, and the light The information is used to adjust the light of the first image, so that the first image presents different light and shadow effects.
  • the third image may be an image smaller in size than the first image, or an image including some pixels that are preset pixels (transparent pixels).
  • the third image can be understood as a sticker or an image mask .
  • the preset special effect may be a special effect generated by a particle generator, or may be an image in which some pixels are preset pixels (transparent pixels).
  • the preset special effect and the third image can also be added at the application icon displayed on the desktop state of the smart terminal, that is, the preset special effect and the third image can be special effects and images for the application icon.
  • the smart terminal can acquire the position information of at least one application icon, the position information is the position information of the application icon in the user interface, and add Preset special effects and/or third images to achieve the effect of highlighting the application icon.
  • FIG. 4a is a schematic diagram of a user interface for adjusting the first image according to the first embodiment.
  • the left side is the first image, that is, the image before adjustment
  • the right side is the adjusted After the image, the second image.
  • the smart terminal can adjust parameters such as color value, brightness, and saturation in the first image according to the image adjustment parameters.
  • the smart terminal can also add a third image to the first image, and the third image It can be a third image added to the image element in the image element in the lower right corner of the right side as shown in Figure 4a, similar to the "eye" sticker of the image, the third image can also be a sticker added to the position of the application icon in the image, For example, the third image of the "earphone” pattern added for the "music” application icon.
  • the smart terminal can add preset special effects to the first image, for example, add a "bold special effect” to the icon border of the "calculator” application icon, or add a "particle special effect” to the icon border of the "calendar” application icon. ", as shown in Figure 4a, to obtain the second image shown on the right.
  • the "Music” application, the "Calculator” application, and the “Calendar” application are highlighted.
  • the determined or generated target image can be used as a static wallpaper, that is, the first image is an image, and the determined or generated target image can also be used as a dynamic wallpaper, then the first image is a plurality of images, according to image adjustment parameters,
  • the adjustment of at least one of the third image and the preset special effect to the first image may be to adjust at least one first image. It can be understood that the adjustment method of the at least one first image may be the same or different.
  • the smart terminal may adjust according to the specific image elements included in each image, which is not limited in this application.
  • the wallpaper of the smart terminal is obtained by synthesizing at least one first image as a base image and a first image template.
  • the smart terminal may also acquire image parameters, and determine or generate a target image through the image parameters, at least one first image, and at least one first image template.
  • the smart terminal may obtain image parameters, perform preset processing on the first image template and the second image to obtain an initial target image, and adjust the initial target image according to the image parameters to obtain a final target image.
  • the image parameter can be a transparency parameter, a contrast parameter, a brightness parameter, a grayscale parameter, etc. of the image, and optionally, the transparency parameter, a contrast parameter, a brightness parameter, a grayscale parameter, etc.
  • the preset processing may be to perform fusion processing on the first image template and the second image.
  • the fusion processing may be a variety of image mixing effects such as color deepening, color lightening, etc. This application does not do this As a limitation, for the convenience of description, this embodiment of the present application takes the preset processing as fusion processing as an example for explanation.
  • the image parameter can also be light information, which can be understood as information for transforming light and shadow effects on the image, including information for adjusting the brightness of the image, so as to control the intensity of light in the composite image, so that the displayed The effect is more delicate and expresses more fully, and the light information can be used to adjust the color values of some pixels in the first image.
  • light information can be understood as information for transforming light and shadow effects on the image, including information for adjusting the brightness of the image, so as to control the intensity of light in the composite image, so that the displayed The effect is more delicate and expresses more fully, and the light information can be used to adjust the color values of some pixels in the first image.
  • the above light information may be determined according to the brightness of the ambient light and/or time information at the current moment, the brightness information may be determined according to the brightness of the ambient light and/or the current time, and the light information may be used to indicate that each of the image adjustment parameters
  • the adjustment value of the parameter may also refer to the image parameter, the former is to adjust at least one first image, and the latter is to adjust the initial target image.
  • the light information may be parameter information adjusted for at least one first image, or parameter information adjusted for the initial target image, all of which can be used to adjust the light of the final target wallpaper Effect.
  • the image parameter adjustment information may be adjustment information of transparency, contrast, brightness, gray scale, and color value of the entire or partial image.
  • the ambient light brightness can be detected by an intelligent shorter light sensor
  • the current time can be the system time or network time of the smart terminal
  • the current ambient brightness can be determined according to the ambient light brightness or the time information at the current moment , and then the corresponding light information can be determined or generated, so that the brightness of the finally obtained target image can change according to the ambient brightness.
  • the target image displayed in the desktop display state is synthesized from the second image and the first image template, wherein the first image is an image with the sky as the background
  • the building image of , the first image template is overlaid on the upper layer of the first image.
  • the light information includes pixel coordinates of some or all pixels, and image parameters corresponding to the pixel coordinates.
  • the smart terminal can adjust the brightness parameters of all pixels in the first image to 60% according to the acquired light information, and the local area can form an orange light effect by modifying the color values of the pixels in the local area.
  • the target formed by the first image template and the adjusted first image has the effect of dawn as a whole, and a target image with a light and shadow pattern similar to dawn is formed in a local area.
  • the smart terminal can adjust the brightness parameters of all pixels in the first image to 100% according to the light information corresponding to the current moment, and combine the second image and the first image template Fusion forms the target image, and the overall display is a bright architectural image with the blue sky as the background; when the current system time is 21 o'clock in the evening, you can adjust the brightness parameters of all pixels in the first image to 20%, and add elements including starry sky to the local area
  • the third image or the preset special effect at this time, the target image formed by fusion of the second image and the first image template is displayed as a night effect as a whole.
  • the light information in the above example includes adjusting the parameters of some or all pixels in the first image, for example, adjusting the brightness parameters of the first image above, and the light information can also be used to indicate the adjustment of the original target image
  • the brightness parameters of the image are adjusted, that is, the second image obtained after other adjustments is fused with the first image template, and after the initial target image is obtained, the initial target image is adjusted according to the light information in the image parameters to obtain the target image.
  • the smart terminal after the smart terminal obtains the target image, it can use the target image as a wallpaper, that is, display the target image. Specifically, it can be displayed in the off-screen state, it can also be displayed in the locked screen state, and it can also be displayed in the desktop state.
  • This application does not limit this.
  • the smart terminal after the smart terminal obtains the target image, it can display the target image in the desktop display state, and the target image is also used when the application is started, switched and closed. That is, after obtaining the target image, the smart terminal may display at least one of the target image, the icon of the preset application, and the startup interface of the preset application.
  • FIG. 4b is a schematic diagram of the user interface of the search preset application according to the first embodiment.
  • the user can trigger the application search function and search in the search box
  • the terminal device receives the application name (application identification) input by the user, searches the location of the application icon in the user interface, and can Determine the target display area of the first image according to the position of the application icon, and add the third image and/or preset special effects to the target display area to obtain a second image, and then determine or Generate the target image as shown in the user interface in the lower left corner of Figure 4b, which is highlighted on the "Music" application icon.
  • the smart terminal may receive a user's trigger operation on the "music” application icon, and in response to the trigger operation, may display the startup interface of the "music” application, as shown in the lower right corner of FIG. 4b.
  • FIG. 4c is a schematic diagram of a user interface for closing a preset application according to the first embodiment.
  • the smart terminal receives a closing instruction for the "music" application.
  • FIG. 4d is a schematic diagram of a user interface for switching preset applications according to the first embodiment. As shown in FIG.
  • the smart terminal can receive a switching instruction from the user for the first application ("music” application) , and a switching instruction for displaying the second application ("calculator” application) in the foreground, in response to the above switching instruction, the target display area of the first image can be determined according to the positions of the "music" application icon and the "calculator” application icon, The target display area can be the display area of the "Music” application icon and the "Calculator” application icon, and a third image and/or preset special effects can be added to the target display area of the first image to obtain the second image, and according to The second image and the first image template determine or generate the target image, as shown in the user interface in the middle of Figure 4d. Furthermore, the smart terminal can start the "calculator” application, and display the startup interface of the "calculator” application.
  • FIG. 4e is a schematic diagram of a sequence of generating or determining a target image according to the first embodiment.
  • the smart terminal when it generates or determines the target image, it can be realized by running a shader (shader) program. Edit the program.
  • the smart terminal creates a thread of the shader; further, acquires at least one first image and at least one first image template, and adjusts the first image to obtain a second image.
  • the first image template is adjusted to obtain the second image template.
  • preset processing is performed on the adjusted first image (second image) and the first image template (or second image template) to obtain the initial target image, and the initial target image is adjusted according to the image parameters to obtain the image with The image of the texture, the target image.
  • the smart terminal performs preset processing on the first image template and the first image by running a shader program, the preset processing may be fusion processing, and optionally, the effect of the fusion processing may be a mixed effect of different pictures , such as color lightening, color burning and other effects.
  • FIG. 4f is a schematic diagram of a user interface for generating or determining a target image according to the first embodiment.
  • the first image template includes the transparency and color of each position in the image features, performing fusion processing on the first image and the first image template to obtain the initial target image as shown in the upper right corner of Figure 4f. Then adjust the image parameters of the initial first wallpaper to obtain the target image as shown in the lower right corner of Figure 4f.
  • the smart terminal can display the target image in the desktop state. This target image serves as the desktop wallpaper.
  • FIG. 4f uses at least one first image as an example to explain, at least one first image is an image, and the smart terminal compares each image in the at least one first image with the first image template Fusion processing is performed, and the multiple fused images are respectively adjusted according to the image parameters to obtain multiple images, and the intelligent terminal can use the obtained multiple images as target images.
  • the smart terminal can superimpose the fused images, superimpose the multiple images into one image, adjust the superimposed image, adjust the image parameters of the superimposed image, and finally obtain A target image that includes only one image.
  • FIG. 5 is another schematic flowchart of an image processing method according to the second embodiment.
  • the processing method shown in FIG. 5 includes 501-503.
  • the method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal.
  • the smart terminal may be applied to the communication network system shown in FIG. 2 .
  • the execution subject of the method shown in FIG. 5 takes a smart terminal as an example.
  • step 501 for the specific implementation manner of step 501, reference may be made to the specific description of step 301 in the foregoing embodiment, and details are not repeated here.
  • adjusting the first image template according to the preset adjustment rule may be adjusting the first image template according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template.
  • the image template may be an image superimposed on the image, and the image template may be an image including some pixels or all pixels.
  • the template adjustment parameters may be to adjust transparency parameters, contrast parameters, brightness parameters, grayscale parameters, etc. of the image template.
  • the template adjustment parameter can also be light information, the light information is used to adjust the light and shadow of the image template, and the light information can be used to adjust the color values and transparency parameters of some pixels included in the image template , so that the first image mask presents different light and shadow effects, so that when determining or generating a target image with an image, a target image including different light and shadow effects can be generated with a plurality of different images, which can make it more beneficial in actual implementation
  • the brightness adjustment of the generated target image is realized simply and efficiently.
  • the fifth image may be an image smaller in size than the first image, or an image including some pixels that are preset pixels (transparent pixels).
  • the third image can be understood as a sticker or an image mask .
  • the preset special effect may be a special effect generated by a particle generator, or may be an image in which some pixels are preset pixels (transparent pixels).
  • one or more of the above-mentioned template adjustment parameters of the first image template, the fifth image, and preset special effects may be obtained according to preset environmental conditions satisfied by the environmental information obtained by the smart terminal, or may be The user's biometric information acquired by the smart terminal satisfies the preset biometric condition, or the status information acquired by the smart terminal satisfies the preset state condition.
  • One or more of the above-mentioned template adjustment parameters of the first image template, the fifth image, and preset special effects may be jointly acquired according to at least one of preset environmental conditions, preset biometric conditions, and preset state conditions .
  • FIG. 6a is a schematic diagram of image templates obtained after adjusting different template adjustment parameters according to different reference time periods shown in the second embodiment.
  • the template adjustment parameter corresponding to the first preset environmental condition is obtained, and one or more of the template adjustment parameter, the fifth image, and the preset special effect are obtained, And the first image template is adjusted according to at least one of the template adjustment parameter, the fifth image and the preset special effect, so as to obtain the second image template as shown in the upper left corner of FIG. 6a.
  • a day can be divided into four time periods in the environmental information, which respectively meet the preset time information conditions in the preset environmental conditions, and the weather categories corresponding to different weather information in the environmental information can also respectively meet the preset environmental conditions.
  • Preset weather category conditions if the location in the environmental information is a preset location, it can also be determined to meet the location information conditions in the preset environmental conditions, and the indoor or outdoor scenes in the scene information in the environmental information can also meet the preset environmental conditions respectively Preset scene category conditions in . Then, according to different preset environmental conditions, one or more items of template adjustment parameters, the fifth image, and preset special effects are obtained.
  • the smart terminal may belong to different expression categories according to the user's biological characteristics, and satisfy the preset expression category conditions in the corresponding preset biological characteristic conditions, so as to obtain the preset expression category conditions and obtain corresponding template adjustment parameters, One or more items of the fifth image and preset special effects.
  • the smart terminal can obtain the corresponding template adjustment parameters, the fifth image, and the preset special effects according to the preset text conditions in the preset biological feature conditions satisfied by the preset text included in the text information obtained from the acquired voice information. one or more of the .
  • the smart terminal can also satisfy the corresponding preset state condition according to one or more of the acquired state information of the smart terminal's screen brightness information, battery information, step information, posture information, and display state information.
  • the smart terminal determines that the screen brightness percentage belongs to the preset brightness percentage range, the power percentage belongs to the preset power percentage range, the step number belongs to the preset step number range, and the display state is switched from the first display state to the second display state
  • One or more of the corresponding preset state conditions are met, and then one or more of the corresponding template adjustment parameters, the fifth image, and the preset special effects are obtained.
  • the aforementioned preset environmental conditions, preset biological characteristic conditions, and preset status conditions may be set by a manager, which is not limited in this application.
  • the adjustment of the first image template by the smart terminal according to at least one of the template adjustment parameters, the fifth image, and preset special effects may be based on the image elements included in the first image template, for example, the second Five images and/or preset special effects are added to the display area of the image elements included in the first image template.
  • the smart terminal can obtain the location information of at least one application icon, determine the target display area of the first image template according to the location information, and add the fifth image and/or preset special effects to the target display area of the first image template. display area to get the second image template.
  • FIG. 6b is a schematic diagram of a user interface for adjusting the first image template according to the second embodiment.
  • the right side is the second image template, that is, the adjusted image template.
  • the smart terminal can adjust parameters such as color value, brightness, and saturation in the first image template according to the template adjustment parameters.
  • the smart terminal can also add a fifth image to the first image, the fifth image
  • the image can be the fifth image/preset special effect added to the image element in the first image template in the lower right corner of the right as shown in Figure 6b, similar to the "eye" sticker, and the fifth image can also be used in the image
  • the sticker added to the position of the icon may be, for example, the fifth image of the "earphone” pattern added to the icon of the "music” application.
  • the smart terminal can add preset special effects to the first image template, for example, add a "bold special effect” to the icon border of the "Calculator” application icon, or add a "particle” effect to the icon border of the "Calendar” application icon. special effects", as shown in Figure 6b, the second image template shown on the right is obtained.
  • the "Music” application, the "Calculator” application, and the "Calendar” application are highlighted.
  • the smart terminal can acquire image parameters, and perform preset processing on the second image template and the first image to obtain an initial target image; adjust the initial target image according to the image parameters to obtain a target image.
  • the smart terminal acquires image parameters, and performs preset processing on the second image template and the first image to obtain the initial target image, and the specific implementation manner of adjusting the initial target image according to the image parameters can refer to the above-mentioned steps in the embodiment The specific description of 303 will not be repeated here. It should be noted that the description in step 303 determines or generates the target image according to the second image and the first image template.
  • the first image template may be the second image template obtained after adjustment in step 502 .
  • the second image template can be at least one image template, and the second image template includes one less image template as a continuous image frame, and the smart terminal can combine the first image with each image template in the second image template
  • Preset processing is performed to obtain the initial target image
  • the initial target image includes at least one image
  • the sequence of the at least one image included in the target image is the sequence of image frames.
  • the initial target image is adjusted according to the image parameters to obtain the target image.
  • FIG. 6c is a schematic diagram of a user interface in which the second image template is a continuous image frame according to the second embodiment.
  • the second image template includes four images
  • the four image templates can be continuous image frames
  • the sequence of the continuous image frames can be the order from left to right as shown in Figure 6c
  • the continuous image frames in the second image template It can be the change of the environment in different time periods of the day, or it can be the image frames in the environment video of the sky in a time-lapse photography day.
  • each image template in the first image and the second image template is subjected to preset processing to obtain an initial target image, as shown in Figure 6c, the mountain in the first image and each image template in the second image template
  • preset processing an environmental map of the high mountain in a day can be obtained.
  • the first image may also be the second image obtained after adjustment in step 302 .
  • the target image can be determined or generated through the image and the image template, without storing a large number of images, saving memory resources; on the other hand, by using the target image as the wallpaper, the wallpaper No user input is required, the user's operation is simplified, and the efficiency of changing the wallpaper displayed on the smart terminal is improved.
  • FIG. 7 is a schematic flowchart of an image processing method according to a third embodiment.
  • the processing method shown in FIG. 7 includes step 701 .
  • the method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal.
  • the smart terminal may be applied to the communication network system shown in FIG. 2 .
  • the execution subject of the method shown in FIG. 7 takes a smart terminal as an example.
  • the display state of the smart terminal may be one or more of the following: an off-screen state, a locked screen state, and a desktop display state.
  • the desktop display state may be the first desktop display state and the second desktop display state, that is, the desktop display state may be multiple user interfaces, and a different desktop user interface is displayed in each desktop display state.
  • icons of some applications are displayed on the user interface of desktop 1, and icons of another part of applications are displayed on the user interface of desktop 2.
  • the smart terminal may receive a switching instruction input by the user to switch from the first display state to the second display state.
  • the smart terminal may receive the display instruction from the user touching the power button, or receive the The input fingerprint verification and face verification instructions, the smart terminal can also receive the switching instruction triggered by the sliding operation input by the user, etc.
  • switching from the first display state to the second display state can be the following situations: switching from the black screen state to the first desktop display state, the first desktop display state is a display state in the desktop display state, from The off-screen state is switched to the locked screen state, switched from the off-screen state to the first desktop display state, switched from the locked screen state to the first desktop display state, and switched from the first desktop display state to the second desktop display state.
  • switching from the first display state to the second display state can also be the following situations: switching from the second desktop display state to the first desktop display state, switching from the first desktop display state to the lock screen state, switching from the lock screen
  • the screen state is switched to the off-screen state
  • the first desktop display state is switched to the off-screen state
  • the first desktop display state is switched to the lock screen state.
  • the smart terminal when the smart terminal detects that the switch from the first display state to the second display state is detected, it determines that the detection meets the preset state condition, that is, the image switching condition is satisfied, and then acquires at least one first image and at least one first image template, and adjust the first image and/or adjust the first image template, and then generate a target image according to the adjusted first image and the first image template.
  • the smart terminal Before displaying the target image in the second display state, the smart terminal may display a reference image in the first display state.
  • the reference image may be determined or generated according to the second image template and the fourth image.
  • the manner of determining or generating the reference image may be the same as the manner of determining or generating the target image, for details, please refer to the foregoing description, and the present application will not repeat them here.
  • the fourth image may be set by the smart terminal, that is, the default setting, or set by the user, which is not limited in this application.
  • the fourth image is empty; if the first display state is any one of the off-screen state, the lock screen state, the first desktop display state, and the second desktop display state , the fourth image includes at least one image, and in order to play the dynamic wallpaper smoothly, at least two images are included as continuous image frames.
  • the second display state is any one of the first desktop display state, the off-screen state, and the second desktop display state
  • the first image includes one image or at least two images
  • the second display state is In the locked screen state, in order to play smoothly with other display states, the first image includes at least two images, and if the first image includes at least two images, the at least two included images are continuous image frames.
  • FIG. 8a is a schematic diagram of a user interface showing a smart terminal switching from a black screen state to a first desktop display state according to a third embodiment.
  • the left side is the state of the smart terminal with a black screen, that is, the screen is off and nothing is displayed, and the user interface shown on the right side of Figure 8a can be displayed by pressing the power button.
  • the first display state is a black screen state
  • the fourth image corresponding to the reference image displayed in the first display state is empty.
  • the first desktop state can display such as For the static wallpaper determined or generated by the first image set shown in FIG. 8a, the first image may be one image.
  • FIG. 8b is a schematic diagram of another user interface for switching the smart terminal from the black screen state to the first desktop display state according to the third embodiment.
  • the screen of the smart terminal is turned on , can display the dynamic wallpaper determined or generated by the first image, as shown in Figure 8b, the size and position of each element in the wallpaper is changing, then the first image can be at least two images, for the continuity of the dynamic wallpaper, the first At least two images included in an image are continuous image frames.
  • FIG. 8c is a schematic diagram of a user interface showing a smart terminal switching from a screen-off state to a screen-locked state according to a third embodiment.
  • the three user interfaces in the upper row are in the off-screen state.
  • the so-called off-screen state means that when the mobile phone is locked, some areas of the screen remain bright and display information such as time and notifications.
  • the next row of two user interfaces is the user interface in the lock screen state.
  • Figure 8c takes the dynamic wallpaper as an example.
  • the fourth image corresponding to the reference image displayed in the first display state can be one image or at least two
  • the reference image is a static wallpaper, and if it is a dynamic wallpaper as shown in FIG. 8c, at least two images included in the fourth image are continuous image frames.
  • Figure 8c also takes the target image displayed in the second display state, that is, the lock screen state as a dynamic wallpaper as an example.
  • the face recognition prompt displayed above the time information is also included. icon.
  • the first image set of the target image in the lock screen state may also be an image, or may be a dynamic wallpaper, and then include at least two images, that is, if at least two images are included, the at least two images The images are consecutive image frames.
  • the images in the second image set and the first image set are also continuous image frames.
  • FIG. 8d is a schematic diagram of the user interface of the smart terminal switching from the always-on display state to the first desktop display state according to the third embodiment.
  • FIG. 8d uses the target image and the reference image of the smart terminal as the dynamic wallpaper
  • the fourth image may be one image or two images, that is, a static wallpaper or a dynamic wallpaper is displayed.
  • the second display state is the first desktop display state
  • the first image may also be one image or at least two images.
  • the fourth image and the first image include at least two images, the at least two images are continuous image frames.
  • at least two images in the fourth image and at least two images in the first image are also continuous image frames.
  • FIG. 8e is a schematic diagram of the user interface of the smart terminal switching from the lock screen state to the first desktop display state according to the third embodiment.
  • the two upper user interface schematic diagrams are lock screen status
  • the two user interfaces below are the first desktop display status.
  • Figure 8e also takes the target image and the reference image as dynamic wallpapers as an example, the target image and the reference image can also be static wallpapers, then both the first image and the fourth image can be one image or at least two images, if the When both the first image and the fourth image include at least two images, the images included in the first image and the fourth image are continuous image frames.
  • the images included in the first image and the fourth image may be continuous image frames.
  • FIG. 8f is a schematic diagram of a user interface showing a smart terminal switching from the first desktop display state to the second desktop display state according to the third embodiment.
  • the user can switch to the second desktop display state through a sliding operation, and display one or Icons for multiple apps.
  • the reference image is switched to the target image
  • the reference image and the target image may be static wallpapers
  • the reference image and the target image may be dynamic wallpapers. That is, both the fourth image and the first image can be one image or at least two images.
  • the images included in the fourth image and the first image are continuous image frames.
  • the first display state is the second desktop display state
  • the second display state is the first desktop display state.
  • the first image and the fourth image Each may also include one image or at least two images, and when the target image and the reference image are dynamic wallpapers, the images included in the first image and the fourth image are continuous image frames.
  • the first image and/or the fourth image include at least two images
  • the first image template and/or the fourth image may be obtained respectively or a second image template.
  • the first image template can be the same as the second image template.
  • the first image template includes image 1, image 2, and image 3, and the sequence of images in the first image is image 1, image 2, and image 3 from front to back;
  • the fourth image includes image 4, Image 5 and image 6, the order of the images in the fourth image is also image 4, image 5, and image 6 from front to back, then they are synthesized respectively through the shader program to obtain target image 1, target image 2, target image 3 and reference image 4.
  • Reference image 5, reference image 6. when switching from the reference image to the target image in actual display, the reference image 4, the reference image 5, the reference image 6, the target image 1, the target image 2, and the target image 3 are displayed in order.
  • each image in the first image includes a first element
  • each image in the fourth image includes a second element
  • some elements of the first element are the same as some elements of the second element
  • the first element Some of the elements in the element are obtained after enlarging or shrinking based on some of the elements in the second element. That is, for the fluency and coherence of the dynamic wallpaper, the reference image and the target image are wallpapers of the same theme. For example, if the reference image is planet-themed and the target image is animal-themed, the user will not find the effect of the live wallpaper very good if the reference image is switched to the target image. Therefore, some elements in the reference image and the target image can be the same or can be scaled.
  • some of the elements included in each of the first image and the fourth image are also the same, then when the smart terminal stores the first image and the fourth image, it only needs to store some of the images, and proceed according to the elements in the partial images By zooming, all images included in the first image and the fourth image can be obtained, thereby effectively saving memory resources of the smart terminal.
  • the reference image shown on the left side of Figure 8f includes three circles, two of which are incompletely shown, and a complete circle is shown in the middle, and the target image shown on the right side of Figure 8f also includes three circles, The three circles can respectively correspond to the reference image (the wallpaper on the left side of Figure 8f).
  • the gray circle in the upper left corner is scaled according to the scale factor k1 on the basis of the reference image, and the light gray circle in the middle It is scaled according to the scale factor k2, and the dark gray circle in the lower right corner is scaled according to the scale factor k3.
  • some elements in the first element and some elements in the second element may be obtained after performing position shift processing.
  • the gray circle in the upper left corner of the reference image is scaled and then moved to obtain the gray circle in the upper left corner of the target image.
  • the smart terminal when the smart terminal detects that the smart terminal is switched from the first display state to the second display state, and detects that the wallpaper switching condition is met, then according to the determination or generation of the target image, the smart terminal Switches from displaying the reference image to displaying the target image. Therefore, based on the method described in FIG. 7 , the user’s operation of switching wallpapers can be simplified, and the wallpaper can be displayed smoothly in different display states of the smart terminal, which improves user experience, and synthesizes wallpapers through images and image templates, reducing the memory for storing wallpapers , so that a large number of wallpapers can be generated according to images and image templates, saving memory resources of the smart terminal.
  • FIG. 9 is a schematic structural diagram of an image processing device 90 provided in an embodiment of the present application.
  • the image processing device 90 includes an acquisition unit 901 , an adjustment unit 902 , a processing unit 903 , and a display unit 903 . in:
  • An acquiring unit 901 configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition
  • An adjusting unit 902 configured to adjust the above-mentioned first image according to a preset adjustment rule to obtain a second image
  • the processing unit 903 is configured to determine or generate a target image according to the second image and the first image template.
  • the above adjustment unit 902 is specifically used for:
  • the first image is adjusted according to at least one of the image adjustment parameter, the third image, and the preset special effect to obtain the second image.
  • the above adjustment unit 902 is specifically used for:
  • the target display area of the first image is determined according to the position information, and the third image and/or the preset special effect is added to the target display area of the first image to obtain the second image.
  • processing unit 903 is specifically configured to:
  • the above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
  • the method for determining the first image and/or the first image template includes at least one of the following:
  • the above image switching conditions are met, including at least one of the following:
  • the environmental information meets the preset environmental conditions
  • the user's biometric information meets the preset biometric conditions
  • the status information satisfies the preset status condition
  • a start or switch or close command for a preset application is received.
  • the above state information includes a display state, and the above state information satisfies a preset state condition including detection of switching from the first display state to the second display state, and also includes at least one of the following:
  • the above-mentioned second display state is the first desktop display state or the off-screen state
  • the above-mentioned first image is at least one image
  • the first image is at least two images.
  • the above-mentioned desktop display state further includes a second desktop display state; and/or, if the above-mentioned second display state is the above-mentioned second desktop display state, the above-mentioned first image is at least one image.
  • the above at least two images are continuous image frames.
  • the image processing device 90 also includes:
  • the display unit 904 is configured to display the reference image in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
  • the above-mentioned first display state is a black screen state
  • the above-mentioned fourth image is empty
  • the fourth image includes at least one image.
  • the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
  • the above-mentioned fourth image is at least two images
  • the above-mentioned at least two images are consecutive image frames.
  • the above acquisition unit is specifically used for:
  • the image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  • the above display unit 904 is also used for:
  • At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
  • FIG. 9 is a schematic structural diagram of an image processing device 90 provided in an embodiment of the present application.
  • the image processing device 90 includes an acquisition unit 901 , an adjustment unit 902 , a processing unit 903 , and a display unit 903 . in:
  • An acquiring unit 901 configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition
  • An adjustment unit 902 configured to adjust the above-mentioned first image template according to a preset adjustment rule to obtain a second image template
  • the processing unit 903 is configured to determine or generate a target image according to the first image and the second image template.
  • the above adjustment unit 902 is specifically used for:
  • the first image template is adjusted according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template.
  • the above adjustment unit 902 is specifically used for:
  • the manner of obtaining at least one of the template adjustment parameter, the fifth image, and the preset special effect includes at least one of the following:
  • the method for determining the first image and/or the first image template includes at least one of the following:
  • the aforementioned image switching conditions met include at least one of the following:
  • the environmental information meets the preset environmental conditions
  • the user's biometric information meets the preset biometric conditions
  • the status information satisfies the preset status condition
  • a start or switch or close command for a preset application is received.
  • processing unit 903 is specifically configured to:
  • the above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
  • the above-mentioned second image template is at least one image template, and the at least one image template included in the above-mentioned second image template is a continuous image frame; the above-mentioned processing unit 903 is specifically configured to:
  • the target image includes at least one image
  • the sequence of the at least one image is the sequence of the image frames.
  • the above obtaining unit 901 is specifically used to
  • the image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  • the above-mentioned image processing device 90 also includes:
  • the display unit 904 is configured to display at least one of the target image, the icon of the preset application, and the startup interface of the preset application.
  • each unit of the apparatus shown in FIG. 9 For operations performed by each unit of the apparatus shown in FIG. 9 , reference may be made to relevant content of the foregoing method embodiments. No more details here.
  • Each unit can be realized by hardware, software or a combination of software and hardware.
  • FIG. 10 is a schematic diagram of a hardware structure of an intelligent terminal 100 provided in the present application.
  • the smart terminal 10 includes: a memory 1001 and a processor 1002, the memory 1001 is used to store program instructions, and the processor 1002 is used to call the program instructions in the memory 1001 to execute the steps performed by the smart terminal in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
  • the aforementioned smart terminal 100 further includes a communication interface 1003 , and the communication interface 1003 may be connected to the processor 1002 through a bus 1004 .
  • the processor 1002 can control the communication interface 1003 to realize the receiving and sending functions of the smart terminal 100 .
  • FIG. 11 is a schematic diagram of a hardware structure of a smart terminal 110 provided in the present application.
  • the smart terminal 110 includes: a memory 1101 and a processor 1102, the memory 1101 is used to store program instructions, and the processor 1102 is used to call the program instructions in the memory 1101 to execute the steps performed by the smart terminal in the second embodiment of the above method, and its implementation principle and beneficial effects are similar, and will not be repeated here.
  • the aforementioned smart terminal 110 further includes a communication interface 1103 , and the communication interface 1103 may be connected to the processor 1102 through the bus 1104 .
  • the processor 1102 can control the communication interface 1103 to realize the receiving and sending functions of the smart terminal 110 .
  • FIG. 12 is a schematic diagram of a hardware structure of a smart terminal 120 provided in the present application.
  • the smart terminal 120 includes: a memory 1201 and a processor 1202, the memory 1201 is used to store program instructions, and the processor 1202 is used to call the program instructions in the memory 1201 to execute the steps performed by the smart terminal in the third embodiment of the above method, and its implementation principle and beneficial effects are similar, and will not be repeated here.
  • the aforementioned smart terminal 120 further includes a communication interface 1203 , and the communication interface 1203 may be connected to the processor 1202 through the bus 1204 .
  • the processor 1202 can control the communication interface 1203 to realize the receiving and sending functions of the smart terminal 120 .
  • the integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium.
  • the above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the methods of the various embodiments of the present application. partial steps.
  • a computer program product includes one or more computer instructions.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • DSL digital subscriber line
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk, SSD), etc.
  • the embodiment of the present application also provides a smart terminal, the smart terminal includes a memory and a processor, and an image processing program is stored in the memory, and when the image processing program is executed by the processor, the steps of the image processing method in any of the foregoing embodiments are implemented.
  • An embodiment of the present application further provides a computer-readable storage medium, on which an image processing program is stored, and when the image processing program is executed by a processor, the steps of the image processing method in any of the foregoing embodiments are implemented.
  • the smart terminal and the computer-readable storage medium provided in the embodiments of the present application may contain all the technical features of any of the above-mentioned image processing method embodiments, and the expansion and explanation of the description are basically the same as those of the above-mentioned method embodiments. Let me repeat.
  • An embodiment of the present application further provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
  • the embodiment of the present application also provides a chip, including a memory and a processor.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
  • the embodiment of the present application also provides a chip, including a memory and a processor.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
  • Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

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

Disclosed in the present application are an image processing method, an intelligent terminal, and a storage medium. The method comprises: in response to satisfying an image switching condition, obtaining at least one first image and at least one first image template; adjusting the first image according to a preset adjustment rule to obtain a second image; and determining or generating a target image according to the second image and the first image template. By adopting the method provided by the present application, a target image is determined by means of an image template and an image. The target image is generated according to the image and the image template, and used as a wallpaper, so that a wallpaper switching demand of a user can be satisfied, and the user experience is improved.

Description

图像处理方法、智能终端及存储介质Image processing method, intelligent terminal and storage medium 技术领域technical field
本申请涉及图像处理技术领域,具体涉及一种图像处理方法、智能终端及存储介质。The present application relates to the technical field of image processing, and in particular to an image processing method, an intelligent terminal and a storage medium.
背景技术Background technique
智能终端上的壁纸功能得到广泛应用,所谓壁纸,是指智能终端的显示屏所使用的背景图像。一些实现中,智能终端显示的壁纸类型可以分为三类:桌面壁纸、锁屏壁纸和息屏(Always On Display,AOD)壁纸。其中,锁屏壁纸是指只能智能终端在屏幕锁定状态下所显示的背景图像,桌面壁纸是智能终端显示桌面时所显示的背景图像,息屏壁纸是智能终端处于屏幕熄灭状态下所显示的背景图像。The wallpaper function on the smart terminal is widely used. The so-called wallpaper refers to the background image used by the display screen of the smart terminal. In some implementations, the types of wallpapers displayed by the smart terminal can be divided into three categories: desktop wallpapers, lock screen wallpapers, and Always On Display (AOD) wallpapers. Among them, the lock screen wallpaper refers to the background image that can only be displayed on the smart terminal when the screen is locked, the desktop wallpaper refers to the background image displayed when the smart terminal displays the desktop, and the off-screen wallpaper refers to the background image displayed on the smart terminal when the screen is off. background image.
在构思及实现本申请过程中,申请人发现至少存在如下问题:智能终端在显示壁纸时,若想在不同的时间段显示不同的壁纸,需要用户在不同时间段手动选取不同的图像,将选取的图像设置为壁纸,再在下一个时间段再次选取并设置。操作较为繁琐,更换壁纸的效率低。During the process of conceiving and implementing this application, the applicant found at least the following problems: when the smart terminal displays wallpapers, if it wants to display different wallpapers in different time periods, the user needs to manually select different images in different time periods. Set the image as wallpaper, and then select and set it again in the next time period. The operation is relatively cumbersome, and the efficiency of changing the wallpaper is low.
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The foregoing description is provided to provide general background information and does not necessarily constitute prior art.
发明内容Contents of the invention
针对上述技术问题,本申请提供一种图像处理方法、智能终端及存储介质,可以在检测到满足图像(如壁纸)切换条件的情况下,根据图像集合中的图像和图像模板生成或确定目标图像。进而可以将目标图像显示在智能终端的显示屏上。一方面,可以减少对内存资源的占用,提高加载速度,另一方面,简化了用户更换壁纸的操作,提高了用户切换壁纸的效率,也提高了用户体验。In view of the above technical problems, the present application provides an image processing method, an intelligent terminal and a storage medium, which can generate or determine a target image according to the images and image templates in the image collection when it is detected that the image (such as wallpaper) switching condition is satisfied . Furthermore, the target image can be displayed on the display screen of the smart terminal. On the one hand, it can reduce the occupation of memory resources and improve the loading speed; on the other hand, it simplifies the operation of users to change wallpapers, improves the efficiency of users to switch wallpapers, and improves user experience.
为解决上述技术问题,第一方面,本申请提供一种图像处理方法,可应用于智能终端,包括以下步骤:In order to solve the above technical problems, in the first aspect, the present application provides an image processing method, which can be applied to a smart terminal, including the following steps:
S1:响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;S1: Obtain at least one first image and at least one first image template in response to satisfying an image switching condition;
S2:按照预设调整规则对上述第一图像进行调整,以得到第二图像;S2: Adjust the above-mentioned first image according to a preset adjustment rule to obtain a second image;
S3:根据上述第二图像和上述第一图像模板确定或生成目标图像。S3: Determine or generate a target image according to the second image and the first image template.
可选地,上述S2步骤包括:Optionally, the above step S2 includes:
根据图像调整参数、第三图像以及上述预设特效中的至少一项对上述第一图像进行调整,以得到上述第二图像。The first image is adjusted according to at least one of the image adjustment parameter, the third image, and the preset special effect to obtain the second image.
可选地,上述S2步骤包括:Optionally, the above step S2 includes:
获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
根据上述位置信息确定上述第一图像的目标显示区域,并将上述第三图像和/或上述预设特效添加在上述第一图像的目标显示区域,以得到上述第二图像。The target display area of the first image is determined according to the position information, and the third image and/or the preset special effect is added to the target display area of the first image to obtain the second image.
可选地,上述S3步骤包括:Optionally, the above S3 step includes:
获取图像参数;Get image parameters;
将上述第一图像模板与上述第二图像进行预设处理,得到初始目标图像;Presetting the first image template and the second image to obtain an initial target image;
根据上述图像参数对上述初始目标图像进行调整,得到上述目标图像。The above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
可选地,上述第一图像和/或上述第一图像模板确定方式,包括以下至少一种:Optionally, the method for determining the first image and/or the first image template includes at least one of the following:
由用户设置或选择;set or selected by the user;
根据用户上次选择确定;Determined according to the user's last selection;
根据用户使用习惯确定;Determined according to the user's usage habits;
根据大数据分析确定。Determined based on big data analysis.
可选地,上述满足图像切换条件,包括以下至少一种:Optionally, the above image switching conditions are met, including at least one of the following:
环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
状态信息满足预设状态条件;The status information satisfies the preset status condition;
接收到切换图像的操作指令;Receive an operation instruction to switch images;
接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
可选地,上述状态信息包括显示状态,上述状态信息满足预设状态条件包括检测到从第一显示状态切换至第二显示状态,还包括以下至少一种:Optionally, the above state information includes a display state, and the above state information satisfies a preset state condition including detection of switching from the first display state to the second display state, and also includes at least one of the following:
若上述第二显示状态为第一桌面显示状态或息屏状态,上述第一图像为至少一张图像;If the above-mentioned second display state is the first desktop display state or the off-screen state, the above-mentioned first image is at least one image;
若上述第二显示状态为锁屏状态,上述第一图像为至少两张图像。If the second display state is a lock screen state, the first image is at least two images.
可选地,上述桌面显示状态还包括第二桌面显示状态;和/或,若上述第二显示状态为上述第二桌面显示状态,上述第一图像为至少一张图像。Optionally, the above-mentioned desktop display state further includes a second desktop display state; and/or, if the above-mentioned second display state is the above-mentioned second desktop display state, the above-mentioned first image is at least one image.
可选地,上述至少两张图像为连续的图像帧。Optionally, the above at least two images are continuous image frames.
可选地,上述方法还包括:Optionally, the above method also includes:
在上述第一显示状态显示参考图像;和/或,上述参考图像是根据第四图像和第二图像模板确定或生成的。The reference image is displayed in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
可选地,包括以下至少一种:Optionally, include at least one of the following:
若上述第一显示状态为黑屏状态,上述第四图像为空;If the above-mentioned first display state is a black screen state, the above-mentioned fourth image is empty;
若上述第一显示状态为息屏或锁屏或第一桌面显示状态,上述第四图像包括至少一张图像。If the first display state is an off-screen or locked screen or the first desktop display state, the fourth image includes at least one image.
可选地,上述桌面显示状态还包括第二桌面显示状态;和/或,若上述第一显示状态为上述第二桌面显示状态,上述第四图像为至少一张图像。Optionally, the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
可选地,在上述第四图像为至少两张图像的情况下,上述至少两张图像为连续的图像帧。Optionally, in a case where the above-mentioned fourth image is at least two images, the above-mentioned at least two images are consecutive image frames.
可选地,上述获取至少一第一图像和至少一第一图像模板,包括:Optionally, the acquisition of at least one first image and at least one first image template includes:
获取上述预设应用对应的图像和上述预设应用对应的图像模板,得到上述至少一第一图像和上述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
可选地,上述S3步骤之后,上述方法还包括:Optionally, after the above step S3, the above method further includes:
显示上述目标图像、上述预设应用的图标和上述预设应用的启动界面中的至少一个。At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
第二方面,本申请实施例提供一种图像处理方法,可应用于智能终端,包括以下步骤:In the second aspect, the embodiment of the present application provides an image processing method, which can be applied to a smart terminal, and includes the following steps:
S10:响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;S10: Acquiring at least one first image and at least one first image template in response to satisfying an image switching condition;
S20:按照预设调整规则对上述第一图像模板进行调整,得到第二图像模板;S20: Adjust the above-mentioned first image template according to a preset adjustment rule to obtain a second image template;
S30:根据上述第一图像和上述第二图像模板确定或生成目标图像。S30: Determine or generate a target image according to the first image and the second image template.
可选地,上述S20步骤,包括:Optionally, the above step S20 includes:
根据模板调整参数、上述第五图像以及上述预设特效中的至少一项对上述第一图像模板进行调整,以得到上述第二图像模板。The first image template is adjusted according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template.
可选地,上述S20步骤,包括:Optionally, the above step S20 includes:
获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
根据上述位置信息确定上述第一图像模板的目标显示区域,并将上述第五图像和/或上述预设特效添加在上述第一图像模板的目标显示区域,以得到上述第二图像模板。Determine the target display area of the first image template according to the position information, and add the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
可选地,获取模板调整参数、第五图像以及预设特效中的至少一项的方式,包括以下至少一种:Optionally, the manner of obtaining at least one of the template adjustment parameter, the fifth image, and the preset special effect includes at least one of the following:
根据预设环境条件获取;Acquired according to preset environmental conditions;
根据预设生物特征条件获取;Acquired according to preset biometric conditions;
根据预设状态条件获取。Acquired based on preset state conditions.
可选地,上述第一图像和/或上述第一图像模板确定方式,包括以下至少一种:Optionally, the method for determining the first image and/or the first image template includes at least one of the following:
由用户设置或选择;set or selected by the user;
根据用户上次选择确定;Determined according to the user's last selection;
根据用户使用习惯确定;Determined according to the user's usage habits;
根据大数据分析确定。Determined based on big data analysis.
可选地,上述满足上述图像切换条件,包括以下至少一种:Optionally, the aforementioned image switching conditions met include at least one of the following:
环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
状态信息满足预设状态条件;The status information satisfies the preset status condition;
接收到切换图像的操作指令;Receive an operation instruction to switch images;
接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
可选地,上述S30步骤,包括:Optionally, the above step S30 includes:
获取图像参数;Get image parameters;
将上述第二图像模板与上述第一图像进行预设处理,得到初始目标图像;Presetting the second image template and the first image to obtain an initial target image;
根据上述图像参数对上述初始目标图像进行调整,得到上述目标图像。The above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
可选地,上述第二图像模板为至少一个图像模板,上述第二图像模板包括的至少一个图像模板为连续的图像帧;上述将上述第二图像模板与上述第一图像进行预设处理,得到初始目标图像,包括:Optionally, the above-mentioned second image template is at least one image template, and the at least one image template included in the above-mentioned second image template is a continuous image frame; the above-mentioned second image template and the above-mentioned first image are subjected to preset processing to obtain Initial target image, including:
将上述第一图像与上述第二图像模板中的各个图像模板进行预设处理,得到上述初始目标图像,上述目标图像包括至少一张图像,上述至少一张图像的顺序为上述图像帧的顺序。Presetting the first image and the second image templates to obtain the initial target image, the target image includes at least one image, and the sequence of the at least one image is the sequence of the image frames.
可选地,上述获取至少一第一图像和至少一第一图像模板,包括:Optionally, the acquisition of at least one first image and at least one first image template includes:
获取上述预设应用对应的图像和上述预设应用对应的图像模板,得到上述至少一第一图像和上述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
可选地,上述S30步骤之后,上述方法还包括:Optionally, after the above step S30, the above method further includes:
显示上述目标图像、上述预设应用的图标和上述预设应用的启动界面中的至少一个。At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
第三方面,本申请还提供一种图像处理装置,该装置包括:In a third aspect, the present application also provides an image processing device, which includes:
获取单元,用于响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;an acquiring unit, configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition;
调整单元,用于按照预设调整规则对所述第一图像进行调整,以得到第二图像;an adjustment unit, configured to adjust the first image according to a preset adjustment rule to obtain a second image;
处理单元,用于根据所述第二图像和所述第一图像模板确定或生成目标图像。A processing unit, configured to determine or generate a target image according to the second image and the first image template.
另外,该方面中,图像处理装置其他可选的实施方式可参阅上述第一方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the image processing device, reference may be made to the relevant content of the above-mentioned first aspect, which will not be described in detail here.
第四方面,本申请还提供一种图像处理装置,该装置包括:In a fourth aspect, the present application also provides an image processing device, which includes:
获取单元,用于响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;an acquiring unit, configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition;
调整单元,用于按照预设调整规则对所述第一图像进行调整,以得到第二图像;an adjustment unit, configured to adjust the first image according to a preset adjustment rule to obtain a second image;
处理单元,用于根据所述第二图像和所述第一图像模板确定或生成目标图像。A processing unit, configured to determine or generate a target image according to the second image and the first image template.
另外,该方面中,图像处理装置其他可选的实施方式可参阅上述第二方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the image processing device, reference may be made to the relevant content of the above-mentioned second aspect, which will not be described in detail here.
本申请还提供一种智能终端,包括:存储器、处理器,其中,该存储器上存储有图像处理程序,该图像处理程序被该处理器执行时实现如上任一所述方法的步骤。The present application also provides an intelligent terminal, including: a memory and a processor, wherein an image processing program is stored in the memory, and when the image processing program is executed by the processor, the steps of any one of the above methods are implemented.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如上任一所述方法的步骤。The present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the methods described above are realized.
如上所述,本申请的图像处理方法,步骤包括:响应于满足图像切换条件,获取第一图像集合和第一图像模板;按照预设调整规则对第一图像进行调整,以得到第二图像,并根据所述第二图像和第一图像模板确定或生成目标图像。通过上述技术方案,可以通过图像和图像模板的方式,实现了生成或确定目标图像,即壁纸的功能,解决了切换壁纸操作繁琐,更换壁纸效率低的问题。并且,通过图像集合和图像模板生成或确定壁纸的方式,提高加载速度,满足用户切换壁纸的需求,提高了用户体验。As mentioned above, in the image processing method of the present application, the steps include: obtaining the first image set and the first image template in response to satisfying the image switching condition; adjusting the first image according to preset adjustment rules to obtain the second image, And determine or generate a target image according to the second image and the first image template. Through the above technical solution, the function of generating or determining the target image, that is, the wallpaper can be realized by means of images and image templates, which solves the problems of cumbersome operations for switching wallpapers and low efficiency of changing wallpapers. Moreover, by generating or determining the wallpaper through the image collection and the image template, the loading speed is improved, the user's demand for switching wallpapers is met, and the user experience is improved.
附图说明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. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, the Under the premise, other drawings can also be obtained based on these drawings.
图1为实现本申请各个实施例的一种智能终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
图2为本申请实施例提供的一种通信网络***架构图;FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application;
图3是根据第一实施例示出的图像处理方法的流程示意图;Fig. 3 is a schematic flowchart of an image processing method shown according to the first embodiment;
图4a是根据第一实施例示出的对第一图像调整的用户界面示意图;Fig. 4a is a schematic diagram of a user interface for adjusting a first image according to the first embodiment;
图4b是根据第一实施例示出的搜索预设应用的用户界面示意图;Fig. 4b is a schematic diagram of a user interface of a search preset application shown according to the first embodiment;
图4c是根据第一实施例示出的关闭预设应用的用户界面示意图;Fig. 4c is a schematic diagram of a user interface showing closing a preset application according to the first embodiment;
图4d是根据第一实施例示出的切换预设应用的用户界面示意图;Fig. 4d is a schematic diagram of a user interface for switching preset applications according to the first embodiment;
图4e是根据第一实施例示出的生成或确定目标图像的时序示意图;Fig. 4e is a schematic diagram showing the sequence of generating or determining a target image according to the first embodiment;
图4f是根据第一实施例示出的生成或确定目标图像的用户界面示意图;Fig. 4f is a schematic diagram of a user interface for generating or determining a target image according to the first embodiment;
图5是根据第二实施例示出的图像处理方法的流程示意图;Fig. 5 is a schematic flowchart of an image processing method according to a second embodiment;
图6a是根据第二实施例示出的不同参考时段获取不同模板调整参数调整后的图像模板示意图;Fig. 6a is a schematic diagram of image templates adjusted by acquiring different template adjustment parameters according to different reference periods shown in the second embodiment;
图6b是根据第二实施例示出的对第一图像模板调整的用户界面示意图;Fig. 6b is a schematic diagram of a user interface for adjusting the first image template according to the second embodiment;
图6c是根据第二实施例示出的第二图像模板为连续的图像帧的用户界面示意图;Fig. 6c is a schematic diagram of a user interface in which the second image template is continuous image frames according to the second embodiment;
图7是根据第三实施例示出的图像处理方法的流程示意图;Fig. 7 is a schematic flowchart of an image processing method according to a third embodiment;
图8a是根据第三实施例示出的智能终端从黑屏状态切换至第一桌面显示状态的用户界面示意图;Fig. 8a is a schematic diagram of a user interface showing a smart terminal switching from a black screen state to a first desktop display state according to a third embodiment;
图8b是根据第三实施例示出的智能终端从黑屏状态切换至第一桌面显示状态的另一用户界面示意图;Fig. 8b is a schematic diagram of another user interface for switching the smart terminal from the black screen state to the first desktop display state according to the third embodiment;
图8c是根据第三实施例示出的智能终端从息屏状态切换至锁屏状态的用户界面示意图;Fig. 8c is a schematic diagram of the user interface of the smart terminal switching from the off-screen state to the locked screen state according to the third embodiment;
图8d是根据第三实施例示出的智能终端从息屏状态切换至第一桌面显示状态的用户界面示意图;Fig. 8d is a schematic diagram of the user interface of the smart terminal switching from the off-screen state to the first desktop display state according to the third embodiment;
图8e是根据第三实施例示出的智能终端从锁屏状态切换至第一桌面显示状态的用户界面示意图;Fig. 8e is a schematic diagram of the user interface of the smart terminal switching from the lock screen state to the first desktop display state according to the third embodiment;
图8f是根据第三实施例示出的智能终端从第一桌面显示状态切换至第二桌面显示状态的用户界面示意图;Fig. 8f is a schematic diagram of the user interface of the smart terminal switching from the first desktop display state to the second desktop display state according to the third embodiment;
图9是根据本申请实施例提供的一种图像处理装置的结构示意图;FIG. 9 is a schematic structural diagram of an image processing device provided according to an embodiment of the present application;
图10为本申请提供的一种智能终端的硬件结构示意图;FIG. 10 is a schematic diagram of a hardware structure of an intelligent terminal provided by the present application;
图11为本申请提供的一种智能终端的硬件结构示意图;FIG. 11 is a schematic diagram of a hardware structure of an intelligent terminal provided by the present application;
图12为本申请提供的一种智能终端的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of a smart terminal provided by the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上 述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. By means of the above-mentioned 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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the statement "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为“在……时”或“当……时”或“响应于确定”。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination". Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not exclude one or more other features, steps, operations, The existence, occurrence or addition of an element, component, item, species, and/or group. The terms "or", "and/or", "comprising at least one of" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C", another example, " A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in the embodiment of the present application are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事 件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response to the determination" or "when detected (the stated condition or event) )" or "in response to detection of (a stated condition or event)".
需要说明的是,在本文中,采用了诸如S10、S20等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S20后执行S10等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S10 and S20 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. Those skilled in the art may, during specific implementation, S20 will be executed first, followed by S10, etc., but these should be within the scope of protection of this application.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。In the following description, the use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be mixedly used.
智能终端可以以各种形式来实施。例如,本申请中描述的智能终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等智能终端,以及诸如数字TV、台式计算机等固定终端。Smart terminals can be implemented in various forms. For example, the smart terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Smart terminals such as wearable devices, smart bracelets, and pedometers, as well as fixed terminals such as digital TVs and desktop computers.
后续描述中将以智能终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。In the subsequent description, a smart terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
请参阅图1,其为实现本申请各个实施例的一种智能终端的硬件结构示意图,该智能终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的智能终端结构并不构成对智能终端的限定,智能终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1, which is a schematic diagram of the hardware structure of a smart terminal implementing various embodiments of the present application. The smart terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the smart terminal structure shown in Figure 1 does not constitute a limitation on the smart terminal, and the smart terminal may include more or less components than shown in the figure, or combine certain components, or different components layout.
下面结合图1对智能终端的各个部件进行具体的介绍:The following is a specific introduction to each component of the smart terminal in conjunction with Figure 1:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,可选地,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯***)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-Long Term Evolution,频分双工长期演进)、TDD-LTE(Time Division Duplexing-Long Term Evolution,分时双工长期演进)和5G等。The radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Optionally, after receiving the downlink information from the base station, it can be processed by the processor 110; in addition, the uplink data can be sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
WiFi属于短距离无线传输技术,智能终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于智能终端的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. Through the WiFi module 102, the smart terminal can help users send and receive emails, browse web pages, and access streaming media, etc., and it provides users with wireless broadband Internet access. Although FIG. 1 shows the WiFi module 102, it can be understood that it is not a necessary component of the smart terminal, and can be completely omitted according to needs without changing the essence of the application.
音频输出单元103可以在智能终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者 在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与智能终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。The audio output unit 103 can store the information received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 when the smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like. The audio data is converted into an audio signal and output as sound. Moreover, the audio output unit 103 may also provide audio output related to specific functions performed by the smart terminal 100 (for example, call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 104 is used to receive audio or video signals. The A/V input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 . The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data. The processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
智能终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。可选地,光传感器包括环境光传感器及接近传感器,可选地,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在智能终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the smart terminal 100 moves to the ear. panel 1061 and/or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与智能终端的用户设置以及功能控制有关的键信号输入。可选地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。可选地,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。可选地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the smart terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Optionally, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
可选地,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件 的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现智能终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现智能终端的输入和输出功能,具体此处不做限定。Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event. The corresponding visual output is provided on the display panel 1061 . Although in FIG. 1, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the smart terminal is not specifically limited here.
接口单元108用作至少一个外部装置与智能终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到智能终端100内的一个或多个元件或者可以用于在智能终端100和外部装置之间传输数据。The interface unit 108 is used as an interface through which at least one external device can be connected with the smart terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,可选地,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a storage program area and a storage data area. Optionally, the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是智能终端的控制中心,利用各种接口和线路连接整个智能终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行智能终端的各种功能和处理数据,从而对智能终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,可选地,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the smart terminal, and uses various interfaces and lines to connect various parts of the whole smart terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the smart terminal and process data, so as to monitor the smart terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes operating systems, user interfaces, and application programs, etc. The demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
智能终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The smart terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
尽管图1未示出,智能终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the smart terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
为了便于理解本申请实施例,下面对本申请的智能终端所基于的通信网络***进行描述。In order to facilitate understanding of the embodiments of the present application, the following describes the communication network system on which the smart terminal of the present application is based.
请参阅图2,图2为本申请实施例提供的一种通信网络***架构图,该通信网络***为通用移动通信技术的LTE***,该LTE***包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is a structure diagram of a communication network system provided by an embodiment of the present application. The communication network system is an LTE system of general mobile communication technology. ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
可选地,UE201可以是上述终端100,此处不再赘述。Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。可选地,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。 E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on. Optionally, the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS (Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy and Charging Rules Function,政策和资费功能实体)2036等。可选地,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc. Optionally, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide UE 201 IP address allocation and other functions, PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子***)或其它IP业务等。The IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
虽然上述以LTE***为例进行了介绍,但本领域技术人员应当知晓,本申请不仅仅适用于LTE***,也可以适用于其他无线通信***,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络***(如5G)等,此处不做限定。Although the LTE system is used as an example above, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems. The network system (such as 5G), etc., is not limited here.
基于上述智能终端硬件结构以及通信网络***,提出本申请各个实施例。Based on the above hardware structure of the smart terminal and the communication network system, various embodiments of the present application are proposed.
下面对本申请实施例提供的图像处理方法、智能终端及存储介质进一步进行详细描述。请参阅图3,图3是根据第一实施例示出的一种图像处理方法的流程示意图。图3所示的图像处理方法包括301-303。本申请实施例的该方法可以由图1所示的智能终端来执行,也可以由该智能终端中的芯片来执行,该智能终端可以应用于图2所示的通信网络***。图3所示的方法执行主体以智能终端为例。其中:The image processing method, smart terminal, and storage medium provided in the embodiments of the present application are further described in detail below. Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of an image processing method according to the first embodiment. The image processing method shown in FIG. 3 includes 301-303. The method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal. The smart terminal may be applied to the communication network system shown in FIG. 2 . The execution body of the method shown in FIG. 3 takes a smart terminal as an example. in:
301、响应于满足壁纸切换条件,获取至少一第一图像和至少一第一图像模板。301. Acquire at least one first image and at least one first image template in response to satisfying a wallpaper switching condition.
本申请实施例中,智能终端可以显示壁纸,所谓壁纸,是指智能终端显示屏显示的背景图像。可选地,壁纸可以分为三种类别:桌面壁纸、锁屏壁纸以及息屏壁纸。所谓桌面壁纸,是指智能终端显示桌面时的背景图像,所谓锁屏壁纸是指智能终端在屏幕锁定状态下显示的背景图像,所谓息屏壁纸是指智能终端处于屏幕熄灭状态下所显示的背景图像。若智能终端总是显示同一张壁纸,则可能导致使用该智能终端的用户在每次使用智能终端时,总是看着同一张图像,过于枯燥,容易产生厌烦情绪。若用户想要更换壁纸,可以在设置中重新选取一张图像作为壁纸,这样操作比较繁琐,若用户想要在某一天中的不同时段显示不同的壁纸,则用户需要在不同时段手动选取不同的图像设置为壁纸。这种操作不便于用户经常更换壁纸,更换壁纸的效率较低,用户体验不好。In the embodiment of the present application, the smart terminal may display a wallpaper, and the so-called wallpaper refers to a background image displayed on a display screen of the smart terminal. Optionally, the wallpapers can be classified into three categories: desktop wallpapers, lock screen wallpapers, and off-screen wallpapers. The so-called desktop wallpaper refers to the background image when the smart terminal displays the desktop, the so-called lock screen wallpaper refers to the background image displayed on the smart terminal when the screen is locked, and the so-called off-screen wallpaper refers to the background image displayed on the smart terminal when the screen is off. image. If the smart terminal always displays the same wallpaper, it may cause the user of the smart terminal to always look at the same image every time he uses the smart terminal, which is too boring and prone to boredom. If the user wants to change the wallpaper, he can re-select an image as the wallpaper in the settings. This operation is cumbersome. If the user wants to display different wallpapers at different times of the day, the user needs to manually select different ones at different times. Image set as wallpaper. This kind of operation is inconvenient for the user to change the wallpaper frequently, the efficiency of changing the wallpaper is low, and the user experience is not good.
在一种可能的实现方式中,智能终端可以在检测到满足壁纸切换条件的情况下,响应该满足图像切换条件,获取至少一第一图像和至少一第一图像模板,并按照预设调整规则对第一图像进行调整,得到第二图像,并根据第二图像和第一图像模板确定或生成目标图像,进而将该目标图像作为壁纸,则无需用户手动选取图像生成或选取壁纸。可选地,图像模板可以为体现图像不同位置的透明度和/或颜色值的一系列数值,图像模板可以也定义图像透明度和/或颜色的一系列数值。若想得到的壁纸为静态壁纸,则第一图像为一张图像,若设置的壁纸为动态壁纸,则第一图像为多张图像,为了实现动态的效果,第一图像为多 张图像的时候,多张图像还可以是连续的图像帧。In a possible implementation, the smart terminal may acquire at least one first image and at least one first image template in response to the satisfaction of the image switching condition when it detects that the wallpaper switching condition is met, and adjust the wallpaper according to the preset adjustment rule The first image is adjusted to obtain the second image, and the target image is determined or generated according to the second image and the first image template, and then the target image is used as the wallpaper, so that the user does not need to manually select the image to generate or select the wallpaper. Optionally, the image template may be a series of numerical values representing transparency and/or color values at different positions of the image, and the image template may also define a series of numerical values of image transparency and/or color. If the desired wallpaper is a static wallpaper, then the first image is one image, if the set wallpaper is a dynamic wallpaper, then the first image is multiple images, in order to achieve a dynamic effect, when the first image is multiple images, The multiple images may also be consecutive image frames.
可选地,至少一第一图像以及至少一第一图像模板可以是智能终端预先设置的,也可以是用户设置或选择的。可选地,至少一第一图像以及至少一第一图像模板也可以是根据用户上次选择或者设置所确定的。可选地,至少一第一图像以及至少一第一图像模板还可以是智能终端根据大数据分析确定的,本申请对此不做限定。Optionally, the at least one first image and the at least one first image template may be preset by the smart terminal, or may be set or selected by the user. Optionally, the at least one first image and the at least one first image template may also be determined according to the user's last selection or setting. Optionally, the at least one first image and the at least one first image template may also be determined by the smart terminal according to big data analysis, which is not limited in this application.
可选地,至少第一图像若是智能终端预先设置的,则可以是智能终端的壁纸设置程序中自带的一张或多张图像。可选地,至少一第一图像若是用户设置的,则可以是用户在本地图库中选取的图像集合,或者是用户在设置时拍摄的一张或多张图像得到的第一图像;对于由用户设置的至少一第一图像,可以在壁纸设置程序中设置添加图像的接口,用户从该接口可以自行添加本地图库中的图像、或者从网络下载的图像、再或者由用户在设置时拍摄的图像。可选地,至少一第一图像可以是智能终端根据上次目标图像所使用的第一图像,例如,智能终端可以获取上一次确定或生成目标图像的过程中,用户选择或者设置的图像。可选地,至少一第一图像可以是根据用户使用习惯确定的,例如,智能终端可以获取确定或生成的历史目标图像中,用户使用次数最多的第一图像。再例如,智能终端可以获取用户的使用习惯中用户周期性的生成目标图像时所使用的第一图像。可选地,至少一第一图像可以是智能终端根据大数据分析确定的,例如,智能终端可以获取上述壁纸设置程序预先设置的图像中,最多人使用的图像,也可以是在该壁纸设置程序预先设置的图像中,当前最热门的图像等等,本申请对此不做限定。Optionally, if at least the first image is preset by the smart terminal, it may be one or more images included in the wallpaper setting program of the smart terminal. Optionally, if the at least one first image is set by the user, it may be an image collection selected by the user in the local gallery, or the first image obtained from one or more images taken by the user during setting; At least one first image is set, an interface for adding images can be set in the wallpaper setting program, from which the user can add images in the local gallery, or images downloaded from the network, or images taken by the user when setting . Optionally, the at least one first image may be the first image used by the smart terminal according to the last target image, for example, the smart terminal may obtain an image selected or set by the user during the last process of determining or generating the target image. Optionally, the at least one first image may be determined according to the user's usage habits. For example, the smart terminal may acquire the first image that is used most frequently by the user among the determined or generated historical target images. For another example, the smart terminal may acquire the first image used when the user periodically generates the target image in the usage habits of the user. Optionally, the at least one first image may be determined by the smart terminal based on big data analysis. For example, the smart terminal may obtain the image used by the most people among the images preset by the above-mentioned wallpaper setting program, or it may be the image in the wallpaper setting program. Among the preset images, the current most popular image and so on are not limited in this application.
可选地,第一图像模板可以是智能终端的壁纸设置程序中自带的图像模板,也可以是用户根据智能终端壁纸设置程序中提供的多个图像模板中选择的一个或多个图像模板,还可以是用户设置的图像中不同位置的透明度和/或颜色值等,或者是用户在智能终端的壁纸设置程序中提供的图像模板中包括的图像透明度和/或颜色的一系列数值进行调整得到的。可选地,第一图像模板还可以是上一次智能终端确定或生成目标图像所使用的第一图像模板。可选地,第一图像模板还可以是用户使用习惯中用户使用次数最多的图像模板,例如,智能终端确定或生成的历史目标图像中,用户使用次数最多的第一图像模板。再例如,智能终端也可以获取用户周期性生成目标图像时所使用的第一图像模板。可选地,第一图像模板还可以是智能终端根据大数据分析确定的,例如,智能终端可以获取壁纸设置程序预先设置的图像模板中,最多人使用的图像模板,以及当前最热门的图像模板等等,本申请对此不做限定。Optionally, the first image template may be a built-in image template in the wallpaper setting program of the smart terminal, or may be one or more image templates selected by the user from a plurality of image templates provided in the wallpaper setting program of the smart terminal, It can also be the transparency and/or color values of different positions in the image set by the user, or a series of numerical values of image transparency and/or color included in the image template provided by the user in the wallpaper setting program of the smart terminal. of. Optionally, the first image template may also be the first image template used by the smart terminal to determine or generate the target image last time. Optionally, the first image template may also be the image template that is used the most times by the user in the usage habits of the user, for example, the first image template that is used the most times by the user among historical target images determined or generated by the smart terminal. For another example, the smart terminal may also acquire the first image template used when the user periodically generates the target image. Optionally, the first image template can also be determined by the smart terminal based on big data analysis. For example, the smart terminal can obtain the image template that is used by the most people and the most popular image template among the image templates preset by the wallpaper setting program. Etc., this application does not limit this.
在一种可能的实现方式中,智能终端响应于满足图像切换条件,可以为以下至少一种:环境信息满足预设环境条件、用户的生物特征信息满足预设生物特征条件、状态信息满足预设状态条件、智能终端接收到切换图像的操作指令以及智能终端接收到针对预设应用的启动指令或者切换指令或者关闭指令。In a possible implementation, the intelligent terminal responds to satisfying the image switching condition, which may be at least one of the following: the environmental information meets the preset environmental condition, the user's biological feature information meets the preset biological feature condition, and the status information meets the preset State conditions, the smart terminal receives an operation instruction to switch images, and the smart terminal receives a startup instruction, a switching instruction, or a closing instruction for a preset application.
可选地,智能终端可以获取环境信息,并判断获取到的环境信息是否满足预设环境条件,若满足预设环境条件,则确定满足图像切换条件。可选地,环境信息可以为时间信息、智能终端所在的位置信息、天气信息、以及用户所处的场景信息等等,本申请对此不做限定。可选地,用户所处的场景信息可以是智能终端通过摄像头采集到的图像确定用户处于室内场景或者室外场景信息,以及通过摄像头采集到的图像确定用户是否处于特定的场景, 例如,车载场景等。可选地,预设环境条件可以是针对时间信息的条件、针对位置信息的条件、针对天气信息的条件以及针对场景信息的条件,在满足某一预设环境条件的情况下,例如,满足针对时间信息的预设环境条件,则满足图像切换条件。可选地,预设环境条件可以是针对环境类别的条件,该环境类别是根据时间信息、位置信息、天气信息以及场景信息共同确定的。Optionally, the smart terminal may acquire environmental information, and determine whether the acquired environmental information satisfies a preset environmental condition, and if the preset environmental condition is met, determine that the image switching condition is met. Optionally, the environment information may be time information, location information of the smart terminal, weather information, scene information of the user, etc., which is not limited in this application. Optionally, the scene information where the user is located may be that the smart terminal determines whether the user is in an indoor scene or an outdoor scene through the image collected by the camera, and determines whether the user is in a specific scene through the image collected by the camera, for example, a vehicle scene, etc. . Optionally, the preset environmental condition may be a condition for time information, a condition for location information, a condition for weather information, and a condition for scene information. If the preset environmental condition of the time information is satisfied, the image switching condition is satisfied. Optionally, the preset environmental condition may be a condition for an environmental category, and the environmental category is jointly determined according to time information, location information, weather information, and scene information.
可选地,预设环境条件可以是时间信息属于预设时段,即智能终端可以在不同时段显示不同的壁纸。可选地,时段可以是以分钟为粒度的,也可以是以小时为粒度的。为了描述方便,本申请以预设环境条件为一天中的四个参考时段,分别包括早上时段、中午时段、傍晚时段以及深夜时段。例如早上时段可以是4:01-10:00,中午时段可以是10:01-16:00,傍晚时段可以是16:01-22:00,深夜时段可以是22:01-4:00。则智能终端可以通过获取***时间,或者获取当前的网络时间,得到当前时刻的时间信息,在确当前时刻的时间信息定满足属于不同预设时段的情况下,确定满足图像切换条件。再一示例性的,预设环境条件可以是天气属于某一种天气类别,例如,降雨、大雾、下雪等等。又一示例性的,预设环境条件可以是当前位置信息为预设位置信息,例如,可以在北京、上海、深圳等。Optionally, the preset environmental condition may be that the time information belongs to a preset time period, that is, the smart terminal may display different wallpapers at different time periods. Optionally, the time period may be granular in minutes or hours. For the convenience of description, the present application takes the preset environmental conditions as four reference time periods in a day, including morning time period, noon time period, evening time period and late night time period respectively. For example, the morning time period can be 4:01-10:00, the noon time period can be 10:01-16:00, the evening time period can be 16:01-22:00, and the late night time period can be 22:01-4:00. Then the smart terminal can obtain the time information of the current moment by acquiring the system time or the current network time, and determine that the image switching condition is satisfied when the time information of the current moment is determined to belong to different preset time periods. In yet another example, the preset environmental condition may be that the weather belongs to a certain weather category, for example, rain, heavy fog, snow and so on. As another example, the preset environmental condition may be that the current location information is the preset location information, for example, it may be in Beijing, Shanghai, Shenzhen, and so on.
可选地,智能终端可以获取用户的生物特征,生物特征可以为用户的表情、用户的语音,并判断用户的表情对应的表情类别是否为预设表情类别,若是,则智能终端确定满足预设生物特征条件。同理,对用户的语音信息转文本信息,得到的文本信息是否包括预设文本,若是,则智能终端确定满足预设生物特征条件。可选地,智能终端可以根据表情类别和通过语音得到的文本信息确定生物特征类别,并判断该生物特征类别是否满足预设生物特征条件,若是,则智能终端确定满足预设生物特征条件。可选地,智能终端可以通过摄像头采集用户的人脸图像信息和/或通过麦克风采集用户的语音信息,并对人脸图像信息和语音信息进行识别,通过识别出的表情类别和/或文本信息确定是否满足预设生物特征条件。Optionally, the smart terminal can obtain the user's biometric feature, which can be the user's facial expression or the user's voice, and judge whether the facial expression category corresponding to the user's facial expression is a preset facial expression category, and if so, the smart terminal determines that the preset facial expression category is satisfied. Biometric conditions. Similarly, when converting the user's voice information to text information, whether the obtained text information includes preset text, and if so, the smart terminal determines that the preset biometric condition is met. Optionally, the smart terminal can determine the biometric category according to the expression category and the text information obtained through voice, and judge whether the biometric category meets the preset biometric condition, and if so, the smart terminal determines that the preset biometric condition is satisfied. Optionally, the smart terminal can collect the user's face image information through the camera and/or collect the user's voice information through the microphone, and recognize the face image information and voice information, and use the recognized expression category and/or text information It is determined whether preset biometric conditions are met.
可选地,智能终端可以获取当前设备的状态,得到状态信息,该状态信息可以为智能终端的屏幕亮度信息、电量信息、步数信息、姿态信息、显示状态的信息。可选地,智能终端可以根据上述状态信息中的一项或者多项确定是否满足预设状态条件,若满足,则确定满足图像切换条件,即上述预设状态条件可以是针对屏幕亮度信息、电量信息、步数信息、姿态信息、显示状态的中的一项或多项的状态条件,即预设状态条件可以是针对状态信息中某一项或多项的参数值的限定。可选地,智能终端可以获取***参数,得到屏幕亮度百分比、电量百分比、步数、显示状态,智能终端也可以根据重力加速度传感器获取智能终端的姿态,得到姿态信息,例如,可以得到智能终端的中轴线与竖直方向的夹角。在智能终端确定以下一项或多项的情况下,确定满足预设状态条件:屏幕亮度百分比属于预设亮度百分比区间、电量百分比属于预设电量百分比区间、步数属于预设步数区间、显示状态从第一显示状态切换至第二显示状态中的一项或多项。可选地,显示状态可以为黑屏状态、息屏显示状态、锁屏显示状态或桌面显示状态,桌面显示状态可以为至少一个桌面显示状态。Optionally, the smart terminal can acquire the status of the current device and obtain status information, which can be screen brightness information, power information, step information, posture information, and display status information of the smart terminal. Optionally, the smart terminal can determine whether the preset state condition is satisfied according to one or more items of the above state information, and if so, determine that the image switching condition is satisfied, that is, the above preset state condition can be for screen brightness information, power The state condition of one or more items of information, step number information, attitude information, and display status, that is, the preset state condition may be a limitation on the parameter value of one or more items of state information. Optionally, the smart terminal can obtain system parameters to obtain the screen brightness percentage, battery percentage, step count, and display status. The smart terminal can also obtain the posture of the smart terminal according to the gravity acceleration sensor to obtain posture information. For example, the smart terminal can be obtained. The angle between the central axis and the vertical direction. When the smart terminal determines one or more of the following, it is determined to meet the preset state conditions: the screen brightness percentage belongs to the preset brightness percentage range, the power percentage belongs to the preset power percentage range, the number of steps belongs to the preset step range, and the display One or more of the state switches from the first display state to the second display state. Optionally, the display state may be a black screen state, an off-screen display state, a lock screen display state or a desktop display state, and the desktop display state may be at least one desktop display state.
可选地,智能终端接收到切换图像的操作指令,确定满足图像切换条件。该操作指令可以是用户通过上述壁纸设置程序中触发的,也可以是通过快捷操作触发的,例如,通过 特定的滑动轨迹触发的,还可以是通过上述语音信息转换为文本信息中包括的图像切换指令触发的,本申请不做限定。Optionally, the smart terminal receives an operation instruction to switch images, and determines that an image switching condition is met. The operation instruction can be triggered by the user through the above-mentioned wallpaper setting program, or can be triggered through a shortcut operation, for example, through a specific sliding track, or through the image switching included in the conversion of the above-mentioned voice information into text information What is triggered by the instruction is not limited in this application.
可选地,智能终端接收到针对预设应用的启动或切换或关闭指令,确定满足图像切换条件,可以理解的是,智能终端在启动应用、切换前台显示的应用以及关闭应用时,均可能显示部分或全部的壁纸,则可以是在检测到针对预设应用的启动或切换或关闭指令的情况下,确定满足图像切换条件。预设应用可以是智能终端安装的部分或全部应用。Optionally, the smart terminal receives an instruction to start or switch or close the preset application, and determines that the image switching condition is met. It can be understood that when the smart terminal starts the application, switches the application displayed in the foreground, and closes the application, For some or all of the wallpapers, it may be determined that the image switching condition is satisfied when an instruction for starting or switching or closing a preset application is detected. The preset applications may be some or all of the applications installed on the smart terminal.
可选地,上述预设环境条件、预设生物特征条件、预设状态条件以及预设应用的标识(或者应用类别)可以分别对应不同的预先设置的图像集合,也可以分别对应不同的预设的图像模板集合。则可以在分别满足上述预设环境条件、预设生物特征条件、预设状态条件的情况下,获取对应的图像集合中的图像,以及获取对应的图像模板集合中的图像模板。智能终端也可以获取预设应用的应用类别和/或应用标识对应的预先设置的图像集合中的图像,并获取预设应用的应用类别和/或应用标识对应的预先设置的图像模板集合中的图像模板。Optionally, the preset environmental conditions, preset biometric conditions, preset state conditions, and preset application identifiers (or application categories) may correspond to different preset image sets, or may correspond to different preset collection of image templates. Then, the images in the corresponding image set and the image templates in the corresponding image template set can be acquired when the above-mentioned preset environmental conditions, preset biological characteristic conditions, and preset state conditions are respectively satisfied. The smart terminal may also acquire the images in the preset image set corresponding to the application category and/or application identifier of the preset application, and acquire the images in the preset image template set corresponding to the application category and/or application identifier of the preset application. Image template.
可选地,智能终端得到至少一第一图像和至少一第一图像模板之后,可以按照预设调整规则对第一图像进行调整,得到第二图像,并根据第二图像和第一图像模板确定或生成目标图像。Optionally, after the smart terminal obtains at least one first image and at least one first image template, it can adjust the first image according to a preset adjustment rule to obtain a second image, and determine according to the second image and the first image template or generate target image.
302、按照预设调整规则对所述第一图像进行调整,以得到第二图像。302. Adjust the first image according to a preset adjustment rule to obtain a second image.
在一种可能的实现方式中,按照预设调整规则对所述第一图像进行调整可以为根据图像调整参数、第三图像以及预设特效中的至少一项对该第一图像进行调整。可选地,图像调整参数可以为图像的透明度参数、对比度参数、亮度参数、灰度参数等等。可选地,图像调整参数还可以为光线信息,可以理解的是,上述对图像的透明度参数、对比度参数、亮度参数、灰度参数进行调整均为对第一图像中所有像素进行调整,而光线信息用于调整第一图像的光线,从而使第一图像呈现不同的光影效果。可选地,第三图像可以是尺寸小于第一图像的图像,也可以是包括部分像素为预设像素(透明像素)的图像,该第三图像可以理解为贴纸,也可以理解为图像蒙版。可选地,预设特效可以是由粒子生成器生成的特效,也可以为部分像素为预设像素(透明像素)的图像。In a possible implementation manner, adjusting the first image according to a preset adjustment rule may be adjusting the first image according to at least one of an image adjustment parameter, a third image, and a preset special effect. Optionally, the image adjustment parameters may be transparency parameters, contrast parameters, brightness parameters, grayscale parameters, etc. of the image. Optionally, the image adjustment parameters can also be light information. It can be understood that the above-mentioned adjustments to the transparency parameters, contrast parameters, brightness parameters, and grayscale parameters of the image are all adjustments to all pixels in the first image, and the light The information is used to adjust the light of the first image, so that the first image presents different light and shadow effects. Optionally, the third image may be an image smaller in size than the first image, or an image including some pixels that are preset pixels (transparent pixels). The third image can be understood as a sticker or an image mask . Optionally, the preset special effect may be a special effect generated by a particle generator, or may be an image in which some pixels are preset pixels (transparent pixels).
可选地,该预设特效和第三图像还可以添加在智能终端的桌面状态显示的应用图标处,即该预设特效和第三图像可以是针对应用图标的特效和图像。智能终端可以获取至少一个应用图标的位置信息,该位置信息为该应用图标在用户界面的位置信息,并在第一图像中该至少一个应用图标的位置信息的显示区域(即目标显示区域)添加预设特效和/或第三图像,从而达到突出显示应用图标的效果。Optionally, the preset special effect and the third image can also be added at the application icon displayed on the desktop state of the smart terminal, that is, the preset special effect and the third image can be special effects and images for the application icon. The smart terminal can acquire the position information of at least one application icon, the position information is the position information of the application icon in the user interface, and add Preset special effects and/or third images to achieve the effect of highlighting the application icon.
请一并参阅图4a,图4a是根据第一实施例示出的对第一图像调整的用户界面示意图,如图4a所示,左侧为第一图像,即调整前的图像,右侧为调整后的图像,即第二图像。可选地,智能终端可以根据图像调整参数对第一图像中的颜色值、亮度、饱和度等参数进行调整,可选地,智能终端也可以在第一图像上添加第三图像,第三图像可以是如图4a中右侧的右下角针对图像中的图像元素添加的第三图像,类似于图像的“眼睛”贴纸,该第三图像也可以是针对图像中应用图标的位置添加的贴纸,例如针对“音乐”应用图标添加的“耳机”图案的第三图像。可选地,智能终端可以在第一图像上添加预设特效,例如,在 “计算器”应用图标的图标边框添加“加粗特效”,也可以在“日历”应用图标的图标边框“粒子特效”,如图4a所示,得到右侧所示的第二图像。从而对“音乐”应用、“计算器”应用以及“日历”应用突出显示。Please also refer to FIG. 4a. FIG. 4a is a schematic diagram of a user interface for adjusting the first image according to the first embodiment. As shown in FIG. 4a, the left side is the first image, that is, the image before adjustment, and the right side is the adjusted After the image, the second image. Optionally, the smart terminal can adjust parameters such as color value, brightness, and saturation in the first image according to the image adjustment parameters. Optionally, the smart terminal can also add a third image to the first image, and the third image It can be a third image added to the image element in the image element in the lower right corner of the right side as shown in Figure 4a, similar to the "eye" sticker of the image, the third image can also be a sticker added to the position of the application icon in the image, For example, the third image of the "earphone" pattern added for the "music" application icon. Optionally, the smart terminal can add preset special effects to the first image, for example, add a "bold special effect" to the icon border of the "calculator" application icon, or add a "particle special effect" to the icon border of the "calendar" application icon. ", as shown in Figure 4a, to obtain the second image shown on the right. Thus, the "Music" application, the "Calculator" application, and the "Calendar" application are highlighted.
可选地,确定或生成的目标图像可以作为静态壁纸,即第一图像为一张图像,确定或生成的目标图像也可以作为动态壁纸,则第一图像为多个图像,根据图像调整参数、第三图像以及预设特效中的至少一项对第一图像调整,可以是对至少一第一图像均进行调整,可以理解的是,该至少一第一图像的调整方式可以相同,也可以不同,智能终端可以根据每一张图像的具体包括的图像元素进行调整,本申请对此不做限定。Optionally, the determined or generated target image can be used as a static wallpaper, that is, the first image is an image, and the determined or generated target image can also be used as a dynamic wallpaper, then the first image is a plurality of images, according to image adjustment parameters, The adjustment of at least one of the third image and the preset special effect to the first image may be to adjust at least one first image. It can be understood that the adjustment method of the at least one first image may be the same or different. , the smart terminal may adjust according to the specific image elements included in each image, which is not limited in this application.
303、根据上述第二图像和上述第一图像模板确定或生成目标图像。303. Determine or generate a target image according to the second image and the first image template.
在一种可能的实现方式中,智能终端的壁纸是由至少一第一图像作为基础图像和第一图像模板合成得到的。可选地,智能终端还可以获取图像参数,通过图像参数、至少一第一图像以及至少一第一图像模板,确定或生成目标图像。可选地,智能终端可以获取图像参数,将第一图像模板和第二图像进行预设处理,得到初始目标图像,并根据图像参数对初始目标图像进行调整,得到最终的目标图像。可选地,图像参数可以为图像的透明度参数、对比度参数、亮度参数、灰度参数等等,可选地,该图像的透明度参数、对比度参数、亮度参数、灰度参数等等可以是对第一图像所有像素的颜色值进行调整。可选地,预设处理可以是将第一图像模板和第二图像进行融合处理,可选地,融合处理可以为颜色加深、颜色减淡等等多种图片混合效果,本申请对此不做限定,为了描述方便,本申请实施例以预设处理为融合处理为例进行讲解。可选地,图像参数还可以为光线信息,该光线信息可以理解为对图像进行光影效果变换的信息,包括对图像明亮度进行调整的信息,来控制合成图像中的光线强弱,使得显示的效果更加细腻,表达更充分,该光线信息可以用于调整第一图像中的部分像素的颜色值。In a possible implementation manner, the wallpaper of the smart terminal is obtained by synthesizing at least one first image as a base image and a first image template. Optionally, the smart terminal may also acquire image parameters, and determine or generate a target image through the image parameters, at least one first image, and at least one first image template. Optionally, the smart terminal may obtain image parameters, perform preset processing on the first image template and the second image to obtain an initial target image, and adjust the initial target image according to the image parameters to obtain a final target image. Optionally, the image parameter can be a transparency parameter, a contrast parameter, a brightness parameter, a grayscale parameter, etc. of the image, and optionally, the transparency parameter, a contrast parameter, a brightness parameter, a grayscale parameter, etc. of the image can be the parameters for the second The color values of all pixels in an image are adjusted. Optionally, the preset processing may be to perform fusion processing on the first image template and the second image. Optionally, the fusion processing may be a variety of image mixing effects such as color deepening, color lightening, etc. This application does not do this As a limitation, for the convenience of description, this embodiment of the present application takes the preset processing as fusion processing as an example for explanation. Optionally, the image parameter can also be light information, which can be understood as information for transforming light and shadow effects on the image, including information for adjusting the brightness of the image, so as to control the intensity of light in the composite image, so that the displayed The effect is more delicate and expresses more fully, and the light information can be used to adjust the color values of some pixels in the first image.
可选地,上述光线信息可以是根据环境光亮度和/或当前时刻的时间信息确定的,亮度信息可以根据环境光亮度和/或当前时间确定,该光线信息可以用于指示图像调整参数中各个参数的调整值,也可以指该图像参数,前者是对至少一第一图像进行调整,后者是对初始目标图像进行调整。需要说明的是,光线信息可以是针对至少一第一图像进行调整的参数信息,也可以是针对初始目标图像进行调整的参数信息,其都能起到对最终得到的目标壁纸的光线进行调整的效果。可选地,所述图像参数调整信息可以是图像整体或局部的透明度、对比度、亮度、灰度、颜色值的调整信息。可选地,所述环境光亮度可以由智能更短的光线传感器检测得到,当前时间可以是智能终端的***时间或者网络时间,根据环境光亮度或者当前时刻的时间信息可以确定当前的环境亮度情况,进而可以确定或生成对应的光线信息,使得最终获得的目标图像的亮度可以跟随环境亮度情况而变化。Optionally, the above light information may be determined according to the brightness of the ambient light and/or time information at the current moment, the brightness information may be determined according to the brightness of the ambient light and/or the current time, and the light information may be used to indicate that each of the image adjustment parameters The adjustment value of the parameter may also refer to the image parameter, the former is to adjust at least one first image, and the latter is to adjust the initial target image. It should be noted that the light information may be parameter information adjusted for at least one first image, or parameter information adjusted for the initial target image, all of which can be used to adjust the light of the final target wallpaper Effect. Optionally, the image parameter adjustment information may be adjustment information of transparency, contrast, brightness, gray scale, and color value of the entire or partial image. Optionally, the ambient light brightness can be detected by an intelligent shorter light sensor, the current time can be the system time or network time of the smart terminal, and the current ambient brightness can be determined according to the ambient light brightness or the time information at the current moment , and then the corresponding light information can be determined or generated, so that the brightness of the finally obtained target image can change according to the ambient brightness.
以桌面显示状态作为一种示例解释上述实现方式,示例性地,桌面显示状态中显示的目标图像是由第二图像中和第一图像模板合成得到的,其中第一图像为一个以天空为背景的建筑图像,第一图像模板覆盖于该第一图像上层。当获取到当前的***时间为上午6点时,光线信息包括部分或全部像素的像素坐标,以及像素坐标对应的图像参数。例如,智能终端可以根据获取到的光线信息将第一图像所有像素的亮度参数调整为60%,局部区域通过修改该局部区域的像素的颜色值形成橘黄色的光线的效果,此时可以通过融合第一图 像模板和调整后的第一图像(即第二图像)形成的目标整体形成黎明的效果,并且在局部区域形成有类似于曙光的光影图案的目标图像。同理,当获取到当前的***时间为中午12点时,智能终端可以根据当前时刻对应的光线信息将第一图像所有像素的亮度参数调整为100%,并将第二图像和第一图像模板融合形成目标图像,整体显示为明亮的以蓝天为背景的建筑图像;当获取当前***时间为晚上21点时,可以将第一图像所有像素的亮度参数调整为20%,局部区域添加包括星空元素的第三图像或者预设特效,此时该第二图像与第一图像模板融合形成的目标图像整体显示为夜晚的效果。The above implementation is explained by taking the desktop display state as an example. Exemplarily, the target image displayed in the desktop display state is synthesized from the second image and the first image template, wherein the first image is an image with the sky as the background The building image of , the first image template is overlaid on the upper layer of the first image. When the current system time is obtained as 6:00 am, the light information includes pixel coordinates of some or all pixels, and image parameters corresponding to the pixel coordinates. For example, the smart terminal can adjust the brightness parameters of all pixels in the first image to 60% according to the acquired light information, and the local area can form an orange light effect by modifying the color values of the pixels in the local area. The target formed by the first image template and the adjusted first image (that is, the second image) has the effect of dawn as a whole, and a target image with a light and shadow pattern similar to dawn is formed in a local area. Similarly, when the current system time is obtained at 12:00 noon, the smart terminal can adjust the brightness parameters of all pixels in the first image to 100% according to the light information corresponding to the current moment, and combine the second image and the first image template Fusion forms the target image, and the overall display is a bright architectural image with the blue sky as the background; when the current system time is 21 o'clock in the evening, you can adjust the brightness parameters of all pixels in the first image to 20%, and add elements including starry sky to the local area The third image or the preset special effect, at this time, the target image formed by fusion of the second image and the first image template is displayed as a night effect as a whole.
可选地,上述示例中光线信息是包括对第一图像中的部分或全部像素的参数进行调整,例如上述对第一图像的亮度参数进行调整,该光线信息也可以用于指示对初始目标图像的亮度参数进行调整,即将经过其他调整后得到的第二图像与第一图像模板进行融合处理,得到初始目标图像后,根据图像参数中的光线信息对初始目标图像进行调整,从而得到目标图像。Optionally, the light information in the above example includes adjusting the parameters of some or all pixels in the first image, for example, adjusting the brightness parameters of the first image above, and the light information can also be used to indicate the adjustment of the original target image The brightness parameters of the image are adjusted, that is, the second image obtained after other adjustments is fused with the first image template, and after the initial target image is obtained, the initial target image is adjusted according to the light information in the image parameters to obtain the target image.
可选地,智能终端在得到目标图像后,可以将目标图像作为壁纸,即显示目标图像,具体可以在息屏状态下显示,也可以在锁屏状态下显示,还可以在桌面状态下显示,本申请对此不做限定。可选地,智能终端在得到目标图像后,可以在桌面显示状态显示该目标图像,该目标图像还用于在应用启动时、切换应用时以及关闭应用时。即智能终端可以在得到目标图像后,显示该目标图像、预设应用的图标和预设应用的启动界面中的至少一个。Optionally, after the smart terminal obtains the target image, it can use the target image as a wallpaper, that is, display the target image. Specifically, it can be displayed in the off-screen state, it can also be displayed in the locked screen state, and it can also be displayed in the desktop state. This application does not limit this. Optionally, after the smart terminal obtains the target image, it can display the target image in the desktop display state, and the target image is also used when the application is started, switched and closed. That is, after obtaining the target image, the smart terminal may display at least one of the target image, the icon of the preset application, and the startup interface of the preset application.
可选地,请一并参阅图4b,图4b是根据第一实施例示出的搜索预设应用的用户界面示意图,如图4b所示,用户可以在触发应用搜索的功能,在搜索框中搜索想要查找的应用,以防由于应用图标过多没有办法快速查找想要启动的应用的位置,终端设备接收用户输入的应用名称(应用标识),在用户界面中查找应用图标的位置,并可以根据应用图标的位置确定第一图像的目标显示区域,并将第三图像和/或预设特效添加在该目标显示区域,得到第二图像,进而根据该第二图像和第一图像模板确定或生成如图4b左下角的用户界面中所示的目标图像,该图像在“音乐”应用图标上突出显示。进而,智能终端可以接收用户针对该“音乐”应用图标的触发操作,响应于该触发操作,可以显示该“音乐”应用的启动界面,如图4b右下角所示。Optionally, please refer to FIG. 4b together. FIG. 4b is a schematic diagram of the user interface of the search preset application according to the first embodiment. As shown in FIG. 4b, the user can trigger the application search function and search in the search box The application you want to find, in case there is no way to quickly find the location of the application you want to start due to too many application icons, the terminal device receives the application name (application identification) input by the user, searches the location of the application icon in the user interface, and can Determine the target display area of the first image according to the position of the application icon, and add the third image and/or preset special effects to the target display area to obtain a second image, and then determine or Generate the target image as shown in the user interface in the lower left corner of Figure 4b, which is highlighted on the "Music" application icon. Furthermore, the smart terminal may receive a user's trigger operation on the "music" application icon, and in response to the trigger operation, may display the startup interface of the "music" application, as shown in the lower right corner of FIG. 4b.
可选地,请一并参阅图4c,图4c是根据第一实施例示出的关闭预设应用的用户界面示意图,如图4c所示,智能终端接收针对该“音乐”应用的关闭指令,在第一图像中该“音乐”应用图标对应的目标显示区域添加第三图像和/或预设特效,得到第二图像,并根据该第二图像与第一图像模板确定或生成目标图像,即图4c右侧显示的壁纸图像。请一并参阅图4d,图4d是根据第一实施例示出的切换预设应用的用户界面示意图,如图4d所示,智能终端可以接收用户针对第一应用(“音乐”应用)的切换指令,以及前台显示第二应用(“计算器”应用)的切换指令,响应于上述切换指令,可以根据“音乐”应用图标和“计算器”应用图标的位置确定在第一图像的目标显示区域,该目标显示区域可以为“音乐”应用图标和“计算器”应用图标的显示区域,并可以在第一图像的目标显示区域添加第三图像和/或预设特效,得到第二图像,并根据第二图像和第一图像模板确定或生成目标图像,如图4d中间的用户界面所示。进而,智能终端可以启动该“计算器”应用,显示该“计算器”应用的启动界面。Optionally, please refer to FIG. 4c together. FIG. 4c is a schematic diagram of a user interface for closing a preset application according to the first embodiment. As shown in FIG. 4c, the smart terminal receives a closing instruction for the "music" application. Add a third image and/or preset special effects to the target display area corresponding to the "music" application icon in the first image to obtain a second image, and determine or generate a target image based on the second image and the first image template, that is, The wallpaper image shown on the right of 4c. Please also refer to FIG. 4d. FIG. 4d is a schematic diagram of a user interface for switching preset applications according to the first embodiment. As shown in FIG. 4d, the smart terminal can receive a switching instruction from the user for the first application ("music" application) , and a switching instruction for displaying the second application ("calculator" application) in the foreground, in response to the above switching instruction, the target display area of the first image can be determined according to the positions of the "music" application icon and the "calculator" application icon, The target display area can be the display area of the "Music" application icon and the "Calculator" application icon, and a third image and/or preset special effects can be added to the target display area of the first image to obtain the second image, and according to The second image and the first image template determine or generate the target image, as shown in the user interface in the middle of Figure 4d. Furthermore, the smart terminal can start the "calculator" application, and display the startup interface of the "calculator" application.
请一并参阅图4e,图4e是根据第一实施例示出的生成或确定目标图像的时序示意图。如图4a所示,智能终端在生成或确定目标图像时可以通过运行着色器(shader)程序来实现,所谓着色器是一种可以是用来实现图像渲染的,并且可以替代固定渲染管线的可编辑程序。首先,智能终端创建shader的线程;进而,获取至少一第一图像以及至少一第一图像模板,对第一图像进行调整,得到第二图像。可选地,对第一图像模板进行调整,得到第二图像模板。然后,对调整后的第一图像(第二图像)和第一图像模板(或第二图像模板)进行预设处理,得到初始目标图像,并按照图像参数对初始目标图像进行调整,得到带有纹理的图像,即目标图像。可选地,智能终端通过运行着色器程序对第一图像模板和第一图像进行预设处理,该预设处理可以是融合处理,可选地,该融合处理的效果可以为不同的图片混合效果,例如颜色减淡、颜色加深等效果。Please also refer to FIG. 4e, which is a schematic diagram of a sequence of generating or determining a target image according to the first embodiment. As shown in Figure 4a, when the smart terminal generates or determines the target image, it can be realized by running a shader (shader) program. Edit the program. First, the smart terminal creates a thread of the shader; further, acquires at least one first image and at least one first image template, and adjusts the first image to obtain a second image. Optionally, the first image template is adjusted to obtain the second image template. Then, preset processing is performed on the adjusted first image (second image) and the first image template (or second image template) to obtain the initial target image, and the initial target image is adjusted according to the image parameters to obtain the image with The image of the texture, the target image. Optionally, the smart terminal performs preset processing on the first image template and the first image by running a shader program, the preset processing may be fusion processing, and optionally, the effect of the fusion processing may be a mixed effect of different pictures , such as color lightening, color burning and other effects.
请一并参阅图4f,图4f是根据第一实施例示出的生成或确定目标图像的用户界面示意图。如图4f左上角所示的为至少一第一图像中任一图像,如图4f左下角所示的为第一图像模板的显示效果,该第一图像模板包括图像中各个位置的透明度以及颜色特征,对第一图像以及第一图像模板进行融合处理,得到如图4f右上角所示的初始目标图像。然后调整初始第一壁纸的图像参数,可以得到如图4f右下角所示的目标图像,可选地,在图4f左下角的用户界面中,智能终端可以在桌面状态下显示该目标图像,即将该目标图像作为桌面壁纸。Please refer to FIG. 4f together. FIG. 4f is a schematic diagram of a user interface for generating or determining a target image according to the first embodiment. As shown in the upper left corner of Figure 4f is any image in at least one first image, as shown in the lower left corner of Figure 4f is the display effect of the first image template, the first image template includes the transparency and color of each position in the image features, performing fusion processing on the first image and the first image template to obtain the initial target image as shown in the upper right corner of Figure 4f. Then adjust the image parameters of the initial first wallpaper to obtain the target image as shown in the lower right corner of Figure 4f. Optionally, in the user interface in the lower left corner of Figure 4f, the smart terminal can display the target image in the desktop state. This target image serves as the desktop wallpaper.
可选地,图4f是以至少一第一图像为一张图像为例进行讲解,至少一第一图像为一张图像,智能终端通过对至少一第一图像中各个图像均与第一图像模板进行融合处理,将融合后的多个图像分别按照图像参数进行调整,得到多张图像,智能终端可以将得到的多张图像作为目标图像。可选地,智能终端可以对融合后的多张图像进行叠加处理,将多张图像叠加为一张图像后,并对叠加后的图像进行调整,调整该叠加后的图像的图像参数,最终得到仅包括一张图像的目标图像。Optionally, FIG. 4f uses at least one first image as an example to explain, at least one first image is an image, and the smart terminal compares each image in the at least one first image with the first image template Fusion processing is performed, and the multiple fused images are respectively adjusted according to the image parameters to obtain multiple images, and the intelligent terminal can use the obtained multiple images as target images. Optionally, the smart terminal can superimpose the fused images, superimpose the multiple images into one image, adjust the superimposed image, adjust the image parameters of the superimposed image, and finally obtain A target image that includes only one image.
在图3所描述的方法中,响应于满足壁纸切换条件,获取至少一第一图像和至少一第一图像模板,按照预设调整规则对第一图像进行调整,以得到第二图像,并根据第二图像和第一图像模板确定或生成目标图像。因此,基于图3所描述的方法,一方面,可以通过图像和图像模板进行确定或生成目标图像,无需存储大量的图像,节约内存资源,另一方面,通过将目标图像作为壁纸,生成壁纸的无需用户的输入,简化用户的操作,提高改变显示在智能终端上的壁纸的效率。In the method described in FIG. 3 , in response to satisfying the wallpaper switching condition, at least one first image and at least one first image template are obtained, and the first image is adjusted according to preset adjustment rules to obtain a second image, and according to The second image and the first image template determine or generate a target image. Therefore, based on the method described in Figure 3, on the one hand, it is possible to determine or generate a target image through images and image templates, without storing a large number of images, saving memory resources; No user input is required, the user's operation is simplified, and the efficiency of changing the wallpaper displayed on the smart terminal is improved.
请参阅图5,图5是根据第二实施例示出的一种图像处理方法的另一流程示意图。图5所示的处理方法包括501-503。本申请实施例的该方法可以由图1所示的智能终端来执行,也可以由该智能终端中的芯片来执行,该智能终端可以应用于图2所示的通信网络***。图5所示的方法执行主体以智能终端为例。Please refer to FIG. 5 . FIG. 5 is another schematic flowchart of an image processing method according to the second embodiment. The processing method shown in FIG. 5 includes 501-503. The method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal. The smart terminal may be applied to the communication network system shown in FIG. 2 . The execution subject of the method shown in FIG. 5 takes a smart terminal as an example.
需要说明的是,本申请中各个实施例之间相同或相似的部分可以互相参考。在本申请中各个实施例、以及各实施例中的各个实施方式/实施方法/实现方法中,如果没有特殊说明以及逻辑冲突,不同的实施例之间、以及各实施例中的各个实施方式/实施方法/实现方法之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例、以及各实施例中的各个 实施方式/实施方法/实现方法中的技术特征根据其内在的逻辑关系可以组合形成新的实施例、实施方式、实施方法、或实现方法。以上上述的本申请实施方式并不构成对本申请保护范围的限定。其中:It should be noted that the same or similar parts among the various embodiments in this application can be referred to each other. In the various embodiments in this application, and the various implementation methods/implementation methods/implementation methods in each embodiment, if there is no special description and logical conflict, different embodiments, and each implementation method/implementation method in each embodiment The terms and/or descriptions between implementation methods/implementation methods are consistent and can be referred to each other. Different embodiments, and the technical features in each implementation manner/implementation method/implementation method in each embodiment are based on their inherent Logical relationships can be combined to form new embodiments, implementation modes, implementation methods, or implementation methods. The above-mentioned embodiments of the present application are not intended to limit the scope of protection of the present application. in:
501、响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板。501. Acquire at least one first image and at least one first image template in response to satisfying an image switching condition.
其中,步骤501的具体实施方式可以参见上述实施例步骤301的具体描述,此处不再赘述。Wherein, for the specific implementation manner of step 501, reference may be made to the specific description of step 301 in the foregoing embodiment, and details are not repeated here.
502、按照预设调整规则对上述第一图像模板进行调整,得到第二图像模板。502. Adjust the above-mentioned first image template according to a preset adjustment rule to obtain a second image template.
在一种可能的实现方式中,按照预设调整规则对第一图像模板进行调整可以为根据模板调整参数、第五图像以及预设特效中的至少一项对第一图像模板进行调整,得到第二图像模板。可选地,图像模板可以是用于叠加在图像上层的图像,该图像模板可以为包括了部分像素或全部像素的图像。可选地,模板调整参数可以为调整图像模板的透明度参数、对比度参数、亮度参数、灰度参数等等。可选地,模板调整参数也可以为光线信息,光线信息用于对图像模板的光影进行调整,该光线信息用于可以用于对图像模板中包括的部分像素的颜色值、透明度参数等进行调整,使得该第一图像蒙版呈现不同的光影效果,从而与图像确定或生成目标图像时,可以与多个不同的图像均生成包括不同光影效果的目标图像,可以使得在实际实现中更有利于采用简单、高效地实现对生成的目标图像的亮度调整。可选地,第五图像可以是尺寸小于第一图像的图像,也可以是包括部分像素为预设像素(透明像素)的图像,该第三图像可以理解为贴纸,也可以理解为图像蒙版。可选地,预设特效可以是由粒子生成器生成的特效,也可以为部分像素为预设像素(透明像素)的图像。In a possible implementation manner, adjusting the first image template according to the preset adjustment rule may be adjusting the first image template according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template. Two image templates. Optionally, the image template may be an image superimposed on the image, and the image template may be an image including some pixels or all pixels. Optionally, the template adjustment parameters may be to adjust transparency parameters, contrast parameters, brightness parameters, grayscale parameters, etc. of the image template. Optionally, the template adjustment parameter can also be light information, the light information is used to adjust the light and shadow of the image template, and the light information can be used to adjust the color values and transparency parameters of some pixels included in the image template , so that the first image mask presents different light and shadow effects, so that when determining or generating a target image with an image, a target image including different light and shadow effects can be generated with a plurality of different images, which can make it more beneficial in actual implementation The brightness adjustment of the generated target image is realized simply and efficiently. Optionally, the fifth image may be an image smaller in size than the first image, or an image including some pixels that are preset pixels (transparent pixels). The third image can be understood as a sticker or an image mask . Optionally, the preset special effect may be a special effect generated by a particle generator, or may be an image in which some pixels are preset pixels (transparent pixels).
可选地,上述第一图像模板的模板调整参数、第五图像以及预设特效中的一项或多项均可以是根据智能终端获取到的环境信息满足的预设环境条件获取的,也可以是根据智能终端获取到的用户的生物特征信息满足的预设生物特征条件获取的,还可以是根据智能终端获取到的状态信息满足的预设状态条件获取的。上述第一图像模板的模板调整参数、第五图像以及预设特效中的一项或多项均可以是根据预设环境条件、预设生物特征条件以及预设状态条件中至少一项共同获取的。Optionally, one or more of the above-mentioned template adjustment parameters of the first image template, the fifth image, and preset special effects may be obtained according to preset environmental conditions satisfied by the environmental information obtained by the smart terminal, or may be The user's biometric information acquired by the smart terminal satisfies the preset biometric condition, or the status information acquired by the smart terminal satisfies the preset state condition. One or more of the above-mentioned template adjustment parameters of the first image template, the fifth image, and preset special effects may be jointly acquired according to at least one of preset environmental conditions, preset biometric conditions, and preset state conditions .
可选地,请参阅图6a,图6a是根据第二实施例示出的不同参考时段获取不同模板调整参数调整后的图像模板示意图,如图6a所示,当获取到当前的***时间为上午6点的环境信息时,确定满足第一预设环境条件,则获取第一预设环境条件对应的模板调整参数,根据该模板调整参数、第五图像以及预设特效中的一种或多种,并根据模板调整参数、第五图像以及预设特效中的至少一项对第一图像模板进行调整,以得到如图6a左上角所示的第二图像模板。同理,当获取到当前的***时间为中午12点时,确定满足第二预设环境条件,获取第二预设环境条件对应的图像调整参数、第五图像以及预设特效中的一项或多项,并对第一图像模板进行调整,得到图6a右上角所示的第二图像模板的显示效果,同理,当获取当前***时间为晚上21点时,得到调整后的第二图像模板如图6a左下角为所示的显示效果,当获取当前***时间为晚上0点时,得到调整后的第二图像模板如图6a右下角为所示的显示效果。需要说明的是,图6a仅为示例,不对此进行限定。Optionally, please refer to FIG. 6a. FIG. 6a is a schematic diagram of image templates obtained after adjusting different template adjustment parameters according to different reference time periods shown in the second embodiment. As shown in FIG. 6a, when the current system time is obtained as 6 am When the environmental information of the point is determined to meet the first preset environmental condition, the template adjustment parameter corresponding to the first preset environmental condition is obtained, and one or more of the template adjustment parameter, the fifth image, and the preset special effect are obtained, And the first image template is adjusted according to at least one of the template adjustment parameter, the fifth image and the preset special effect, so as to obtain the second image template as shown in the upper left corner of FIG. 6a. Similarly, when the current system time is obtained at 12:00 noon, it is determined that the second preset environmental condition is satisfied, and one or more of the image adjustment parameters, the fifth image, and the preset special effect corresponding to the second preset environmental condition are acquired. Multiple items, and adjust the first image template to obtain the display effect of the second image template shown in the upper right corner of Figure 6a. Similarly, when the current system time is obtained at 21 o'clock in the evening, the adjusted second image template is obtained The display effect shown in the lower left corner of Figure 6a, when the current system time is obtained at 0:00 pm, the adjusted second image template is obtained as shown in the lower right corner of Figure 6a. It should be noted that Fig. 6a is only an example and is not limited thereto.
可选地,环境信息中可以将一天分为4个时段,分别满足预设环境条件中的预设时间信息条件,环境信息中不同天气信息对应的天气类别也可以分别满足预设环境条件中的预 设天气类别条件,环境信息中位置若为预设位置,也可以确定满足预设环境条件中的位置信息条件,环境信息中的场景信息中处于室内或者室外场景也可以分别满足预设环境条件中的预设场景类别条件。进而根据不同的预设环境条件,获取模板调整参数、第五图像以及预设特效中的一项或多项。可选地,智能终端可以根据用户的生物特征满足属于不同的表情类别,满足对应的预设生物特征条件中的预设表情类别条件,从而获取该预设表情类别条件获取对应的模板调整参数、第五图像以及预设特效中的一项或多项。可选地,智能终端可以根据获取到的语音信息得到的文本信息包括的预设文本满足的预设生物特征条件中的预设文本条件,获取对应的模板调整参数、第五图像以及预设特效中的一项或多项。Optionally, a day can be divided into four time periods in the environmental information, which respectively meet the preset time information conditions in the preset environmental conditions, and the weather categories corresponding to different weather information in the environmental information can also respectively meet the preset environmental conditions. Preset weather category conditions, if the location in the environmental information is a preset location, it can also be determined to meet the location information conditions in the preset environmental conditions, and the indoor or outdoor scenes in the scene information in the environmental information can also meet the preset environmental conditions respectively Preset scene category conditions in . Then, according to different preset environmental conditions, one or more items of template adjustment parameters, the fifth image, and preset special effects are obtained. Optionally, the smart terminal may belong to different expression categories according to the user's biological characteristics, and satisfy the preset expression category conditions in the corresponding preset biological characteristic conditions, so as to obtain the preset expression category conditions and obtain corresponding template adjustment parameters, One or more items of the fifth image and preset special effects. Optionally, the smart terminal can obtain the corresponding template adjustment parameters, the fifth image, and the preset special effects according to the preset text conditions in the preset biological feature conditions satisfied by the preset text included in the text information obtained from the acquired voice information. one or more of the .
可选地,智能终端还可以根据获取的状态信息中的智能终端的屏幕亮度信息、电量信息、步数信息、姿态信息、显示状态的信息中的一项或多项满足对应的预设状态条件,可选地,智能终端确定屏幕亮度百分比属于预设亮度百分比区间、电量百分比属于预设电量百分比区间、步数属于预设步数区间、显示状态从第一显示状态切换至第二显示状态中的一项或多项满足对应的预设状态条件,进而获取对应的模板调整参数、第五图像以及预设特效中的一项或多项。需要说明的是,上述预设环境条件、预设生物特征条件以及预设状态条件可以由管理人员设置,本申请对此不做限定。Optionally, the smart terminal can also satisfy the corresponding preset state condition according to one or more of the acquired state information of the smart terminal's screen brightness information, battery information, step information, posture information, and display state information. , optionally, the smart terminal determines that the screen brightness percentage belongs to the preset brightness percentage range, the power percentage belongs to the preset power percentage range, the step number belongs to the preset step number range, and the display state is switched from the first display state to the second display state One or more of the corresponding preset state conditions are met, and then one or more of the corresponding template adjustment parameters, the fifth image, and the preset special effects are obtained. It should be noted that the aforementioned preset environmental conditions, preset biological characteristic conditions, and preset status conditions may be set by a manager, which is not limited in this application.
可选地,智能终端根据模板调整参数、第五图像以及预设特效中的至少一项对第一图像模板进行调整可以是根据第一图像模板中包括的图像元素进行调整,例如,可以将第五图像和/或预设特效添加在第一图像模板中包括的图像元素的显示区域。可选地,智能终端可以获取至少一个应用图标的位置信息,根据该位置信息确定第一图像模板的目标显示区域,并将第五图像和/或预设特效添加在该第一图像模板的目标显示区域,以得到第二图像模板。Optionally, the adjustment of the first image template by the smart terminal according to at least one of the template adjustment parameters, the fifth image, and preset special effects may be based on the image elements included in the first image template, for example, the second Five images and/or preset special effects are added to the display area of the image elements included in the first image template. Optionally, the smart terminal can obtain the location information of at least one application icon, determine the target display area of the first image template according to the location information, and add the fifth image and/or preset special effects to the target display area of the first image template. display area to get the second image template.
可选地,请一并参阅图6b,图6b是根据第二实施例示出的对第一图像模板调整的用户界面示意图,如图6b所示,左侧为第一图像模板,即调整前的图像模板,右侧为第二图像模板,即调整后的图像模板。可选地,智能终端可以根据模板调整参数对第一图像模板中的颜色值、亮度、饱和度等参数进行调整,可选地,智能终端也可以在第一图像上添加第五图像,第五图像可以是如图6b中右侧的右下角针对第一图像模板中的图像元素添加的第五图像/预设特效,类似于“眼睛”的贴纸,该第五图像也可以是针对图像中应用图标的位置添加的贴纸,例如可以是针对“音乐”应用图标添加的“耳机”图案的第五图像。可选地,智能终端可以在第一图像模板上添加预设特效,例如,在“计算器”应用图标的图标边框添加“加粗特效”,也可以在“日历”应用图标的图标边框“粒子特效”,如图6b所示,得到右侧所示的第二图像模板。从而对“音乐”应用、“计算器”应用以及“日历”应用突出显示。Optionally, please refer to FIG. 6b together. FIG. 6b is a schematic diagram of a user interface for adjusting the first image template according to the second embodiment. As shown in FIG. Image template, the right side is the second image template, that is, the adjusted image template. Optionally, the smart terminal can adjust parameters such as color value, brightness, and saturation in the first image template according to the template adjustment parameters. Optionally, the smart terminal can also add a fifth image to the first image, the fifth image The image can be the fifth image/preset special effect added to the image element in the first image template in the lower right corner of the right as shown in Figure 6b, similar to the "eye" sticker, and the fifth image can also be used in the image The sticker added to the position of the icon may be, for example, the fifth image of the "earphone" pattern added to the icon of the "music" application. Optionally, the smart terminal can add preset special effects to the first image template, for example, add a "bold special effect" to the icon border of the "Calculator" application icon, or add a "particle" effect to the icon border of the "Calendar" application icon. special effects", as shown in Figure 6b, the second image template shown on the right is obtained. Thus, the "Music" application, the "Calculator" application, and the "Calendar" application are highlighted.
503、根据上述第一图像和上述第二图像模板确定或生成目标图像。503. Determine or generate a target image according to the first image and the second image template.
可选地,智能终端可以获取图像参数,将第二图像模板与第一图像进行预设处理,得到初始目标图像;根据图像参数对初始目标图像进行调整,得到目标图像。可选地,智能终端获取图像参数,并对第二图像模板和第一图像进行预设处理,得到初始目标图像,并根据图像参数对初始目标图像进行调整的具体实施方式可以参见上述实施例步骤303的具体描述,此处不再赘述。需要说明的是,步骤303中描述通过描述根据第二图像和第一图 像模板确定或生成目标图像。该第一图像模板可以是由步骤502进行调整后得到的第二图像模板。Optionally, the smart terminal can acquire image parameters, and perform preset processing on the second image template and the first image to obtain an initial target image; adjust the initial target image according to the image parameters to obtain a target image. Optionally, the smart terminal acquires image parameters, and performs preset processing on the second image template and the first image to obtain the initial target image, and the specific implementation manner of adjusting the initial target image according to the image parameters can refer to the above-mentioned steps in the embodiment The specific description of 303 will not be repeated here. It should be noted that the description in step 303 determines or generates the target image according to the second image and the first image template. The first image template may be the second image template obtained after adjustment in step 502 .
可选地,第二图像模板可以为至少一个图像模板,该第二图像模板包括的字少一个图像模板为连续的图像帧,智能终端可以将第一图像与第二图像模板中的各个图像模板进行预设处理,得到所述初始目标图像,该初始目标图像包括至少一张图像,该目标图像中包括的至少一张图像的顺序为图像帧的顺序。进而,根据图像参数对初始目标图像进行调整,得到目标图像。Optionally, the second image template can be at least one image template, and the second image template includes one less image template as a continuous image frame, and the smart terminal can combine the first image with each image template in the second image template Preset processing is performed to obtain the initial target image, the initial target image includes at least one image, and the sequence of the at least one image included in the target image is the sequence of image frames. Furthermore, the initial target image is adjusted according to the image parameters to obtain the target image.
可选地,请一并参阅图6c,图6c是根据第二实施例示出的第二图像模板为连续的图像帧的用户界面示意图,如图6c所示,以第二图像模板包括四个图像模板为例进行讲解,该四个图像模板可以为连续的图像帧,该连续的图像帧的顺序可以是如图6c所示的从左到右的顺序,该第二图像模板中连续的图像帧可以是一天不同时段中环境的变化,可以是延时摄影一天的天空的环境视频中的图像帧。可选地,将第一图像与第二图像模板中的各个图像模板进行预设处理,得到初始目标图像,如图6c所示,将第一图像中的高山与第二图像模板中各个图像模板进行预设处理,可以得到一天当中该高山的环境图。Optionally, please refer to FIG. 6c together. FIG. 6c is a schematic diagram of a user interface in which the second image template is a continuous image frame according to the second embodiment. As shown in FIG. 6c, the second image template includes four images Take the template as an example to explain, the four image templates can be continuous image frames, the sequence of the continuous image frames can be the order from left to right as shown in Figure 6c, the continuous image frames in the second image template It can be the change of the environment in different time periods of the day, or it can be the image frames in the environment video of the sky in a time-lapse photography day. Optionally, each image template in the first image and the second image template is subjected to preset processing to obtain an initial target image, as shown in Figure 6c, the mountain in the first image and each image template in the second image template By performing preset processing, an environmental map of the high mountain in a day can be obtained.
可选地,在本实施例中,第一图像也可以是由步骤302进行调整后得到的第二图像。Optionally, in this embodiment, the first image may also be the second image obtained after adjustment in step 302 .
在图5所描述的方法中,响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板,按照预设调整规则对第一图像模板进行调整,得到第二图像模板,并根据第一图像和第二图像模板确定或生成目标图像。因此,基于图5所描述的方法,一方面,可以通过图像和图像模板进行确定或生成目标图像,无需存储大量的图像,节约内存资源,另一方面,通过将目标图像作为壁纸,生成壁纸的无需用户的输入,简化用户的操作,提高改变显示在智能终端上的壁纸的效率。In the method described in FIG. 5 , in response to satisfying the image switching condition, at least one first image and at least one first image template are acquired, and the first image template is adjusted according to preset adjustment rules to obtain a second image template, and A target image is determined or generated according to the first image and the second image template. Therefore, based on the method described in Figure 5, on the one hand, the target image can be determined or generated through the image and the image template, without storing a large number of images, saving memory resources; on the other hand, by using the target image as the wallpaper, the wallpaper No user input is required, the user's operation is simplified, and the efficiency of changing the wallpaper displayed on the smart terminal is improved.
请参阅图7,图7是根据第三实施例示出的一种图像处理方法的流程示意图。图7所示的处理方法包括701。本申请实施例的该方法可以由图1所示的智能终端来执行,也可以由该智能终端中的芯片来执行,该智能终端可以应用于图2所示的通信网络***。图7所示的方法执行主体以智能终端为例。Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of an image processing method according to a third embodiment. The processing method shown in FIG. 7 includes step 701 . The method in this embodiment of the present application may be executed by the smart terminal shown in FIG. 1 , or may be executed by a chip in the smart terminal. The smart terminal may be applied to the communication network system shown in FIG. 2 . The execution subject of the method shown in FIG. 7 takes a smart terminal as an example.
需要说明的是,本申请中各个实施例之间相同或相似的部分可以互相参考。在本申请中各个实施例、以及各实施例中的各个实施方式/实施方法/实现方法中,如果没有特殊说明以及逻辑冲突,不同的实施例之间、以及各实施例中的各个实施方式/实施方法/实现方法之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例、以及各实施例中的各个实施方式/实施方法/实现方法中的技术特征根据其内在的逻辑关系可以组合形成新的实施例、实施方式、实施方法、或实现方法。以上上述的本申请实施方式并不构成对本申请保护范围的限定。其中:It should be noted that the same or similar parts among the various embodiments in this application can be referred to each other. In the various embodiments in this application, and the various implementation methods/implementation methods/implementation methods in each embodiment, if there is no special description and logical conflict, different embodiments, and each implementation method/implementation method in each embodiment The terms and/or descriptions between implementation methods/implementation methods are consistent and can be referred to each other. Different embodiments, and the technical features in each implementation manner/implementation method/implementation method in each embodiment are based on their inherent Logical relationships can be combined to form new embodiments, implementation modes, implementation methods, or implementation methods. The above-mentioned embodiments of the present application are not intended to limit the scope of protection of the present application. in:
701、检测到从第一显示状态切换至第二显示状态。701. Detect switching from a first display state to a second display state.
在一种可能的实现方式中,智能终端的显示状态可以为以下一种或多种:息屏状态、锁屏状态以及桌面显示状态。可选地,桌面显示状态可以为第一桌面显示状态和第二桌面显示状态,即桌面显示状态可以为多个用户界面,在每个桌面显示状态显示不同的桌面的用户界面。可选地,在桌面1的用户界面中显示部分应用的图标,在桌面2的用户界面中 显示另一部分应用的图标。In a possible implementation manner, the display state of the smart terminal may be one or more of the following: an off-screen state, a locked screen state, and a desktop display state. Optionally, the desktop display state may be the first desktop display state and the second desktop display state, that is, the desktop display state may be multiple user interfaces, and a different desktop user interface is displayed in each desktop display state. Optionally, icons of some applications are displayed on the user interface of desktop 1, and icons of another part of applications are displayed on the user interface of desktop 2.
在一种可能的实现方式中,智能终端可以接收用户输入的切换指令,从第一显示状态切换至第二显示状态,例如,智能终端可以接收用户通过触摸电源键的显示指令,也可以接收用户输入的指纹验证、人脸验证指令,智能终端还可以接收用户输入的滑动操作触发的切换指令等等。In a possible implementation, the smart terminal may receive a switching instruction input by the user to switch from the first display state to the second display state. For example, the smart terminal may receive the display instruction from the user touching the power button, or receive the The input fingerprint verification and face verification instructions, the smart terminal can also receive the switching instruction triggered by the sliding operation input by the user, etc.
可选地,从第一显示状态切换至第二显示状态可以为以下几种情况:从黑屏状态切换至第一桌面显示状态,第一桌面显示状态为桌面显示状态中的一种显示状态、从息屏状态切换至锁屏状态、从息屏状态切换至第一桌面显示状态、从锁屏状态切换至第一桌面显示状态、从第一桌面显示状态切换至第二桌面显示状态。相应的,从第一显示状态切换至第二显示状态还可以为以下几种情况:从第二桌面显示状态切换至第一桌面显示状态、从第一桌面显示状态切换至锁屏状态、从锁屏状态切换至息屏状态、从第一桌面显示状态切换至息屏状态、从第一桌面显示状态切换至锁屏状态。Optionally, switching from the first display state to the second display state can be the following situations: switching from the black screen state to the first desktop display state, the first desktop display state is a display state in the desktop display state, from The off-screen state is switched to the locked screen state, switched from the off-screen state to the first desktop display state, switched from the locked screen state to the first desktop display state, and switched from the first desktop display state to the second desktop display state. Correspondingly, switching from the first display state to the second display state can also be the following situations: switching from the second desktop display state to the first desktop display state, switching from the first desktop display state to the lock screen state, switching from the lock screen The screen state is switched to the off-screen state, the first desktop display state is switched to the off-screen state, and the first desktop display state is switched to the lock screen state.
在一种可能的实现方式中,智能终端在检测到从第一显示状态切换至第二显示状态的情况下,确定检测满足预设状态条件,即满足图像切换条件,进而获取至少一第一图像和至少一第一图像模板,并对第一图像进行调整和/或对第一图像模板进行调整,进而根据调整后的第一图像和第一图像模板生成目标图像。智能终端在第二显示状态显示目标图像之前,可以在第一显示状态显示参考图像,可选地,参考图像可以是根据第二图像模板和第四图像确定或生成的。可以理解的是,参考图像的确定或生成的方式可以与目标图像的确定或生成的方式相同,具体可以参见前文描述,本申请在此不再赘述。可选地,第四图像可以是由智能终端设置,即默认设置,也可以是由用户设置,本申请对此不做限定。In a possible implementation, when the smart terminal detects that the switch from the first display state to the second display state is detected, it determines that the detection meets the preset state condition, that is, the image switching condition is satisfied, and then acquires at least one first image and at least one first image template, and adjust the first image and/or adjust the first image template, and then generate a target image according to the adjusted first image and the first image template. Before displaying the target image in the second display state, the smart terminal may display a reference image in the first display state. Optionally, the reference image may be determined or generated according to the second image template and the fourth image. It can be understood that the manner of determining or generating the reference image may be the same as the manner of determining or generating the target image, for details, please refer to the foregoing description, and the present application will not repeat them here. Optionally, the fourth image may be set by the smart terminal, that is, the default setting, or set by the user, which is not limited in this application.
可选地,若第一显示状态为黑屏状态,则第四图像为空;若第一显示状态为息屏状态、锁屏状态、第一桌面显示状态以及第二桌面显示状态中的任一种,则第四图像包括至少一张图像,为了动态壁纸的流畅播放,则包括至少两张图像为连续的图像帧。同理,若第二显示状态为第一桌面显示状态、息屏状态、第二桌面显示状态中的任一种,则第一图像包括一张图像或者至少两张图像;若第二显示状态为锁屏状态,为了和其他显示状态进行流畅播放,则第一图像中包括至少两张图像,并且在第一图像包括至少两张图像的情况下,包括的至少两张图像为连续的图像帧。Optionally, if the first display state is a black screen state, the fourth image is empty; if the first display state is any one of the off-screen state, the lock screen state, the first desktop display state, and the second desktop display state , the fourth image includes at least one image, and in order to play the dynamic wallpaper smoothly, at least two images are included as continuous image frames. Similarly, if the second display state is any one of the first desktop display state, the off-screen state, and the second desktop display state, the first image includes one image or at least two images; if the second display state is In the locked screen state, in order to play smoothly with other display states, the first image includes at least two images, and if the first image includes at least two images, the at least two included images are continuous image frames.
下面,本申请以几种可能的第一显示状态切换至第二显示状态为例进行讲解:In the following, this application takes several possible switching from the first display state to the second display state as examples to explain:
(一)从黑屏状态切换至第一桌面显示状态(1) Switch from the black screen state to the first desktop display state
请参阅图8a,图8a是根据第三实施例示出的智能终端从黑屏状态切换至第一桌面显示状态的用户界面示意图。如图8a所示,左侧为智能终端黑屏状态,即屏幕熄灭,不显示任何内容,通过用户按下电源键,可以显示如图8a右侧所示的用户界面。可以理解的是,由于第一显示状态为黑屏状态,因此第一显示状态显示的参考图像对应的第四图像为空,在智能终端屏幕亮起的过程中,可以在该第一桌面状态显示如图8a所示的由第一图像集合确定或生成的静态壁纸,则第一图像可以为一张图像。请一并参阅图8b,图8b是根据第三实施例示出的智能终端从黑屏状态切换至第一桌面显示状态的另一用户界面示意图,如图8b,在智能终端的屏幕亮起的过程中,可以显示由第一图像确定或生成的动态壁纸,如图8b,壁纸中的各个元素的大小和位置在发生变化,则第一图可以为至少两张图像,为了动 态壁纸的连贯性,第一图像包括的至少两张图像为连续的图像帧。Please refer to FIG. 8a. FIG. 8a is a schematic diagram of a user interface showing a smart terminal switching from a black screen state to a first desktop display state according to a third embodiment. As shown in Figure 8a, the left side is the state of the smart terminal with a black screen, that is, the screen is off and nothing is displayed, and the user interface shown on the right side of Figure 8a can be displayed by pressing the power button. It can be understood that, since the first display state is a black screen state, the fourth image corresponding to the reference image displayed in the first display state is empty. During the process of turning on the screen of the smart terminal, the first desktop state can display such as For the static wallpaper determined or generated by the first image set shown in FIG. 8a, the first image may be one image. Please refer to FIG. 8b together. FIG. 8b is a schematic diagram of another user interface for switching the smart terminal from the black screen state to the first desktop display state according to the third embodiment. As shown in FIG. 8b, the screen of the smart terminal is turned on , can display the dynamic wallpaper determined or generated by the first image, as shown in Figure 8b, the size and position of each element in the wallpaper is changing, then the first image can be at least two images, for the continuity of the dynamic wallpaper, the first At least two images included in an image are continuous image frames.
(二)从息屏状态切换至锁屏状态(2) Switch from the off screen state to the lock screen state
请参阅图8c,图8c是根据第三实施例示出的智能终端从息屏状态切换至锁屏状态的用户界面示意图。如图8c所示,上面一排三个用户界面为息屏状态,所谓息屏状态,就是当手机处于锁定状态时,屏幕部分区域保持长亮而显示时间和通知等信息的状态。下面一排两个用户界面为锁屏状态的用户界面,图8c以动态壁纸为例,第一显示状态即息屏状态所显示的参考图像对应的第四图像可以是一张图像或者至少两张图像,在第四图像为一张图像时,参考图像为静态壁纸,若为图8c所示的动态壁纸,则第四图像包括的至少两张图像为连续的图像帧。图8c也以第二显示状态即锁屏状态显示的目标图像为动态壁纸为例,在图8c下方的两个锁屏状态所显示的用户界面中,还包括时间信息上方显示的人脸识别提示图标。可选地,锁屏状态的目标图像的第一图像集合也可以是一张图像,也可以为动态壁纸,则包括至少两张图像,即在包括至少两张图像的情况下,该至少两张图像为连续的图像帧。可选地,为了流畅的从第一显示状态切换至第二显示状态,第二图像集合与第一图像集合中的图像也为连续的图像帧。Please refer to FIG. 8c. FIG. 8c is a schematic diagram of a user interface showing a smart terminal switching from a screen-off state to a screen-locked state according to a third embodiment. As shown in Figure 8c, the three user interfaces in the upper row are in the off-screen state. The so-called off-screen state means that when the mobile phone is locked, some areas of the screen remain bright and display information such as time and notifications. The next row of two user interfaces is the user interface in the lock screen state. Figure 8c takes the dynamic wallpaper as an example. The fourth image corresponding to the reference image displayed in the first display state, that is, the off-screen state, can be one image or at least two For images, when the fourth image is one image, the reference image is a static wallpaper, and if it is a dynamic wallpaper as shown in FIG. 8c, at least two images included in the fourth image are continuous image frames. Figure 8c also takes the target image displayed in the second display state, that is, the lock screen state as a dynamic wallpaper as an example. In the user interface displayed in the two lock screen states below Figure 8c, the face recognition prompt displayed above the time information is also included. icon. Optionally, the first image set of the target image in the lock screen state may also be an image, or may be a dynamic wallpaper, and then include at least two images, that is, if at least two images are included, the at least two images The images are consecutive image frames. Optionally, in order to smoothly switch from the first display state to the second display state, the images in the second image set and the first image set are also continuous image frames.
(三)从息屏状态切换至第一桌面显示状态;(3) Switching from the off-screen state to the first desktop display state;
请一并参阅图8d,图8d是根据第三实施例示出的智能终端从息屏显示状态切换至第一桌面显示状态的用户界面示意图,图8d以智能终端的目标图像和参考图像为动态壁纸为例进行讲解,在息屏状态下,该第四图像可以为一张图像或两张图像,即显示静态壁纸或动态壁纸。同理,在第二显示状态为第一桌面显示状态,第一图像也可以为一张图像或者至少两张图像。为了流畅的显示动态壁纸,该第四图像和第一图像在包括至少两张图像的情况下,该至少两张图像为连续的图像帧。可选地,为了切换显示状态时流畅的显示,该第四图像中的至少两张图像与第一图像中的至少两张图像也为连续的图像帧。Please also refer to FIG. 8d. FIG. 8d is a schematic diagram of the user interface of the smart terminal switching from the always-on display state to the first desktop display state according to the third embodiment. FIG. 8d uses the target image and the reference image of the smart terminal as the dynamic wallpaper For example, in the off-screen state, the fourth image may be one image or two images, that is, a static wallpaper or a dynamic wallpaper is displayed. Similarly, when the second display state is the first desktop display state, the first image may also be one image or at least two images. In order to display the dynamic wallpaper smoothly, if the fourth image and the first image include at least two images, the at least two images are continuous image frames. Optionally, for smooth display when switching display states, at least two images in the fourth image and at least two images in the first image are also continuous image frames.
(四)从锁屏状态切换至第一桌面显示状态(4) Switch from the lock screen state to the first desktop display state
请一并参阅图8e,图8e是根据第三实施例示出的智能终端从锁屏状态切换至第一桌面显示状态的用户界面示意图,如图8e所示,上方的两个用户界面示意图为锁屏状态,下方的两个用户界面为第一桌面显示状态。图8e也以目标图像和参考图像均为动态壁纸为例,该目标图像和参考图像也可以为静态壁纸,则第一图像和第四图像均可以为一张图像或至少两张图像,若该第一图像和第四图像均包括至少两张图像的情况下,该第一图像和第四图像所包括的图像为连续的图像帧。可选地,为了在切换时流畅的播放动态壁纸,第一图像和第四图像所包括的图像可以为连续的图像帧。Please also refer to FIG. 8e. FIG. 8e is a schematic diagram of the user interface of the smart terminal switching from the lock screen state to the first desktop display state according to the third embodiment. As shown in FIG. 8e, the two upper user interface schematic diagrams are lock screen status, the two user interfaces below are the first desktop display status. Figure 8e also takes the target image and the reference image as dynamic wallpapers as an example, the target image and the reference image can also be static wallpapers, then both the first image and the fourth image can be one image or at least two images, if the When both the first image and the fourth image include at least two images, the images included in the first image and the fourth image are continuous image frames. Optionally, in order to play the live wallpaper smoothly when switching, the images included in the first image and the fourth image may be continuous image frames.
(五)从第一桌面显示状态切换至第二桌面显示状态(5) Switch from the first desktop display state to the second desktop display state
请一并参阅图8f,图8f是根据第三实施例示出的智能终端从第一桌面显示状态切换至第二桌面显示状态的用户界面示意图。例如图8f所示,用户可以在智能终端处于第一桌面显示状态时,通过滑动操作切换至第二桌面显示状态,在第一桌面显示状态和第二桌面显 示状态的用户界面中分别显示一个或多个应用的图标。在第一桌面显示状态和第二桌面显示状态中,参考图像向目标图像进行切换,参考图像和目标图像可以是静态壁纸,参考图像和目标图像也可以是动态壁纸。即第四图像和第一图像中均可以为一张图像或至少两张图像,若是动态壁纸,为了保证流畅的切换,则第四图像和第一图像中包括的图像为连续的图像帧。同理,若是第二桌面显示状态切换至第一桌面显示状态也是如此,即第一显示状态为第二桌面显示状态,第二显示状态为第一桌面显示状态,该第一图像和第四图像也均可能包括一张图像或至少两张图像,在目标图像和参考图像为动态壁纸的情况下,第一图像和第四图像包括的图像为连续的图像帧。Please refer to FIG. 8f together. FIG. 8f is a schematic diagram of a user interface showing a smart terminal switching from the first desktop display state to the second desktop display state according to the third embodiment. For example, as shown in Figure 8f, when the smart terminal is in the first desktop display state, the user can switch to the second desktop display state through a sliding operation, and display one or Icons for multiple apps. In the first desktop display state and the second desktop display state, the reference image is switched to the target image, the reference image and the target image may be static wallpapers, or the reference image and the target image may be dynamic wallpapers. That is, both the fourth image and the first image can be one image or at least two images. If it is a dynamic wallpaper, in order to ensure smooth switching, the images included in the fourth image and the first image are continuous image frames. In the same way, if the second desktop display state is switched to the first desktop display state, the same is true, that is, the first display state is the second desktop display state, and the second display state is the first desktop display state. The first image and the fourth image Each may also include one image or at least two images, and when the target image and the reference image are dynamic wallpapers, the images included in the first image and the fourth image are continuous image frames.
在一种可能的实现方式中,若是目标图像和/或参考图像是动态壁纸的情况下,第一图像和/或第四图像中包括至少两张图像,则可以分别获取第一图像模板和/或第二图像模板。可选地,第一图像模板可以与第二图像模板相同。以第一图像模板为例,第一图像包括图像1、图像2以及图像3,且第一图像中图像的顺序从前到后为图像1、图像2、图像3;第四图像中包括图像4、图像5和图像6,第四图像中图像的顺序从前到后也为图像4、图像5、图像6,则通过shader程序分别进行合成,得到目标图像1、目标图像2、目标图像3以及参考图像4、参考图像5、参考图像6。则在实际显示参考图像切换至目标图像的时候,按照参考图像4、参考图像5、参考图像6、目标图像1、目标图像2、目标图像3的顺序进行显示。In a possible implementation manner, if the target image and/or the reference image are dynamic wallpapers, the first image and/or the fourth image include at least two images, the first image template and/or the fourth image may be obtained respectively or a second image template. Optionally, the first image template can be the same as the second image template. Taking the first image template as an example, the first image includes image 1, image 2, and image 3, and the sequence of images in the first image is image 1, image 2, and image 3 from front to back; the fourth image includes image 4, Image 5 and image 6, the order of the images in the fourth image is also image 4, image 5, and image 6 from front to back, then they are synthesized respectively through the shader program to obtain target image 1, target image 2, target image 3 and reference image 4. Reference image 5, reference image 6. Then, when switching from the reference image to the target image in actual display, the reference image 4, the reference image 5, the reference image 6, the target image 1, the target image 2, and the target image 3 are displayed in order.
在一种可能的实现方式中,第一图像中各个图像包括第一元素,第四图像中各个图像包括第二元素,第一元素的部分元素与第二元素中的部分元素相同,或者第一元素中的部分元素是基于第二元素中的部分元素进行放大处理或缩小处理后得到的。即为了动态壁纸的流畅性与连贯性,参考图像和目标图像是同一主题的壁纸。例如,参考图像是星球主题的,而目标图像是动物主题的,则从参考图像切换至目标图像,则用户并不会觉得动态壁纸的效果很好。因此,参考图像和目标图像中的部分元素可以相同,也可以进行缩放。In a possible implementation manner, each image in the first image includes a first element, each image in the fourth image includes a second element, some elements of the first element are the same as some elements of the second element, or the first element Some of the elements in the element are obtained after enlarging or shrinking based on some of the elements in the second element. That is, for the fluency and coherence of the dynamic wallpaper, the reference image and the target image are wallpapers of the same theme. For example, if the reference image is planet-themed and the target image is animal-themed, the user will not find the effect of the live wallpaper very good if the reference image is switched to the target image. Therefore, some elements in the reference image and the target image can be the same or can be scaled.
可选地,第一图像和第四图像中的各个图像中包括的部分元素也相同,则在智能终端存储第一图像和第四图像时,仅需存储部分图像,根据部分图像中的元素进行缩放,可以得到第一图像和第四图像所包括的全部图像,从而有效的节约智能终端的内存资源。Optionally, some of the elements included in each of the first image and the fourth image are also the same, then when the smart terminal stores the first image and the fourth image, it only needs to store some of the images, and proceed according to the elements in the partial images By zooming, all images included in the first image and the fourth image can be obtained, thereby effectively saving memory resources of the smart terminal.
可选地,在图8f左侧显示的参考图像中包括三个圆圈,有两个不完全显示,有一个完整的圆圈显示在中间,在图8f右侧显示的目标图像也包括三个圆圈,三个圆圈可以分别与参考图像(图8f左侧的壁纸)分别对应,可选地,在左上角的灰色圆圈是在参考图像的基础上,按照比例系数k1进行缩放的,中间的浅灰色圆圈是按照比例系数k2进行缩放的,右下角的深灰色圆圈是按照比例系数k3进行缩放。Optionally, the reference image shown on the left side of Figure 8f includes three circles, two of which are incompletely shown, and a complete circle is shown in the middle, and the target image shown on the right side of Figure 8f also includes three circles, The three circles can respectively correspond to the reference image (the wallpaper on the left side of Figure 8f). Optionally, the gray circle in the upper left corner is scaled according to the scale factor k1 on the basis of the reference image, and the light gray circle in the middle It is scaled according to the scale factor k2, and the dark gray circle in the lower right corner is scaled according to the scale factor k3.
可选地,若第一元素中的部分元素和第二元素中的部分元素可以是进行位置移动处理后得到的。例如图8f中,参考图像中左上角的灰色圆圈进行缩放处理后再进行位置移动得到目标图像中左上角的灰色圆圈。Optionally, some elements in the first element and some elements in the second element may be obtained after performing position shift processing. For example, in FIG. 8f, the gray circle in the upper left corner of the reference image is scaled and then moved to obtain the gray circle in the upper left corner of the target image.
在图7所描述的方法中,智能终端通过在检测到智能终端从第一显示状态切换至第二显示状态的情况下,检测到满足壁纸切换条件,则根据确定或生成目标图像后,智能终端从显示参考图像切换至显示目标图像。因此,基于图7所描述的方法,简化用户切换壁纸的操作,能够在智能终端不同的显示状态下流畅的显示壁纸,提高用户体验,并且通过图 像和图像模板进行合成壁纸,减少存储壁纸的内存,从而根据图像和图像模板可以生成大量的壁纸,节约了智能终端的内存资源。In the method described in FIG. 7 , when the smart terminal detects that the smart terminal is switched from the first display state to the second display state, and detects that the wallpaper switching condition is met, then according to the determination or generation of the target image, the smart terminal Switches from displaying the reference image to displaying the target image. Therefore, based on the method described in FIG. 7 , the user’s operation of switching wallpapers can be simplified, and the wallpaper can be displayed smoothly in different display states of the smart terminal, which improves user experience, and synthesizes wallpapers through images and image templates, reducing the memory for storing wallpapers , so that a large number of wallpapers can be generated according to images and image templates, saving memory resources of the smart terminal.
请参阅图9,图9是本申请实施例提供的一种图像处理装置90的结构示意图。该图像处理装置90包括获取单元901、调整单元902、处理单元903、显示单元903。其中:Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of an image processing device 90 provided in an embodiment of the present application. The image processing device 90 includes an acquisition unit 901 , an adjustment unit 902 , a processing unit 903 , and a display unit 903 . in:
获取单元901,用于响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;An acquiring unit 901, configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition;
调整单元902,用于按照预设调整规则对上述第一图像进行调整,以得到第二图像;An adjusting unit 902, configured to adjust the above-mentioned first image according to a preset adjustment rule to obtain a second image;
处理单元903,用于根据上述第二图像和上述第一图像模板确定或生成目标图像。The processing unit 903 is configured to determine or generate a target image according to the second image and the first image template.
可选地,上述调整单元902,具体用于:Optionally, the above adjustment unit 902 is specifically used for:
根据图像调整参数、第三图像以及上述预设特效中的至少一项对上述第一图像进行调整,以得到上述第二图像。The first image is adjusted according to at least one of the image adjustment parameter, the third image, and the preset special effect to obtain the second image.
可选地,上述调整单元902,具体用于:Optionally, the above adjustment unit 902 is specifically used for:
获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
根据上述位置信息确定上述第一图像的目标显示区域,并将上述第三图像和/或上述预设特效添加在上述第一图像的目标显示区域,以得到上述第二图像。The target display area of the first image is determined according to the position information, and the third image and/or the preset special effect is added to the target display area of the first image to obtain the second image.
可选地,上述处理单元903,具体用于:Optionally, the above-mentioned processing unit 903 is specifically configured to:
获取图像参数;Get image parameters;
将上述第一图像模板与上述第二图像进行预设处理,得到初始目标图像;Presetting the first image template and the second image to obtain an initial target image;
根据上述图像参数对上述初始目标图像进行调整,得到上述目标图像。The above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
可选地,上述第一图像和/或上述第一图像模板确定方式,包括以下至少一种:Optionally, the method for determining the first image and/or the first image template includes at least one of the following:
由用户设置或选择;set or selected by the user;
根据用户上次选择确定;Determined according to the user's last selection;
根据用户使用习惯确定;Determined according to the user's usage habits;
根据大数据分析确定。Determined based on big data analysis.
可选地,上述满足图像切换条件,包括以下至少一种:Optionally, the above image switching conditions are met, including at least one of the following:
环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
状态信息满足预设状态条件;The status information satisfies the preset status condition;
接收到切换图像的操作指令;Receive an operation instruction to switch images;
接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
可选地,上述状态信息包括显示状态,上述状态信息满足预设状态条件包括检测到从第一显示状态切换至第二显示状态,还包括以下至少一种:Optionally, the above state information includes a display state, and the above state information satisfies a preset state condition including detection of switching from the first display state to the second display state, and also includes at least one of the following:
若上述第二显示状态为第一桌面显示状态或息屏状态,上述第一图像为至少一张图像;If the above-mentioned second display state is the first desktop display state or the off-screen state, the above-mentioned first image is at least one image;
若上述第二显示状态为锁屏状态,上述第一图像为至少两张图像。If the second display state is a lock screen state, the first image is at least two images.
可选地,上述桌面显示状态还包括第二桌面显示状态;和/或,若上述第二显示状态为上述第二桌面显示状态,上述第一图像为至少一张图像。Optionally, the above-mentioned desktop display state further includes a second desktop display state; and/or, if the above-mentioned second display state is the above-mentioned second desktop display state, the above-mentioned first image is at least one image.
可选地,上述至少两张图像为连续的图像帧。Optionally, the above at least two images are continuous image frames.
可选地,图像处理装置90还包括:Optionally, the image processing device 90 also includes:
显示单元904,用于在上述第一显示状态显示参考图像;和/或,上述参考图像是根据第四图像和第二图像模板确定或生成的。The display unit 904 is configured to display the reference image in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
可选地,包括以下至少一种:Optionally, include at least one of the following:
若上述第一显示状态为黑屏状态,上述第四图像为空;If the above-mentioned first display state is a black screen state, the above-mentioned fourth image is empty;
若上述第一显示状态为息屏或锁屏或第一桌面显示状态,上述第四图像包括至少一张图像。If the first display state is an off-screen or locked screen or the first desktop display state, the fourth image includes at least one image.
可选地,上述桌面显示状态还包括第二桌面显示状态;和/或,若上述第一显示状态为上述第二桌面显示状态,上述第四图像为至少一张图像。Optionally, the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
可选地,在上述第四图像为至少两张图像的情况下,上述至少两张图像为连续的图像帧。Optionally, in a case where the above-mentioned fourth image is at least two images, the above-mentioned at least two images are consecutive image frames.
可选地,上述获取单元,具体用于:Optionally, the above acquisition unit is specifically used for:
获取上述预设应用对应的图像和上述预设应用对应的图像模板,得到上述至少一第一图像和上述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
可选地,上述显示单元904,还用于:Optionally, the above display unit 904 is also used for:
显示上述目标图像、上述预设应用的图标和上述预设应用的启动界面中的至少一个。At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
请参阅图9,图9是本申请实施例提供的一种图像处理装置90的结构示意图。该图像处理装置90包括获取单元901、调整单元902、处理单元903、显示单元903。其中:Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of an image processing device 90 provided in an embodiment of the present application. The image processing device 90 includes an acquisition unit 901 , an adjustment unit 902 , a processing unit 903 , and a display unit 903 . in:
获取单元901,用于响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;An acquiring unit 901, configured to acquire at least one first image and at least one first image template in response to satisfying an image switching condition;
调整单元902,用于按照预设调整规则对上述第一图像模板进行调整,得到第二图像模板;An adjustment unit 902, configured to adjust the above-mentioned first image template according to a preset adjustment rule to obtain a second image template;
处理单元903,用于根据上述第一图像和上述第二图像模板确定或生成目标图像。The processing unit 903 is configured to determine or generate a target image according to the first image and the second image template.
可选地,上述调整单元902,具体用于:Optionally, the above adjustment unit 902 is specifically used for:
根据模板调整参数、上述第五图像以及上述预设特效中的至少一项对上述第一图像模板进行调整,以得到上述第二图像模板。The first image template is adjusted according to at least one of the template adjustment parameter, the fifth image, and the preset special effect to obtain the second image template.
可选地,上述调整单元902,具体用于:Optionally, the above adjustment unit 902 is specifically used for:
获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
根据上述位置信息确定上述第一图像模板的目标显示区域,并将上述第五图像和/或上述预设特效添加在上述第一图像模板的目标显示区域,以得到上述第二图像模板。Determine the target display area of the first image template according to the position information, and add the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
可选地,获取模板调整参数、第五图像以及预设特效中的至少一项的方式,包括以下至少一种:Optionally, the manner of obtaining at least one of the template adjustment parameter, the fifth image, and the preset special effect includes at least one of the following:
根据预设环境条件获取;Acquired according to preset environmental conditions;
根据预设生物特征条件获取;Acquired according to preset biometric conditions;
根据预设状态条件获取。Acquired based on preset state conditions.
可选地,上述第一图像和/或上述第一图像模板确定方式,包括以下至少一种:Optionally, the method for determining the first image and/or the first image template includes at least one of the following:
由用户设置或选择;set or selected by the user;
根据用户上次选择确定;Determined according to the user's last selection;
根据用户使用习惯确定;Determined according to the user's usage habits;
根据大数据分析确定。Determined based on big data analysis.
可选地,上述满足上述图像切换条件,包括以下至少一种:Optionally, the aforementioned image switching conditions met include at least one of the following:
环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
状态信息满足预设状态条件;The status information satisfies the preset status condition;
接收到切换图像的操作指令;Receive an operation instruction to switch images;
接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
可选地,上述处理单元903,具体用于:Optionally, the above-mentioned processing unit 903 is specifically configured to:
获取图像参数;Get image parameters;
将上述第二图像模板与上述第一图像进行预设处理,得到初始目标图像;Presetting the second image template and the first image to obtain an initial target image;
根据上述图像参数对上述初始目标图像进行调整,得到上述目标图像。The above-mentioned initial target image is adjusted according to the above-mentioned image parameters to obtain the above-mentioned target image.
可选地,上述第二图像模板为至少一个图像模板,上述第二图像模板包括的至少一个图像模板为连续的图像帧;上述处理单元903,具体用于:Optionally, the above-mentioned second image template is at least one image template, and the at least one image template included in the above-mentioned second image template is a continuous image frame; the above-mentioned processing unit 903 is specifically configured to:
将上述第一图像与上述第二图像模板中的各个图像模板进行预设处理,得到上述初始目标图像,上述目标图像包括至少一张图像,上述至少一张图像的顺序为上述图像帧的顺序。Presetting the first image and the second image templates to obtain the initial target image, the target image includes at least one image, and the sequence of the at least one image is the sequence of the image frames.
可选地,上述获单元901,具体用于Optionally, the above obtaining unit 901 is specifically used to
获取上述预设应用对应的图像和上述预设应用对应的图像模板,得到上述至少一第一图像和上述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
可选地,上述图像处理装置90还包括:Optionally, the above-mentioned image processing device 90 also includes:
显示单元904,用于显示上述目标图像、上述预设应用的图标和上述预设应用的启动界面中的至少一个。The display unit 904 is configured to display at least one of the target image, the icon of the preset application, and the startup interface of the preset application.
需要说明的是,图9所示的装置的各个单元执行的操作可以参见上述方法实施例的相关内容。此处不再详述。各个单元可以以硬件,软件或者软硬件结合的方式来实现。It should be noted that, for operations performed by each unit of the apparatus shown in FIG. 9 , reference may be made to relevant content of the foregoing method embodiments. No more details here. Each unit can be realized by hardware, software or a combination of software and hardware.
请参阅图10,图10为本申请提供的一种智能终端100的硬件结构示意图。该智能终端10包括:存储器1001和处理器1002,存储器1001用于存储程序指令,处理器1002用于调用存储器1001中的程序指令执行上述方法实施例一中智能终端所执行的步骤,其实现原理以及有益效果类似,此处不再进行赘述。Please refer to FIG. 10 . FIG. 10 is a schematic diagram of a hardware structure of an intelligent terminal 100 provided in the present application. The smart terminal 10 includes: a memory 1001 and a processor 1002, the memory 1001 is used to store program instructions, and the processor 1002 is used to call the program instructions in the memory 1001 to execute the steps performed by the smart terminal in the first method embodiment above, and its implementation principle and beneficial effects are similar, and will not be repeated here.
可选地,上述智能终端100还包括通信接口1003,该通信接口1003可以通过总线1004与处理器1002连接。处理器1002可以控制通信接口1003来实现智能终端100的接收和发送的功能。Optionally, the aforementioned smart terminal 100 further includes a communication interface 1003 , and the communication interface 1003 may be connected to the processor 1002 through a bus 1004 . The processor 1002 can control the communication interface 1003 to realize the receiving and sending functions of the smart terminal 100 .
图11为本申请提供的一种智能终端110的硬件结构示意图。该智能终端110包括:存储器1101和处理器1102,存储器1101用于存储程序指令,处理器1102用于调用存储器1101中的程序指令执行上述方法实施例二中智能终端所执行的步骤,其实现原理以及有益效果类似,此处不再进行赘述。FIG. 11 is a schematic diagram of a hardware structure of a smart terminal 110 provided in the present application. The smart terminal 110 includes: a memory 1101 and a processor 1102, the memory 1101 is used to store program instructions, and the processor 1102 is used to call the program instructions in the memory 1101 to execute the steps performed by the smart terminal in the second embodiment of the above method, and its implementation principle and beneficial effects are similar, and will not be repeated here.
可选地,上述智能终端110还包括通信接口1103,该通信接口1103可以通过总线1104与处理器1102连接。处理器1102可以控制通信接口1103来实现智能终端110的接收和发送的功能。Optionally, the aforementioned smart terminal 110 further includes a communication interface 1103 , and the communication interface 1103 may be connected to the processor 1102 through the bus 1104 . The processor 1102 can control the communication interface 1103 to realize the receiving and sending functions of the smart terminal 110 .
图12为本申请提供的一种智能终端120的硬件结构示意图。该智能终端120包括:存储器1201和处理器1202,存储器1201用于存储程序指令,处理器1202用于调用存储器1201中的程序指令执行上述方法实施例三中智能终端所执行的步骤,其实现原理以及有益效果类似,此处不再进行赘述。FIG. 12 is a schematic diagram of a hardware structure of a smart terminal 120 provided in the present application. The smart terminal 120 includes: a memory 1201 and a processor 1202, the memory 1201 is used to store program instructions, and the processor 1202 is used to call the program instructions in the memory 1201 to execute the steps performed by the smart terminal in the third embodiment of the above method, and its implementation principle and beneficial effects are similar, and will not be repeated here.
可选地,上述智能终端120还包括通信接口1203,该通信接口1203可以通过总线1204与处理器1202连接。处理器1202可以控制通信接口1203来实现智能终端120的接收和发送的功能。Optionally, the aforementioned smart terminal 120 further includes a communication interface 1203 , and the communication interface 1203 may be connected to the processor 1202 through the bus 1204 . The processor 1202 can control the communication interface 1203 to realize the receiving and sending functions of the smart terminal 120 .
以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例方法的部分步骤。The integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the methods of the various embodiments of the present application. partial steps.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk,SSD)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk, SSD), etc.
本申请实施例还提供一种智能终端,智能终端包括存储器、处理器,存储器上存储有图像处理程序,图像处理程序被处理器执行时实现上述任一实施例中的图像处理方法的步骤。The embodiment of the present application also provides a smart terminal, the smart terminal includes a memory and a processor, and an image processing program is stored in the memory, and when the image processing program is executed by the processor, the steps of the image processing method in any of the foregoing embodiments are implemented.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有图像处理程序,图像处理程序被处理器执行时实现上述任一实施例中的图像处理方法的步骤。An embodiment of the present application further provides a computer-readable storage medium, on which an image processing program is stored, and when the image processing program is executed by a processor, the steps of the image processing method in any of the foregoing embodiments are implemented.
在本申请实施例提供的智能终端和计算机可读存储介质中,可以包含任一上述图像处理方法实施例的全部技术特征,说明书拓展和解释内容与上述方法的各实施例基本相同,在此不再做赘述。The smart terminal and the computer-readable storage medium provided in the embodiments of the present application may contain all the technical features of any of the above-mentioned image processing method embodiments, and the expansion and explanation of the description are basically the same as those of the above-mentioned method embodiments. Let me repeat.
本申请实施例还提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中的方法。An embodiment of the present application further provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能 的实施方式中的方法。The embodiment of the present application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能的实施方式中的方法。The embodiment of the present application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
可以理解,上述场景仅是作为示例,并不构成对于本申请实施例提供的技术方案的应用场景的限定,本申请的技术方案还可应用于其他场景。例如,本领域普通技术人员可知,随着***架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It can be understood that the above scenario is only an example, and does not constitute a limitation on the application scenario of the technical solution provided by the embodiment of the present application, and the technical solution of the present application can also be applied to other scenarios. For example, those skilled in the art know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present application can be adjusted, combined and deleted according to actual needs.
本申请实施例设备中的单元可以根据实际需要进行合并、划分和删减。Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。In this application, descriptions of the same or similar terms, concepts, technical solutions and/or application scenarios are generally only described in detail when they appear for the first time, and when they appear repeatedly later, for the sake of brevity, they are generally not repeated. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions and/or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In this application, the description of each embodiment has its own emphasis. For the parts that are not detailed or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。The various technical features of the technical solution of the present application can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It should be regarded as the scope described in this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络,或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD),或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.

Claims (27)

  1. 一种图像处理方法,其中,包括以下步骤:A kind of image processing method, wherein, comprise the following steps:
    S1:响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;S1: Obtain at least one first image and at least one first image template in response to satisfying an image switching condition;
    S2:按照预设调整规则对所述第一图像进行调整,以得到第二图像;S2: Adjust the first image according to a preset adjustment rule to obtain a second image;
    S3:根据所述第二图像和所述第一图像模板确定或生成目标图像。S3: Determine or generate a target image according to the second image and the first image template.
  2. 根据权利要求1所述的方法,其中,所述S2步骤包括:The method according to claim 1, wherein the S2 step comprises:
    根据图像调整参数、第三图像以及所述预设特效中的至少一项对所述第一图像进行调整,以得到所述第二图像。The first image is adjusted according to at least one of the image adjustment parameter, the third image, and the preset special effect to obtain the second image.
  3. 根据权利要求2所述的方法,其中,所述S2步骤包括:The method according to claim 2, wherein the S2 step comprises:
    获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
    根据所述位置信息确定所述第一图像的目标显示区域,并将所述第三图像和/或所述预设特效添加在所述第一图像的目标显示区域,以得到所述第二图像。determining a target display area of the first image according to the location information, and adding the third image and/or the preset special effect to the target display area of the first image to obtain the second image .
  4. 根据权利要求1所述的方法,其中,所述S3步骤包括:The method according to claim 1, wherein the S3 step comprises:
    获取图像参数;Get image parameters;
    将所述第一图像模板与所述第二图像进行预设处理,得到初始目标图像;performing preset processing on the first image template and the second image to obtain an initial target image;
    根据所述图像参数对所述初始目标图像进行调整,得到所述目标图像。The initial target image is adjusted according to the image parameters to obtain the target image.
  5. 根据权利要求1所述的方法,其中,所述第一图像和/或所述第一图像模板确定方式,包括以下至少一种:The method according to claim 1, wherein the method for determining the first image and/or the first image template includes at least one of the following:
    由用户设置或选择;set or selected by the user;
    根据用户上次选择确定;Determined according to the user's last selection;
    根据用户使用习惯确定;Determined according to the user's usage habits;
    根据大数据分析确定。Determined based on big data analysis.
  6. 根据权利要求1所述的方法,其中,所述满足图像切换条件,包括以下至少一种:The method according to claim 1, wherein the satisfying the image switching condition includes at least one of the following:
    环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
    用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
    状态信息满足预设状态条件;The status information satisfies the preset status condition;
    接收到切换图像的操作指令;Receive an operation instruction to switch images;
    接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
  7. 根据权利要求6所述的方法,其中,所述状态信息包括显示状态,所述状态信息满足预设状态条件包括检测到从第一显示状态切换至第二显示状态,还包括以下至少一种:The method according to claim 6, wherein the state information includes a display state, and the state information satisfying a preset state condition includes detection of switching from the first display state to the second display state, and further includes at least one of the following:
    若所述第二显示状态为第一桌面显示状态或息屏状态,所述第一图像为至少一张图像;If the second display state is the first desktop display state or the off-screen state, the first image is at least one image;
    若所述第二显示状态为锁屏状态,所述第一图像为至少两张图像。If the second display state is a lock screen state, the first image is at least two images.
  8. 根据权利要求7所述的方法,其中,所述桌面显示状态还包括第二桌面显示状态;和/或,若所述第二显示状态为所述第二桌面显示状态,所述第一图像为至少一张图像。The method according to claim 7, wherein the desktop display state further comprises a second desktop display state; and/or, if the second display state is the second desktop display state, the first image is At least one image.
  9. 根据权利要求8所述的方法,其中,所述至少两张图像为连续的图像帧。The method of claim 8, wherein the at least two images are consecutive image frames.
  10. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在所述第一显示状态显示参考图像;和/或,所述参考图像是根据第四图像和第二图像模板确定或生成的。The reference image is displayed in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
  11. 根据权利要求10所述的方法,其中,包括以下至少一种:The method according to claim 10, comprising at least one of the following:
    若所述第一显示状态为黑屏状态,所述第四图像为空;If the first display state is a black screen state, the fourth image is empty;
    若所述第一显示状态为息屏或锁屏或第一桌面显示状态,所述第四图像包括至少一张图像。If the first display state is an off-screen or locked screen or the first desktop display state, the fourth image includes at least one image.
  12. 根据权利要求11所述的方法,其中,所述桌面显示状态还包括第二桌面显示状态;和/或,若所述第一显示状态为所述第二桌面显示状态,所述第四图像为至少一张图像。The method according to claim 11, wherein the desktop display state further comprises a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is At least one image.
  13. 根据权利要求12所述的方法,其中,在所述第四图像为至少两张图像的情况下,所述至少两张图像为连续的图像帧。The method according to claim 12, wherein, when the fourth image is at least two images, the at least two images are continuous image frames.
  14. 根据权利要求6所述的方法,其中,所述获取至少一第一图像和至少一第一图像模板,包括:The method according to claim 6, wherein said acquiring at least one first image and at least one first image template comprises:
    获取所述预设应用对应的图像和所述预设应用对应的图像模板,得到所述至少一第一图像和所述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  15. 根据权利要求14所述的方法,其中,所述S3步骤之后,所述方法还包括:The method according to claim 14, wherein, after the step S3, the method further comprises:
    显示所述目标图像、所述预设应用的图标和所述预设应用的启动界面中的至少一个。At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
  16. 一种图像处理方法,其中,所述方法包括以下步骤:An image processing method, wherein the method comprises the following steps:
    S10:响应于满足图像切换条件,获取至少一第一图像和至少一第一图像模板;S10: Acquiring at least one first image and at least one first image template in response to satisfying an image switching condition;
    S20:按照预设调整规则对所述第一图像模板进行调整,得到第二图像模板;S20: Adjust the first image template according to a preset adjustment rule to obtain a second image template;
    S30:根据所述第一图像和所述第二图像模板确定或生成目标图像。S30: Determine or generate a target image according to the first image and the second image template.
  17. 根据权利要求16所述的方法,其中,所述S20步骤,包括:The method according to claim 16, wherein said S20 step comprises:
    根据模板调整参数、所述第五图像以及所述预设特效中的至少一项对所述第一图像模板进行调整,以得到所述第二图像模板。The first image template is adjusted according to at least one of template adjustment parameters, the fifth image, and the preset special effect to obtain the second image template.
  18. 根据权利要求17所述的方法,其中,所述S20步骤,包括:The method according to claim 17, wherein said S20 step comprises:
    获取至少一个应用图标的位置信息;Obtaining location information of at least one application icon;
    根据所述位置信息确定所述第一图像模板的目标显示区域,并将所述第五图像和/或所述预设特效添加在所述第一图像模板的目标显示区域,以得到所述第二图像模板。Determine the target display area of the first image template according to the position information, and add the fifth image and/or the preset special effect to the target display area of the first image template, so as to obtain the first image template Two image templates.
  19. 根据权利要求17所述的方法,其中,获取模板调整参数、第五图像以及预设特效中的至少一项的方式,包括以下至少一种:The method according to claim 17, wherein the manner of acquiring at least one of template adjustment parameters, the fifth image, and preset special effects includes at least one of the following:
    根据预设环境条件获取;Acquired according to preset environmental conditions;
    根据预设生物特征条件获取;Acquired according to preset biometric conditions;
    根据预设状态条件获取。Acquired based on preset state conditions.
  20. 根据权利要求16所述的方法,其中,所述第一图像和/或所述第一图像模板确定方式,包括以下至少一种:The method according to claim 16, wherein the first image and/or the first image template determination method includes at least one of the following:
    由用户设置或选择;set or selected by the user;
    根据用户上次选择确定;Determined according to the user's last selection;
    根据用户使用习惯确定;Determined according to the user's usage habits;
    根据大数据分析确定。Determined based on big data analysis.
  21. 根据权利要求16所述的方法,其中,所述满足所述图像切换条件,包括以下至少一种:The method according to claim 16, wherein the satisfying the image switching condition comprises at least one of the following:
    环境信息满足预设环境条件;The environmental information meets the preset environmental conditions;
    用户的生物特征信息满足预设生物特征条件;The user's biometric information meets the preset biometric conditions;
    状态信息满足预设状态条件;The status information satisfies the preset status condition;
    接收到切换图像的操作指令;Receive an operation instruction to switch images;
    接收到针对预设应用的启动或切换或关闭指令。A start or switch or close command for a preset application is received.
  22. 根据权利要求16所述的方法,其中,所述S30步骤,包括:The method according to claim 16, wherein said S30 step comprises:
    获取图像参数;Get image parameters;
    将所述第二图像模板与所述第一图像进行预设处理,得到初始目标图像;performing preset processing on the second image template and the first image to obtain an initial target image;
    根据所述图像参数对所述初始目标图像进行调整,得到所述目标图像。The initial target image is adjusted according to the image parameters to obtain the target image.
  23. 根据权利要求22所述的方法,其中,所述第二图像模板为至少一个图像模板,所述第二图像模板包括的至少一个图像模板为连续的图像帧;所述将所述第二图像模板与所述第一图像进行预设处理,得到初始目标图像,包括:The method according to claim 22, wherein the second image template is at least one image template, and at least one image template included in the second image template is a continuous image frame; Perform preset processing with the first image to obtain an initial target image, including:
    将所述第一图像与所述第二图像模板中的各个图像模板进行预设处理,得到所述初始目标图像,所述目标图像包括至少一张图像,所述至少一张图像的顺序为所述图像帧的顺序。performing preset processing on the first image and each image template in the second image template to obtain the initial target image, the target image includes at least one image, and the order of the at least one image is The sequence of image frames described.
  24. 根据权利要求21所述的方法,其中,所述获取至少一第一图像和至少一第一图像模板,包括:The method according to claim 21, wherein said acquiring at least one first image and at least one first image template comprises:
    获取所述预设应用对应的图像和所述预设应用对应的图像模板,得到所述至少一第一图像和所述至少一图像模板。The image corresponding to the preset application and the image template corresponding to the preset application are acquired to obtain the at least one first image and the at least one image template.
  25. 根据权利要求24所述的方法,其中,所述S30步骤之后,所述方法还包括:The method according to claim 24, wherein, after the step S30, the method further comprises:
    显示所述目标图像、所述预设应用的图标和所述预设应用的启动界面中的至少一个。At least one of the target image, the icon of the preset application, and the startup interface of the preset application is displayed.
  26. 一种智能终端,其中,所述智能终端包括:存储器、处理器,其中,所述存储器上存储有图像处理程序,所述图像处理程序被所述处理器执行时实现如权利要求1所述的图像处理方法的步骤。An intelligent terminal, wherein the intelligent terminal comprises: a memory and a processor, wherein an image processing program is stored in the memory, and when the image processing program is executed by the processor, the method according to claim 1 is realized. The steps of the image processing method.
  27. 一种计算机可读存储介质,其中,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1所述的图像处理方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the image processing method according to claim 1 are realized.
PCT/CN2021/135399 2021-12-03 2021-12-03 Image processing method, intelligent terminal, and storage medium WO2023097671A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/135399 WO2023097671A1 (en) 2021-12-03 2021-12-03 Image processing method, intelligent terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/135399 WO2023097671A1 (en) 2021-12-03 2021-12-03 Image processing method, intelligent terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2023097671A1 true WO2023097671A1 (en) 2023-06-08

Family

ID=86611382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135399 WO2023097671A1 (en) 2021-12-03 2021-12-03 Image processing method, intelligent terminal, and storage medium

Country Status (1)

Country Link
WO (1) WO2023097671A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325882A (en) * 2016-08-31 2017-01-11 北京云图微动科技有限公司 Screen locking interface generation method and device
WO2017161904A1 (en) * 2016-03-22 2017-09-28 珠海格力电器股份有限公司 Method and device for displaying wallpaper image
CN111176533A (en) * 2019-12-27 2020-05-19 宇龙计算机通信科技(深圳)有限公司 Wallpaper switching method, device, storage medium and terminal
CN112286616A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Dynamic wallpaper setting method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161904A1 (en) * 2016-03-22 2017-09-28 珠海格力电器股份有限公司 Method and device for displaying wallpaper image
CN106325882A (en) * 2016-08-31 2017-01-11 北京云图微动科技有限公司 Screen locking interface generation method and device
CN111176533A (en) * 2019-12-27 2020-05-19 宇龙计算机通信科技(深圳)有限公司 Wallpaper switching method, device, storage medium and terminal
CN112286616A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Dynamic wallpaper setting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
WO2021063237A1 (en) Control method for electronic device, and electronic device
CN110569094B (en) Display method and electronic equipment
WO2022166765A1 (en) Image processing method, mobile terminal and storage medium
CN114666427B (en) Image display method, electronic equipment and storage medium
WO2023284621A1 (en) Setting method and apparatus, electronic device, and storage medium
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device
WO2022266907A1 (en) Processing method, terminal device and storage medium
CN113672133A (en) Multi-finger interaction method and electronic equipment
WO2022222955A1 (en) Unlocking method and electronic device
CN109542307B (en) Image processing method, device and computer readable storage medium
CN114706549A (en) Display method, intelligent terminal and storage medium
WO2023015774A1 (en) Switching method, mobile terminal, and storage medium
WO2021104162A1 (en) Display method and electronic device
WO2023097671A1 (en) Image processing method, intelligent terminal, and storage medium
CN113485783B (en) Processing method, processing apparatus, and storage medium
US20220294844A1 (en) Information Transmission Method And Electronic Device
CN113360068A (en) Screen capture interaction method, mobile terminal and storage medium
CN113793407A (en) Dynamic image production method, mobile terminal and storage medium
CN113342246A (en) Operation method, mobile terminal and storage medium
CN118235108A (en) Image processing method, intelligent terminal and storage medium
WO2023050910A1 (en) Icon display method, intelligent terminal and storage medium
WO2022213389A1 (en) Component display method, mobile terminal, and storage medium
WO2024032421A1 (en) Screen display method, and terminal device and storage medium
CN113840062B (en) Camera control method, mobile terminal and readable storage medium
WO2023202468A1 (en) Display method, smart terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21966097

Country of ref document: EP

Kind code of ref document: A1