CN111724398A - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN111724398A
CN111724398A CN202010562195.4A CN202010562195A CN111724398A CN 111724398 A CN111724398 A CN 111724398A CN 202010562195 A CN202010562195 A CN 202010562195A CN 111724398 A CN111724398 A CN 111724398A
Authority
CN
China
Prior art keywords
image
content
server
area
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010562195.4A
Other languages
Chinese (zh)
Inventor
刘帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuba Co Ltd
Original Assignee
Wuba Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202010562195.4A priority Critical patent/CN111724398A/en
Publication of CN111724398A publication Critical patent/CN111724398A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4053Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4092Image resolution transcoding, e.g. by using client-server architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an image display method and device. In the application, the terminal may display the first image with the low resolution, and the user may circle the content of the user, which needs to be viewed heavily, on the first image, so that the terminal may obtain the part of the content with the high resolution in the server and display the part of the content for the user to view heavily. The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.

Description

Image display method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an image display method and apparatus.
Background
With the rapid development of the technology, people are already used to work or entertain with the mobile phone, for example, users can view images on the mobile phone through an application program.
In order to improve the experience of viewing images by users, the images displayed by the current application programs are often high-definition images. However, the space occupied by the high definition map is often large, and a long time is consumed for downloading the high definition map from the background server corresponding to the application program by the mobile phone, which causes that a user needs to wait for a long time to view the image after the application program enters the page where the image is located, thereby causing the user experience to be low.
Disclosure of Invention
In order to improve user experience, the application shows an image display method and device.
In a first aspect, the present application shows an image display method applied to a terminal, the method including:
displaying a first image;
acquiring a first position area designated by a user on the first image;
sending an acquisition request to a server, wherein the acquisition request is used for acquiring a second image, the content of the second image is the same as that in the first position area of the first image, and the resolution of the second image is greater than that of the first position area of the first image;
receiving the second image returned by the server according to the acquisition request;
replacing content in the first location area in the first image with the second image.
In an optional implementation manner, the acquiring a first location area specified by a user on the first image includes:
and acquiring a projection area of the sight line direction of the user on the first image, and taking the projection area as the first position area.
In an optional implementation, the method further includes:
receiving a third image sent by the server, wherein the content of the third image is the same as the content of the first image in the area except the first position area, and the resolution of the third image is greater than that of the first image in the area except the first position area;
replacing content in a region in the first image other than the first location region with the third image.
In a second aspect, the present application shows an image display method applied to a server, the method including:
receiving an acquisition request sent by a terminal, wherein the acquisition request is used for acquiring a second image, the content of the second image is the same as the content in a first position area of a first image, the resolution of the second image is greater than the resolution of the first position area of the first image, and the first position area is specified on the first image displayed on the terminal by a user;
acquiring the second image according to the acquisition request;
and sending the second image to the terminal so as to enable the terminal to replace the content in the first position area in the first image by using the second image.
In an optional implementation, the method further includes:
acquiring a third image, wherein the content of the third image is the same as that of the first image in the region except the first position region, and the resolution of the third image is greater than that of the first image in the region except the first position region;
and sending the third image to the terminal so as to enable the terminal to replace the content in the area except the first position area in the first image by using the third image.
In an optional implementation manner, the acquiring the second image according to the acquisition request includes:
determining whether the second image is stored in the server;
under the condition that the second image is stored in the server, the stored second image is acquired;
and under the condition that the second image is not stored in the server, intercepting the second image in real time in a high-definition image corresponding to the first image, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
In an optional implementation manner, after the capturing the second image in real time in the high-definition image corresponding to the first image, the method further includes:
and storing the second image intercepted in real time in the server.
In an optional implementation manner, the obtaining request carries position coordinates of the first position area in the first image;
the determining whether the second image is stored in the server includes:
searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
under the condition that the second image corresponding to the position coordinate is found, determining that the second image is stored in the server;
and under the condition that the second image corresponding to the position coordinate is not found, determining that the second image is not stored in the server.
In an optional implementation manner, the storing, in the server, the second image intercepted in real time includes:
and storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
In an optional implementation manner, the intercepting the second image in real time in the high definition image corresponding to the first image includes:
determining a ratio between a resolution of the high-definition image and a resolution of the first image;
acquiring a second position area in the high-definition image according to the first position area and the proportion;
and intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
In a third aspect, the present application shows an image display apparatus applied to a terminal, the apparatus comprising:
the display module is used for displaying a first image;
the first acquisition module is used for acquiring a first position area circled on the first image by a user;
a first sending module, configured to send an obtaining request to a server, where the obtaining request is used to obtain a second image, where content of the second image is the same as content in the first position area of the first image, and resolution of the second image is greater than resolution of the first position area of the first image;
the first receiving module is used for receiving the second image returned by the server according to the acquisition request;
a first replacement module to replace content in the first location area in the first image with the second image.
In an optional implementation manner, the first obtaining module includes:
a first obtaining unit, configured to obtain a projection area of the gaze direction of the user on the first image, and use the projection area as the first position area.
In an optional implementation, the apparatus further comprises:
a second receiving module, configured to receive a third image sent by the server, where content of the third image is the same as content of the first image in a region other than the first position region, and resolution of the third image is greater than resolution of the first image in the region other than the first position region;
a second replacement module to replace content in an area other than the first location area in the first image with the third image.
In a fourth aspect, the present application shows an image display apparatus applied to a server, the apparatus comprising:
a third receiving module, configured to receive an acquisition request sent by a terminal, where the acquisition request is used to acquire a second image, where content of the second image is the same as content in a first location area of a first image, and a resolution of the second image is greater than a resolution of the first location area of the first image, and the first location area is specified by a user on the first image displayed on the terminal;
the second acquisition module is used for acquiring the second image according to the acquisition request;
and the second sending module is used for sending the second image to the terminal so that the terminal replaces the content in the first position area in the first image by using the second image.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain a third image, where content of the third image is the same as content of the first image in a region other than the first position region, and a resolution of the third image is greater than a resolution of the first image in the region other than the first position region;
and a third sending module, configured to send the third image to the terminal, so that the terminal replaces content in an area other than the first location area in the first image with the third image.
In an optional implementation manner, the second obtaining module includes:
a determining unit, configured to determine whether the second image is already stored in the server;
a second obtaining unit, configured to obtain the stored second image when the second image is already stored in the server;
the intercepting unit is used for intercepting the second image in real time from a high-definition image corresponding to the first image under the condition that the second image is not stored in the server, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
In an optional implementation manner, the second obtaining module further includes:
and the storage unit is used for storing the second image intercepted in real time in the server.
In an optional implementation manner, the obtaining request carries position coordinates of the first position area in the first image;
the determination unit includes:
the searching subunit is used for searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
the first determining subunit is configured to determine that the second image has been stored in the server under the condition that the second image corresponding to the position coordinate is found;
and the second determining subunit is configured to determine that the second image is not stored in the server under the condition that the second image corresponding to the position coordinate is not found.
In an optional implementation manner, the storage unit includes:
and the storage subunit is used for storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
In an optional implementation manner, the intercepting unit includes:
a third determining subunit, configured to determine a ratio between the resolution of the high-definition image and the resolution of the first image;
the acquisition subunit is used for acquiring a second position area in the high-definition image according to the first position area and the proportion;
and the intercepting subunit is used for intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
In a fifth aspect, the present application illustrates an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image display method according to the first aspect.
In a sixth aspect, the present application illustrates a non-transitory computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the image display method of the first aspect.
In a seventh aspect, the present application shows a computer program product, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the image display method according to the first aspect.
In an eighth aspect, the present application illustrates an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image display method according to the second aspect.
In a ninth aspect, the present application shows a non-transitory computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the image display method of the second aspect.
In a tenth aspect, the present application shows a computer program product, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the image display method according to the second aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
in some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
Drawings
Fig. 1 is a block diagram of a structure of an image display system of the present application;
FIG. 2 is a flow chart of the steps of an image display method of the present application;
FIG. 3 is a flow chart of the steps of an image display method of the present application;
FIG. 4 is a flow chart of the steps of an image display method of the present application;
fig. 5 is a block diagram of a structure of an image display device of the present application;
fig. 6 is a block diagram of a structure of an image display apparatus of the present application;
FIG. 7 is a block diagram of an electronic device shown in the present application;
fig. 8 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, there is shown a block diagram of a structure of an image display system of the present application, the system including: the terminal 01 and the server 02 have communication connection therebetween, and the terminal 01 and the server 02 can perform data interaction based on the communication connection, for example, the terminal 01 can acquire an image from the server 02 and display the image.
Referring to fig. 2, a flowchart illustrating steps of an image display method according to the present application is shown, where the method is applied to the system shown in fig. 1, and the method may specifically include the following steps:
in step S101, the terminal displays a first image;
in the application, in a scene in which the terminal needs to acquire an image from the server and display the image for a user, the user can click a button for viewing the image on a page displayed by the terminal, and after receiving an operation of clicking the button by the user, the terminal can acquire an identifier of a first image corresponding to the image and an identifier of a high-definition image corresponding to the image from the server.
The resolution of the first image is lower than that of the high-definition image, and the content in the first image is the same as that in the high-definition image. For example, the first image includes a thumbnail image corresponding to a high definition image. After, for example, reducing the resolution of the high definition image, a first image is obtained.
The identification of the first image comprises a URL (Uniform Resource Locator) of the first image, the identification of the high definition image comprises a URL of the high definition image, and the like.
In the application, because the resolution of the first image is lower than that of the high-definition image, the space occupied by the first image is often smaller than that occupied by the high-definition image, the time length consumed by the terminal for acquiring the first image from the server is often smaller than the time length consumed by the terminal for acquiring the high-definition image from the server, and in order to enable a user to view the content in the image that the user wants to view as soon as possible, the terminal may acquire the first image from the server based on the identifier of the first image and then display the first image, so that the user can view the first image on the terminal.
In step S102, the terminal acquires a first position area designated by the user on the first image;
in the present application, a user may sometimes need to view a part of content in a first image with emphasis, and when viewing a part of content in a first image with emphasis, need to view content in an image that the user wants to view with high resolution clearly.
However, since the resolution in the first image is low, the resolution of the part of the content in the first image is low, that is, the definition is low, in one mode, the terminal can obtain a high-resolution high-definition image corresponding to the first image from the server and display the high-resolution high-definition image to the user for viewing, however, it takes a long time for the terminal to obtain a complete high-definition image from the server, and thus, the user needs to wait for a long time to clearly view the content in the image that the user wants to view in the high-definition image with high resolution, which results in a low user experience.
Therefore, in order to improve the user experience, it is necessary to enable the user to clearly view the content in the image he or she wants to view with high resolution as soon as possible, in order to enable the user to clearly view the content in the image he or she wants to view with high resolution as soon as possible, the user may specify a location area where the content is located on the first image, the terminal acquires the location area specified by the user in the first image as the first location area, and then performs step S103.
In one embodiment of the present application, the user may directly select a location area of the content on the screen of the terminal using a finger.
Or, in order to simplify the operation of the user, the user may select without using a finger, and the user may aim the line of sight of the eyes at the position area where the part of the content in the first image is located, and the terminal acquires the projection area of the line of sight direction of the user on the first image as the first position area. The terminal can acquire the eye image of the user based on the camera, and then analyzes the direction pointed by the eyeballs in the eye image and serves as the sight line direction of the user.
In step S103, the terminal sends an acquisition request to the server, where the acquisition request is used to acquire a second image, the content of the second image is the same as the content in the first position area of the first image, and the resolution of the second image is greater than the resolution of the first position area of the first image;
in the application, the terminal can send the acquisition request to the server based on the communication connection with the server.
In an embodiment, the acquisition request may at least carry an identifier of the high definition image and a first location area, where the first location area may be represented based on location coordinates in the first image, for example, assuming that the first location area is a rectangle, the first location area may include: the maximum value of the abscissa, the minimum value of the abscissa, the maximum value of the ordinate, and the minimum value of the ordinate of each pixel point in the first position region in the first image, that is, the first position region may include two abscissas and two ordinates, and the like.
In step S104, the server receives the obtaining request;
in this application, the server may receive the acquisition request based on the communication connection with the terminal, and then perform step S105.
In step S105, the server acquires a second image according to the acquisition request;
wherein, this step can be realized through the following process, including:
11) determining whether a second image is stored in the server;
in the application, the service end can provide services for a large number of users, and other people may already view the first image before, and according to the embodiment shown in fig. 2, the self terminal is used for acquiring the second image and replacing the content in the first position area in the first image with the second image, so that the content can be viewed by other people.
However, the process of acquiring the second image in the high-definition image by the server in real time usually takes a long time.
Therefore, in this case, in order to facilitate the later people to view the second image, the second image captured in real time for other people may be stored in the server, for example, in the correspondence relationship between the position coordinates for identifying the first position area in the first image and the like, which is used for identifying the first position area in the first image and the like, and the second image captured in real time, which is corresponding to the high-definition image, and the second image. The content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
Thus, in the present application, the acquisition request carries the position coordinates of the first position region in the first image; in this way, when the server acquires the second image according to the acquisition request, the server may not intercept the second image in the high-definition image in real time, but may determine whether the server stores the second image, for example, search for the second image corresponding to the position coordinate in the corresponding relationship between the position coordinate and the second image corresponding to the high-definition image; under the condition that the second image corresponding to the position coordinate is found, determining that the second image is stored in the server; and under the condition that the second image corresponding to the position coordinate is not found, determining that the second image is not stored in the server.
The corresponding relation between the position coordinates and the second image corresponding to the high-definition image is marked by the identifier of the high-definition image, so that the corresponding relation between the position coordinates and the second image corresponding to the high-definition image can be screened out in the server according to the identifier of the high-definition image in the acquisition request.
The position coordinates of the first position area in the first image are sometimes represented by a plurality of position coordinates.
For example, the first position area is rectangular, and the position coordinates of the first position area in the first image are represented by two abscissas and two ordinates described in step S103.
Thus, the correspondence between the position coordinates and the second image is: a correspondence between the abscissa 1, the abscissa 2, the ordinate 1, the ordinate 2 and the second image, which correspondence comprises 5 columns,
thus, when the second image is searched according to the position coordinates, the abscissa needs to be searched in the first column, then the abscissa needs to be searched in the second column, then the ordinate needs to be searched in the third column, then the ordinate needs to be searched in the fourth column, then the second image needs to be searched in the fifth column, 5 table searching processes are included in total, and in the case that each of the 5 columns includes a plurality of rows, the process of searching the second image needs to consume a lot of time, and the searching efficiency is low.
Therefore, in order to improve the search efficiency, in a case where the position coordinates of the first position region in the first image are embodied by a plurality of position coordinates, the position coordinates in the correspondence relationship between the position coordinates and the second image include: the plurality of coordinates are calculated based on the MD5 algorithm to obtain the value of MD 5.
Thus, when the second image is searched according to the position coordinates, the position coordinates can be calculated based on the MD5 algorithm to obtain the value of the MD5, then the MD5 value is searched in the first column in the corresponding relationship between the position coordinates and the second image, and then the second image is searched in the second column, which totally includes 2 table searching processes, so that a relatively long time consumed in the process of searching the second image can be reduced, and the searching efficiency can be further improved.
12) Under the condition that the second image is stored in the server, the stored second image is obtained;
in the case that the second image is stored in the server, the stored second image may be directly acquired without capturing the second image in real time from the high-definition image, for example, the second image corresponding to the position coordinate in the correspondence between the position coordinate and the second image corresponding to the high-definition image is acquired.
13) And under the condition that the second image is not stored in the server, the second image is intercepted in real time from the high-definition image corresponding to the first image, the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
When the second image is not stored in the server, the second image needs to be captured in the high-definition image in real time.
The resolution ratio of the high-definition image is greater than that of the first image, so that the number of pixel points included in the first image is smaller than that of the pixel points included in the high-definition image, and the number of the pixel points included in the first position region in the first image is smaller than that of the pixel points included in the second image;
in this way, in order to avoid missing content when the second image is captured in the high-definition image in real time, in the application, the ratio between the resolution of the high-definition image and the resolution of the first image may be determined, and then the second position area is obtained in the high-definition image according to the first position area and the ratio; and then intercepting the content in the second position area in real time in the high-definition image, and taking the content as a second image.
For example, assume that the resolution of the first image is 10 × 10, i.e., the first image includes 100 pixels distributed in 10 rows × 10 columns, and assume that the resolution of the high-definition image is 50 × 50, i.e., the high-definition image includes 2500 pixels distributed in 50 rows × 50 columns.
At this time, the ratio between the resolution of the high-definition image and the resolution of the first image is 25:1, that is, one pixel point in the first image can map 25 pixel points in the high-definition image, and the 25 pixel points are distributed in 5 rows by 5 columns.
For any pixel point located in the first position area in the first image, multiplying the abscissa of the pixel point in the first image by 5 to obtain an intermediate abscissa, and multiplying the ordinate of the pixel point in the first image by 5 to obtain an intermediate ordinate. And then searching the middle horizontal coordinate and the pixel point corresponding to the middle vertical coordinate in the high-definition image, and searching a region formed by 5 x 5 pixel points taking the searched pixel point as the center in the high-definition image.
And similarly executing the operation on each pixel point in the first position area in the first image to obtain areas, corresponding to each pixel point in the first position area in the high-definition image, of each pixel point in the first image, wherein the areas form a second position area, and then obtaining all pixel points in the second position area, wherein the pixel points form a second image.
Further, in order to enable the other users to directly obtain the stored second image in the server when viewing the second image later, in another embodiment of the present application, after the second image is captured in the high-definition image in real time, the second image captured in real time may be stored, for example, in a corresponding relationship between the position coordinates and the second image corresponding to the high-definition image, the position coordinates and the second image captured in real time are stored.
In step S106, the server sends a second image to the terminal;
so that the terminal replaces the content in the first position area in the first image with the second image;
wherein, the server can send the second image to the terminal through the communication connection with the terminal.
In step S107, the terminal receives a second image;
the terminal can receive the second image sent by the server through the communication connection with the server.
In step S108, the terminal replaces the content in the first position area in the first image with the second image.
In the present application, in order not to affect the overall viewing effect of the image, the second image needs to be displayed in the first position region in the first image, however, since the number of the pixel points included in the second image is greater than the number of the pixel points in the first position region in the first image, the distance between the pixel points in the second image may be reduced, so that the size of the second image after reducing the distance is the same as the size of the first position region in the first image, and thus, the content in the first position region in the first image may be replaced by the second image after reducing the distance, thereby implementing displaying the second image in the first position region in the first image, so that the user can view the high-resolution second image.
In some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
Through the embodiment, the content in the first position area in the first image can be made to be the content with high resolution, and the user can view the content in the first image more clearly, so that the requirement that the user emphatically view the content is met. And when the user emphatically views the part of the content, asynchronously, the server side can also acquire a third image, the content of the third image is the same as the content in the area of the first image except the first position area, the resolution of the third image is higher than that of the area of the first image except the first position area, and then the third image is sent to the terminal, so that the terminal replaces the content in the area of the first image except the first position area with the third image. For example, the terminal receives a third image sent by the server; the third image is then used to replace content in an area in the first image other than the first location area.
In this way, after the user has emphatically viewed the portion of the content, the user can view the high-resolution third image immediately thereafter, so that the user can view the content in the region other than the first position region as quickly and more clearly as possible thereafter.
Referring to fig. 3, a flowchart illustrating steps of an image display method according to the present application is shown, where the method is applied to the terminal 01 shown in fig. 1, and the method may specifically include the following steps:
in step S201, a first image is displayed;
in step S202, a first position area designated by a user on the first image is acquired;
in step S203, sending an obtaining request to a server, where the obtaining request is used to obtain a second image, where the content of the second image is the same as the content in the first position area of the first image, and the resolution of the second image is greater than the resolution of the first position area of the first image;
in step S204, receiving the second image returned by the server according to the acquisition request;
in step S205, the content in the first position region in the first image is replaced with the second image.
In an optional implementation manner, the acquiring a first location area specified by a user on the first image includes:
and acquiring a projection area of the sight line direction of the user on the first image, and taking the projection area as the first position area.
In an optional implementation, the method further includes:
receiving a third image sent by the server, wherein the content of the third image is the same as the content of the first image in the area except the first position area, and the resolution of the third image is greater than that of the first image in the area except the first position area;
replacing content in a region in the first image other than the first location region with the third image.
In some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
Referring to fig. 4, a flowchart illustrating steps of an image display method according to the present application is shown, where the method is applied to the server 02 shown in fig. 1, and the method may specifically include the following steps:
in step S301, receiving an acquisition request sent by a terminal, where the acquisition request is used to acquire a second image, where the content of the second image is the same as the content in a first position area of a first image, and the resolution of the second image is greater than the resolution of the first position area of the first image, and the first position area is specified by a user on the first image displayed on the terminal;
in step S302, acquiring the second image according to the acquisition request;
in step S303, the second image is sent to the terminal, so that the terminal replaces the content in the first position area in the first image with the second image.
In an optional implementation, the method further includes:
acquiring a third image, wherein the content of the third image is the same as that of the first image in the region except the first position region, and the resolution of the third image is greater than that of the first image in the region except the first position region;
and sending the third image to the terminal so as to enable the terminal to replace the content in the area except the first position area in the first image by using the third image.
In an optional implementation manner, the acquiring the second image according to the acquisition request includes:
determining whether the second image is stored in the server;
under the condition that the second image is stored in the server, the stored second image is acquired;
and under the condition that the second image is not stored in the server, intercepting the second image in real time in a high-definition image corresponding to the first image, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
In an optional implementation manner, after the capturing the second image in real time in the high-definition image corresponding to the first image, the method further includes:
and storing the second image intercepted in real time in the server.
In an optional implementation manner, the obtaining request carries position coordinates of the first position area in the first image;
the determining whether the second image is stored in the server includes:
searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
under the condition that the second image corresponding to the position coordinate is found, determining that the second image is stored in the server;
and under the condition that the second image corresponding to the position coordinate is not found, determining that the second image is not stored in the server.
In an optional implementation manner, the storing, in the server, the second image intercepted in real time includes:
and storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
In an optional implementation manner, the intercepting the second image in real time in the high definition image corresponding to the first image includes:
determining a ratio between a resolution of the high-definition image and a resolution of the first image;
acquiring a second position area in the high-definition image according to the first position area and the proportion;
and intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
In some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 5, a block diagram of an image display device according to the present application is shown, and the device may specifically include the following modules:
a display module 11, configured to display a first image;
a first obtaining module 12, configured to obtain a first position region circled on the first image by a user;
a first sending module 13, configured to send an obtaining request to a server, where the obtaining request is used to obtain a second image, where content of the second image is the same as content in the first position area of the first image, and resolution of the second image is greater than resolution of the first position area of the first image;
a first receiving module 14, configured to receive the second image returned by the server according to the acquisition request;
a first replacement module 15, configured to replace the content in the first location area in the first image with the second image.
In an optional implementation manner, the first obtaining module includes:
a first obtaining unit, configured to obtain a projection area of the gaze direction of the user on the first image, and use the projection area as the first position area.
In an optional implementation, the apparatus further comprises:
a second receiving module, configured to receive a third image sent by the server, where content of the third image is the same as content of the first image in a region other than the first position region, and resolution of the third image is greater than resolution of the first image in the region other than the first position region;
a second replacement module to replace content in an area other than the first location area in the first image with the third image.
In some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
Referring to fig. 6, a block diagram of an image display device according to the present application is shown, and the device may specifically include the following modules:
a third receiving module 21, configured to receive an obtaining request sent by a terminal, where the obtaining request is used to obtain a second image, where content of the second image is the same as content in a first location area of a first image, and a resolution of the second image is greater than a resolution of the first location area of the first image, and the first location area is specified by a user on the first image displayed on the terminal;
a second obtaining module 22, configured to obtain the second image according to the obtaining request;
a second sending module 23, configured to send the second image to the terminal, so that the terminal replaces the content in the first location area in the first image with the second image.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain a third image, where content of the third image is the same as content of the first image in a region other than the first position region, and a resolution of the third image is greater than a resolution of the first image in the region other than the first position region;
and a third sending module, configured to send the third image to the terminal, so that the terminal replaces content in an area other than the first location area in the first image with the third image.
In an optional implementation manner, the second obtaining module includes:
a determining unit, configured to determine whether the second image is already stored in the server;
a second obtaining unit, configured to obtain the stored second image when the second image is already stored in the server;
the intercepting unit is used for intercepting the second image in real time from a high-definition image corresponding to the first image under the condition that the second image is not stored in the server, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
In an optional implementation manner, the second obtaining module further includes:
and the storage unit is used for storing the second image intercepted in real time in the server.
In an optional implementation manner, the obtaining request carries position coordinates of the first position area in the first image;
the determination unit includes:
the searching subunit is used for searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
the first determining subunit is configured to determine that the second image has been stored in the server under the condition that the second image corresponding to the position coordinate is found;
and the second determining subunit is configured to determine that the second image is not stored in the server under the condition that the second image corresponding to the position coordinate is not found.
In an optional implementation manner, the storage unit includes:
and the storage subunit is used for storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
In an optional implementation manner, the intercepting unit includes:
a third determining subunit, configured to determine a ratio between the resolution of the high-definition image and the resolution of the first image;
the acquisition subunit is used for acquiring a second position area in the high-definition image according to the first position area and the proportion;
and the intercepting subunit is used for intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
In some scenarios, when a user views an image, sometimes the user needs to emphasize viewing a portion of the content in the image, and may not need to emphasize viewing other content in the image, i.e., other content may or may not be desirable to the user.
In order to enable the user to view a part of the content in the image with emphasis, the terminal often needs to display the part of the content with high resolution so that the user can view the part of the content more clearly.
The terminal can display the first image with low resolution, and the user can circle the content needing to be viewed emphatically on the first image, so that the terminal can acquire the part of the content with high resolution in the server and display the part of the content for the user to view emphatically.
The terminal can not acquire all the contents with high resolution in the image from the server side at first, but only acquire part of the contents with high resolution in the image from the server side, so that the data volume which needs to be transmitted to the terminal by the server side can be reduced, the transmission time can be further reduced, the user can check the part of the contents which need to be checked emphatically in the image more clearly as soon as possible, namely, the user can check the part of the contents which need to be checked emphatically in the image more clearly only by waiting for a short time, and the user experience can be improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 7 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 8 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 8, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail an image display method and apparatus provided by the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the description of the foregoing examples is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (24)

1. An image display method, applied to a terminal, the method comprising:
displaying a first image;
acquiring a first position area designated by a user on the first image;
sending an acquisition request to a server, wherein the acquisition request is used for acquiring a second image, the content of the second image is the same as that in the first position area of the first image, and the resolution of the second image is greater than that of the first position area of the first image;
receiving the second image returned by the server according to the acquisition request;
replacing content in the first location area in the first image with the second image.
2. The method of claim 1, wherein the obtaining a first location area specified by a user on the first image comprises:
and acquiring a projection area of the sight line direction of the user on the first image, and taking the projection area as the first position area.
3. The method of claim 1, further comprising:
receiving a third image sent by the server, wherein the content of the third image is the same as the content of the first image in the area except the first position area, and the resolution of the third image is greater than that of the first image in the area except the first position area;
replacing content in a region in the first image other than the first location region with the third image.
4. An image display method is applied to a server side, and the method comprises the following steps:
receiving an acquisition request sent by a terminal, wherein the acquisition request is used for acquiring a second image, the content of the second image is the same as the content in a first position area of a first image, the resolution of the second image is greater than the resolution of the first position area of the first image, and the first position area is specified on the first image displayed on the terminal by a user;
acquiring the second image according to the acquisition request;
and sending the second image to the terminal so as to enable the terminal to replace the content in the first position area in the first image by using the second image.
5. The method of claim 4, further comprising:
acquiring a third image, wherein the content of the third image is the same as that of the first image in the region except the first position region, and the resolution of the third image is greater than that of the first image in the region except the first position region;
and sending the third image to the terminal so as to enable the terminal to replace the content in the area except the first position area in the first image by using the third image.
6. The method of claim 4, wherein said acquiring the second image according to the acquisition request comprises:
determining whether the second image is stored in the server;
under the condition that the second image is stored in the server, the stored second image is acquired;
and under the condition that the second image is not stored in the server, intercepting the second image in real time in a high-definition image corresponding to the first image, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
7. The method according to claim 6, wherein after the real-time capturing of the second image in the high definition image corresponding to the first image, further comprising:
and storing the second image intercepted in real time in the server.
8. The method of claim 7, wherein the acquisition request carries location coordinates of the first location area in the first image;
the determining whether the second image is stored in the server includes:
searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
under the condition that the second image corresponding to the position coordinate is found, determining that the second image is stored in the server;
and under the condition that the second image corresponding to the position coordinate is not found, determining that the second image is not stored in the server.
9. The method according to claim 8, wherein the storing the second image intercepted in real time in the server comprises:
and storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
10. The method according to claim 6, wherein the intercepting the second image in real time in the high definition image corresponding to the first image comprises:
determining a ratio between a resolution of the high-definition image and a resolution of the first image;
acquiring a second position area in the high-definition image according to the first position area and the proportion;
and intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
11. An image display apparatus, applied to a terminal, the apparatus comprising:
the display module is used for displaying a first image;
the first acquisition module is used for acquiring a first position area circled on the first image by a user;
a first sending module, configured to send an obtaining request to a server, where the obtaining request is used to obtain a second image, where content of the second image is the same as content in the first position area of the first image, and resolution of the second image is greater than resolution of the first position area of the first image;
the first receiving module is used for receiving the second image returned by the server according to the acquisition request;
a first replacement module to replace content in the first location area in the first image with the second image.
12. The apparatus of claim 11, wherein the first obtaining module comprises:
a first obtaining unit, configured to obtain a projection area of the gaze direction of the user on the first image, and use the projection area as the first position area.
13. The apparatus of claim 11, further comprising:
a second receiving module, configured to receive a third image sent by the server, where content of the third image is the same as content of the first image in a region other than the first position region, and resolution of the third image is greater than resolution of the first image in the region other than the first position region;
a second replacement module to replace content in an area other than the first location area in the first image with the third image.
14. An image display device, applied to a server, the device comprising:
a third receiving module, configured to receive an acquisition request sent by a terminal, where the acquisition request is used to acquire a second image, where content of the second image is the same as content in a first location area of a first image, and a resolution of the second image is greater than a resolution of the first location area of the first image, and the first location area is specified by a user on the first image displayed on the terminal;
the second acquisition module is used for acquiring the second image according to the acquisition request;
and the second sending module is used for sending the second image to the terminal so that the terminal replaces the content in the first position area in the first image by using the second image.
15. The apparatus of claim 14, further comprising:
a third obtaining module, configured to obtain a third image, where content of the third image is the same as content of the first image in a region other than the first position region, and a resolution of the third image is greater than a resolution of the first image in the region other than the first position region;
and a third sending module, configured to send the third image to the terminal, so that the terminal replaces content in an area other than the first location area in the first image with the third image.
16. The apparatus of claim 14, wherein the second obtaining module comprises:
a determining unit, configured to determine whether the second image is already stored in the server;
a second obtaining unit, configured to obtain the stored second image when the second image is already stored in the server;
the intercepting unit is used for intercepting the second image in real time from a high-definition image corresponding to the first image under the condition that the second image is not stored in the server, wherein the content of the high-definition image is the same as that of the first image, and the resolution of the high-definition image is greater than that of the first image.
17. The apparatus of claim 16, wherein the second obtaining module further comprises:
and the storage unit is used for storing the second image intercepted in real time in the server.
18. The apparatus of claim 17, wherein the acquisition request carries location coordinates of the first location area in the first image;
the determination unit includes:
the searching subunit is used for searching a second image corresponding to the position coordinate in the corresponding relation between the position coordinate and the image corresponding to the high-definition image;
the first determining subunit is configured to determine that the second image has been stored in the server under the condition that the second image corresponding to the position coordinate is found;
and the second determining subunit is configured to determine that the second image is not stored in the server under the condition that the second image corresponding to the position coordinate is not found.
19. The apparatus of claim 18, wherein the storage unit comprises:
and the storage subunit is used for storing the position coordinates and the second image intercepted in real time in the corresponding relation between the position coordinates and the images corresponding to the high-definition images.
20. The apparatus of claim 16, wherein the truncating unit comprises:
a third determining subunit, configured to determine a ratio between the resolution of the high-definition image and the resolution of the first image;
the acquisition subunit is used for acquiring a second position area in the high-definition image according to the first position area and the proportion;
and the intercepting subunit is used for intercepting the content in the second position area in real time in the high-definition image, and taking the content as the second image.
21. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image display method of any one of claims 1-3.
22. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the image display method of any one of claims 1-3.
23. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image display method of any one of claims 4-10.
24. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the image display method of any one of claims 4-10.
CN202010562195.4A 2020-06-18 2020-06-18 Image display method and device Pending CN111724398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010562195.4A CN111724398A (en) 2020-06-18 2020-06-18 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010562195.4A CN111724398A (en) 2020-06-18 2020-06-18 Image display method and device

Publications (1)

Publication Number Publication Date
CN111724398A true CN111724398A (en) 2020-09-29

Family

ID=72567518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010562195.4A Pending CN111724398A (en) 2020-06-18 2020-06-18 Image display method and device

Country Status (1)

Country Link
CN (1) CN111724398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613036A (en) * 2021-06-25 2021-11-05 海南视联大健康智慧医疗科技有限公司 Image transmission method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095233A (en) * 2014-04-29 2015-11-25 广州市动景计算机科技有限公司 Local web image updating method, device and system
CN106327584A (en) * 2016-08-24 2017-01-11 上海与德通讯技术有限公司 Image processing method used for virtual reality equipment and image processing device thereof
CN106873844A (en) * 2015-12-11 2017-06-20 阿里巴巴集团控股有限公司 Picture inspection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095233A (en) * 2014-04-29 2015-11-25 广州市动景计算机科技有限公司 Local web image updating method, device and system
CN106873844A (en) * 2015-12-11 2017-06-20 阿里巴巴集团控股有限公司 Picture inspection method and device
CN106327584A (en) * 2016-08-24 2017-01-11 上海与德通讯技术有限公司 Image processing method used for virtual reality equipment and image processing device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613036A (en) * 2021-06-25 2021-11-05 海南视联大健康智慧医疗科技有限公司 Image transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US10530836B2 (en) Methods and apparatuses for acquiring image
CN106897937B (en) Method and device for displaying social sharing information
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
EP3147802B1 (en) Method and apparatus for processing information
CN110262692B (en) Touch screen scanning method, device and medium
CN106775235B (en) Screen wallpaper display method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107402767B (en) Method and device for displaying push message
CN107729098B (en) User interface display method and device
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN106331328B (en) Information prompting method and device
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN105260088B (en) Information classification display processing method and device
CN111724398A (en) Image display method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
US20170316039A1 (en) Information acquisition method, device and system
CN109389547B (en) Image display method and device
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN107257384B (en) Service state monitoring method and device
CN108874172B (en) Input method and device
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN109710146B (en) Document display method and device
CN112506393B (en) Icon display method and device and storage medium
CN111241097B (en) Method for processing object, device for processing object and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929

RJ01 Rejection of invention patent application after publication