Picture display method, electronic equipment and storage medium

By sending device hardware capability parameters to the server, generating and compressing pictures suitable for the device, the problem of different display effects of different devices is solved, and the picture quality and user experience are improved.

CN119311339APending Publication Date: 2025-01-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310844578.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Different electronic devices have different resolutions and display ratios, resulting in different display effects of the same picture on different devices, affecting the user experience, and need to be scaled or cut to match the size of the image display controls of the device, affecting the quality of the picture.

Method used

By sending hardware capability parameters of electronic devices to the server, the server generates pictures of appropriate quality based on the hardware capabilities, and texture compresses, scales or cuts the pictures to match the control size of the device and improves the image display effect.

Benefits of technology

Improve the quality and user experience of pictures, ensure that pictures are displayed evenly on different devices, save resources and improve browsing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311339A_ABST
    Figure CN119311339A_ABST
Patent Text Reader

Abstract

The invention provides a picture display method, electronic equipment and a storage medium, and the method comprises the steps: obtaining a uniform resource identifier (URI) of a target picture in response to a detected request for opening the target picture; a picture request is generated, the picture request is used for requesting a server to send the target picture, the picture request comprises the URI and picture parameters, the picture parameters comprise the hardware capability of the electronic equipment, and the hardware capability of the electronic equipment is used for determining the type of the target picture; sending the picture request to a server; receiving a target picture sent by the server; and rendering and displaying the target picture. According to the method provided by the invention, the picture display effect is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart terminals, and in particular to a picture display method, an electronic device and a storage medium. Background Art

[0002] With the continuous development of electronic technology, there are more and more types of electronic devices, such as mobile phones, tablets, etc. Different types of electronic devices have different screen sizes, and different screen sizes correspond to different resolutions and display ratios.

[0003] When using electronic devices, users often encounter the need to display pictures. For example, when a user opens a page, pictures and other content can be displayed on the page. However, since different electronic devices have different resolutions and display ratios, the size of the picture display control will also be different, which will cause the same picture to be displayed differently on different electronic devices, resulting in a poor user experience. For example, in order to match the size of the picture and the picture display control of the electronic device, the picture needs to be scaled or cropped, which will affect the display effect of the picture. Summary of the invention

[0004] The present application provides a picture display method, an electronic device and a storage medium, which are helpful to improve the picture display effect and enhance the user experience.

[0005] In a first aspect, the present application provides a method for displaying an image, which is applied to an electronic device, comprising: in response to detecting a request to open a target image, obtaining a uniform resource identifier (URI) of the target image; generating an image request, the image request being used to request a server to send the target image, the image request comprising the URI and image parameters, the image parameters comprising the hardware capabilities of the electronic device, and the hardware capabilities of the electronic device being used to determine the type of the target image; sending the image request to a server; receiving the target image sent by the server; and rendering and displaying the target image.

[0006] In this application, by sending the hardware capabilities of the electronic device to the server, the server generates pictures of different qualities according to the hardware capabilities of the electronic device, and sends the pictures to the electronic device for display, thereby improving the quality of the pictures and enhancing the user experience.

[0007] In one possible implementation manner, the type of the target image includes a high-definition type and a non-high-definition type.

[0008] In one possible implementation manner, the picture parameter also includes a control size, and the control size is used to determine the size of the target picture.

[0009] In one possible implementation, the target image is texture compressed.

[0010] In one possible implementation manner, rendering and displaying the target image includes: decoding the texture-compressed target image; and rendering and displaying the decoded target image.

[0011] In a second aspect, the present application provides a method for displaying an image, which is applied to a server and includes:

[0012] Receive an image request from an electronic device, the image request being used to request the server to send a target image, the image request comprising a uniform resource identifier (URI) and image parameters, the image parameters comprising hardware capabilities of the electronic device, and the hardware capabilities of the electronic device being used to determine the type of the target image; generate the target image based on the image request; and send the target image to the electronic device.

[0013] In one possible implementation manner, the type of the target image includes a high-definition type and a non-high-definition type.

[0014] In one possible implementation manner, the image parameter further includes a control size, and generating the target image based on the image request includes: scaling or cropping the target image based on the control size.

[0015] In one possible implementation manner, sending the target image to the electronic device includes: performing texture compression on the target image; and sending the texture-compressed target image to the electronic device.

[0016] In a third aspect, the present application provides a picture display device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the picture display method as described in the first aspect.

[0017] In a fourth aspect, the present application provides a picture display device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the picture display method as described in the second aspect.

[0018] In a fifth aspect, the present application provides an electronic device, comprising: a processor and a memory, wherein the memory is used to store a computer program; the processor is used to run the computer program to implement the image display method as described in the first aspect.

[0019] In a sixth aspect, the present application provides a server, comprising: a processor and a memory, wherein the memory is used to store a computer program; the processor is used to run the computer program to implement the image display method as described in the second aspect.

[0020] In a seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is executed on a computer, the computer implements the image display method as described in the first aspect or the second aspect.

[0021] In an eighth aspect, the present application provides a computer program, which, when running on a processor of an electronic device, enables the electronic device to execute the image display method as described in the first aspect, or when running on a processor of a server, enables the server to execute the image display method as described in the second aspect.

[0022] In one possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.

[0023] In the ninth aspect, the present application provides a picture display system, comprising the electronic device as described in the fifth aspect and the server as described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a flow chart of an embodiment of a method for displaying images provided in this application;

[0026] Figure 3 A schematic diagram of the structure of an embodiment of the image display device provided in this application;

[0027] Figure 4 A schematic structural diagram of another embodiment of the image display device provided by the present application;

[0028] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the embodiments of the present application, unless otherwise specified, the character " / " indicates that the objects before and after the association are in an or relationship. For example, A / B can represent A or B. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.

[0030] It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.

[0031] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C may represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C may be an element itself, or a set containing one or more elements.

[0032] In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment", etc. are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0033] In the embodiments of the present application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. In the embodiments of the present application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.

[0034] The equal to involved in the embodiments of the present application can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. It should be noted that when equal to is used in conjunction with greater than, it cannot be used in conjunction with less than; when equal to is used in conjunction with less than, it cannot be used in conjunction with greater than.

[0035] With the continuous development of electronic technology, there are more and more types of electronic devices, such as mobile phones, tablets, etc. Different types of electronic devices have different screen sizes, and different screen sizes correspond to different resolutions and display ratios.

[0036] When using electronic devices, users often encounter the need to display pictures. For example, when a user opens a page, pictures and other content can be displayed on the page. However, since different electronic devices have different resolutions and display ratios, the size of the picture display control will also be different, which will cause the same picture to be displayed differently on different electronic devices, resulting in a poor user experience. For example, in order to match the size of the picture and the picture display control of the electronic device, the picture needs to be scaled or cropped, which will affect the display effect of the picture.

[0037] Based on the above problems, an embodiment of the present application proposes a picture display method, which is applied to an electronic device to enhance the user's browsing experience of pictures.

[0038] The electronic device may be a fixed terminal, such as a smart screen, etc. The electronic device may also be a mobile terminal, which may also be referred to as a terminal device, user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The mobile terminal may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set top box (STB), a customer premises equipment (CPE) and / or other devices for communicating on a wireless system and a next generation communication system, for example, a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc. The embodiment of the present application does not specifically limit the type of electronic device.

[0039] Figure 1 First, a schematic structural diagram of the electronic device 100 is shown as an example.

[0040] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0041] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0042] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0043] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0044] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0045] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0046] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0047] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0048] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0049] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0050] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0051] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0052] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0053] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0054] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.

[0055] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0056] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0057] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0058] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0059] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0060] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0061] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0062] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0063] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0064] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0065] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0066] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0067] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0068] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0069] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0070] The external memory interface 120 can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0071] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0072] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0073] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0074] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0075] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0076] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0077] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0078] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0079] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0080] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0081] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0082] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0083] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0084] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0085] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0086] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0087] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0088] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0089] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0090] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0091] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0092] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0093] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support NanoSIM cards, MicroSIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0094] Now combined Figure 2 The picture display method provided in the embodiment of the present application is described.

[0095] like Figure 2 The figure is a flow chart of an embodiment of the image display method provided by the present application, which specifically includes the following steps:

[0096] Step 201: In response to detecting a request to open a target image, the electronic device obtains the URI of the target image.

[0097] Specifically, the user can perform an operation on the electronic device, for example, click on a link of a web page to browse the page, wherein the page may include content such as pictures.

[0098] In response to the user's operation, the electronic device may detect a request to open a picture in the page. Upon detecting a request to open a target picture, the electronic device may obtain a uniform resource identifier (Uniform Resource Identifier) ​​of the target picture.

[0099] It is understandable that the above web browsing is only an exemplary description and does not constitute a limitation on the embodiments of the present application. In some embodiments, pictures can also be opened through other scenarios.

[0100] Step 202: The electronic device generates a picture request, which includes picture parameters and URI.

[0101] Specifically, after the electronic device obtains the URI of the target image, it can generate an image request, where the image request is used to request the image from the server, and the image request includes image parameters and the URI.

[0102] It can be understood that the above-requested pictures can be displayed in the picture display control of the electronic device by rendering. A page can include one or more picture display controls. All controls in a page can form a tree structure. The tree structure of the controls can be traversed level by level through a preset layout algorithm, so as to obtain the size and position of each picture display control in the page.

[0103] Therefore, the size information of the corresponding picture display control may be used as a picture parameter so that the server can process the picture to be displayed according to the size of the picture display control. For example, the processing may include scaling, shearing, and the like.

[0104] It can be understood that the above-mentioned scaling, cutting and other forms are only exemplary descriptions and do not constitute a limitation on the embodiments of the present application. In some embodiments, other processing forms may also be included.

[0105] In addition, different electronic devices have different hardware capabilities, where the hardware capabilities include but are not limited to chip processing capabilities and screen display effects. For example, if the hardware capabilities of an electronic device are strong, high-definition pictures can be displayed on the electronic device with strong hardware capabilities to improve the picture display effect and improve the user's browsing experience, where high-definition pictures need to consume high-definition resources. If the hardware capabilities of an electronic device are weak, non-high-definition pictures can be displayed on the electronic device with weak hardware capabilities to save resources.

[0106] Therefore, the picture parameters may also include the hardware capability of the electronic device, which may be used to characterize whether the electronic device can display high-definition pictures, so that the server can determine whether to use high-definition resources to generate high-definition pictures according to the hardware capability.

[0107] Step 203: The electronic device sends a picture request to the server. Correspondingly, the server receives the picture request sent by the electronic device.

[0108] Step 204: The server generates a corresponding target image according to the image request.

[0109] Specifically, after receiving the image request from the electronic device, the server can generate a corresponding target image according to the image request.

[0110] The server may pre-deploy a picture, which corresponds to a URI. Therefore, when the server receives a picture request, it may find the corresponding picture according to the URI in the picture request.

[0111] The server may read the image parameters in the image request, for example, may read the hardware capability information in the image parameters.

[0112] If the hardware capability information in the image parameters indicates that the hardware capability of the electronic device is strong, a high-definition image corresponding to the URI can be provided. Or,

[0113] If the hardware capability information in the image parameters indicates that the hardware capability of the electronic device is weak, a non-high-definition image corresponding to the URI may be provided.

[0114] Next, the server may read the image parameters in the image request, for example, may read the control size information in the image parameters.

[0115] If the size of the image corresponding to the current URI is different from that of the control, and the size of the image corresponding to the current URI has a certain proportional relationship with the size of the control, the server can scale the image corresponding to the current URI according to the proportional relationship, thereby obtaining the target image. For example, if the size of the image corresponding to the current URI is 100*100 and the size of the control is 200*200, the image corresponding to the current URI can be enlarged by 4 times, that is, from 100*100 to 200*200, so that the size of the target image matches that of the control. Or,

[0116] If the size of the image corresponding to the current URI is different from that of the control, and the size of the image corresponding to the current URI is not proportional to the size of the control, the server can cut the image corresponding to the current URI to obtain the target image. For example, if the size of the image corresponding to the current URI is 200*100 and the size of the control is 100*100, the image corresponding to the current URI can be cut from 200*100 to 100*100 to match the size of the target image and the control. Or,

[0117] If the size of the image corresponding to the current URI is the same as the size of the control, the server does not need to modify the size of the image corresponding to the current URI.

[0118] In some optional embodiments, the server may also perform texture compression on the target image, thereby obtaining a texture-compressed target image.

[0119] Step 205: the server sends the target image to the electronic device. Correspondingly, the electronic device receives the target image sent by the server.

[0120] Specifically, after obtaining the target image, the server can send the target image to the electronic device.

[0121] It is understandable that if the server performs texture compression on the target image, the texture-compressed target image can be sent to the electronic device.

[0122] Step 206: The electronic device renders the target image and displays it.

[0123] Specifically, after receiving the target image, the electronic device may render the target image and display it at the corresponding control position.

[0124] In some optional embodiments, after receiving the target picture, the electronic device may also determine whether the target picture needs to be decoded.

[0125] If the electronic device determines that the target image is texture compressed, the electronic device may decode the texture compressed target image, and may render the coded target image and display it at the corresponding control position.

[0126] Figure 3 This is a schematic diagram of the structure of an embodiment of the image display device of the present application, such as Figure 3 As shown, the above-mentioned picture display device 30 is applied to electronic equipment, and the picture display device 30 may include: an acquisition module 31, a generation module 32, a sending module 33, a receiving module 34 and a display module 35; wherein,

[0127] The acquisition module 31 is used for acquiring the uniform resource identifier (URI) of the target image in response to detecting a request to open the target image;

[0128] A generating module 32, configured to generate a picture request, wherein the picture request is used to request the server to send the target picture, wherein the picture request includes the URL and picture parameters, wherein the picture parameters include the hardware capability of the electronic device, and the hardware capability of the electronic device is used to determine the type of the target picture;

[0129] A sending module 33, used to send the image request to a server;

[0130] A receiving module 34, used for receiving a target image sent by the server;

[0131] The display module 35 is used to render and display the target image.

[0132] In one possible implementation manner, the type of the target image includes a high-definition type and a non-high-definition type.

[0133] In one possible implementation manner, the picture parameter also includes a control size, and the control size is used to determine the size of the target picture.

[0134] In one possible implementation manner, the target image is texture compressed.

[0135] In one possible implementation, the display module 35 is further configured to decode the texture-compressed target image; and render and display the decoded target image.

[0136] Figure 3 The image display device 30 provided in the illustrated embodiment can be used to execute the technical solution of the method embodiment illustrated in the present application, and its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.

[0137] Figure 4 This is a structural diagram of another embodiment of the image display device of the present application, such as Figure 4 As shown, the above-mentioned picture display device 40 is applied to a server, and the picture display device 40 may include: wherein,

[0138] The receiving module 41 is used to receive a picture request from an electronic device, wherein the picture request is used to request the server to send a target picture, wherein the picture request includes a uniform resource identifier (URI) and picture parameters, wherein the picture parameters include the hardware capability of the electronic device, and the hardware capability of the electronic device is used to determine the type of the target picture;

[0139] A generating module 42, configured to generate the target image based on the image request;

[0140] The sending module 43 is used to send the target image to the electronic device.

[0141] In one possible implementation manner, the type of the target image includes a high-definition type and a non-high-definition type.

[0142] In one possible implementation, the image parameter further includes a control size, and the generating module 42 is further configured to scale or crop the target image based on the control size.

[0143] In one possible implementation, the sending module 43 is further configured to perform texture compression on the target image; and send the texture-compressed target image to the electronic device.

[0144] Figure 4 The picture display device 40 provided in the illustrated embodiment can be used to implement the technical solution of the method embodiment shown in this application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.

[0145] It should be understood that the above Figure 3 The picture display device 30 and Figure 4The division of the modules of the picture display device 40 shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.

[0146] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0147] Combine the following Figure 5 The exemplary server provided in the embodiments of the present application is further introduced. Figure 5 A schematic structural diagram of the server 500 is shown.

[0148] The server 500 may include: at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the method provided in the embodiment shown in the present application.

[0149] Figure 5 A block diagram of an exemplary server 500 suitable for implementing the embodiments of the present application is shown. Figure 5 The server 500 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0150] like Figure 5As shown, the server 500 is in the form of a device. The components of the server 500 may include, but are not limited to: one or more processors 510, a memory 520, a communication bus 540 connecting different system components (including the memory 520 and the processor 510), and a communication interface 530.

[0151] The communication bus 540 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0152] The server 500 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the device, including volatile and non-volatile media, removable and non-removable media.

[0153] The memory 520 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Figure 5 Not shown, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 540 via one or more data medium interfaces. The memory 520 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0154] A program / utility having a set (at least one) of program modules may be stored in memory 520, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules typically perform the functions and / or methods of the embodiments described herein.

[0155] The server 500 may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), one or more devices that enable a user to interact with the device, and / or any device that enables the device to communicate with one or more other devices (e.g., network cards, modems, etc.). Such communication may be performed via the communication interface 530. Furthermore, the server 500 may also communicate with the network adapter ( Figure 5 The network adapter can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through the communication bus 540. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the server 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives, and data backup storage systems.

[0156] The processor 510 executes various functional applications and data processing by running the programs stored in the memory 520, such as implementing the method provided in the embodiment of the present application.

[0157] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the server 500. In other embodiments of the present application, the server 500 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0158] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.

[0159] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment shown in the present application.

[0160] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.

[0161] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0162] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0163] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0164] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.

[0165] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for displaying an image, characterized in that: Applied to electronic equipment, the method comprises: In response to detecting a request to open a target image, obtaining a uniform resource identifier URI of the target image; Generate an image request, the image request is used to request the server to send the target image, the image request includes the URI and image parameters, the image parameters include the hardware capabilities of the electronic device, and the hardware capabilities of the electronic device are used to determine the type of the target image; Sending the image request to a server; Receiving a target image sent by the server; The target image is rendered and displayed.

2. The method according to claim 1, characterized in that: The types of the target images include high-definition types and non-high-definition types.

3. The method according to claim 1 or 2, characterized in that: The picture parameters also include a control size, and the control size is used to determine the size of the target picture.

4. The method according to any one of claims 1 to 3, characterized in that: The target image is texture compressed.

5. The method according to claim 4, characterized in that The rendering and displaying of the target image comprises: Decode the texture compressed target image; Render and display the decoded target image.

6. A method for displaying a picture, characterized in that: Applied to a server, the method comprises: Receiving a picture request from an electronic device, the picture request being used to request the server to send a target picture, the picture request including a uniform resource identifier (URI) and picture parameters, the picture parameters including the hardware capability of the electronic device, and the hardware capability of the electronic device being used to determine the type of the target picture; Generate the target image based on the image request; The target image is sent to the electronic device.

7. The method according to claim 6, characterized in that The types of the target images include high-definition types and non-high-definition types.

8. The method according to claim 6 or 7, characterized in that: The picture parameter also includes a control size, and generating the target picture based on the picture request includes: The target image is scaled or cropped based on the size of the control.

9. The method according to any one of claims 6 to 8, characterized in that: The sending the target image to the electronic device comprises: Performing texture compression on the target image; The texture-compressed target image is sent to the electronic device.

10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the image display method according to any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the image display method according to any one of claims 1 to 9 is implemented.