Image display method and device, electronic equipment and readable storage medium

By storing lightweight images in electronic devices and utilizing external devices to collaboratively display high-resolution images, the problem of insufficient storage space in electronic devices is solved, achieving efficient image display and storage space saving.

CN122340319APending Publication Date: 2026-07-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2026-04-28
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

The excessive amount of file data stored in electronic devices occupies too much local storage space, leading to rising memory prices and creating an urgent need for solutions to save storage space.

Method used

By storing lightweight images in a first device and storing high-resolution images in a second device, the first device sends image request information to the second device after receiving user input, and obtains and displays high-resolution image data, thereby achieving device-coordinated image display.

Benefits of technology

It reduces the amount of image data originally stored in electronic devices, saving local storage space, and improves image display efficiency by controlling the amount of data loaded for high-resolution images through input parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122340319A_ABST
    Figure CN122340319A_ABST
Patent Text Reader

Abstract

This application discloses an image display method, apparatus, electronic device, and readable storage medium, belonging to the field of image display technology. The image display method is executed by a first device storing a lightweight image. The image display method includes: receiving a first input to the lightweight image, the first input indicating the display of a high-resolution image corresponding to the lightweight image; sending image request information to a second device, the image request information requesting the second device to obtain the high-resolution image corresponding to the lightweight image, the image request information including image display parameters of the high-resolution image, the image display parameters being related to the input parameters of the first input; receiving image data fed back by the second device, the image data corresponding to the image display parameters; and displaying the image corresponding to the image data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of image display technology, specifically relating to an image display method and apparatus, electronic device and readable storage medium. Background Technology

[0002] Currently, memory prices have risen sharply in the market, making saving local storage space in electronic devices an important development direction.

[0003] With the widespread use of electronic devices, the types and quantities of files stored in these devices are increasing, such as videos, pictures, and documents. The proportion of file data in the local storage space of electronic devices is growing day by day.

[0004] Therefore, there is an urgent need for a memory-saving solution to reduce the amount of local storage space occupied by files on electronic devices. Summary of the Invention

[0005] The purpose of this application is to provide an image display method and apparatus, an electronic device, and a readable storage medium that can reduce the local storage space occupied by files on the electronic device, thereby saving local storage space of the electronic device.

[0006] In a first aspect, embodiments of this application provide an image display method executed by a first device, the first device storing a lightweight image. The image display method includes: receiving a first input to the lightweight image, the first input indicating the display of a high-resolution image corresponding to the lightweight image; sending image request information to a second device, the image request information requesting the second device to obtain the high-resolution image corresponding to the lightweight image, the image request information including image display parameters of the high-resolution image, the image display parameters being related to the input parameters of the first input; receiving image data fed back by the second device, the image data corresponding to the image display parameters; and displaying the image corresponding to the image data.

[0007] Secondly, embodiments of this application provide an image display device applied to a first device, the first device storing lightweight images. The image display device includes: a receiving unit for receiving a first input to the lightweight image, the first input indicating the display of a high-resolution image corresponding to the lightweight image; a communication unit for sending image request information to a second device, the image request information requesting the second device to obtain the high-resolution image corresponding to the lightweight image, the image request information including image display parameters of the high-resolution image, the image display parameters being related to the input parameters of the first input; the communication unit further for receiving image data fed back by the second device, the image data corresponding to the image display parameters; and a display unit for displaying the image corresponding to the image data.

[0008] Thirdly, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the image display method as described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the image display method as described in the first aspect.

[0010] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the image display method as described in the first aspect.

[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the image display method as described in the first aspect.

[0012] The image display method provided in this application embodiment is executed by a first device that stores lightweight images. During image display, the first device receives a first input to the lightweight image, which instructs the display of a high-resolution image corresponding to the lightweight image. It then sends image request information to a second device, requesting the acquisition of the high-resolution image corresponding to the lightweight image. The image request information includes image display parameters for the high-resolution image, which are related to the input parameters of the first input. The first device receives image data fed back by the second device, which corresponds to the image display parameters. Finally, the first device displays the image corresponding to the image data. Through this image display method, the first device stores only lightweight images, while the second device stores the high-resolution image corresponding to the lightweight image. When a user needs to view the high-resolution image corresponding to the lightweight image through the first device, based on the first input to the lightweight image, the first device sends image request information containing image display parameters to the second device, acquires the image data corresponding to the image display parameters from the second device, and displays the image corresponding to the image data. The image display parameters are related to the input parameters of the first input. In this way, a device-coordinated image display method is achieved by using external devices such as idle devices. This allows the electronic devices actually operated by the user to store only lightweight images, reducing the amount of image data originally stored in the electronic devices. Furthermore, the image display parameters of high-resolution images are controlled by input parameters, which makes it easy to limit the amount of data loaded for high-resolution images and save local storage space on electronic devices. Attached Figure Description

[0013] Figure 1This is one of the flowcharts illustrating the image display method provided in the embodiments of this application;

[0014] Figure 2 This is one of the schematic diagrams of the operation interface of the image display method provided in the embodiments of this application;

[0015] Figure 3 One of the schematic diagrams of the image display method provided in the embodiments of this application;

[0016] Figure 4 This is a second schematic diagram of the operation interface of the image display method provided in the embodiments of this application;

[0017] Figure 5 A second schematic diagram of the image display method provided in the embodiments of this application;

[0018] Figure 6 A timing diagram of the image display method provided in the embodiments of this application;

[0019] Figure 7 A second schematic flowchart illustrating the image display method provided in this application embodiment;

[0020] Figure 8 This is a structural block diagram of an image display device provided in an embodiment of this application;

[0021] Figure 9 A structural block diagram of the electronic device provided in the embodiments of this application;

[0022] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0024] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0025] The image display method, apparatus, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0026] like Figure 1 As shown, this application embodiment provides an image display method, executed by a first device, which may specifically include the following steps S102 to S108:

[0027] S102: Receive the first input to the lightweight image.

[0028] The image display method proposed in this application is executed by a first device, which may be an electronic device such as a smartphone, tablet computer, or laptop computer, and is not specifically limited to these devices.

[0029] The first device stores lightweight images, which include, but are not limited to, thumbnails, preview images, low-resolution images, and indexed images, without any specific restrictions.

[0030] Optionally, the second device may be different from the first device. Specifically, the second device may be an electronic device such as a smartphone, tablet, or laptop computer, without any specific limitations.

[0031] Optionally, the second device stores a high-resolution image corresponding to the lightweight image. The high-resolution image corresponding to the lightweight image includes the original image of the lightweight image. The high-resolution image corresponding to the lightweight image may also include adapted images of the original image of the lightweight image at different resolutions, such as adapted images of the original image at the screen resolution of the first device.

[0032] Optionally, the first device stores lightweight images in a first database, and the second device stores high-resolution images in a second database.

[0033] In practical applications, the first database maintains a real-time mapping relationship between the stored lightweight images and the high-resolution images in the second database, while the second database also maintains a real-time mapping relationship between the stored high-resolution images and the lightweight images in the first database. Specifically, the changes in the stored images are synchronized between the first and second databases in real time to ensure consistency in the mapping link between the two databases, thereby guaranteeing the accuracy of subsequent image display.

[0034] Optionally, the first input mentioned above is a user's touch input to the lightweight image. The touch input can specifically be a single-click input, a long-press input, a double-click input, a swipe input, or an input along a preset trajectory. Those skilled in the art can set the specific form of the first input according to the actual situation, and no specific restrictions are made here.

[0035] S104: Send image request information to the second device.

[0036] The image request information is used to request the high-resolution image corresponding to the lightweight image from the second device.

[0037] Optionally, the image request information includes image display parameters for a high-resolution image, which are related to the input parameters of the first input.

[0038] In practical applications, image display parameters include, but are not limited to, image resolution, image sharpness, image display size, and image bitrate, etc., which are not specifically limited here.

[0039] Optionally, input parameters include, but are not limited to, input type, input position, and number of inputs, etc., without specific restrictions.

[0040] S106: Receive image data fed back by the second device.

[0041] The image data corresponds to the image display parameters.

[0042] Optionally, the image data may be the original high-resolution image stored in the second device, or it may be the image data obtained after compression, encoding, or other processing of the high-resolution image stored in the second device. No specific restrictions are imposed here.

[0043] S108: Display the image corresponding to the image data.

[0044] Specifically, in the image display method provided in this application embodiment, a first device stores a lightweight image, and a second device stores a high-resolution image corresponding to the lightweight image. When a user needs to view the high-resolution image corresponding to the lightweight image through the first device, the first device can establish a communication connection with the second device and receive a first input from the user regarding the lightweight image, wherein the first input is used to instruct the display of the high-resolution image corresponding to the lightweight image. Based on this, the first device sends image request information to the second device to request the acquisition of the high-resolution image corresponding to the lightweight image, wherein the image request information includes image display parameters of the high-resolution image, and the image display parameters are related to the input parameters of the first input. On this basis, the second device will feed back image data corresponding to the image display parameters to the first device according to the image request information. The first device receives the image data fed back by the second device and displays the image corresponding to the image data by performing operations such as decoding and rendering on the image data.

[0045] The image display method provided in this application embodiment is executed by a first device that stores lightweight images. During image display, the first device receives a first input to the lightweight image, which instructs the display of a high-resolution image corresponding to the lightweight image. It then sends image request information to a second device, requesting the acquisition of the high-resolution image corresponding to the lightweight image. The image request information includes image display parameters for the high-resolution image, which are related to the input parameters of the first input. The first device receives image data fed back by the second device, which corresponds to the image display parameters. Finally, the first device displays the image corresponding to the image data. Through this image display method, the first device stores only lightweight images, while the second device stores the high-resolution image corresponding to the lightweight image. When a user needs to view the high-resolution image corresponding to the lightweight image through the first device, based on the first input to the lightweight image, the first device obtains the image data corresponding to the image display parameters from the second device by sending image request information containing the image display parameters, and displays the image corresponding to the image data. The image display parameters are related to the input parameters of the first input. In this way, a device-coordinated image display method is achieved by using external devices such as idle devices. This allows the electronic devices actually operated by the user to store only lightweight images, reducing the amount of image data originally stored in the electronic devices. Furthermore, the image display parameters of high-resolution images are controlled by input parameters, which makes it easy to limit the amount of data loaded for high-resolution images and save local storage space on electronic devices.

[0046] In this embodiment, the first input includes a first sub-input and a second sub-input, and the image display parameters include the image resolution. Based on this, S104 may specifically include S104a and S104b as described below, and S106 may specifically include S106a and S106b as described below:

[0047] S104a: Send the first request information to the second device.

[0048] The first sub-input mentioned above is the user's touch input to the lightweight image. The touch input can be a single click, a long press, a double click, a swipe, or input along a preset trajectory. Those skilled in the art can set the specific form of the first sub-input according to the actual situation, and no specific restrictions are made here.

[0049] Optionally, the first sub-input is used to trigger a low-resolution loading of the lightweight image.

[0050] Optionally, the first request information includes a first resolution, which corresponds to a first sub-input. The first resolution is greater than the resolution of the lightweight image, and the first resolution is less than the resolution of the original image of the lightweight image.

[0051] In practical applications, the first resolution can specifically refer to the screen resolution of the first device, without any specific restrictions.

[0052] S106a: Receive the first image data sent by the second device.

[0053] The first image data corresponds to the first resolution.

[0054] Optionally, the first image data corresponds to the first image, which may specifically be the original image of the lightweight image adapted to the first resolution.

[0055] Specifically, in the image display method provided in this application embodiment, the first input includes a first sub-input, and the image display parameters include image resolution. Based on this, when a user needs to view a high-resolution image corresponding to a lightweight image through a first device, after the first device and the second device establish a communication connection, the user can send first request information containing the first resolution to the second device through the first sub-input of the lightweight image. Based on this, the second device will obtain first image data corresponding to the first resolution according to the first request information and send the first image data to the first device. The first device receives the first image data fed back by the second device and displays the first image by decoding and rendering the first image data.

[0056] S104b: Send a second request message to the second device.

[0057] The second sub-input mentioned above is the user's touch input to the lightweight image or the first image. The touch input can be a single click, a long press, a double click, a swipe, or input along a preset trajectory. Those skilled in the art can set the specific form of the second sub-input according to the actual situation, and no specific restrictions are made here.

[0058] Optionally, the second sub-input may differ from the first sub-input. For example, the first sub-input may be a swipe input, and the second sub-input may be a two-finger zoom input. Alternatively, the first sub-input may be an input to a first control such as a "Preview" button, and the second sub-input may be an input to a second control such as a "Get Original Image" button.

[0059] Optionally, the second sub-input is used to trigger high-resolution loading of the lightweight image.

[0060] Optionally, the second request information includes a second resolution, which corresponds to a second sub-input. The second resolution is greater than the first resolution, and the second resolution may specifically be the resolution of the original image of the lightweight image.

[0061] S106b: Receive second image data sent by the second device.

[0062] The second image data corresponds to the second resolution.

[0063] Optionally, the second image data corresponds to a second image, which may specifically be the original image of the lightweight image.

[0064] Specifically, in the image display method provided in this application embodiment, the first input further includes a second sub-input. Based on this, when a user needs to view a high-resolution image corresponding to a lightweight image through the first device, after the first device loads and displays the first image at the first resolution, the first device can continue to receive the user's second sub-input and send second request information containing a second resolution to the second device, wherein the second resolution is greater than the first resolution. Based on this, the second device will obtain the second image data corresponding to the second resolution according to the second request information and send the second image data to the first device. The first device receives the second image data fed back by the second device and displays the second image by decoding and rendering it.

[0065] In practical applications, after rendering the original image of the lightweight image, the first device can also cache the original image in the local storage space for direct retrieval and use later.

[0066] In the embodiments provided in this application, the first input includes a first sub-input and a second sub-input, and the image display parameters include image resolution. A first request message is sent to a second device, the first request message including the first resolution, which corresponds to the first sub-input. First image data is received from the second device, the first image data corresponding to the first resolution. A second request message is sent to the second device, the second request message including the second resolution, the second resolution corresponding to the second sub-input, and the second resolution being greater than the first resolution. Second image data is received from the second device, the second image data corresponding to the second resolution. This achieves hierarchical loading of image resolution from low to high, reducing image display bandwidth consumption and loading latency.

[0067] In this embodiment of the application, prior to S102, the image display method may further include the following S110 to S116:

[0068] S110: Send registration requests to multiple third-party devices.

[0069] Among them, multiple third devices are multiple electronic devices that store high-resolution images corresponding to the lightweight images that the user wants to view.

[0070] In practical applications, the first device can initiate registration requests to multiple third devices corresponding to the lightweight image based on the user's touch input to the lightweight image.

[0071] For example, such as Figure 2 As shown, a thumbnail 202 is displayed in the first device. The first device receives and responds to the user's click input on the thumbnail 202 and initiates registration requests to multiple third devices corresponding to the thumbnail 202.

[0072] Optionally, the plurality of third devices may include the aforementioned second device.

[0073] Optionally, the registration request may specifically be a SIP (Session Initiation Protocol) registration request, which is used for registration and connection verification between devices.

[0074] Optionally, the registration request may include screen configuration parameters of the first device.

[0075] Optionally, screen configuration parameters include, but are not limited to, the screen resolution and DPI (Dots Per Inch) of the first device, etc., without specific limitations.

[0076] Specifically, in the image display method provided in the embodiments of this application, during the process of establishing a communication connection between the first device and the second device, the first device initiates a SIP registration request to multiple third devices. The SIP registration request carries screen configuration parameters such as the screen resolution and DPI of the first device. The first device and the third devices complete parameter pass-through through a SIP custom extension header.

[0077] The SIP registration request includes the screen resolution of the first device, facilitating negotiation with the third device regarding the image size to be loaded. This allows the second device to subsequently provide corresponding image data based on the pre-negotiated resolution. This achieves image display adaptation, reducing bandwidth consumption during image display, improving loading speed, and resolving browsing lag issues.

[0078] In addition, in actual applications, before the first device initiates a SIP registration request to multiple third devices, the first device will also complete identity verification with the SIP server and the account server based on the bound account.

[0079] S112: Receive response messages from multiple third-party devices for the registration request.

[0080] The response message includes the device status information of the third device and the resolution compatibility between the image stored in the third device and the first device.

[0081] Optionally, the device status information is used to indicate the battery level and network connectivity of the third device, so as to reflect the data transmission capability of the third device.

[0082] Optionally, the resolution fit is used to indicate the degree of deviation between the resolution of the high-resolution image stored in the third device and the screen resolution of the first device. Specifically, the resolution fit can be the minimum difference between the screen resolution of the first device and the resolution of the high-resolution image stored in the third device.

[0083] Specifically, in the image display method provided in this application embodiment, after the third device receives the SIP registration request from the first device, if the registration request is successful, the third device will return a response message to the first device. The response message carries the device status information of the third device and the resolution compatibility between the image stored in the third device and the first device.

[0084] In practical applications, after the first device receives the response message sent by the third device, it can store the device status information of the third device in the local device status list.

[0085] S114: Determine the second device from multiple third devices based on device status information and resolution compatibility.

[0086] Specifically, in the image display method provided in this application embodiment, after the first device receives the response message sent by the third device, the first device can automatically select the optimal third device as the second device from multiple third devices based on the resolution compatibility between the image stored in the third device and the first device, and the locally stored device status list.

[0087] S116: Establish a communication connection with the second device.

[0088] Specifically, in the image display method provided in this application embodiment, after determining the second device from a plurality of third devices, the first device sends a SIP session establishment request to the selected second device. After receiving the SIP session establishment request, the second device establishes a signaling channel with the first device. If the establishment is successful, the second device returns an acknowledgment message to the first device, indicating that the first device and the second device have successfully established a communication connection, which can provide a reliable channel for the subsequent transmission of image data.

[0089] In practical applications, if the first device and the second device are bound to the same account, the account server can quickly trigger the communication connection between the first device and the second device by directly sending a notification.

[0090] Based on this, the communication architecture between the first device and the second device can be as follows: Figure 3As shown, during image display, the first device forwards image request information to the second device via a SIP server. The second device returns image data of a pre-negotiated size, which is then forwarded to the first device for rendering and display via a WS (WebSocket) server. In this way, the image display process is completed seamlessly using SIP, resulting in a simple, efficient, and low-latency workflow.

[0091] In addition, in practical applications, the first device also supports users manually selecting a second device. Specifically, the first device can display a device list at each location of the lightweight image, based on multiple third devices that store high-resolution images corresponding to the lightweight images. Users can then select the second device to interact with by touching the device list.

[0092] For example, such as Figure 4 As shown, a thumbnail 202 is displayed in the first device, and a device list 204 is displayed near the thumbnail 202. The device list 204 is used to indicate multiple third devices corresponding to the thumbnail 202. The first device receives and responds to the user's selection input of any third device in the device list 204, and uses the third device selected by the user as the second device to be interacted with.

[0093] The embodiments provided in this application send registration requests to multiple third devices, the registration requests including screen configuration parameters of the first device; receive response messages from the multiple third devices to the registration requests, the response messages including device status information of the third devices and the resolution adaptation of the images stored in the third devices with that of the first device; determine a second device from the multiple third devices based on the device status information and the resolution adaptation; and establish a communication connection with the second device. This achieves optimal selection of the loading source device, i.e., the second device, which can improve the stability and speed of subsequent image display.

[0094] In this embodiment of the application, the device status information includes remaining battery power information and network quality information. Based on this, the above-mentioned S114 may specifically include the following S114a and S114b:

[0095] S114a: Weighted calculation of the remaining power information, network quality information and resolution adaptation of each third device to obtain the comprehensive score of each third device.

[0096] The network quality information may specifically include the type of network the third device is connected to, such as 4G (4th Generation Mobile Communication Technology), 5G (5th Generation Mobile Communication Technology), and WiFi (Wireless Fidelity) networks. The network quality information may also include the network latency of the network the third device is connected to, but no specific restrictions are imposed here.

[0097] S114b: The third device with the highest overall score among multiple third devices is identified as the second device.

[0098] Specifically, in the image display method provided in this application embodiment, during the process of the first device selecting a second device from multiple third devices, the first device performs weighted calculations on the remaining power information, network quality information and resolution adaptation of each third device according to a preset comprehensive scoring rule to obtain a comprehensive score for each third device, and then determines the third device with the highest comprehensive score among multiple third devices as the second device.

[0099] In practical applications, when performing weighted calculations, those skilled in the art can set the weighting coefficients for remaining battery power, network quality, and resolution compatibility according to the actual situation, without making specific restrictions here.

[0100] In the embodiments provided in this application, the device status information includes remaining battery power information and network quality information. A weighted calculation is performed on the remaining battery power information, network quality information, and resolution adaptation of each third device to obtain a comprehensive score for each third device. The third device with the highest comprehensive score among multiple third devices is determined as the second device. In this way, by combining the remaining battery power information, network quality information, and resolution adaptation of different devices, the accuracy of selecting the loading source device is improved, ensuring the stability and speed of subsequent image display.

[0101] In this embodiment of the application, prior to S102, the image display method may further include S118 as described below. Furthermore, S104 may specifically include S104c and S104d as described below:

[0102] S118: Establish communication connections with multiple third-party devices.

[0103] Among them, multiple third devices include second devices.

[0104] Specifically, in the image display method provided in the embodiments of this application, such as Figure 5As shown, the first device 302 can establish near-field communication connections with multiple third devices 304, including the second device, by creating a hotspot group or the same local area network. At this time, the first device 302 and the third devices 304 exchange data in a P2P (Per-to-Per) manner.

[0105] In the process of establishing near-field communication connections between the first device and multiple third devices, identity verification can be performed through the offline mode of the bound account.

[0106] S104c: Determine the second device from multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image.

[0107] The mapping address information is the address information of the second database that has a mapping relationship with the lightweight image. The mapping address information can be specifically determined based on the file information of the lightweight image and the mapping relationship between the first database and the second database.

[0108] S104d: Send image request information to the second device.

[0109] Specifically, in the image display method provided in the embodiments of this application, when the first device has established a near-field communication connection with multiple third devices, the first device can receive and respond to the user's first input on a lightweight image, determine the second device from the multiple third devices according to the mapping address information of the high-resolution image corresponding to the lightweight image, and then send image request information to the second device.

[0110] The embodiments provided in this application establish communication connections with multiple third devices, including a second device; the second device is determined from the multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; and an image request message is sent to the second device. This achieves a device-coordinated image display method in near-field communication scenarios, and by utilizing image mapping relationships to select the loading source device, it improves the speed and accuracy of data transmission.

[0111] In summary, this application provides a cross-platform image display scheme based on distributed storage and hierarchical loading collaboration. The overall timing diagram of the image display process can be seen as follows: Figure 6 As shown, on the first device side, such as Figure 7 As shown, the image display method provided in this application embodiment may specifically include the following steps S402 to S430:

[0112] S402: First device starts.

[0113] S404: Send SIP registration requests to multiple third-party devices.

[0114] S406: Determine if the registration request was successful. If yes, proceed to S408; otherwise, proceed to S410.

[0115] S408: Receive response messages from multiple third-party devices for the registration request.

[0116] S410: Registration failed. Please try registering again.

[0117] S412: Determine: If manual input from the user is received, execute S414 if yes, otherwise execute S416.

[0118] S414: Determine the second device selected by the user.

[0119] S416: Automatically selects a second device based on comprehensive scoring rules.

[0120] S418: Establish a communication connection with the second device.

[0121] S420: Determine if a communication connection has been successfully established. If yes, proceed to S422; otherwise, proceed to S424.

[0122] S422: Send the first request information to the second device.

[0123] S424: Connection failed. Please try connecting again.

[0124] S426: Display the first image.

[0125] S428: Determine: If the second sub-input is received, execute S430 if yes, otherwise execute S426.

[0126] S430: Send a second request message to the second device and load and display the second image.

[0127] The image display method provided in this application can be executed by an image display device. This application uses an image display device executing the above-described image display method as an example to illustrate the image display device provided in this application.

[0128] like Figure 8 As shown, this application provides an image display device 500, which is applied to a first device. The first device stores lightweight images. The image display device 500 may specifically include a communication unit 502, a receiving unit 504, a display unit 506, and a processing unit 508.

[0129] The receiving unit 504 is used to receive a first input to the lightweight image, the first input being used to indicate the display of a high-resolution image corresponding to the lightweight image;

[0130] The communication unit 502 is used to send image request information to the second device. The image request information is used to request the second device to obtain a high-resolution image corresponding to the lightweight image. The image request information includes image display parameters of the high-resolution image, and the image display parameters are related to the input parameters of the first input.

[0131] The communication unit 502 is also used to receive image data fed back by the second device, and the image data corresponds to the image display parameters;

[0132] Display unit 506 is used to display the image corresponding to the image data.

[0133] The image display device 500 provided in this application embodiment is applied to a first device that stores lightweight images. During image display, the first device receives a first input to the lightweight image, which instructs the display of a high-resolution image corresponding to the lightweight image. It then sends image request information to a second device, requesting the acquisition of the high-resolution image corresponding to the lightweight image. The image request information includes image display parameters for the high-resolution image, which are related to the input parameters of the first input. The device also receives image data from the second device, which corresponds to the image display parameters. Finally, it displays the image corresponding to the image data. Through this image display device 500, the first device stores only lightweight images, while the second device stores the high-resolution image corresponding to the lightweight image. When a user needs to view the high-resolution image corresponding to the lightweight image through the first device, based on the first input to the lightweight image, the first device obtains the image data corresponding to the image display parameters from the second device by sending image request information containing the image display parameters, and displays the image corresponding to the image data. The image display parameters are related to the input parameters of the first input. In this way, a device-coordinated image display method is achieved by using external devices such as idle devices. This allows the electronic devices actually operated by the user to store only lightweight images, reducing the amount of image data stored in the electronic devices. Furthermore, the image display parameters of high-resolution images are controlled by input parameters, which makes it easy to limit the amount of data loaded for high-resolution images and save local storage space on electronic devices.

[0134] In this embodiment, the first input includes a first sub-input and a second sub-input, and the image display parameters include image resolution. The communication unit 502 is specifically used to: send a first request message to the second device, the first request message including a first resolution, the first resolution corresponding to the first sub-input; receive first image data sent by the second device, the first image data corresponding to the first resolution; send a second request message to the second device, the second request message including a second resolution, the second resolution corresponding to the second sub-input, the second resolution being greater than the first resolution; and receive second image data sent by the second device, the second image data corresponding to the second resolution.

[0135] In the embodiments provided in this application, the first input includes a first sub-input and a second sub-input, and the image display parameters include image resolution. A first request message is sent to a second device, the first request message including the first resolution, which corresponds to the first sub-input. First image data is received from the second device, the first image data corresponding to the first resolution. A second request message is sent to the second device, the second request message including the second resolution, the second resolution corresponding to the second sub-input, and the second resolution being greater than the first resolution. Second image data is received from the second device, the second image data corresponding to the second resolution. This achieves hierarchical loading of image resolution from low to high, reducing image display bandwidth consumption and loading latency.

[0136] In this embodiment, the communication unit 502 is specifically used to: send registration requests to multiple third devices, the registration requests including screen configuration parameters of the first device; receive response messages from multiple third devices to the registration requests, the response messages including device status information of the third devices and the resolution adaptation degree between the images stored in the third devices and the first device; the processing unit 508 is used to: determine a second device from the multiple third devices according to the device status information and the resolution adaptation degree; the communication unit 502 is also used to: establish a communication connection with the second device.

[0137] The embodiments provided in this application send registration requests to multiple third devices, the registration requests including screen configuration parameters of the first device; receive response messages from the multiple third devices to the registration requests, the response messages including device status information of the third devices and the resolution adaptation of the images stored in the third devices with that of the first device; determine a second device from the multiple third devices based on the device status information and the resolution adaptation; and establish a communication connection with the second device. This achieves optimal selection of the loading source device, i.e., the second device, which can improve the stability and speed of subsequent image display.

[0138] In this embodiment of the application, the device status information includes remaining power information and network quality information. The processing unit 508 is specifically used to: perform weighted calculation on the remaining power information, network quality information and resolution adaptation of each third device to obtain a comprehensive score for each third device; and determine the third device with the highest comprehensive score among multiple third devices as the second device.

[0139] In the embodiments provided in this application, the device status information includes remaining battery power information and network quality information. A weighted calculation is performed on the remaining battery power information, network quality information, and resolution adaptation of each third device to obtain a comprehensive score for each third device. The third device with the highest comprehensive score among multiple third devices is determined as the second device. In this way, by combining the remaining battery power information, network quality information, and resolution adaptation of different devices, the accuracy of selecting the loading source device is improved, ensuring the stability and speed of subsequent image display.

[0140] In this embodiment of the application, the communication unit 502 is specifically used for: establishing a communication connection with multiple third devices, including a second device; determining the second device from the multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; and sending image request information to the second device.

[0141] The embodiments provided in this application establish communication connections with multiple third devices, including a second device; the second device is determined from the multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; and an image request message is sent to the second device. This achieves a device-coordinated image display method in near-field communication scenarios, and by utilizing image mapping relationships to select the loading source device, it improves the speed and accuracy of data transmission.

[0142] The image display device 500 in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.

[0143] The image display device 500 in this embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems; this embodiment does not specifically limit the specific operating system.

[0144] The image display device 500 provided in this application embodiment can achieve... Figure 1 and Figure 7 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0145] Optionally, such as Figure 9 As shown, this application embodiment also provides an electronic device 600, including a processor 602 and a memory 604. The memory 604 stores a program or instructions that can run on the processor 602. When the program or instructions are executed by the processor 602, they implement the various steps of the above-described image display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0146] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.

[0147] Figure 10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0148] Electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710, etc.

[0149] Those skilled in the art will understand that the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0150] Among them, electronic device 700 is the first device mentioned above, and the first device stores lightweight images.

[0151] User input unit 707 is used to receive a first input to a lightweight image, the first input being used to instruct the display of a high-resolution image corresponding to the lightweight image.

[0152] The network module 702 is used to send image request information to the second device. The image request information is used to request the second device to obtain a high-resolution image corresponding to the lightweight image. The image request information includes image display parameters of the high-resolution image, and the image display parameters are related to the input parameters of the first input.

[0153] The network module 702 is also used to receive image data fed back by the second device, and the image data corresponds to the image display parameters.

[0154] Display unit 706 is used to display the image corresponding to the image data.

[0155] In this embodiment, during image display, a first device receives a first input to a lightweight image, which instructs the display of a high-resolution image corresponding to the lightweight image; sends image request information to a second device, which requests the second device to obtain the high-resolution image corresponding to the lightweight image. The image request information includes image display parameters of the high-resolution image, which are related to the input parameters of the first input; receives image data fed back by the second device, which corresponds to the image display parameters; and displays the image corresponding to the image data. In this embodiment, the first device stores only the lightweight image, while the second device stores the high-resolution image corresponding to the lightweight image. When a user needs to view the high-resolution image corresponding to the lightweight image through the first device, based on the first input to the lightweight image, the first device obtains the image data corresponding to the image display parameters from the second device by sending image request information containing the image display parameters to the second device, and displays the image corresponding to the image data. The image display parameters are related to the input parameters of the first input. In this way, a device-coordinated image display method is achieved by using external devices such as idle devices. This allows the electronic devices actually operated by the user to store only lightweight images, reducing the amount of image data stored in the electronic devices. Furthermore, the image display parameters of high-resolution images are controlled by input parameters, which makes it easy to limit the amount of data loaded for high-resolution images and save local storage space on electronic devices.

[0156] Optionally, the first input includes a first sub-input and a second sub-input, and the image display parameters include image resolution. The network module 702 is specifically used to: send a first request message to the second device, the first request message including a first resolution, the first resolution corresponding to the first sub-input; receive first image data sent by the second device, the first image data corresponding to the first resolution; send a second request message to the second device, the second request message including a second resolution, the second resolution corresponding to the second sub-input, the second resolution being greater than the first resolution; and receive second image data sent by the second device, the second image data corresponding to the second resolution.

[0157] In the embodiments provided in this application, the first input includes a first sub-input and a second sub-input, and the image display parameters include image resolution. A first request message is sent to a second device, the first request message including the first resolution, which corresponds to the first sub-input. First image data is received from the second device, the first image data corresponding to the first resolution. A second request message is sent to the second device, the second request message including the second resolution, the second resolution corresponding to the second sub-input, and the second resolution being greater than the first resolution. Second image data is received from the second device, the second image data corresponding to the second resolution. This achieves hierarchical loading of image resolution from low to high, reducing image display bandwidth consumption and loading latency.

[0158] Optionally, the network module 702 is specifically used to: send registration requests to multiple third devices, the registration requests including screen configuration parameters of the first device; receive response messages from multiple third devices to the registration requests, the response messages including device status information of the third devices and the resolution adaptation of the images stored in the third devices to the first device; the processor 710 is used to: determine the second device from the multiple third devices based on the device status information and the resolution adaptation; the network module 702 is also used to: establish a communication connection with the second device.

[0159] The embodiments provided in this application send registration requests to multiple third devices, the registration requests including screen configuration parameters of the first device; receive response messages from the multiple third devices to the registration requests, the response messages including device status information of the third devices and the resolution adaptation of the images stored in the third devices with that of the first device; determine a second device from the multiple third devices based on the device status information and the resolution adaptation; and establish a communication connection with the second device. This achieves optimal selection of the loading source device, i.e., the second device, which can improve the stability and speed of subsequent image display.

[0160] Optionally, the device status information includes remaining power information and network quality information. The processor 710 is specifically used to: perform a weighted calculation on the remaining power information, network quality information and resolution adaptation of each third device to obtain a comprehensive score for each third device; and determine the third device with the highest comprehensive score among multiple third devices as the second device.

[0161] In the embodiments provided in this application, the device status information includes remaining battery power information and network quality information. A weighted calculation is performed on the remaining battery power information, network quality information, and resolution adaptation of each third device to obtain a comprehensive score for each third device. The third device with the highest comprehensive score among multiple third devices is determined as the second device. In this way, by combining the remaining battery power information, network quality information, and resolution adaptation of different devices, the accuracy of selecting the loading source device is improved, ensuring the stability and speed of subsequent image display.

[0162] Optionally, the network module 702 is specifically used to: establish communication connections with multiple third devices, including the second device; determine the second device from the multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; and send image request information to the second device.

[0163] The embodiments provided in this application establish communication connections with multiple third devices, including a second device; the second device is determined from the multiple third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; and an image request message is sent to the second device. This achieves a device-coordinated image display method in near-field communication scenarios, and by utilizing image mapping relationships to select the loading source device, it improves the speed and accuracy of data transmission.

[0164] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0165] The memory 709 can be used to store software programs and various data. The memory 709 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 709 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 709 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0166] Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 710.

[0167] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described image display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0168] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0169] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described image display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0170] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0171] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described image display method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0172] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0173] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0174] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. An image display method, characterized in that, Performed by a first device, the first device storing lightweight images, the image display method includes: Receive a first input to the lightweight image, the first input being used to instruct the display of a high-resolution image corresponding to the lightweight image; Send image request information to the second device. The image request information is used to request the second device to obtain a high-resolution image corresponding to the lightweight image. The image request information includes image display parameters of the high-resolution image. The image display parameters are related to the input parameters of the first input. Receive image data fed back by the second device, wherein the image data corresponds to the image display parameters; Display the image corresponding to the image data.

2. The image display method according to claim 1, characterized in that, The first input includes a first sub-input and a second sub-input, the image display parameters include image resolution, and sending image request information to the second device includes: Send a first request message to the second device, the first request message including a first resolution, the first resolution corresponding to the first sub-input; The receipt of image data fed back by the second device includes: Receive first image data sent by the second device, wherein the first image data corresponds to the first resolution; Sending the image request information to the second device further includes: Send a second request message to the second device. The second request message includes a second resolution, which corresponds to the second sub-input and is greater than the first resolution. The receiving of image data fed back by the second device further includes: The device receives second image data sent by the second device, the second image data corresponding to the second resolution.

3. The image display method according to claim 1, characterized in that, Before receiving the first input to the lightweight image, the image display method further includes: Send registration requests to multiple third devices, the registration requests including the screen configuration parameters of the first device; Receive multiple response messages from the third devices in response to the registration request, the response messages including device status information of the third devices and the resolution compatibility between the images stored in the third devices and the first device; Based on the device status information and the resolution adaptation, the second device is determined from a plurality of third devices; Establish a communication connection with the second device.

4. The image display method according to claim 3, characterized in that, The device status information includes remaining battery information and network quality information. Determining the second device from among the plurality of third devices based on the device status information and the resolution adaptation includes: The remaining battery information, network quality information, and resolution adaptation of each third device are weighted and calculated to obtain a comprehensive score for each third device. The third device with the highest overall score among the multiple third devices is identified as the second device.

5. The image display method according to claim 1, characterized in that, Before receiving the first input to the lightweight image, the image display method further includes: Establish communication connections with multiple third devices, including the second device; Sending image request information to the second device includes: The second device is determined from among the plurality of third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; The image request information is sent to the second device.

6. An image display device, characterized in that, Applied to a first device, the first device storing lightweight images, the image display device includes: A receiving unit is configured to receive a first input to the lightweight image, wherein the first input is configured to instruct the display of a high-resolution image corresponding to the lightweight image; A communication unit is used to send image request information to a second device. The image request information is used to request the second device to obtain a high-resolution image corresponding to the lightweight image. The image request information includes image display parameters of the high-resolution image, and the image display parameters are related to the input parameters of the first input. The communication unit is also used to receive image data fed back by the second device, the image data corresponding to the image display parameters; The display unit is used to display the image corresponding to the image data.

7. The image display device according to claim 6, characterized in that, The first input includes a first sub-input and a second sub-input, the image display parameters include image resolution, and the communication unit is specifically used for: Send a first request message to the second device, the first request message including a first resolution, the first resolution corresponding to the first sub-input; Receive first image data sent by the second device, wherein the first image data corresponds to the first resolution; Send a second request message to the second device. The second request message includes a second resolution, which corresponds to the second sub-input and is greater than the first resolution. The device receives second image data sent by the second device, the second image data corresponding to the second resolution.

8. The image display device according to claim 6, characterized in that, Before receiving the first input to the lightweight image, the communication unit is further configured to: Send registration requests to multiple third devices, the registration requests including the screen configuration parameters of the first device; Receive multiple response messages from the third devices in response to the registration request, the response messages including device status information of the third devices and the resolution compatibility between the images stored in the third devices and the first device; The image display device further includes: A processing unit is configured to determine the second device from among a plurality of third devices based on the device status information and the resolution adaptation. The communication unit is also used for: Establish a communication connection with the second device.

9. The image display device according to claim 8, characterized in that, The device status information includes remaining battery power information and network quality information, and the processing unit is specifically used for: The remaining battery information, network quality information, and resolution adaptation of each third device are weighted and calculated to obtain a comprehensive score for each third device. The third device with the highest overall score among the multiple third devices is identified as the second device.

10. The image display device according to claim 6, characterized in that, Before receiving the first input to the lightweight image, the communication unit is further configured to: Establish communication connections with multiple third devices, including the second device; The second device is determined from among the plurality of third devices based on the mapping address information of the high-resolution image corresponding to the lightweight image; The image request information is sent to the second device.

11. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the image display method as described in any one of claims 1 to 5.

12. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the image display method as described in any one of claims 1 to 5.