Picture display optimization method and terminal

By generating preset image formats based on client device parameters and combining network parameter optimization, the problem of inconsistent image display efficiency of different clients is solved, and faster image display is achieved and user experience is improved.

CN118963886AActive Publication Date: 2024-11-15FUJIAN TQ ONLINE INTERACTIVE INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410995394.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The resource limitations and image resolution of different client devices lead to inconsistent image display efficiency, resulting in poor user browsing experience, especially when multiple images are displayed continuously.

Method used

Generate preset picture formats according to the client device parameter type, optimize picture processing and transmission, ensure that the display time is less than or equal to the preset time, and adjust the format in combination with network operation parameters to improve display efficiency.

Benefits of technology

The time required for the client to display pictures is reduced, the user's browsing experience is improved, and the preset image format is closely linked to the device parameters, improving the display efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963886A_ABST
    Figure CN118963886A_ABST
Patent Text Reader

Abstract

The invention discloses a picture display optimization method, which comprises the following steps: generating a preset picture format which enables the picture display time of a client to be less than or equal to a preset duration according to a device parameter type to which the client belongs; receiving a picture acquisition request of a client, and processing a target picture corresponding to the picture acquisition request according to a preset picture format corresponding to the client; and sending the processed target picture to the client for display by the client. According to the invention, the equipment parameters of the client are closely linked with the format of the picture to be issued on the service terminal, so that the time required by different clients for completing picture display is greatly shortened, namely, the picture display efficiency of different clients is improved, and the browsing experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to an optimization method and terminal for picture display. Background Art

[0002] Currently, many client apps have the function of displaying pictures. Usually, a picture will not change after it is uploaded to the server. Different clients will directly display the picture after obtaining it. However, affected by factors such as the resolution and frame rate of the picture and the model resources of different client devices, the display efficiency of the client when displaying pictures is also different, which makes it easy for some clients to spend a long time in the process of displaying a certain picture; especially when multiple pictures need to be displayed continuously, this will bring a very poor browsing experience to users. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide an optimization method and terminal for displaying pictures, thereby improving the display efficiency of pictures by different clients and enhancing the browsing experience of users.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0005] A method for optimizing image display includes the following steps:

[0006] S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs;

[0007] S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client;

[0008] S3. Send the processed target image to the client for display by the client.

[0009] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0010] An optimized terminal for displaying pictures, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0011] S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs;

[0012] S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client;

[0013] S3. Send the processed target image to the client for display by the client.

[0014] The beneficial effects of the present invention are: providing an optimization method and terminal for image display, generating a preset image format in advance based on the device parameter type to which the client belongs so that the client's image display time is less than or equal to the preset duration, so that when the client requests to obtain the image, the image desired by the client is processed by the preset image format and then sent to the client, and the client's device parameters are closely linked with the format of the image to be sent from the service terminal, thereby greatly reducing the time required for different clients to complete the image display, that is, improving the display efficiency of different clients for images and enhancing the user's browsing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic diagram of the steps of an optimization method shown in a picture;

[0016] Figure 2 A system block diagram of an optimized terminal for display in pictures.

[0017] Description of labels:

[0018] 1. An optimized terminal for displaying pictures: 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0019] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0020] Please refer to Figure 1 , an optimization method for image display, comprising the following steps:

[0021] S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs;

[0022] S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client;

[0023] S3. Send the processed target image to the client for display by the client.

[0024] From the above description, it can be seen that the beneficial effect of the present invention is that: based on the device parameter type to which the client belongs, a preset picture format is generated in advance so that the client's picture display time is less than or equal to the preset time length, so that when the client requests to obtain the picture, the picture the client wants is processed by the preset picture format and then sent to the client, and the client's device parameters are closely linked with the format of the picture to be sent from the service terminal, thereby greatly reducing the time required for different clients to complete the picture display, that is, improving the display efficiency of different clients for pictures and enhancing the user's browsing experience.

[0025] Furthermore, before step S1, the following steps are also included:

[0026] S00, creating a picture format parsing model for executing step S1;

[0027] S01, obtaining historical image information and corresponding historical display time when the client of different types of device parameter types performs image display and using them as sample data;

[0028] S02. Using the sample data to train the image format parsing model.

[0029] From the above description, it can be seen that the process of generating the preset image format uses a big data model for intelligent processing. At the same time, the process of displaying images on a daily basis by clients with different types of device parameters is used as sample data to train the image format parsing model, thereby improving the compatibility of the generated preset image format with the corresponding client's device.

[0030] Furthermore, before step S01, the following steps are also included:

[0031] A preset software tool for issuing the image acquisition request is configured for each client, and the sample data is counted by the preset software tool.

[0032] From the above description, it can be seen that by relying on preset software tools, the client's action of obtaining pictures is combined with the action of recording the client's display of pictures, which makes it convenient to collect a large amount of sample data while processing the client's request, so that the picture format parsing model can be fully trained, making the applicable objects more comprehensive and the data analysis more accurate.

[0033] Furthermore, the step S1 further includes:

[0034] Storing the preset image format in the local cache of all the clients belonging to the same device parameter type;

[0035] The step S2 comprises:

[0036] The image acquisition request includes the preset image format stored in the local cache of the client.

[0037] From the above description, it can be seen that storing the generated preset image format in the local cache of the corresponding type of client can effectively reduce the data storage pressure on the service terminal, and integrate the acquisition process of the preset image format into the client's image acquisition request, making the cooperation between the service terminal and the client closer and more efficient, and less prone to errors.

[0038] Furthermore, the step S1 further includes:

[0039] The preset image format is obtained and readjusted according to the network operation parameters of the client.

[0040] From the above description, it can be seen that when determining the preset image format, not only the device parameter type of the client itself is used as a reference, but also the network operation parameters of the client are combined for adjustment, so that the generation process of the preset image format has a more comprehensive and practical consideration, making the final image display more reasonable and more applicable.

[0041] Please refer to Figure 2 , an image display optimization terminal 1, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor 3, wherein the processor 3 implements the following steps when executing the computer program:

[0042] S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs;

[0043] S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client;

[0044] S3. Send the processed target image to the client for display by the client.

[0045] From the above description, it can be seen that the beneficial effect of the present invention is that: based on the device parameter type to which the client belongs, a preset picture format is generated in advance so that the client's picture display time is less than or equal to the preset time length, so that when the client requests to obtain the picture, the picture the client wants is processed by the preset picture format and then sent to the client, and the client's device parameters are closely linked with the format of the picture to be sent from the service terminal, thereby greatly reducing the time required for different clients to complete the picture display, that is, improving the display efficiency of different clients for pictures and enhancing the user's browsing experience.

[0046] Furthermore, before step S1, the following steps are also included:

[0047] S00, creating a picture format parsing model for executing step S1;

[0048] S01, obtaining historical image information and corresponding historical display time when the client of different types of device parameter types performs image display and using them as sample data;

[0049] S02. Using the sample data to train the image format parsing model.

[0050] From the above description, it can be seen that the process of generating the preset image format uses a big data model for intelligent processing. At the same time, the process of displaying images on a daily basis by clients with different types of device parameters is used as sample data to train the image format parsing model, thereby improving the compatibility of the generated preset image format with the corresponding client's device.

[0051] Furthermore, before step S01, the following steps are also included:

[0052] A preset software tool for issuing the image acquisition request is configured for each client, and the sample data is counted by the preset software tool.

[0053] From the above description, it can be seen that by relying on preset software tools, the client's action of obtaining pictures is combined with the action of recording the client's display of pictures, which makes it convenient to collect a large amount of sample data while processing the client's request, so that the picture format parsing model can be fully trained, making the applicable objects more comprehensive and the data analysis more accurate.

[0054] Furthermore, the step S1 further includes:

[0055] Storing the preset image format in the local cache of all the clients belonging to the same device parameter type;

[0056] The step S2 comprises:

[0057] The image acquisition request includes the preset image format stored in the local cache of the client.

[0058] From the above description, it can be seen that storing the generated preset image format in the local cache of the corresponding type of client can effectively reduce the data storage pressure on the service terminal, and integrate the acquisition process of the preset image format into the client's image acquisition request, making the cooperation between the service terminal and the client closer and more efficient, and less prone to errors.

[0059] Furthermore, the step S1 further includes:

[0060] The preset image format is obtained and readjusted according to the network operation parameters of the client.

[0061] From the above description, it can be seen that when determining the preset image format, not only the device parameter type of the client itself is used as a reference, but also the network operation parameters of the client are combined for adjustment, so that the generation process of the preset image format has a more comprehensive and practical consideration, making the final image display more reasonable and more applicable.

[0062] Please refer to Figure 1 , Embodiment 1 of the present invention is:

[0063] A method for optimizing image display includes the following steps:

[0064] S00, creating a picture format parsing model for executing step S1;

[0065] In this embodiment, the picture format parsing model can adopt the latest AI data analysis model, whose most basic function is to use some basic data as input, and then obtain the desired analysis results through the logical analysis and processing of the model; in this embodiment, the picture format parsing model obtains the device parameter type to which the client belongs, and then generates a preset picture format according to the device parameter type; the preset picture format includes at least the aspect ratio and clarity data of a picture; for clients with different types of device parameter types, the display time of pictures of different formats is not the same. Among them, the display time generally refers to the time after the client obtains the picture, its own device parses it, and successfully displays it.

[0066] As for the device parameters, they may include the device model, total CPU capacity, CPU capacity when processing a certain image, total memory capacity, memory capacity when processing a certain image, etc. Therefore, by setting different preset image formats for each type of device, the required display time can be controlled.

[0067] It should be noted that the image format corresponding to each type of device is not unique; among different image formats, as long as the corresponding display time meets the user's browsing requirements under the hardware performance limit of the client, it can be considered as a preset image format. This browsing requirement can be artificially limited, that is, the preset duration mentioned in step S1 is generally selectable in the range of 180-220ms, preferably 200ms.

[0068] S01, obtaining historical image information and corresponding historical display time when clients belonging to different types of device parameter types perform image display and using them as sample data;

[0069] In this embodiment, after the image format parsing model is established, more sample data is needed to train it. The sample data can be data automatically generated by the machine or data generated by different clients displaying different images in actual applications. When using actual case data, the following steps can be followed:

[0070] A preset software tool for issuing image acquisition requests is configured for each client, and sample data is counted through the preset software tool.

[0071] In this step, a preset software tool is configured on the client. The preset software tool includes a function to help the client initiate a request for obtaining an image. After the function is started, an asynchronous thread is started at the same time. The asynchronous thread will record the time it takes for the client to display the image and the image format information so that it can be used as sample data. During the recording process, the asynchronous thread can also judge each sample data in combination with the above-mentioned preset duration. For example, if the display time of a picture is 200ms, the asynchronous thread can report the display process with a display time exceeding 200ms as an abnormal case when performing statistics.

[0072] S02. Use sample data to train an image format parsing model.

[0073] S1. Generate a preset picture format that makes the picture display time of the client less than or equal to the preset time length according to the device parameter type to which the client belongs;

[0074] In this embodiment, the data obtained by the asynchronous thread may also include the network operation parameters of the client, such as the network delay time when the client displays a certain image. When the image format parsing model implements the above step S1, it can also readjust the preset image format according to the network operation parameters of the client.

[0075] S2, receiving a picture acquisition request from a client, and processing a target picture corresponding to the picture acquisition request according to a preset picture format corresponding to the client;

[0076] In this embodiment, the image acquisition request includes not only the relevant information of the target image, but also the preset image format stored in the local cache of the client, so as to clarify how to process the target image and then send it to the client. In addition, in combination with the above process, the client can also describe the operating parameters of the network currently accessed by the self-device in the image acquisition request to optimize the image processing process. For example, if the network delay is above 500 milliseconds, the worst clarity level is used for transmission, 200-500 milliseconds uses the medium level, and below 200 milliseconds uses the best clarity level.

[0077] S3: Send the processed target image to the client for display.

[0078] Please refer to Figure 2 , Embodiment 2 of the present invention is:

[0079] An optimization terminal 1 for image display includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, an optimization method for image display of embodiment 1 is implemented.

[0080] In summary, the present invention provides an optimization method and terminal for image display, which generates a preset image format in advance based on the device parameter type to which the client belongs, so that the client's image display time is less than or equal to the preset duration. When the client requests to obtain an image, the image desired by the client is processed by the preset image format and then sent to the client. The client's device parameters are closely linked with the format of the image to be sent from the service terminal, thereby greatly reducing the time required for different clients to complete image display, that is, improving the display efficiency of images by different clients and enhancing the user's browsing experience.

[0081] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for optimizing image display, characterized in that: The steps include: S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs; S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client; S3. Send the processed target image to the client for display by the client.

2. The method for optimizing picture display according to claim 1, characterized in that: Before step S1, the following steps are also included: S00, creating a picture format parsing model for executing step S1; S01, obtaining historical image information and corresponding historical display time when the client of different types of device parameter types performs image display and using them as sample data; S02. Using the sample data to train the image format parsing model.

3. The method for optimizing image display according to claim 2, characterized in that: Before step S01, the following steps are also included: A preset software tool for issuing the image acquisition request is configured for each client, and the sample data is counted by the preset software tool.

4. The method for optimizing picture display according to claim 2, characterized in that: The step S1 further comprises: Storing the preset image format in the local cache of all the clients belonging to the same device parameter type; The step S2 comprises: The image acquisition request includes the preset image format stored in the local cache of the client.

5. The method for optimizing picture display according to claim 2, characterized in that: The step S1 further comprises: The preset image format is obtained and readjusted according to the network operation parameters of the client.

6. An optimized terminal for displaying pictures, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: S1. Generate a preset picture format that enables the picture display time of the client to be less than or equal to a preset time length according to the device parameter type to which the client belongs; S2, receiving a picture acquisition request from the client, and processing a target picture corresponding to the picture acquisition request according to the preset picture format corresponding to the client; S3. Send the processed target image to the client for display by the client.

7. The optimized terminal for picture display according to claim 6, characterized in that: Before step S1, the following steps are also included: S00, creating a picture format parsing model for executing step S1; S01, obtaining historical image information and corresponding historical display time when the client of different types of device parameter types performs image display and using them as sample data; S02. Using the sample data to train the image format parsing model.

8. The optimized terminal for picture display according to claim 7, characterized in that: Before step S01, the following steps are also included: A preset software tool for issuing the image acquisition request is configured for each client, and the sample data is counted by the preset software tool.

9. The optimized terminal for picture display according to claim 7, characterized in that: The step S1 further comprises: Storing the preset image format in the local cache of all the clients belonging to the same device parameter type; The step S2 comprises: The image acquisition request includes the preset image format stored in the local cache of the client.

10. The optimized terminal for picture display according to claim 7, characterized in that: The step S1 further comprises: The preset image format is obtained and readjusted according to the network operation parameters of the client.

Citation Information

Patent Citations

  • Media information display method and device, storage medium and electronic device

    CN111158546A

  • Page display method and device, storage medium and terminal

    CN114519158A

  • Picture display method and device, electronic equipment and storage medium

    CN116708935A

  • Video frame rate control method and device, electronic equipment and readable storage medium

    CN117176988A

  • Information processing method and apparatus, device and medium

    WO2023241607A1