Mode switching system on a kind of intellectual measuring instrument and display packing thereof
Technical field
The invention belongs to touch screen and use technical field, particularly relate to the mode switching system on a kind of intellectual measuring instrument
And display packing.
Background technology
At present, many intelligent measuring instruments, separate unit instrument is capable of multiple measurement function or measurement pattern, different
Have different display interfaces under measurement pattern and be supplied to user.Measure the selection of function or measurement pattern typically by button or
Menu operates, and process is comparatively laborious.
Existing intellectual measuring instrument typically uses intelligent processor and intelligent operating system, in order to be supplied to user more
Hommization operates, and many intelligent instruments provide touch screen operation.This quasi-instrument generally uses menu traditional to replace
Panel button, user carries out instrumentation by the virtual menu on point touching screen.The measurement pattern of instrument or measurement merit
The switching of energy is to be realized by menu setecting repeatedly.When user touches touch screen, touch screen driver is by touch event
And contact coordinate is sent to operating system, this event is sent to instrument software by operating system, and software processes accordingly.
The shortcoming of the mode switching method of existing measuring instrument is: user needs to switch over from multiple menu, recalls
Pattern switching place menu, then by selecting corresponding menu button to carry out pattern switching, this operation is comparatively laborious.
Therefore, prior art existing defects, need to improve.
Summary of the invention
The technical problem to be solved be to provide the mode switching system on a kind of intellectual measuring instrument and
Display packing, it is intended to the pattern switching solving existing intellectual measuring instrument needs to switch over from multiple menu, operation
Loaded down with trivial details problem.
The present invention is achieved in that the mode switching system on a kind of intellectual measuring instrument, wherein, including intelligent measure
The intelligent operating system of instrument, memory cache module and touch screen;Described memory cache module is used for storing display interface, passes through
The mapping of software shows the display interface in memory cache module on described touch screen.
Further, Memory plot 3 the display interface images of storage in described memory cache module, each display interface
The size of image matches with the size of display screen.
Further, do not carry out touching or after touch action completes, the central point of described Memory plot and described display screen
The central point mapping pair of curtain should coincide together.
Further, described memory cache module adjusts caching after touch action terminates in time, makes Memory plot all the time
Only three up-to-date display interface pictures of storage.
Further, described touch screen is when touching, and described intelligent operating system support is entered between all display interfaces
Taking over seamlessly and operating between each display interface of row.
The present invention also provides for the display packing of the mode switching system on a kind of intellectual measuring instrument, wherein, including following
Step:
Step 1: draw display interface in the Memory plot of memory cache module;
Step 2: during slip touch screen, is mapped to the display interface in described Memory plot the display screen of actual displayed
On.
Further, described step 1 includes: the central point of described Memory plot and display screen before touching described touch screen
Central point mapping pair should coincide together;The image of described Memory plot comprises three display interface images, each display circle
The size of face image is in the same size with described display screen.
Further, described step 2 includes: when sliding from left to right on touch screen, and the central point of Memory plot is left
At the sliding distance point of side, the central point with display screen maps mutually.
Further, described step 2 also includes: when sliding from right to left on touch screen, the central point of Memory plot
At the sliding distance point on right side, the central point with display screen maps mutually.
Further, further comprising the steps of after described step 2:
After touch terminates, the central point of display screen is corresponding with the central point of Memory plot, and intellectual measuring instrument hardware is cut
Change in corresponding measurement pattern;
The display interface image deposited in Memory plot is adjusted by memory cache module so that it is show up-to-date all the time
Three width display interface images.
The present invention compared with prior art, has the beneficial effects that:
1, switch speed is fast, need not carry out menu selection action, can all of measurement pattern of cyclic switching to the left or to the right.
2, the changing interface process of smoothness can be realized, show attractive in appearance.
Accompanying drawing explanation
Fig. 1 is Memory plot schematic diagram of the present invention;
Fig. 2 is that inventive touch screen shows mapping schematic diagram when from left to right sliding;
Fig. 3 is that inventive touch screen shows mapping schematic diagram when sliding from right to left;
Fig. 4 is to show mapping schematic diagram at the end of inventive touch screen from left to right slides;
Fig. 5 is to show mapping schematic diagram at the end of inventive touch screen slides from right to left.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.
Intellectual measuring instrument of the present invention uses intelligent operating system, has touch screen and memory cache module.False
If this measuring instrument has N number of different measurement function, with (F1、F2、F3…FN) represent, each function has different showing
Show interface, with (U1、U2、U3…UN) represent.Can circulate between N number of different display interface flat by finger slip touch screen
Sliding cutting changes, and switches corresponding measurement pattern.
Technical solution of the present invention is mainly realized by software design, in order to enable to flow smooth slide handover on touch screen,
Have employed the drawing practice of memory cache, first draw display interface at internal memory, the interface image then internal memory drawn is to real
The display screen 105 on border.The size of Memory plot 104 is 3 display interfaces measuring function, as shown in Figure 1.
In Fig. 1, internal memory draw 3 measure functions display interfaces, according to its position in internal memory with left Figure 101,
Middle Figure 102, right Figure 103 represent, these three figure each size as display screen 105.The behaviour that slides is not carried out user
When making, the central point O point of Memory plot 104 should coincide together with the central point p point mapping pair of display screen 105, Ji Jiangzhong
Figure 102 is mapped on display screen 105 and shows.When user carries out slide, according to slide direction and slide away from
From dynamically changing the Memory plot 104 mapping to display screen 105, display screen 105 realizes out the sliding effect of smoothness.
When sliding from left to right, when the mapping schematic diagram of Memory plot 104 and display screen 105 is as in figure 2 it is shown, slide from right to left,
The mapping schematic diagram of Memory plot and display screen is as shown in Figure 3.
When user's from left to right sliding distance is d, on the left of Memory plot O point, at d, central point p with display screen reflects
Penetrate, figure and the left figure of part in now display screen display part.
When user's sliding distance from right to left is d, on the right side of Memory plot O point, at d, central point p with display screen reflects
Penetrate, Figure 102 and the right Figure 103 of part in now display screen display part.
When slip terminates, when user's finger leaves touch screen, the switch instances of Memory plot is as follows:
As shown in Figure 4, terminate when user from left to right slides, when finger leaves touch screen, the central point of display screen 105
P is corresponding with the central point of left Figure 101, and display screen 105 shows complete left Figure 101, and instrument hardware is switched to left figure pair simultaneously
In the measurement pattern answered.Simultaneously in order to carry out slide below, memory cache module deletes former right figure, former in attempt to change the right side
Figure, attempting to change middle figure in a former left side, generates new left figure.Now Memory plot mapping relations return to shown in Fig. 1.
As it is shown in figure 5, terminate when user slides from right to left, when finger leaves touch screen, the central point of display screen 105
P is corresponding with the central point of right Figure 103, and display screen 105 shows complete right Figure 103, and instrument hardware is switched to right figure pair simultaneously
In the measurement pattern answered.Simultaneously in order to carry out slide below, memory cache module deletes former left figure, former in attempt to change a left side
Figure, attempting to change middle figure in the former right side, generates new right figure.Now internal memory mapping relations return to shown in Fig. 1.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.