Image Transmission Method, Apparatus, Computer Device, and Storage Medium

Optimizing image transmission through full and component transmission methods solves the problem of long waiting time caused by large engineering drawing files, realizes the need to quickly browse the area of interest, and improves the user experience.

CN116156068BActive Publication Date: 2025-07-25BEIJING INFOSIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211646903.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2025-07-25
Estimated Expiration
2042-12-21

AI Technical Summary

Technical Problem

In traditional image transmission methods, the files of engineering drawings are large, resulting in the user waiting time for a long time and unable to quickly browse the area of interest.

Method used

The image information of the specified sub-region is sent by full transmission method, and the image information of other sub-region is sent by component transmission method, and the image transmission is controlled through preset sub-region browsing rules and weight value priority.

Benefits of technology

It reduces the amount and time of image transmission, improves transmission efficiency, shortens the waiting time for the client to display images, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116156068B_ABST
    Figure CN116156068B_ABST
Patent Text Reader

Abstract

This application relates to an image transmission method, apparatus, computer device, and storage medium. The method includes: obtaining an image transmission request sent by a client; the image transmission request carrying image identification information and identification information related to a specified sub-region; determining a target image according to the image identification information, the target image including a plurality of sub-regions; determining the specified sub-region from the plurality of sub-regions according to the identification information related to the specified sub-region; in response to the image transmission request, sending the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and sending the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the client in a component transmission manner. By using the technical solution provided by the embodiments of this application, the amount of data transmitted during image transmission is reduced, and the transmission duration is shortened. Correspondingly, the waiting duration when the client displays the target image is also shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer application technologies, and particularly to an image transmission method, apparatus, computer device, and storage medium. Background Art

[0002] In the engineering field, a server storing engineering design drawings often receives an image browsing request sent by a client.

[0003] In the traditional technology, the server transmits the image to the client according to the image browsing request. Since the files of engineering drawings are usually large, the transmission takes a long time. It should be noted that a large engineering drawing is usually completed through the division of labor and cooperation of multiple users in multiple departments. The user who sends the image browsing request using the client usually only cares about the image in a part of the drawing area. Since the user can view the area of interest in the drawing only after downloading all the information of the entire drawing, the waiting time for the user to view the area of interest is relatively long in the traditional image transmission method.

[0004] Therefore, how to improve the image transmission method to shorten the image transmission duration and reduce the waiting duration when the client displays the image is a technical problem to be solved urgently. Summary of the Invention

[0005] Based on this, in view of the above technical problems, it is necessary to provide an image transmission method, apparatus, computer device, and storage medium.

[0006] In a first aspect, this application provides an image transmission method, and the method includes:

[0007] Obtain an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region;

[0008] Determine a target image according to the image identification information, where the target image includes a plurality of sub-regions;

[0009] Determine the specified sub-region from the plurality of sub-regions according to the identification information related to the specified sub-region;

[0010] In response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the client in a component transmission manner; where the full-volume transmission manner refers to a transmission manner in which all the image information corresponding to all the pixel points of the image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all the pixel points of the image to be transmitted is sent.

[0011] In one embodiment, the identification information related to the specified sub-region includes: user identification;

[0012] Determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region includes:

[0013] Determining the specified sub-region based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the corresponding relationship between the user identification and the set of sub-region identifications corresponding to the user's browsing permissions.

[0014] In one embodiment, the identification information related to the specified sub-region includes: a set of selected sub-region identifications;

[0015] Determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region includes:

[0016] Determining the specified sub-region from the multiple sub-regions based on the set of selected sub-region identifications.

[0017] In one embodiment, each of the other sub-regions in the target image other than the specified sub-region corresponds to a weight value, and the weight value is positively correlated with the amount of image information of the sub-region corresponding to the weight value sent to the client;

[0018] The method further includes: determining the transmission priorities of each of the other sub-regions in the target image other than the specified sub-region according to the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region.

[0019] In one embodiment, sending the image information corresponding to the other sub-regions in the target image other than the specified sub-region to the client by using a component transmission method includes:

[0020] Performing the step of sequentially sending the image information corresponding to the other sub-regions to the client by using a component transmission method according to the transmission priority.

[0021] In one embodiment, the method further includes: detecting the network transmission quality;

[0022] Before sending the image information corresponding to the other sub-regions in the target image other than the specified sub-region to the client by using a component transmission method, the method further includes:

[0023] When the network transmission quality is lower than a threshold, reducing the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region according to a preset weight value adjustment strategy.

[0024] Second aspect, the present application further provides an image display method, the method comprising:

[0025] Determine a target image to be displayed and a specified sub-region in the target image; the target image includes a plurality of sub-regions;

[0026] Send an image transmission request to a target terminal, the image transmission request carrying image identification information of the target image and identification information related to the specified sub-region, and the target image is stored in the target terminal;

[0027] Obtain image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission manner, and obtain image information corresponding to other sub-regions outside the specified sub-region in the target image sent by the target terminal in a component transmission manner; wherein, the full-volume transmission manner refers to a transmission manner in which image information corresponding to all pixel points of an image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of an image to be transmitted is sent.

[0028] Display the target image according to the obtained image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission manner and the image information corresponding to other sub-regions outside the specified sub-region in the target image sent by the target terminal in a component transmission manner.

[0029] Third aspect, the present application further provides an image transmission device, comprising: an acquisition module, a determination module and a transmission module, wherein,

[0030] The acquisition module is configured to acquire an image transmission request sent by a client, the image transmission request carrying image identification information and identification information related to a specified sub-region;

[0031] The determination module is configured to determine a target image according to the image identification information, and determine a specified sub-region from a plurality of sub-regions according to the identification information related to the specified sub-region; the target image includes a plurality of sub-regions;

[0032] The transmission module is configured to, in response to the image transmission request, send image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send image information corresponding to other sub-regions outside the specified sub-region in the target image to the client in a component transmission manner; wherein, the full-volume transmission manner refers to a transmission manner in which image information corresponding to all pixel points of an image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of an image to be transmitted is sent.

[0033] In one embodiment, the identification information related to the specified sub-region includes: user identification; the determining module is specifically configured to: determine the specified sub-region based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifiers corresponding to the user's browsing permissions.

[0034] In one embodiment, the identification information related to the specified sub-region includes: a set of selected sub-region identifiers, and the determining module is specifically configured to: determine the specified sub-region from the multiple sub-regions based on the set of selected sub-region identifiers.

[0035] In one embodiment, each of the other sub-regions in the target image other than the specified sub-region corresponds to a weight value, and the weight value is positively correlated with the amount of image information of the sub-region corresponding to the weight value to be sent to the client;

[0036] The determining module is further configured to determine the transmission priorities of each of the other sub-regions in the target image other than the specified sub-region according to the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region.

[0037] In one embodiment, in terms of sending the image information corresponding to the other sub-regions in the target image other than the specified sub-region to the client by using a component transmission method, the sending module is specifically configured to: execute the step of sequentially sending the image information corresponding to the other sub-regions to the client by using a component transmission method according to the transmission priority.

[0038] In one embodiment, it further includes a detection module and a processing module,

[0039] The detection module is configured to detect the network transmission quality;

[0040] The processing module is configured to, when the network transmission quality detected by the detection module is lower than a threshold, adjust downwards the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region according to a preset weight value adjustment strategy.

[0041] Fourthly, the present application further provides an image display device, and the device includes:

[0042] A determining module, configured to determine a target image to be displayed and a specified sub-region in the target image; the target image includes multiple sub-regions;

[0043] A sending module, configured to send an image transmission request to a target terminal, where the image transmission request carries the image identification information of the target image and the identification information related to the specified sub-region, and the target image is stored in the target terminal;

[0044] An acquisition module, configured to acquire the image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission manner, and acquire the image information corresponding to other sub-regions outside the specified sub-region in the target image sent by the target terminal in a component transmission manner; wherein, the full-volume transmission manner refers to a transmission manner in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

[0045] A display module, configured to display the target image according to the image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission manner and acquired by the acquisition module, and the image information corresponding to other sub-regions outside the specified sub-region in the target image sent by the target terminal in a component transmission manner.

[0046] In a fifth aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0047] Acquire an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region;

[0048] Determine a target image according to the image identification information, where the target image includes multiple sub-regions;

[0049] Determine a specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region;

[0050] In response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send the image information corresponding to other sub-regions outside the specified sub-region in the target image to the client in a component transmission manner; wherein, the full-volume transmission manner refers to a transmission manner in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

[0051] In a sixth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0052] Acquire an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region;

[0053] Determine a target image according to the image identification information, where the target image includes a plurality of sub-regions;

[0054] Determine a specified sub-region from the plurality of sub-regions according to the identification information related to the specified sub-region;

[0055] In response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission mode, and send the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the client in a component transmission mode; wherein, the full-volume transmission mode refers to a transmission mode in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

[0056] In a seventh aspect, the present application further provides a computer program product, including a computer program, which when executed by a processor implements the following steps: obtain an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region;

[0057] Determine a target image according to the image identification information, where the target image includes a plurality of sub-regions;

[0058] Determine a specified sub-region from the plurality of sub-regions according to the identification information related to the specified sub-region;

[0059] In response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission mode, and send the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the client in a component transmission mode; wherein, the full-volume transmission mode refers to a transmission mode in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

[0060] In the above data image transmission method, device, computer device and storage medium, when performing image transmission, the image information corresponding to the specified sub-region is sent to the client in a full-volume transmission mode, and the image information corresponding to the other sub-regions other than the specified sub-region in the target image is sent to the client in a component transmission mode. Since a part of the sub-regions send the corresponding image information to the client in a component transmission mode, compared with the prior art where all sub-regions use the full-volume transmission mode, when the embodiments of the present application perform image transmission, the amount of data transmitted is reduced, and therefore, the transmission duration is shortened. Correspondingly, the waiting duration when the client displays the target image is also shortened. Description of the Drawings

[0061] Figure 1A FIG. 1 is a schematic diagram of an application scenario of an image transmission method in an embodiment;

[0062] Figure 1B FIG. 2 is a schematic diagram of a target image in an embodiment;

[0063] Figure 2 FIG. 3 is a schematic flowchart of an image transmission method in an embodiment;

[0064] Figure 3 FIG. 4 is a schematic flowchart of an image transmission method in another embodiment;

[0065] Figure 4 FIG. 5 is a schematic flowchart of an image transmission method in another embodiment;

[0066] Figure 5 FIG. 6 is a schematic block diagram of the structure of an image transmission apparatus in an embodiment;

[0067] Figure 6 FIG. 7 is a schematic internal structure diagram of a computer device in an embodiment. Detailed Description of the Embodiments

[0068] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0069] Please refer to Figure 1A , Figure 1AIt is a schematic diagram of an application scenario of an image transmission method provided by an embodiment of the present application, including a first terminal 101 and a second terminal 102. As shown in FIG. 1, when performing image transmission, the first terminal 101 acts as a client. When a user hopes to clearly view a specified sub-region in the target image on the display interface of the first terminal 101, the first terminal 101 can send an image transmission request to the second terminal 102. The image transmission request carries image identification information and identification information related to the specified sub-region; the target image is determined according to the image identification information, and the target image includes multiple sub-regions. The second terminal 102 determines the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region; in response to the image transmission request, the second terminal 102 sends the image information corresponding to the specified sub-region to the first terminal 101 in a full-volume transmission mode, and sends the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the first terminal 101 in a component transmission mode; wherein, the full-volume transmission mode refers to a transmission mode in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

[0070] After receiving the image information, the client can perform synchronous display. When using this image transmission method, the sub-region that the user is interested in and hopes to clearly view can be determined as the specified sub-region. Since the specified sub-region is transmitted in a full-volume transmission mode and the other sub-regions are transmitted in a component transmission mode during image transmission, the amount of data transmitted is reduced, the transmission time is shortened, the transmission efficiency is improved, and the user's need to clearly view the specified sub-region through the client is satisfied, thus improving the user experience.

[0071] For example, in Figure 1A the scenario shown for image transmission, the target image is as Figure 1B shown. If region A in the target image is the specified sub-region, the image transmission request carries the identification information of the image as Figure 1B shown. This identification information can be the name of the image or the serial number of the image, etc., and the identification information of region A. For example, different sub-regions in Figure 1B can be identified by different coding information. For example, region A can be identified by code 001. In response to the image transmission request, when the second terminal 102 sends the target image, only region A in the target image is transmitted in full volume. If Figure 1B regions A and B in the target image shown are the specified sub-regions, the image transmission request carries the identifications of regions A and B. When the second terminal 102 transmits the target image to the first terminal 101, only regions A and B in the target image are transmitted in full volume.

[0072] In a possible implementation, the image information sent by the second terminal 102 to the first terminal 101 may include the size of the target image and the coordinates of each sub-region in the target image. The first terminal 101 can display the images corresponding to each sub-region at the relative positions of the sub-regions in the target image according to the received image information.

[0073] In some possible implementations, in order to further reduce the amount of transmitted information, when transmitting the non-designated sub-regions in the target image, the digital information corresponding to the non-designated sub-regions may not be sent to the first terminal 101 either. When the first terminal 101 displays the target image, it can clearly display the designated sub-regions according to the received image information of the designated sub-regions transmitted in the full-volume transmission mode, and the areas corresponding to the non-designated sub-regions may be displayed as blank, or displayed as mosaics or related images with poor clarity. By adopting this implementation, it not only meets the user's need to clearly view specific sub-regions, but also reduces the amount of transmitted information, shortens the transmission duration, and reduces the waiting time for the user to view pictures.

[0074] In some possible implementations, after the first terminal 101 views the designated sub-region, if it needs to further view at least one other sub-region, the first terminal 101 can send image request information including the identifiers of the other sub-regions to be viewed to the second terminal 102. The second terminal 102 can also determine whether the user corresponding to the user identifier has the permission to view the sub-region corresponding to the sub-region identifier specified in the image transmission request according to the user identifier information carried in the image transmission request.

[0075] In a possible implementation, when the component transmission mode is adopted for transmitting the non-designated sub-regions in the target image, the image information corresponding to the non-designated sub-regions can be sent in a certain proportion. For example, if the non-designated sub-region includes 1000 pixels, the digital information of 100 of them can be randomly sent. In some possible implementations, when there are multiple non-designated sub-regions, when transmitting the image information corresponding to the non-designated sub-regions, different non-designated sub-regions can transmit a part of all the digital information according to different weight values. The closer to the designated sub-region, the greater the weight value, and the weight value is positively correlated with the amount of transmitted information. By adopting this implementation for data transmission, by setting the weight value, for example, the weight value corresponding to the sub-region farther from the designated sub-region is set smaller, when the client displays the target image, it can be realized that the image corresponding to the sub-region closer to the designated sub-region is clearer, and the image corresponding to the sub-region farther from the designated sub-region is blurrier. By adopting this implementation, by setting the weight value, it not only meets the user's need to clearly view specific sub-regions, but also can set the weight values corresponding to adjacent and farther sub-regions according to needs to meet different viewing requirements.

[0076] Please refer to Figure 2 , which is a schematic flowchart of an image transmission method provided by an embodiment of the present application. As Figure 2 shown, the image transmission method includes steps 201 to 204, where:

[0077] 201. Obtain an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region.

[0078] For example, the image transmission request may carry Figure 1B the identification of the image shown.

[0079] In some possible implementation manners, the identification information related to the specified sub-region includes a user identification or a set of selected sub-region identifications.

[0080] 202. Determine a target image according to the image identification information, where the target image includes multiple sub-regions.

[0081] 203. Determine the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region.

[0082] In some possible implementation manners, the identification information related to the specified sub-region includes: a user identification; the specified sub-region can be determined based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifications corresponding to the user browsing permission. For example, if two user identifications are set in the preset sub-region browsing rule: user 001 and user 002, the set of sub-region identifications corresponding to user 001 includes region A and region B, and the set of sub-region identifications corresponding to user 002 includes region C and region D. If the identification information related to the specified sub-region carried in the image transmission request is the user identification: user 001, then according to the preset sub-region browsing rule, the specified sub-region to be determined includes: region A and region B. If the identification information related to the specified sub-region carried in the image transmission request is the user identification: user 002, then according to the preset sub-region browsing rule, the specified sub-region to be determined includes: region C and region D.

[0083] In some possible embodiments, the identification information related to the specified sub-region includes: a set of selected sub-region identifiers; the set of selected sub-region identifiers can be at least one sub-region selected by the user through the client within the range of the sub-region set corresponding to the user's permissions; the specified sub-region is determined from multiple sub-regions based on the set of selected sub-region identifiers. For example, if the browsing permission of the user with the user identifier of user 001 is Image A and Image B, and user 001 hopes to view the corresponding image of Image A, then the identifier corresponding to Image A can be selected within its permission range, and the identifier corresponding to Image A is the set of selected sub-region identifiers. It can be understood that the set of selected sub-region identifiers can be one or more, which is specifically set according to the actual situation and is not limited here.

[0084] 204. In response to an image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send the image information corresponding to other sub-regions outside the specified sub-region in the target image to the client in a component transmission manner.

[0085] Among them, the full-volume transmission manner refers to a transmission manner in which all the image information corresponding to all the pixel points of the image to be transmitted is sent. For example, if the image to be transmitted includes 1000 pixel points, the full-volume transmission is to send all the image information corresponding to all 1000 pixel points of the image to be transmitted to the client. The image information can include RGB values, brightness information, etc. The parameter attributes included in the image information can also include other parameters, which can be set according to needs and are not limited here; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all the pixel points of the image to be transmitted is sent. For example, if the image to be transmitted includes 1000 pixel points, the full-volume transmission is to send all the image information corresponding to all 1000 pixel points of the image to be transmitted to the client.

[0086] When using this embodiment for image transmission, the server, in response to the target image transmission instruction, sends the digital information corresponding to the target image to the client and only performs full-volume transmission on the specified sub-region. Since only full-volume transmission is performed on the specified sub-region, compared with the prior art, the amount of data transmitted during image transmission is reduced. Therefore, the duration of transmitting the image is shortened. Correspondingly, the waiting duration when the client displays the target image is also shortened.

[0087] Please refer to Figure 3 , which is a schematic flowchart of an image transmission method provided by another embodiment of the present application. As Figure 3 shown, the image transmission method includes steps 301 to 305, where:

[0088] 301. Obtain an image transmission request sent by the client. The image transmission request carries image identification information and identification information related to a specified sub-region.

[0089] For example, the image transmission request may carry Figure 1B the identification of the image shown.

[0090] In some possible implementation manners, the identification information related to the specified sub-region includes a user identification or a set of selected sub-region identifications.

[0091] 302. Determine a target image according to the image identification information. The target image includes multiple sub-regions.

[0092] 303. Determine the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region.

[0093] In some possible implementation manners, the identification information related to the specified sub-region includes: a user identification; the specified sub-region can be determined based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifications corresponding to the user's browsing permissions. For example, if two user identifications are set in the preset sub-region browsing rule: user 001 and user 002, the set of sub-region identifications corresponding to user 001 includes region A and region B, and the set of sub-region identifications corresponding to user 002 includes region C and region D. If the identification information related to the specified sub-region carried in the image transmission request is the user identification: user 001, then according to the preset sub-region browsing rule, the specified sub-region to be determined includes: region A and region B. If the identification information related to the specified sub-region carried in the image transmission request is the user identification: user 002, then according to the preset sub-region browsing rule, the specified sub-region to be determined includes: region C and region D.

[0094] In some possible implementation manners, the identification information related to the specified sub-region includes: a set of selected sub-region identifications; the set of selected sub-region identifications can be at least one sub-region selected by the user through the client within the range of the set of sub-regions corresponding to the user's permissions; the specified sub-region is determined from the multiple sub-regions based on the set of selected sub-region identifications. For example, if the user 001's browsing permission is image A and image B, and user 001 hopes to view the corresponding image of image A, then the user can select the identification corresponding to image A within its permission range, and the identification corresponding to image A is the set of selected sub-region identifications. It can be understood that the set of selected sub-region identifications can be one or more, which is specifically set according to the actual situation and is not limited here.

[0095] 304. Determine the transmission priorities of other sub-regions in the target image except the specified sub-region according to the weight values respectively corresponding to the other sub-regions in the target image except the specified sub-region.

[0096] For example, the weight values respectively corresponding to the other sub-regions except the specified sub-region can be set in advance. For instance, if the target image includes Region A, Region B, Region C, and Region D, and Region A is the specified sub-region, and the weight values respectively corresponding to Region B, Region C, and Region D are 0.8, 0.7, and 0.6, then the priorities from high to low are: Region B, Region C, and Region D.

[0097] 305. In response to an image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send the image information corresponding to the other sub-regions to the client in a component transmission manner in sequence according to the transmission priorities.

[0098] Among them, the full-volume transmission manner refers to a transmission manner in which the image information corresponding to all pixel points of the image to be transmitted is sent. For example, if the image to be transmitted includes 1000 pixel points, then the full-volume transmission is to send the image information corresponding to all 1000 pixel points of the image to be transmitted to the client. The image information can include RGB values, brightness information, etc. The parameter attributes included in the image information can also include other parameters, which can be set according to needs and are not limited here; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent. For example, if the image to be transmitted includes 1000 pixel points, then the full-volume transmission is to send the image information corresponding to all 1000 pixel points of the image to be transmitted to the client.

[0099] Taking the example in step 304, for instance, if the target image includes Region A, Region B, Region C, and Region D, and Region A is the specified sub-region, and the weight values respectively corresponding to Region B, Region C, and Region D are 0.8, 0.7, and 0.6, then the priorities from high to low are: Region B, Region C, and Region D. Then when transmitting the image information to the client, send the image information corresponding to Region A to the client in a full-volume transmission manner, and then send the image information corresponding to each region to the client in a component transmission manner in the order of Region B, Region C, and Region D. If Region B, Region C, and Region D include 1000 pixel points, then when transmitting the image information corresponding to Region B, Region C, and Region D, the image information corresponding to 800 pixel points of Region B can be transmitted in a component transmission manner first, then the image information corresponding to 700 pixel points of Region C can be transmitted in a component transmission manner, and finally the image information corresponding to 600 pixel points of Region D can be transmitted in a component transmission manner.

[0100] In some possible embodiments, the client can display in real time according to the received image information. After receiving the image information corresponding to the specified sub-region, the image corresponding to the specified sub-region is preferentially displayed, and then the transmission order of the image information of other sub-regions is determined according to the weight values corresponding to the other sub-regions respectively. The weight value can be determined according to the distance between the other sub-region and the specified sub-region. The smaller the weight value corresponding to the sub-region that is farther from the specified sub-region.

[0101] When using this embodiment for image transmission, the image information corresponding to the specified sub-region is preferentially sent, and then the image information corresponding to each of the other sub-regions is sent according to the priority. This is beneficial for the client to view the image corresponding to the specified sub-region first. Since only the full amount of data is transmitted for the specified sub-region, compared with the prior art, the amount of data transmitted during image transmission is reduced. Therefore, the time taken to transmit the image is shortened. Correspondingly, the waiting time for the client to display the target image is also shortened.

[0102] Please refer to Figure 4 , which is a schematic flowchart of an image transmission method provided by another embodiment of the present application. As Figure 4 shown, the image transmission method includes steps 401 to 408, where: steps 401 to 403 are similar to steps 301 to 303. For simplicity, they will not be described here again. For details, please refer to the description of steps 301 to 303 above.

[0103] 404. Detect the network transmission quality.

[0104] 405. Determine whether the network transmission quality is lower than the preset value. If not, execute step 406. If so, execute steps 407 and 408.

[0105] 406. In response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission mode, and send the image information corresponding to the other sub-regions outside the specified sub-region in the target image to the client in a component transmission mode.

[0106] 407. Adjust the weight values corresponding to each of the other sub-regions outside the specified sub-region in the target image according to the preset weight value adjustment strategy.

[0107] For example, if the target image includes region A, region B, region C, and region D, region A is the specified sub-region, and the weight values corresponding to region B, region C, and region D are 0.8, 0.7, and 0.6 respectively, then the priorities from high to low are: region B, region C, and region D. When the network transmission quality is lower than the threshold, the weight values corresponding to region B, region C, and region D are successively adjusted to 0.5, 0.3, and 0.1.

[0108] 408. In response to an image transmission request, the image information corresponding to a specified sub-region is sent to the client in a full-volume transmission manner, and the image information corresponding to other sub-regions outside the specified sub-region in the target image is sent to the client in a component transmission manner.

[0109] For example, when transmitting image information to the client, the image information corresponding to region A is sent to the client in a full-volume transmission manner, and then the image information corresponding to each of regions B, C, and D is sent to the client in a component transmission manner in the order of region B, region C, and region D. If regions B, C, and D include 1000 pixel points, then when transmitting the image information corresponding to regions B, C, and D, the image information corresponding to 500 pixel points in region B can be transmitted first in a component transmission manner, then the image information corresponding to 300 pixel points in region C can be transmitted in a component transmission manner, and finally the image information corresponding to 100 pixel points in region D can be transmitted in a component transmission manner.

[0110] When performing image transmission using this embodiment, when the network transmission quality is lower than the threshold, the weight values corresponding to other sub-regions outside the specified sub-region are lowered, which can further reduce the amount of data transmitted during image transmission and is beneficial to further shortening the duration of transmitting the image. Correspondingly, the waiting duration when the client displays the target image is also shortened.

[0111] It should be understood that although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the arrows, these steps do not necessarily have to be executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily have to be executed at the same moment, but can be executed at different moments. The execution order of these steps or stages does not necessarily have to be sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0112] Based on the same inventive concept, an embodiment of the present application further provides an image transmission device for implementing the above-mentioned image transmission method. The implementation solutions for solving problems provided by this device are similar to the implementation solutions described in the above method. Therefore, the specific limitations in one or more embodiments of the following image transmission device can refer to the limitations on the image transmission method in the above text and will not be repeated here.

[0113] In one embodiment, as Figure 5As shown, an image transmission device 500 is provided, including: an acquisition module 501, a determination module 502, and a transmission module 503. Among them: The acquisition module 501 is used to acquire an image transmission request sent by a client, and the image transmission request carries image identification information and identification information related to a specified sub-region. In some possible implementation manners, the identification information related to the specified sub-region includes a user identification or a set of selected sub-region identifications. The determination module 502 is used to determine a target image according to the image identification information, and determine the specified sub-region from multiple sub-regions according to the identification information related to the specified sub-region; the target image includes multiple sub-regions. The transmission module 503 is used to, in response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and send the image information corresponding to other sub-regions other than the specified sub-region in the target image to the client in a component transmission manner.

[0114] In one embodiment, the identification information related to the specified sub-region includes: a user identification; the determination module is specifically configured to: determine the specified sub-region based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and a set of sub-region identifications corresponding to the user's browsing permission.

[0115] In one embodiment, the identification information related to the specified sub-region includes: a set of selected sub-region identifications, and the determination module is specifically configured to: determine the specified sub-region from multiple sub-regions based on the set of selected sub-region identifications.

[0116] In one embodiment, each of the other sub-regions other than the specified sub-region in the target image corresponds to a weight value, and the weight value is positively correlated with the amount of information of the image information sent to the client corresponding to the sub-region corresponding to the weight value; the determination module is further configured to determine the transmission priority of each of the other sub-regions other than the specified sub-region in the target image according to the weight values corresponding to each of the other sub-regions other than the specified sub-region in the target image.

[0117] In one embodiment, in terms of sending the image information corresponding to the other sub-regions other than the specified sub-region in the target image to the client in a component transmission manner, the transmission module is specifically configured to: execute the step of sequentially sending the image information corresponding to the other sub-regions to the client in a component transmission manner according to the transmission priority.

[0118] In one embodiment, it further includes a detection module and a processing module. The detection module is used to detect the network transmission quality; the processing module is used to, when the network transmission quality detected by the detection module is lower than a threshold, lower the weight values corresponding to each of the other sub-regions other than the specified sub-region in the target image according to a preset weight value adjustment strategy.

[0119] In one embodiment, an image display device is provided, including: a determination module, a transmission module, an acquisition module, and a display module. Among them, the determination module is configured to determine a target image to be displayed and a specified sub-region in the target image; the target image includes multiple sub-regions; the transmission module is configured to send an image transmission request to a target terminal, and the image transmission request carries image identification information of the target image and identification information related to the specified sub-region, and the target image is stored in the target terminal; the acquisition module is configured to acquire image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission mode, and acquire image information corresponding to other sub-regions in the target image except the specified sub-region sent by the target terminal in a component transmission mode; wherein, the full-volume transmission mode refers to a transmission mode in which image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent; the display module is configured to display the target image according to the image information corresponding to the specified sub-region sent by the target terminal in the full-volume transmission mode acquired by the acquisition module and the image information corresponding to other sub-regions in the target image except the specified sub-region sent by the target terminal in the component transmission mode.

[0120] Each module in the above data synchronization device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to each of the above modules.

[0121] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 6 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the target image and the browsing permission data of each sub-region in the target image. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an image transmission method is implemented.

[0122] Those skilled in the art can understand that Figure 6 The structure shown in Figure 6 is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0123] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: obtaining an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region. Determining a target image according to the image identification information, where the target image includes multiple sub-regions. Determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region. In response to the image transmission request, sending the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and sending the image information corresponding to other sub-regions other than the specified sub-region in the target image to the client in a component transmission manner.

[0124] In one embodiment, the identification information related to the specified sub-region includes: a user identification; in terms of determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region, when the processor executes the computer program, the following steps are specifically implemented: determining the specified sub-region based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifications corresponding to the user's browsing permission.

[0125] In one embodiment, the identification information related to the specified sub-region includes: a set of selected sub-region identifications; in terms of determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region, when the processor executes the computer program, the following steps are specifically implemented: determining the specified sub-region from the multiple sub-regions based on the set of selected sub-region identifications.

[0126] In one embodiment, each of the other sub-regions other than the specified sub-region in the target image corresponds to a weight value, and the weight value is positively correlated with the amount of information of the image information sent to the client for the sub-region corresponding to the weight value; when the processor executes the computer program, the following steps are also implemented: determining the transmission priority of each of the other sub-regions other than the specified sub-region in the target image according to the weight values corresponding to each of the other sub-regions other than the specified sub-region in the target image.

[0127] In one embodiment, when the processor executes the computer program to send, in a component transmission mode, the image information corresponding to other sub-regions other than the specified sub-region in the target image, the following steps are specifically implemented: execute the step of sequentially sending, in a component transmission mode, the image information corresponding to other sub-regions to the client according to the transmission priority.

[0128] In one embodiment, when the processor executes the computer program, the following steps are further implemented: detect the network transmission quality; before sending, in a component transmission mode, the image information corresponding to other sub-regions other than the specified sub-region in the target image to the client, when the processor executes the computer program, the following steps are further implemented: when the network transmission quality is lower than the threshold, adjust downwards the weight values corresponding to each of the other sub-regions other than the specified sub-region in the target image according to the preset weight value adjustment strategy.

[0129] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the following steps are implemented: obtain an image transmission request sent by the client, where the image transmission request carries image identification information and identification information related to the specified sub-region. Determine the target image according to the image identification information, where the target image includes multiple sub-regions. Determine the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region. In response to the image transmission request, send, in a full-volume transmission mode, the image information corresponding to the specified sub-region to the client, and send, in a component transmission mode, the image information corresponding to other sub-regions other than the specified sub-region in the target image to the client.

[0130] In one embodiment, the identification information related to the specified sub-region includes: user identification; when determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region, when the computer program is executed by the processor, the following steps are specifically implemented: determine the specified sub-region based on the preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifiers corresponding to the user browsing permission.

[0131] In one embodiment, the identification information related to the specified sub-region includes: the set of selected sub-region identifiers; when determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region, when the computer program is executed by the processor, the following steps are specifically implemented: determine the specified sub-region from the multiple sub-regions based on the set of selected sub-region identifiers.

[0132] In one embodiment, each of the other sub-regions in the target image outside the specified sub-region corresponds to a weight value, and the weight value is positively correlated with the amount of image information of the sub-region corresponding to the weight value sent to the client; when the computer program is executed by a processor, the following steps are further implemented: determining the transmission priority of each of the other sub-regions in the target image outside the specified sub-region according to the weight values corresponding to each of the other sub-regions in the target image outside the specified sub-region.

[0133] In one embodiment, in terms of sending the image information corresponding to the other sub-regions in the target image outside the specified sub-region to the client in a component transmission manner, when the computer program is executed by a processor, the following steps are specifically implemented: performing the step of sequentially sending the image information corresponding to the other sub-regions to the client in a component transmission manner according to the transmission priority.

[0134] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented: detecting the network transmission quality; before sending the image information corresponding to the other sub-regions in the target image outside the specified sub-region to the client in a component transmission manner, when the computer program is executed by a processor, the following steps are specifically further implemented: when the network transmission quality is lower than a threshold, reducing the weight values corresponding to each of the other sub-regions in the target image outside the specified sub-region according to a preset weight value adjustment strategy.

[0135] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the following steps are implemented: obtaining an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region. Determining a target image according to the image identification information, where the target image includes multiple sub-regions. Determining a specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region. In response to the image transmission request, sending the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and sending the image information corresponding to the other sub-regions in the target image outside the specified sub-region to the client in a component transmission manner.

[0136] In one embodiment, the identification information related to the specified sub-region includes: a user identification; in terms of determining the specified sub-region from the multiple sub-regions according to the identification information related to the specified sub-region, when the computer program is executed by a processor, the following steps are specifically implemented: determining the specified sub-region based on a preset sub-region browsing rule and the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identification corresponding to the user browsing permission.

[0137] In one embodiment, the identification information related to the specified sub-region includes: a set of selected sub-region identifiers; in terms of determining the specified sub-region from multiple sub-regions according to the identification information related to the specified sub-region, when the computer program is executed by the processor, the following steps are specifically implemented: determining the specified sub-region from multiple sub-regions based on the set of selected sub-region identifiers.

[0138] In one embodiment, each of the other sub-regions in the target image other than the specified sub-region corresponds to a weight value, and the weight value is positively correlated with the amount of image information of the sub-region corresponding to the weight value sent to the client; when the computer program is executed by the processor, the following steps are further implemented: determining the transmission priority of each of the other sub-regions in the target image other than the specified sub-region according to the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region.

[0139] In one embodiment, in terms of sending the image information corresponding to the other sub-regions in the target image other than the specified sub-region to the client by using the component transmission method, when the computer program is executed by the processor, the following steps are specifically implemented: executing the step of sequentially sending the image information corresponding to the other sub-regions to the client by using the component transmission method according to the transmission priority.

[0140] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: detecting the network transmission quality; before sending the image information corresponding to the other sub-regions in the target image other than the specified sub-region to the client by using the component transmission method, when the processor executes the computer program, the following steps are further implemented: when the network transmission quality is lower than the threshold, reducing the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region according to the preset weight value adjustment strategy.

[0141] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0142] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0143] The above-described embodiments only represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application should be subject to the appended claims.

Claims

1. An image transmission method, characterized in that, The method includes: Obtaining an image transmission request sent by a client, where the image transmission request carries image identification information and identification information related to a specified sub-region, and the identification information related to the specified sub-region includes a user identification; Determining a target image according to the image identification information, where the target image includes multiple sub-regions; Based on a preset sub-region browsing rule, determining the specified sub-region corresponding to the user's browsing permission for the user identification; the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifiers corresponding to the user's browsing permission; each of the other sub-regions in the target image other than the specified sub-region corresponds to a weight value; According to the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region, determining the transmission priorities of each of the other sub-regions in the target image other than the specified sub-region; In response to the image transmission request, sending the image information corresponding to the specified sub-region to the client in a full-volume transmission manner, and sending the image information corresponding to each of the other sub-regions in the target image other than the specified sub-region to the client in a component transmission manner according to the transmission priorities; where the full-volume transmission manner refers to a transmission manner in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission manner refers to a transmission manner in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

2. The method according to claim 1, characterized in that, The weight value is positively correlated with the amount of image information of the sub-region corresponding to the weight value sent to the client.

3. The method according to claim 2, wherein The method further includes: detecting the network transmission quality; Before sending the image information corresponding to each of the other sub-regions in the target image other than the specified sub-region to the client in a component transmission manner according to the transmission priorities, the method further includes: When the network transmission quality is lower than a threshold, reducing the weight values corresponding to each of the other sub-regions in the target image other than the specified sub-region according to a preset weight value adjustment strategy.

4. An image display method, characterized in that, The method includes: Determining a target image to be displayed and the specified sub-region corresponding to the user's browsing permission for the user identification in the target image; the target image includes multiple sub-regions; the specified sub-region is determined based on a preset sub-region browsing rule, and the preset sub-region browsing rule includes: the correspondence between the user identification and the set of sub-region identifiers corresponding to the user's browsing permission; Sending an image transmission request to a target terminal, where the image transmission request carries the image identification information of the target image and the identification information related to the specified sub-region, the target image is stored in the target terminal, and the identification information related to the specified sub-region includes a user identification; Obtain the image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission mode, and obtain the image information corresponding to each other sub-region other than the specified sub-region in the target image sent by the target terminal in a component transmission mode according to the transmission priorities of each other sub-region other than the specified sub-region in the target image; wherein, the full-volume transmission mode refers to a transmission mode in which the image information corresponding to all pixel points of the image to be transmitted is sent; each other sub-region other than the specified sub-region in the target image corresponds to a weight value respectively, and the transmission priorities of each other sub-region are determined according to the weight values corresponding to each other sub-region respectively, and the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent. Display the target image according to the image information corresponding to the specified sub-region sent by the target terminal in a full-volume transmission mode and the image information corresponding to each other sub-region other than the specified sub-region in the target image sent by the target terminal in a component transmission mode.

5. An image transmission device, characterized in that, Comprising: An obtaining module, a determining module and a sending module, wherein, The obtaining module is configured to obtain an image transmission request sent by a client, and the image transmission request carries image identification information and identification information related to a specified sub-region, and the identification information related to the specified sub-region includes a user identification. The determining module is configured to determine a target image according to the image identification information, and the target image includes a plurality of sub-regions. The determining module is further configured to determine a specified sub-region corresponding to the user browsing permission of the user identification based on a preset sub-region browsing rule; the preset sub-region browsing rule includes: the corresponding relationship between the user identification and the set of sub-region identifications corresponding to the user browsing permission; each other sub-region other than the specified sub-region in the target image corresponds to a weight value respectively. The determining module is further configured to determine the transmission priorities of each other sub-region other than the specified sub-region in the target image according to the weight values corresponding to each other sub-region other than the specified sub-region in the target image. The sending module is configured to, in response to the image transmission request, send the image information corresponding to the specified sub-region to the client in a full-volume transmission mode, and send the image information corresponding to each other sub-region other than the specified sub-region in the target image to the client in a component transmission mode according to the transmission priorities; wherein, the full-volume transmission mode refers to a transmission mode in which the image information corresponding to all pixel points of the image to be transmitted is sent; the component transmission mode refers to a transmission mode in which a part of the image information corresponding to all pixel points of the image to be transmitted is sent.

6. The device according to claim 5, characterized in that The weight value is positively correlated with the amount of information of the image information sent for the sub-region corresponding to the weight value to the client.

7. The device according to claim 6, characterized in that, The apparatus further comprises: A detection module, configured to detect the network transmission quality. A processing module, configured to, when the network transmission quality is lower than a threshold, adjust downward the weight values respectively corresponding to other sub-regions except the specified sub-region in the target image according to a preset weight value adjustment strategy.

8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Image uploading and loading method, uploading terminal, server and storage medium

    CN107402973A

  • Video coding method and device, server and storage medium

    CN110087081A