Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Picture uploading method and device

A picture uploading and picture technology, which is applied in the field of picture processing, can solve the problems of tariff, multi-flow, consumption, etc., and achieve the effect of reducing the occupation of network bandwidth, reducing the occupation of traffic, and reducing the size of pictures

Inactive Publication Date: 2017-05-24
BEIJING QIHOO TECH CO LTD +1
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, uploaded pictures are generally uploaded directly. If the picture is large, when the user is in a mobile data network such as 2G, 3G and other networks, it will consume a considerable amount of traffic and may generate tariffs.

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
  • Picture uploading method and device
  • Picture uploading method and device
  • Picture uploading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] refer to figure 1 , shows a flow chart of the steps of an embodiment of an image uploading method according to an embodiment of the present invention, which may specifically include the following steps:

[0076]Step 110, receiving an image upload instruction;

[0077] The embodiment of the present invention can be applied to a client, such as a mobile terminal such as a mobile phone.

[0078] When a user triggers an instruction to upload a picture in an APP, the client of the present invention will receive the instruction to upload the image.

[0079] In the embodiment of the present invention, the picture upload instruction may be the picture upload instruction after the user clicks the upload button, selects one or more pictures to be uploaded from the picture library, and clicks to confirm. It has confirmed which pictures are uploaded.

[0080] In the embodiment of the present invention, the process of uploading pictures under the normal flow is intercepted, and s...

Embodiment 2

[0137] refer to figure 2 , shows a flow chart of the steps of an embodiment of an image uploading method according to an embodiment of the present invention, which may specifically include the following steps:

[0138] Step 210, the client side receives an image upload instruction;

[0139] Step 212, judge whether the current network is a mobile data network; if it is a mobile data network, go to step 214.

[0140] Step 214, judge whether the size of the picture exceeds the first threshold; if it exceeds the first threshold, go to step 216.

[0141] Step 216, start the picture editing mode, and load the picture to be uploaded;

[0142] Step 218, editing the picture to be uploaded;

[0143] Step 220, using the edited picture as a file, calling the file compression interface to compress the picture to obtain a compressed file.

[0144] In the embodiment of the present invention, for the edited picture, the picture stored in the first cache space can be in the form of a file...

Embodiment 3

[0156] refer to image 3 , which shows a flow chart of the steps of an embodiment of an image uploading device according to an embodiment of the present invention, which may specifically include the following modules:

[0157] The instruction receiving module 310 is adapted to receive an image upload instruction;

[0158] The size judging module 320 is adapted to judge whether the size of the picture exceeds a first threshold;

[0159] The editing module starting module 330 is adapted to start the picture editing mode if the first threshold is exceeded, and load the picture to be uploaded;

[0160] Editing module 340, adapted to edit the picture to be uploaded;

[0161] The compression module 350 is suitable for compressing the edited picture after the editing is completed;

[0162] The upload module 360 ​​is suitable for uploading the compressed pictures.

[0163] Preferably, the editing module includes:

[0164] The first editing module is adapted to cut the picture to ...

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 embodiment of the invention provides a picture uploading method and device, and relates to the technical field of picture processing. The method comprises the following steps: receiving a picture uploading instruction; judging whether the size of a picture exceeds a first threshold; if the size of the picture exceeds the first threshold, enabling a picture editing mode, and loading the to-be-uploaded picture; editing the to-be-uploaded picture; compressing the edited picture after the editing operation is accomplished; and uploading the compressed picture. By adoption of the picture uploading method and device provided by the invention, in an uploading process, the picture is firstly edited and then is compressed so as to reduce the size of the picture, thereby having the beneficial effects of reducing the flow consumption and reducing the network bandwidth occupation.

Description

technical field [0001] The invention relates to the technical field of picture processing, in particular to a picture uploading method and a picture uploading device. Background technique [0002] With the intelligentization of mobile terminals, many APPs (applications) can upload pictures for storage or display. The picture is, for example, a picture or the like. [0003] In the prior art, uploaded pictures are generally uploaded directly. If the picture is large, when the user is in a mobile data network such as 2G, 3G and other networks, it will consume quite a lot of traffic and may generate tariffs. Contents of the invention [0004] In view of the above problems, the present invention is proposed to provide a picture uploading method and a corresponding picture uploading device which overcome the above problems or at least partly solve the above problems. [0005] According to one aspect of the present invention, it is provided that the present invention discloses ...

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): H04N1/00H04N1/41H04N1/387
CPCH04N1/00106H04N1/387H04N1/41
Inventor 毛帅康永威
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products