CN114125151B - Image processing method, mobile terminal and storage medium - Google Patents

Image processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN114125151B
CN114125151B CN202111425912.XA CN202111425912A CN114125151B CN 114125151 B CN114125151 B CN 114125151B CN 202111425912 A CN202111425912 A CN 202111425912A CN 114125151 B CN114125151 B CN 114125151B
Authority
CN
China
Prior art keywords
image
width
curved
curved surface
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111425912.XA
Other languages
Chinese (zh)
Other versions
CN114125151A (en
Inventor
蔡彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202111425912.XA priority Critical patent/CN114125151B/en
Publication of CN114125151A publication Critical patent/CN114125151A/en
Application granted granted Critical
Publication of CN114125151B publication Critical patent/CN114125151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application provides an image processing method, a mobile terminal and a storage medium, which are applied to the mobile terminal, wherein the mobile terminal is provided with a display screen, the display screen comprises a curved surface area and a non-curved surface area, and the method comprises the following steps: acquiring at least one of the number of images which are displayed by the image control for one time, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen; determining or generating an image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing; and according to the image width and/or the image quantity, performing image display in the curved surface area and/or the image control in the non-curved surface area, and improving the image display effect.

Description

Image processing method, mobile terminal and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, a mobile terminal, and a storage medium.
Background
The screen of the mobile terminal generally uses a curved display screen in which the mobile terminal can display a plurality of images. For example, when the mobile terminal displays an image in a curved display, the image control of the mobile terminal may display the image in a non-curved region of the curved display.
In the process of designing and implementing the present application, the inventors found that at least the following problems exist: when a plurality of images are displayed, the curved surface areas enable the images to slide (e.g. slide left and right) to have blank margins, so that the image display effect is poor.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides an image processing method, a mobile terminal, and a storage medium, which can improve the display effect of an image in the mobile terminal.
In order to solve the technical problem, the application provides an image processing method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a display screen, the display screen comprises a curved surface area and a non-curved surface area, and the method comprises the following steps: the method comprises the following steps:
s11, acquiring at least one of the number of images which are displayed by the image control for one time, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
s12, determining or generating an image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing;
And S13, displaying images in the curved surface area and/or the image control in the non-curved surface area according to the image width and/or the image quantity.
Optionally, the step S13 includes:
judging whether a first image is included in the images displayed once according to the number of the images to obtain a judging result, wherein the first image is a partially displayed image;
and displaying the image in the curved surface area and/or the image control in the non-curved surface area according to the judging result and the image width.
Optionally, according to the judging result and the image width, performing image display in the image control in the curved surface area and/or the non-curved surface area, including:
when the judging result is that the image displayed once comprises the first image, displaying the first image in the curved surface area and/or the image control in the non-curved surface area according to the image width, and/or displaying a second image in the non-curved surface area, wherein the second image is a completely displayed image; and/or the number of the groups of groups,
and when the judging result is that the first image is not included in the image displayed once, displaying the second image in the non-curved area according to the image width.
Optionally, displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the image width includes:
acquiring a display position of the first image in the curved display screen;
determining or generating the display width of the first image in the curved display screen according to the image width;
and displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width.
Optionally, displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width includes at least one of the following:
if the display position is the leftmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the left side according to the display width;
and if the display position is the rightmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the right side according to the display width.
Optionally, the images to be displayed in the image control are arranged horizontally, and the arrangement sequence of the images to be displayed is from left to right; displaying a second image in the non-curved area, including at least one of:
If the second image is a first image, a first preset area is arranged between the left side of the second image and the left edge of the curved surface display screen, the size of the first preset area is the sum of the image spacing and the screen margin of the curved surface display screen, and the screen margin is the difference value between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved display screen;
if the second image is an intermediate image, a second preset area is arranged on the left side or the right side of the second image, and the size of the second preset area is equal to the image interval.
Optionally, the step S12 includes:
determining or generating a screen margin of the curved display screen according to the screen width and the curved width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image interval.
Optionally, determining or generating the image width according to the screen width, the screen margin, the number of images, and the image pitch includes:
If the image control unit singly displays images without the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity and the image spacing; and/or the number of the groups of groups,
and if the image displayed by the image control for one time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image spacing and the size of the first image display.
Optionally, according to the number of images, judging whether the image displayed once includes the first image, to obtain a judgment result, including:
if the number of the images is 1 or 2, determining or generating that the first image is not included in the images which are displayed for one time as the judging result; and/or the number of the groups of groups,
and if the number of the images is an integer greater than 2, determining or generating that the image displayed at one time is the first image.
The application also provides an image processing device, is applied to mobile terminal, mobile terminal has the display screen, the display screen includes curved surface region and non-curved surface region, image processing device includes acquisition module, determination module and display module, wherein:
The acquisition module is used for acquiring at least one of the number of images which are displayed by the image control in a single mode, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
the determining module is used for determining or generating an image width according to at least one of the screen width, the curved surface width, the image quantity and the image interval;
the display module is used for displaying images in the curved surface area and/or the image control in the non-curved surface area according to the image width and/or the image quantity.
Optionally, the display module is specifically configured to:
judging whether a first image is included in the images displayed once according to the number of the images to obtain a judging result, wherein the first image is a partially displayed image;
and displaying the image in the curved surface area and/or the image control in the non-curved surface area according to the judging result and the image width.
Optionally, the display module is specifically configured to:
when the judging result is that the image displayed once comprises the first image, displaying the first image in the curved surface area and/or the image control in the non-curved surface area according to the image width, and/or displaying a second image in the non-curved surface area, wherein the second image is a completely displayed image; and/or the number of the groups of groups,
And when the judging result is that the first image is not included in the image displayed once, displaying the second image in the non-curved area according to the image width.
Optionally, the display module is specifically configured to:
acquiring a display position of the first image in the curved display screen;
determining or generating the display width of the first image in the curved display screen according to the image width;
and displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width.
Optionally, the display module is specifically configured to:
if the display position is the leftmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the left side according to the display width; and/or the number of the groups of groups,
and if the display position is the rightmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the right side according to the display width.
Optionally, the display module is specifically configured to at least one of:
if the second image is a first image, a first preset area is arranged between the left side of the second image and the left edge of the curved surface display screen, the size of the first preset area is the sum of the image spacing and the screen margin of the curved surface display screen, and the screen margin is the difference value between the screen width and the curved surface width;
If the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved display screen;
if the second image is an intermediate image, a second preset area is arranged on the left side or the right side of the second image, and the size of the second preset area is equal to the image interval.
Optionally, the determining module is specifically configured to:
determining or generating a screen margin of the curved display screen according to the screen width and the curved width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image interval.
Optionally, the determining module is specifically configured to:
if the image control unit singly displays images without the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity and the image spacing; and/or the number of the groups of groups,
and if the image displayed by the image control for one time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image spacing and the size of the first image display.
Optionally, the display module is specifically configured to:
if the number of the images is 1 or 2, determining or generating that the first image is not included in the images which are displayed for one time as the judging result; and/or the number of the groups of groups,
and if the number of the images is an integer greater than 2, determining or generating that the image displayed at one time is the first image.
The application also provides a mobile terminal, comprising: the image processing device comprises a memory and a processor, wherein the memory stores an image processing program, and the image processing program realizes the steps of any one of the methods when being executed by the processor.
The present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the methods described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements an image processing method as described in any one of the above.
As described above, the image processing method, mobile terminal and storage medium of the present application are applied to a mobile terminal, the mobile terminal has a curved display screen, the curved display screen includes a curved area and a non-curved area, and the method includes the steps of: s11, acquiring at least one of the number of images which are displayed by the image control in a single mode, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen, determining or generating the image width according to at least one of the screen width, the curved surface width, the image number and the image spacing, and displaying the images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image number in the step S13. Through the technical scheme, when a plurality of images are displayed in the image control, the mobile terminal can display the images in the image control in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the non-curved surface area when the images slide, the display effect of the sliding images is improved, and the image display effect of the mobile terminal is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic hardware structure of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application;
fig. 3 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 4 is a schematic flow chart of an image processing method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a screen margin according to an embodiment of the present application;
fig. 6 is a flowchart of another image processing method according to an embodiment of the present application;
fig. 7A is a schematic diagram of a mobile terminal displaying an image according to an embodiment of the present application;
fig. 7B is a schematic diagram of another display image of a mobile terminal according to an embodiment of the present application;
FIG. 8A is a schematic diagram of displaying a first image according to an embodiment of the present disclosure;
FIG. 8B is a schematic diagram of displaying a first image according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of displaying a second image according to an embodiment of the present disclosure;
fig. 10 is a schematic process diagram of an image processing method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings. Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the present application may have the same meaning or may have different meanings, a particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or," "and/or," "including at least one of," and the like, as used herein, may be construed as inclusive, or meaning any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, in this document, step numbers such as S11 and S12 are adopted, and the purpose of the present invention is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S12 first and then execute S11 when implementing the present invention, which is within the scope of protection of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present application, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
Mobile terminals may be implemented in a variety of forms. For example, mobile terminals described in the present application may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and stationary terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic hardware structure of a mobile terminal implementing various embodiments of the present application, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division duplex long term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division duplex long term evolution), and fifth generation (5th Generation,5G) mobile communication systems, etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, optionally, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects the touch azimuth of the user, detects a signal brought by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Alternatively, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Alternatively, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and the processor 110 then provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, and alternatively, the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, the application processor optionally handling mainly an operating system, a user interface, an application program, etc., the modem processor handling mainly wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system provided in the embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Alternatively, the UE201 may be the terminal 100 described above, which is not described here again.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. Alternatively, the eNodeB2021 may connect with other enodebs 2022 over a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access for the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. Optionally, MME2031 is a control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g., 5G), etc.
Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are presented.
In some implementations, the mobile terminal may display multiple images in a curved display screen. For example, when the mobile terminal displays an image in a curved display screen, the image control of the mobile terminal may display multiple images in a non-curved area of the curved display screen. However, the curved display screen is not completely planar, and there are small curved areas at the left and right edges of the curved display screen, and when the mobile terminal displays a plurality of images, the curved areas cause blank margins when the images slide, for example, when the mobile terminal slides left and right, the curved areas of the curved display screen are blank areas, so that the edges of the curved display screen have blank areas. This results in poor image display in the mobile terminal.
In order to solve the technical problems described above, the embodiments of the present application provide an image processing method, which is applied to a mobile terminal, where the mobile terminal has a curved display screen, and optionally, the curved display screen includes a curved area and a non-curved area, the mobile terminal may obtain the number of images that are displayed by an image control in a single time, an image margin between adjacent images in the image control, a screen width of the curved display screen, and a curved width of the curved display screen, determine or generate an image width according to the screen width, the curved width, the number of images, and the image spacing, and/or determine whether a first image is included in the images that are displayed in a single time according to the number of images, so as to obtain a determination result, where the first image is a partially displayed image, and when the determination result is that the first image is not included in the images that are displayed in a single time, display an entirely displayed image is displayed in the non-curved area according to the image width; and/or when the judging result is that the image displayed once comprises the first image, displaying the first image in the image control in the curved surface area and the non-curved surface area according to the image width, and/or displaying the completely displayed image in the non-curved surface area. Therefore, when the mobile terminal singly displays a plurality of images, 1 or 2 partially displayed images can be displayed so as to remind a user that other images are included in the image control, so that the user can perform sliding operation to browse more images, and the mobile terminal can perform image display in the image control in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the effect display of the image sliding is improved, and the image display effect of the mobile terminal is further improved.
Next, an application scenario of the embodiment of the present application will be described with reference to fig. 3.
Fig. 3 is a schematic view of an application scenario provided in the embodiment of the present application. Please refer to fig. 3, which includes a mobile terminal. Optionally, the screen of the mobile terminal is a curved display screen. Image a, image B, and image C are displayed in the mobile terminal. Alternatively, image a and image B are fully displayed images, and image C is a partially displayed image. A blank area exists between the left side of the image A and the left edge of the mobile terminal, and the right side of the display part of the image C is connected with the right edge of the mobile terminal. Therefore, when the image is slid, the partially displayed image can be connected with the edge of the mobile terminal, so that blank margins cannot be generated in the curved surface area when the image slides, the image sliding effect display is improved, and the image display effect of the mobile terminal is further improved.
The technical scheme shown in the application is described in detail through specific embodiments. Alternatively, the following embodiments may exist alone or in combination with each other, and for the same or similar contents, the description will not be repeated in different embodiments.
Fig. 4 is a flowchart of an image processing method according to an embodiment of the present application. Referring to fig. 4, the method may include:
S11, acquiring at least one of the number of images which are displayed by the image control in a single mode, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen.
The execution body of the embodiment of the present application may be a mobile terminal, or may be an image processing apparatus provided in the mobile terminal. Alternatively, the image processing apparatus may be implemented by software, or may be implemented by a combination of software and hardware.
The mobile terminal has a display screen. Optionally, the display screen includes a curved region and a non-curved region. For example, the display screen may be a curved display screen, and the middle of the curved display screen is a non-curved area to improve the display effect of the screen, and the left and right edges of the curved display screen are curved areas to facilitate the installation of the screen. For example, the curved surface areas may be located at the left and right edges of the curved display screen, with the curved surface areas having a size of 1 millimeter and the other areas being non-curved surface areas.
The image control is used for displaying an image in the mobile terminal. For example, the image control may be a control in an application program for displaying an image. The number of images displayed at a time is the number of images displayed by the image control in the screen of the mobile terminal. For example, if 2 images are displayed in the screen of the mobile terminal each time, the number of images that the image control displays at a time is 2; if 3 images are displayed in the screen of the mobile terminal each time, the number of images displayed by the image control in a single time is 3. Alternatively, the number of images that the image control displays at a time may be a preconfigured number. For example, if the number of images configured by the user in the mobile terminal is 2 in advance, the image control displays 2 images at a time; if the number of the images configured in the mobile terminal by the user is 3 in advance, the image control displays 3 images at a time.
The image spacing is the distance between adjacent images in the image control. For example, if the distance between two adjacent images in the image control is 1.5 millimeters, then the image pitch is 1.5 millimeters; if the distance between two adjacent images in the image control is 3 mm, the image spacing is 3 mm. Alternatively, the image pitch may be an arbitrary size set in advance. For example, in the practical application process, the image space may be 1.5 mm, so as to improve the display effect during image arrangement.
The screen width of the curved display screen may be a dimension between the left side of the curved display screen and the right side of the curved display screen. For example, if the size between the left and right sides of the curved display screen is 15 cm, the screen width of the curved display screen is 15 cm, and if the size between the left and right sides of the curved display screen is 20 cm, the screen width of the curved display screen is 20 cm. The non-curved width of the curved display screen is the size of the non-curved area in the curved display screen. For example, if the size of the non-curved area in the curved display screen is 15 cm, the non-curved width of the curved display screen is 15 cm. Optionally, the screen width of the curved display screen is the sum of the curved width of the curved area and the width of the non-curved area. For example, if the width of the non-curved surface in the curved display screen is 147 mm and the width of the curved surface area is 3 mm, the screen width of the curved display screen is 150 mm. Optionally, the screen width and the curved surface width of the curved surface display screen are intrinsic parameters of the curved surface display screen, and after the curved surface display screen is installed on the mobile terminal, the mobile terminal can obtain the screen width and the curved surface width of the curved surface display screen.
S12, determining or generating the image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing.
The image width is the width of the displayed image in the image control. For example, if the image width is 15 millimeters, the width of each image displayed in the image control is 15 millimeters; if the image width is 20 mm, the width of each image displayed in the image control is 20 mm.
The image width may be determined or generated according to the following possible implementations: and determining or generating the screen margin of the curved display screen according to the screen width and the curved width. Optionally, the screen margin is the difference between the screen width and the curved surface width. For example, if the screen width of the curved display screen is 150 mm and the curved width of the non-curved area is 147 mm, the screen margin is 3 mm.
The screen width, the curved surface width and the screen margin will be described in detail with reference to fig. 5
Fig. 5 is a schematic diagram of a screen margin according to an embodiment of the present application. Please refer to fig. 5, which includes a mobile terminal. Optionally, the mobile terminal comprises a curved display screen. The dimension between the left edge and the right edge of the curved display screen is the screen width of the curved display screen. The area A is a non-curved area of the curved display screen. The distance between the left edge of the curved display screen and the left side of the area a, and/or the distance between the right edge of the curved display screen and the right side of the area a is the screen margin (the size of the curved area).
The image width is determined or generated based on at least one of the screen width, the screen margin, the number of images, and the image spacing. Alternatively, the image width is determined or generated in two cases:
case 1: the image control unit displays an image in a single time without the first image.
The first image is a partially displayed image. For example, if a portion of an image is displayed in an image control, the image is the first image. If the first image is not included in the images displayed in the image control once, determining or generating the image width according to the screen width, the screen margin, the image quantity and the image spacing. For example, if the images displayed in the image control in a single time are all complete images, the mobile terminal may determine or generate the image width according to the screen width, the screen margin, the number of images and the image spacing. Alternatively, in this case, the image width may be determined or generated according to the following formula
Figure BDA0003378440020000111
Wherein X is the image width; a is the screen width of the curved display screen; b is the number of image pitches; c is the image spacing between adjacent images in the image control; d is the screen margin; y is the number of images of the complete image that the image control displays at a single time. For example, if the screen width is 150 mm, the image pitch is 5 mm, the number of images is 2 (the number of image pitches is 3), and the screen margin is 3, the picture width is 66 mm.
Case 2: the image control single-time displayed image comprises a first image.
If the image control comprises a first image in the images displayed at a time, determining or generating the image width according to the screen width, the screen margin, the number of images and the image spacing, and the size of the first image display. Alternatively, the size of the first image display may be the size of the first image display in the screen. For example, the first image is an image partially displayed in the screen, and thus, the size of the first image displayed in the screen may be the proportion of the partial image in the first image. For example, the first image may be displayed in a size of one fifth, one sixth, or the like in the screen. Alternatively, in this case, the image width may be determined or generated according to the following formula:
Figure BDA0003378440020000121
wherein X is the image width; a is the screen width of the curved display screen; b is the number of image pitches; c is the image spacing between adjacent images in the image control; d is the screen margin; y is the number of images of the complete image which is displayed by the image control for one time; e is the inverse of the size of the first image displayed in the screen (E is 6 if the first image displays one sixth). For example, if the screen width is 150 mm, the image pitch is 5 mm, the number of images is 3 (the number of image pitches is 3), the screen margin is 3, and the first image is displayed in the screen in a size of one sixth, the picture width is about 30 mm.
And S13, displaying the images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image quantity.
The image display may be performed in image controls in curved and/or non-curved areas according to the following possible implementations: and judging whether the image displayed at one time comprises the first image or not according to the number of the images, and obtaining a judging result. Optionally, the first image is a partially displayed image. The judging result is used for indicating whether the image displayed by the image control for one time comprises a part of the displayed image or not. For example, the determination result may be that the image control single-displayed image includes a partially displayed image, or the determination result may be that the image control single-displayed image does not include a partially displayed image.
Alternatively, the determination result may be obtained according to the following possible implementation manner: if the number of the images is 1 or 2, determining that the image displayed at one time does not include the first image. For example, if the number of images displayed by the image control in a single way is 2, the image control may completely display 2 images, and the judgment result is that the images displayed by the image control in a single way do not include the images displayed in part. If the number of the images is an integer greater than 2, determining that the image displayed in a single time includes the first image. For example, if the number of images displayed by the image control in a single way is 3, the image control may completely display 2 images, partially display 1 image, and the judgment result is that the images displayed by the image control in a single way include the images partially displayed.
And displaying the image in the image control in the curved surface area and/or the non-curved surface area according to the judging result and the image width. For example, if the image displayed once includes the first image, the first image may be displayed in the curved area and the non-curved area according to the image width, so that a part of the displayed image may be displayed in the curved area, thereby improving the display effect of the image.
Optionally, when the screen of the mobile terminal is a curved display screen, if the display content in the curved display screen does not include an image, displaying the corresponding content in the non-curved area. For example, when the screen of the mobile terminal is a curved display screen, the mobile terminal can divide the controls into an image control and a non-image control through grouping the controls, and the content displayed by the non-image control can be displayed in a non-curved area by using the display method provided by the application in the image control.
The embodiment of the application provides an image processing method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a curved surface display screen, the curved surface display screen comprises a curved surface area and a non-curved surface area, the mobile terminal acquires the number of images which are displayed by an image control in a single mode, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen, determines the screen margin of the curved surface display screen according to the screen width and the curved surface width, determines or generates the image width according to the screen width, the screen margin, the image number and the image spacing, and displays images in the curved surface area and the non-curved surface area according to the image width and the image number. According to the method, when the mobile terminal displays a plurality of images at a time, 1 or 2 images displayed in part can be displayed so as to remind a user that other images are included in the image control, so that the user can conduct sliding operation to browse more images, and the mobile terminal can conduct image display in the image control in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the effect display of the image sliding is improved, and the image display effect of the mobile terminal is further improved.
The image processing method described above is described in detail below with reference to fig. 6 on the basis of the embodiment shown in fig. 4.
Fig. 6 is a flowchart of another image processing method according to an embodiment of the present application. Referring to fig. 6, the method includes:
s21, acquiring at least one of the number of images which are displayed by the image control in a single mode, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen.
It should be noted that, the execution process of the step S21 may refer to the step S11, which is not described in detail in the embodiment of the present application.
S22, determining or generating the image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing.
It should be noted that, the execution process of the step S22 may refer to the step S12, which is not described in detail in the embodiment of the present application.
S23, judging whether the single-displayed image comprises the first image or not according to the number of the images, and obtaining a judging result.
Alternatively, if the number of images is 1 or 2, it may be determined or generated that the first image is not included in the image displayed once, and if the number of images is an integer greater than 2, it may be determined or generated that the first image is included in the image displayed once.
Next, with reference to fig. 7A to 7B, an image displayed by the mobile terminal will be described in detail.
Fig. 7A is a schematic diagram of a mobile terminal displaying an image according to an embodiment of the present application. In the embodiment shown in fig. 7A, the mobile terminal displays 2 images, please refer to fig. 7A, including the mobile terminal. Alternatively, the mobile terminal includes a curved display screen, where the curved display screen displays the image a and the image B, and since 2 images are displayed in the curved display screen, the curved display screen may completely display the image a and the image B.
Fig. 7B is a schematic diagram of another mobile terminal display image according to an embodiment of the present application. In the embodiment shown in fig. 7B, the mobile terminal displays 3 images, please refer to fig. 7B, including the mobile terminal. Optionally, the mobile terminal includes a curved display screen, where the image a, the image B, and the image C may be displayed in a single time. Since the curved display screen includes 3 images, the image display screen can completely display the image a and the image B, and the curved display screen displays a part of the image C. Thus, the mobile terminal can display part of the image C to prompt the user that the image is not browsed, and further improve the display effect of the image.
And S24, displaying the image in the image control in the curved surface area and/or the non-curved surface area according to the judging result and the image width.
Optionally, according to the judging result and the image width, performing image display in the image control in the curved surface area and/or the non-curved surface area, where the following two situations exist:
case 1: the image displayed in a single time is judged to comprise the first image.
And when the judging result is that the image displayed once comprises the first image, displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the image width, and/or displaying the second image in the non-curved surface area. Optionally, the second image is a fully displayed image. Optionally, the image size may be determined according to the image width, and further, the first image may be displayed in the image control in the curved area and the non-curved area, and/or the second image may be displayed in the non-curved area according to the image size. For example, the height of the image may be determined according to the image width and a preset aspect ratio, and thus the image size may be obtained. For example, if the width of the image is 3 cm, the preset aspect ratio is 3:4, the height of the image is 4 cm.
Optionally, the first image may be displayed in an image control in a curved area and/or a non-curved area, and/or the second image may be displayed in a non-curved area, according to the following possible implementation: and acquiring the display position of the first image in the curved display screen. Alternatively, the display position of the first image in the curved display screen may be a left edge of the curved display screen or a right edge of the curved display screen. And determining or generating the display width of the first image in the curved display screen according to the image width. For example, if the image width is 3 cm, the first image is displayed in the curved display screen by one third, and the display width of the first image in the curved display screen is 1 cm.
And displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width. Optionally, if the display position is the leftmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the left side according to the display width. For example, if the display position of the first image is the left edge of the curved display screen, the first image is displayed in the curved area and the non-curved area on the left side of the curved display screen, so that the left edge of the curved display screen does not generate a blank area. If the display position is the rightmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the right side according to the display width, and further improving the image display effect. For example, if the display position of the first image is the right edge of the curved display screen, the first image is displayed in the curved area and the non-curved area on the right side of the curved display screen, so that a blank area is not generated on the right edge of the curved display screen, and further, the image display effect is improved.
Next, a schematic diagram of the mobile terminal displaying the first image will be described in detail with reference to fig. 8A to 8B.
Fig. 8A is a schematic diagram of displaying a first image according to an embodiment of the present application. In the embodiment shown in fig. 8A, the first image displayed by the mobile terminal is the leftmost side of the curved display screen, please refer to fig. 8A, which includes the mobile terminal. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. Since the first image is located at the leftmost side of the curved display screen, the display position of the first image in the mobile terminal is a left curved area and a non-curved area of the curved display screen.
Fig. 8B is a schematic diagram of displaying a first image according to an embodiment of the present application. In the embodiment shown in fig. 8B, the first image displayed by the mobile terminal is the rightmost side of the curved display screen, please refer to fig. 8B, which includes the mobile terminal. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. Since the first image is located at the rightmost side of the curved display screen, the display position of the first image in the mobile terminal is a right curved area and a non-curved area of the curved display screen.
Optionally, if the images to be displayed in the image control are arranged horizontally, the arrangement order of the images to be displayed is from left to right, and the second image may be displayed in the non-curved area according to the following possible implementation manner: if the second image is the first image, a first preset area is arranged between the left side of the second image and the left edge of the curved display screen. Optionally, the first preset area may be a blank area or an area with the same color as the background color of the screen, where the size of the first preset area is the sum of the image space and the screen margin of the curved display screen, and the screen margin is the difference between the screen width and the curved width. For example, if the screen margin is 1 mm and the image interval is 1 mm, the size of the first preset area is 2 mm. For example, if the second image is the first image, the second image is the leftmost image of the images to be displayed, and the display effect of the first image can be improved by setting the first preset area on the left side of the first image.
And if the second image is the last image, setting a first preset area between the right side of the second image and the right edge of the curved display screen. For example, if the second image is the last image, the second image is the rightmost image of the images to be displayed, and the display effect of the last image can be improved by setting the first preset area on the right side of the last image.
If the second image is an intermediate image, a second preset area is set on the left side or the right side of the second image. Alternatively, the second preset area may be a blank area or an area with the same color as the background color of the screen, and the size of the second preset area is equal to the image space. For example, if the second image is not the first image and the last image, a second preset area may be set on the left side or the right side of the second image, so as to separate each second image, thereby improving the image display effect.
Next, a second image displayed by the mobile terminal will be described with reference to fig. 9,
fig. 9 is a schematic diagram of displaying a second image according to an embodiment of the present application. Referring to fig. 9, a mobile terminal is included. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. The curved display screen comprises a second image A and a second image B. The second image A is a first second image displayed by the image control, and the second image B is a second image displayed by the image control. The first preset area (left curved surface area and image space) is arranged between the second image A and the left edge of the curved surface display screen, and the first preset area (right curved surface area and image space) is arranged between the second image B and the right edge of the curved surface display screen, so that the display effect of the image can be improved.
Case 2: the judgment result is that the image displayed once does not comprise the first image.
And when the judging result is that the image displayed once does not comprise the first image, displaying a second image in the non-curved surface area according to the image width. For example, when the judgment result is that the image displayed once does not include the first image, it is explained that the images displayed once in the image control are all the second images (complete images), and therefore, the complete images can be displayed in the non-curved area of the curved display screen. Optionally, the complete image is displayed in the non-curved area of the curved display screen, and reference may be made to the method for displaying the second image in case 1, which is not described in detail in this embodiment of the present application.
The embodiment of the application provides an image processing method, which is used for acquiring the number of images which are displayed by an image control for one time, the image spacing between adjacent images in the image control, the screen width of a curved surface display screen and the curved surface width of the curved surface display screen, determining or generating the image width according to the screen width, the curved surface width, the number of images and the image spacing, judging whether the images which are displayed by one time comprise a first image according to the number of images, obtaining a judging result, and displaying the images in the image control in a curved surface area and/or a non-curved surface area according to the judging result and/or the image width. Therefore, when the mobile terminal singly displays a plurality of images, 1 or 2 partially displayed images can be displayed so as to remind a user that other images are included in the image control, so that the user can perform sliding operation to browse more images, and the mobile terminal can perform image display in the image control in the curved surface area and/or the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the effect display of the image sliding is improved, and the image display effect of the mobile terminal is further improved.
With reference to fig. 10, the procedure of the image processing method will be described below on the basis of any of the above embodiments.
Fig. 10 is a schematic process diagram of an image processing method according to an embodiment of the present application. Referring to fig. 10, a mobile terminal is included. Optionally, the curved surface display screen of the mobile terminal includes a curved surface area and a non-curved surface area. The image control of the mobile terminal displays 3 images in a curved display screen at a time. For example, the image control displays image a, image B, and image C in a curved display screen, optionally with image a and image B being second images and image C being the first images. The image A is a first image, a first blank area (a left curved surface area and an image interval) is arranged between the image A and the left side of the curved surface display screen, an image interval is arranged between the image A and the image B, an image interval is arranged between the image B and the image C, and the image C is arranged in a non-curved surface area and a right curved surface area.
Referring to fig. 10, as the user slides the curved display screen to the left, the image a, the image B, and the image C move to the left. Alternatively, image a is transformed from the second image to the first image. The image A and the image C display partial images in the mobile terminal, optionally, the image A is connected with the left edge of the curved display screen, the image C is connected with the edge of the curved display screen, the image B is arranged between the image A and the image C, and a second blank area (image space) is arranged between the image B and the image A and the image C respectively.
Referring to fig. 10, when the user continues to slide leftwards, the image C is changed from the first image to the second image, and the image C is the last second image, so that a blank area is set between the right side of the image C and the right edge of the curved display screen. The image A is a first image, and the left side of the display part of the image A is connected with the left edge of the curved surface display screen. Therefore, when the mobile terminal singly displays a plurality of images, 1 or 2 partially displayed images can be displayed so as to remind a user that other images are included in the image control, so that the user can perform sliding operation to browse more images, and the mobile terminal can perform image display in the image control in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the effect display of the image sliding is improved, and the image display effect of the mobile terminal is further improved.
Fig. 11 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application. The image processing apparatus 10 may be provided in a mobile terminal, please refer to fig. 11, the image processing apparatus 10 includes an acquisition module 11, a determination module 12, and a display module 13, wherein:
The acquiring module 11 is configured to acquire at least one of a number of images that are displayed by an image control in a single time, an image interval between adjacent images in the image control, a screen width of the curved display screen, and a curved width of the curved display screen;
the determining module 12 is configured to determine or generate an image width according to at least one of the screen width, the curved surface width, the number of images, and the image pitch;
the display module 13 is configured to display an image in the curved area and/or the non-curved area according to the image width and/or the image number.
Optionally, the display module 13 is specifically configured to:
judging whether a first image is included in the images displayed once according to the number of the images to obtain a judging result, wherein the first image is a partially displayed image;
and displaying the image in the curved surface area and/or the image control in the non-curved surface area according to the judging result and the image width.
Optionally, the display module 13 is specifically configured to:
when the judging result is that the image displayed once comprises the first image, displaying the first image in the curved surface area and/or the image control in the non-curved surface area according to the image width, and/or displaying a second image in the non-curved surface area, wherein the second image is a completely displayed image; and/or when the judging result is that the first image is not included in the image displayed once, displaying the second image in the non-curved area according to the image width.
Optionally, the display module 13 is specifically configured to:
acquiring a display position of the first image in the curved display screen;
determining or generating the display width of the first image in the curved display screen according to the image width;
and displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width.
Optionally, the display module 13 is specifically configured to:
if the display position is the leftmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the left side according to the display width; and/or the number of the groups of groups,
and if the display position is the rightmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the right side according to the display width.
Optionally, the display module 13 is specifically configured to at least one of the following:
if the second image is a first image, a first preset area is arranged between the left side of the second image and the left edge of the curved surface display screen, the size of the first preset area is the sum of the image spacing and the screen margin of the curved surface display screen, and the screen margin is the difference value between the screen width and the curved surface width;
If the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved display screen;
if the second image is an intermediate image, a second preset area is arranged on the left side or the right side of the second image, and the size of the second preset area is equal to the image interval.
Optionally, the determining module 12 is specifically configured to:
determining or generating a screen margin of the curved display screen according to the screen width and the curved width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image interval.
Optionally, the determining module 12 is specifically configured to:
if the image control unit singly displays images without the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity and the image spacing; and/or the number of the groups of groups,
and if the image displayed by the image control for one time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image spacing and the size of the first image display.
Optionally, the display module 13 is specifically configured to:
if the number of the images is 1 or 2, determining or generating that the first image is not included in the images which are displayed for one time as the judging result; and/or the number of the groups of groups,
and if the number of the images is an integer greater than 2, determining or generating that the image displayed at one time is the first image.
The image processing device provided in this embodiment may be used to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
The embodiment of the application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory stores an image processing program, and the image processing program is executed by the processor to realize the steps of the image processing method in any embodiment.
The embodiment of the present application further provides a computer readable storage medium, on which an image processing program is stored, which when executed by a processor, implements the steps of the image processing method in any of the above embodiments.
Embodiments of the mobile terminal and the computer readable storage medium provided in the present application may include all technical features of any one of the embodiments of the image processing method, and the expansion and explanation contents of the description are substantially the same as those of each embodiment of the method, which are not described herein.
The present embodiments also provide a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the method in the various possible implementations as above.
The embodiments also provide a chip including a memory for storing a computer program and a processor for calling and running the computer program from the memory, so that a device on which the chip is mounted performs the method in the above possible embodiments.
It can be understood that the above scenario is merely an example, and does not constitute a limitation on the application scenario of the technical solution provided in the embodiments of the present application, and the technical solution of the present application may also be applied to other scenarios. For example, as one of ordinary skill in the art can know, with the evolution of the system architecture and the appearance of new service scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and pruned according to actual needs.
In this application, the same or similar term concept, technical solution, and/or application scenario description will generally be described in detail only when first appearing, and when repeated later, for brevity, will not generally be repeated, and when understanding the content of the technical solution of the present application, etc., reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution, and/or application scenario description, etc., which are not described in detail later.
In this application, the descriptions of the embodiments are focused on, and the details or descriptions of one embodiment may be found in the related descriptions of other embodiments.
The technical features of the technical solutions of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, including several instructions for causing a mobile terminal (which may be a handset, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, storage disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)), among others.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (8)

1. An image processing method, characterized in that it is applied to a mobile terminal having a display screen including a curved surface area and a non-curved surface area, the method comprising the steps of:
s11, acquiring at least one of the number of images which are displayed by the image control for one time, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
s12, determining or generating an image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing;
s13, displaying images in the curved surface area and/or the image control in the non-curved surface area according to the image width and/or the image quantity;
the step S13 includes:
judging whether a first image is included in the images displayed once according to the number of the images to obtain a judging result, wherein the first image is a partially displayed image;
According to the judging result and the image width, performing image display in the curved surface area and/or the image control in the non-curved surface area;
and displaying the image in the curved surface area and/or the image control in the non-curved surface area according to the judging result and the image width, wherein the method comprises the following steps:
when the judging result is that the image displayed once comprises the first image, displaying the first image in the curved surface area and/or the image control in the non-curved surface area according to the image width, and/or displaying a second image in the non-curved surface area, wherein the second image is a completely displayed image; and/or the number of the groups of groups,
and when the judging result is that the first image is not included in the image displayed once, displaying the second image in the non-curved area according to the image width.
2. The method of claim 1, wherein displaying the first image in an image control in the curved region and/or the non-curved region according to the image width comprises:
acquiring a display position of the first image in the curved display screen;
Determining or generating the display width of the first image in the curved display screen according to the image width;
and displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width.
3. The method of claim 2, wherein displaying the first image in an image control in the curved area and/or the non-curved area according to the display position and/or the display width comprises:
if the display position is the leftmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the left side according to the display width; and/or the number of the groups of groups,
and if the display position is the rightmost side of the curved display screen, displaying the first image in the non-curved area and the curved area on the right side according to the display width.
4. A method according to any one of claims 1 to 3, wherein the images to be displayed in the image control are arranged horizontally, and the arrangement order of the images to be displayed is from left to right; displaying a second image in the non-curved area, including at least one of:
If the second image is a first image, a first preset area is arranged between the left side of the second image and the left edge of the curved surface display screen, the size of the first preset area is the sum of the image spacing and the screen margin of the curved surface display screen, and the screen margin is the difference value between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved display screen;
if the second image is an intermediate image, a second preset area is arranged on the left side or the right side of the second image, and the size of the second preset area is equal to the image interval.
5. A method according to any one of claims 1 to 3, characterized in that said step S12 comprises:
determining or generating a screen margin of the curved display screen according to the screen width and the curved width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image interval.
6. The method of claim 5, wherein determining or generating the image width based on the screen width, the screen margin, the number of images, and the image spacing comprises:
If the image control unit singly displays images without the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity and the image spacing; and/or the number of the groups of groups,
and if the image displayed by the image control for one time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image spacing and the size of the first image display.
7. A mobile terminal, the mobile terminal comprising: a memory, a processor, wherein the memory has stored thereon an image processing program which, when executed by the processor, implements the image processing method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the image processing method according to any one of claims 1 to 6.
CN202111425912.XA 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium Active CN114125151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425912.XA CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425912.XA CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114125151A CN114125151A (en) 2022-03-01
CN114125151B true CN114125151B (en) 2023-05-16

Family

ID=80370744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425912.XA Active CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114125151B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN109766038A (en) * 2018-12-28 2019-05-17 努比亚技术有限公司 A kind of display methods and device, Intelligent bracelet and computer readable storage medium
WO2021117954A1 (en) * 2019-12-13 2021-06-17 엘지전자 주식회사 Display device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5069454B2 (en) * 2006-11-29 2012-11-07 京セラディスプレイ株式会社 Image data generation device for curved display panel
KR102226166B1 (en) * 2014-02-05 2021-03-10 삼성전자 주식회사 Method and apparatus for controlling display of flexible display in a electronic device
JP6651764B2 (en) * 2015-09-24 2020-02-19 カシオ計算機株式会社 Information processing apparatus, information processing method and program
CN106648035A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Image resolution adjusting method and mobile terminal
CN111290663A (en) * 2020-02-10 2020-06-16 北京小米移动软件有限公司 Curved screen display method and device, terminal and storage medium
CN111736749A (en) * 2020-06-15 2020-10-02 Oppo广东移动通信有限公司 Multimedia data play control method and device, mobile terminal and storage medium
CN112686805A (en) * 2020-12-31 2021-04-20 联想(北京)有限公司 Image display method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN109766038A (en) * 2018-12-28 2019-05-17 努比亚技术有限公司 A kind of display methods and device, Intelligent bracelet and computer readable storage medium
WO2021117954A1 (en) * 2019-12-13 2021-06-17 엘지전자 주식회사 Display device

Also Published As

Publication number Publication date
CN114125151A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN108280136B (en) Multimedia object preview method, equipment and computer readable storage medium
CN110020386B (en) Application page sharing method, mobile terminal and computer readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN109445945B (en) Memory allocation method of application program, mobile terminal, server and storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN110083423B (en) Interface jump method, terminal and computer readable storage medium
CN109948368B (en) Privacy authority control method, device and computer readable storage medium
CN113325981B (en) Processing method, mobile terminal and storage medium
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN113900559A (en) Information processing method, mobile terminal and storage medium
CN109710149B (en) Interactive display method, equipment and computer readable storage medium
CN109144747B (en) Data processing method, terminal and computer readable storage medium
CN108965514B (en) Display screen FPC structure of double screen terminal and mobile terminal thereof
CN107818159B (en) Information processing method, terminal and computer readable storage medium
CN108335301B (en) Photographing method and mobile terminal
CN113852717B (en) Wallpaper module position migration method, equipment and computer readable storage medium
CN110110138B (en) Preservation method, mobile terminal and computer readable storage medium
CN112887477B (en) Voice processing method, device, mobile terminal and computer readable storage medium
CN107479747B (en) Touch display method and device and computer storage medium
CN109976862B (en) Method, device, terminal and storage medium for realizing multiple preference fragment lists
CN109740374B (en) Hiding method, mobile terminal and computer readable storage medium
CN109782947B (en) Flexible screen display control method and device and computer readable storage medium
CN109542792B (en) Bitmap processing method, bitmap processing equipment and computer readable storage medium
CN117572976A (en) Control method, control device, and storage medium

Legal Events

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