CN106445353A - Display method and device of super-large pictures and electronic equipment - Google Patents
Display method and device of super-large pictures and electronic equipment Download PDFInfo
- Publication number
- CN106445353A CN106445353A CN201611029432.0A CN201611029432A CN106445353A CN 106445353 A CN106445353 A CN 106445353A CN 201611029432 A CN201611029432 A CN 201611029432A CN 106445353 A CN106445353 A CN 106445353A
- Authority
- CN
- China
- Prior art keywords
- picture data
- picture
- preset threshold
- data
- threshold value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 62
- 238000004458 analytical method Methods 0.000 claims description 35
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000006835 compression Effects 0.000 claims description 5
- 238000007906 compression Methods 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 claims description 2
- 230000004044 response Effects 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 8
- 230000006872 improvement Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a display method and device of super-large pictures and electronic equipment, and relates to the field of internet technology. The display method of the super-large pictures comprises the following steps: receiving externally input picture data, and analyzing the picture data; judging whether the size of picture data is more than a preset threshold value or not according to the preset threshold value and an analyzed result, and correspondingly processing the picture data according to the judged result; displaying the processed picture data. By adopting the display method and device of the super-large pictures and the electronic equipment disclosed by the embodiment of the invention, when a terminal receives the super-large pictures, the pictures are compressed and then displayed, so that the processing efficiency of a system can be improved and the display speed of the pictures can be accelerated to effectively prevent the problems of excessive consumption of system resources and no response of an application or the system, even dead halt and the like for loading of super-large pictures so as to greatly improve the using experience of a user.
Description
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a display method and device of a super-large picture and electronic equipment.
Background
With the development of mobile internet technology, it has become a trend that the conventional television is gradually replaced by the smart television. Meanwhile, with the development of the 3C fusion concept, the intelligent television system also plays a certain role in promoting the intellectualization of the television.
The intelligent television is a new television product which is provided with a full-open platform, carries an operating system, and can automatically install and uninstall various application software and continuously expand and upgrade functions while users enjoy common television contents. In addition to the traditional television functions, the smart television can actually play television programs in real time by accessing signals of a cable television, and can install or uninstall applications, so that various services can be provided.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: an existing terminal such as a smart television or a mobile phone can display a picture, but when the picture is too large, more memory is needed to process the picture, and the system may be halted due to the limited processing capability of the system.
Disclosure of Invention
In order to overcome the defects of related products in the prior art, the embodiment of the invention provides a display method and device of an oversized picture and an electronic device, and solves the problems that the existing terminal occupies too much memory and even crashes due to too large picture in the picture display process.
The technical scheme adopted by the embodiment of the invention for solving the technical problem is as follows:
the embodiment of the invention provides a display method of a super-large picture, which comprises the following steps: receiving externally input picture data and analyzing the picture data; judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result; and displaying the processed picture data.
As a further improvement of the embodiment of the present invention, the receiving externally input picture data and analyzing the picture data includes: feeding back a picture receiving instruction according to a picture transmission instruction sent from the outside; and after corresponding picture data are externally input according to the picture receiving instruction, receiving the picture data, analyzing the picture data, and acquiring corresponding image data and attribute data included in the picture data, wherein the attribute data includes the size and the format of the picture data.
As a further improvement of the embodiment of the present invention, the determining, according to a preset threshold and an analysis result, whether the size of the picture data is larger than the preset threshold, and performing corresponding processing on the picture data according to the determination result includes:
setting a preset threshold value of the picture data; and judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result, wherein the processing mode comprises compressing the picture data or keeping the picture data as it is.
As a further improvement of the embodiment of the present invention, the determining, according to a preset threshold and an analysis result, whether the size of the picture data is larger than the preset threshold, and performing corresponding processing on the picture data according to the determination result specifically includes: if the size of the picture data exceeds the preset threshold value, compressing the picture data; and if the size of the picture data does not exceed the preset threshold, not processing the picture data and keeping the picture data in an original state.
As a further improvement of the embodiment of the present invention, the manner of compressing the picture data includes cropping and converting the encoding format.
The embodiment of the invention provides a display device of a super large picture, which comprises: the analysis module is used for receiving externally input picture data and analyzing the picture data; the processing module is used for judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result; and the display module is used for displaying the processed picture data.
As a further improvement of the embodiment of the present invention, the parsing module includes: the sending unit is used for feeding back a picture receiving instruction according to a picture transmission instruction sent from the outside;
and the receiving unit is used for receiving the picture data after the corresponding picture data is externally input according to the picture receiving instruction, analyzing the picture data and acquiring corresponding image data and attribute data included in the picture data, wherein the attribute data includes the size and the format of the picture data.
As a further improvement of the embodiment of the present invention, the processing module includes: the setting unit is used for setting a preset threshold value of the picture data; and the execution unit is used for judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result, wherein the processing mode comprises the compression or the original state maintenance of the picture data.
As a further improvement of the embodiment of the present invention, the execution unit is specifically configured to: if the size of the picture data exceeds the preset threshold value, compressing the picture data; and if the size of the picture data does not exceed the preset threshold, not processing the picture data and keeping the picture data in an original state.
As a further improvement of the embodiment of the present invention, the manner of compressing the picture data includes cropping and converting the encoding format.
An embodiment of the present invention provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to: receiving externally input picture data and analyzing the picture data; judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result; and displaying the processed picture data.
Compared with the prior art, the invention has the following advantages:
according to the embodiment of the invention, when the terminal receives the overlarge picture, the picture is compressed and displayed, so that the processing efficiency of the system can be improved, the display speed of the picture is accelerated, the problems that system resources are excessively consumed due to the loading of the overlarge picture, an application or a system has no response and even crashes are effectively avoided, and the use experience of a user is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for displaying a super-large picture according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for displaying a super-large picture according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a display device of a super large picture according to a first embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a display device of a super large picture according to a second embodiment of the present invention;
fig. 5 is a hardware schematic diagram of an electronic device applied to the display method of the oversized picture according to the embodiment of the present invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Example one
Referring to fig. 1, a schematic flow chart of a first embodiment of the method for displaying a super-large picture according to the present invention is shown, where the method for displaying a super-large picture is applied to an intelligent terminal, including but not limited to an intelligent television and a mobile phone, in the embodiment of the present invention, the intelligent terminal is an intelligent television, and the method for displaying a super-large picture includes the following steps:
s101: receiving externally input picture data and analyzing the picture data.
In the embodiment of the present invention, externally input picture data is received, the picture data is analyzed, and corresponding image data and attribute data included in the picture data are obtained, where the attribute data includes a size and a format of the picture data, and the size of the picture data includes a size of a data amount and a size of a resolution.
The external part of the input picture data refers to other terminals which carry out data communication with the current intelligent terminal, and the data communication mode can be a wireless connection mode or an electric connection mode.
S102: and judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result.
Optionally, the embodiment of the present invention further includes setting the preset threshold, where the preset threshold set in the embodiment of the present invention is also different because the types of the terminals are different or the types of the terminals of the same type are different, and the size of the terminal screen is also different, and the resolution required when the pictures are displayed is also different, and the preset threshold set in the embodiment of the present invention is also different according to the size of the terminal screen, for example, a larger preset threshold can be set for a large-screen terminal such as a smart television, a smaller preset threshold can be set for a small-screen terminal such as a mobile phone, and the preset threshold can be reasonably set according to the size of the terminal screen; and judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result.
S103: and displaying the processed picture data.
In the embodiment of the invention, the display method of the oversized picture receives the picture data input from the outside, analyzes the picture data, judges whether the size of the picture data is larger than the preset threshold value according to the preset threshold value and the analysis result, executes corresponding processing on the picture data according to the judgment result, and displays the processed picture data.
Example two
On the basis of the foregoing embodiment, referring to fig. 2, a flowchart of a second embodiment of the method for displaying an oversized picture according to the present invention is shown, where the method for displaying an oversized picture is applied to an intelligent terminal, including but not limited to an intelligent television and a mobile phone, in the embodiment of the present invention, the intelligent terminal is an intelligent television, and the method for displaying an oversized picture includes the following steps:
s201: and feeding back a picture receiving instruction according to a picture transmission instruction sent from the outside.
In the embodiment of the present invention, the external device refers to another terminal performing data communication with the current intelligent terminal, and the data communication mode may be a wireless connection mode or an electrical connection mode. In the embodiment of the invention, the intelligent terminal feeds back the picture receiving instruction to the outside according to the received picture transmission instruction sent from the outside.
S202: and after corresponding picture data are externally input according to the picture receiving instruction, receiving the picture data, analyzing the picture data, and acquiring corresponding image data and attribute data included in the picture data, wherein the attribute data includes the size and the format of the picture data.
In the embodiment of the invention, the intelligent terminal receives the externally input picture data, analyzes the picture data and acquires the corresponding image data and attribute data included in the picture data.
S203: and setting a preset threshold value of the picture data.
In the embodiment of the invention, because the types of the terminals are different or the types of the terminals of the same type are different, the sizes of the screens of the terminals are also different and are limited by the size of the screen of the terminal, the required resolution ratios when the pictures are displayed are also different, and the preset thresholds set by the embodiment of the invention are also different according to the different sizes of the screens of the terminals, for example, a larger preset threshold can be set for a terminal with a large screen such as an intelligent television, a smaller preset threshold can be set for a terminal with a small screen such as a mobile phone, and the preset threshold can be reasonably set according to the size of the screen of the terminal, so that the occupation of the processed pictures on the system memory can be effectively reduced while the normal display of the pictures is not influenced, the processing efficiency of the system is greatly improved, and the display speed.
S204: and judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result, wherein the processing mode comprises compressing the picture data or keeping the picture data as it is.
In the embodiment of the present invention, if the size of the picture data exceeds the preset threshold, compressing the picture data, where the compression mode of the picture data includes clipping and converting a coding format; and if the size of the picture data does not exceed the preset threshold, not processing the picture data and keeping the picture data in an original state.
S205: and displaying the processed picture data.
In the embodiment of the invention, the display method of the super-large picture feeds back a picture receiving instruction according to a picture transmission instruction sent from the outside, receives the picture data after inputting the corresponding picture data according to the picture receiving instruction from the outside, analyzes the picture data, acquires the corresponding image data and attribute data included in the picture data, sets a preset threshold of the picture data, judges whether the size of the picture data is larger than the preset threshold according to the preset threshold and an analysis result, executes corresponding processing on the picture data according to the judgment result, and displays the processed picture data; through the process, when the terminal receives the overlarge picture, the picture is compressed and displayed, the processing efficiency of the system can be improved, the display speed of the picture is accelerated, the problems that system resources are excessively consumed due to loading of the overlarge picture, an application or a system has no response and even crashes and the like are effectively avoided, and the use experience of a user is greatly improved.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of a first embodiment of the display device for the super-large picture according to the present invention is shown, where the display device for the super-large picture is applied to an intelligent terminal, including but not limited to an intelligent television and a mobile phone, in the embodiment of the present invention, the intelligent terminal is an intelligent television, and the display device for the super-large picture includes an analysis module 1, a processing module 2, and a display module 3.
In the embodiment of the present invention, the parsing module 1 is configured to receive externally input picture data and parse the picture data, and in the embodiment of the present invention, the parsing module 1 receives externally input picture data and parses the picture data to obtain corresponding image data and attribute data included in the picture data, where the attribute data includes a size and a format of the picture data, and the size of the picture data includes a size of a data size and a size of a resolution.
The external part of the input picture data refers to other terminals which carry out data communication with the current intelligent terminal, and the data communication mode can be a wireless connection mode or an electric connection mode.
The processing module 2 is configured to determine whether the size of the picture data is larger than a preset threshold according to the preset threshold and an analysis result, and performs corresponding processing on the picture data according to the judgment result, optionally, the processing module 2 in the embodiment of the present invention further includes setting the preset threshold, due to different types of terminals or different models of terminals of the same type, the sizes of the screens of the terminals are also inconsistent, the resolution required for displaying the pictures is also inconsistent due to the limitation of the sizes of the screens of the terminals, the preset threshold set by the embodiment of the present invention is different according to the size of the terminal screen, for example, a larger preset threshold value can be set for a large-screen terminal such as a smart television, a smaller preset threshold value can be set for a small screen such as a mobile phone, and the processing module 2 can reasonably set the preset threshold value according to the size of a terminal screen; the processing module 2 judges whether the size of the picture data is larger than a preset threshold according to the preset threshold and the analysis result, and executes corresponding processing on the picture data according to the judgment result.
The display module 3 is used for displaying the processed picture data.
In the embodiment of the invention, the display device of the oversized picture receives picture data input from the outside through the analysis module 1 and analyzes the picture data, the processing module 2 judges whether the size of the picture data is larger than the preset threshold value according to the preset threshold value and the analysis result, and executes corresponding processing on the picture data according to the judgment result, and the display module 3 displays the processed picture data.
Example four
Referring to fig. 4, a schematic structural diagram of a second embodiment of the display device for the super-large picture according to the present invention is shown, where the display device for the super-large picture is applied to an intelligent terminal, including but not limited to an intelligent television and a mobile phone, in the embodiment of the present invention, the intelligent terminal is an intelligent television, and the display device for the super-large picture includes an analysis module 1, a processing module 2, and a display module 3.
The analysis module 1 is configured to receive externally input picture data and analyze the picture data, and the analysis module 1 includes a sending unit 11 and a receiving unit 12.
The sending unit 11 is configured to feed back a picture receiving instruction according to a picture transmission instruction sent from the outside, in an embodiment of the present invention, the outside refers to another terminal performing data communication with a current intelligent terminal, and the data communication may be performed in a wireless connection or an electrical connection. In this embodiment of the present invention, the sending unit 11 feeds back the picture receiving instruction to the outside according to the received picture transmission instruction sent from the outside.
The receiving unit 12 is configured to receive the picture data after the corresponding picture data is externally input according to the picture receiving instruction, analyze the picture data, and acquire the corresponding image data and the attribute data included in the picture data, where the attribute data includes a size and a format of the picture data.
The processing module 2 is configured to determine whether the size of the picture data is larger than a preset threshold according to the preset threshold and an analysis result, and perform corresponding processing on the picture data according to the determination result, where the processing module 2 includes a setting unit 21 and an execution unit 22.
The setting unit 21 is used for setting a preset threshold of the picture data, and in the embodiment of the present invention, due to different types of terminals or different models of terminals of the same type, the sizes of the screens of the terminals are also inconsistent, the resolution required for displaying the pictures is also inconsistent due to the limitation of the sizes of the screens of the terminals, the preset threshold set by the setting unit 21 according to the embodiment of the present invention is different according to the size of the terminal screen, for example, a larger preset threshold value can be set for a large-screen terminal such as a smart television, a smaller preset threshold value can be set for a small screen such as a mobile phone, the setting unit 21 can reasonably set the preset threshold value according to the size of the terminal screen, the method can effectively reduce the occupation of the processed picture on the system memory while not influencing the normal display of the picture, greatly improves the processing efficiency of the system and accelerates the display speed of the picture.
The execution unit 22 is configured to determine whether the size of the picture data is larger than a preset threshold according to the preset threshold and an analysis result, and perform corresponding processing on the picture data according to the determination result, where the processing mode includes compressing or keeping the picture data as it is. In the embodiment of the present invention, if the size of the picture data exceeds the preset threshold, the execution unit 22 compresses the picture data, and the manner of compressing the picture data by the execution unit 22 includes clipping and converting the coding format; if the size of the picture data does not exceed the preset threshold, the execution unit 22 does not process the picture data and keeps the original state.
The display module 3 is used for displaying the processed picture data.
In the embodiment of the present invention, the display device of the oversized picture feeds back a picture receiving instruction according to a picture transmission instruction sent from the outside through the sending unit 11, the receiving unit 12 receives and analyzes the picture data after inputting the corresponding picture data according to the picture receiving instruction from the outside, so as to obtain the corresponding image data and attribute data included in the picture data, the setting unit 21 sets a preset threshold of the picture data, the execution unit 22 determines whether the size of the picture data is greater than the preset threshold according to the preset threshold and an analysis result, and executes corresponding processing on the picture data according to the determination result, and the display module 3 displays the processed picture data; through the process, when the terminal receives the overlarge picture, the picture is compressed and displayed, the processing efficiency of the system can be improved, the display speed of the picture is accelerated, the problems that system resources are excessively consumed due to loading of the overlarge picture, an application or a system has no response and even crashes and the like are effectively avoided, and the use experience of a user is greatly improved.
EXAMPLE five
Fig. 5 is a schematic hardware structure diagram of a method for displaying a super-large picture according to an embodiment of the present invention, and as shown in the figure, the apparatus includes one or more processors 510 and a memory 520. Take a processor 510 as an example. The apparatus may further include: an input device 530 and an output device 540.
The processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 520, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 510 executes various functional applications and data processing of the electronic device, i.e., the processing method of the above-described method embodiment, by executing the non-transitory software programs, instructions and modules stored in the memory 520.
The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. Further, the memory 520 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 520 may optionally include memory located remotely from processor 510, which may be connected to a processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Input device 530 may receive input numeric or character information and generate a signal input. The output device 540 may include a display device such as a display screen.
The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform the following:
receiving externally input picture data and analyzing the picture data;
judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result;
and displaying the processed picture data.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
An embodiment of the present invention provides a non-transitory (non-volatile) computer storage medium storing computer-executable instructions that may perform the following operations:
receiving externally input picture data and analyzing the picture data;
judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result;
and displaying the processed picture data.
An embodiment of the present invention provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the following:
receiving externally input picture data and analyzing the picture data;
judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result;
and displaying the processed picture data.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.
Claims (11)
1. A method for displaying a super-large picture is characterized by comprising the following steps:
receiving externally input picture data and analyzing the picture data;
judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result;
and displaying the processed picture data.
2. The method for displaying the oversized picture according to claim 1, wherein the step of receiving externally input picture data and analyzing the picture data comprises:
feeding back a picture receiving instruction according to a picture transmission instruction sent from the outside;
and after corresponding picture data are externally input according to the picture receiving instruction, receiving the picture data, analyzing the picture data, and acquiring corresponding image data and attribute data included in the picture data, wherein the attribute data includes the size and the format of the picture data.
3. The method for displaying the oversized picture according to claim 1, wherein the step of judging whether the size of the picture data is larger than the preset threshold according to the preset threshold and the analysis result, and the step of performing corresponding processing on the picture data according to the judgment result comprises:
setting a preset threshold value of the picture data;
and judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result, wherein the processing mode comprises compressing the picture data or keeping the picture data as it is.
4. The method for displaying the oversized picture according to any one of claims 2-3, wherein the step of judging whether the size of the picture data is larger than the preset threshold according to the preset threshold and the analysis result, and the step of performing corresponding processing on the picture data according to the judgment result specifically comprises:
if the size of the picture data exceeds the preset threshold value, compressing the picture data;
and if the size of the picture data does not exceed the preset threshold, not processing the picture data and keeping the picture data in an original state.
5. The method for displaying the oversized picture as recited in claim 4, wherein: the compression mode of the picture data comprises cutting and converting coding formats.
6. A display device of super large picture is characterized by comprising:
the analysis module is used for receiving externally input picture data and analyzing the picture data;
the processing module is used for judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result;
and the display module is used for displaying the processed picture data.
7. The device for displaying the oversized picture as claimed in claim 6, wherein the parsing module comprises:
the sending unit is used for feeding back a picture receiving instruction according to a picture transmission instruction sent from the outside;
and the receiving unit is used for receiving the picture data after the corresponding picture data is externally input according to the picture receiving instruction, analyzing the picture data and acquiring corresponding image data and attribute data included in the picture data, wherein the attribute data includes the size and the format of the picture data.
8. The device for displaying the oversized picture as claimed in claim 6, wherein the processing module comprises:
the setting unit is used for setting a preset threshold value of the picture data;
and the execution unit is used for judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and the analysis result, and executing corresponding processing on the picture data according to the judgment result, wherein the processing mode comprises the compression or the original state maintenance of the picture data.
9. The device for displaying the oversized picture according to any one of claims 7-8, wherein the execution unit is specifically configured to:
if the size of the picture data exceeds the preset threshold value, compressing the picture data;
and if the size of the picture data does not exceed the preset threshold, not processing the picture data and keeping the picture data in an original state.
10. The oversized picture display device as recited in claim 9, wherein: the compression mode of the picture data comprises cutting and converting coding formats.
11. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to:
receiving externally input picture data and analyzing the picture data;
judging whether the size of the picture data is larger than a preset threshold value according to the preset threshold value and an analysis result, and executing corresponding processing on the picture data according to the judgment result;
and displaying the processed picture data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029432.0A CN106445353A (en) | 2016-11-14 | 2016-11-14 | Display method and device of super-large pictures and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029432.0A CN106445353A (en) | 2016-11-14 | 2016-11-14 | Display method and device of super-large pictures and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106445353A true CN106445353A (en) | 2017-02-22 |
Family
ID=58221845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611029432.0A Pending CN106445353A (en) | 2016-11-14 | 2016-11-14 | Display method and device of super-large pictures and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445353A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107888707A (en) * | 2017-12-08 | 2018-04-06 | 北京奇艺世纪科技有限公司 | A kind of picture transmission method, device and electronic equipment |
CN108900696A (en) * | 2018-05-29 | 2018-11-27 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer readable storage medium |
CN109388726A (en) * | 2017-08-11 | 2019-02-26 | 车伯乐(北京)信息科技有限公司 | A kind of image display method, device, equipment and computer-readable medium |
CN110928935A (en) * | 2018-09-19 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Data access command processing method, device and system |
-
2016
- 2016-11-14 CN CN201611029432.0A patent/CN106445353A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388726A (en) * | 2017-08-11 | 2019-02-26 | 车伯乐(北京)信息科技有限公司 | A kind of image display method, device, equipment and computer-readable medium |
CN107888707A (en) * | 2017-12-08 | 2018-04-06 | 北京奇艺世纪科技有限公司 | A kind of picture transmission method, device and electronic equipment |
CN108900696A (en) * | 2018-05-29 | 2018-11-27 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer readable storage medium |
CN110928935A (en) * | 2018-09-19 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Data access command processing method, device and system |
CN110928935B (en) * | 2018-09-19 | 2023-11-14 | 阿里巴巴集团控股有限公司 | Data access command processing method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491275B (en) | Program optimization method, device, terminal and storage medium | |
EP3866477A1 (en) | Video processing method and apparatus, electronic device, and computer-readable medium | |
CN107465954B (en) | The generation method and Related product of dynamic thumbnail | |
CN112087633B (en) | Video decoding method, device and storage medium | |
CN107483812B (en) | Multi-platform parallel live broadcast method and device | |
CN110392306B (en) | Data processing method and equipment | |
CN106445353A (en) | Display method and device of super-large pictures and electronic equipment | |
CN109391843B (en) | Online video speed doubling playing method, device, medium and intelligent terminal | |
CN103973547A (en) | Picture display method and device | |
EP3410302A1 (en) | Graphic instruction data processing method, apparatus and system | |
WO2017202175A1 (en) | Method and device for video compression and electronic device | |
CN112799891A (en) | iOS device test method, device, system, storage medium and computer device | |
CN109274973A (en) | Fast video coding/decoding method on embedded-type ARM platform | |
US9374413B2 (en) | Client terminal, server, and distributed processing method | |
CN109587561B (en) | Video processing method and device, electronic equipment and storage medium | |
CN109688462B (en) | Method and device for reducing power consumption of equipment, electronic equipment and storage medium | |
CN108566328B (en) | Data transmission method, device, medium and electronic equipment | |
CN113746665A (en) | Log data processing method, apparatus, computer program product and storage medium | |
CN109710783B (en) | Picture loading method and device, storage medium and server | |
CN110012003B (en) | Cloud application screen capturing method and device | |
CN108132767B (en) | Application window preview method and system | |
CN109104581B (en) | Wireless screen transmission method, system and receiving terminal | |
CN114979541A (en) | Video display system | |
CN106851134B (en) | Method, device and system for transmitting image data | |
CN108933945B (en) | GIF picture compression method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170222 |
|
WD01 | Invention patent application deemed withdrawn after publication |