CN105847345B - A kind of picture merges display methods and device - Google Patents
A kind of picture merges display methods and device Download PDFInfo
- Publication number
- CN105847345B CN105847345B CN201610160744.9A CN201610160744A CN105847345B CN 105847345 B CN105847345 B CN 105847345B CN 201610160744 A CN201610160744 A CN 201610160744A CN 105847345 B CN105847345 B CN 105847345B
- Authority
- CN
- China
- Prior art keywords
- picture
- target photo
- big
- file
- big picture
- 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
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004806 packaging method and process Methods 0.000 claims abstract description 58
- 238000007596 consolidation process Methods 0.000 claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 6
- 238000013500 data storage Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000012856 packing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 238000010009 beating Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of pictures to merge display methods and device, and method includes: the picture acquisition request for receiving client and sending, and includes the link of client current page several Target Photos to display in request;Target Photo is obtained according to the link of Target Photo;Description file is generated according to preset picture consolidation strategy, description file includes the concatenation information for splicing big picture using the Target Photo;Target Photo and description file are packaged, and packaging file is sent to client, so that client is according to the concatenation information in packaging file, it is spliced into big picture after decoding to Target Photo, and then the big picture of splicing is utilized to carry out picture cutting and offset display.The concatenation information that Target Photo splices big picture is only sent to client by the application server, without carrying out decoding and the encoding operation of picture, reduces server resource consumption.
Description
Technical field
This application involves technical field of picture display, merge display methods and device more specifically to a kind of picture.
Background technique
In order to meet the needs of user is growing, various applications become to become increasingly complex, and are provided solely for simple text
Be no longer satisfied user demand.Existing application, which generally requires, shows more picture, to meet user.
Under client-server CS framework, it is generally based on the downloading that socket carries out resource.What client can use
Socket is limited, so when the picture that client needs to download is more needing that all pictures could be completed in batches
Downloading.Also, client frequently is initiated to request to server, increases the connection number of concurrent of server end, gives server band
Carry out pressure.
In view of the above-mentioned problems, the common solution of the prior art is, the application of client requests current page to server
All pictures in face, the picture of server acquisition request are merged into a big picture according to certain strategy, alternatively, if client
Be using requested picture it is fixed, server can synthesize one big figure previously according to each application picture to display
Piece.It is decoded after the big picture by client downloads, picture is shown by offset, clipping region after decoding.
Above-mentioned solution reduces the connection number of concurrent of server end, but it can also introduce new problem: referring to figure
1, Fig. 1 synthesizes the flow diagram of big picture for the prior art.Server end is when synthesizing big picture, first to each original graph
Piece is decoded, and is obtained the decoded pixel data of picture, then encoded, is generated big picture.The decoding of picture and coding are all
It is computation-intensive task, needs to consume more server resource.
Summary of the invention
In view of this, this application provides a kind of pictures to merge display methods and device, for solving prior art needs
Server end carries out the decoding of original image and encodes to generate big picture for client downloads, so that server resource be caused to disappear
The more problem of consumption.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of picture merging display methods, is applied to server, this method comprises:
The picture acquisition request that client is sent is received, the picture acquisition request includes that client current page to be shown
The link of several Target Photos shown;
According to the link of the Target Photo, the Target Photo is obtained;
Description file is generated according to preset picture consolidation strategy, the description file includes to spell using the Target Photo
Connect the concatenation information of big picture;
The Target Photo and the description file are packaged, packaging file is obtained;
The packaging file is sent to the client, it is right so that client is according to the concatenation information in packaging file
It is spliced into big picture after the Target Photo decoding, and then carries out picture cutting and offset display using the big picture of splicing.
It is preferably, described that description file is generated according to preset picture consolidation strategy, comprising:
According to preset picture consolidation strategy, it is high to calculate the width for splicing to obtain big picture using the Target Photo;
It is high to calculate coordinate and width of each Target Photo in the big picture;
By the width of the big picture, coordinate and wide height of high, each Target Photo in the big picture are as description text
Concatenation information in part.
Preferably, the format of the description file is ini format, xml format, any one in ison format.
A kind of picture merging display methods, is applied to client, this method comprises:
The picture of response application shows request, sends picture acquisition request to server, the picture acquisition request includes
Using the link of current page several Target Photos to display;
The packaging file of the server feedback is received, the packaging file includes the Target Photo and description text
Part, the description file includes the concatenation information for splicing big picture using the Target Photo;
The Target Photo and the description file are parsed from the packaging file;
The pixel that each Target Photo is decoded, and is decoded according to the concatenation information to each Target Photo
Data are spliced, the pixel number evidence of big picture after being spliced, the pixel number of the big picture according to for by offset,
Clipping region is shown.
Preferably, the concatenation information includes the width height of the big picture, each Target Photo in the big picture
Coordinate and width it is high;
The picture that each Target Photo is decoded, and is decoded according to the concatenation information to each Target Photo
Vegetarian refreshments data are spliced, the pixel number evidence of big picture after being spliced, comprising:
It is high according to the width of the big picture, data space is distributed for the big picture;
Each Target Photo is decoded, the corresponding pixel number evidence of each Target Photo is obtained;
According to coordinate and width height of each Target Photo in the big picture, by the corresponding picture of each Target Photo
Vegetarian refreshments data are filled into the data space, pixel number of the data space after filling as big picture
According to.
A kind of picture merging display device, is applied to server, which includes:
Request reception unit, for receiving the picture acquisition request of client transmission, the picture acquisition request includes visitor
The link of family end current page several Target Photos to display;
Target Photo acquiring unit obtains the Target Photo for the link according to the Target Photo;
File generating unit is described, for generating description file, the description file according to preset picture consolidation strategy
Concatenation information comprising splicing big picture using the Target Photo;
File packaged unit obtains packaging file for the Target Photo and the description file to be packaged;
Packaging file transmission unit, for the packaging file to be sent to the client, so that client is according to beating
Concatenation information in APMB package is spliced into big picture after decoding to the Target Photo, and then the big picture of splicing is utilized to carry out
Picture is cut and offset display.
Preferably, the description file generating unit includes:
Big pictorial information computing unit, for calculating and being spelled using the Target Photo according to preset picture consolidation strategy
The width for connecing to obtain big picture is high;
Target Photo information calculating unit, for calculating coordinate and width of each Target Photo in the big picture
It is high;
Concatenation information determination unit, for Target Photo that the width of the big picture is high, each in the big picture
Coordinate and wide high as the concatenation information for describing file.
Preferably, the format of the description file is ini format, xml format, any one in ison format.
A kind of picture merging display device, is applied to client, which includes:
Request transmitting unit, the picture for response application show request, send picture acquisition request to server, described
Picture acquisition request includes the link using current page several Target Photos to display;
Packaging file receiving unit, for receiving the packaging file of the server feedback, the packaging file includes institute
Target Photo and description file are stated, the description file includes the concatenation information for splicing big picture using the Target Photo;
Packaging file resolution unit, for parsing the Target Photo and description text from the packaging file
Part;
Target Photo decoding unit, for being decoded to each Target Photo, and according to the concatenation information to each
The pixel number that Target Photo decodes is according to being spliced, the pixel number evidence of big picture after being spliced, the big picture
Pixel number by offset, clipping region according to for being shown.
Preferably, the concatenation information includes the width height of the big picture, each Target Photo in the big picture
Coordinate and width it is high;
The Target Photo decoding unit includes:
First object picture decoding subunit distributes data for high according to the width of the big picture for the big picture
Memory space;
Second Target Photo decoding subunit obtains each Target Photo pair for being decoded to each Target Photo
The pixel number evidence answered;
Third Target Photo decoding subunit, for the coordinate according to each Target Photo in the big picture
It is high with width, the data by the corresponding pixel number of each Target Photo according to filling into the data space, after filling
Pixel number evidence of the memory space as big picture.
It can be seen from the above technical scheme that the picture provided by the embodiments of the present application applied to server merges display
Method receives the picture acquisition request that client is sent, and includes client current page several targets to display in request
The link of picture;Target Photo is obtained according to the link of Target Photo;Description file is generated according to preset picture consolidation strategy,
Description file includes the concatenation information for splicing big picture using the Target Photo;Target Photo and description file are beaten
Packet, and packaging file is sent to client, so that client is according to the concatenation information in packaging file, Target Photo is decoded
After be spliced into big picture, and then the big picture of splicing is utilized to carry out picture cutting and offset display.It follows that application scheme
The concatenation information that Target Photo splices big picture is only sent to client by server, the spelling without carrying out practical big picture
It connects, without carrying out decoding and the encoding operation of picture, reduces server resource consumption.Further, server is by target
Picture and concatenation information are packaged, and client only needs to download a file, avoid the time caused by the multiple files of downloading
Consumption and the increase of server end connection number of concurrent.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram that the prior art synthesizes big picture;
Fig. 2 is that a kind of the embodiment of the present application picture disclosed in the server side merges display methods flow chart;
Fig. 3 is that a kind of the embodiment of the present application picture disclosed in the client angle merges display methods flow chart;
Fig. 4 is a kind of flow diagram for synthesizing big picture disclosed in the embodiment of the present application;
Fig. 5 is that a kind of the embodiment of the present application picture disclosed in the server side merges display device structure schematic diagram;
Fig. 6 is that a kind of the embodiment of the present application picture disclosed in the client angle merges display device structure schematic diagram.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Firstly, the application is introduced scheme from server side.Referring to fig. 2, Fig. 2 is the embodiment of the present application from service
A kind of picture merging display methods flow chart disclosed in device angle.
As shown in Fig. 2, this method comprises:
Step S200, the picture acquisition request that client is sent is received;
Wherein, the picture acquisition request includes the link of client current page several Target Photos to display.
Step S210, according to the link of the Target Photo, the Target Photo is obtained;
Specifically, according to the link of Target Photo in server, Target Photo is obtained from each chained address.
Step S220, description file is generated according to preset picture consolidation strategy, the description file includes described in utilization
Target Photo splices the concatenation information of big picture;
Specifically, server is previously provided with picture consolidation strategy, picture consolidation strategy define Target Photo how into
Row splices, and the width of the big picture obtained after splicing is high.
Step S230, the Target Photo and the description file are packaged, obtain packaging file;
It is understood that file, which is packaged, is different from coding, it is packaged only simple data and merges.It can even not need
Temporary file is generated, directly combined result is output in data download channel.
File, which is packaged, to use specific packing format in a variety of formats, in the application implementation.But it is packaged format not
It is the key that the application.
Each function of being packaged format is all identical, is also similar in format details.
Be generally divided into three parts: Global Information area, each the file information area (filename, file size, data-bias),
Each file data area.
Wherein each file data area is the direct copying of original document, is not related to decoding cataloged procedure.
For example common zip format of packing manner.Certainly, the application also supports the function of not compressing, be only packaged.
Step S240, the packaging file is sent to the client.
By the way that packaging file is sent to client, so that client is according to the concatenation information in packaging file, to described
It is spliced into big picture after Target Photo decoding, and then carries out picture cutting and offset display using the big picture of splicing.
Wherein, client belongs to the prior art using the process that the big picture of splicing carries out picture cutting and offset display,
The application does not do excessive explanation.
Picture provided by the embodiments of the present application applied to server merges display methods, receives the picture that client is sent
Acquisition request includes the link of client current page several Target Photos to display in request;According to Target Photo
Link obtains Target Photo;Description file is generated according to preset picture consolidation strategy, description file includes to utilize the target
Picture splices the concatenation information of big picture;Target Photo and description file are packaged, and packaging file is sent to client
End so that client is spliced into big picture according to the concatenation information in packaging file after decoding to Target Photo, and then utilizes spelling
The big picture connect carries out picture cutting and offset display.It follows that application scheme server only splices Target Photo greatly
The concatenation information of picture is sent to client, the splicing without carrying out practical big picture, without carrying out the solution of picture
Code and encoding operation reduce server resource consumption.Further, Target Photo and concatenation information are packaged by server,
Client only needs to download a file, avoids time loss caused by the multiple files of downloading and server end connection is concurrent
Several increases.
Optionally, above-mentioned server generates the process of description file according to preset picture consolidation strategy, may include:
Server splices to obtain the width of big picture using the Target Photo according to preset picture consolidation strategy, calculating
It is high;
It is high that server calculates coordinate and width of each Target Photo in the big picture;
The server coordinate and the high conduct of width of high, each Target Photo in the big picture by the width of the big picture
Concatenation information in file is described.
Optionally, concatenation information can also include the information such as level, transparency of the Target Photo in big picture.
Wherein optional, the format of foregoing description file can be any one in ini format, xml format, ison format
Kind.
Further, the application is introduced scheme from the angle of client again.
Referring to Fig. 3, Fig. 3 is that a kind of the embodiment of the present application picture disclosed in the client angle merges display methods process
Figure.
As shown in figure 3, this method comprises:
Step S300, the picture of response application shows request, sends picture acquisition request to server;
Specifically, various applications, such as browser etc. are installed in client.When application needs to carry out picture display,
User end to server send picture acquisition request, the picture acquisition request include using current page it is to display several
The link of Target Photo.
Step S310, the packaging file of the server feedback is received;
Specifically, according to above-mentioned server end to the introduction of scheme it is found that the packaging file includes the Target Photo
And description file, the description file includes the concatenation information for splicing big picture using the Target Photo.
Step S320, the Target Photo and the description file are parsed from the packaging file;
Step S330, each Target Photo is decoded, and each Target Photo is decoded according to the concatenation information
Pixel number out is according to being spliced, the pixel number evidence of big picture after being spliced.
The pixel number of client big picture after being spliced can be shown after by offset, clipping region.
Application scheme, client once request that the packaging file after server is packaged can be obtained, and packaging file includes
Multiple Target Photos and description file, therefore client can be according to the concatenation information in description file to Target Photo solution
The pixel number that code goes out is according to being spliced, the pixel number evidence of big picture after splice, and then can pass through and deviate, Crop Area
Domain is shown.Client only needs to download a packaging file, avoid time loss caused by the multiple files of downloading and
The increase of server end connection number of concurrent.
Optionally, the concatenation information may include the width height of the big picture, each Target Photo in the big figure
Coordinate and width in piece is high.
On this basis, above-mentioned that each Target Photo is decoded, and according to the concatenation information to each target figure
According to being spliced, the process of the pixel number evidence of big picture after being spliced may include: the pixel number that piece decodes
It is high according to the width of the big picture, data space is distributed for the big picture;
Each Target Photo is decoded, the corresponding pixel number evidence of each Target Photo is obtained;
According to coordinate and width height of each Target Photo in the big picture, by the corresponding picture of each Target Photo
Vegetarian refreshments data are filled into the data space, pixel number of the data space after filling as big picture
According to.
Generally, client does not need to support coding of graphics, it is only necessary to can decode various picture formats.
The core of client decoding picture is picture Decode engine.Picture Decode engine includes unified interface and multiple decodings
Module, supports the decoding operate of different picture formats respectively, for example, BMP decoder module, GIF decoder module JPG decoder module,
PNG decoder module etc..Unified interface can first judge its format after receiving picture file, be then assigned to corresponding decoder module
It is decoded.Certainly, the picture file received can also be sent respectively to each decoder module, each decoder module by unified interface
Judge whether the range for belonging to itself support after receiving, if it is decodes, otherwise abandon.
In the application, packaging file can be regarded to a kind of new picture format as, and increase the format in the client
Decoder module.Increased decoder module can decide whether the format for belonging to itself support, this mistake after receiving picture file
Journey is it is to be understood that decoder module judges whether file meets packing format specification, if met, then it represents that it supports, otherwise, table
Show and does not support.
Increased decoder module unpacks file, obtains when the file that judgement receives belongs to the format of itself support
To multiple Target Photos and description file.And each Target Photo is distributed to the decoder module of corresponding format, mesh is carried out by the latter
It marks on a map the decoding operate of piece.
The application it is empty can to distribute data storage in advance for big picture according to the high information of width of picture big in description file
Between.And then according to the concatenation information in description file, the corresponding pixel number of each Target Photo is deposited according to filling to the data
It stores up in space, pixel number evidence of the data space as big picture after filling.The process is referred to Fig. 4 institute
Show.
Merge display device to picture provided by the embodiments of the present application below to be described, picture described below merges aobvious
Showing device, which merges display methods with above-described picture, can correspond to each other reference.
Referring to Fig. 5, Fig. 5 is that a kind of the embodiment of the present application picture disclosed in the server side merges display device structure and shows
It is intended to.
As shown in figure 5, the device includes:
Request reception unit 51, for receiving the picture acquisition request of client transmission, the picture acquisition request includes
The link of client current page several Target Photos to display;
Target Photo acquiring unit 52 obtains the Target Photo for the link according to the Target Photo;
File generating unit 53 is described, for generating description file, the description text according to preset picture consolidation strategy
Part includes the concatenation information for splicing big picture using the Target Photo;
File packaged unit 54 obtains being packaged text for the Target Photo and the description file to be packaged
Part;
Packaging file transmission unit 55, for the packaging file to be sent to the client, so as to client according to
Concatenation information in packaging file, to being spliced into big picture after Target Photo decoding, and then using the big picture of splicing into
Row picture is cut and offset display.
Picture provided by the embodiments of the present application applied to server merges display device, receives the picture that client is sent
Acquisition request includes the link of client current page several Target Photos to display in request;According to Target Photo
Link obtains Target Photo;Description file is generated according to preset picture consolidation strategy, description file includes to utilize the target
Picture splices the concatenation information of big picture;Target Photo and description file are packaged, and packaging file is sent to client
End so that client is spliced into big picture according to the concatenation information in packaging file after decoding to Target Photo, and then utilizes spelling
The big picture connect carries out picture cutting and offset display.It follows that application scheme server only splices Target Photo greatly
The concatenation information of picture is sent to client, the splicing without carrying out practical big picture, without carrying out the solution of picture
Code and encoding operation reduce server resource consumption.Further, Target Photo and concatenation information are packaged by server,
Client only needs to download a file, avoids time loss caused by the multiple files of downloading and server end connection is concurrent
Several increases.
Optionally, the description file generating unit may include:
Big pictorial information computing unit, for calculating and being spelled using the Target Photo according to preset picture consolidation strategy
The width for connecing to obtain big picture is high;
Target Photo information calculating unit, for calculating coordinate and width of each Target Photo in the big picture
It is high;
Concatenation information determination unit, for Target Photo that the width of the big picture is high, each in the big picture
Coordinate and wide high as the concatenation information for describing file.
Optionally, the format of the description file is ini format, xml format, any one in ison format.
Referring to Fig. 6, Fig. 6 is that a kind of the embodiment of the present application picture disclosed in the client angle merges display device structure and shows
It is intended to.
As shown in fig. 6, the device includes:
Request transmitting unit 61, the picture for response application show request, send picture acquisition request, institute to server
Stating picture acquisition request includes the link using current page several Target Photos to display;
Packaging file receiving unit 62, for receiving the packaging file of the server feedback, the packaging file includes
The Target Photo and description file, the description file include to be believed using the splicing that the Target Photo splices big picture
Breath;
Packaging file resolution unit 63, for parsing the Target Photo and description text from the packaging file
Part;
Target Photo decoding unit 64, for being decoded to each Target Photo, and according to the concatenation information pair
The pixel number that each Target Photo decodes is according to being spliced, the pixel number evidence of big picture, the big picture after being spliced
Pixel number according to for by deviating, clipping region shown.
Application scheme, client once request that the packaging file after server is packaged can be obtained, and packaging file includes
Multiple Target Photos and description file, therefore client can be according to the concatenation information in description file to Target Photo solution
The pixel number that code goes out is according to being spliced, the pixel number evidence of big picture after splice, and then can pass through and deviate, Crop Area
Domain is shown.Client only needs to download a packaging file, avoid time loss caused by the multiple files of downloading and
The increase of server end connection number of concurrent.
Optionally, the concatenation information may include the width height of the big picture, each Target Photo in the big figure
Coordinate and width in piece is high.
Based on this, the Target Photo decoding unit may include:
First object picture decoding subunit distributes data for high according to the width of the big picture for the big picture
Memory space;
Second Target Photo decoding subunit obtains each Target Photo pair for being decoded to each Target Photo
The pixel number evidence answered;
Third Target Photo decoding subunit, for the coordinate according to each Target Photo in the big picture
It is high with width, the data by the corresponding pixel number of each Target Photo according to filling into the data space, after filling
Pixel number evidence of the memory space as big picture.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of picture merges display methods, which is characterized in that it is applied to server, this method comprises:
The picture acquisition request that client is sent is received, the picture acquisition request includes that client current page is to display
The link of several Target Photos;
According to the link of the Target Photo, the Target Photo is obtained;
Description file is generated according to preset picture consolidation strategy, the description file includes big using Target Photo splicing
The concatenation information of picture;
The Target Photo and the description file are packaged, packaging file is obtained;
The packaging file is sent to the client, so that client from the packaging file by parsing the target
Picture and the description file;Each Target Photo is decoded, and according to the concatenation information to each Target Photo solution
The pixel number that code goes out is according to being spliced, the pixel number evidence of big picture, the pixel number evidence of the big picture after being spliced
For being shown by offset, clipping region.
2. the method according to claim 1, wherein described generate description text according to preset picture consolidation strategy
Part, comprising:
According to preset picture consolidation strategy, it is high to calculate the width for splicing to obtain big picture using the Target Photo;
It is high to calculate coordinate and width of each Target Photo in the big picture;
By the width of the big picture, high, each Target Photo is in coordinate in the big picture and wide high as in description file
Concatenation information.
3. according to the method described in claim 2, it is characterized in that, it is described description file format be ini format, xml format,
Any one in ison format.
4. a kind of picture merges display methods, which is characterized in that it is applied to client, this method comprises:
The picture of response application shows request, sends picture acquisition request to server, the picture acquisition request includes application
The link of current page several Target Photos to display;
The packaging file of the server feedback is received, the packaging file includes the Target Photo and description file, institute
Stating description file includes the concatenation information for splicing big picture using the Target Photo;
The Target Photo and the description file are parsed from the packaging file;
The pixel number evidence that each Target Photo is decoded, and each Target Photo is decoded according to the concatenation information
Spliced, the pixel number evidence of big picture after being spliced, the pixel number of the big picture is according to for passing through offset, cutting
Region is shown.
5. according to the method described in claim 4, it is characterized in that, the concatenation information includes the wide high, each of the big picture
Coordinate and width of the Target Photo in the big picture are high;
The pixel that each Target Photo is decoded, and is decoded according to the concatenation information to each Target Photo
Data are spliced, the pixel number evidence of big picture after being spliced, comprising:
It is high according to the width of the big picture, data space is distributed for the big picture;
Each Target Photo is decoded, the corresponding pixel number evidence of each Target Photo is obtained;
According to coordinate and width height of each Target Photo in the big picture, by the corresponding pixel of each Target Photo
Data are filled into the data space, pixel number evidence of the data space after filling as big picture.
6. a kind of picture merges display device, which is characterized in that be applied to server, which includes:
Request reception unit, for receiving the picture acquisition request of client transmission, the picture acquisition request includes client
The link of current page several Target Photos to display;
Target Photo acquiring unit obtains the Target Photo for the link according to the Target Photo;
File generating unit is described, for generating description file according to preset picture consolidation strategy, the description file includes
Splice the concatenation information of big picture using the Target Photo;
File packaged unit obtains packaging file for the Target Photo and the description file to be packaged;
Packaging file transmission unit is pressed so as to client and is beaten from described for the packaging file to be sent to the client
The Target Photo and the description file are parsed in APMB package;Each Target Photo is decoded, and according to described
The pixel number that concatenation information decodes each Target Photo is according to splicing, the pixel number evidence of big picture after being spliced,
The pixel number of the big picture by offset, clipping region according to for being shown.
7. device according to claim 6, which is characterized in that the description file generating unit includes:
Big pictorial information computing unit, for according to preset picture consolidation strategy, calculating to be spliced using the Target Photo
Width to big picture is high;
Target Photo information calculating unit is high for calculating coordinate and width of each Target Photo in the big picture;
Concatenation information determination unit, for seat of Target Photo that the width of the big picture is high, each in the big picture
Mark and the wide high concatenation information as description file.
8. device according to claim 7, which is characterized in that it is described description file format be ini format, xml format,
Any one in ison format.
9. a kind of picture merges display device, which is characterized in that be applied to client, which includes:
Request transmitting unit, the picture for response application show request, send picture acquisition request, the picture to server
Acquisition request includes the link using current page several Target Photos to display;
Packaging file receiving unit, for receiving the packaging file of the server feedback, the packaging file includes the mesh
It marks on a map piece and description file, the description file includes to splice the concatenation information of big picture using the Target Photo;
Packaging file resolution unit, for parsing the Target Photo and the description file from the packaging file;
Target Photo decoding unit, for being decoded to each Target Photo, and according to the concatenation information to each target
The pixel number that picture decodes is according to being spliced, the pixel number evidence of big picture, the pixel of the big picture after being spliced
Point data is used to be shown by offset, clipping region.
10. device according to claim 9, which is characterized in that the concatenation information includes that the width of the big picture is high, each
Coordinate and width of the Target Photo in the big picture are high;
The Target Photo decoding unit includes:
First object picture decoding subunit distributes data storage for high according to the width of the big picture for the big picture
Space;
It is corresponding to obtain each Target Photo for being decoded to each Target Photo for second Target Photo decoding subunit
Pixel number evidence;
Third Target Photo decoding subunit, for the coordinate and width according to each Target Photo in the big picture
Height, the data storage by the corresponding pixel number of each Target Photo according to filling into the data space, after filling
Pixel number evidence of the space as big picture.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610160744.9A CN105847345B (en) | 2016-03-21 | 2016-03-21 | A kind of picture merges display methods and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610160744.9A CN105847345B (en) | 2016-03-21 | 2016-03-21 | A kind of picture merges display methods and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105847345A CN105847345A (en) | 2016-08-10 |
| CN105847345B true CN105847345B (en) | 2019-01-22 |
Family
ID=56587647
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610160744.9A Active CN105847345B (en) | 2016-03-21 | 2016-03-21 | A kind of picture merges display methods and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105847345B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108133384A (en) * | 2016-12-01 | 2018-06-08 | 腾讯科技(深圳)有限公司 | A kind of content pages generation method and device |
| CN109493304B (en) * | 2017-09-13 | 2022-11-08 | 腾讯科技(深圳)有限公司 | Image data processing method and device |
| CN108228790B (en) * | 2017-12-29 | 2021-09-28 | 北京奇虎科技有限公司 | Display method and device of pushed pictures |
| CN111723230B (en) * | 2019-03-19 | 2023-11-28 | 珠海金山办公软件有限公司 | Picture stitching method and device, electronic equipment and storage medium |
| CN112416503A (en) * | 2020-12-10 | 2021-02-26 | 深圳前海微众银行股份有限公司 | Applet icon display method, apparatus, device and computer-readable storage medium |
| CN113655973B (en) * | 2021-07-16 | 2023-12-26 | 深圳价值在线信息科技股份有限公司 | Page segmentation method and device, electronic equipment and storage medium |
| CN113989119B (en) * | 2021-11-04 | 2025-08-12 | 上海呵呵呵文化传播有限公司 | Image processing method, apparatus, electronic device, medium, and program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102567940A (en) * | 2011-12-20 | 2012-07-11 | 广州粤嵌通信科技股份有限公司 | Picture processing method and picture displaying method and device for embedded terminal |
| CN103699652A (en) * | 2013-12-26 | 2014-04-02 | 浙江宇天科技股份有限公司 | Webpage access method and webpage access system |
| CN104318538A (en) * | 2014-10-14 | 2015-01-28 | 安徽游艺道网络科技有限公司 | Method for splicing two-dimension sequence frame picture into big picture and device |
| CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
| CN104679570A (en) * | 2015-03-24 | 2015-06-03 | 新余兴邦信息产业有限公司 | Image loading display method, equipment and system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7771355B2 (en) * | 2004-10-30 | 2010-08-10 | Sonowise, Inc. | System and method for medical imaging with robust mode switching via serial channel |
-
2016
- 2016-03-21 CN CN201610160744.9A patent/CN105847345B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102567940A (en) * | 2011-12-20 | 2012-07-11 | 广州粤嵌通信科技股份有限公司 | Picture processing method and picture displaying method and device for embedded terminal |
| CN104637040A (en) * | 2013-11-12 | 2015-05-20 | 携程计算机技术(上海)有限公司 | Method and device utilizing Photoshop to realize picture splicing |
| CN103699652A (en) * | 2013-12-26 | 2014-04-02 | 浙江宇天科技股份有限公司 | Webpage access method and webpage access system |
| CN104318538A (en) * | 2014-10-14 | 2015-01-28 | 安徽游艺道网络科技有限公司 | Method for splicing two-dimension sequence frame picture into big picture and device |
| CN104679570A (en) * | 2015-03-24 | 2015-06-03 | 新余兴邦信息产业有限公司 | Image loading display method, equipment and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105847345A (en) | 2016-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105847345B (en) | A kind of picture merges display methods and device | |
| US8392827B2 (en) | Method for generation and assembly of web page content | |
| US8122344B2 (en) | System and method for rapid document conversion | |
| US7752240B2 (en) | Apparatus and program product for retrieving file processing software | |
| TW589859B (en) | Internal code control system and method for wireless data download | |
| CN114020378A (en) | Method and system for processing digital components | |
| CN104917764A (en) | Multimedia service pushing method and system based on two-dimensional code | |
| EP2506518A1 (en) | Service aggregation method dynamically assisted by client and server, server and client | |
| CN104508689A (en) | A two-dimension code processing method and a terminal | |
| US20170168997A1 (en) | System and computer-implemented method for incorporating an image into a page of content for transmission from a web-site | |
| EP4242831B1 (en) | Method, apparatus and device for generating image processing interface, and storage medium | |
| CN111104631A (en) | Webp picture format conversion method | |
| JP2004220260A (en) | Web page browsing system and image distribution server | |
| GB2596760A8 (en) | Universal web service for DICOM objects | |
| CA2632810C (en) | Automatic package conformance validation | |
| JP2001125831A (en) | Data scramble method, data distributing device, data scrambler and recording medium | |
| CN104346156B (en) | Text block display, method and device for text block processing | |
| US20070288603A1 (en) | Receipted transmission of electronic documents over the internet | |
| WO2010105521A1 (en) | Method for mail processing and device thereof | |
| US20120163724A1 (en) | Method and system for compressing and efficiently transporting scalabale vector graphics based images and animation over low bandwidth networks | |
| CN106548010A (en) | A kind of method and device of DICOM images remote browse | |
| CN101072095B (en) | Control method and device for file downloading | |
| JP2003299106A (en) | Multimedia contents processing method | |
| CN116566965B (en) | Processing method of OFD large file | |
| KR20100061583A (en) | System for image rendering method thereof |
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 |