CN106250010B - Picture display control method and system - Google Patents

Picture display control method and system Download PDF

Info

Publication number
CN106250010B
CN106250010B CN201610529546.5A CN201610529546A CN106250010B CN 106250010 B CN106250010 B CN 106250010B CN 201610529546 A CN201610529546 A CN 201610529546A CN 106250010 B CN106250010 B CN 106250010B
Authority
CN
China
Prior art keywords
picture
data
display
picture data
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610529546.5A
Other languages
Chinese (zh)
Other versions
CN106250010A (en
Inventor
周宏斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanxin Information Technology Group Co.,Ltd.
Original Assignee
Beijing Yuanxin Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201610529546.5A priority Critical patent/CN106250010B/en
Publication of CN106250010A publication Critical patent/CN106250010A/en
Application granted granted Critical
Publication of CN106250010B publication Critical patent/CN106250010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

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)
  • Editing Of Facsimile Originals (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a picture display control method and a picture display control system, wherein the method comprises the following steps: in response to the received data request, checking whether picture data meeting a preset thumbnail strategy exists according to the resolution and the performance factor of the current terminal; in response to the picture data being present or ready, sending a data ready complete signal; in response to receiving the data preparation completion signal, acquiring the picture data and loading the picture data into a memory, and sending a data loading completion notification; in response to receiving the data load completion notification, altering picture display content based on the picture data. The invention improves the picture loading speed of the terminal, enables the picture loading to be matched with the terminal and improves the user experience.

Description

Picture display control method and system
Technical Field
The present application relates to the field of electrical digital data processing, and in particular, to a method and a system for controlling image display.
Background
With the improvement of the resolution of the camera, the pictures generated by the user are larger and larger, but the original pictures are compressed when the original pictures are checked under different resolution devices, so that the loading quality of the pictures is influenced, the loading speed of the pictures is also influenced, and the user experience is seriously influenced.
In the prior art, pictures are not preprocessed according to a platform, picture data are processed only when the pictures are loaded, thumbnails are generated, a unified rule algorithm is not available, and real-time processing seriously influences the loading speed and influences user experience.
Disclosure of Invention
The application aims to provide a picture display control method and/or system which can improve the picture loading speed and enable picture loading to be matched with a platform.
The object of the present application is achieved by a picture display control method, comprising:
in response to the received data request, checking whether picture data meeting a preset thumbnail strategy exists according to the resolution and the performance factor of the current terminal;
in response to the picture data being present or ready, sending a data ready complete signal;
in response to receiving the data preparation completion signal, acquiring the picture data and loading the picture data into a memory, and sending a data loading completion notification;
in response to receiving the data load completion notification, altering picture display content based on the picture data.
The object of the present application is also achieved by a picture display control system, comprising:
the picture data checking module is used for responding to the received data request and checking whether picture data which accord with a preset thumbnail strategy exist according to the resolution and the performance factor of the current terminal;
a data preparation completion signal transmitting module for transmitting a data preparation completion signal in response to the presence or readiness of the picture data;
the data loading module is used for responding to the received data preparation completion signal, acquiring the picture data, loading the picture data into a memory and sending a data loading completion notice;
and the picture display changing module is used for responding to the received data loading completion notice and changing picture display contents based on the picture data.
In this specification, the term "performance factor" is the ability of a hardware platform to load picture data. The loading capacity is strong, the performance factor is large, the loading capacity is weak, and the performance factor is properly reduced. The loading capability is generally related to the hard disk rotation speed, the memory size, the frequency and display bit width of the image processing unit (GPU), the display resolution, and the frequency and core count of the Central Processing Unit (CPU) of the terminal or platform.
According to the invention, the image suitable for the resolution of the platform screen and the thumbnail at the preview level are generated according to the resolutions of different platforms and the performance factor of the platform loading image is considered, and an asynchronous thread loading display scheme is provided, so that the image loading efficiency is improved, and the user experience is improved.
Drawings
The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments are shown.
FIG. 1 is a flow chart of an embodiment of a method according to the present invention.
Fig. 2 is a flow chart of another embodiment of a method according to the present invention.
FIG. 3 is a schematic diagram of an embodiment of a system according to the present invention.
For the sake of clarity, the figures are schematic and simplified drawings, which only show details which are necessary for understanding the invention and other details are omitted.
Detailed Description
The scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only.
Fig. 1 shows a flowchart of a picture display control method according to an embodiment of the present invention, which starts with step S10 of checking whether there is picture data conforming to a predetermined thumbnail policy according to resolution and performance factors of a current terminal in response to receiving a data request. The performance factor is determined from at least two of the following parameters of the terminal: hard disk rotation speed, memory size, GPU frequency and display bit width, display resolution, and CPU frequency and core number. Specifically, the performance factor is equal to the sum of at least two of the following:
Figure BDA0001042690430000032
Figure BDA0001042690430000034
and
generally, the hard disk weight is more than or equal to the memory weight, the GPU weight is more than or equal to the display weight, and the CPU weight is more than or equal to the display weight. The sum of all the adopted weights is 1, and the specific weights can be adjusted according to the influence factors of the actual terminal so as to meet the optimal calculation. The respective reference values may be determined according to parameters of terminals that are medium or more at the time. For example, at the current stage, it may be determined that the reference hard disk rotation speed is 7200, the reference memory size is 2G, the reference GPU frequency shows the bit width is 672 × 128, the reference resolution is 720 × 1280, and the reference CPU frequency × core number is 2 × 1.2. For example, in the case of a terminal having a GPU, the performance factor of the terminal may be determined as (disk speed/7200) × 0.3+ (memory/2G) × 0.3+ ((GPU frequency) × display bit width)/(672 × 128)) × 0.2+ ((width of resolution) × high)/(720 × 1280)) × 0.1+ ((CPU frequency × core number)/2 × 1.2)) + 0.1. In the absence of the GPU, the performance factor of the terminal may be determined as (disk speed/7200) × 0.3+ (memory/2G) × 0.3+ ((width × height of target resolution)/720 × 1280)) × 0.2+ ((CPU frequency × core number)/2 × 1.2)) × 0.2. If the calculated performance factor >1, the value of the performance factor is taken to be 1. In an embodiment, the predetermined thumbnail policy includes: for pictures larger than the terminal resolution multiplied by the performance factor, generating a preview thumbnail with a default size and generating display pictures with the same target resolution, wherein the target resolution is equal to the terminal resolution multiplied by the performance factor, and the default size of the preview thumbnail is 250 × 250 or 320 × 320; for the picture of the thumbnail which is smaller than the target resolution and larger than the default size and multiplied by the performance factor, only the preview thumbnail is generated, the display picture is not generated, and the original picture can be directly used for display; the original image is directly displayed without any processing for the picture of the preview thumbnail smaller than the default size. When there is picture data that conforms to the predetermined thumbnail policy, the process proceeds to step S20, and a data preparation completion signal is sent to ensure that the picture data can be loaded. When there is no picture data complying with the predetermined thumbnail policy, the process proceeds to step S15, and the corresponding picture is processed according to the predetermined thumbnail policy, generating picture data complying with the predetermined thumbnail policy. After step S15, the process proceeds to step S20. In response to receiving the data preparation completion signal, the picture data conforming to the predetermined thumbnail policy is acquired and loaded into the memory, and a data loading completion notification is sent to ensure that the display data can be updated at step S30. In step S40, in response to receiving the data load completion notification, the picture display content is changed based on the picture data complying with the predetermined thumbnail policy. Therefore, the picture loading matched with the terminal picture loading capacity can be realized, and the loading speed is increased. Meanwhile, when the original image is far larger than the resolution of the current terminal, the image corresponding to the resolution of the current terminal can be generated and loaded, so that the loading speed is increased, and the display effect is not influenced.
Fig. 2 shows a flowchart of a picture display control method according to another embodiment of the present invention, which includes step S50, in addition to including all the steps shown in fig. 1, of requesting again a higher resolution picture and waiting for a process notification to allow the user to see a larger, better-effect picture when the size is larger than the thumbnail display effect when the picture display size is dynamically changed.
Fig. 3 shows a schematic diagram of a picture display control system according to an embodiment of the invention, the system comprising: the picture data checking module 10 is used for responding to the received data request, and checking whether picture data which accord with a preset thumbnail strategy exist according to the resolution and the performance factor of the current terminal; the picture data generating module 20 is configured to, in response to that the picture data does not exist, process a corresponding picture according to the predetermined thumbnail policy to generate the picture data; a data preparation completion signal transmitting module 30 for transmitting a data preparation completion signal in response to the presence or ready of the picture data; a data loading module 40, configured to, in response to receiving the data preparation completion signal, acquire the picture data and load the picture data into a memory, and send a data loading completion notification; a picture display change module 50, configured to, in response to receiving the data loading completion notification, change picture display content based on the picture data; and a re-request picture module 60 for re-requesting a picture of a higher resolution and waiting for a processing notification when the size of the picture display is larger than a default thumbnail display effect in response to dynamically changing the size of the picture display.
As used herein, the singular forms "a", "an" and "the" include plural references (i.e., have the meaning "at least one"), unless the context clearly dictates otherwise. It will be further understood that the terms "has," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
Some preferred embodiments have been described in the foregoing, but it should be emphasized that the invention is not limited to these embodiments, but can be implemented in other ways within the scope of the inventive subject matter.

Claims (10)

1. A picture display control method, characterized in that the method comprises:
in response to the received data request, checking whether picture data meeting a preset thumbnail strategy exists according to the resolution and the performance factor of the current terminal;
in response to the picture data being present or ready, sending a data ready complete signal;
in response to receiving the data preparation completion signal, acquiring the picture data and loading the picture data into a memory, and sending a data loading completion notification;
in response to receiving the data loading completion notification, altering picture display content based on the picture data;
wherein the performance factor is determined according to at least two of the following parameters of the terminal: the hardware rotation speed, the memory size, the frequency and the display bit width of the GPU, the display resolution and the frequency and the core number of the CPU.
2. The method of claim 1, further comprising:
in response to dynamically changing the size of the picture display, when the size is larger than the default thumbnail display effect, a picture of a higher resolution is requested again and a processing notification is awaited.
3. The method of claim 1, further comprising:
and responding to the absence of the picture data, processing the corresponding picture according to the preset thumbnail strategy, and generating the picture data.
4. The method according to any of claims 1-3, wherein the predetermined thumbnail policy comprises:
for pictures larger than the terminal resolution multiplied by a performance factor, generating a preview thumbnail with a default size and generating display pictures with the same target resolution, wherein the target resolution is equal to the terminal resolution multiplied by the performance factor;
only generating a preview thumbnail for the picture of which the thumbnail is smaller than the target resolution and larger than the default size and multiplied by the performance factor;
for pictures of preview thumbnails smaller than the default size, no processing is performed.
5. The method of claim 1, wherein the performance factor is equal to a sum of at least two of:
Figure FDA0002163631250000021
Figure FDA0002163631250000022
Figure FDA0002163631250000023
Figure FDA0002163631250000024
and
6. the method of claim 5, wherein the hard disk weight is greater than or equal to the memory weight and greater than or equal to the GPU weight and greater than or equal to the display weight and greater than or equal to the CPU weight.
7. A picture display control system, the system comprising:
the picture data checking module is used for responding to the received data request and checking whether picture data which accord with a preset thumbnail strategy exist according to the resolution and the performance factor of the current terminal;
a data preparation completion signal transmitting module for transmitting a data preparation completion signal in response to the presence or readiness of the picture data;
the data loading module is used for responding to the received data preparation completion signal, acquiring the picture data, loading the picture data into a memory and sending a data loading completion notice;
a picture display change module for changing picture display content based on the picture data in response to receiving the data loading completion notification;
wherein the performance factor is determined according to at least two of the following parameters of the terminal: the hardware rotation speed, the memory size, the frequency and the display bit width of the GPU, the display resolution and the frequency and the core number of the CPU.
8. The system of claim 7, further comprising:
and the picture re-request module is used for responding to the dynamic change of the displayed size of the picture, and when the size is larger than the default thumbnail display effect, the picture with higher resolution is requested again and waiting for processing notification.
9. The system of claim 7, further comprising:
and the picture data generation module is used for responding to the absence of the picture data, processing the corresponding picture according to the preset thumbnail strategy and generating the picture data.
10. The system of claim 7, wherein the performance factor is equal to a sum of at least two of:
Figure FDA0002163631250000031
Figure FDA0002163631250000032
Figure FDA0002163631250000033
and
Figure FDA0002163631250000035
CN201610529546.5A 2016-07-06 2016-07-06 Picture display control method and system Active CN106250010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610529546.5A CN106250010B (en) 2016-07-06 2016-07-06 Picture display control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610529546.5A CN106250010B (en) 2016-07-06 2016-07-06 Picture display control method and system

Publications (2)

Publication Number Publication Date
CN106250010A CN106250010A (en) 2016-12-21
CN106250010B true CN106250010B (en) 2020-01-07

Family

ID=57613969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610529546.5A Active CN106250010B (en) 2016-07-06 2016-07-06 Picture display control method and system

Country Status (1)

Country Link
CN (1) CN106250010B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650820A (en) * 2009-09-24 2010-02-17 浙江大学 Large image real-time browsing method based on multi-core structure
CN102902500A (en) * 2012-08-29 2013-01-30 华为技术有限公司 Display method and device of data matrix information
CN102984151A (en) * 2012-11-26 2013-03-20 北京奇虎科技有限公司 Method and server for providing picture data for computing terminal
CN104360909A (en) * 2014-11-04 2015-02-18 无锡天脉聚源传媒科技有限公司 Method and device for processing videos
CN105183604A (en) * 2015-10-29 2015-12-23 浪潮(北京)电子信息产业有限公司 Server performance testing method and system
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
CN105335526A (en) * 2015-12-04 2016-02-17 北京京东尚科信息技术有限公司 Image loading method and device
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN105657070A (en) * 2012-11-26 2016-06-08 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650820A (en) * 2009-09-24 2010-02-17 浙江大学 Large image real-time browsing method based on multi-core structure
CN102902500A (en) * 2012-08-29 2013-01-30 华为技术有限公司 Display method and device of data matrix information
CN102984151A (en) * 2012-11-26 2013-03-20 北京奇虎科技有限公司 Method and server for providing picture data for computing terminal
CN105657070A (en) * 2012-11-26 2016-06-08 北京奇虎科技有限公司 Method and server for providing picture data to computing terminal
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN104360909A (en) * 2014-11-04 2015-02-18 无锡天脉聚源传媒科技有限公司 Method and device for processing videos
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
CN105183604A (en) * 2015-10-29 2015-12-23 浪潮(北京)电子信息产业有限公司 Server performance testing method and system
CN105335526A (en) * 2015-12-04 2016-02-17 北京京东尚科信息技术有限公司 Image loading method and device

Also Published As

Publication number Publication date
CN106250010A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN109640116B (en) Cloud mobile phone network video coding method and server
CN109753207B (en) Information processing method and device and storage medium
CN110392306B (en) Data processing method and equipment
US7945120B2 (en) Apparatus for enhancing resolution using edge detection
JP2009268092A (en) Portable imaging apparatus offloading image processing operation
CN110930467A (en) Image processing method, electronic device and readable storage medium
US8867611B2 (en) Video transmitting method and system with image quality adjusting function
WO2017202175A1 (en) Method and device for video compression and electronic device
CN110505523B (en) Video transcoding priority order control method and processing terminal
CN105681336B (en) Picture provides system
CN106250010B (en) Picture display control method and system
WO2021259613A1 (en) Inverse tone mapping with adaptive bright-spot attenuation
JP2006033884A (en) Receiving-side device of image data transmitting/receiving system and storage medium with program thereof stored thereon
US9292912B2 (en) Display apparatus and method for image output thereof
WO2023109374A1 (en) User interface poster picture processing method and apparatus, storage medium, and electronic device
US8934025B2 (en) Method and apparatus for processing image
EP3582504A1 (en) Image processing method, device, and terminal device
CN112399196B (en) Image processing method and device
CN111405362B (en) Video output method, video output device, video equipment and computer readable storage medium
CN110941413B (en) Display screen generation method and related device
CN110941596A (en) Disk space release method and device, computing equipment and computer storage medium
CN111754387B (en) Image processing method and device
CN116886744B (en) Dynamic adjustment method, device and equipment for streaming resolution and storage medium
CN112837211B (en) Picture processing method and device, electronic equipment and readable storage medium
CN114189741B (en) Image processing method and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210201

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: 100176 room 2222, building D, building 33, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20161221

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: A picture display control method and system

Granted publication date: 20200107

License type: Common License

Record date: 20210531