Method for processing picture in dynamic adaption to terminal

A technology of image processing and dynamic adaptation, applied in the field of image processing, can solve the problems of wasting server space and not being able to adapt well, and achieve the effect of saving storage space

Inactive Publication Date: 2014-04-16
21CN
View PDF8 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the common practice in the industry is to generate several thumbnails of a specific size when uploading pictures. This method can only be adapted to mainstream screen resolutions. When encountering some models with non-mainstream resolutions, it will not work well. do adaptation
Moreover, this strategy will generate multiple pictures of different sizes and save them on the disk. These pictures of different sizes may not all be used, which will cause a waste of server space.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for processing picture in dynamic adaption to terminal
  • Method for processing picture in dynamic adaption to terminal
  • Method for processing picture in dynamic adaption to terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] Such as figure 1 As shown, it is a schematic flow chart of a picture processing method for terminal dynamic adaptation in an embodiment of the present invention. This embodiment is explained from the processing process of the server, including the following steps:

[0021] S11. Obtain the picture uploaded by the user, and generate an identifier for the picture;

[0022] The user uploads pictures to the server, and the server generates a unique identifier for each picture;

[0023] In a preferred embodiment, the identification of the picture can be generated by a message digest algorithm, such as the MD5 algorithm, the information summary of the picture is extracted, and the generated fingerprint or digital signature is used as the identification of the picture.

[0024] S12. After storing the picture, generate and publish a link address of the picture; wherein, the link address carries the identification;

[0025] Store the obtained picture, generate a corresponding l...

Embodiment 2

[0063] Such as figure 2 As shown, it is a schematic flowchart of another embodiment of a picture processing method for terminal dynamic adaptation of the present invention. This embodiment is described from the processing process of the terminal, which may include the following steps:

[0064] S21. According to the picture released by the server, read the link address of the picture, and generate a picture acquisition request; wherein, the link address carries the identification of the picture;

[0065] S22. Obtain image processing parameters, add the image processing parameters in the image acquisition request, and send the image processing parameters to the server;

[0066] S23. Receive the image returned by the server after finding the image according to the identifier and processing it according to the image processing parameters;

[0067] In this embodiment, the terminal reads the link address of the picture according to the picture released by the server, and generates...

Embodiment 3

[0080] Such as image 3 As shown, the present invention is described from the two-way interaction between the server and the terminal as an example, including the following steps:

[0081] S31. Obtain the picture uploaded by the user, and generate an identifier for the picture;

[0082] S32. After storing the picture, generate and publish a link address of the picture; wherein, the link address carries the identification;

[0083] S33. According to the picture released by the server, read the link address of the picture, and generate a picture acquisition request; wherein, the link address carries the identification of the picture;

[0084] S34. Obtain image processing parameters, add the image processing parameters in the image acquisition request, and send the image processing parameters to the server;

[0085] S35. Receive a picture acquisition request generated by the terminal according to the link address of the picture; wherein, the acquisition request carries the iden...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for processing a picture in dynamic adaption to a terminal. The method comprises the steps of acquiring the picture uploaded by a user, generating an identification for the picture, storing the picture and then generating the chained address of the picture and releasing the chained address, receiving a picture acquiring request generated by the terminal according to the chained address of the picture, seeking the picture according to the identification, processing the picture according to a picture processing parameter, and then returning the picture to the terminal, wherein the chained address carries the identification, and the acquiring request carries the identification and the picture processing parameter. The invention further provides another method for processing the picture in dynamic adaption to the terminal. According to the method, little server space can be wasted, and the picture can be adapted to picture containers of various sizes perfectly.

Description

technical field [0001] The present invention relates to the technical field of picture processing, in particular to a picture processing method for terminal dynamic adaptation. Background technique [0002] With the development of the mobile Internet, websites and applications pay more attention to the user experience of the mobile terminal, and the display quality of pictures is an important factor affecting the user experience. However, there are many types of mobile terminals with different specifications. In order to avoid image distortion caused by forced stretching and scaling on the terminal, it is necessary to make the size of the image conform to the display specifications of the terminal as much as possible. [0003] At present, the common practice in the industry is to generate several thumbnails of a specific size when uploading pictures. This method can only be adapted to mainstream screen resolutions. When encountering some models with non-mainstream resolutio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T1/00G06T3/40
Inventor 周国盛张颖陈剑恒司徒海富
Owner 21CN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products