CN105611341B - A kind of method, apparatus and system for transmitting image - Google Patents
A kind of method, apparatus and system for transmitting image Download PDFInfo
- Publication number
- CN105611341B CN105611341B CN201510964362.7A CN201510964362A CN105611341B CN 105611341 B CN105611341 B CN 105611341B CN 201510964362 A CN201510964362 A CN 201510964362A CN 105611341 B CN105611341 B CN 105611341B
- Authority
- CN
- China
- Prior art keywords
- image
- thumbnail image
- image data
- thumbnail
- pixel
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Abstract
The disclosure is directed to a kind of method, apparatus and system for transmitting image, belong to field of computer technology.The described method includes: obtaining the image data of the first thumbnail image of the partial pixel point composition in target image;The image data of first thumbnail image is sent to terminal;Receive the image data of the first thumbnail image of part pixel composition in the target image that server is sent;Based on the image data of first thumbnail image, first thumbnail image is shown;After the image data of first thumbnail image is sent, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal;Receive the image data of other pixels except partial pixel point described in the target image that server is sent;The image data of image data and other pixels based on first thumbnail image, shows the target image.Using the disclosure, data transmission resources can be saved.
Description
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of method, apparatus and system for transmitting image.
Background technique
With the development of computer technology, the function of the terminals such as mobile phone is more and more, user can be used terminal in real time to
Friend shares the photo of oneself.
In the prior art, when user transmits image to good friend using communication class application program, server can be to the user
Good friend terminal send first the image thumbnail image data, terminal shows the thumbnail in dialog boxes, when this
When good friend clicks the thumbnail of the image in dialog boxes, the complete image data of the image can be sent to the good friend by server
Terminal, shown.
In implementing the present disclosure, the inventor finds that the existing technology has at least the following problems:
Server should send the image data of the thumbnail for the image to be browsed to terminal, also send institute to terminal
The complete image data for the image to be browsed, so that the data volume that will lead to transmission is bigger.
Summary of the invention
In order to overcome the problems, such as present in the relevant technologies, present disclose provides a kind of methods for transmitting image.Technical solution
It is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method for transmitting image is provided, which comprises
Obtain the image data of the first thumbnail image of the partial pixel point composition in target image;
The image data of first thumbnail image is sent to terminal;
After the image data of first thumbnail image is sent, sends in the target image and remove to the terminal
The image data of other pixels except the partial pixel point.
Optionally, the image data that first thumbnail image is sent to terminal, comprising:
Obtain the image data for the second thumbnail image that part pixel forms in first thumbnail image;
The image data of second thumbnail image is sent to terminal;
After the image data of second thumbnail image is sent, first thumbnail image is sent to the terminal
In other pixels in addition to part pixel in first thumbnail image image data.
In this way, server can first transmit the smaller thumbnail image of image data, browsed for user.
Optionally, after the image data in first thumbnail image is sent, to described in terminal transmission
The image data of other pixels in target image in addition to the partial pixel point, comprising:
After the image data of first thumbnail image is sent, the display request of the target image is received
When, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal.
In this way, user can choose whether browsing objective image.
Optionally, the image data that first thumbnail image is sent to terminal, comprising:
The image data of first thumbnail image is compressed, the number of compressed images of first thumbnail image is obtained
According to sending the compressing image data of first thumbnail image to terminal.
After the image data in first thumbnail image is sent, the target image is sent to the terminal
In other pixels in addition to the partial pixel point image data, comprising:
After the image data of first thumbnail image is sent, the partial pixel will be removed in the target image
The image data of other pixels except point is compressed, and the compressing image data of other pixels is obtained, to described
Terminal sends the compressing image data of other pixels.
In this way, reducing the occupancy of Internet resources.
According to the second aspect of an embodiment of the present disclosure, a kind of method for transmitting image is provided, which comprises
Receive the image data of the first thumbnail image of part pixel composition in the target image that server is sent;
Based on the image data of first thumbnail image, first thumbnail image is shown;
Receive the picture number of other pixels except partial pixel point described in the target image that server is sent
According to;
The image data of image data and other pixels based on first thumbnail image, shows the target
Image.
Optionally, the figure for receiving the first thumbnail image of part pixel composition in the target image that server is sent
As data, comprising:
Receive the image of the second thumbnail image of part pixel composition in first thumbnail image that server is sent
Data;
Based on the image data of second thumbnail image, second thumbnail image is shown;
It receives in first thumbnail image that the server is sent except part pixel in first thumbnail image
Except other pixels image data;
The image data based on first thumbnail image shows first thumbnail image, comprising:
First thumbnail image is removed in image data and first thumbnail image based on second thumbnail image
The image data of other pixels except middle part pixel shows first thumbnail image.
In this way, user may browse through the lower image of resolution ratio.
Optionally, the image data based on first thumbnail image, after showing first thumbnail image, institute
State method further include:
When detect user's input to the amplification idsplay order of first thumbnail image when, sent to the server
The display of the target image is requested.
In this way, user may browse through target image.
Optionally, the figure for receiving the first thumbnail image of part pixel composition in the target image that server is sent
As data, comprising:
Receive the compressing image data of the first thumbnail image of part pixel composition in the target image that server is sent;
The image data based on first thumbnail image shows first thumbnail image, comprising:
The compressing image data of first thumbnail image is unziped it, first contracting obtained based on decompression
The image data of sketch map picture shows first thumbnail image;
The figure for receiving other pixels except partial pixel point described in the target image that server is sent
As data, comprising:
Receive the compression figure of other pixels except partial pixel point described in the target image that server is sent
As data;
The image data of the image data based on first thumbnail image and other pixels, described in display
Target image, comprising:
The compressing image data of other pixels is unziped it, the picture number based on first thumbnail image
According to decompression obtain described in other pixels image data, show the target image.
In this way, user may browse through the target image of decompression.
Optionally, the image data of the image data based on first thumbnail image and other pixels,
Show the target image, comprising:
The image data of first thumbnail image and the image data of other pixels are merged, the mesh is obtained
The image data of logo image shows the target image based on the image data of the target image.
In this way, user may browse through target image.
According to the third aspect of an embodiment of the present disclosure, a kind of server is provided, the server includes:
Module is obtained, the image data of the first thumbnail image for obtaining the point of the partial pixel in target image composition;
First sending module, for sending the image data of first thumbnail image to terminal;
Second sending module, for being sent out to the terminal after the image data of first thumbnail image is sent
Send the image data of other pixels in the target image in addition to the partial pixel point.
Optionally, first sending module includes acquisition submodule, the first sending submodule and the second sending submodule,
Wherein:
The acquisition submodule, for obtaining the second thumbnail image that part pixel forms in first thumbnail image
Image data;
First sending submodule, for sending the image data of second thumbnail image to terminal;
Second sending submodule, for after the image data of second thumbnail image is sent, to described
Terminal sends the figure of other pixels in first thumbnail image in addition to part pixel in first thumbnail image
As data.
Optionally, second sending module is used for:
After the image data of first thumbnail image is sent, the display request of the target image is received
When, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal.
Optionally, first sending module is used for:
The image data of first thumbnail image is compressed, the number of compressed images of first thumbnail image is obtained
According to sending the compressing image data of first thumbnail image to terminal.
Second sending module is used for:
After the image data of first thumbnail image is sent, the partial pixel will be removed in the target image
The image data of other pixels except point is compressed, and the compressing image data of other pixels is obtained, to described
Terminal sends the compressing image data of other pixels.
According to a fourth aspect of embodiments of the present disclosure, a kind of terminal is provided, the terminal includes:
First receiving module, for receiving the first thumbnail of pixel composition in part in the target image that server is sent
The image data of picture;
First display module shows first thumbnail image for the image data based on first thumbnail image;
Second receiving module, for receiving its described in the target image of server transmission except partial pixel point
The image data of his pixel;
Second display module, the image for image data and other pixels based on first thumbnail image
Data show the target image.
Optionally, first receiving module includes the first receiving submodule, display sub-module and the second receiving submodule,
Wherein:
First receiving submodule, for receiving part pixel group in first thumbnail image that server is sent
At the second thumbnail image image data;
The display sub-module shows second thumbnail for the image data based on second thumbnail image
Picture;
Second receiving submodule, for receiving in first thumbnail image that the server is sent except described the
The image data of other pixels in one thumbnail image except the pixel of part;
First display module, is used for:
First thumbnail image is removed in image data and first thumbnail image based on second thumbnail image
The image data of other pixels except middle part pixel shows first thumbnail image.
Optionally, the terminal further include:
Sending module, for when detect user's input to the amplification idsplay order of first thumbnail image when, to
The server sends the display request of the target image.
Optionally, first receiving module is used for:
Receive the compressing image data of the first thumbnail image of part pixel composition in the target image that server is sent;
First display module is used for:
The compressing image data of first thumbnail image is unziped it, first contracting obtained based on decompression
The image data of sketch map picture shows first thumbnail image.
Second receiving module is used for:
Receive the compression figure of other pixels except partial pixel point described in the target image that server is sent
As data;
Second display module is used for:
The compressing image data of other pixels is unziped it, the picture number based on first thumbnail image
According to decompression obtain described in other pixels image data, show the target image.
Optionally, second display module is used for:
The image data of first thumbnail image and the image data of other pixels are merged, the mesh is obtained
The image data of logo image shows the target image based on the image data of the target image.
According to a fifth aspect of the embodiments of the present disclosure, a kind of system for transmitting image is provided, the system comprises servers
And terminal, in which:
The server, the picture number of the first thumbnail image for obtaining the point of the partial pixel in target image composition
According to;The image data of first thumbnail image is sent to terminal;It is sent in the image data of first thumbnail image
Afterwards, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal;
The terminal, for receiving the first thumbnail image of part pixel composition in the target image that server is sent
Image data;Based on the image data of first thumbnail image, first thumbnail image is shown;Receive what server was sent
The image data of other pixels except the point of partial pixel described in the target image;Based on first thumbnail image
The image data of image data and other pixels shows the target image.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, the total amount of data of transmission is no more than the total amount of data of target image, so as to save data transmission resources.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of method for transmitting image shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of method for transmitting image shown according to an exemplary embodiment;
Fig. 3 is a kind of pixel schematic diagram of target image shown according to an exemplary embodiment;
Fig. 4 is a kind of pixel schematic diagram of first thumbnail image shown according to an exemplary embodiment;
Fig. 5 is the schematic diagram of other pixels in a kind of target image shown according to an exemplary embodiment;
Fig. 6 is a kind of structural schematic diagram of server shown according to an exemplary embodiment;
Fig. 7 is a kind of structural schematic diagram of server shown according to an exemplary embodiment;
Fig. 8 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment;
Fig. 9 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment;
Figure 10 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment;
Figure 11 is a kind of structural schematic diagram of server shown according to an exemplary embodiment;
Figure 12 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
An exemplary embodiment of the present disclosure provides a kind of methods for transmitting image, and the method for transmitting image can be by terminal
It is realized jointly with server, wherein terminal can be mobile phone, computer etc., and it is (such as micro- that server can be communication class application program
Letter, mailbox etc.) background server, communication class application program can be installed in the terminal, and can be set processor,
Memory, transceiver etc., processor are used for transmission the processing of the process of image;Memory can be used for storing transmission image process
The data of middle needs and the data received;Transceiver can be used for receiving and transmitting message.Can also include in terminal
Screen etc., screen are displayed for the image of transmission, and screen can be touch-screen.Place can be set in the server
Device, memory, transceiver etc. are managed, processor can be used for transmitting the processing of the process of image, and memory can be used for storing biography
The data needed in defeated image process and the data received, transceiver can be used for receiving and transmitting message.This implementation
In example by taking the background server that terminal is mobile phone, server is wechat application program as an example, the detailed description of scheme is carried out, it is other
Situation is similar therewith, and the present embodiment is not repeated.
As shown in Figure 1, the process flow of this method may include following step:
In a step 101, server obtains the image of the first thumbnail image of the partial pixel point composition in target image
Data.
In one embodiment, when user A wants that sending image to its good friend by certain communication class application program (is properly termed as mesh
Logo image) when, which, which can operate, opens the communication class application program, and user A can be defeated in collection of letters contact person's edit box
Enter the account identification of the good friend B, the target image is then uploaded to information editing's frame, click and send key, triggering terminal will
The image data of target image is sent to the background server of the communication class application program.The server receives target image
Afterwards, the image data that can parse target image obtains the account identification of A and the account identification of B, and obtains in target image
Partial pixel point, then by the partial pixel point form the first thumbnail image.Server can store in the target image
Other pixels in the image data of first thumbnail image and corresponding image identification, target image in addition to partial pixel point
Image data and corresponding image identification.
For example, the resolution ratio of target image is 800*600 as shown in Fig. 3,4,5, the pixel of target image is also just represented
Point has 800*600, and 800 rows, 600 pixels of every row can be from even number lines to the 799th row since the 0th row altogether
Taking ordinate position is the pixel of even number, and zero row takes out coordinate position (abscissa represents line number, and ordinate represents columns)
For the pixel of (0,0), (0,2), (0,4) ... (0,598), the first row not capture vegetarian refreshments, the second row take coordinate position be (2,
0), the pixel of (2,2), (2,4) ... (2,598), the pixel taken out in the target image in this way are 400*300, are taken
400*300 pixel out constitutes the first thumbnail image, and the coordinate position of the first thumbnail image is part in target image
The coordinate position of pixel is divided by 2, that is, (0,0), (0,1), (0,2) ... (0,299), the portion of above-mentioned taking-up target image
Without limitation, the above is only illustrations for the method for point pixel.
In a step 102, server sends the image data of the first thumbnail image to terminal.
It in one embodiment, can be according to the account mark of B after server gets the image data of the first thumbnail image
Know, sends the image data of the first thumbnail image (in image data to corresponding log in terminal (the abbreviation terminal) of account mark
Including each pixel and corresponding coordinate position), the account identification of A can also be sent to notify the first thumbnail of user B
As being sent by user A.
Optionally, the compressing image data of the first thumbnail image can be sent to terminal, corresponding processing can be with are as follows: by the
The image data of one thumbnail image is compressed, and the compressing image data of the first thumbnail image is obtained, and sends the first contracting to terminal
The compressing image data of sketch map picture.
In one embodiment, server, can be by the picture number of the first thumbnail image after getting the first thumbnail image
According to being compressed, the compressing image data of the first thumbnail image is obtained, may then based on the account identification of B, is marked to the account
Know the corresponding compressing image data for logging in terminal and sending the first thumbnail image.
In step 103, terminal receives the first thumbnail of pixel composition in part in the target image that server is sent
The image data of picture.
In one embodiment, terminal can receive the first contracting of pixel composition in part in the target image of server transmission
The image data of sketch map picture, that is, the image data for the first thumbnail image that server is sent is received, the account of A can also be received
Then family mark can show that the alert notification for receiving the first thumbnail image, such as A send a picture to you in interface.
Optionally, the compression figure of the first thumbnail image of part pixel composition in the target image that server is sent is received
As data.
In one embodiment, terminal can receive the first contracting of pixel composition in part in the target image of server transmission
The compressing image data of sketch map picture;It namely can receive the compressing image data of the first thumbnail image, and get the account of A
Then family mark can show that the alert notification for receiving the first thumbnail image, such as A send a picture to you in interface.
At step 104, image data of the terminal based on the first thumbnail image shows the first thumbnail image.
In one embodiment, terminal is receiving user's check key corresponding to the alert notification of the first thumbnail image
After click commands, the first thumbnail image can be shown in the dialog boxes of messaging application.
Optionally, the compressing image data of the first thumbnail image is unziped it, the first contracting obtained based on decompression
The image data of sketch map picture shows the first thumbnail image.
It in one embodiment, can be according to terminal and clothes after terminal receives the compressing image data of the first thumbnail image
The decompression mode of business device agreement unzips it the compressing image data, and decompression obtains the picture number of the first thumbnail image
According to rear, the first thumbnail image is shown in the dialog boxes of messaging application.
Optionally, terminal can send the display request of target image to server, and corresponding processing can be with are as follows: works as detection
To user input to the amplification idsplay order of the first thumbnail image when, the display request of target image is sent to server.
In one embodiment, after user B checks the first thumbnail image, if it is desired to check the higher target figure of resolution ratio
Picture can then click the first thumbnail image or double-click the first thumbnail image, when terminal detects the click commands of user, really
The fixed click commands are the amplification idsplay order to the first thumbnail image, then can ask to the display that server sends target image
It asks, in display request, carries the account identification of B and the mark of target image.
In step 105, server sends target figure to terminal after the image data of the first thumbnail image is sent
The image data of other pixels as in addition to partial pixel point.
In one embodiment, server determines that the image data of the first thumbnail image has all been sent to the account mark of B
Know it is corresponding log in terminal after, then the picture number of other pixels in available target image in addition to partial pixel point
According to, that is, the pixel in target image in addition to the pixel for including in the first thumbnail image, then to the account identification of B
The corresponding image data for logging in other pixels that terminal is sent in target image in addition to partial pixel point, the image data
In may include each pixel and corresponding coordinate position.
Optionally, the compressing image data except other pixels can also be sent to terminal, corresponding processing can be with are as follows:
After the image data of the first thumbnail image is sent, by other pixels in target image in addition to partial pixel point
Image data is compressed, and the compressing image data of other pixels is obtained, and the compression image of other pixels is sent to terminal
Data.
In one embodiment, server determines that the image data of the first thumbnail image has all been sent to the account mark of B
Know it is corresponding log in terminal after, the image data of other pixels in available target image in addition to partial pixel point,
The image data of other pixels namely in target image in addition to the pixel for including in the first thumbnail image can incite somebody to action
The image data of other pixels is compressed, and the compressing image data of the image data of other pixels is obtained, then to B's
The corresponding number of compressed images for logging in other pixels that terminal is sent in target image in addition to partial pixel point of account identification
According to.
Optionally, after the image data of the first thumbnail image is sent, when receiving the display request of target image,
The image data of other pixels in target image in addition to partial pixel point is sent to terminal.
In one embodiment, server determines that the image data of the first thumbnail image has all been sent to the account mark of B
Know it is corresponding log in terminal after, server receive terminal transmission target image display request when, can parse the display
Then mark, the account identification of B of request target image are obtained in target image according to the image identification of target image and are removed
The data of other pixels are sent to by the image data of other pixels except partial pixel point according to the account identification of B
The account identification of B is corresponding to log in terminal.
In step 106, terminal receives other pixels in the target image that server is sent except the pixel of part
Image data.
In one embodiment, terminal can also receive other except the pixel of part in the target image of server transmission
The image data of pixel, that is, the pixel in target image in addition to the pixel that the first thumbnail includes, for example, mesh
The pixel that logo image includes has 800*600, altogether 800 row, 600 pixels of every row, to the 799th since the 0th row
Row, the coordinate position for the 400*300 pixel that the first thumbnail image includes is the picture that ordinate position is even number in even number line
Vegetarian refreshments (since zero row), remaining pixel is the pixel that ordinate position is odd number in even number line in such target image
Whole pixels of point, odd-numbered line, the received pixel of terminal are that ordinate position is the pixel of odd number, odd number in odd-numbered line
Capable whole pixels.
Optionally, the compression image of other pixels in the target image that server is sent except the pixel of part is received
Data.
In step 107, the image data of the terminal image data based on the first thumbnail image and other pixels, display
Target image.
In one embodiment, terminal receives in target image after the image data of other pixels, thus obtains
Then the image data of target image can show target image.
Optionally, the compressing image data of other pixels is unziped it, the picture number based on the first thumbnail image
According to the image data of other pixels obtained with decompression, displaying target image.
It in one embodiment, can be by after terminal receives the compressing image datas of other pixels in target image
The compressing image data is unziped it according to the decompression mode of terminal and server protocol, other pictures after being decompressed
The image data of vegetarian refreshments combines the image data of the first pixel in this way, has just obtained the image data of target image, then may be used
With displaying target image.
Optionally, the image data of the first thumbnail image and the image data of other pixels are merged, obtains target figure
The image data of picture, the image data based on target image, displaying target image.
In one embodiment, terminal receives the image data of the pixel in target image in addition to partial pixel point
Afterwards, it can parse to obtain the coordinate position of each pixel, it then can be according to the seat of pixel each in the first thumbnail image
The coordinate position of its pixel in the target image is calculated in cursor position, by the pixel in the first thumbnail image according to
Coordinate position in target image is merged into the centre of other pixels in target image in addition to partial pixel point, obtains mesh
The image data of logo image, then can in the dialog boxes of the communication class application program displaying target image.
For example, in target image other pixels coordinate position are as follows: zero row (0,1), (0,3), (0,5) ... (0,
599), the first row (1,0), (1,1), (1,2) ... (1,599) etc., the coordinate position of the pixel of the first thumbnail image are the
Zero row (0,1), (0,2), (0,3) ... (0,299), the coordinate position of the first row is (1,0), (1,1), (1,2) ... (1,
299), the coordinate position of the pixel of the zero row of such first thumbnail image can all correspond in target image multiplied by 2
Coordinate position, that is, (0,2), (0,4), (0,6) ... (0,598), the coordinate position of the first row can correspond to multiplied by 2
To the coordinate position of the second row of target position, that is, (1,0), (1,2), (Isosorbide-5-Nitrae) ... (1,598), so successively by first
Pixel in thumbnail image is merged into corresponding position in target image according to the coordinate position after conversion, obtains target image
The image data for the whole pixels for including, then the displaying target image in the dialog boxes of the communication class application program.
The embodiment of the present disclosure additionally provides server and sends the second thumbnail image to terminal, and corresponding process flow can be as
Under:
In step 201, server obtains the figure of the second thumbnail image of part pixel composition in the first thumbnail image
As data.
In one embodiment, server, can be from the first thumbnail after getting the first thumbnail image in target image
It takes out partial pixel point according to certain rules as in and forms the second thumbnail image, and can store the picture number of the second thumbnail image
According to the figure with other pixels in corresponding image identification, the first thumbnail image in addition to the first thumbnail image partial pixel point
As data and corresponding image identification, for example, the resolution ratio of target image is 800*600, the pixel of the first thumbnail image is
400*300 includes 400*300 pixel in the first thumbnail image, and one shares 400 rows (the 0th row to the 399th row), every row
300 pixels take out the pixel that ordinate position is even number from even number line and form the second thumbnail image, such second breviary
The pixel of image is 200*150, then the resolution ratio of the second thumbnail image is 200*150.
In step 202, server sends the image data of the second thumbnail image to terminal.
It in one embodiment, can be based on the account identification of B, to the account after server gets the second thumbnail image
The image data that corresponding terminal sends the second thumbnail image is identified, may include each pixel in the image data and right
The coordinate position answered.
In addition, can be compressed the image data of the second thumbnail image after server gets the second thumbnail image,
The account identification that may then based on B identifies the compressing image data that corresponding terminal sends the second thumbnail image to the account
In step 203, terminal receives the second contracting of pixel composition in part in the first thumbnail image that server is sent
The image data of sketch map picture;Based on the image data of the second thumbnail image, the second thumbnail image is shown.
In one embodiment, terminal receives the be made of part pixel in the first thumbnail image of server transmission
After the image data of two thumbnail images, the alert notification for receiving the second thumbnail image can be shown in interface, as A is sent to you
One picture etc..User, which can click, checks key, terminal receives check the click commands of key after, can be in the communication class
The second thumbnail image is shown in the dialog boxes of application program.
In addition, if the image data for the second thumbnail image that the server that terminal receives is sent is number of compressed images
According to the compressing image data of second thumbnail image can then being unziped it, then be shown to the second thumbnail image.
In step 204, after the image data of the second thumbnail image is sent, the first thumbnail image is sent to terminal
In other pixels in addition to part pixel in the first thumbnail image image data.
It in one embodiment, can after server determines that the image data of the second thumbnail image is all sent to terminal
To obtain the image data of other pixels in the first thumbnail image except the pixel of part, then according to the B's got
Account identification, to the account identify corresponding terminal send in the first thumbnail image except in the first thumbnail image part pixel it
The image data of other outer pixels may include each pixel and corresponding coordinate position in the image data.
In addition, server can be by the image data pressure of other pixels except part pixel in the first thumbnail image
Contracting identifies corresponding terminal to the account and sends in the first thumbnail image except first then according to the account identification of the B got
The compressing image data of other pixels in thumbnail image except the pixel of part.
Alternatively, after server determines that the image data of the second thumbnail image is sent, and receiving terminal transmission
After the display request of first thumbnail image, it can parse display request, the account identification of B therefrom obtained, then to the account
Identify other pixels in the first thumbnail image of corresponding terminal transmission in addition to part pixel in the first thumbnail image
Image data.
In step 205, terminal receives in the first thumbnail image that server is sent except part picture in the first thumbnail image
The image data of other pixels except vegetarian refreshments.
In step 206, the first breviary is removed in image data and the first thumbnail image of the terminal based on the second thumbnail image
The image data of other pixels in image except the pixel of part shows the first thumbnail image.
In one embodiment, terminal is in the first thumbnail image for receiving server transmission except in the middle part of the first thumbnail image
After dividing the image data of other pixels except pixel, it can parse to obtain the coordinate position of each pixel, then may be used
Seat of its pixel in the first thumbnail image is calculated according to the coordinate position of pixel each in the second thumbnail image
Pixel in second thumbnail image is merged into the first breviary according to the coordinate position in the first thumbnail image by cursor position
The centre of other pixels in image in addition to part pixel in the first thumbnail image obtains the image of the first thumbnail image
Data, and the first thumbnail image is shown in the dialog boxes of the communication class application program.
For example, including 400*300 pixel in the first thumbnail image, include 200*150 in the second thumbnail image
Pixel, coordinate position of the pixel of the zero row of the second thumbnail image in the first thumbnail image be (0,0), (0,
2) first pixel of zero row in the second thumbnail image when then merging, can be placed on the first image by ... (0,398)
First location point of zero row in thumbnail image, second pixel point is placed on zero row in the first thumbnail image in zero row
Third location point at, and so on, can be by partial pixel in the pixel of the second thumbnail image and the first thumbnail image
Other pixels except point merge, and the image data of the first thumbnail image are obtained, then in pair of the communication class application program
Words show the first thumbnail image in column.
In addition, server can send the image data of the second thumbnail image to terminal first, the then is sent to terminal
The image data of other pixels in one thumbnail image in addition to part pixel in the first thumbnail image is finally sent out to terminal
The image data of other pixels in target image in addition to partial pixel point is sent, terminal can be according to the seat of each pixel
Its coordinate position in the target image is calculated in cursor position, and each pixel is then placed on mesh according to its coordinate position
Between other pixels of logo image, the image data of target image is obtained, then displaying target image.For example, the second breviary
The ordinate and abscissa of the coordinate position of pixel in image are exactly respectively its coordinate bit in the target image multiplied by 4
It sets, the ordinate and abscissa of the coordinate position of the pixel in the first thumbnail image are exactly respectively it in target image multiplied by 2
In coordinate position.
Pixel is provided in the slave target image provided in the embodiment of the present disclosure and the pixel of taking-up is merged into mesh
Without limitation, method provided above is only one such implementation to method in logo image among residual pixel point.
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, when server sends image to terminal, the total amount of data of transmission is no more than the total amount of data of target image, from
And data transmission resources can be saved.
Disclosure another exemplary embodiment, which provides, additionally provides a kind of server for transmitting image, as shown in fig. 6, should
Server includes:
Module 610 is obtained, the picture number of the first thumbnail image for obtaining the point of the partial pixel in target image composition
According to;
First sending module 620, for sending the image data of first thumbnail image to terminal;
Second sending module 630, for after the image data of first thumbnail image is sent, to the terminal
Send the image data of other pixels in the target image in addition to the partial pixel point.
Optionally, as shown in fig. 7, first sending module 620 includes acquisition submodule 621, the first sending submodule
622 and second sending submodule 623, in which:
The acquisition submodule 621, for obtaining the second breviary that part pixel forms in first thumbnail image
The image data of image;
First sending submodule 622, for sending the image data of second thumbnail image to terminal;
Second sending submodule 623, for after the image data of second thumbnail image is sent, to institute
It states terminal and sends other pixels in first thumbnail image in addition to part pixel in first thumbnail image
Image data.
Optionally, second sending module 630 is used for:
After the image data of first thumbnail image is sent, the display request of the target image is received
When, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal.
Optionally, first sending module 620 is used for:
The image data of first thumbnail image is compressed, the number of compressed images of first thumbnail image is obtained
According to sending the compressing image data of first thumbnail image to terminal.
Second sending module 630 is used for:
After the image data of first thumbnail image is sent, the partial pixel will be removed in the target image
The image data of other pixels except point is compressed, and the compressing image data of other pixels is obtained, to described
Terminal sends the compressing image data of other pixels.
Based on identical design, the embodiment of the present disclosure, which provides, additionally provides a kind of terminal for transmitting image, such as Fig. 8 institute
Show, which includes:
First receiving module 810, for receiving the first contracting of pixel composition in part in the target image that server is sent
The image data of sketch map picture;
First display module 820 shows first thumbnail for the image data based on first thumbnail image
Picture;
Second receiving module 830, for receiving except partial pixel point described in the target image of server transmission
Other pixels image data;
Second display module 840, for based on first thumbnail image image data and other pixels
Image data shows the target image.
Optionally, as shown in figure 9, first receiving module 810 includes the first receiving submodule 811, display sub-module
812 and second receiving submodule 813, in which:
First receiving submodule 811, for receiving partial pixel in first thumbnail image that server is sent
The image data of second thumbnail image of point composition;
The display sub-module 812 shows second breviary for the image data based on second thumbnail image
Image;
Second receiving submodule 813, for receiving in first thumbnail image that the server is sent except institute
State the image data of other pixels in the first thumbnail image except the pixel of part;
First display module 820, is used for:
First thumbnail image is removed in image data and first thumbnail image based on second thumbnail image
The image data of other pixels except middle part pixel shows first thumbnail image.
Optionally, as shown in Figure 10, the terminal further include:
Sending module 850, for when detect user's input to the amplification idsplay order of first thumbnail image when,
The display request of the target image is sent to the server.
Optionally, first receiving module 810 is used for:
Receive the compressing image data of the first thumbnail image of part pixel composition in the target image that server is sent;
First display module 820 is used for:
The compressing image data of first thumbnail image is unziped it, first contracting obtained based on decompression
The image data of sketch map picture shows first thumbnail image.
Second receiving module 830 is used for:
Receive the compression figure of other pixels except partial pixel point described in the target image that server is sent
As data;
Second display module 840 is used for:
The compressing image data of other pixels is unziped it, the picture number based on first thumbnail image
According to decompression obtain described in other pixels image data, show the target image.
Optionally, second display module 840 is used for:
The image data of first thumbnail image and the image data of other pixels are merged, the mesh is obtained
The image data of logo image shows the target image based on the image data of the target image.
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, when server sends image to terminal, the total amount of data of transmission is no more than the total amount of data of target image, from
And data transmission resources can be saved.
It should be understood that it is provided by the above embodiment transmission image server and terminal when transmitting image, only with
The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not
Same functional module is completed, i.e., the internal structure of server and terminal is divided into different functional modules, to complete above retouch
The all or part of function of stating.In addition, the server and terminal and transmission image of transmission image provided by the above embodiment
Embodiment of the method belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Disclosure another exemplary embodiment provides a kind of system for transmitting image, the system comprises: server and
Terminal, in which:
The server, the picture number of the first thumbnail image for obtaining the point of the partial pixel in target image composition
According to;The image data of first thumbnail image is sent to terminal;It is sent in the image data of first thumbnail image
Afterwards, the image data of other pixels in the target image in addition to the partial pixel point is sent to the terminal;
The terminal, for receiving the first thumbnail image of part pixel composition in the target image that server is sent
Image data;Based on the image data of first thumbnail image, first thumbnail image is shown;Receive what server was sent
The image data of other pixels except the point of partial pixel described in the target image;Based on first thumbnail image
The image data of image data and other pixels shows the target image.
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, when server sends image to terminal, the total amount of data of transmission is no more than the total amount of data of target image, from
And data transmission resources can be saved.
The another exemplary embodiment of the disclosure provides a kind of structural schematic diagram of server.Referring to Fig.1 1, server
1100 include processing component 1922, further comprises one or more processors and represented by a memory 1932 deposits
Memory resource, can be by the instruction of the execution of processing component 1922, such as application program for storing.It is stored in memory 1932
Application program may include it is one or more each correspond to one group of instruction module.In addition, processing component 1922
It is configured as executing instruction, the method to execute above-mentioned display usage record.
Server 1100 can also include the power management that a power supply module 1926 is configured as execute server 1100,
One wired or wireless network interface 1950 is configured as server 1100 being connected to network and an input and output (I/O)
Interface 1958.Server 1100 can be operated based on the operating system for being stored in memory 1932, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server 1100 may include have memory and one perhaps more than one program one of them or one
A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor
A procedure above includes the instruction for performing the following operation:
Obtain the image data of the first thumbnail image of the partial pixel point composition in target image;
The image data of first thumbnail image is sent to terminal;
After the image data of first thumbnail image is sent, sends in the target image and remove to the terminal
The image data of other pixels except the partial pixel point.
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, when server sends image to terminal, the total amount of data of transmission is no more than the total amount of data of target image, from
And data transmission resources can be saved.
The another exemplary embodiment of the disclosure provides a kind of structural schematic diagram of terminal.The terminal can be mobile phone, put down
Plate computer etc..
Referring to Fig.1 2, terminal 1200 may include following one or more components: processing component 802, memory 804, electricity
Source component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, with
And communication component 816.
The integrated operation of the usual controlling terminal 1200 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 1200.These data
Example includes the instruction of any application or method for operating in terminal 1200, contact data, telephone book data,
Message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 1200.Electric power assembly 806 may include power management system
System, one or more power supplys and other with for audio output apparatus 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the terminal 1200 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 808 includes a front camera and/or rear camera.When terminal 1200 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when audio output apparatus 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, wheat
Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or warp
It is sent by communication component 816.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 1200 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of terminal 1200, the relative positioning of component, such as institute
The display and keypad that component is terminal 1200 are stated, sensor module 814 can also detect terminal 1200 or terminal 1,200 1
The position change of a component, the existence or non-existence that user contacts with terminal 1200,1200 orientation of terminal or acceleration/deceleration and end
The temperature change at end 1200.Sensor module 814 may include proximity sensor, be configured to connect in not any physics
It is detected the presence of nearby objects when touching.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor,
For being used in imaging applications.In some embodiments, which can also include acceleration transducer, top
Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 1200 and other equipment.Eventually
End 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 816 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short distance logical
Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module
Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 1200 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 1200 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal
When row, enable the terminal to execute above-mentioned method, this method comprises:
Receive the image data of the first thumbnail image of part pixel composition in the target image that server is sent;
Based on the image data of first thumbnail image, first thumbnail image is shown;
Receive the picture number of other pixels except partial pixel point described in the target image that server is sent
According to;
The image data of image data and other pixels based on first thumbnail image, shows the target
Image.
In the embodiment of the present disclosure, the picture number of the first thumbnail image of the partial pixel point composition in target image is obtained
According to;The image data of the first thumbnail image is sent to terminal;Receive pixel composition in part in the target image that server is sent
The first thumbnail image image data;Based on the image data of the first thumbnail image, the first thumbnail image is shown;In the first contracting
After the image data of sketch map picture is sent, other pixels in target image in addition to partial pixel point are sent to terminal
Image data;Receive the image data of other pixels in the target image that server is sent except the pixel of part;It is based on
The image data of first thumbnail image and the image data of other pixels, displaying target image.In this way, working as server to terminal
When sending image, when server sends image to terminal, the total amount of data of transmission is no more than the total amount of data of target image, from
And data transmission resources can be saved.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (13)
1. a kind of method for transmitting image, which is characterized in that the described method includes:
Obtain the image data of the first thumbnail image of the partial pixel point composition in target image, wherein first breviary
The image data of image includes each pixel and each pixel corresponding coordinate position in the first thumbnail image;
The image data of first thumbnail image is sent to terminal;
After the image data of first thumbnail image is sent, send in the target image to the terminal except described
The image data of other pixels except partial pixel point, wherein in the target image in addition to the partial pixel point
The image datas of other pixels include described other pixels in addition to the partial pixel point and described removing institute
State the corresponding coordinate position in the target image of other pixels except partial pixel point;
The image data that first thumbnail image is sent to terminal, comprising:
Obtain the image data for the second thumbnail image that part pixel in first thumbnail image forms, wherein described the
The image data of two thumbnail images includes each pixel and each pixel corresponding seat in first thumbnail image
Cursor position;
The image data of second thumbnail image is sent to terminal;
After the image data of second thumbnail image is sent, sends in first thumbnail image and remove to the terminal
The image data of other pixels in first thumbnail image except the pixel of part, wherein first thumbnail image
In the image datas of other pixels in addition to part pixel in first thumbnail image include, it is described to remove described first
Other pixels in thumbnail image except the pixel of part and it is described except in first thumbnail image part pixel it
Other outer pixels corresponding coordinate position in first thumbnail image.
2. the method according to claim 1, wherein the image data in first thumbnail image is sent
After, the picture number of other pixels in the target image in addition to the partial pixel point is sent to the terminal
According to, comprising:
After the image data of first thumbnail image is sent, when receiving the display request of the target image, to
The terminal sends the image data of other pixels in the target image in addition to the partial pixel point.
3. the method according to claim 1, wherein the image for sending first thumbnail image to terminal
Data, comprising:
The image data of first thumbnail image is compressed, the compressing image data of first thumbnail image is obtained,
The compressing image data of first thumbnail image is sent to terminal;
After the image data in first thumbnail image is sent, sends in the target image and remove to the terminal
The image data of other pixels except the partial pixel point, comprising:
After the image data of first thumbnail image is sent, will in the target image except the partial pixel point it
The image data of other outer pixels is compressed, and the compressing image data of other pixels is obtained, to the terminal
Send the compressing image data of other pixels.
4. a kind of method for transmitting image, which is characterized in that the described method includes:
Receive the image data of the first thumbnail image of part pixel composition in the target image that server is sent, wherein institute
The image data for stating the first thumbnail image includes each pixel and each pixel corresponding seat in the first thumbnail image
Cursor position;
Based on the image data of first thumbnail image, first thumbnail image is shown;
The image data of other pixels except partial pixel point described in the target image that server is sent is received,
In, the image data of other pixels in the target image in addition to the partial pixel point includes, described to remove the portion
Other pixels and described other pixels in addition to the partial pixel point except point pixel are in the target figure
The corresponding coordinate position as in;
The seat of each pixel in the target image is determined according to the coordinate position of each pixel in first thumbnail image
Cursor position, by being merged into according to the coordinate position in the target image for each pixel in first thumbnail image
The centre of other pixels in the target image in addition to the partial pixel point, obtains the picture number of the target image
According to showing the target image;
The image data for receiving the first thumbnail image of part pixel composition in the target image that server is sent, packet
It includes:
The image data of the second thumbnail image of part pixel composition in first thumbnail image that server is sent is received,
Wherein, the image data of second thumbnail image includes each pixel and each pixel in first thumbnail image
In corresponding coordinate position;
Based on the image data of second thumbnail image, second thumbnail image is shown;
It receives in first thumbnail image that the server is sent in addition to part pixel in first thumbnail image
Other pixels image data, wherein except part pixel in first thumbnail image in first thumbnail image
Except the image datas of other pixels include described other pictures in addition to part pixel in first thumbnail image
Vegetarian refreshments and described other pixels in addition to part pixel in first thumbnail image are in first thumbnail image
In corresponding coordinate position;
The image data based on first thumbnail image shows first thumbnail image, comprising:
Determine each pixel in first thumbnail according to the coordinate position of each pixel in second thumbnail image
Coordinate position as in, by each pixel in second thumbnail image according to the seat in first thumbnail image
Cursor position is merged into other pixels in first thumbnail image in addition to part pixel in first thumbnail image
Centre, obtain the image data of first thumbnail image, show first thumbnail image.
5. according to the method described in claim 4, it is characterized in that, the image data based on first thumbnail image,
After showing first thumbnail image, the method also includes:
When detect user's input to the amplification idsplay order of first thumbnail image when, send to the server described in
The display of target image is requested.
6. according to the method described in claim 4, it is characterized in that, described receive part picture in the target image that server is sent
The image data of first thumbnail image of vegetarian refreshments composition, comprising:
Receive the compressing image data of the first thumbnail image of part pixel composition in the target image that server is sent;
The image data based on first thumbnail image shows first thumbnail image, comprising:
The compressing image data of first thumbnail image is unziped it, first thumbnail obtained based on decompression
The image data of picture shows first thumbnail image;
The picture number for receiving other pixels except partial pixel point described in the target image that server is sent
According to, comprising:
Receive the number of compressed images of other pixels except partial pixel point described in the target image that server is sent
According to;
The image data of the image data based on first thumbnail image and other pixels, shows the target
Image, comprising:
The compressing image data of other pixels is unziped it, the image data based on first thumbnail image and
The image data for decompressing obtained other pixels, shows the target image.
7. a kind of server, which is characterized in that the server includes:
Module is obtained, the image data of the first thumbnail image for obtaining the point of the partial pixel in target image composition, wherein
The image data of first thumbnail image includes that each pixel and each pixel are corresponding in the first thumbnail image
Coordinate position;
First sending module, for sending the image data of first thumbnail image to terminal;
Second sending module, for sending institute to the terminal after the image data of first thumbnail image is sent
State the image data of other pixels in target image in addition to the partial pixel point, wherein remove in the target image
The image data of other pixels except the partial pixel point includes described other pictures in addition to the partial pixel point
Vegetarian refreshments and the corresponding coordinate position in the target image of other pixels in addition to the partial pixel point;
First sending module includes acquisition submodule, the first sending submodule and the second sending submodule, in which:
The acquisition submodule, for obtaining the figure for the second thumbnail image that part pixel forms in first thumbnail image
As data, wherein the image data of second thumbnail image includes each pixel and each pixel described first
Corresponding coordinate position in thumbnail image;
First sending submodule, for sending the image data of second thumbnail image to terminal;
Second sending submodule, for after the image data of second thumbnail image is sent, to the terminal
Send the picture number of other pixels in first thumbnail image in addition to part pixel in first thumbnail image
According to, wherein the figure of other pixels in first thumbnail image in addition to part pixel in first thumbnail image
As data include, described other pixels in addition to part pixel in first thumbnail image and described except described
Other pixels in first thumbnail image except the pixel of part corresponding coordinate position in first thumbnail image.
8. server according to claim 7, which is characterized in that second sending module is used for:
After the image data of first thumbnail image is sent, when receiving the display request of the target image, to
The terminal sends the image data of other pixels in the target image in addition to the partial pixel point.
9. server according to claim 7, which is characterized in that first sending module is used for:
The image data of first thumbnail image is compressed, the compressing image data of first thumbnail image is obtained,
The compressing image data of first thumbnail image is sent to terminal;
Second sending module is used for:
After the image data of first thumbnail image is sent, will in the target image except the partial pixel point it
The image data of other outer pixels is compressed, and the compressing image data of other pixels is obtained, to the terminal
Send the compressing image data of other pixels.
10. a kind of terminal, which is characterized in that the terminal includes:
First receiving module, for receiving the first thumbnail image of part pixel composition in the target image that server is sent
Image data, wherein the image data of first thumbnail image includes each pixel and each pixel in the first contracting
Corresponding coordinate position in sketch map picture;
First display module shows first thumbnail image for the image data based on first thumbnail image;
Second receiving module, for receiving other pictures except partial pixel point described in the target image of server transmission
The image data of vegetarian refreshments, wherein the image data of other pixels in the target image in addition to the partial pixel point
Including described other pixels and other in addition to the partial pixel point in addition to the partial pixel point
Pixel corresponding coordinate position in the target image;
Second display module, for determining each pixel according to the coordinate position of each pixel in first thumbnail image
Coordinate position in the target image, by each pixel in first thumbnail image according in the target image
Coordinate position be merged into the centres of other pixels in the target image in addition to the partial pixel point, described in acquisition
The image data of target image shows the target image;
First receiving module includes the first receiving submodule, display sub-module and the second receiving submodule, in which:
First receiving submodule, for receiving pixel composition in part in first thumbnail image that server is sent
The image data of second thumbnail image, wherein the image data of second thumbnail image includes each pixel and each
Pixel corresponding coordinate position in first thumbnail image;
The display sub-module shows second thumbnail image for the image data based on second thumbnail image;
Second receiving submodule, for receiving in first thumbnail image that the server is sent except first contracting
The image data of other pixels in sketch map picture except the pixel of part, wherein except described the in first thumbnail image
The image data of other pixels in one thumbnail image except the pixel of part includes, described except in first thumbnail image
Other pixels and described other pictures in addition to part pixel in first thumbnail image except partial pixel point
Vegetarian refreshments corresponding coordinate position in first thumbnail image;
First display module, is used for:
Determine each pixel in first thumbnail according to the coordinate position of each pixel in second thumbnail image
Coordinate position as in, by each pixel in second thumbnail image according to the seat in first thumbnail image
Cursor position is merged into other pixels in first thumbnail image in addition to part pixel in first thumbnail image
Centre, obtain the image data of first thumbnail image, show first thumbnail image.
11. terminal according to claim 10, which is characterized in that the terminal further include:
Sending module, for when detect user's input to the amplification idsplay order of first thumbnail image when, to described
Server sends the display request of the target image.
12. terminal according to claim 10, which is characterized in that first receiving module is used for:
Receive the compressing image data of the first thumbnail image of part pixel composition in the target image that server is sent;
First display module is used for:
The compressing image data of first thumbnail image is unziped it, first thumbnail obtained based on decompression
The image data of picture shows first thumbnail image;
Second receiving module is used for:
Receive the number of compressed images of other pixels except partial pixel point described in the target image that server is sent
According to;
Second display module is used for:
The compressing image data of other pixels is unziped it, the image data based on first thumbnail image and
The image data for decompressing obtained other pixels, shows the target image.
13. a kind of system for transmitting image, which is characterized in that the system comprises servers and terminal, in which:
The server, the image data of the first thumbnail image for obtaining the point of the partial pixel in target image composition,
In, the image data of first thumbnail image includes that each pixel and each pixel are corresponding in the first thumbnail image
Coordinate position;The image data of first thumbnail image is sent to terminal;In the image data of first thumbnail image
After being sent, the image of other pixels in the target image in addition to the partial pixel point is sent to the terminal
Data, wherein the image data of other pixels in the target image in addition to the partial pixel point includes, described to remove
Other pixels and described other pixels in addition to the partial pixel point except the partial pixel point are described
Corresponding coordinate position in target image;The image data that first thumbnail image is sent to terminal, comprising: obtain institute
State the image data for the second thumbnail image that part pixel forms in the first thumbnail image, wherein second thumbnail image
Image data include each pixel and each pixel corresponding coordinate position in first thumbnail image;To end
End sends the image data of second thumbnail image;After the image data of second thumbnail image is sent, to institute
It states terminal and sends other pixels in first thumbnail image in addition to part pixel in first thumbnail image
Image data, wherein other pixels in first thumbnail image in addition to part pixel in first thumbnail image
The image data of point includes, described other pixels in addition to part pixel in first thumbnail image and described
Other pixels in addition to part pixel in first thumbnail image corresponding coordinate in first thumbnail image
Position;
The terminal, for receiving the image of the first thumbnail image of part pixel composition in the target image that server is sent
Data;Based on the image data of first thumbnail image, first thumbnail image is shown;Receive the described of server transmission
The image data of other pixels except the point of partial pixel described in target image;According to each in first thumbnail image
The coordinate position of pixel determines the coordinate position of each pixel in the target image, will be each in first thumbnail image
A pixel is merged into the target image according in the coordinate position in the target image except the partial pixel point
Except other pixels centre, obtain the image data of the target image, show the target image, the reception clothes
The image data of first thumbnail image of part pixel composition in the target image that business device is sent, comprising: receive server hair
The image data for the second thumbnail image that part pixel forms in first thumbnail image sent;Based on second breviary
The image data of image shows second thumbnail image;It receives and is removed in first thumbnail image that the server is sent
The image data of other pixels in first thumbnail image except the pixel of part;It is described to be based on first thumbnail
The image data of picture shows first thumbnail image, comprising: according to the coordinate of each pixel in second thumbnail image
Position determines coordinate position of each pixel in first thumbnail image, by each picture in second thumbnail image
Vegetarian refreshments is merged into first thumbnail image according in the coordinate position in first thumbnail image except first contracting
The centre of other pixels in sketch map picture except the pixel of part obtains the image data of first thumbnail image, display
First thumbnail image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510964362.7A CN105611341B (en) | 2015-12-21 | 2015-12-21 | A kind of method, apparatus and system for transmitting image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510964362.7A CN105611341B (en) | 2015-12-21 | 2015-12-21 | A kind of method, apparatus and system for transmitting image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105611341A CN105611341A (en) | 2016-05-25 |
CN105611341B true CN105611341B (en) | 2019-02-22 |
Family
ID=55990832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510964362.7A Active CN105611341B (en) | 2015-12-21 | 2015-12-21 | A kind of method, apparatus and system for transmitting image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105611341B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108231164B (en) * | 2017-12-27 | 2021-07-09 | 东软医疗系统股份有限公司 | Image processing method, device and system |
CN108668048B (en) * | 2018-03-23 | 2019-08-23 | 西安万像电子科技有限公司 | The processing method and system of image data, storage medium, processor |
CN109873916A (en) * | 2019-02-27 | 2019-06-11 | 珠海格力电器股份有限公司 | A kind of content record method, device and intelligent door |
CN110413827A (en) * | 2019-07-25 | 2019-11-05 | 上海掌门科技有限公司 | It is a kind of for providing the method and apparatus of target image information |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101273604A (en) * | 2005-09-27 | 2008-09-24 | 喷流数据有限公司 | System and method for progressive delivery of multimedia objects |
CN102821303A (en) * | 2012-08-31 | 2012-12-12 | 哈尔滨工程大学 | Network real-time graded compression and transmission method for pixel-level video information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6801947B1 (en) * | 2000-08-01 | 2004-10-05 | Nortel Networks Ltd | Method and apparatus for broadcasting media objects with guaranteed quality of service |
CN103164452B (en) * | 2011-12-15 | 2016-04-13 | 深圳市腾讯计算机系统有限公司 | The method of picture-storage and reading, Apparatus and system |
CN103353879B (en) * | 2013-06-18 | 2020-06-02 | 北京智谷睿拓技术服务有限公司 | Image processing method and apparatus |
CN105100826B (en) * | 2015-07-17 | 2018-11-23 | 小米科技有限责任公司 | Image processing method, apparatus and system |
-
2015
- 2015-12-21 CN CN201510964362.7A patent/CN105611341B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101273604A (en) * | 2005-09-27 | 2008-09-24 | 喷流数据有限公司 | System and method for progressive delivery of multimedia objects |
CN102821303A (en) * | 2012-08-31 | 2012-12-12 | 哈尔滨工程大学 | Network real-time graded compression and transmission method for pixel-level video information |
Also Published As
Publication number | Publication date |
---|---|
CN105611341A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11704771B2 (en) | Training super-resolution convolutional neural network model using a high-definition training image, a low-definition training image, and a mask image | |
CN105100829B (en) | Video content intercept method and device | |
CN104850327B (en) | The screenshot method and device of mobile terminal, electronic equipment | |
CN106126420B (en) | Application program adjustment method and device | |
CN104333701A (en) | Method and device for displaying camera preview pictures as well as terminal | |
US20170111949A1 (en) | Method and apparatus for performing wireless communication between terminals | |
CN104636106A (en) | Picture displaying method and device and terminal device | |
CN105611341B (en) | A kind of method, apparatus and system for transmitting image | |
CN104636164B (en) | Start page generation method and device | |
CN104506443A (en) | Router setting interface display method and device | |
CN104238890B (en) | Character displaying method and device | |
CN105554064B (en) | The method and device of head portrait is set | |
CN104869314A (en) | Photographing method and device | |
CN104202624A (en) | Method and device for transmitting picture | |
CN104850849A (en) | Method, device and terminal for sending character | |
CN105654533A (en) | Picture editing method and picture editing device | |
CN106792448A (en) | Bluetooth connecting method and device, system | |
CN104866523A (en) | Page display method and device | |
CN107506423A (en) | Photo chooses method, apparatus and storage medium | |
CN103888531A (en) | Reading position synchronization method and reading position obtaining method and device | |
CN105678266A (en) | Method and device for combining photo albums of human faces | |
CN106096009A (en) | Method for generating message and device | |
CN105549300A (en) | Automatic focusing method and device | |
KR101787918B1 (en) | Search method, apparatus, program and recording medium | |
WO2019201197A1 (en) | Image desensitization method, electronic device and storage medium |
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 |