Method and terminal for optimizing picture presentation

By generating preset image formats based on client device parameters, the image display process is optimized, solving the problem of uneven display efficiency caused by differences in resolution and resources among different client devices, and improving the user experience.

CN118963886BActive Publication Date: 2025-11-28福建天晴在线互动科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Different client devices have varying resolutions and resource limitations, resulting in inconsistent image display efficiency and a poor user browsing experience.

Method used

A preset image format is generated based on the client device parameter type. The target image is then processed using the preset image format and sent to shorten the client image display time.

Benefits of technology

It improved the efficiency of image display across different clients, enhancing the user's browsing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963886B_ABST
    Figure CN118963886B_ABST
Patent Text Reader

Abstract

The application discloses a kind of optimization methods of picture display, according to the equipment parameter type of client belonging, generate the preset picture format that makes the picture display time of client less than or equal to preset length;Receive the picture acquisition request of client, according to the target picture corresponding to the picture acquisition request of the preset picture format processing of client;The target picture after processing is sent to client, for the client to show.The application closely links the equipment parameter of client with the format of the picture to be issued on service terminal, so as to greatly reduce the time required for different clients to complete picture display, i.e. improve the display efficiency of different clients to picture, improve the browsing experience of user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of image processing, in particular to a picture display optimization method and terminal. BACKGROUND

[0002] At present, many client APPs have the function of picture display. Usually, a picture uploaded to the server will not change. Different clients directly display the picture after obtaining the picture. However, due to the resolution and frame number of the picture and the model resources of different client devices, the display efficiency of the client when displaying the picture is not the same, which leads to the fact that some clients spend a long time in the process of displaying a picture. Especially when multiple pictures need to be displayed continuously, this will bring a poor browsing experience to the user. SUMMARY

[0003] The technical problem to be solved by the present application is to provide a picture display optimization method and terminal, improve the display efficiency of different clients for pictures, and improve the browsing experience of users.

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

[0005] A picture display optimization method, comprising the following steps:

[0006] S1, generating a preset picture format according to the device parameter type to which the client belongs, so that the picture display time of the client is less than or equal to a preset time length;

[0007] S2, receiving a picture acquisition request of 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, sending the processed target picture to the client for display by the client.

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

[0010] A picture display optimization terminal, 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, generating a preset picture format according to the device parameter type to which the client belongs, so that the picture display time of the client is less than or equal to a preset time length;

[0012] S2, receiving a picture acquisition request of 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, sending the processed target picture to the client for display.

[0014] The application has the advantages that the method and the terminal for optimizing picture display are provided, the preset picture format is generated according to the equipment parameter type of the client, the picture display time of the client is less than or equal to the preset time length, the picture that the client wants is processed according to the preset picture format when the client requests to acquire the picture, and then the processed picture is sent to the client, the equipment parameter of the client is closely related to the format of the picture to be sent on the service terminal, the time required for the different clients to complete the picture display is greatly reduced, the display efficiency of the different clients for the picture is improved, and the browsing experience of the user is improved. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 It is a step schematic diagram of the method for optimizing picture display.

[0016] Figure 2 It is a system block diagram of the terminal for optimizing picture display.

[0017] Label explanation:

[0018] 1. A terminal for optimizing picture display, comprising: 2, a memory; and 3, a processor. DETAILED DESCRIPTION

[0019] To make the technical content, the achieved purposes and effects of the application clear, the following will be described in detail in combination with the embodiments and the drawings.

[0020] Please refer to Figure 1 A method for optimizing picture display, comprising the following steps:

[0021] S1, generating a preset picture format according to the equipment parameter type of the client, so that the picture display time of the client is less than or equal to a preset time length;

[0022] S2, receiving a picture acquisition request of 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, sending the processed target picture to the client for display.

[0024] From the above description, the beneficial effects of the present application are that: according to the device parameter type to which the client belongs, a preset picture format is generated, so that the picture display time of the client is less than or equal to the preset time length, and when the client requests to obtain the picture, the picture that the client wants is processed by the preset picture format and then sent to the client, the device parameters of the client are closely related to the format of the picture to be downloaded on the service terminal, so that the time required for different clients to complete picture display is greatly reduced, that is, the display efficiency of different clients to the picture is improved, and the user's browsing experience is improved.

[0025] Further, the step S1 further comprises:

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

[0027] S01, obtaining historical picture information and corresponding historical display time of the client when performing picture display belonging to different types of device parameter types as sample data;

[0028] S02, training the picture format analysis model by using the sample data.

[0029] From the above description, corresponding to the process of generating the preset picture format, the big data model is used for intelligent processing, and the process of the client of different types of device parameter types displaying the picture in daily life is used as sample data to train the picture format analysis model, so as to improve the adaptability of the generated preset picture format to the corresponding client device.

[0030] Further, the step S01 further comprises:

[0031] A preset software tool for sending the picture acquisition request is configured for each client, and the sample data is counted through the preset software tool.

[0032] From the above description, by means of the preset software tool, the action of the client obtaining the picture is combined with the action of recording the client displaying the picture, so as to facilitate collecting a large amount of sample data while processing the request of the client, so that the picture format analysis model is fully trained, the application object is more comprehensive, and the data analysis is more accurate.

[0033] Further, the step S1 further comprises:

[0034] The preset picture format is stored in the local cache of all the clients belonging to the same device parameter type;

[0035] The step S2 comprises:

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

[0037] From the above description, storing the generated preset picture format into the local cache of the corresponding type of client can effectively reduce the data storage pressure on the service terminal, and integrating the preset picture format acquisition process into the picture acquisition request of the client makes the cooperation between the service terminal and the client more efficient and less prone to errors.

[0038] Further, the step S1 further comprises:

[0039] acquiring and re-adjusting the preset picture format according to the network running parameters of the client.

[0040] From the above description, when determining the preset picture format, not only the device parameter type of the client itself is taken as a reference, but also the network running parameters of the client are adjusted, so that the generation process of the preset picture format has a more comprehensive and actual consideration, and the final picture display is more reasonable and has stronger applicability.

[0041] Please refer to Figure 2 An optimization terminal 1 for picture display, 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, generating a preset picture format that makes the picture display time of the client 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 of 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, sending the processed target picture to the client for display by the client.

[0045] From the above description, the beneficial effects of the present application are that: a preset picture format that makes the picture display time of the client less than or equal to a preset time length is generated according to the device parameter type to which the client belongs, so that when the client requests to acquire a picture, the picture that the client wants is processed by the preset picture format before being sent to the client, and the device parameters of the client are closely related to the format of the picture to be downloaded on the service terminal, thereby greatly reducing the time required for different clients to complete picture display, i.e. improving the display efficiency of pictures by different clients and improving the browsing experience of users.

[0046] Further, the step S1 further comprises:

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

[0048] S01, obtaining historical picture information and corresponding historical display time of the client when performing picture display, which belong to different types of device parameter types, as sample data;

[0049] S02, training the picture format parsing model by using the sample data.

[0050] From the above description, it can be seen that, corresponding to the process of generating a preset picture format, a big data model is used for intelligent processing, and at the same time, the process of displaying pictures by clients of different types of device parameter types in daily life is used as sample data to train the picture format parsing model, thereby improving the adaptability of the generated preset picture format to the corresponding client device.

[0051] Further, the step S01 further comprises:

[0052] A preset software tool for issuing the picture acquisition request is configured for each of the clients, and the sample data is counted through the preset software tool.

[0053] From the above description, it can be seen that, by means of the preset software tool, the action of the client acquiring pictures is combined with the action of recording the client displaying pictures, so that the sample data can be collected in large quantities while processing the request of the client, so that the picture format parsing model is fully trained, the application object is more comprehensive, and the data parsing is more accurate.

[0054] Further, the step S1 further comprises:

[0055] The preset picture format is stored in the local cache of all the clients belonging to the same device parameter type.

[0056] The step S2 comprises:

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

[0058] From the above description, it can be seen that, by storing the generated preset picture format in the local cache of the corresponding type of client, the data storage pressure on the service terminal can be effectively reduced, and the process of obtaining the preset picture format is integrated into the picture acquisition request of the client, so that the cooperation between the service terminal and the client is more closely and efficiently, and is not prone to errors.

[0059] Further, the step S1 further comprises:

[0060] acquire and re-adjust the preset picture format according to network running parameters of the client.

[0061] From the above description, it can be seen that in determining the preset picture format, not only the device parameter type of the client itself is taken as a reference, but also the network running parameters of the client are adjusted, so that the generation process of the preset picture format has a more comprehensive and actual consideration, and the final picture display is more reasonable and has stronger applicability.

[0062] Please refer to Figure 1 , the embodiment one of the present application is:

[0063] An optimization method of picture display, comprising the following steps:

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

[0065] In this embodiment, the picture format analysis model can adopt the latest AI data analysis model, and its most basic function is to obtain the desired analysis result based on some basic data as input and then through the logical analysis processing of the model; in the application, the picture format analysis 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 at least includes the length-width-height ratio and the definition data of a picture; the display time of pictures of different formats for clients belonging to different types of device parameter types is not the same. Among them, the display time generally refers to the time from when the client obtains the picture to when the self-device analyzes and successfully displays it.

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

[0067] It should be noted that the picture format corresponding to each type of device is not unique; in different picture formats, as long as the corresponding display time meets the user's browsing demand under the hardware performance limitation of the client, it can be considered as a preset picture format. Such browsing demand can be artificially limited, i.e., the preset time mentioned in step S1, which can generally be selected in the range of 180-220 ms, preferably 200 ms.

[0068] S01, acquiring historical picture information and corresponding historical display time of the client when executing picture display of different types of device parameter types as sample data;

[0069] In this embodiment, when the picture format analysis model is established, more sample data is needed to train it. The sample data can be generated by the machine or generated by different clients in actual application. When the actual case data is used, the following steps can be followed:

[0070] Configure a preset software tool for sending a picture acquisition request for each client, and count the sample data through the preset software tool.

[0071] In this step, the preset software tool is configured on the client, which contains a function to help the client initiate a picture acquisition request. After the function is started, an asynchronous thread is started at the same time. The asynchronous thread records the time-consuming of the picture displayed by the client and the picture format information, so as to serve as sample data. During the recording process, the asynchronous thread can also judge each sample data in combination with the above-mentioned preset time length, for example, if a picture takes 200 ms to display, the asynchronous thread can report the display process that takes more than 200 ms as an abnormal case.

[0072] S02, training the picture format analysis model with sample data.

[0073] S1, generating a preset picture format that makes the picture display time of the client less than or equal to a 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 can also include the network running parameters of the client, such as the network delay time of the client when displaying a certain picture. When implementing the above step S1, the picture format analysis model can also adjust the preset picture format according to the network running parameters of the client.

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

[0076] In this embodiment, the picture acquisition request not only includes the related information of the target picture, but also includes the preset picture format stored in the local cache of the client, so as to clearly know how to process the target picture and send it to the client. In addition, in combination with the above process, the client can also explain the running parameters of the current multi-access network of the device in the picture acquisition request, so as to optimize the picture processing process, such as using the worst level of clarity for transmission when the network delay is more than 500 ms, using the medium level when the network delay is between 200 ms and 500 ms, and using the best level of clarity when the network delay is less than 200 ms.

[0077] S3, sending the processed target picture to the client for display.

[0078] Referring to Figure 2 Embodiment two of the present application is:

[0079] An optimization terminal 1 of picture display, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor 3, the processor 3 implements the optimization method of picture display of embodiment one when executing the computer program.

[0080] In summary, the present application provides an optimization method and terminal of picture display, which generates a preset picture format that makes the picture display time of the client less than or equal to a preset time length according to the equipment parameter type of the client, so that when the client requests to obtain a picture, the client's desired picture is processed by the preset picture format and then sent to the client, and the equipment parameters of the client are closely related to the format of the picture to be delivered on the service terminal, thereby greatly reducing the time required for different clients to complete picture display, i.e., improving the picture display efficiency of different clients and enhancing the user's browsing experience.

[0081] The above is only an embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent transformation or direct or indirect application in related technical fields using the content of the present application specification and drawings are also included in the patent protection scope of the present application.

Claims

1. An optimization method for image display, characterized in that, Includes the following steps: S1. Based on the device parameter type of the client, generate a preset image format that makes the image display time of the client less than or equal to a preset duration; S2. Receive the image acquisition request from the client, and process the target image corresponding to the image acquisition request according to the preset image format corresponding to the client; S3. Send the processed target image to the client for display by the client; The procedure preceding step S1 also includes: S00. Create an image format parsing model for performing step S1; S01. Obtain historical image information and corresponding historical display time when the client performs image display, which belong to different types of device parameter types, and use them as sample data; S02. Train the image format parsing model using the sample data; Step S1 further includes: The preset image format is stored in the local cache of all clients belonging to the same device parameter type; Step S1 further includes: Obtain and readjust the preset image format based on the network operating parameters of the client; Step S2 includes: The image retrieval request includes the preset image format stored in the client's local cache.

2. The method for optimizing image display according to claim 1, characterized in that, The procedure preceding step S01 also includes: Configure a preset software tool for each client to issue the image acquisition request, and use the preset software tool to collect the sample data.

3. An optimized terminal for image display, 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, it performs the following steps: S1. Based on the device parameter type of the client, generate a preset image format that makes the image display time of the client less than or equal to a preset duration; S2. Receive the image acquisition request from the client, and process the target image corresponding to the image acquisition request according to the preset image format corresponding to the client; S3. Send the processed target image to the client for display by the client; The procedure preceding step S1 also includes: S00. Create an image format parsing model for performing step S1; S01. Obtain historical image information and corresponding historical display time when the client performs image display, which belong to different types of device parameter types, and use them as sample data; S02. Train the image format parsing model using the sample data; Step S1 further includes: The preset image format is stored in the local cache of all clients belonging to the same device parameter type; Step S1 further includes: Obtain and readjust the preset image format based on the network operating parameters of the client; Step S2 includes: The image retrieval request includes the preset image format stored in the client's local cache.

4. The optimized terminal for image display according to claim 3, characterized in that, The procedure preceding step S01 also includes: Configure a preset software tool for each client to issue the image acquisition request, and use the preset software tool to collect the sample data.

Citation Information

Patent Citations

  • Page display method and device, storage medium and terminal

    CN114519158A

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

    CN116708935A