CN106383632B - Window display method and system - Google Patents

Window display method and system Download PDF

Info

Publication number
CN106383632B
CN106383632B CN201610836860.8A CN201610836860A CN106383632B CN 106383632 B CN106383632 B CN 106383632B CN 201610836860 A CN201610836860 A CN 201610836860A CN 106383632 B CN106383632 B CN 106383632B
Authority
CN
China
Prior art keywords
value
window
coordinate point
abscissa
ordinate
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
Application number
CN201610836860.8A
Other languages
Chinese (zh)
Other versions
CN106383632A (en
Inventor
魏洋洋
刘威河
宋璐瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201610836860.8A priority Critical patent/CN106383632B/en
Publication of CN106383632A publication Critical patent/CN106383632A/en
Application granted granted Critical
Publication of CN106383632B publication Critical patent/CN106383632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The present invention relates to a kind of window display method and systems, this method comprises: window idsplay order obtains touch coordinate point based on the received;Inquiry chooses maximum ordinate value using current time as the historical touch position in the preset duration of end time from the corresponding ordinate of history coordinate position;Obtain the initial coordinate point on the window vertex of the pre-configured orientation prestored;Selected abscissa is obtained according to the abscissa value of touch coordinate point and the abscissa value of initial coordinate point;Minimum value is chosen from the ordinate value, the ordinate value of initial coordinate point and at least two of maximum ordinate value of touch coordinate point obtains selected ordinate value;It generates according to selected abscissa value, selected ordinate value and determines coordinate points, the coordinate on the window vertex of the pre-configured orientation of window to be shown is corresponded to using determining coordinate points as window idsplay order, and show window to be shown according to determining coordinate points and pre-set dimension.Operation ease so can be improved.

Description

Window display method and system
Technical field
The present invention relates to field of display devices is touched, more particularly to a kind of window display method and system.
Background technique
Touch control terminal can be direct due to not needing using other input equipments as a kind of end product of touch-control interaction With hand touch-control, ease of use is high, therefore its use scope is more and more wider, such as the intelligent whiteboard that uses of classroom, office use Intelligent meeting plate.
Traditional touch control terminal based on Windows system receive open application or file touch command when, Opening window using starting-window or file can be automatically displayed at the coordinate position of last display window.For screen cover The biggish touch control terminal of product, if the position of window and user it is tangible to position differ larger, inconvenience user touches Control operation.For example, the intelligent whiteboard screen area that classroom uses is larger, the highest point that teacher is touched is screen the top, is learned Raw touched highest point is screen intermediate region, student in operation may because window is shown in the top of screen can not Touch-control.Therefore, the position of window is relatively fixed under traditional this processing mode, and operation ease is low.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of window display method and system for improving operation ease.
A kind of window display method, includes the following steps:
The window idsplay order for acting on touch screen is received, corresponding touch location is obtained according to the window idsplay order Touch coordinate point;
As current time at the time of to receive the window idsplay order, inquire using the current time as end time Historical touch position in preset duration, and maximum ordinate value is chosen from the corresponding ordinate of the history coordinate position;
Obtain the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored;
According to the abscissa value of the abscissa value of the touch coordinate point and initial coordinate point, obtain and the touch The abscissa that the distance of the abscissa value of coordinate points is less than or equal to preset value obtains selected abscissa value;
From the ordinate value of the touch coordinate point, the ordinate value of initial coordinate point and the maximum ordinate value At least two in, choose minimum value and obtain selected ordinate value;
It generates according to the selected abscissa value and the selected ordinate value and determines coordinate points, by the determining coordinate points The coordinate on the window vertex of the pre-configured orientation of window to be shown is corresponded to as the window idsplay order, and according to described true Position fixing point and pre-set dimension show the window to be shown.
A kind of window display system, comprising:
Touch coordinate point obtains module, aobvious according to the window for receiving the window idsplay order for acting on touch screen Show that instruction obtains the touch coordinate point of corresponding touch location;
Maximum ordinate value obtains module, as current time at the time of for receive the window idsplay order, inquiry Using the current time as the historical touch position in the preset duration of end time, and it is corresponding from the history coordinate position Maximum ordinate value is chosen in ordinate;
Initial coordinate point obtains module, the initial coordinate point of the window vertex correspondence for obtaining the pre-configured orientation prestored;
Abscissa generation module, for according to the abscissa value of the touch coordinate point and the horizontal seat of initial coordinate point Scale value obtains the abscissa at a distance from the abscissa value of the touch coordinate point less than or equal to preset value and obtains selecting horizontal seat Scale value;
Ordinate generation module, the ordinate for ordinate value, initial coordinate point from the touch coordinate point In value and at least two of the maximum ordinate value, chooses minimum value and obtain selected ordinate value;
Window display module, for generating according to the selected abscissa value and the selected ordinate value and determining coordinate Point corresponds to the window vertex of the pre-configured orientation of window to be shown using the determining coordinate points as the window idsplay order Coordinate, and show the window to be shown according to the determining coordinate points and pre-set dimension.
Above-mentioned window display method and system act on the window idsplay order of touch screen by receiving, aobvious according to window Show that instruction can obtain the touch coordinate point of corresponding touch location;Then as current time at the time of to receive window idsplay order, Inquiry is using current time as the historical touch position in the preset duration of end time, and from the corresponding vertical seat of history coordinate position Maximum ordinate value is chosen in mark;In addition, also obtaining the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored;It Afterwards, selected abscissa value is obtained according to the abscissa value of touch coordinate point and the abscissa value of initial coordinate point, wherein selected cross Coordinate value is less than or equal to preset value at a distance from the abscissa value of touch coordinate point;In this way, by with the cross of touch coordinate point On the basis of coordinate value, selected abscissa value is obtained in the range of distance is no more than preset value so that selected abscissa value with In the range tangible on abscissa direction of family.Meanwhile from the ordinate value of touch coordinate point, the ordinate of initial coordinate point Minimum value is chosen in at least two of value and maximum ordinate value and obtains selected ordinate value, so, it is ensured that selected ordinate Value is in user's range tangible in ordinate direction.It is last to be generated really according to selected abscissa value and selected ordinate value Position fixing point corresponds to the seat on the window vertex of the pre-configured orientation of window to be shown using determining coordinate points as window idsplay order Mark, and window to be shown is shown according to determining coordinate points and pre-set dimension.By comprehensively considering the corresponding touching of window idsplay order Coordinate points, the maximum ordinate value in preset duration and preset initial coordinate point are touched, window preset to be shown is dynamically adjusted The coordinate on the window vertex in orientation improves user's operation so that window to be shown is shown in the tangible range of user Convenience.
Detailed description of the invention
Fig. 1 is the flow chart of window display method in an embodiment;
Fig. 2 is the detailed process that the initial coordinate point of window vertex correspondence of the pre-configured orientation prestored is obtained in an embodiment Figure;
Fig. 3 is the flow chart of window display method in another embodiment;
Fig. 4 is the module frame chart of window display system in an embodiment;
Fig. 5 is the structural block diagram that initial coordinate point obtains module in an embodiment;
Fig. 6 is the structural block diagram of abscissa generation module in an embodiment;
Fig. 7 is the structural block diagram of ordinate generation module in an embodiment.
Specific embodiment
With reference to Fig. 1, a kind of window display method includes the following steps.
S110: receiving the window idsplay order for acting on touch screen, obtains corresponding touch location according to window idsplay order Touch coordinate point.
Some application opened on touch control terminal is turned on, when some file is opened or some document is opened, and is led to It can often show a window, the display position of window is closer with user present position, more convenient for the user to operate.The touching of touch control terminal Control screen it is usually rectangular, using two groups of rectangular relative edges as the right and left, the intersection point on four rectangular sides be divided into upper left, lower-left, Upper right and the window vertex of bottom right four.When responding touch control operation, for the touch location for detecting touch control operation, it will usually pre-establish Rectangular coordinate system determines the coordinate points of touch location according to the rectangular coordinate system.For example, using bottom left vertex as origin, respectively with Two orthogonal sides connecting with bottom left vertex are that abscissa and ordinate establish rectangular coordinate system.
Window idsplay order is used to indicate display window, can specifically include using enabled instruction, file open instructions With any one in document open instructions.Each window idsplay order is corresponding with a touch location, the seat of touch location Mark can be determined according to the rectangular coordinate system pre-established, obtain touch coordinate point.
S120: it as current time at the time of to receive window idsplay order, inquires using current time as the pre- of end time If the historical touch position in duration, and maximum ordinate value is chosen from the corresponding ordinate of history coordinate position.
Preset duration refers to pre-set from current time toward a time range being pushed forward, can have according to actual needs Body setting.Historical touch position is using current time as the touch location in the preset duration of end time, by obtaining history Touch location can learn the touch operation range in preset duration.
History coordinate points can have multiple, or one.Each history coordinate points is to there is an abscissa value And ordinate value.Wherein, when history coordinate points only one when, maximum ordinate value is the ordinate of the history coordinate points Value;When history coordinate points have multiple, maximum ordinate value is that numerical value is maximum vertical in the ordinate value of multiple history coordinate points Coordinate value.
S130: the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored is obtained.
The window of touch-control screen display is usually the rectangular of two groups of relative edges' compositions, is left and right two with two of them relative edge Side, window include upper left, lower-left, upper right, the orientation of bottom right four window vertex.Pre-configured orientation refers to upper left side in the present embodiment Position, that is, step S130 obtains the coordinate points on the upper left window vertex prestored as initial coordinate point.Initial coordinate point conduct The reference position of window display position can be stored in advance according to the actual situation.It is appreciated that step S130 is in step It executes, can be executed before step S110 before S140, can also be held after step silo, before step S120 Row, can also execute after step S120.
It in one embodiment, include step S131 to step S133 with reference to Fig. 2, step S130.
S131: judge whether window idsplay order is to receive for the first time.If so, thening follow the steps S132;If it is not, then executing Step S133.
S132: using the default coordinate prestored point as initial coordinate point.
Window idsplay order is when receiving for the first time, using default coordinate point as initial coordinate point.Wherein, default coordinate point It can be accustomed to determining according to the touch operation of user.
S133: the coordinate on the window vertex of the pre-configured orientation of a preceding display window is obtained as initial coordinate point.
Window idsplay order is not to receive for the first time, has the case where display window before indicating, at this point, primary aobvious before obtaining The coordinate on window vertex that show window, correspondence pre-configured orientation is as initial coordinate point, for example, by a left side for a preceding display window The window coordinates of upper position are as initial coordinate point.
Step S131 to step S133 is analyzed by the receive number to window idsplay order, to received for the first time Window idsplay order uses default coordinate point, to the received window idsplay order of non-first time using the pre- of a preceding display window If the window apex coordinate in orientation, the display position of window is carried out according to the display position of a preceding window with reference to tune It is whole, improve the convenience of user's operation.
S140: it according to the abscissa value of the abscissa value of touch coordinate point and initial coordinate point, obtains and touch coordinate point The distance of abscissa value be less than or equal to the abscissa of preset value and obtain selected abscissa value.
It in one embodiment, include step S141 to step S144 with reference to Fig. 3, step S140.
S141: the absolute value of the difference of the abscissa value of touch coordinate point and the abscissa value of initial coordinate point is calculated.
The absolute value of the difference of the abscissa value of the abscissa value and initial coordinate point of touch coordinate point, can be used to indicate that touching Touch the lateral distance between coordinate points and initial coordinate point;Absolute value is bigger, indicates touch coordinate point and initial coordinate point in cross The distance of coordinate direction is remoter, and absolute value is smaller, indicates that touch coordinate point is got at a distance from abscissa direction with initial coordinate point Closely.
S142: judge whether absolute value is less than or equal to preset value.If so, thening follow the steps S143;If it is not, then executing step Rapid S144.
Preset value can be arranged according to the actual situation, specifically can according to user it is receptible on abscissa direction Moving distance.For example, the abscissa value of touch coordinate point is x1, the abscissa value of initial coordinate point is x2, preset value L, step Rapid S142 is to judge | x2-x1 | whether≤L is true.
S143: using the abscissa value of initial coordinate point as selected abscissa value.
Absolute value is less than or equal to preset value, indicates the lateral distance of touch coordinate point and initial coordinate point acceptable In range;At this point, selected coordinate value takes the abscissa value of initial coordinate point, i.e., it can be according to default coordinate point on abscissa direction Or the window apex coordinate of the pre-configured orientation of a preceding display window determines the display position of window, without readjusting, can save Save program.
S144: using the abscissa value of touch coordinate point and the difference of preset value as the minimum value of value range, with touch coordinate The sum of the abscissa value of point and preset value are the maximum value of value range, and numerical value is chosen from value range and obtains selected abscissa Value.
Absolute value is greater than preset value, indicates that the lateral distance of touch coordinate point and initial coordinate point exceeds acceptable model It encloses, inconvenient user's operation;At this point, a value range is determined on the basis of the abscissa value of touch coordinate point, from value range In select abscissa value, it is ensured that the abscissa value of selected abscissa value and touch coordinate point on abscissa direction at a distance from Within an acceptable range.
In the present embodiment, step S144 can be with are as follows:
X3=x1 ± L;
Wherein, x3 is selected abscissa value, and x1 is the abscissa value of touch coordinate point, and L is preset value.
Step S141 to step S144 is obtained according to the abscissa value of touch coordinate point and the abscissa value of initial coordinate point Selected abscissa value, carries out the adjustment of window display position from abscissa direction, and the convenience of user's operation can be improved.
It is appreciated that in other embodiments, selected abscissa value can also be obtained using other modes, for example, from going through Abscissa maximum value is chosen in history coordinate position or abscissa minimum value obtains edge abscissa value, it can be according to touch coordinate point Abscissa value and edge abscissa value obtain selected abscissa value, can also be the abscissa value according to initial coordinate point and side Edge abscissa value obtains selected abscissa value.
S150: at least from the ordinate value of touch coordinate point, the ordinate value of initial coordinate point and maximum ordinate value In two kinds, chooses minimum value and obtain selected ordinate value.
The acquisition modes of selected ordinate value can there are many, for example, it may be according to the ordinate value of initial coordinate point Selected abscissa value is obtained with maximum ordinate value, can be and obtained according to the ordinate value and maximum ordinate value of touch coordinate point Selected ordinate value is taken, can be and selected indulge is obtained according to the ordinate value of touch coordinate point and the ordinate value of initial coordinate point Coordinate value can also be that the ordinate value according to touch coordinate point, the ordinate value of initial coordinate point and maximum ordinate value obtain Take selected ordinate value.
In one embodiment, with continued reference to FIG. 3, step S150 includes step S151 to step S153.
S151: judge whether the ordinate value of initial coordinate point is less than or equal to maximum ordinate value.If so, executing step Rapid S152;If it is not, thening follow the steps S153.
Maximum ordinate value is indicated using current time as highest that in the preset duration of end time, user can be touched Point;The ordinate value of initial coordinate point indicates the highest point of default display or the highest point of last display window.
S152: using the ordinate value of initial coordinate point as selected ordinate value.
When the ordinate value of initial coordinate point is less than or equal to maximum ordinate value, selecting ordinate value is initial coordinate point Ordinate value, i.e., in the ordinate on according to default coordinate point or the pre-configured orientation of a preceding display window window top The coordinate of point determines the display position of window, without adjustment, can save program.
S153: using maximum ordinate value as selected ordinate value.
When the ordinate value of initial coordinate point is greater than maximum ordinate value, selecting ordinate value is maximum ordinate value, i.e., Maximum ordinate value of being subject in the ordinate adjusts ordinate value.
Step S151 to step S153 chooses the two by comparing the ordinate value and maximum ordinate value of initial coordinate point In smaller value as selected ordinate value, avoid the window's position of display excessively high, operation ease can be improved.
S160: generating according to selected abscissa value and selected ordinate value and determine coordinate points, and coordinate points will be determined as window Mouth idsplay order corresponds to the coordinate on the window vertex of the pre-configured orientation of window to be shown, and according to determining coordinate points and pre-set dimension Show window to be shown.
Window to be shown refers to the need window to be shown determined according to window idsplay order.In one embodiment, to be shown Window includes any one opened in window and document opening window using starting-window, file.
Pre-set dimension refers to the size of pre-set window to be shown.Determine the coordinate on a vertex of window to be shown, It can determine the display position of window to be shown, window size then can determine according to pre-set dimension and show.The present embodiment Middle pre-configured orientation is upper left orientation, i.e., selected abscissa value is the abscissa value of the vertex correspondence in the upper left corner of window to be shown, Selected ordinate value is the ordinate value of the vertex correspondence in the upper left corner of window to be shown.
Above-mentioned window display method acts on the window idsplay order of touch screen by receiving, according to window idsplay order The touch coordinate point of corresponding touch location can be obtained;Then as current time at the time of to receive window idsplay order, inquiry with Current time is the historical touch position in the preset duration of end time, and is selected from the corresponding ordinate in historical touch position Take maximum ordinate value;In addition, also obtaining the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored;Later, according to The abscissa value of touch coordinate point and the abscissa value of initial coordinate point obtain selected abscissa value, wherein selected abscissa value With at a distance from the abscissa value of touch coordinate point be less than or equal to preset value;In this way, by with the abscissa value of touch coordinate point On the basis of, selected abscissa value is obtained in the range of apart from preset value is no more than, so that selected abscissa value is past horizontal in user On coordinate direction in tangible range.Meanwhile from the ordinate value of touch coordinate point, the ordinate value of initial coordinate point and most Choose minimum value in at least two of big ordinate value and obtain selected ordinate value, so, it is ensured that selected ordinate value with In the range tangible in ordinate direction of family.Last generated according to selected abscissa value and selected ordinate value determines coordinate Point corresponds to the coordinate on the window vertex of the pre-configured orientation of window to be shown, and root using determining coordinate points as window idsplay order Window to be shown is shown according to determining coordinate points and pre-set dimension.By comprehensively considering the corresponding touch coordinate of window idsplay order Maximum ordinate value and preset initial coordinate point in point, preset duration, dynamically adjust window preset orientation to be shown The coordinate on window vertex improves user's operation convenience so that window to be shown is shown in the tangible range of user.
Above-mentioned window display method can be applied to the intelligent terminal based on Windows system, use for example, being applied to classroom Intelligent whiteboard, can be improved the operation ease of intelligent whiteboard, promote the market competitiveness.
With reference to Fig. 4, window display system in an embodiment, including touch coordinate point obtain module 110, maximum ordinate Value obtains module 120, initial coordinate point obtains module 130, abscissa generation module 140, ordinate generation module 150 and window Display module 160.
Touch coordinate point obtains module 110 for receiving the window idsplay order for acting on touch screen, is shown according to window Instruction obtains the touch coordinate point of corresponding touch location.
Window idsplay order is used to indicate display window, can specifically include using enabled instruction, file open instructions With any one in document open instructions.Each window idsplay order is corresponding with a touch location, the seat of touch location Mark can be determined according to the rectangular coordinate system pre-established, obtain touch coordinate point.
Maximum ordinate value obtain module 120 be used for receive window idsplay order at the time of as current time, inquiry with Current time is the historical touch position in the preset duration of end time, and is selected from the corresponding ordinate of history coordinate position Take maximum ordinate value.
Preset duration refers to pre-set from current time toward a time range being pushed forward, can have according to actual needs Body setting.Historical touch position is using current time as the touch location in the preset duration of end time, by obtaining history Touch location can learn the touch operation range in preset duration.
History coordinate points can have multiple, or one.Each history coordinate points is to there is an abscissa value And ordinate value.Wherein, when history coordinate points only one when, maximum ordinate value is the ordinate of the history coordinate points Value;When history coordinate points have multiple, maximum ordinate value is that numerical value is maximum vertical in the ordinate value of multiple history coordinate points Coordinate value.
Initial coordinate point obtains the initial coordinate that module 130 is used to obtain the window vertex correspondence of the pre-configured orientation prestored Point.
The window of touch-control screen display is usually the rectangular of two groups of relative edges' compositions, is left and right two with two of them relative edge Side, window include upper left, lower-left, upper right, the orientation of bottom right four window vertex.Pre-configured orientation refers to upper left side in the present embodiment Position.Reference position of the initial coordinate point as window display position, can be stored in advance according to the actual situation.
In one embodiment, with reference to Fig. 5, initial coordinate point obtains module 130 and sits including instruction analysis unit 131, first Punctuate determination unit 132 and the second coordinate points determination unit 133.
Instruction analysis unit 131 is for judging whether window idsplay order is to receive for the first time.
First coordinate points determination unit 132 is used to sit the default prestored when window idsplay order is to receive for the first time Punctuate is as initial coordinate point.
Second coordinate points determination unit 133 is used for when window idsplay order is not to receive for the first time, primary aobvious before obtaining Show the coordinate on the window vertex of the pre-configured orientation of window and as initial coordinate point.
Abscissa generation module 140 is used for according to the abscissa value of touch coordinate point and the abscissa value of initial coordinate point, It obtains the abscissa at a distance from the abscissa value of touch coordinate point less than or equal to preset value and obtains selected abscissa value.
In one embodiment, with reference to Fig. 6, abscissa generation module 140 includes difference computational unit 141, differential analysis list First 142, first abscissa generation unit 143 and the second abscissa generation unit 144.
Difference computational unit 141 is used to calculate the difference of the abscissa value of touch coordinate point and the abscissa value of initial coordinate point Absolute value.
Differential analysis unit 142 is for judging whether absolute value is less than or equal to preset value.
First abscissa generation unit 143 is used for when absolute value is less than or equal to preset value, by the cross of initial coordinate point Coordinate value is as selected abscissa value.
Second abscissa generation unit 144 is used for when absolute value is greater than preset value, with the abscissa value of touch coordinate point And the difference of preset value is the minimum value of value range, with the sum of the abscissa value of touch coordinate point and preset value for value range Maximum value chooses numerical value from value range and obtains selected abscissa value.
Ordinate generation module 150 is used for from the ordinate value of touch coordinate point, the ordinate value of initial coordinate point and most In at least two of big ordinate value, chooses minimum value and obtain selected ordinate value.
The acquisition modes of selected ordinate value can there are many, for example, it may be according to the ordinate value of initial coordinate point Selected abscissa value is obtained with maximum ordinate value, can be and obtained according to the ordinate value and maximum ordinate value of touch coordinate point Selected ordinate value is taken, can be and selected indulge is obtained according to the ordinate value of touch coordinate point and the ordinate value of initial coordinate point Coordinate value can also be that the ordinate value according to touch coordinate point, the ordinate value of initial coordinate point and maximum ordinate value obtain Take selected ordinate value.
In one embodiment, referring to FIG. 7, ordinate generation module 150 includes the vertical seat of comparative analysis unit 151, first Mark generation unit 152 and the second ordinate generation unit 153.
Comparative analysis unit 151 is for judging whether the ordinate value of initial coordinate point is less than or equal to maximum ordinate Value.
First ordinate generation unit 152 is used to be less than or equal to maximum ordinate value in the ordinate value of initial coordinate point When, using the ordinate value of initial coordinate point as selected ordinate value.
Second ordinate generation unit 153 is used for when the ordinate value of initial coordinate point is greater than maximum ordinate value, will Maximum ordinate value is as selected ordinate value.
Window display module 160 is used for according to abscissa value and the determining coordinate points of selected ordinate value generation is selected, will be true Position fixing point corresponds to the coordinate on the window vertex of the pre-configured orientation of window to be shown as window idsplay order, and sits according to determining Punctuate and pre-set dimension show window to be shown.
Window to be shown refers to the need window to be shown determined according to window idsplay order.In one embodiment, to be shown Window includes any one opened in window and document opening window using starting-window, file.
Pre-set dimension refers to the size of pre-set window to be shown.Determine the coordinate on a vertex of window to be shown, It can determine the display position of window to be shown, window size then can determine according to pre-set dimension and show.The present embodiment Middle pre-configured orientation is upper left orientation, i.e., selected abscissa value is the abscissa value of the vertex correspondence in the upper left corner of window to be shown, Selected ordinate value is the ordinate value of the vertex correspondence in the upper left corner of window to be shown.
Above-mentioned window display system is shown by the window that the acquisition reception of module 110 of touch coordinate point acts on touch screen Instruction, the touch coordinate point of corresponding touch location can be obtained according to window idsplay order;Then maximum ordinate value obtains module 120 to receive window idsplay order at the time of as current time, inquire using current time as in the preset duration of end time Historical touch position, and maximum ordinate value is obtained from the corresponding ordinate in historical touch position;In addition, initial coordinate point obtains Modulus block 130 obtains the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored;Later, abscissa generation module 140 Selected abscissa value is obtained according to the abscissa value of touch coordinate point and the abscissa value of initial coordinate point, wherein selectes horizontal seat Scale value is less than or equal to preset value at a distance from the abscissa value of touch coordinate point;In this way, by with the horizontal seat of touch coordinate point On the basis of scale value, selected abscissa value is obtained in the range of distance is no more than preset value, so that selected abscissa value is in user On abscissa direction in tangible range.Meanwhile ordinate generation module 150 from the ordinate value of touch coordinate point, just In the ordinate value and maximum ordinate value of beginning coordinate points at least two in obtain minimum value and obtain selected ordinate value, such as This, it is ensured that selected ordinate value is in user's range tangible in ordinate direction.Window display module 160 is according to choosing Determine abscissa value and selected ordinate value and generate to determine coordinate points, will determine coordinate points as window idsplay order and correspond to and is to be shown The coordinate on the window vertex of the pre-configured orientation of window, and window to be shown is shown according to determining coordinate points and pre-set dimension.Pass through Comprehensively consider the corresponding touch coordinate point of window idsplay order, the maximum ordinate value in preset duration and preset initial seat Punctuate, dynamic adjustment obtains the coordinate on the window vertex in window preset orientation to be shown, so that window to be shown can be touched in user It is shown in the range of touching, improves user's operation convenience.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of window display method, which comprises the steps of:
The window idsplay order for acting on touch screen is received, the touch of corresponding touch location is obtained according to the window idsplay order Coordinate points;
As current time at the time of to receive the window idsplay order, inquiry is using the current time as the default of end time Historical touch position in duration, and maximum ordinate value is chosen from the corresponding ordinate in the historical touch position;
Obtain the initial coordinate point of the window vertex correspondence of the pre-configured orientation prestored;
According to the abscissa value of the abscissa value of the touch coordinate point and initial coordinate point, obtain and the touch coordinate The abscissa that the distance of the abscissa value of point is less than or equal to preset value obtains selected abscissa value;
From the ordinate value of the touch coordinate point, the ordinate value of initial coordinate point and the maximum ordinate value to In two kinds few, choose minimum value and obtain selected ordinate value;
Generated according to the selected abscissa value and the selected ordinate value and determine coordinate points, using the determining coordinate points as The window idsplay order corresponds to the coordinate on the window vertex of the pre-configured orientation of window to be shown, and according to the determining seat Punctuate and pre-set dimension show the window to be shown;
It is described according to the abscissa value of the touch coordinate point and the abscissa value of initial coordinate point, obtain and the touch The abscissa that the distance of the abscissa value of coordinate points is less than or equal to preset value obtains selected abscissa value, comprising:
Calculate the absolute value of the difference of the abscissa value of the touch coordinate point and the abscissa value of the initial coordinate point;
Judge whether the absolute value is less than or equal to the preset value;
If so, using the abscissa value of the initial coordinate point as the selected abscissa value;
If it is not, using the abscissa value of the touch coordinate point and the difference of the preset value as the minimum value of value range, with described The sum of the abscissa value of touch coordinate point and the preset value are the maximum value of the value range, are selected from the value range Access is worth to obtain the selected abscissa value.
2. window display method according to claim 1, which is characterized in that the window for obtaining the pre-configured orientation prestored The initial coordinate point of vertex correspondence, comprising:
Judge whether the window idsplay order is to receive for the first time;
If so, using the default coordinate prestored point as the initial coordinate point;
If it is not, then obtaining the coordinate on the window vertex of the pre-configured orientation of a preceding display window as the initial coordinate Point.
3. window display method according to claim 1, which is characterized in that the ordinate from the touch coordinate point Value, the ordinate value of initial coordinate point and the maximum ordinate value at least two in, choose minimum value and selected Ordinate value, comprising:
Judge whether the ordinate value of the initial coordinate point is less than or equal to the maximum ordinate value;
If so, using the ordinate value of the initial coordinate point as the selected ordinate value;
If it is not, then using the maximum ordinate value as the selected ordinate value.
4. window display method according to claim 1, which is characterized in that described according to the selected abscissa value and institute It states selected ordinate value and generates determining coordinate points, correspond to window to be shown for the determining coordinate points as the window idsplay order Mouthful the pre-configured orientation window vertex coordinate, and according to the determining coordinate points and pre-set dimension show described in It is further comprising the steps of after the step of display window:
The determining coordinate points are stored, and using the determining coordinate points as new initial coordinate point.
5. a kind of window display system characterized by comprising
Touch coordinate point obtains module and is shown and referred to according to the window for receiving the window idsplay order for acting on touch screen Enable the touch coordinate point for obtaining corresponding touch location;
Maximum ordinate value obtains module, as current time at the time of for receive the window idsplay order, inquires with institute The historical touch position in the preset duration that current time is end time is stated, and from the corresponding vertical seat in the historical touch position Maximum ordinate value is chosen in mark;
Initial coordinate point obtains module, the initial coordinate point of the window vertex correspondence for obtaining the pre-configured orientation prestored;
Abscissa generation module, for according to the abscissa value of the touch coordinate point and the abscissa of initial coordinate point Value obtains the abscissa at a distance from the abscissa value of the touch coordinate point less than or equal to preset value and obtains selected abscissa Value;
Ordinate generation module, for ordinate value, initial coordinate point from the touch coordinate point ordinate value and In at least two of the maximum ordinate value, chooses minimum value and obtain selected ordinate value;
Window display module will for generating according to the selected abscissa value and the selected ordinate value and determining coordinate points The determining coordinate points correspond to the seat on the window vertex of the pre-configured orientation of window to be shown as the window idsplay order Mark, and the window to be shown is shown according to the determining coordinate points and pre-set dimension;
The abscissa generation module includes:
Difference computational unit, for calculate the touch coordinate point abscissa value and the initial coordinate point abscissa value it Absolute value of the difference;
Differential analysis unit, for judging whether the absolute value is less than or equal to the preset value;
First abscissa generation unit is used for when the absolute value is less than or equal to the preset value, by the initial coordinate The abscissa value of point is as the selected abscissa value;
Second abscissa generation unit is used for when the absolute value is greater than the preset value, with the cross of the touch coordinate point The difference of coordinate value and the preset value is the minimum value of value range, is preset with the abscissa value of the touch coordinate point with described The sum of value is the maximum value of the value range, and numerical value is chosen from the value range and obtains the selected abscissa value.
6. window display system according to claim 5, which is characterized in that the initial coordinate point obtains module and includes:
Instruction analysis unit, for judging whether the window idsplay order is to receive for the first time;
First coordinate points determination unit, the default coordinate for will prestore when the window idsplay order is to receive for the first time Point is used as the initial coordinate point;
Second coordinate points determination unit, for once being shown before obtaining when the window idsplay order is not to receive for the first time The coordinate on the window vertex of the pre-configured orientation of window is as the initial coordinate point.
7. window display system according to claim 5, which is characterized in that the ordinate generation module includes:
Comparative analysis unit, for judging whether the ordinate value of the initial coordinate point is less than or equal to the maximum ordinate Value;
First ordinate generation unit is less than or equal to the maximum ordinate for the ordinate value in the initial coordinate point When value, using the ordinate value of the initial coordinate point as the selected ordinate value;
Second ordinate generation unit, when being greater than the maximum ordinate value for the ordinate value in the initial coordinate point, Using the maximum ordinate value as the selected ordinate value.
8. window display system according to claim 5, which is characterized in that further include storage update module, for storing The determining coordinate points, and using the determining coordinate points as new initial coordinate point.
CN201610836860.8A 2016-09-20 2016-09-20 Window display method and system Active CN106383632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610836860.8A CN106383632B (en) 2016-09-20 2016-09-20 Window display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610836860.8A CN106383632B (en) 2016-09-20 2016-09-20 Window display method and system

Publications (2)

Publication Number Publication Date
CN106383632A CN106383632A (en) 2017-02-08
CN106383632B true CN106383632B (en) 2019-07-09

Family

ID=57936755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610836860.8A Active CN106383632B (en) 2016-09-20 2016-09-20 Window display method and system

Country Status (1)

Country Link
CN (1) CN106383632B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582182A (en) * 2017-10-20 2019-04-05 北京仁光科技有限公司 Multi signal window touch control method, equipment, system and computer readable storage medium
CN115033145A (en) * 2022-06-22 2022-09-09 上海集度汽车有限公司 Vehicle-mounted screen display method and device, vehicle and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904821A (en) * 2005-07-25 2007-01-31 联想(北京)有限公司 Multi-display system and its window switching method
CN101692196A (en) * 2009-08-25 2010-04-07 宇龙计算机通信科技(深圳)有限公司 Window arranging method, system and display terminal
CN102004585A (en) * 2010-11-15 2011-04-06 广东威创视讯科技股份有限公司 Multi-area identification method for touch screen
CN103677507A (en) * 2012-09-24 2014-03-26 腾讯科技(深圳)有限公司 Display terminal and interface window display method
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN105373289A (en) * 2015-10-10 2016-03-02 惠州Tcl移动通信有限公司 Intelligent equipment for displaying help interface according to touch track and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904821A (en) * 2005-07-25 2007-01-31 联想(北京)有限公司 Multi-display system and its window switching method
CN101692196A (en) * 2009-08-25 2010-04-07 宇龙计算机通信科技(深圳)有限公司 Window arranging method, system and display terminal
CN102004585A (en) * 2010-11-15 2011-04-06 广东威创视讯科技股份有限公司 Multi-area identification method for touch screen
CN103677507A (en) * 2012-09-24 2014-03-26 腾讯科技(深圳)有限公司 Display terminal and interface window display method
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN105373289A (en) * 2015-10-10 2016-03-02 惠州Tcl移动通信有限公司 Intelligent equipment for displaying help interface according to touch track and method thereof

Also Published As

Publication number Publication date
CN106383632A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
KR102328120B1 (en) A mobile terminal and method of displaying virtual keyboard on mobile phone
CN106383632B (en) Window display method and system
US9317135B2 (en) Method and system for triggering and controlling human-computer interaction operating instructions
CN105867679A (en) Touch control method, touch control apparatus, and terminal
CN107068044B (en) Image gamma revision method, scanning card and display system
WO2017080258A1 (en) Method and system for controlling touch menu
US20150204560A1 (en) Environmental parameter setting aiding device and method
US9405387B2 (en) Cursor control apparatus and cursor control method thereof
AU2015304150A1 (en) Display apparatus and control method thereof
US10192091B2 (en) Fingerprint sensor apparatus and a method for controlling the fingerprint sensor apparatus
CN103809853A (en) Information processing method and electronic device
US20170131893A1 (en) Terminal control method and device
CN103092551A (en) Method and device for adjusting display effect
CN102880420A (en) Method and system based on touch screen for starting and implementing area selection operation
TWI490764B (en) Hybrid capacitive scan method
WO2017071097A1 (en) Window adjustment method and apparatus based on fingerprint identification, and terminal
US10949033B2 (en) Touch panel device, touch panel device control method, and non-transitory tangible computer-readable storage medium having the program stored therein
CN103440098B (en) Open method and the mobile terminal thereof of application program
CN105808054A (en) Control method and control device for control icon, terminal
US20200192526A1 (en) Touch panel device, touch panel device control method, and non-transitory tangible computer-readable storage medium having the program stored therein
CN103473001B (en) cell adjusting method and device
CN106502610B (en) A kind of display brightness method of adjustment and mobile terminal
CN105320316A (en) Method and device for debouncing of touch screen and terminal
CN104090681B (en) The method and system of touch-screen stabilization
CN104216603B (en) A kind of display methods and electronic equipment

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