Wallpaper setting method for foldable screen device and foldable screen device
By identifying the subject object in the wallpaper image of the folding screen device and cropping according to the screen size information, the problem of wallpaper cropping in the prior art affects integrity and aesthetics is solved, and a more unified and beautiful wallpaper setting effect is achieved.
Patent Information
- Application Number
- PCT/CN2024/122537
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-01
- Filing Date
- 2024-09-29
- Publication Date
- 2025-05-08
AI Technical Summary
In the prior art, when setting up the inner and outer screen wallpaper of the folding screen device, the same way cropping affects the integrity and aesthetics of the wallpaper.
By identifying the subject in the image, the image is cropped using different cropping methods based on the position of the subject in the image and the size information of each screen of the folding screen device to obtain multiple wallpaper images that are suitable for each screen.
Ensure that the cropped wallpaper image contains the subject object in the original image, reducing the possibility of the wallpaper presenting different effects on the internal and external screens, and improving the aesthetics and unity of the wallpaper.
Smart Images

Figure CN2024122537_08052025_PF_FP_ABST
Abstract
Description
Wallpaper setting method for folding screen device and folding screen device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 1, 2023, with application number 202311446419.5 and entitled “Wallpaper Setting Method for Folding Screen Device and Folding Screen Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of terminal technology, and in particular to a wallpaper setting method for a folding screen device and a folding screen device. Background Art
[0003] With the development of technology, foldable screen devices are becoming an increasing focus of industry research. As the name suggests, a foldable screen device is an electronic device with a foldable screen. This folding screen can reduce the device's size and improve its portability. When the screen is unfolded, the folded screen can be transformed into a larger screen area, making it more convenient for users. Alternatively, users can fold the screen to a certain angle to create different split-screen modes, enriching the device's functionality.
[0004] Typically, the screen of a folding screen device includes an outer screen and an inner screen, and the size of the outer screen is often smaller than the inner screen. When in use, the inner and outer screens of different sizes can be used to display different information respectively. Similar to ordinary electronic devices, users can also set wallpapers for the inner and outer screens of folding screen devices. Taking a folding mobile phone as an example, when a user sets the screen wallpaper on a folding mobile phone, it is necessary to set it separately on the outer screen and inner screen of different sizes. Due to the different sizes of the inner and outer screens, if the folding screen device cuts the wallpaper in the same way, the integrity and aesthetics of the wallpaper cannot be guaranteed. After the wallpaper is set, the final effect presented on the inner and outer screens may also be quite different.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a wallpaper setting method for a folding screen device and a folding screen device, which are used to solve the problem in the prior art that when setting the wallpaper of the inner and outer screens of the folding screen device, the wallpaper is cut in the same way, which affects the integrity and aesthetics of the wallpaper.
[0007] To achieve the above objectives, this application adopts the following technical solutions:
[0008] In a first aspect, a method for setting wallpaper for a foldable screen device is provided, comprising: identifying a main object in an image; cropping the image according to the position of the main object in the image and the size information of each screen of the foldable screen device to obtain multiple wallpaper images adapted to each screen; wherein the sizes of each screen are different, and the main object is included in any wallpaper image; and setting each wallpaper image as the wallpaper of the adapted screen.
[0009] By applying the wallpaper setting method provided in the embodiment of the present application, when setting wallpaper for each screen of a folding screen device, the main object in the image can be identified first, and then the image can be cropped according to the position of the main object in the image and the size information of each screen of the folding screen device to obtain multiple wallpaper images. Since each wallpaper image is obtained by cropping the main object in the image according to the size information of a certain screen, this not only ensures that the cropped wallpaper image contains the main object in the original image, but also makes the resolution of each wallpaper image adapted to the size of the corresponding screen. After setting each wallpaper image as the wallpaper of the adapted screen, the main features of the original image can be retained to the maximum extent. The wallpaper setting method provided in the embodiment of the present application can solve the problem in the prior art that cropping along the middle of the image for screens of any size can easily destroy the integrity of the main object in the image, reduces the possibility of large differences in the final effects of the wallpaper image on the inner and outer screens, and improves the aesthetics and uniformity of the screen wallpaper of the folding screen device.
[0010] It should be understood that the above-mentioned size information may refer to the size, aspect ratio or resolution of the screen or wallpaper image.
[0011] In one possible implementation of the first aspect, based on the position of a subject in an image and the size information of each screen of a foldable screen device, an image is cropped to obtain multiple wallpaper images adapted for each screen, including: determining an image region containing the subject based on the position of the subject in the image; and cropping the image based on the size information of each screen of the foldable screen device to obtain multiple wallpaper images adapted for each screen. By determining the region containing the subject and determining it as the image region to be retained, the image can be accurately cropped during wallpaper setting, preserving the subject in the image.
[0012] In a possible implementation of the first aspect, the image is cropped according to the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen, including: determining a folding method of the folding screen device, the folding method including horizontal folding or vertical folding, and any folding method corresponds to a cropping direction; the image is cropped according to the cropping direction corresponding to the folding method to obtain multiple wallpaper images, wherein each cropped wallpaper image has the same aspect ratio as the adapted screen.
[0013] It should be understood that different types of folding screen devices have different folding methods. For folding screen devices with different folding methods, different solutions can be used when cutting wallpaper.
[0014] For example, if the foldable screen device folds horizontally, a wallpaper image with the same aspect ratio as the corresponding screen is cropped from the image using a vertical cropping method; if the foldable screen device folds vertically, a wallpaper image with the same aspect ratio as the corresponding screen is cropped from the image using a horizontal cropping method. This can improve the adaptability of the cropped wallpaper image to the corresponding screen.
[0015] In a possible implementation of the first aspect, cropping the image according to a cropping direction corresponding to the folding manner to obtain multiple wallpaper images includes:
[0016] In a possible implementation of the first aspect, the screens of the foldable screen device include a first screen having size information smaller than a preset value. Cropping the image based on the position of a subject in the image and the size information of the screens of the foldable screen device to obtain multiple wallpaper images adapted for the respective screens further includes: determining the position of a main portion of the subject in the image; and cropping the image based on the size information of the first screen to obtain a first wallpaper image that includes the main portion of the subject and adapted for the first screen.
[0017] For example, the first screen may be the outer screen of a foldable screen device. When cropping the wallpaper image for the outer screen, if the image containing the target features of the subject cannot be cropped from the image based on the size of the outer screen, the foldable screen device may crop only the main portion of the subject in the image.
[0018] It should be understood that a subject can include multiple parts, and different parts can have different priorities, with the main part of the subject having the highest priority. For the smaller external screen of a foldable device, cropping the image to retain the main part of the subject can maximize the preservation of the main features of the subject in the wallpaper image.
[0019] In a possible implementation of the first aspect, after identifying the main object in the image, it also includes: determining the center point of the main object; based on the center point, determining the area in the image containing the target features of the main object as the image area that needs to be retained.
[0020] In one possible implementation of the first aspect, after determining the region containing the target features of the subject in the image as the image region to be retained, the method further includes: displaying a prompt box information regarding the image region to be retained on any screen of the foldable screen device, where the prompt box information can be used to prompt a user to adjust the image region to be retained. Upon receiving an operation in response to the prompt box information, the foldable screen device can adjust the size and / or position of the image region to be retained based on the operation.
[0021] Here, the target features of the subject object may be all features representing the entire subject object (also called complete features of the subject object), or features identifying some protruding parts of the subject object (also called complete features of some parts of the subject object), etc.
[0022] It should be understood that the image area to be retained determined by the foldable screen device's algorithm may not be the image area the user actually wants to retain. By displaying a prompt box on the screen, the user can be prompted to adjust the image area to be retained. For example, the image area to be retained can be enlarged or reduced, or the position of the image area to be retained can be adjusted. In this way, the user can adjust the image area to be retained, so that the wallpaper set on each screen can better meet the user's expectations.
[0023] In a possible implementation of the first aspect, the main object may include a first main object and a second main object, and the folding screen device may include a first screen and a second screen, wherein the size of the first screen is smaller than the size of the second screen. According to the position of the main object in the image and the size information of each screen of the folding screen device, the image is cropped to obtain multiple wallpaper images adapted to each screen, including: determining the priority of the first main object and the second main object respectively; when the priority of the first main object is higher than the priority of the second main object, according to the position of the first main object in the image and the size information of each screen of the folding screen device, the image is cropped to obtain a first wallpaper image adapted to the first screen, and the image is cropped to obtain a second wallpaper image adapted to the second screen; wherein the first wallpaper image includes the first main object.
[0024] For example, the first screen can be the external screen of a foldable screen device, and the second screen can be the internal screen of the foldable screen device. If an image includes multiple subjects, the foldable screen device can crop the image based on the priority of the multiple subjects, so that each cropped wallpaper image includes the first subject with the highest priority among the subjects.
[0025] In a possible implementation of the first aspect, the image is cropped according to the position of the first main object in the image and the size information of each screen of the folding screen device to obtain a first wallpaper image adapted to the first screen, including: determining a first image area containing the first main object according to the position of the first main object in the image; and cropping the image according to the size information of the first screen to obtain a first wallpaper image containing the first image area, wherein the first wallpaper image has the same aspect ratio as the first screen.
[0026] In another possible implementation of the first aspect, the image is cropped to obtain a second wallpaper image adapted to the second screen, including: determining a second image area based on the positions of the first main object and the second main object in the image, the second image area including the first main object and the second main object; and cropping the image according to size information of the second screen to obtain a second wallpaper image including the second image area, wherein the second wallpaper image has the same aspect ratio as the second screen.
[0027] This way, when there are multiple subjects, the image can be cropped based on their priority. This ensures that the cropped wallpaper includes the subjects with the highest priority when the screen size is small. For larger screens, more subjects can be included, preserving as many features of the original image as possible.
[0028] In a possible implementation of the first aspect, the image is cropped according to the size information of the first screen to obtain a first wallpaper image including the first image area, including: determining the proportional deviation between the size of the first screen and the size of the first image area; if the proportional deviation is greater than a preset deviation value, determining the position of the main part of the first subject in the first image area; and cropping the first image area according to the size information of the first screen to obtain the first wallpaper image including the main part of the first subject.
[0029] It should be understood that the above-mentioned proportional deviation can be used to characterize the degree of adaptation of the size of the first screen and the size of the first image area, and the proportional deviation can be determined by the aspect ratio of the first screen or the first image area. When the proportional deviation is small, the degree of adaptation of the size of the first screen and the size of the first image area is high; when the proportional deviation is large, the degree of adaptation of the size of the first screen and the size of the first image area is low. Exemplarily, if the proportional deviation of the first screen and the first image area is small, it means that the aspect ratio of the two is close, and the first image area is cropped according to the size of the first screen, and the cropped wallpaper image can include more features in the first image area. If the proportional deviation of the first screen and the first image area is large, it means that the aspect ratio of the two is large, and it is difficult to include all features in the first image area in the cropped wallpaper image when the first image area is cropped according to the size of the first screen.
[0030] When the ratio of the size of the first screen to the size of the first image area deviates significantly, the foldable screen device may crop the first image area to retain only the main portion of the first subject. In this way, the first wallpaper image used as the smaller first screen can include the main features of the first subject.
[0031] In a possible implementation of the first aspect, the number of first subject objects may include multiple, and according to the position of the first subject object in the image, the first image area containing the first subject object is determined, including: according to the folding method of the folding screen device, determining the first target subject object from the multiple first subject objects; according to the position of the first target subject object in the image, determining the area in the image containing the target features of the first target subject object as the first image area.
[0032] The first subject is the subject with the highest priority in the image. When there are multiple subjects with the highest priority in the image, the foldable screen device can determine the first target subject from the multiple first subjects. Therefore, when cropping the wallpaper for the smaller external screen, the image can be cropped to retain the area containing the first target subject, ensuring that as many features of the first target subject as possible are included in the first wallpaper image.
[0033] In one possible implementation of the first aspect, setting each wallpaper image as the wallpaper for a corresponding screen includes: previewing each wallpaper image on the corresponding screen; upon receiving an interactive instruction for any previewed wallpaper image, adjusting the previewed wallpaper image according to the interactive instruction; and setting each adjusted wallpaper image as the wallpaper for the corresponding screen. Previewing each cropped wallpaper image facilitates the user to view the effect of the wallpaper setting and to adjust the wallpaper based on the actual display effect, so that the final wallpaper setting meets the user's expectations and needs.
[0034] In a second aspect, a wallpaper setting device for a foldable screen device is provided, comprising:
[0035] The recognition module is used to identify the main object in the image.
[0036] The cropping module is used to crop the image according to the position of the main object in the image and the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen; wherein the sizes of each screen are different, and the main object is included in any wallpaper image.
[0037] The setting module is used to set each wallpaper image as the wallpaper of the corresponding screen.
[0038] In a possible implementation of the second aspect, the cropping module can be specifically used to: determine the image area containing the main object in the image based on the position of the main object in the image; crop the image according to the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen, and any wallpaper image at least contains the main object in the image area.
[0039] In a possible implementation of the second aspect, the cropping module can also be used to: determine the folding method of the folding screen device, the folding method including horizontal folding or vertical folding, and any folding method corresponds to a cropping direction; crop the image according to the cropping direction corresponding to the folding method to obtain multiple wallpaper images, wherein each cropped wallpaper image has the same aspect ratio as the corresponding screen.
[0040] In a possible implementation of the second aspect, the cropping module can also be used for: if the folding mode of the folding screen device is horizontal folding, then a wallpaper image with the same aspect ratio as the corresponding screen is cropped from the image in a vertical cropping manner; if the folding mode of the folding screen device is vertical folding, then a wallpaper image with the same aspect ratio as the corresponding screen is cropped from the image in a horizontal cropping manner.
[0041] In one possible implementation of the second aspect, the screens of the foldable screen device include a first screen whose size information is smaller than a preset value, and the cropping module may further be configured to: determine a position of a main portion of a subject in an image; and crop the image according to the size information of the first screen to obtain a first wallpaper image that includes the main portion of the subject and is compatible with the first screen. The subject may include multiple parts, each having different priorities, with the main portion having the highest priority.
[0042] In a possible implementation manner of the second aspect, the cropping module may also be used to: determine a center point of the main object; and based on the center point, determine an area in the image containing target features of the main object as the image area that needs to be retained.
[0043] In another possible implementation of the second aspect, the main object includes a first main object and a second main object, the folding screen device includes a first screen and a second screen, the size of the first screen is smaller than the size of the second screen, and the cropping module can also be used to: determine the priority of the first main object and the second main object respectively; when the priority of the first main object is higher than the priority of the second main object, according to the position of the first main object in the image and the size information of each screen of the folding screen device, crop the image to obtain a first wallpaper image adapted to the first screen, and crop the image to obtain a second wallpaper image adapted to the second screen; wherein, the first wallpaper image includes the first main object.
[0044] In a possible implementation of the second aspect, the cropping module can also be used to: determine a first image area containing the first main object based on the position of the first main object in the image; crop the image according to the size information of the first screen to obtain a first wallpaper image containing the first image area, wherein the first wallpaper image has the same aspect ratio as the first screen.
[0045] In a possible implementation of the second aspect, the cropping module can also be used to: determine the proportional deviation between the size of the first screen and the size of the first image area; if the proportional deviation is greater than a preset deviation value, determine the position of the main part of the first subject in the first image area; according to the size information of the first screen, crop the first image area to obtain a first wallpaper image containing the main part of the first subject.
[0046] In another possible implementation of the second aspect, the number of first main objects includes multiple, and the cropping module can also be used to: determine the first target main object from the multiple first main objects according to the folding method of the folding screen device; and determine the area in the image containing the target features of the first target main object as the first image area according to the position of the first target main object in the image.
[0047] In a possible implementation of the second aspect, the cropping module can also be used to: determine a second image area based on the positions of the first main object and the second main object in the image, where the second image area includes the first main object and the second main object; crop the image according to the size information of the second screen to obtain a second wallpaper image including the second image area, wherein the second wallpaper image has the same aspect ratio as the second screen.
[0048] In a possible implementation of the second aspect, the setting module can be specifically used to: preview each wallpaper image on a corresponding screen; when an interactive instruction for any previewed wallpaper image is received, adjust the previewed wallpaper image according to the interactive instruction; and set the adjusted wallpaper images as the wallpaper of the corresponding screen.
[0049] In a third aspect, a foldable screen device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for setting wallpaper for the foldable screen device as described in any one of the first aspects above can be implemented.
[0050] In a fourth aspect, a computer-readable storage medium is provided, which stores computer instructions. When the computer instructions are executed on a folding screen device, the folding screen device executes the above-mentioned related method steps to implement the wallpaper setting method of the folding screen device described in any one of the above-mentioned first aspects.
[0051] In a fifth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the wallpaper setting method of the folding screen device described in any one of the above-mentioned first aspects.
[0052] In a sixth aspect, a chip is provided, comprising a memory and a processor. The processor executes a computer program stored in the memory to implement the wallpaper setting method for a foldable screen device as described in any one of the first aspects above.
[0053] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0055] FIG2 is a schematic diagram of a wallpaper setting effect provided in an embodiment of the present application;
[0056] FIG3 is a schematic diagram of another wallpaper setting effect provided by an embodiment of the present application;
[0057] FIG4 is a schematic diagram of the overall framework of a wallpaper setting method for a folding screen device provided in an embodiment of the present application;
[0058] FIG5 is a schematic diagram of a process of cropping an image provided by an embodiment of the present application;
[0059] FIG6 is a schematic diagram of another process of cropping an image provided by an embodiment of the present application;
[0060] FIG7 is a schematic diagram of another process of cropping an image provided by an embodiment of the present application;
[0061] FIG8 is a schematic diagram of another process of cropping an image provided by an embodiment of the present application;
[0062] FIG9 is a schematic diagram of interface interaction in a wallpaper setting method provided in an embodiment of the present application;
[0063] FIG10 is a schematic diagram of a flowchart of a method for setting wallpaper for a foldable screen device provided in an embodiment of the present application;
[0064] FIG11 is a comparative schematic diagram of a wallpaper setting effect provided in an embodiment of the present application;
[0065] FIG12 is a comparative schematic diagram of another wallpaper setting effect provided in an embodiment of the present application;
[0066] FIG13 is a schematic diagram of a wallpaper setting method for a folding screen device provided in an embodiment of the present application;
[0067] Figure 14 is a schematic diagram of a wallpaper setting device for a folding screen device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] To facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first image region," "second image region," and so on are merely used to distinguish between different image regions within an image and do not constitute any other limitation.
[0069] It should be noted that in the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0070] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0071] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0072] The steps involved in the wallpaper setting method for a foldable screen device provided in the embodiments of this application are only examples. Not all steps are required, and not all content in each step is optional. You can add or reduce them as needed during use. The same step or steps or content with the same function in different embodiments of this application can be referenced and learned from each other.
[0073] The wallpaper setting method for a foldable screen device provided in an embodiment of the present application can be applied to a foldable screen device. Typically, a foldable screen device includes an outer screen and an inner screen. The outer screen and the inner screen have different size information. The size information of the outer screen and the inner screen may refer to the size, aspect ratio, or resolution of the screen.
[0074] For example, Figure 1 shows a schematic structural diagram of an electronic device 100. The structure of the above-mentioned folding screen device can refer to the structure of the electronic device 100.
[0075] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0076] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In some embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0077] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0078] The controller can generate an operation control signal based on the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0079] Processor 110 may also include a memory for storing instructions and data. In some embodiments of the present application, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids repeated accesses, reduces processor 110 latency, and thus improves system efficiency.
[0080] In some embodiments of the present application, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0081] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments of the present application, the processor 110 may include multiple I2C buses. The processor 110 can be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0082] The I2S interface can be used for audio communication. In some embodiments of the present application, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments of the present application, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0083] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments of the present application, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments of the present application, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset.
[0084] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments of the present application, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments of the present application, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, implementing the function of playing music through a Bluetooth headset.
[0085] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI).
[0086] In some embodiments of the present application, the processor 110 and the camera 193 communicate via a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via a DSI interface to implement the display function of the electronic device 100.
[0087] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments of the present application, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0088] The USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. The USB interface 130 can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0089] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0090] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0091] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance).
[0092] In some other embodiments, the power management module 141 may also be provided in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
[0093] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
[0094] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0095] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1.
[0096] In some embodiments of the present application, at least some functional modules of the mobile communication module 150 may be set in the processor 110. In some embodiments of the present application, at least some functional modules of the mobile communication module 150 may be set in the same device as at least some modules of the processor 110.
[0097] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium- or high-frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs audio signals through an audio device (including but not limited to the speaker 170A, the receiver 170B, etc.) or displays images or videos through the display screen 194.
[0098] In some embodiments of the present application, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
[0099] The wireless communication module 160 can provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0100] In some embodiments of the present application, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation system (SBAS).
[0101] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0102] The display screen 194 is also referred to as the screen of the electronic device 100. The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In an embodiment of the present application, the electronic device 100 may include two or N display screens 194, where N is a positive integer greater than 2. At least one display screen 194 of the electronic device 100 is a foldable screen. Exemplarily, the electronic device includes two display screens 194, namely an outer screen and an inner screen. The inner screen may be a foldable display screen.
[0103] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0104] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments of the present application, the ISP can be located in camera 193.
[0105] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments of the present application, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0106] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0107] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0108] The NPU is a neural network (NN) computing processor that rapidly processes input information and continuously self-learns by drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain. The NPU enables intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0109] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0110] The internal memory 121 can be used to store computer executable program code, which includes instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.).
[0111] In addition, the internal memory 121 may include a high-speed random access memory and a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0112] The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0113] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0114] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments of the present application, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0115] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0116] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0117] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, and can also identify the source of sound, realize directional recording function, etc.
[0118] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0119] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates having a conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0120] In some embodiments of the present application, touch operations applied to the same touch location but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to a short message application icon, an instruction to create a new short message is executed.
[0121] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments of the present application, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0122] The air pressure sensor 180C is used to measure air pressure. In some embodiments of the present application, the electronic device 100 calculates altitude, assists positioning and navigation through the air pressure value measured by the air pressure sensor 180C.
[0123] Magnetic sensor 180D includes a Hall sensor. Electronic device 100 can use magnetic sensor 180D to detect the opening and closing of a flip case. In some embodiments of the present application, when electronic device 100 is a flip phone, electronic device 100 can detect the opening and closing of the flip cover using magnetic sensor 180D, and then set features such as automatic unlocking of the flip cover based on the detected opening and closing status of the leather case or flip cover.
[0124] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0125] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments of the present application, such as when photographing a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0126] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0127] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.
[0128] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0129] The temperature sensor 180J is used to detect temperature. In some embodiments of the present application, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
[0130] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0131] Bone conduction sensor 180M can acquire vibration signals. In some embodiments of the present application, bone conduction sensor 180M can acquire vibration signals from vibrating bones in the human body. Bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals.
[0132] In some embodiments of the present application, the bone conduction sensor 180M can also be installed in headphones, forming bone conduction headphones. The audio module 170 can parse the vibration signal of the vocal bone obtained by the bone conduction sensor 180M to generate a voice signal, thereby implementing a voice function. The application processor can parse the heart rate information based on the blood pressure pulse signal obtained by the bone conduction sensor 180M, thereby implementing a heart rate detection function.
[0133] The keys 190 include a power button, a volume button, etc. The keys 190 may be mechanical keys or touch keys. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0134] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example, time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0135] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, and the like.
[0136] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments of the present application, the electronic device 100 uses an eSIM (i.e., an embedded SIM card). The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0137] The wallpaper setting method provided in the embodiment of the present application can be implemented on an electronic device having the above-mentioned hardware structure.
[0138] As mentioned earlier, the screen of a foldable device consists of an outer screen and an inner screen. When users set wallpapers for the screens of foldable devices, they need to set wallpapers for the outer and inner screens separately. Due to the difference in the outer and inner screen dimensions, if the same image is cropped using the same method, the resulting screen wallpaper will appear significantly different on the outer and inner screens.
[0139] In response to the above problems, an embodiment of the present application provides a wallpaper setting method for a foldable screen device. By identifying the main object in the image used as the screen wallpaper, the image can be cropped using different cropping methods according to the position of the main object in the image and the size information of each screen of the foldable screen device, thereby obtaining multiple wallpaper images. Each of the multiple wallpaper images can be used as the wallpaper of one screen of the foldable screen device. For example, for the external screen and internal screen of different sizes of the foldable screen device, two different cropping methods can be used to crop the image. For example, cropping method one and cropping method two. Among them, the foldable screen device can crop the wallpaper for the external screen according to cropping method one to obtain a wallpaper image (for example, wallpaper image one); and crop the wallpaper for the internal screen according to cropping method two to obtain another wallpaper image (for example, wallpaper image two). Then, the foldable screen device can use wallpaper image one as the wallpaper for the external screen and wallpaper image two as the wallpaper for the internal screen, ensuring that each cropped wallpaper image can adapt to the size of the corresponding screen.
[0140] In an embodiment of the present application, when the folding screen device crops an image according to the above-mentioned cropping method one or cropping method two, it can perform cropping based on the position of the main object in the identified image, ensuring that the cropped wallpaper includes the above-mentioned main object or a main part of the main object. When cropping, the folding screen device can determine whether to crop the image to retain the complete main object in the image or only retain a main part of the main object in the image based on the size of the screen. Generally, for screens with larger sizes, the folding screen device can crop the image to retain the complete main object in the image; for screens with smaller sizes, the folding screen device can only retain a main part of the main object in the image after cropping the image. The main part can be a part that reflects the main features of the main object. For example, if the main object in the identified image is a person, then the main part of the main object can be a facial part.
[0141] As shown in Figure 2, it is a schematic diagram of a wallpaper setting effect provided by an embodiment of the present application. In Figure 2, image 201 is an image intended to be used as a screen wallpaper for a folding screen device. Image 201 includes a person, and the person is also the main object in image 201. Figure 2 also shows a folding screen device 202, which is a vertically folding electronic device. Among them, the outer screen of the folding screen device 202 in the folded state is shown as 2021 in Figure 2, and the inner screen of the folding screen device 202 in the unfolded state is shown as 2022 in Figure 2. It can be seen from Figure 2 that the size of the outer screen 2021 is smaller than the size of the inner screen 2022. When setting wallpaper for the above-mentioned outer screen 2021 and inner screen 2022, the folding screen device 202 can adopt different cropping methods according to the position of the main object in image 201 and the size of the outer screen 2021 and inner screen 2022. Specifically, because the outer screen 2021 is smaller than the rest of the image 201, it cannot fully accommodate the subject. Therefore, the foldable screen device 202 can crop the image 201, preserving the subject's facial features, to produce a wallpaper image 2021a. After this wallpaper image 221a is set as the wallpaper for the outer screen 2021, the resulting image in the folded state of the foldable screen device 202 can be as shown in FIG2 , as 2021b. On the other hand, the inner screen 2022 of the foldable screen device 202, when unfolded, is larger than the rest of the image 201. Therefore, the foldable screen device 202 can crop the image 201, preserving the subject's facial features, to produce a wallpaper image 2022a. After this wallpaper image 222a is set as the wallpaper for the inner screen 222, the resulting image can be as shown in FIG2 , as 2022b.
[0142] Comparing screens 2021b and 2022b in FIG. 2 , it can be seen that by using the wallpaper setting method provided in the embodiment of the present application, the image can be cropped in a targeted manner according to the different size information of the inner and outer screens of the folding screen device, thereby obtaining a wallpaper image that matches the actual size information of each screen. In this way, not only can it be ensured that the wallpaper images used as the outer and inner screens both contain the main object or the main part of the main object in the original image, so that the wallpaper images of the inner and outer screens will not be violently cropped due to the change in the shape of the inner and outer screens of the folding screen device, but it can also ensure that the style of the wallpaper images of the inner and outer screens is unified.
[0143] In one possible implementation of an embodiment of the present application, the image used as wallpaper for each screen of a foldable screen device may include more than one subject. For example, the image includes two or more subjects. For an image including two or more subjects, the wallpaper setting method provided in an embodiment of the present application may also be used to crop the image to obtain multiple wallpaper images that are adapted to each screen.
[0144] As shown in Figure 3, it is a schematic diagram of another wallpaper setting effect provided by an embodiment of the present application. In Figure 3, image 301 is an image intended to be used as a screen wallpaper for a folding screen device. Image 301 includes two main objects, namely, person 3011 and person 3012 in image 301. Figure 3 also shows a folding screen device 302, which is a horizontally folding electronic device. Among them, the outer screen of the folding screen device 302 in the folded state is shown as 3021 in Figure 3, and the inner screen of the folding screen device 302 in the unfolded state is shown as 3022 in Figure 3. It can be seen from Figure 3 that the size of the outer screen 3021 is smaller than the size of the inner screen 3022. When setting wallpaper for the above-mentioned outer screen 3021 and inner screen 3022, the folding screen device 302 can adopt different cropping methods according to the position of the main object in image 301 and the size information of the outer screen 3021 and inner screen 3022. Specifically, because the outer screen 3021 is too small to fully accommodate the multiple subjects in image 301, foldable screen device 302 can crop image 301 to produce a wallpaper image 3021a that only contains one subject in image 301. This wallpaper image 3021a is a wallpaper image obtained by cropping image 301 while retaining person 3011 in image 301. After this wallpaper image 3021a is set as the wallpaper for the outer screen 3021, the effect when foldable screen device 302 is folded can be as shown in Figure 3 , 3021b. On the other hand, the inner screen 3022 of foldable screen device 302 is larger when unfolded, fully accommodating the multiple subjects in image 301. Therefore, when cropping image 301, foldable screen device 302 can retain the multiple subjects in image 301, so that the cropped wallpaper image 3022a simultaneously contains the multiple subjects in image 301. For example, the wallpaper image 3022a in Figure 3 includes the characters 3011 and 3012 in the original image 301. After the wallpaper image 3022a is set as the wallpaper of the inner screen 3022, the effect can be shown as 3022b in Figure 3.
[0145] Comparing screens 3021b and 3022b in Figure 3, it can be seen that when the image used as screen wallpaper contains multiple subjects, the wallpaper setting method provided in the embodiment of the present application can be used to specifically crop the image according to the different sizes of the inner and outer screens of the foldable screen device, so that the wallpaper image used as the smaller screen only contains part of the subjects in the original image, while for the larger screen, the cropped wallpaper image adapted to the screen can contain all the subjects in the original image. In this way, the wallpaper images set as the inner and outer screens of the foldable screen device can contain different subjects, increasing the user's enjoyment during the unfolding or folding process of the foldable screen device. For example, when the image planned to be used as screen wallpaper is a photo of a couple, the wallpaper image set as the smaller outer screen can be a single image of one of the couple, while the wallpaper image set as the larger inner screen can be a photo of the two, thereby increasing the user's enjoyment during the folding or unfolding of the foldable screen device.
[0146] In combination with the examples of wallpaper setting effects shown in Figures 2 and 3, Figure 4 shows a schematic diagram of the overall framework of a wallpaper setting method for a foldable screen device provided in an embodiment of the present application. Implementation of this method may include the following steps S401-S405:
[0147] S401. Information input.
[0148] In an embodiment of the present application, the input information may refer to relevant information that the folding screen device needs to determine before setting the wallpaper of each screen. Among them, the input information may include an image used as the screen wallpaper of the folding screen device and relevant information of the image. The image can be any image selected by the user from multiple images stored in the folding screen device, or it can be an image obtained by the user using the camera of the folding screen device in real time, or it can be an image received by the folding screen device from other devices. Exemplarily, the folding screen device can receive images from other devices through short-range communication technologies such as Bluetooth, or through wireless communication technologies such as 4G / 5G, and use the received images as wallpaper images for each screen of the device. As shown in Figure 4, the relevant information of the image used as screen wallpaper may include the size information of the image. For example, the maximum size of the image, that is, the length and width information of the image.
[0149] In addition to the image used as screen wallpaper, the input information can also include device information of the foldable screen device itself. As shown in Figure 4, the device information can include the size information of each screen of the foldable screen device. For example, the size of the inner screen and the size of the outer screen of the foldable screen device.
[0150] In one example, in the unfolded state, the size of the outer screen of the foldable screen device is smaller than the size of the inner screen. Therefore, the outer screen of the foldable screen device can also be called a small screen, and the inner screen of the foldable screen device can also be called a large screen. Based on the above image and the device information of the foldable screen device itself, the size information of the wallpaper used as the inner screen and outer screen of the foldable screen device can also be determined, that is, the large screen wallpaper size and the small screen wallpaper size. The above large screen wallpaper size and small screen wallpaper size can also be used as input information and play a role in the subsequent wallpaper setting process.
[0151] S402: Image enhancement.
[0152] In an embodiment of the present application, for an image to be used as screen wallpaper, the foldable screen device can use image enhancement technology to process the image. As shown in Figure 4, the image enhancement technology that can be used by the foldable screen device may include image resolution enhancement technology and image intelligent expansion technology. Based on the above image enhancement technology, the foldable screen device can use artificial intelligence or use large models and other technical means to enhance image resolution, expand image edges, and improve image clarity.
[0153] S403: Identify the main object in the image.
[0154] In the embodiments of the present application, image subject recognition may refer to the identification of information or content contained in an image used as screen wallpaper, as well as the calculation of image features. For example, image subject recognition may identify subjects such as people, animals, or plants contained in the image.
[0155] In one possible implementation of the embodiment of the present application, the image may contain only a single subject. For example, the image contains only one person, or one animal, or one plant. In another possible implementation of the embodiment of the present application, the image may also contain multiple subjects. The multiple subjects may be the same subject. For example, the image may contain multiple people, or multiple animals, or multiple plants. In another possible implementation of the embodiment of the present application, the multiple subjects may be different types of subjects, and the number of each type of subject may be more than one. For example, the image may contain both people and animals. The number of people may be one or more, and the number of animals may also be one or more.
[0156] In a possible implementation of an embodiment of the present application, when an image includes multiple subjects of different types, the folding screen device can also determine the priority of each identified subject during the process of identifying the subject of the image. Compared with subjects with low priorities, subjects with high priorities can be prioritized to ensure that they exist in the cropped wallpaper image when they are cropped as wallpaper images for each screen. For example, when the folding screen device crops an image that contains both a person and an animal, if the priority of the person is higher than that of the animal, the folding screen device can prioritize cropping the person in the image, and prioritize ensuring that the cropped wallpaper image contains the image of the person.
[0157] As an example of an embodiment of the present application, as shown in FIG4 , the priority relationship between different types of subject objects may be as follows:
[0158] People > Animals > Plants or flowers > Architecture > Starry sky, moon, sun, earth, etc. > Objects with dense textures > Two-dimensional subjects > Objects with prominent brightness or saturation > Other subjects
[0159] The symbol “>” in the above example indicates that the priority of the subject to the left of the symbol is higher than the priority of the subject to the right of the symbol. For example, in the above example, the priority of people is higher than the priority of animals, and the priority of animals is higher than the priority of plants or flowers, buildings, the starry sky, the moon, the sun, the earth, and other subjects.
[0160] S404: Generate a cutting model.
[0161] In an embodiment of the present application, the generation of a cropping model may refer to the process of generating different schemes for cropping images by a folding screen device, including the calculation of image cropping parameters and the generation of wallpaper images. The calculation of image cropping parameters may refer to the process of calculating the parameters required to crop the wallpaper image for each screen based on the position of the identified subject in the image and the size information of each screen of the folding screen device. On this basis, the folding screen device can crop the image according to the calculated parameters by executing the wallpaper image generation step to obtain screen wallpapers that are adapted to each screen.
[0162] In the process of generating a wallpaper image, the computer device can generate different cropping schemes for different folding methods of the folding screen device and the number of main objects in the image. As shown in Figure 4, for the case where the image contains only a single main object, the folding screen device can generate a large-screen vertical folding cropping scheme, a small-screen horizontal folding cropping scheme, etc.; correspondingly, for the case where the image contains multiple main objects, the folding screen device can also generate a large-screen vertical folding cropping scheme, a small-screen horizontal folding cropping scheme, etc. Among them, when the number of main objects is different, the actual cropping method of the same type of cropping scheme is different. For example, the large-screen vertical folding cropping scheme for a single main object and the large-screen vertical folding cropping scheme for multiple main objects belong to different cropping schemes. When different cropping schemes are used to crop an image, the image information contained in the cropped image is different. That is, when different cropping schemes are used to crop an image, the content or image area of the original image retained in the wallpaper image after cropping is different.
[0163] The following describes the process of generating cropping models for foldable screen devices with different folding methods for different numbers of subjects in an image, using specific examples.
[0164] a. Vertical folding device + single main object
[0165] Among them, the vertical folding device may refer to a folding screen device that folds vertically.
[0166] As shown in Figure 5, it is a schematic diagram of a process of cropping an image provided by an embodiment of the present application. Figure 5 shows an example of cropping a wallpaper image for a vertically folded folding screen device when the image contains only a single subject object.
[0167] In Figure 5, image 501 contains only a single subject, namely subject 5011, and the folding screen device 502 can identify the subject 5011 through the S403 image subject identification step. The folding screen device 502 in Figure 5 is a vertical folding device. The outer screen and inner screen of the folding screen device 502 in the folded state and the unfolded state can be shown as screens 5021 and 5022 in Figure 5, respectively. Among them, screen 5021 is the outer screen of the folding screen device 502 in the folded state, and screen 5022 is the inner screen of the folding screen device 502 in the unfolded state. As can be seen from Figure 5, the size of the outer screen in the folded state is smaller than the inner screen in the unfolded state. The folding screen device 502 needs to cut out wallpaper images for screens 5021 and 5022 respectively from the image 501.
[0168] In the embodiment of the present application, foldable screen device 502 can determine the image region within image 501 that contains subject 5011 based on the position of subject 5011 within image 501. In one possible implementation, the foldable screen device can determine the center point of subject 5011 based on the position of subject 5011 within image 501, and then, based on this center point, determine the region within image 501 that contains the target features of subject 5011 as the image region to be retained. As shown in FIG. 5 , the image region to be retained may be region 501a within image 501, which includes relatively complete features of subject 5011, referred to as a complete feature.
[0169] After determining the image areas to be retained, foldable screen device 502 can crop image 501 according to the size information of each screen, obtaining multiple wallpaper images adapted for each screen. That is, foldable screen device 502 can crop image 501 to obtain images that can be used as wallpaper for screens 5021 and 5022. In one example, foldable screen device 502 can crop the image in different directions depending on the folding method. For example, if foldable screen device 502 folds vertically, when cropping the image, foldable screen device 502 can crop image 501 horizontally to obtain a wallpaper image with the same aspect ratio as the adapted screen. The cropping scheme used by foldable screen device 502 to crop image 501 to obtain wallpaper for screen 5021 can be different from the cropping scheme used to crop image 501 to obtain wallpaper for screen 5022.
[0170] As shown in Figure 5 , since screen 5021 is relatively small and cannot fully accommodate the features of subject 5011, after determining the image area to be retained in image 501, foldable screen device 502 can crop image 501 according to the dimensions of screen 5021, retaining the area within image 501 where the main body portion of subject 5011 resides. For example, in Figure 5 , subject 5011 is a person, and the corresponding main body portion can be the face of the person in Figure 5 . By cropping the face portion of image 501, wallpaper image 5011a can be obtained. Screen 5022 is larger and can accommodate the full features of subject 5011. Therefore, foldable screen device 502 can crop image 501 horizontally according to the dimensions of screen 5022, resulting in wallpaper image 5011b containing subject 5011. These wallpaper images 5011a and 5011b can serve as the wallpaper for screens 5021 and 5022 of foldable screen device 502, respectively.
[0171] b. Vertical folding device + multiple main objects
[0172] As shown in Figure 6, it is a schematic diagram of another process of cropping an image provided by an embodiment of the present application. Figure 6 shows an example of cropping a wallpaper image for a vertically folded folding screen device when the image contains multiple main objects.
[0173] In Figure 6, image 601 includes multiple main objects, namely main objects 6011 and 6012. The folding screen device 602 in Figure 6 can be a vertical folding device of the same type as the folding screen device 502 in Figure 5. Accordingly, the outer screen and inner screen of the folding screen device 602 in the folded state and the unfolded state can be shown as screens 6021 and 6022 in Figure 6, respectively. Among them, screen 6021 is the outer screen of the folding screen device 602 in the folded state, and screen 6022 is the inner screen of the folding screen device 602 in the unfolded state. The size of the outer screen in the folded state is smaller than the inner screen in the unfolded state.
[0174] Since the size of screen 6021 is small and cannot fully accommodate the target features (such as complete features) of multiple main objects 6011 and 6012, when the folding screen device cuts the wallpaper image for screen 6021, it can cut the main parts of one or more main objects to obtain the wallpaper image of screen 6021.
[0175] In one possible implementation of the embodiment of the present application, foldable screen device 602 may crop the main body portion of one of the subjects and use it as the wallpaper image for screen 6021. For example, foldable screen device 602 may determine which subject's main body portion to retain in the cropped image based on the priorities of the multiple subjects in image 601. In one example, if the priorities of the multiple subjects in image 601 are not exactly the same, foldable screen device 602 may crop the image and retain the image containing the main body portion of the subject with the highest priority as the wallpaper image for screen 6021.
[0176] In another possible implementation of the embodiment of the present application, foldable screen device 602 can crop the main body parts of multiple subjects to serve as the wallpaper image for screen 6021. For example, foldable screen device 602 can crop image 601 based on the size of screen 6021, retaining the main body parts of subjects 6011 and 6012. In one example, subjects 6011 and 6012 in image 601 are both people, and the main body parts of the people can be faces. foldable screen device 602 can crop the image, retaining the facial parts of subjects 6011 and 6012, and obtain image 6021a as the wallpaper image for screen 6021. In this way, the image to be set as the wallpaper for screen 6021 can simultaneously contain the facial parts of subject 6011 and subject 6012.
[0177] In a possible implementation of an embodiment of the present application, when the folding screen device 602 crops the image of the main object with the highest priority as the wallpaper image of the screen 6021, it can also perform cropping in two situations according to the size of the screen 6021.
[0178] Case 1: Assuming that the subject with the highest priority in image 601 is subject 6011, if the deviation between the aspect ratio of screen 6021 and the aspect ratio of the image area where subject 6011 is located is small, screen 6021 can accommodate the complete features of subject 6011, or by scaling the image area where subject 6011 is located so that screen 6021 can accommodate the complete features of subject 6011, then the folding screen device 602 can crop image 601 to obtain a wallpaper image containing the complete features of subject 6011, which will be set as the wallpaper of screen 6021.
[0179] In the second scenario, assuming that the subject with the highest priority in image 601 is subject 6011, if the aspect ratio of screen 6021 deviates significantly from the aspect ratio of the image area containing subject 6011, screen 6021 cannot fully accommodate the features of subject 6011, or even scaling the image area containing subject 6011 cannot fully accommodate the features of subject 6011, then foldable screen device 602 can crop image 601 to obtain a wallpaper image containing only the main body of subject 6011. For example, if subject 6011 is a person, foldable screen device 602 can crop the image to obtain an image containing the person's facial area, which will be used as the wallpaper image for screen 6021.
[0180] For screen 6022 , due to its large size, the folding screen device 602 can cut out an image 6022a that includes the complete features of multiple main objects from image 601 as the wallpaper image of screen 6022 .
[0181] c. Horizontally foldable device + single main object
[0182] A horizontally folding device may refer to a folding screen device that folds vertically. FIG7 is a schematic diagram of another image cropping process provided by an embodiment of the present application. FIG7 illustrates an example of cropping a wallpaper image for a horizontally folding folding screen device when the image contains only a single subject.
[0183] Image 701 in Figure 7 contains only a single main object, namely main object 7011. Folding screen device 702 is a horizontally folding device. The outer screen and inner screen of folding screen device 702 in the folded state and the unfolded state can be shown as screens 7021 and 7022 in Figure 7, respectively. Among them, screen 7021 is the outer screen of folding screen device 702 in the folded state, and screen 7022 is the inner screen of folding screen device 702 in the unfolded state. As can be seen from Figure 7, the size of the outer screen in the folded state is smaller than the inner screen in the unfolded state. Folding screen device 702 needs to cut out wallpaper images from image 701 for screens 7021 and 7022 respectively.
[0184] In the embodiment of the present application, the foldable screen device 702 can determine the image area containing the subject 7011 in the image 701 based on the position of the subject 7011 in the image 701. As shown in FIG7 , the image area containing the subject 7011 can be area 701a in the image 701, which includes the complete features of the subject 7011.
[0185] For a horizontally foldable device, when cropping the wallpaper image for each screen, a wallpaper image having the same aspect ratio as the corresponding screen can be cropped from image 701 in a vertical cropping manner.
[0186] In one possible implementation of the embodiment of the present application, foldable screen device 702 can crop image 701 vertically based on the size information of screen 7021 to obtain image 7021a to be set as the wallpaper of screen 7021. Alternatively, foldable screen device 702 can crop image 701 based on the size information of screen 7022 to obtain image 7022a to be set as the wallpaper of screen 7022. The above-mentioned images 7021a and 7022a can be set as the wallpaper of screen 7021 and screen 7022, respectively.
[0187] d. Horizontally foldable device + multiple main objects
[0188] As shown in Figure 8, it is a schematic diagram of another image cropping process provided by an embodiment of the present application. Figure 8 shows an example of cropping a wallpaper image for a horizontally folded folding screen device when the image contains multiple main objects.
[0189] In Figure 8, image 801 contains multiple main objects, namely main objects 8011 and 8012. The folding screen device 802 in Figure 8 can be a horizontally folding device of the same type as the folding screen device 702 in Figure 7. Accordingly, the outer screen and inner screen of the folding screen device 802 in the folded state and the unfolded state can be shown as screens 8021 and 8022 in Figure 8, respectively. Among them, screen 8021 is the outer screen of the folding screen device 802 in the folded state, and screen 8022 is the inner screen of the folding screen device 802 in the unfolded state. The size of the outer screen in the folded state is smaller than the inner screen in the unfolded state.
[0190] In a possible implementation of an embodiment of the present application, when the folding screen device 802 cuts the wallpaper image for each screen, it can cut out multiple wallpaper images from the image 801, and the number of main objects contained in each wallpaper image can be different.
[0191] Exemplarily, when the folding screen device 802 crops a wallpaper image for the screen 8021 , it can crop an image containing only a single subject object from the image 801 .
[0192] In an embodiment of the present application, when the folding screen device 802 crops a single subject, it can determine which subject to crop and retain based on the priorities of multiple subjects in the image 801. In one example, if the priorities of multiple subjects in the image 801 are not exactly the same, the folding screen device 802 can crop the image and retain the image containing the subject with the highest priority as the wallpaper image of the screen 8021. In another example, if the priorities of multiple subjects in the image 801 are the same, for example, the subjects 8011 and 8012 in the image 801 are both human images and have the same priority, the folding screen device 802 can randomly crop the image in a vertical cropping manner and retain the image containing any one of the subjects as the wallpaper image of the screen 8021. For example, as shown in Figure 8, the folding screen device can crop the image 801 to obtain the image 8021a containing the subject 8011 as the wallpaper image of the screen 8021.
[0193] On the other hand, when folding screen device 802 crops the wallpaper image for screen 8022, it can crop an image containing multiple subjects from image 801. For example, as shown in FIG8 , the folding screen device can crop image 801 vertically to obtain image 8022a containing subjects 8011 and 8012 as the wallpaper image for screen 8022.
[0194] S405, interface interaction.
[0195] In an embodiment of the present application, the interface interaction function may refer to a function in which the foldable screen device allows the user to adjust each wallpaper image after cropping the wallpaper images for each screen and previewing the wallpaper images on the adapted screens. The interface interaction function provided by the foldable screen device may include one-click settings for folded and unfolded wallpapers and previews of folded and unfolded wallpapers. The folded state refers to the state of the device when at least one foldable screen of the foldable screen device, such as the inner screen of the foldable screen device, is folded; the unfolded state refers to the state of the device when the inner screen of the foldable screen device is not folded, that is, unfolded.
[0196] In a possible implementation of an embodiment of the present application, a folding screen device may provide a one-touch setting button. When the user clicks the button, the folding screen device may automatically present the cropped wallpaper images on a screen that matches the wallpaper image, and intelligently adjust the wallpaper image to ensure that the main object or the main part of the main object in the image can be completely presented on the screen. On this basis, the user can continue to adjust the wallpaper image presented on the screen. For example, the user can adjust the wallpaper image by dragging, zooming, and other operations. After the user has finished adjusting the wallpaper image, the folding screen device can set the adjusted image as the wallpaper of the corresponding screen.
[0197] As shown in Figure 9, it is a schematic diagram of the interface interaction in a wallpaper setting method provided by an embodiment of the present application. The folding screen device 901 in Figure 9 can be a horizontal folding device, and the external screen of the folding screen device 901 in the folded state is shown as screen 9011 in Figure 9. Figure 9 shows an example in which the folding screen device 901 cuts out the corresponding wallpaper image for the screen 9011 and previews the wallpaper image on the screen 9011. During the interface interaction process, the folding screen device 901 can display an edit button 903 on the screen 9011, and the user can enter the editing state by clicking the button 903.
[0198] In the editing state, the user can adjust the wallpaper image. As shown in Figure 9, the user can adjust the wallpaper image by moving the image position, scaling the image, or deleting the main object in the image.
[0199] In conjunction with the wallpaper setting process shown in Figures 4 to 9, Figure 10 shows a schematic flow chart of a wallpaper setting method for a foldable screen device provided by an embodiment of the present application. According to the process shown in Figure 10, the foldable screen device can set the screen wallpaper for the inner and outer screens in four different situations based on the number of subjects in the image and the folding method of the foldable screen device. The following is a detailed description.
[0200] According to the process shown in Figure 10, the user can select an image as the image to be set as the screen wallpaper. For this image, the folding screen device can perform image enhancement processing on it, improve the image resolution, and expand the resolution of the image edge. Then, the folding screen device can identify the main object in the image. The methods used by the folding screen device to identify the main object may include but are not limited to artificial intelligence large models, texture feature analysis, etc. If there is no clear main object in the image, the folding screen device can cut out the corresponding wallpaper image for the inner screen and outer screen respectively according to the middle cutting method. If there is a clear main object in the image, the folding screen device can identify the characteristics of the main object, and further determine the type and quantity of the main object, the position of each main object in the image and other information.
[0201] As shown in Figure 10, for the case where the image contains only a single subject, the folding screen device can use different cropping models to crop the image according to its own folding method. In one example, if the folding screen device is a horizontal folding device, the folding screen device can crop the image using a vertical cropping method; if the folding screen device is a vertical folding device, the folding screen device can crop the image using a horizontal cropping method. The process of the folding screen device cropping the image to obtain the wallpaper image adapted to each screen can be referred to the introduction of the aforementioned embodiments and will not be repeated here.
[0202] After cropping the wallpaper images, the foldable device can preview the wallpaper for both the inner and outer screens through interactive UI. After the user has adjusted the wallpaper image, the foldable device can set the wallpaper for both the inner and outer screens with a single click.
[0203] Figure 11 is a comparative schematic diagram of wallpaper settings provided in an embodiment of the present application. Figure 11 illustrates examples of cropping images and setting them as inner and outer screen wallpapers for both horizontally folding devices and vertically folding devices, respectively, when the image contains only a single subject. It also provides a comparison of the prior art methods of setting inner and outer screen wallpapers for both horizontally folding devices and vertically folding devices.
[0204] As shown in (a) in FIG11 , an example of the effect of cropping a single main object in an image using the method provided in an embodiment of the present application to obtain the outer screen wallpaper image and inner screen wallpaper image of a horizontally folding device and complete the wallpaper setting is shown, as well as an example of the effect of obtaining the outer screen wallpaper image and inner screen wallpaper image of a vertically folding device and complete the wallpaper setting is shown. Among them, the outer screen and inner screen of the horizontally folding device can be shown as screen 1111a and screen 1112a in (a) of FIG11 , and the outer screen and inner screen of the vertically folding device can be shown as screen 1121a and screen 1122a in (a) of FIG11 . When cropping image 1101 according to the method provided in an embodiment of the present application, the main object in image 1101 can be first identified, and then image 1101 can be cropped according to the position of the main object in the image and the size information of each screen to obtain the corresponding wallpaper image. As can be seen from (a) in Figure 11, whether it is a horizontally folding device or a vertically folding device, in the folded state and the unfolded state, the outer screen wallpaper image and the inner screen wallpaper image both contain the complete main object in the original image 1101. Figure 11 (b) shows an example of using the cropping method in the prior art to crop the image to obtain the inner screen wallpaper image and the outer screen wallpaper image of a horizontally folding device, and an example of obtaining the inner screen wallpaper image and the outer screen wallpaper image of a vertically folding device. Among them, the outer screen and the inner screen of the horizontally folding device can be shown as screen 1111b and screen 1112b in (b) of Figure 11, and the outer screen and the inner screen of the vertically folding device can be shown as screen 1121b and screen 1122b in (b) of Figure 11. The above-mentioned screen 1111a and screen 1111b are the same screen, screen 1112a and screen 1112b are the same screen, screen 1121a and screen 1121b are the same screen, and screen 1122a and screen 1122b are the same screen. When image 1101 is cropped according to the prior art, for screen 1111b, the foldable screen device crops along the middle of image 1101, that is, cropping area 1101b in image 1101 to obtain the corresponding wallpaper image. For screen 1121b, the foldable screen device also crops along the middle of image 1101, that is, cropping area 1101a in image 1101 to obtain the corresponding wallpaper image. As can be seen from (b) in Figure 11, for the same image, the inner screen wallpaper image in the unfolded state contains the complete main object in the original image. However, because the foldable screen device in the prior art uses the middle cropping method to crop the image, the main object in the original image is cropped from the middle, and the resulting outer screen wallpaper image of the horizontal foldable device in the folded state destroys the integrity of the main object, seriously affecting the setting effect of the outer screen wallpaper. On the other hand, for the vertical foldable device, when the same image is cropped, the main object in both the outer screen wallpaper image in the folded state and the inner screen wallpaper image in the unfolded state of the vertical foldable device is destroyed.
[0205] Figure 12 is a comparative diagram of another wallpaper setting effect provided by an embodiment of the present application. Figure 12 illustrates examples of cropping images and setting them as inner and outer screen wallpapers for horizontally folding devices and vertically folding devices, respectively, when the image contains multiple subjects, as well as a comparison of inner and outer screen wallpapers set for horizontally folding devices and vertically folding devices in the prior art.
[0206] As shown in (a) in Figure 12, an example is shown of the effect of cropping multiple main objects in an image using the method provided in an embodiment of the present application to obtain the outer screen wallpaper image and inner screen wallpaper image of a horizontally folding device and a vertically folding screen device, respectively, and completing the wallpaper setting. Among them, the outer screen and inner screen of the horizontally folding device are screen 1211a and screen 1212a in (a) in Figure 12, respectively; the outer screen and inner screen of the vertically folding device are screen 1221a and screen 1222a in (a) in Figure 12, respectively. The image 1201 used in (a) in Figure 12 contains two main objects, namely, main object 1 and main object 2, and main object 1 and main object 2 are arranged side by side horizontally in image 1201. As can be seen from FIG12(a), after cropping image 1201 according to the method provided in an embodiment of the present application and setting the cropped wallpaper image as the wallpaper of the corresponding screen, in the folded state, the outer screen wallpaper image of the horizontally folding device includes the complete image of subject 1 in the original image; in the unfolded state, the inner screen wallpaper image includes the complete images of subject 1 and subject 2 in the original image. On the other hand, in the folded state, the outer screen wallpaper image of the vertically folding device includes the images of the main parts of subject 1 and subject 2 in the original image, that is, the facial parts of subject 1 and subject 2 in image 1201; in the unfolded state, the inner screen wallpaper image includes the complete images of subject 1 and subject 2 in the original image. FIG12(b) shows examples of inner and outer screen wallpaper images for a horizontally folding device, obtained by cropping images using a cropping method in the prior art, and examples of inner and outer screen wallpaper images for a vertically folding device.
[0207] Among them, the outer screen and inner screen of the horizontally folding device can be shown as screen 1211b and screen 1212b in (b) of Figure 12, and the outer screen and inner screen of the vertically folding device can be shown as screen 1221b and screen 1222b in (b) of Figure 12. The above-mentioned screen 1211a and screen 1211b are the same screen, screen 1212a and screen 1212b are the same screen, screen 1221a and screen 1221b are the same screen, and screen 1222a and screen 1222b are the same screen. When cropping image 1201 according to the prior art, for screen 1211b, the folding screen device crops along the middle of image 1201, that is, cropping area 1201b in image 1201 to obtain the corresponding wallpaper image. For screen 1221b, the folding screen device crops along the middle of image 1201 based on the size information of screen 1221b, that is, cropping area 1201a in image 1201 to obtain the corresponding wallpaper image. As can be seen from (b) in Figure 12, for the same image 1201 as shown in (a) in Figure 12, after the wallpaper is cropped and set for the horizontally folding device, the inner screen wallpaper image in the unfolded state contains the complete images of subject 1 and subject 2 in the original image 1201. However, since the folding screen device in the prior art uses the middle cropping method to crop the image, when the wallpaper image is cropped for the outer screen, subject 1 and subject 2, which are arranged horizontally side by side in the original image 1201, are cropped from the middle of the image. The resulting outer screen wallpaper image in the folded state only includes a portion of the images of subject 1 and subject 2. This outer screen wallpaper image destroys the integrity of subject 1 and subject 2 in the original image, seriously affecting the setting effect of the outer screen wallpaper. On the other hand, for a vertically folding device, for the same image 1201 as shown in (a) in FIG12 , the inner screen wallpaper image in the unfolded state and the outer screen wallpaper image in the folded state of the vertically folding device both contain only partial images of subject 1 and subject 2 in the original image. These images are obtained by cropping the original image using a center cropping method. As can be seen from (b) in FIG12 , both the outer screen wallpaper image and the inner screen wallpaper image obtained by cropping using the prior art destroy the integrity of subject 1 and subject 2 in the original image.
[0208] Based on the above embodiments, as shown in FIG13 , a schematic diagram of a wallpaper setting method for a folding screen device provided by an embodiment of the present application is shown. The method may include the following steps S1301-S1303:
[0209] S1301: Identify the main object in the image.
[0210] This method can be applied to a folding screen device, which can be an electronic device with a hardware structure as shown in Figure 1. The folding screen device may include multiple screens, at least one of which is foldable. Exemplarily, the folding screen device may include an inner screen and an outer screen, wherein the inner screen may be foldable. According to the folding direction, the folding screen device can be divided into a horizontal folding device and a vertical folding device. The vertical folding device can be shown as the folding screen device 202 in Figure 2, the outer screen of the vertical folding device in the folded state can be shown as the outer screen 2021 in Figure 2, and the inner screen in the unfolded state can be shown as the inner screen 2022 in Figure 2. The horizontal folding device can be shown as the folding screen device 302 in Figure 3, the outer screen of the horizontal folding device in the folded state can be shown as the outer screen 3021 in Figure 3, and the inner screen in the unfolded state can be shown as the inner screen 3022 in Figure 3.
[0211] In the embodiments of the present application, the image can be used as the wallpaper of each screen of the foldable screen device. The foldable screen device can obtain the wallpaper image of each screen by cropping the image. The image can be an image determined from the images stored in the foldable screen device, an image captured by the user in real time using the foldable screen device, or an image received from other devices through various communication technologies.
[0212] Before setting the wallpaper of each screen, the folding screen device can identify the main object from the image. The number of main objects in the image can be only one or multiple. When the number of main objects in the image is multiple, the multiple main objects can be the same type of main objects or different types of main objects. For example, the image includes two main objects, both of which are people; or, one of the two main objects is a person and the other is an animal or a plant. Multiple main objects can have corresponding priorities respectively. When the types of the main objects in the image are the same, the priorities of the multiple main objects can be the same; when the image includes multiple main objects of different types, the priorities of different types of main objects can be different.
[0213] S1302. Crop the image to obtain multiple wallpaper images that are compatible with each screen based on the position of the main object in the image and the size information of each screen of the folding screen device; wherein the sizes of each screen are different, and any wallpaper image includes the main object.
[0214] After identifying the subject in the image, the foldable screen device can crop the image based on the subject's position in the image, ensuring that each cropped wallpaper image includes the subject in the image. In one example, the cropped wallpaper image including the subject can mean including target features of the subject, such as the complete features of the subject itself or the complete features of a major part of the subject.
[0215] When a folding screen device crops the main object in an image, it can also crop according to the size information of each of its own screens, so that the size of each cropped wallpaper image can be adapted to one screen, that is, each cropped wallpaper image has the same aspect ratio as the adapted screen.
[0216] In a possible implementation of an embodiment of the present application, the folding screen device can determine the image containing the subject in the image based on the position of the subject in the image. Specifically, the folding screen device can determine the center point of the subject based on the position of the subject in the image, and then, based on the determined center point, determine the area in the image containing the complete features of the subject as the image area that needs to be retained. For example, as shown in Figure 5, the area where the subject 5011 in the image 501 is located is area 501a, and this area 501a can be used as the image area that needs to be retained when the folding screen device crops the image 501.
[0217] The foldable screen device can then crop the image according to the size information of each screen to obtain multiple wallpaper images adapted to each screen. For example, the foldable screen device can crop image 501 in Figure 5 according to the size information of each screen to obtain wallpaper images 5011a and 5011b, where wallpaper image 5011a is adapted for screen 5021 of foldable screen device 502, and wallpaper image 5011b is adapted for screen 5022.
[0218] Typically, different types of foldable screen devices have different folding methods. For example, some foldable screen devices fold horizontally, while others fold vertically. Different folding methods may correspond to different cutting directions. Specifically, the cutting direction corresponding to horizontal folding may be vertical cutting, while the cutting direction corresponding to vertical folding may be horizontal cutting.
[0219] Therefore, when cropping an image, the foldable screen device can first determine its own folding method and crop the image according to the cropping direction corresponding to the folding method to obtain multiple wallpaper images. Specifically, if the foldable screen device folds horizontally, a wallpaper image with the same aspect ratio as the compatible screen can be cropped from the image using a vertical cropping method; if the foldable screen device folds vertically, a wallpaper image with the same aspect ratio as the compatible screen can be cropped from the image using a horizontal cropping method.
[0220] In one possible implementation of an embodiment of the present application, the screen of a foldable screen device includes a first screen and a second screen. For example, the first screen may be the outer screen of the foldable screen device, and the second screen may be the inner screen of the foldable screen device. The size of the first screen is generally smaller than that of the second screen. When cropping a wallpaper image for the first screen, it may be impossible to completely crop out the complete features of the subject due to the relatively small size of the first screen. Therefore, the foldable screen device can determine the position of the main part of the subject in the image area, and then crop the image according to the size information of the first screen to obtain a first wallpaper image that includes the main part of the subject and is adapted to the first screen. Generally, the subject may include multiple parts, and different subjects may include different parts, and the priorities of different parts may also be different. When cropping the image to retain the main part of the subject, the main part may be the part with the highest priority. For example, if the subject is a person, then the face part may be the main part of the subject. For example, in Figure 5, the main object 5011 is a person, and the corresponding main object part is the face of the person. The folding screen device image can be cropped to obtain wallpaper image 5011a, which retains the image of the face of the main object 5011.
[0221] In another possible implementation of the embodiment of the present application, the number of subjects in the image may also include multiple subjects. For example, the image includes a first subject and a second subject, and the foldable screen device may include a first screen and a second screen, with the size of the first screen being smaller than the size of the second screen. When cropping the wallpaper image for each screen of the foldable screen device, the foldable screen device may determine the priority of the first subject and the second subject respectively. If the priority of the first subject is higher than the priority of the second subject, the foldable screen device may crop the image to obtain a first wallpaper image adapted for the first screen, and crop the image to obtain a second wallpaper image adapted for the second screen, based on the position of the first subject in the image and the size information of each screen of the foldable screen device. When cropping according to such a cropping scheme, the cropped first wallpaper image may include the first subject with the highest priority among the multiple subjects. For example, in combination with the priorities of the different subjects shown in Figure 4, if the image contains both a person and a plant, since the priority of the person is higher than the priority of the plant, when cropping the wallpaper image for the first screen, the first wallpaper image obtained should include an image of the person. In one example, if the size of the first screen is small, the foldable screen device cannot completely crop the image of multiple subjects when cropping the image according to the size information of the first screen. For example, it cannot crop an image containing both people and plants from the image according to the size information of the first screen. The foldable screen device can only crop the subject of the person with the highest priority, and obtain a first wallpaper image containing the person. If the foldable screen device can completely crop the image containing multiple subjects when cropping the image according to the size information of the first screen, for example, it can crop an image containing both people and plants from the image, the foldable screen device can crop the people and plants to obtain a first wallpaper image containing both people and plants. In this way, no matter which cropping method is used, the obtained first wallpaper image can contain the first subject with the highest priority.
[0222] In the specific implementation process, the folding screen device can determine the first image area containing the first main object based on the position of the first main object in the image, and then crop the image according to the size information of the first screen to obtain a first wallpaper image containing the first image area, so that the cropped first wallpaper image has the same aspect ratio as the first screen.
[0223] In another possible implementation, the folding screen device can determine the proportional deviation between the size of the first screen and the size of the first image area. The proportional deviation can be used to indicate whether the size of the first screen matches the size of the first image area. If the proportional deviation is greater than the preset deviation value, it means that if the image is cropped according to the size of the first screen, the complete features of the first subject may not be included in the cropped first wallpaper image. At this time, the folding screen device can determine the position of the main part of the first subject in the first image area, and crop the first image area according to the size information of the first screen to obtain a first wallpaper image containing the main part of the first subject. That is, the folding screen device crops the first image area and retains only the main features of the subject in the cropped first wallpaper image.
[0224] In another possible implementation of the embodiments of the present application, there may be multiple first subjects, that is, multiple subjects with the highest priority in the image. For example, the image contains multiple images of people. In this case, the foldable screen device may determine a first target subject from the multiple first subjects based on the folding configuration. Then, based on the position of the first target subject in the image, the region in the image containing the target features of the first target subject is determined as the first image region to be retained. The region containing the target features may be the region containing an image that embodies the primary features of the first target subject. The foldable screen device crops the image to obtain a first wallpaper image that contains the target features and is adapted for the first screen. In one example, the foldable screen device folds horizontally and unfolds from right to left when folded. If multiple first subjects in the image are arranged side by side, the foldable screen device may determine the first subject on the right as the first target subject. In this way, the cropped first wallpaper image may contain only the subject on the right or its target features, while the second wallpaper image may contain multiple subjects simultaneously. When a user uses a foldable screen device, during the process of adjusting the foldable screen device from a folded state to an unfolded state, the main object in the wallpaper can be presented with an effect of changing from a single main object in the outer screen wallpaper to multiple main objects in the inner screen wallpaper, thereby enhancing the user experience.
[0225] For the second screen, the foldable screen device can determine the second image area based on the positions of the first and second main objects in the image, so that the second image area includes the first and second main objects. The foldable screen device can then crop the image according to the size information of the second screen to obtain a second wallpaper image that includes the second image area. The second wallpaper image has the same aspect ratio as the second screen.
[0226] S1303: Set each wallpaper image as wallpaper for the corresponding screen.
[0227] After cropping the wallpaper images to match each screen, the foldable screen device can set each wallpaper image as the wallpaper for the corresponding screen. For example, the foldable screen device can set wallpaper image 5011a in Figure 5 as the wallpaper for the corresponding screen 5021, and set wallpaper image 5011b as the wallpaper for the corresponding screen 5022.
[0228] In a possible implementation of an embodiment of the present application, after the folding screen device has cropped the wallpaper images for each screen, it can also preview each wallpaper image on the corresponding screen, so that the user can view the effect of the wallpaper setting and adjust the wallpaper image. The user's adjustment of the wallpaper image can be achieved through interactive instructions on each screen. When the folding screen device receives an interactive instruction for any previewed wallpaper image, it can adjust the previewed wallpaper image according to the interactive instruction. These adjustments may include moving the position of the wallpaper image, scaling the size, deleting characters in the wallpaper image, etc. After the adjustment is completed, the folding screen device can set the adjusted wallpaper images as the wallpaper of the corresponding screen, and complete the setting of wallpapers for multiple screens with one click.
[0229] The embodiment of the present application can obtain multiple wallpaper images by identifying the main object in the image and then cropping the image according to the position of the main object in the image and the size information of each screen of the folding screen device. Since each wallpaper image is obtained by cropping the main object in the image according to the size information of a certain screen, it can not only ensure that the cropped wallpaper image contains the main object in the original image, but also make the size information of each wallpaper image compatible with the size information of the corresponding screen. The embodiment of the present application can solve the problem in the prior art that it is easy to destroy the integrity of the main object in the image by cropping along the middle of the image for screens of any size information, reduce the possibility of large differences in the final effects of the wallpaper image on the inner and outer screens, and improve the aesthetics and uniformity of the screen wallpaper of the folding screen device.
[0230] The embodiment of the present application can divide the functional modules of the folding screen device according to the above method example. For example, each functional module can be divided corresponding to each function, or one or more functions can be integrated into one functional module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0231] Corresponding to the above embodiments, referring to FIG14, a structural block diagram of a wallpaper setting device for a folding screen device provided in an embodiment of the present application is shown. The device can be applied to the folding screen devices in the above embodiments. The device may specifically include the following modules: an identification module 1401, a cropping module 1402, and a setting module 1403, wherein:
[0232] The recognition module 1401 is used to recognize the main object in the image.
[0233] The cropping module 1402 is used to crop the image according to the position of the main object in the image and the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen; wherein the size information of each screen is different, and the main object is included in any wallpaper image.
[0234] The setting module 1403 is used to set each wallpaper image as the wallpaper of the corresponding screen.
[0235] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0236] An embodiment of the present application also provides a folding screen device, which can be the folding screen device in each embodiment. The folding screen device includes a memory, a processor, and a computer program stored in the memory and run on the processor. When the processor executes the computer program, the wallpaper setting method of the folding screen device in the aforementioned embodiments can be implemented.
[0237] An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a folding screen device, the folding screen device executes the above-mentioned related method steps to implement the wallpaper setting method of the folding screen device in the aforementioned embodiments.
[0238] An embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the wallpaper setting method of the folding screen device in the aforementioned embodiments.
[0239] The present application also provides a chip, which may be a processor, or may include a processor. The processor may be a general-purpose processor or a dedicated processor; wherein the processor is configured to support the foldable screen device in executing the aforementioned steps to implement the wallpaper setting method for the foldable screen device in each of the aforementioned embodiments.
[0240] Optionally, the chip also includes a transceiver, which is used to accept the control of the processor and support the folding screen device to execute the above-mentioned related steps to implement the wallpaper setting method of the folding screen device in the aforementioned embodiments.
[0241] Optionally, the chip may further include a storage medium.
[0242] The chip can be implemented using the following circuits or devices: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout this application.
[0243] Finally, it should be noted that the above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be covered by the protection scope of the present application.
Claims
1. A method for setting wallpaper for a folding screen device, characterized in that: include: Identify the subject in the image; According to the position of the subject in the image and the size information of each screen of the folding screen device, the image is cropped to obtain a plurality of wallpaper images adapted to each screen; wherein the size information of each screen is different, and any of the wallpaper images includes the subject; Each of the wallpaper images is set as the wallpaper of the corresponding screen.
2. The method according to claim 1, characterized in that The step of cropping the image to obtain multiple wallpaper images adapted to each screen according to the position of the subject in the image and the size information of each screen of the folding screen device includes: Determining, according to the position of the subject in the image, an image region in the image that contains the subject; The image is cropped according to the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen, and any of the wallpaper images at least includes the main object in the image area.
3. The method according to claim 2, characterized in that The step of cropping the image according to the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen includes: Determine a folding mode of the folding screen device, where the folding mode includes horizontal folding or vertical folding, and any of the folding modes corresponds to a cutting direction; The image is cropped according to the cropping direction corresponding to the folding method to obtain a plurality of wallpaper images, wherein each wallpaper image obtained by cropping has the same aspect ratio as the corresponding screen.
4. The method according to claim 3, characterized in that The step of cutting the image according to the cutting direction corresponding to the folding method to obtain a plurality of wallpaper images includes: If the folding mode of the folding screen device is horizontal folding, a wallpaper image having the same aspect ratio as the adapted screen is cut out from the image in a vertical cutting manner; If the folding mode of the folding screen device is vertical folding, a wallpaper image having the same aspect ratio as the corresponding screen is cut out from the image in a horizontal cutting manner.
5. The method according to any one of claims 1 to 4, characterized in that: The screens of the folding screen device include a first screen whose size information is smaller than a preset value, and the image is cropped according to the position of the subject in the image and the size information of the screens of the folding screen device to obtain multiple wallpaper images adapted to the screens, further comprising: Determine the position of the main part of the main object in the image; The image is cropped according to the size information of the first screen to obtain a first wallpaper image that includes the main part of the main object and is compatible with the first screen.
6. The method according to claim 5, characterized in that The main object includes multiple parts, different parts have different priorities, and the main part has the highest priority.
7. The method according to any one of claims 1 to 6, characterized in that: After identifying the subject in the image, it also includes: Determine the center point of the subject object; Based on the center point, a region in the image containing the target features of the main object is determined as an image region that needs to be retained.
8. The method according to claim 7, characterized in that After determining, based on the center point, a region in the image containing the target feature of the subject as an image region to be retained, the method further includes: Displaying prompt box information for the image area that needs to be retained on any screen of the folding screen device, wherein the prompt box information is used to prompt adjustment of the image area that needs to be retained; When an operation for the prompt box information is received, the size and / or position of the image area to be retained is adjusted according to the operation.
9. The method according to claim 1, characterized in that: The subject object includes a first subject object and a second subject object, the folding screen device includes a first screen and a second screen, the size of the first screen is smaller than the size of the second screen, and the image is cropped according to the position of the subject object in the image and the size information of each screen of the folding screen device to obtain multiple wallpaper images adapted to each screen, including: respectively determining the priorities of the first subject and the second subject; When the priority of the first subject is higher than that of the second subject, the image is cropped to obtain a first wallpaper image adapted to the first screen according to the position of the first subject in the image and the size information of each screen of the folding screen device, and the image is cropped to obtain a second wallpaper image adapted to the second screen; wherein the first wallpaper image includes the first subject.
10. The method according to claim 9, characterized in that The step of cropping the image to obtain a first wallpaper image adapted to the first screen according to the position of the first main object in the image and the size information of each screen of the folding screen device includes: Determining a first image region including the first subject according to a position of the first subject in the image; The image is cropped according to the size information of the first screen to obtain a first wallpaper image including the first image area, wherein the first wallpaper image has the same aspect ratio as the first screen.
11. The method according to claim 10, characterized in that The step of cutting the image according to the size information of the first screen to obtain a first wallpaper image including the first image area includes: Determining a ratio deviation between a size of the first screen and a size of the first image area; If the proportion deviation is greater than a preset deviation value, the position of the main part of the first subject in the first image area is determined; the first image area is cropped according to the size information of the first screen to obtain a first wallpaper image including the main part of the first subject.
12. The method according to claim 10 or 11, characterized in that: The number of the first subject objects includes a plurality, and determining a first image region including the first subject object according to a position of the first subject object in the image includes: Determining a first target main object from a plurality of first main objects according to a folding manner of the folding screen device; According to the position of the first target main object in the image, a region in the image containing target features of the first target main object is determined as a first image region that needs to be retained.
13. The method according to any one of claims 9 to 12, characterized in that: The step of cutting the image to obtain a second wallpaper image adapted to the second screen includes: Determine a second image region according to positions of the first subject and the second subject in the image, wherein the second image region includes the first subject and the second subject; The image is cropped according to the size information of the second screen to obtain a second wallpaper image including the second image area, wherein the second wallpaper image and the second screen have the same aspect ratio.
14. The method according to any one of claims 1 to 13, characterized in that: The step of setting each of the wallpaper images as wallpaper of a corresponding screen comprises: Previewing each of the wallpaper images on a corresponding screen respectively; When receiving an interaction instruction for any of the previewed wallpaper images, adjusting the previewed wallpaper image according to the interaction instruction; The adjusted wallpaper images are set as wallpapers of the corresponding screens.
15. A folding screen device, comprising a plurality of screens, each of which has a different resolution, and further comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the wallpaper setting method for the folding screen device as described in any one of claims 1 to 14 is implemented.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the wallpaper setting method for a folding screen device as described in any one of claims 1 to 14.
Citation Information
Patent Citations
Wallpaper setting method of folding screen equipment and folding screen equipment
CN119946170A
Dual screen-based background setting method and apparatus, and mobile terminal
CN108196779A
Display method and electronic equipment
CN114911551A
Wallpaper setting method and electronic equipment
CN116684516A
Method for determining included angle of folding screen and related device thereof
EP4228230A1