Summary of the invention
The main purpose of the present invention is to provide a kind of large scale drawing browsing method, system, servers and computer-readable
Storage medium large scale drawing browsing method, it is intended to solve drawing after carrying out drawing amplification browsing in the prior art and load slower skill
Art problem.
To achieve the above object, the present invention provides a kind of large scale drawing browsing method, the large scale drawing browsing method packet
Include following steps:
Server is divided into several region pictures after receiving drawing to be processed, by drawing to be processed, and by each region
Picture is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed;
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown;
In response to the browsing instructions that mobile terminal is sent, mesh is determined according to the target thumbnail selected in the browsing instructions
Mark drawing to be browsed;
Target drawing to be browsed is sent to the mobile terminal to show.
Preferably, the browsing instructions sent in response to mobile terminal, according to the target selected in the browsing instructions
Thumbnail determines target drawing to be browsed, and specifically includes:
In response to the browsing instructions that mobile terminal is sent, selected according in the resolution ratio of mobile terminal and the browsing instructions
Target thumbnail determine target drawing to be browsed.
Preferably, described that target drawing to be browsed is sent to the mobile terminal to show, it specifically includes:
Target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal is according to target times magnification
It is several that display is amplified to target drawing to be browsed, wherein the object magnification is to pass through the mobile terminal
The amplification factor that resolution ratio and default mapping relations determine, the default mapping relations reflect each resolution ratio and each amplification factor it
Between corresponding relationship.
Preferably, described that target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal root
Before amplifying display to target drawing to be browsed according to object magnification, the large scale drawing browsing method is also wrapped
It includes:
Processing is amplified to samples pictures, after obtaining the amplification for carrying out different amplification under different resolution, institute
State the sample resolving power test result of samples pictures;
Filter out the test item that sample clarity in the sample resolving power test result is greater than default clarity;
The default mapping relations for reflecting corresponding relationship between each resolution ratio and each amplification factor are obtained according to the test item.
Preferably, the thumbnail by respectively drawing to be browsed is sent to shown in mobile terminal before, it is described big
Type drawing browsing method further includes:
The screen size for obtaining mobile terminal, determines pre-set zoom ratio according to the screen size;
Respectively drawing to be browsed is zoomed in and out according to the pre-set zoom ratio, obtains the thumbnail of respectively drawing to be browsed.
Preferably, drawing to be processed is divided into several region pictures after receiving drawing to be processed by the server,
It specifically includes:
The server identifies the drawing to be processed after receiving drawing to be processed, obtains described wait locate
Manage the type of drawing;
Corresponding default drawing parted pattern is determined according to the type of the drawing to be processed;
The drawing to be processed is divided into several region pictures according to the default drawing parted pattern.
Preferably, before the type according to the drawing to be processed determines corresponding default drawing parted pattern, institute
Stating large scale drawing browsing method further includes:
Obtain the functional information of various pieces in multiple target images and each target image;
The classification and functional area that each target image is determined according to the functional information obtain each target image by training
Classification and functional area corresponding relationship;
The default drawing parted pattern is established according to the corresponding relationship of the classification of each target image and functional area.
In addition, to achieve the above object, the present invention also provides a kind of large scale drawings to browse system, the large scale drawing browsing
System includes:
Divide module, for drawing to be processed being divided into several region pictures, and will after receiving drawing to be processed
Each region picture is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed;
Contract drawing module is shown for the respectively thumbnail of drawing to be browsed to be sent in mobile terminal;
Determine drawing module, the browsing instructions for sending in response to mobile terminal are selected according in the browsing instructions
Target thumbnail determine target drawing to be browsed;
Display module, for target drawing to be browsed to be sent to the mobile terminal to show.
In addition, to achieve the above object, the present invention also proposes that a kind of mobile terminal, the mobile terminal include:Memory,
Processor and it is stored in the large scale drawing browser that can be run on the memory and on the processor, the Large Graph
Paper browser is arranged for carrying out the step of large scale drawing browsing method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable
It is stored with large scale drawing browser on storage medium, realizes when the large scale drawing browser is executed by processor as above
The step of described large scale drawing browsing method.
Large scale drawing browsing method proposed by the present invention will be to be processed through server after receiving drawing to be processed
Drawing is divided into several region pictures, and each region picture is saved according to different resolution, by each of different resolution
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and shows as respectively drawing to be browsed by region picture, responds
In the browsing instructions that mobile terminal is sent, determine that target waits for browse graph according to the target thumbnail selected in the browsing instructions
Target drawing to be browsed is sent to the mobile terminal to show, can quickly shown on mobile terminals by paper
Each details of large scale drawing out improves the response speed and efficiency of large scale drawing browsing, ensure that large scale drawing browsing
Clarity, the user experience is improved.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:Server is after receiving drawing to be processed, by drawing to be processed
Several region pictures are divided into, and each region picture is saved according to different resolution, by each region of different resolution
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and shows as respectively drawing to be browsed by picture, in response to moving
The browsing instructions that dynamic terminal is sent determine target drawing to be browsed according to the target thumbnail selected in the browsing instructions, will
The target drawing to be browsed is sent to the mobile terminal to be shown, can quickly show large size on mobile terminals
Each details of drawing improves the response speed and efficiency of large scale drawing browsing, ensure that the clarity of large scale drawing browsing,
The user experience is improved, solves drawing after carrying out drawing amplification browsing in the prior art and loads slower technical problem.
Referring to Fig.1, Fig. 1 is the server architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the server may include:Processor 1001, such as CPU, communication bus 1002, user's end interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User's end interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user's termination
Mouth 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wired of standard
Interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that server architecture shown in Fig. 1 does not constitute the restriction to the server,
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium
Network communication module, user terminal interface module and large scale drawing browser.
Server of the present invention calls the large scale drawing browser stored in memory 1005 by processor 1001, and holds
The following operation of row:
After receiving drawing to be processed, drawing to be processed is divided into several region pictures, and each region picture is pressed
It is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed;
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown;
In response to the browsing instructions that mobile terminal is sent, mesh is determined according to the target thumbnail selected in the browsing instructions
Mark drawing to be browsed;
Target drawing to be browsed is sent to the mobile terminal to show.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
Server is divided into several region pictures after receiving drawing to be processed, by drawing to be processed, and by each region
Picture is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
In response to the browsing instructions that mobile terminal is sent, selected according in the resolution ratio of mobile terminal and the browsing instructions
Target thumbnail determine target drawing to be browsed.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
Target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal is according to target times magnification
It is several that display is amplified to target drawing to be browsed, wherein the object magnification is to pass through the mobile terminal
The amplification factor that resolution ratio and default mapping relations determine, the default mapping relations reflect each resolution ratio and each amplification factor it
Between corresponding relationship.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
Processing is amplified to samples pictures, after obtaining the amplification for carrying out different amplification under different resolution, institute
State the sample resolving power test result of samples pictures;
Filter out the test item that sample clarity in the sample resolving power test result is greater than default clarity;
The default mapping relations for reflecting corresponding relationship between each resolution ratio and each amplification factor are obtained according to the test item.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
The server identifies the drawing to be processed after receiving drawing to be processed, obtains described wait locate
Manage the type of drawing;
Corresponding default drawing parted pattern is determined according to the type of the drawing to be processed;
The drawing to be processed is divided into several region pictures according to the default drawing parted pattern.
Further, processor 1001 can call the large scale drawing browser stored in memory 1005, also execute
It operates below:
Obtain the functional information of various pieces in multiple target images and each target image;
The classification and functional area that each target image is determined according to the functional information obtain each target image by training
Classification and functional area corresponding relationship;
The default drawing parted pattern is established according to the corresponding relationship of the classification of each target image and functional area.
Through the above scheme, through server after receiving drawing to be processed, drawing to be processed is divided for the present embodiment
It is saved at several region pictures, and by each region picture according to different resolution, by each region picture of different resolution
As respectively drawing to be browsed, the respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown, in response to mobile whole
The browsing instructions sent are held, target drawing to be browsed is determined according to the target thumbnail selected in the browsing instructions, it will be described
Target drawing to be browsed is sent to the mobile terminal to be shown, can quickly show large scale drawing on mobile terminals
Each details, improve large scale drawing browsing response speed and efficiency, ensure that large scale drawing browsing clarity, promoted
User experience.
Based on above-mentioned hardware configuration, large scale drawing browsing method embodiment of the present invention is proposed.
It is the flow diagram of large scale drawing browsing method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the large scale drawing browsing method includes the following steps:
Step S10, drawing to be processed is divided into several region pictures after receiving drawing to be processed by server, and
Each region picture is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed.
It should be noted that the drawing to be processed and large scale drawing include big figure drawing and set figure drawing, the big figure
The single width drawing that drawing designs in single DWG/DXF document comprising a picture frame, but the drawing of breadth specification ratio A0 breadth
At least big 5 times or more, the set figure drawing is the combination drawing comprising the design of multiple picture frames in single DWG/DXF document, i.e. institute
Stating set figure drawing is that the large scale drawing for forming set figure is combined by multiple drawings or drawing part, and the server can be used to be special
In the drawing viewer applications server of processing large scale drawing browsing, can also have with mobile terminal binding relationship for locating
Manage the special WEB server of drawing browsing, naturally it is also possible to be other kinds of server for realizing all kinds of drawings browsing function
The server of energy, the present embodiment are without restriction to this;Server receive personal computer (Personal Computer,
PC) after the drawing to be processed in the set figure drawing that end uploads, drawing to be processed is divided into several region pictures, and by each region
Picture is saved according to different resolution, can it is subsequent using mobile terminal when according to the screen resolution of mobile terminal into
Row matching, is sent to the mobile terminal for matched drawing to be browsed, can preferably promote the display effect of drawing, make figure
The display of paper is more clear, and improves clarity and user experience that drawing is shown.
It is understood that the drawing to be processed is the drawing to be processed of selected good preparation processing, generally may be used
Think large-scale two-dimensional vector drawing, can be the two-dimensional vector drawing of Machine Design class, be also possible to the two dimension of electrical design class
Vector drawing can also be the two-dimensional vector drawing of building structure class, naturally it is also possible to be other kinds of drawing, for example, electric
Sub-block circuit design drawing etc., the present embodiment is without restriction to this;The drawing to be processed can be the polar plot of DWG format
Paper, or the vector drawing of DXF format can also be that this is not added in the vector drawing of extended formatting, the present embodiment certainly
With limitation.
It should be understood that drawing to be processed after receiving drawing to be processed, can be divided into several regions by server
Picture, i.e., part several different, and each region picture is saved according to different resolution, as respectively to browse graph
Paper.
In the concrete realization, the drawing to be processed is drawing to be processed, and generally user is previously selected needs to carry out
Amplify the drawing of browsing;Carrying out cutting to the drawing to be processed generally can will be described to be processed by preset special algorithm
Drawing carries out cutting, obtains several mutually different parts, naturally it is also possible to carry out by other means to drawing to be processed
Cutting, the present embodiment are without restriction to this.
Further, server described in the step S10 divides drawing to be processed after receiving drawing to be processed
At several region pictures, specifically include:
The server identifies the drawing to be processed after receiving drawing to be processed, obtains described wait locate
Manage the type of drawing;
Corresponding default drawing parted pattern is determined according to the type of the drawing to be processed;
The drawing to be processed is divided into several region pictures according to the default drawing parted pattern.
It is understood that obtaining the type of drawing to be processed after the drawing to be processed is identified, can find
Default drawing parted pattern corresponding with the type, and then the Fractionation regimen in default drawing parted pattern is obtained, and then right
The drawing to be processed is split, and is divided into several region pictures corresponding with default drawing parted pattern.
Correspondingly, before the type according to the drawing to be processed determines corresponding default drawing parted pattern, institute
Stating large scale drawing browsing method further includes:
Obtain the functional information of various pieces in multiple target images and each target image;
The classification and functional area that each target image is determined according to the functional information obtain each target image by training
Classification and functional area corresponding relationship;
The default drawing parted pattern is established according to the corresponding relationship of the classification of each target image and functional area.
It should be understood that the target image is preparatory select sample image, by multiple target figures
The functional information of picture and target image is trained, and can obtain the classification of each target image and the corresponding relationship of functional area,
And then the default drawing parted pattern is established according to the classification of each target image and the corresponding relationship of functional area, it establishes pre-
If capableing of the speed and efficiency of fast lifting drawing segmentation after drawing parted pattern.
In the concrete realization, the default drawing parted pattern can be the drawing parted pattern of Machine Design class, can also
To be the drawing parted pattern of electrical design class, it can also be the drawing parted pattern of building structure class, can also be it certainly
The drawing parted pattern of his type, the present embodiment are without restriction to this;Each different classes of drawing parted pattern, corresponds to
Correspondence can be quickly found out after obtaining the type of the drawing to be processed according to the different zones module that different function is divided
Drawing parted pattern, and then the different cut zone modules that are split are obtained, thus quickly to the figure to be processed
Paper is split, and improves the response speed and efficiency of large scale drawing browsing.
Step S20, the respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown.
It should be noted that respectively the thumbnail of drawing to be browsed be through compress mode treated small figure, will be respectively wait browse
The thumbnail of drawing, which is sent in mobile terminal, to be shown, is able to use family when using mobile terminal, fast browsing to institute
State the schematic diagram of the various pieces of drawing to be processed, it is thus understood that the brief information of the various pieces of the drawing to be processed accelerates
The speed and efficiency of drawing browsing, the user experience is improved.
In the concrete realization, the respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown, the movement
Terminal shows that the thumbnail of respectively drawing to be browsed is shown generally by the browser that mobile terminal carries, and is also possible to lead to
It crosses in mobile terminal and downloads mounted application program (Application, APP) and shown, naturally it is also possible to be to pass through shifting
Other browsing softwares in dynamic terminal are shown that the present embodiment is without restriction to this.
Further, before the step S20, the large scale drawing browsing method further includes:
The screen size for obtaining mobile terminal, determines pre-set zoom ratio according to the screen size;
Respectively drawing to be browsed is zoomed in and out according to the pre-set zoom ratio, obtains the thumbnail of respectively drawing to be browsed.
It is understood that the acquisition pattern of the screen size of the mobile terminal can be mobile terminal active upload extremely
Server is also possible to server by the model of mobile terminal and finds screen associated dimension information, can also be and pass through it
He obtains mode, and the present embodiment is without restriction to this;
It should be understood that the pre-set zoom ratio is to be determined according to the screen size of mobile terminal respectively to browse graph
The whole scaling of paper, i.e., integrally shown respectively with optimal display effect wait browse within the scope of the screen size of mobile terminal
Respectively drawing to be browsed is zoomed in and out according to pre-set zoom ratio, can obtain the thumbnail of respectively drawing to be browsed by drawing.
Step S30, the browsing instructions sent in response to mobile terminal, according to the target breviary selected in the browsing instructions
Scheme to determine target drawing to be browsed.
It is understood that the browsing instructions be user by touch and click on the mobile terminal to browse graph
The browsing instructions of the target thumbnail triggering of paper, are also possible to user and are selected on the mobile terminal by voice control or key
Drawing to be browsed target thumbnail triggering browsing instructions, can also be the target breviary that user selects by other means
Scheme the browsing instructions of triggering, the present embodiment is without restriction to this.
It should be understood that the target thumbnail of the browsing instructions and selected drawing to be browsed is there are corresponding relationship,
Therefore target drawing to be browsed can be determined according to the target thumbnail selected in the browsing instructions by the browsing instructions.
Step S40, target drawing to be browsed is sent to the mobile terminal to show.
It is understood that determining target after browsing drawing according to the browsing instructions, server in time waits for target
Browsing drawing is sent to the mobile terminal, to show target drawing to be browsed on the mobile terminal.
In the concrete realization, respectively a certain in the thumbnail of drawing to be browsed in screen of the user by clicking mobile terminal
It is a or several, browsing instructions are generated accordingly, and corresponding drawing to be browsed can be found according to the browsing instructions server
Directly the target can be waited for clear as target drawing to be browsed when quantity of the target wait browsing drawing is one
Drawing of looking at is sent to the mobile terminal and is displayed in full screen, can be with when quantity of the target wait browsing drawing is multiple
Multiple targets drawing to be browsed directly is sent to the mobile terminal, the mobile terminal will be more according to preset display rule
A target drawing to be browsed is shown that the default display rule can be in screen in the screen of the mobile terminal
Average tiling is shown, is also possible to the Folding display for having sequencing, be can also be and is shown according to the big figure of default display order
The drawing to be browsed of front, the drawing to be browsed of small figure display order rearward, can also be other preset displays certainly
Rule, the present embodiment are without restriction to this.
Through the above scheme, server is after receiving drawing to be processed for the present embodiment, if drawing to be processed is divided into
Dry region picture, and each region picture is saved according to different resolution, using each region picture of different resolution as
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and shows by respectively drawing to be browsed, and sends out in response to mobile terminal
The browsing instructions sent determine target drawing to be browsed according to the target thumbnail selected in the browsing instructions, by the target
Drawing to be browsed is sent to the mobile terminal to be shown, can quickly show the every of large scale drawing on mobile terminals
A details improves the response speed and efficiency of large scale drawing browsing, ensure that the clarity of large scale drawing browsing, improves use
Family experience.
Further, Fig. 3 is the flow diagram of large scale drawing browsing method second embodiment of the present invention, as shown in figure 3,
Large scale drawing browsing method second embodiment of the present invention is proposed based on first embodiment, in the present embodiment, the step S30 tool
Body includes the following steps:
Step S31, the browsing instructions sent in response to mobile terminal refer to according to the resolution ratio of mobile terminal and the browsing
The target thumbnail selected in order determines target drawing to be browsed.
It is understood that the acquisition pattern of the resolution ratio of the mobile terminal can be mobile terminal active upload to clothes
Business device, is also possible to server by the model of mobile terminal and finds dependent resolution information, can also be through its other party
Formula obtains, and the present embodiment is without restriction to this;
It should be understood that can be with according to the target thumbnail selected in the resolution ratio of mobile terminal and the browsing instructions
It determines respectively wait browse with the matched drawing to be browsed of the mobile terminal in drawing, i.e., it is corresponding with target thumbnail wait browse
The drawing to be browsed of the resolution match of drawing intermediate-resolution and the mobile terminal as target drawing to be browsed, according to
The target thumbnail selected in the resolution ratio of mobile terminal and the browsing instructions determines target drawing to be browsed, can be further
The clarity that the display effect and large scale drawing for promoting large scale drawing are shown.
Correspondingly, the step S40 specifically includes following steps:
Step S41, target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal is according to mesh
Mark amplification factor amplifies display to target drawing to be browsed, wherein the object magnification is to pass through the shifting
The amplification factor that the resolution ratio and default mapping relations of dynamic terminal determine, the default mapping relations reflect each resolution ratio and respectively put
Corresponding relationship between big multiple.
It is understood that the object magnification is the resolution ratio and default mapping relations by the mobile terminal
Determining amplification factor finds times magnification corresponding with the resolution ratio of the mobile terminal by searching for default mapping relations
Number, and then determine the object magnification, the object magnification is that the target scale figure is aobvious in current mobile terminal
The amplification factor with the resolution match of current mobile terminal when showing can give the optimal drawing result of browse of user, certainly
The adjustment that user can also be further amplified or reduce by dragging the drawing to be browsed currently shown, the present embodiment is to this
It is without restriction.
It should be understood that target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal
Display is amplified to target drawing to be browsed according to object magnification, the object magnification is generally less than maximum
Amplification factor, i.e. target thumbnail are by still having continuation with corresponding target drawing to be browsed after object magnification amplification
The space of amplification, i.e. target thumbnail pass through the original after object magnification amplification still less than corresponding target drawing to be browsed
This size, i.e. user can also be manually adjusted by the amplified target of object magnification drawing to be browsed, and be zoomed in or out
The amplified drawing shown on the mobile terminal, more adaptation practical situations, further improve user
Experience sense.
In the concrete realization, target drawing to be browsed is sent to the mobile terminal and amplifies display, this reality
The maximum amplification for applying example is 128 times, is far more than the display amplification factor of prior art other modes, being able to use family makes
Used time arbitrarily amplifies drawing to be processed, sees each details in drawing clearly, improves the result of browse of large scale drawing browsing, improves
The clarity that large scale drawing is shown, further the user experience is improved.
Further, before the step S41, the large scale drawing browsing method further includes:
Processing is amplified to samples pictures, after obtaining the amplification for carrying out different amplification under different resolution, institute
State the sample resolving power test result of samples pictures;
Filter out the test item that sample clarity in the sample resolving power test result is greater than default clarity;
The default mapping relations for reflecting corresponding relationship between each resolution ratio and each amplification factor are obtained according to the test item.
It is understood that the samples pictures are a large amount of a variety of different types of pictures, by it is a large amount of it is a variety of not
After the picture of same type carries out the amplification of different amplification under different resolution, the sample that can obtain each samples pictures is clear
The test result of clear degree can filter out the test item for meeting default clarity, in turn by comparing with default clarity
The default mapping relations of each amplification factor and each resolution ratio can be determined according to test item.
It should be understood that the default clarity is pre-set for showing the display effect of a variety of distinct devices
Corresponding definition values belong to more smudgy clear samples pictures in default clarity sample clarity below and show
Effect, and the sample clarity more than default clarity belongs to comparison clearly clearly samples pictures display effect, passes through
The clarity of samples pictures is screened, the default mapping relations can be more accurately obtained, ensure that resolution ratio with
The stability and accuracy of relationship between amplification factor.
In the concrete realization, the default mapping relations be pre-set a variety of different resolution ratio with it is a variety of different
Corresponding relationship between amplification factor can be point determined for the purpose of best drawing result of browse by lot of experimental data
The mapping relations of resolution and amplification factor are also possible to technical staff according to the empirically determined resolution ratio of routine work and times magnification
Several mapping relations can also carry out the mapping relations of resolution ratio and amplification factor that learning training determines by mass data,
Certainly mapping relations determining by other means be can also be, the present embodiment is without restriction to this.
Through the above scheme, server is after receiving drawing to be processed for the present embodiment, if drawing to be processed is divided into
Dry region picture, and each region picture is saved according to different resolution, using each region picture of different resolution as
Respectively drawing to be browsed, in response to the browsing instructions that mobile terminal is sent, according to the resolution ratio of mobile terminal and the browsing instructions
In select target thumbnail determine target drawing to be browsed, target drawing to be browsed is sent to the mobile terminal,
So that the mobile terminal amplifies display to target drawing to be browsed according to object magnification, wherein the mesh
Marking amplification factor is the amplification factor determined by the resolution ratio of the mobile terminal and default mapping relations, the default mapping
Relationship reflects the corresponding relationship between each resolution ratio and each amplification factor, amplifies processing to samples pictures, obtains in difference
After the amplification for carrying out different amplification under resolution ratio, the sample resolving power test result of the samples pictures;It filters out described
Sample clarity is greater than the test item of default clarity in sample resolving power test result;It is each that reflection is obtained according to the test item
The default mapping relations of corresponding relationship between resolution ratio and each amplification factor can more accurately obtain the default mapping and close
System ensure that the stability and accuracy of relationship between resolution ratio and amplification factor, more adaptation practical situations, Neng Gougeng
The display effect of good promotion large scale drawing, is more clear the display of large scale drawing, improve large scale drawing show it is clear
Degree and user experience.
The present invention further provides a kind of large scale drawings to browse system.
Further, Fig. 4 is the functional block diagram that large scale drawing of the present invention browses system first embodiment, as shown in figure 4,
It is proposed that large scale drawing of the present invention browses system first embodiment, in the present embodiment, the large scale drawing based on first embodiment
Browsing system includes:
Divide module 100, for after receiving drawing to be processed, drawing to be processed to be divided into several region pictures,
And save each region picture according to different resolution, using each region picture of different resolution as respectively to browse graph
Paper.
It should be noted that the drawing to be processed and large scale drawing include big figure drawing and set figure drawing, the big figure
The single width drawing that drawing designs in single DWG/DXF document comprising a picture frame, but the drawing of breadth specification ratio A0 breadth
At least big 5 times or more, the set figure drawing is the combination drawing comprising the design of multiple picture frames in single DWG/DXF document, i.e. institute
Stating set figure drawing is that the large scale drawing for forming set figure is combined by multiple drawings or drawing part, and the server can be used to be special
In the drawing viewer applications server of processing large scale drawing browsing, can also have with mobile terminal binding relationship for locating
Manage the special WEB server of drawing browsing, naturally it is also possible to be other kinds of server for realizing all kinds of drawings browsing function
The server of energy, the present embodiment are without restriction to this;Server is in the set figure drawing for receiving the upload of personal computer PC end
In drawing to be processed after, drawing to be processed is divided into several region pictures, and by each region picture according to different resolution
Saved, can it is subsequent using mobile terminal when matched according to the screen resolution of mobile terminal, by it is matched to
Browsing drawing is sent to the mobile terminal, can preferably promote the display effect of drawing, be more clear the display of drawing,
Improve the clarity and user experience that drawing is shown.
It is understood that the drawing to be processed is the drawing to be processed of selected good preparation processing, generally may be used
Think large-scale two-dimensional vector drawing, can be the two-dimensional vector drawing of Machine Design class, be also possible to the two dimension of electrical design class
Vector drawing can also be the two-dimensional vector drawing of building structure class, naturally it is also possible to be other kinds of drawing for example, electronics
Circuit design drawing etc., the present embodiment is without restriction to this;The drawing to be processed can be the vector drawing of DWG format,
Or the vector drawing of DXF format, it can also be that the vector drawing of extended formatting, the present embodiment do not limit this certainly
System.
It, can will be to it should be understood that server is after the drawing to be processed in the set figure drawing for receiving the upload of the end PC
Processing drawing is divided into several region pictures, i.e., part several different, and each region picture is saved, as respectively to
Browse drawing.
In the concrete realization, the drawing to be processed is the drawing to be processed covered in figure drawing that the end PC uploads, generally
The previously selected drawing to be processed for needing to amplify browsing of user;Carrying out cutting to the drawing to be processed can generally lead to
It crosses preset special algorithm and the drawing to be processed is subjected to cutting, obtain several mutually different parts, naturally it is also possible to
Cutting is carried out to drawing to be processed by other means, the present embodiment is without restriction to this.
Contract drawing module 200 is shown for the respectively thumbnail of drawing to be browsed to be sent in mobile terminal.
It should be noted that respectively the thumbnail of drawing to be browsed be through compress mode treated small figure, will be respectively wait browse
The thumbnail of drawing, which is sent in mobile terminal, to be shown, is able to use family when using mobile terminal, fast browsing to institute
State the schematic diagram of the various pieces of drawing to be processed, it is thus understood that the brief information of the various pieces of the drawing to be processed accelerates
The speed and efficiency of large scale drawing browsing, the user experience is improved.
In the concrete realization, the respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown, the movement
Terminal shows that the thumbnail of respectively drawing to be browsed is shown generally by the browser that mobile terminal carries, and is also possible to lead to
It crosses in mobile terminal and downloads mounted application APP and shown, naturally it is also possible to be by other in mobile terminal
Browsing software is shown that the present embodiment is without restriction to this.
Determine drawing module 300, the browsing instructions for sending in response to mobile terminal are selected according in the browsing instructions
Fixed target thumbnail determines target drawing to be browsed.
It is understood that the browsing instructions be user by touch and click on the mobile terminal to browse graph
The browsing instructions of the target thumbnail triggering of paper, are also possible to user and are selected on the mobile terminal by voice control or key
Drawing to be browsed target thumbnail triggering browsing instructions, can also be the target breviary that user selects by other means
Scheme the browsing instructions of triggering, the present embodiment is without restriction to this.
It should be understood that the target thumbnail of the browsing instructions and selected drawing to be browsed is there are corresponding relationship,
Therefore target drawing to be browsed can be determined according to the target thumbnail selected in the browsing instructions by the browsing instructions.
Display module 400, for target drawing to be browsed to be sent to the mobile terminal to show.
It is understood that determining target after browsing drawing according to the browsing instructions, server in time waits for target
Browsing drawing is sent to the mobile terminal, to show target drawing to be browsed on the mobile terminal.
In the concrete realization, in screen of the user by touching and clicking mobile terminal respectively in the thumbnail of drawing to be browsed
Some or it is several, generate browsing instructions accordingly, can be found according to the browsing instructions server corresponding to clear
Looking at drawing can be directly by the mesh when quantity of the target wait browsing drawing is one as target drawing to be browsed
It marks drawing to be browsed and is sent to the mobile terminal and be displayed in full screen, when the quantity of target drawing to be browsed is multiple
When, multiple targets drawing to be browsed directly can be sent to the mobile terminal, the mobile terminal is according to preset display
Multiple targets drawing to be browsed is shown that the default display rule can be by rule in the screen of the mobile terminal
Average tiling is shown in screen, is also possible to the Folding display for having sequencing, can also be according to default display order
The forward drawing to be browsed of big figure display order, the drawing to be browsed of small figure display order rearward can also be that other are pre- certainly
If display rule, the present embodiment is without restriction to this.
Through the above scheme, server is after receiving drawing to be processed for the present embodiment, if drawing to be processed is divided into
Dry region picture, and each region picture is saved according to different resolution, using each region picture of different resolution as
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and shows by respectively drawing to be browsed, and sends out in response to mobile terminal
The browsing instructions sent determine target drawing to be browsed according to the target thumbnail selected in the browsing instructions, by the target
Drawing to be browsed is sent to the mobile terminal to be shown, can quickly show the every of large scale drawing on mobile terminals
A details improves the response speed and efficiency of large scale drawing browsing, ensure that the clarity of large scale drawing browsing, improves use
Family experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with large scale drawing browser, following operation is realized when the large scale drawing browser is executed by processor:
After receiving drawing to be processed, drawing to be processed is divided into several region pictures, and each region picture is pressed
It is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed;
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and is shown;
In response to the browsing instructions that mobile terminal is sent, mesh is determined according to the target thumbnail selected in the browsing instructions
Mark drawing to be browsed;
Target drawing to be browsed is sent to the mobile terminal to show.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
After receiving drawing to be processed, drawing to be processed is divided into several region pictures, and each region picture is pressed
It is saved according to different resolution, using each region picture of different resolution as respectively drawing to be browsed.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
In response to the browsing instructions that mobile terminal is sent, selected according in the resolution ratio of mobile terminal and the browsing instructions
Target thumbnail determine target drawing to be browsed.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
Target drawing to be browsed is sent to the mobile terminal, so that the mobile terminal is according to target times magnification
It is several that display is amplified to target drawing to be browsed, wherein the object magnification is to pass through the mobile terminal
The amplification factor that resolution ratio and default mapping relations determine, the default mapping relations reflect each resolution ratio and each amplification factor it
Between corresponding relationship.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
Processing is amplified to samples pictures, after obtaining the amplification for carrying out different amplification under different resolution, institute
State the sample resolving power test result of samples pictures;
Filter out the test item that sample clarity in the sample resolving power test result is greater than default clarity;
The default mapping relations for reflecting corresponding relationship between each resolution ratio and each amplification factor are obtained according to the test item.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
The server identifies the drawing to be processed after receiving drawing to be processed, obtains described wait locate
Manage the type of drawing;
Corresponding default drawing parted pattern is determined according to the type of the drawing to be processed;
The drawing to be processed is divided into several region pictures according to the default drawing parted pattern.
Further, following operation is also realized when the large scale drawing browser is executed by processor:
Obtain the functional information of various pieces in multiple target images and each target image;
The classification and functional area that each target image is determined according to the functional information obtain each target image by training
Classification and functional area corresponding relationship;
The default drawing parted pattern is established according to the corresponding relationship of the classification of each target image and functional area.
The present embodiment through the above scheme, by drawing to be processed being divided into several after receiving drawing to be processed
Region picture, and each region picture is saved according to different resolution, using each region picture of different resolution as each
The respectively thumbnail of drawing to be browsed is sent in mobile terminal and shows by drawing to be browsed, and sends in response to mobile terminal
Browsing instructions, according in the browsing instructions select target thumbnail determine target drawing to be browsed, the target is waited for
Browsing drawing is sent to the mobile terminal to be shown, can quickly show each of large scale drawing on mobile terminals
Details improves the response speed and efficiency of large scale drawing browsing, ensure that the clarity of large scale drawing browsing, improves user
Experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.