Data processing method and electronic equipment
By generating target instructions and using user operation information to determine the order of area display, the problem of lack of intelligence in image display in the existing technology is solved, efficient and intelligent image display in electronic devices is achieved, and the user's diverse needs are met.
Patent Information
- Application Number
- CN202410680078.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-10-01
AI Technical Summary
When displaying pictures on electronic devices, the existing technology lacks intelligence and cannot prioritize displaying partial areas of the picture according to the different needs of users. Instead, it displays the entire picture with the same image quality, resulting in the inability to meet the diverse display needs of users.
By generating target instructions, the area display order of the second image is determined according to the user's operation information, and the second image with different quality from the first image is gradually displayed, giving priority to the area that the user is concerned about, and using touch points and voice instructions to determine the area unit. The processing sequence realizes the gradual decompression and display of images.
It improves the intelligence of image processing, can quickly display high-quality pictures when system resources are small, meets the primary needs of users, and realizes dynamic display and optimization of pictures.
Smart Images

Figure CN118732977A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to a data processing method and electronic equipment. Background Art
[0002] When users use electronic devices to view pictures sent from other devices, the display method is usually to display the pictures as a whole with the same picture quality. The display method is relatively simple and cannot display partial areas of the picture with a display method different from the original picture quality according to different needs of users. Instead, it prioritizes displaying other partial areas, and then displays them, and the degree of intelligence is low. Summary of the invention
[0003] The present application provides a data processing method, including:
[0004] In response to obtaining target information of the target object for the first image, generating a target instruction; the target information represents a display order of regions of the second image; the first image and the second image have the same content but different image quality;
[0005] In response to the target instruction, different regions of the second image are displayed in the region display order.
[0006] Optionally, before generating a target instruction in response to obtaining target information of the target object for the first image, the method further includes:
[0007] obtaining the first image having a lower quality than the second image;
[0008] The first image is displayed.
[0009] Optionally, the target information includes at least first information and / or second information. When the target information includes the first information, the first image is displayed on the touch interface of the target object. When the target information includes the second information, the target object inputs an instructive voice including the order of area display.
[0010] Optionally, the target information includes first information, and the method further includes:
[0011] According to the touch point of the target object on the touch interface, a processing order of multiple area units in the first image is determined to determine the area display order of the second image.
[0012] Optionally, determining a processing order of a plurality of area units in the first image according to a touch point of the target object on the touch interface to determine an area display order of the second image includes:
[0013] Determining the priority of each of the area units based on the position information of the touch point in the first image;
[0014] Based on the priorities of the regional units, a processing order of the regional units is determined.
[0015] Optionally, determining the priority of each of the area units based on the position information of the touch point in the first image includes:
[0016] Determine the priority of the first area unit where the touch point is located as the first priority;
[0017] Determining priorities of other regional units based on distances between other regional units and the first regional unit;
[0018] Determining priorities of other regional units based on distances between the other regional units and the first regional unit includes:
[0019] An area unit whose distance from the center of the first area unit is less than a first threshold is determined as a second area unit, and an area unit whose distance from the center of the second area unit is less than a second threshold is determined as a third area unit; the first threshold is the same as or different from the second threshold, the second area unit has a second priority, and the third area unit has a third priority.
[0020] Optionally, the first area unit and the second area unit are rectangular areas with the same area and without overlapping each other.
[0021] Optionally, displaying different regions of the second image in the region display order includes:
[0022] Based on the determined region display order, successively obtaining display data corresponding to different regions of each of the first images;
[0023] The display data is decompressed to gradually display different areas of the second image.
[0024] Optionally, the target information includes second information, and the method further includes:
[0025] Based on the instruction voice, a processing order of a plurality of area units in the first image is determined to determine an area display order of the second image.
[0026] The present application also provides an electronic device, including:
[0027] A response module configured to generate a target instruction in response to obtaining target information of a target object for a first image; the target information represents a display order of regions of a second image; the first image and the second image have the same content but different image quality;
[0028] A processing module is configured to display different regions of the second image according to the region display sequence in response to a target instruction.
[0029] An embodiment of the present application further provides an electronic device, including a processor and a memory, wherein an executable program is stored in the memory, and the processor executes the executable program to perform the steps of the method described above.
[0030] An embodiment of the present application also provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements the steps of the method described above when the computer program / instruction is executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A flowchart of a data processing method according to an embodiment of the present application;
[0032] Figure 2 A flowchart of a first embodiment of a data processing method according to an embodiment of the present application;
[0033] Figure 3 This is a flow chart of a second embodiment of the data processing method of the present application embodiment;
[0034] Figure 4 For the embodiments of this application Figure 3 A flowchart of an embodiment of step S500;
[0035] Figure 5 For the embodiments of this application Figure 1 A flowchart of an embodiment of step S200;
[0036] Figure 6 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0038] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0040] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0041] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0042] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0043] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0044] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0045] A data processing method of an embodiment of the present application can be applied to an electronic device, and can display corresponding images in sequence according to the user's focus area when the electronic device displays a target image, so as to achieve priority display of the user's focus area in the target image. The method includes acquiring and displaying a first image from another device, and the image quality of the first image is different from the image quality of the second image finally displayed. The target object manipulates the first image to generate a target instruction. For example, the target object can be a user, and the user can manipulate the displayed first image.
[0046] Based on the manipulation of the first image by the target object, the target information is determined, and the target information is represented as the area display order of the second image displayed by the user, which represents the user's intention to give priority to displaying the area of interest of the second image. After the electronic device responds to the target instruction, it processes the corresponding areas in the first image according to the area display order represented by the target information, and gradually displays different areas of the second image with different image quality from the first image, thereby giving priority to displaying the area of the second image that the user is most concerned about, and improving the intelligence of image processing.
[0047] The data processing method of the embodiment of the present application is described in detail below with reference to the accompanying drawings. Figure 1 is a flow chart of a data processing method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0048] S100, in response to obtaining target information of a target object for a first image, generating a target instruction; the target information represents a region display order of a second image; the first image and the second image have the same content but different image quality.
[0049] Exemplarily, the first image may be an image received by the electronic device from another device, and the content of the first image is the same as the second image finally displayed by the electronic device, while the image quality of the first image may be different from that of the second image, thereby facilitating the electronic device to acquire and display the first image. For example, the image quality of the first image is lower than that of the second image. Thus, the first image can be acquired and displayed while using fewer system resources.
[0050] After the first image is displayed, the target object can manipulate the first image, including various types of manipulation, such as touch manipulation of the electronic device based on the first image, or voice manipulation of the electronic device based on the first image.
[0051] Target information is generated during the operation of the first image, and the target information represents the display order of the regions of the second image. Specifically, the first image includes a plurality of different regions, and the target object generates target information during the operation of the regions of the first image. If the second image corresponds to the first image, then each region of the second image may also correspond to each region of the first image.
[0052] The electronic device generates a target instruction in response to the target information, so that the electronic device processes the first image based on the target instruction.
[0053] S200: In response to a target instruction, display different regions of the second image according to the region display order.
[0054] Exemplarily, the target instruction is an instruction for controlling the electronic device to process the first image, and after the electronic device responds to the target instruction, it gradually processes the first image. Preferably, since the area in the first image can correspond to the area in the second image. Therefore, in this embodiment, based on the area display order represented in the target information, the multiple areas contained in the corresponding first image can be processed in sequence. Thereby, different areas of the second image are gradually displayed according to the area display order. Since the second image has the same content as the first image but different image quality, the process of gradually displaying different areas of the second image is also a process of changing image quality.
[0055] For example, the image quality of the second image is higher than that of the first image. Since the image quality of the first image is lower, the first image can be displayed quickly with a smaller transmission bandwidth, and the first image can be manipulated according to the user's focus area, and each area in the first image is processed in sequence, and then the second image with higher image quality is displayed in sequence, meeting the user's primary needs.
[0056] The data processing method of the embodiment of the present application determines the processing order of each area of the first image according to the user's manipulation of the first image, and displays a second image with a different image quality from the first image based on the processing order. This achieves that while the electronic device can quickly display the first image, it can also preferentially display a partial area of the second image with a different image quality that the user expects to see, thereby improving the intelligence of the electronic device.
[0057] In one embodiment of the present application, Figure 2 As shown, before generating a target instruction in response to obtaining target information of the target object for the first image, the method further includes the following steps:
[0058] S300, obtaining the first image having a lower quality than the second image;
[0059] S400: Display the first image.
[0060] Exemplarily, the electronic device may be a variety of types of devices, for example, an electronic device with a touch function, such as a mobile phone, a tablet computer, etc. The electronic device may first receive a first image sent by another device. The content of the first image is the same as the content of the second image, but the image quality of the first image is lower than that of the second image. This allows the electronic device to quickly acquire the first image and display the first image without consuming too many system resources.
[0061] In one embodiment, after the first image is acquired, the first image may be divided into regions, and each divided region may be referred to as a region unit. For example, the first image is divided into a plurality of rectangular regions of the same area and not overlapping each other to form region units, and then the region information of each region unit is determined. The region information includes identification information, location information, etc. of the region unit.
[0062] In one embodiment of the present application, the target information includes at least first information and / or second information. When the target information includes the first information, the first image is displayed on the touch interface of the target object. When the target information includes the second information, the target object inputs an instructive voice including the order of area display.
[0063] Exemplarily, the target information includes at least the first information and / or the second information, and both the first information and the second information can characterize the regional display order of the second image displayed by the user. On the one hand, the first information is information determined by the target object performing a touch operation on the first image displayed by the electronic device. The first information is used to characterize the regional display order of the second image. Since the area (or area unit) of the first image corresponds to the area (or area unit) of the second image, the first information is also used to characterize the order in which the areas of the first image are processed.
[0064] Specifically, the first image includes a plurality of different area units. When the first image is displayed on the touch interface of the target object, the target object such as the user can perform a touch operation on the first image, such as touching the area unit, and generating the first information based on the relevant parameters (such as identification, position and other information) of the area first touched. Thus, different areas of the first image can be processed based on the first information. For example, after the electronic device displays a flower picture relatively fuzzily, the user performs a touch operation on the flower picture, and the touch point is in the area where the petals are located. The electronic device determines the first information through the touch operation, that is, the order of processing different areas of the flower picture. Specifically, the area where the petals are located in the flower picture is preferentially decompressed, and then the other areas other than the petals are decompressed until the entire flower picture is clearly displayed. On the other hand, the second information is the information determined by the target object performing voice control on the first image displayed by the electronic device. The second information is used to characterize the area display order of the second image. Since the area (or area unit) of the first image corresponds to the area (or area unit) of the second image, the second information is also used to characterize the order of processing the area of the first image.
[0065] Specifically, after the electronic device displays the first image, the target object inputs an instruction voice containing the order of area display to control the electronic device. For example, the processing order of different areas of the first image can be determined by the instruction voice, thereby generating the second information. Different areas of the first image can be processed based on the second information. For example, after the electronic device displays a flower picture relatively blurry, the user sends an instruction voice to the electronic device: "Prioritize display of the petals of the flower". The electronic device determines the second information through the instruction voice, that is, the order of processing different areas of the flower picture. The electronic device needs to clearly display the different areas in the flower picture in sequence according to the order. Specifically, the area where the petals are located in the picture is decompressed first, and then the other areas outside the petals are decompressed until the entire flower picture is clearly displayed.
[0066] In one embodiment of the present application, the target information includes first information, and the method further includes the following steps:
[0067] According to the touch point of the target object on the touch interface, a processing order of multiple area units in the first image is determined to determine the area display order of the second image.
[0068] Exemplarily, when the target corresponds to touching the electronic device, specific touch operations such as clicking and sliding will be performed on the touch interface, and the touch interface corresponds to various areas of the first image. When the touch point on the touch interface is determined, the area unit of the first image where the touch point is located can be determined. According to the specific operation mode of the touch point, such as the formation order and / or operation action of the touch point, the processing order of multiple area units in the first image is determined. For example, the processing order of multiple area units in the first image is determined according to the position of the area unit where the first touch point is formed. Alternatively, the processing order of multiple area units in the first image is determined according to the generation order of multiple touch points, and the area display order of the second image is determined based on the processing order. In this way, it is possible to preferentially process a partial area in the first image as the corresponding partial area in the second image that the user expects to be displayed preferentially.
[0069] In addition, if there are multiple touch points, the processing order of the corresponding multiple area units in the first image can be determined based on each touch point, that is, the area display order of the second image is also determined. Then, different areas of the first image can be processed separately based on multiple touch points in parallel to form a second image.
[0070] In one embodiment of the present application, the processing order of the plurality of area units in the first image is determined according to the touch point of the target object on the touch interface to determine the area display order of the second image, such as Figure 3 As shown, including:
[0071] S500: Determine the priority of each of the area units based on the position information of the touch point in the first image.
[0072] Exemplarily, when the target object performs a touch operation on the electronic device, the corresponding touch point will fall into a specific position in the displayed first image, and the corresponding position information can be represented based on the position of the area unit of the first image. For example, the position information of the area unit where the first touch point formed when touching the electronic device is located. Based on the position information, the priority of each area unit in the first image can be determined. The priority represents the priority of processing the corresponding area unit.
[0073] For example, the priority of the first area unit where the first touch point is formed can be set to the first priority, and the priority of the second area unit adjacent to the first area unit can be set to the second priority. The first priority is higher than the second priority. When decompressing the area units in the first image, the first area unit can be processed first.
[0074] In another embodiment, the priority of the area unit where each touch point is located can be set in sequence based on the order in which the touch points are generated, and the area unit corresponding to the touch point generated later has a lower priority.
[0075] S600: Determine a processing order for each of the regional units based on the priorities of the regional units.
[0076] Exemplarily, the area units with higher priorities may be processed first, and then the area units with lower priorities. For example, the image data of the area units are decompressed in sequence to generate corresponding images with higher image quality.
[0077] In one embodiment of the present application, the priority of each of the area units is determined based on the position information of the touch point in the first image, such as Figure 4 As shown, including:
[0078] S510: Determine the priority of the first area unit where the touch point is located as the first priority.
[0079] Exemplarily, the priority of the first area unit where the first touch point generated by touching the first image is located is determined as the first priority. For example, the user touches the first image, and the first touch point is in the middle of the first image, and the first area unit where the position is located is the first priority. The priority processing degree corresponding to the first priority is higher than the priority processing degrees corresponding to other area units.
[0080] S520, determining priorities of other regional units based on distances between the other regional units and the first regional unit;
[0081] Determining priorities of other regional units based on distances between the other regional units and the first regional unit includes:
[0082] An area unit whose distance from the center of the first area unit is less than a first threshold is determined as a second area unit, and an area unit whose distance from the center of the second area unit is less than a second threshold is determined as a third area unit; the first threshold is the same as or different from the second threshold, the second area unit has a second priority, and the third area unit has a third priority.
[0083] Exemplarily, for other area units except the first area unit, the closer they are to the first area unit, the higher the corresponding priority, and vice versa. Specifically, an area unit whose distance from the center of the first area unit is less than the first threshold is determined as a second area unit. For example, based on the distance from the center of the first area unit, there are multiple area units surrounding and adjacent to the first area unit, and the distances of these area units from the center of the first area unit are less than the first threshold. Therefore, in this implementation, these area units are determined as second area units with a second priority, and the second priority is less than the first priority.
[0084] Similarly, based on the distance from the center of the second area unit, there are multiple area units surrounding and adjacent to the second area unit, and the distance between these area units and the center of the second area unit is less than the second threshold. Therefore, in this implementation, these area units are determined as third area units with a third priority, and the third priority is less than the second priority.
[0085] In one embodiment of the present application, the first area unit and the second area unit are rectangular areas with the same area and no overlap.
[0086] Exemplarily, the first image may be divided into a plurality of rectangular areas of the same area and not overlapping each other, and the rectangular areas are arranged regularly, so that the first area unit and the second area unit have the same area but do not overlap each other.
[0087] In one embodiment of the present application, the different regions of the second image are displayed in the region display order, such as Figure 5 As shown, the following steps are included:
[0088] S210: Based on the determined area display order, display data corresponding to different areas of each of the first images is obtained in sequence.
[0089] Exemplarily, the display data may be data for displaying an image in a corresponding area in the first image, such as the first area unit corresponding to the first display data, and the second area unit corresponding to the second display data. In this embodiment, the display data corresponding to different areas of each first image is obtained in sequence based on the area display order. Thus, the electronic device can use the limited data bandwidth to gradually obtain the display data corresponding to all area units in the first image from other devices.
[0090] For example, after the user performs a touch operation on the first image displayed by the electronic device, the corresponding regional display order is determined, such as the first regional unit corresponding to the first touch point has the highest priority (it can be preferentially processed for image quality improvement). Therefore, based on the regional display order, the first display data corresponding to the first regional unit is first downloaded from other devices, and then the display data corresponding to other regional units are downloaded in sequence, and the display data is stored in the electronic device.
[0091] S220: Decompress the display data to gradually display different areas of the second image.
[0092] Exemplarily, after determining the target information, based on the regional display order represented by the target information, the display data corresponding to each regional unit obtained is decompressed in sequence, so that different regions of the second image can be displayed in sequence, and the first image with lower image quality is gradually converted into the second image with higher image quality.
[0093] In one embodiment of the present application, the target information includes second information, and the method further includes:
[0094] Based on the instruction voice, a processing order of a plurality of area units in the first image is determined to determine an area display order of the second image.
[0095] Exemplarily, the instruction voice may be a voice command sent by a user to the electronic device, and the electronic device determines the processing order of multiple area units in the first image based on the instruction voice. For example, the user instructs the electronic device to first process the central area in the first image, and then gradually process the edge parts. The electronic device may determine the area display order of the second image based on the instruction voice, and then decompress each area of the first image in turn based on the area display order, and gradually form a second image with higher image quality.
[0096] In one embodiment of the present application, before other devices send the first image to the electronic device, it is necessary to compress the data of the first image.
[0097] For example, first, the picture (first image) can be divided into blocks: the picture is divided into several non-overlapping rectangular blocks of equal size, and the block data is subjected to wavelet transform (Wavelet Transform) or discrete cosine transform (DCT), wherein the wavelet transform or DCT transform converts the spatial domain picture into a frequency domain representation, and extracts the frequency domain coefficients in the picture. Secondly, the frequency domain coefficients of each block data are quantized, the frequency domain coefficients are mapped to discrete integer values, and the high-frequency information representing the details is quantized into low-frequency information. Quantization will cause information loss and is a key step in compression. Then, the quantized values are encoded using Huffman coding or arithmetic coding on the block data.
[0098] In the following, in conjunction with a specific embodiment, the steps of obtaining target information of a target object for a first image and displaying different regions of a second image in a region display order in response to a target instruction are described in detail.
[0099] The user uses an electronic device to open the preview image (first image) of the original image that has been processed by the block compression method, that is, the preview image in a non-original form. The user clicks the preview image with a finger, and uses touch technology to obtain the coordinate value (x_1, y_1) of the current finger clicking the image, identifies the compressed rectangular block (region unit) closest to the center point of the coordinate value, and processes the image in the form of expanding outward from the center point of the rectangular block.
[0100] Assume that the length of the rectangular block of the same size cut during image compression is x and the width is y, then the area of the rectangular block is: S = x × y
[0101] With this current rectangular block as a reference, the center of the current rectangular block is surrounded and the hollow rectangular areas of equal length are divided to the left and right of the rectangular block, and the hollow rectangular areas of equal width are divided to the top and bottom of the rectangular block. Priority is arranged for each area unit. By default, the area unit clicked by the finger is processed first and marked as the first area unit with the first level of priority. As the area of the hollow rectangle with the same center increases, the priority level decreases in sequence. As the area of the hollow rectangle with the same center increases, other area units are marked as area units with the second, third, ..., N levels of priority in sequence.
[0102] It is known that the size of the rectangular block clicked by the finger for the first time is S1 = x × y, which is the first area unit. When the first area unit is processed, the length of the second area unit to be expanded outward is x + 2x, the width is y + 2y, and the area is S2 = (x + 2x) × (y + 2y). The current area to be processed is S2-S1. By analogy, the length of the Nth area unit is x + (N-1) × 2x, the width is y + (N-1) × 2y, and the area is S2 = (x + (N-1) × 2x) × (y + (N-1) × 2y). The current area to be processed is SN-S (N-1).
[0103] The processing of the processing areas with the same center of the regional units is carried out in sequence until the regional units of the first level with the same priority are processed, and then the regional units with the second, third, ..., Nth level of priority are loaded in sequence.
[0104] When the finger clicks on different areas, the above steps are followed. The coordinates of the current position are (x_2, y_2). The previous finger click recognition has been processed and the events being processed will not be interfered with. If a pixel point that has been processed is encountered during the processing, no further processing will be performed, and the remaining unloaded pixels will continue to be processed until the entire picture is processed to form a higher-quality image (second image). When the user's finger is not detected, no priority processing is required by default, and no special processing is required. The picture is processed in normal mode.
[0105] The present application also provides an electronic device, such as Figure 6 As shown, including:
[0106] A response module is configured to generate a target instruction in response to obtaining target information of a target object for a first image; the target information represents a region display order of a second image; the first image and the second image have the same content but different image quality.
[0107] Exemplarily, the first image may be an image received by the electronic device from another device, and the content of the first image is the same as the second image finally displayed by the electronic device, while the image quality of the first image may be different from that of the second image, thereby facilitating the electronic device to acquire and display the first image. For example, the image quality of the first image is lower than that of the second image. Thus, the first image can be acquired and displayed while using fewer system resources.
[0108] After the first image is displayed, the target object can manipulate the first image, including various types of manipulation, such as touch manipulation of the electronic device based on the first image, or voice manipulation of the electronic device based on the first image.
[0109] Target information is generated during the operation of the first image, and the target information represents the display order of the regions of the second image. Specifically, the first image includes a plurality of different regions, and the target object generates target information during the operation of the regions of the first image. If the second image corresponds to the first image, then each region of the second image may also correspond to each region of the first image.
[0110] The response module generates a target instruction in response to the target information, so that the electronic device can process the first image based on the target instruction.
[0111] A processing module is configured to display different regions of the second image according to the region display sequence in response to a target instruction.
[0112] Exemplarily, the target instruction is an instruction for controlling the electronic device to process the first image, and after the processing module responds to the target instruction, it gradually processes the first image. Preferably, since the area in the first image can correspond to the area in the second image. Therefore, in this embodiment, the processing module can process the multiple areas contained in the corresponding first image in sequence based on the area display order represented in the target information. Thereby, different areas of the second image are gradually displayed according to the area display order. Since the second image has the same content as the first image but different image quality, the process of gradually displaying different areas of the second image is also a process of changing image quality.
[0113] For example, the image quality of the second image is higher than that of the first image. Since the image quality of the first image is lower, the first image can be displayed quickly with a smaller transmission bandwidth, and the first image can be manipulated according to the user's focus area. The processing module processes each area in the first image in turn, and then displays the second image with higher image quality in each area in turn. The primary needs of users are met.
[0114] In one embodiment of the present application, the electronic device further includes an acquisition module, and the acquisition module is configured to:
[0115] obtaining the first image having a lower quality than the second image;
[0116] The first image is displayed.
[0117] In one embodiment of the present application, the target information includes at least first information and / or second information. When the target information includes the first information, the first image is displayed on the touch interface of the target object. When the target information includes the second information, the target object inputs an instructive voice including the order of area display.
[0118] In one embodiment of the present application, the target information includes first information, and the response module is further configured to:
[0119] According to the touch point of the target object on the touch interface, a processing order of multiple area units in the first image is determined to determine the area display order of the second image.
[0120] In one embodiment of the present application, the response module is further configured as follows:
[0121] Determining the priority of each of the area units based on the position information of the touch point in the first image;
[0122] Based on the priorities of the regional units, a processing order of the regional units is determined.
[0123] In one embodiment of the present application, the response module is further configured as follows:
[0124] Determine the priority of the first area unit where the touch point is located as the first priority;
[0125] Based on the distance between the other area units and the first area unit, the priorities of the other area units are determined; including: determining the area unit whose distance from the center of the first area unit is less than a first threshold as the second area unit, and determining the area unit whose distance from the center of the second area unit is less than a second threshold as the third area unit; the first threshold is the same as or different from the second threshold, the second area unit has the second priority, and the third area unit has the third priority.
[0126] In one embodiment of the present application, the first area unit and the second area unit are rectangular areas with the same area and no overlap.
[0127] In one embodiment of the present application, the processing module is further configured to:
[0128] Based on the determined region display order, successively obtaining display data corresponding to different regions of each of the first images;
[0129] The display data is decompressed to gradually display different areas of the second image.
[0130] In one embodiment of the present application, the target information includes second information, and the response module is further configured to:
[0131] Based on the instruction voice, a processing order of a plurality of area units in the first image is determined to determine an area display order of the second image.
[0132] An embodiment of the present application further provides an electronic device, including a processor and a memory, wherein an executable program is stored in the memory, and the processor executes the executable program to perform the steps of the method described above.
[0133] An embodiment of the present application also provides a computer-readable storage medium having a computer program / instruction stored thereon, which implements the steps of the method described above when the computer program / instruction is executed by a processor.
[0134] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A data processing method, include: In response to obtaining target information of the target object with respect to the first image, generating a target instruction; The target information represents the display order of regions of the second image; The first image and the second image have the same content but different image quality; In response to the target instruction, different regions of the second image are displayed in the region display order.
2. The data processing method according to claim 1, before generating a target instruction in response to obtaining target information of the target object for the first image, the method further comprises: include: obtaining the first image having a lower quality than the second image; The first image is displayed.
3. According to the method according to claim 1, the target information includes at least first information and / or second information. When the target information includes the first information, the first image is displayed on the touch interface of the target object. When the target information includes the second information, the target object inputs an instructive voice including the order of area display.
4. The data processing method according to claim 3, wherein the target information includes first information, and the method further comprises: include: According to the touch point of the target object on the touch interface, a processing order of multiple area units in the first image is determined to determine the area display order of the second image.
5. The method according to claim 4, wherein the processing order of the plurality of area units in the first image is determined according to the touch point of the target object on the touch interface to determine the area display order of the second image, include: Determining the priority of each of the area units based on the position information of the touch point in the first image; Based on the priorities of the regional units, a processing order of the regional units is determined.
6. The method according to claim 5, wherein the priority of each of the area units is determined based on the position information of the touch point in the first image, include: Determine the priority of the first area unit where the touch point is located as the first priority; Determining priorities of other regional units based on distances between other regional units and the first regional unit; Determining priorities of other regional units based on distances between the other regional units and the first regional unit includes: An area unit whose distance from the center of the first area unit is less than a first threshold is determined as a second area unit, and an area unit whose distance from the center of the second area unit is less than a second threshold is determined as a third area unit; the first threshold is the same as or different from the second threshold, the second area unit has a second priority, and the third area unit has a third priority. 7 . The method according to claim 6 , wherein the first area unit and the second area unit are rectangular areas with the same area and without overlapping each other.
8. The method according to claim 1, wherein the different regions of the second image are displayed in the region display order. include: Based on the determined region display order, successively obtaining display data corresponding to different regions of each of the first images; The display data is decompressed to gradually display different areas of the second image.
9. The data processing method according to claim 3, wherein the target information includes second information, and the method further include: Based on the instruction voice, a processing order of a plurality of area units in the first image is determined to determine an area display order of the second image.
10. An electronic device, include: a response module configured to generate a target instruction in response to obtaining target information of the target object with respect to the first image; The target information represents the display order of regions of the second image; the first image and the second image have the same content but different image quality; A processing module is configured to display different regions of the second image according to the region display sequence in response to a target instruction.
