CN108509137A - Redefine the method and device of the manipulation display area of screen - Google Patents

Redefine the method and device of the manipulation display area of screen Download PDF

Info

Publication number
CN108509137A
CN108509137A CN201710114095.3A CN201710114095A CN108509137A CN 108509137 A CN108509137 A CN 108509137A CN 201710114095 A CN201710114095 A CN 201710114095A CN 108509137 A CN108509137 A CN 108509137A
Authority
CN
China
Prior art keywords
coordinate
display area
manipulation display
screen
default
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.)
Pending
Application number
CN201710114095.3A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710114095.3A priority Critical patent/CN108509137A/en
Priority to PCT/CN2017/118072 priority patent/WO2018157655A1/en
Publication of CN108509137A publication Critical patent/CN108509137A/en
Pending legal-status Critical Current

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/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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The embodiment of the invention discloses a kind of methods for the manipulation display area redefining screen, including:After determination needs to redefine the manipulation display area of screen, track continuously slipping on original pattern is obtained;Two endpoints for determining the continuously slipping track obtain the straight line that the first coordinate and the second coordinate and first coordinate are linked to be with second coordinate;When the straight line meets default judgment rule, the enclosed region for surrounding first coordinate to second coordinate on the original pattern is as new manipulation display area.The embodiment of the present invention further simultaneously discloses a kind of device for the manipulation display area redefining screen.

Description

Redefine the method and device of the manipulation display area of screen
Technical field
The present invention relates to the display technology field of terminal more particularly to a kind of manipulation display areas redefining screen Method and device.
Background technology
With the fast development of terminal technology, the screen size of terminal is increasing, and the terminal of large screen can give user Better experience is brought, such as plays game or sees video;In routine use, terminal is fallen frequent occurrence, causes screen section The case where subregion can not be shown or touch screen portion region can not use;Due to subregion show or touch it is ineffective, Can not normal use, the data for resulting even in terminal can not be successfully export with regard to this, reduce user experience.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of methods and dress of the manipulation display area redefining screen Set, with realize screen portions region can not show or touch screen portion region can not use in the case of, redefine screen Display area is specified in the manipulation display area of curtain according to the actual conditions of screen damage, the part of damage is avoided, limited It can smoothly be exported user data with carrying out, using operation, reaching and prolonging the service life again in screen ranges, improved user experience.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The present invention provides a kind of method for the manipulation display area redefining screen, the method includes:
After determination needs to redefine the manipulation display area of screen, rail continuously slipping on original pattern is obtained Mark;
Two endpoints for determining the continuously slipping track obtain the first coordinate and the second coordinate and first seat The straight line that mark is linked to be with second coordinate;
When the straight line meets default judgment rule, by first coordinate to described second on the original pattern The enclosed region that coordinate surrounds is as new manipulation display area.
In said program, two endpoints for determining the continuously slipping track obtain the first coordinate and second With after the straight line in the second coordinate institute Liancheng, the method further includes for coordinate and first coordinate:
Judge whether the straight line meets the default judgment rule;Wherein, the default judgment rule includes default folder Angular region and preset length range;
The straight line meets the default judgment rule, including:
The angle on one side of the straight line and the original pattern belongs in default angular range and the length of the straight line Belong within the scope of preset length.
In said program, the method further includes:
Judge whether the operation for starting the manipulation display area for redefining screen meets predetermined registration operation rule, if described open The operation of the dynamic manipulation display area for redefining screen meets the predetermined registration operation rule, it is determined that needs to redefine screen Manipulation display area;
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume more than or equal to default The number of key;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, The number that fingerprint sensor is clicked in preset time period is more than or equal to the default number for clicking fingerprint sensor.
In said program, the closure for surrounding first coordinate to second coordinate on the original pattern After region is as new manipulation display area, the method further includes:
Determine the abscissa pantograph ratio of the new manipulation display area and the manipulation display area of the original pattern Example relationship and ordinate scaling relationships;
By picture to be shown include described according to the abscissa scaling relationships and ordinate scaling relationships On new manipulation display area.
In said program, the region on the screen surrounding first coordinate to second coordinate as New manipulation display area, including:
The first difference of the abscissa of first coordinate and the abscissa of second coordinate is calculated, and according to described One difference obtains two identical horizontal line sections;
The second difference of the ordinate of second coordinate and the ordinate of second coordinate is calculated, and according to described Two differences obtain two identical ordinate sections;
It is on the original pattern that first coordinate, the second coordinate, two identical horizontal line sections and two are identical The closure square region that ordinate section is formed is as new manipulation display area.
The present invention also provides a kind of device for the manipulation display area redefining screen, described device includes:
Acquisition module, for after determination needs to redefine the manipulation display area of screen, obtaining on original pattern Continuously slipping track;
Determining module, two endpoints for determining the continuously slipping track obtain the first coordinate and second and sit The straight line that mark and first coordinate are linked to be with second coordinate;
Processing module, for when the straight line meets default judgment rule, by described first on the original pattern The enclosed region that coordinate is surrounded to second coordinate is as new manipulation display area.
In said program, described device further includes:
Judgment module, for judging whether the straight line meets the default judgment rule;Wherein, the default judgement rule Include then default angular range and preset length range;
The straight line meets the default judgment rule, including:
The angle on one side of the straight line and the original pattern belongs in default angular range and the length of the straight line Belong within the scope of preset length.
In said program, the judgment module is additionally operable to judge to start the behaviour for the manipulation display area for redefining screen Whether predetermined registration operation rule is met, if the operation for starting the manipulation display area for redefining screen meets described preset Operation rules, it is determined that need to redefine the manipulation display area of screen;
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume more than or equal to default The number of key;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, The number that fingerprint sensor is clicked in preset time period is more than or equal to the default number for clicking fingerprint sensor.
In said program, the processing module is additionally operable to determine the new manipulation display area and the original screen The abscissa scaling relationships and ordinate scaling relationships of the manipulation display area of curtain;
Described device further includes:
Module is presented, for according to the abscissa scaling relationships and ordinate scaling relationships by picture to be shown Face is presented on the new manipulation display area.
In said program, the processing module, the abscissa for being specifically used for calculating first coordinate is sat with described second First difference of target abscissa, and two identical horizontal line sections are obtained according to first difference;
The second difference of the ordinate of second coordinate and the ordinate of second coordinate is calculated, and according to described Two differences obtain two identical ordinate sections;
On the screen by first coordinate, the second coordinate, two identical horizontal line sections and two identical ordinates The closure square region that section is formed is as new manipulation display area.
The method and device of the manipulation display area provided in an embodiment of the present invention for redefining screen, by being needed determining Behind the manipulation display area for redefining screen, track continuously slipping on original pattern is obtained;It determines described continuous Two endpoints of the track of sliding obtain the first coordinate and the second coordinate and first coordinate and are linked to be with second coordinate Straight line;When the straight line meets default judgment rule, by first coordinate to described second on the original pattern The region that coordinate surrounds is as new manipulation display area;Realizing can not show or touch screen portion in screen portions region Region can not can redefine the manipulation display area of screen, you can with according to the reality of screen damage in the case of use Situation specifies display area, avoids the part of damage, is carried out again using operation, to reach in limited available screen ranges Prolong the service life, can smoothly export user data, improve user experience.
Description of the drawings
Fig. 1 is the flow chart of the embodiment of the method one for the manipulation display area that the present invention redefines screen;
Fig. 2 is the flow chart of the embodiment of the method two for the manipulation display area that the present invention redefines screen;
Fig. 3 is the Sample Scenario figure of the embodiment of the method two for the manipulation display area that the present invention redefines screen;
Fig. 4 is the structural schematic diagram of the device embodiment for the manipulation display area that the present invention redefines screen.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
Fig. 1 is the flow chart of the embodiment of the method one for the manipulation display area that the present invention redefines screen, and the present invention is real The method for applying the manipulation display area for redefining screen of example offer can be applied in the manipulation viewing area for redefining screen On the device in domain, wherein terminal that the device can be in a variety of manners is implemented;For example, device described in the present invention can be with Including such as mobile phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA), tablet electricity The mobile terminal of brain (PAD), portable media player (PMP), navigation device etc. and such as number TV, desk-top calculating The fixed terminal of machine etc..
As shown in Figure 1, this method may include steps of:
Step 101, determine need to redefine the manipulation display area of screen after, acquisition continuously slided on original pattern Dynamic track.
The device (hereinafter referred to as device) for redefining the manipulation display area of screen needs to redefine screen in determination Manipulation display area after, obtain track continuously slipping on original pattern;For example, the screen portions region in device can not Display or touch screen portion region can not be in the case of uses, and user can start the manipulation display area for redefining screen Operation.
Wherein, device determines whether it is the operation for starting the manipulation display area for redefining screen first, specifically , device how to judge whether be start redefine screen manipulation display area operation it is as described below.
Device judges whether the operation for starting the manipulation display area for redefining screen meets predetermined registration operation rule, if institute The operation for stating the manipulation display area that startup redefines screen meets the predetermined registration operation rule, it is determined that needs redefine The manipulation display area of screen;If the operation for starting the manipulation display area for redefining screen does not meet the default behaviour Make rule, it is determined that the manipulation display area of screen need not be redefined.
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume more than or equal to default The number of key;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, The number that fingerprint sensor is clicked in preset time period is more than or equal to the default number for clicking fingerprint sensor.
What needs to be explained here is that in the present invention, preset time period, is preset and is clicked the default number for clicking volume key The number of power key, the default number for clicking fingerprint sensor can be configured according to actual demand, for example, preset time period It it is 3 times for 1 second, the default number for clicking power key, the default number for clicking fingerprint sensor is 4 times, default fingerprint of clicking passes The number of sensor is 5 times, only with for example, not limiting herein.
Device can obtain user and utilize finger or touch screen after determination needs to redefine the manipulation display area of screen Pen track continuously slipping on original pattern, obtains a curve or straight line.
Step 102, two endpoints for determining the continuously slipping track, obtain the first coordinate and the second coordinate and institute State the straight line that the first coordinate is linked to be with second coordinate.
Device determines two that continuously slipping track on original pattern is formed by a curve or straight line After the endpoint of the endpoint and end that start, the two endpoints are transformed on original pattern with original pattern forward direction for endpoint The lower left corner in direction is two coordinates corresponding to coordinate origin, i.e. the first coordinate and the second coordinate.
After determining the first coordinate and the second coordinate, it is straight to form one be linked to be with 2 points of the first coordinate and the second coordinate Line.
Step 103, when the straight line meets default judgment rule, first coordinate is arrived on the original pattern The enclosed region that second coordinate surrounds is as new manipulation display area.
Device is when the straight line determined in judging step 102 meets default judgment rule, by original pattern The enclosed region that one coordinate to the second coordinate is surrounded is as new manipulation display area, wherein the new manipulation display area Area be less than the area of original pattern.
Specifically, before executing this step, whether the straight line that device can be determined in prior judgment step 102 meets institute State default judgment rule;Wherein, the default judgment rule includes default angular range and preset length range;If the straight line accords with The default judgment rule is closed, this step could be executed;If the straight line does not meet the default judgment rule, this step is not executed Suddenly, task is ended processing.
The straight line meets the default judgment rule:The angle of the straight line and one side of the original pattern Belong in default angular range and the length of the straight line belongs within the scope of preset length, one side of original pattern here can Think the horizontal edge either vertical edge of original pattern;Specifically, herein in relation to default angular range and preset length range, for example, Between default angular range is 30 degree to 60 degree, preset length is ranging from the half of lateral side length between vertical edge length;This In only with for example bright, specific range can be configured according to actual demand, not limited herein.
Device is after being determined for compliance with requirement condition, the area that is surrounded the first coordinate to the second coordinate on original pattern Domain is supplied to user as new manipulation display area, by the new manipulation display area, for users to use.
Specifically, device is shown on original pattern using the first coordinate to the second coordinate area defined as new manipulation Show region, including:First, the first difference of the abscissa and the abscissa of second coordinate of first coordinate is calculated, and It is obtained according to first difference;Two identical horizontal line sections;Secondly, the ordinate and described second of second coordinate is calculated Second difference of the ordinate of coordinate, and two identical ordinate sections are obtained according to second difference;Finally, described original First coordinate, the second coordinate, two identical horizontal line sections and two identical ordinate sections are formed on screen rectangular Region is as new manipulation display area.
After determining new manipulation display area, device also can determine whether out the new manipulation display area with it is described The abscissa scaling relationships and ordinate scaling relationships of the manipulation display area of original pattern;It is scaled by abscissa Proportionate relationship and ordinate scaling relationships, by content to display in device memory from the manipulation viewing area of original pattern Domain corresponds to new manipulation display area and is converted, and will need to report the user's operation action of memory to be shown from new manipulation Show that region corresponds to the manipulation display area of original pattern and converted, by the display content of memory and practical can thus exist Display content in new manipulation display area is completely corresponding, and the operation content in new manipulation display area is completely corresponding Into memory.
Specifically, how by abscissa scaling relationships and ordinate scaling relationships, by institute in device memory Content to be shown corresponds to new manipulation display area from the manipulation display area of original pattern and is converted, including:
First, the coordinate by the point in the lower left corner of the new manipulation display area as the new manipulation display area Origin, by the manipulation display area put as the original pattern in the lower left corner of the manipulation display area of the original pattern Coordinate origin;
Secondly, it by abscissa scaling relationships and ordinate scaling relationships, will be shown in device memory Content correspond to new manipulation display area from the manipulation display area of original pattern and converted;
Finally, the content to display after conversion is presented on new manipulation display area.
Specifically, how to pass through abscissa scaling relationships and ordinate scaling relationships, it would be desirable to report memory User's operation action correspond to the manipulation display area of original pattern from new manipulation display area and converted, including:
First, the coordinate by the point in the lower left corner of the new manipulation display area as the new manipulation display area Origin, by the manipulation display area put as the original pattern in the lower left corner of the manipulation display area of the original pattern Coordinate origin;
Secondly, the touch point that user's operation is obtained in the new manipulation display area, obtains the touch point in institute State the abscissa value and ordinate value in new manipulation display area;
Finally, the abscissa value and abscissa scaling relationships according to described in the new manipulation display area, The abscissa value in the manipulation display area of the original pattern is obtained, and is reported to device memory;According to described described Ordinate value in new manipulation display area and ordinate scaling relationships, obtain showing in the manipulation of the original pattern Ordinate value in region, and it is reported to device memory.
The method of the manipulation display area provided in an embodiment of the present invention for redefining screen, by determining needs again Behind the manipulation display area for defining screen, track continuously slipping on original pattern is obtained;It determines described continuously slipping Two endpoints of track, obtain the first coordinate and the second coordinate and first coordinate be linked to be with second coordinate it is straight Line;When the straight line meets default judgment rule, by first coordinate to second coordinate on the original pattern The region surrounded is as new manipulation display area;Realizing can not show or touch screen portion region in screen portions region The manipulation display area of screen can not can be redefined, you can with according to the actual conditions of screen damage in the case of use Specified display area, avoids the part of damage, carries out, using operation, to reach extending again in limited available screen ranges Service life can smoothly export user data, improve user experience.
It is on the basis of the above embodiments, further to illustrate in order to more embody the purpose of the present invention.
Fig. 2 is the flow chart of the embodiment of the method two for the manipulation display area that the present invention redefines screen, and the present invention is real The method for applying the manipulation display area for redefining screen of example offer can be applied on mobile terminals.
As shown in Fig. 2, this method may include steps of:
Step 201 judges whether it is the operation for starting the manipulation display area for redefining screen.
The screen portions region of mobile terminal can not show or touch screen portion region can not use in the case of, move Dynamic terminal judges whether the operation for starting the manipulation display area for redefining screen meets predetermined registration operation rule, if starting again The operation for defining the manipulation display area of screen does not meet predetermined registration operation rule, it is determined that need not redefine the manipulation of screen Display area executes step 202;If the operation for starting the manipulation display area for redefining screen meets predetermined registration operation rule Then, it is determined that need to redefine the manipulation display area of screen, that is, execute step 203.
Fig. 3 is the Sample Scenario figure of the embodiment of the method two for the manipulation display area that the present invention redefines screen, such as Fig. 3 Shown, the broken parts on the screen of mobile terminal are broken parts 311.
For example, predetermined registration operation rule is to click volume key number in 1 second as more than or equal to 3 times;If mobile whole in 1 second End gets user click volume key 4 times, more than the default number for clicking volume key 3 times, therefore, it is possible to judge that going out user's needs Start the function for the manipulation display area for redefining screen.
Step 202 ends processing task.
Mobile terminal ends processing task.
Step 203 obtains track continuously slipping on original pattern.
Mobile terminal can obtain after determining that user needs to start the function for the manipulation display area for redefining screen User passes through the continuously slipping track of finger on original pattern;Fig. 3 is the manipulation display area that the present invention redefines screen Embodiment of the method two Sample Scenario figure, as shown in figure 3, the continuously slipping track arrived of acquisition for mobile terminal is track 312.
Step 204, two endpoints for determining the continuously slipping track, obtain the first coordinate and the second coordinate and institute State the straight line that the first coordinate is linked to be with second coordinate.
Mobile terminal determines two endpoints that continuously slipping track is formed by a curve or straight line, that is, opens After the endpoint of beginning and the endpoint of end, the two endpoints are transformed on original pattern with the lower-left of original pattern direction Angle is two coordinates corresponding to coordinate origin, i.e. the first coordinate and the second coordinate.
After determining the first coordinate and the second coordinate, formation is linked to be mobile terminal with 2 points of the first coordinate and the second coordinate Straight line.
As shown in figure 3, original pattern direction is arrow direction 313, the coordinate origin of original pattern is coordinate origin 314, the first coordinate is A coordinate points 315, and the second coordinate is B coordinate points 316, passes through A coordinate points 315 and 316 shapes of B coordinate points It is in line 317.
Step 205 judges whether the straight line meets the default judgment rule.
Mobile terminal judges whether the angle of the horizontal edge of straight line and original pattern belongs in default angular range and straight line Whether length belongs within the scope of preset length, if only meeting one of condition, it is determined that and straight line does not meet default judgment rule, Execute step 206;If two conditions all meet, just determines that straight line meets default judgment rule, that is, execute step 207.
For example, default angular range is 20 degree to 70 degree, preset length ranging from 5CM is between 10CM;As shown in figure 3, The angle 319 of straight line 317 and the horizontal edge 318 of original pattern is 45 degree, and the length of straight line 317 is 7CM, i.e., preset two conditions All meet, step 207 can be executed.
Step 206 ends processing task.
Mobile terminal ends processing task.
Step 207, the enclosed region for surrounding first coordinate to second coordinate on the original pattern are made For new manipulation display area.
Specifically, mobile terminal calculates the first difference of the abscissa of the first coordinate and the abscissa of the second coordinate, and root Two identical horizontal line sections are obtained according to the first difference;Secondly, the ordinate of the ordinate and second coordinate of the second coordinate is calculated Second difference, and two identical ordinate sections are obtained according to the second difference;Finally, by the first coordinate, second on original pattern The rectangular enclosed region that coordinate, two identical horizontal line sections and two identical ordinate sections are formed is as new manipulation viewing area Domain.
As shown in figure 3, mobile terminal, first, abscissa and the abscissa of B coordinate points 316 of calculating A coordinate points 315 First difference, and two identical horizontal line sections 320 are obtained according to the first difference;Secondly, the ordinate and B of A coordinate points 315 are calculated Second difference of the ordinate of coordinate points 316, and two identical ordinate sections 321 are obtained according to the second difference;Finally, original A coordinate points 315, the identical ordinate section 321 of identical horizontal line section 320, two of B coordinate points 316, two are surrounded on screen Rectangular enclosed region is as new manipulation display area.
Step 208, the horizontal seat for determining the new manipulation display area and the manipulation display area of the original pattern Mark scaling relationships and ordinate scaling relationships.
As shown in figure 3, the horizontal edge in the operation display area domain of original pattern is set as X by mobile terminal, vertical edge is set as Y, will be new The horizontal line section 320 of manipulation display area be set as X`, vertical edge is set as Y`;It is X`/X that abscissa scaling relationships, which are calculated, Ordinate scaling relationships are Y`/Y.
Step 209, by abscissa scaling relationships and ordinate scaling relationships, will be to display in memory Content corresponds to new manipulation display area from the manipulation display area of original pattern and is converted, and is presented on new manipulation later On display area.
As shown in figure 3, mobile terminal putting the lower left corner of new manipulation display area as new manipulation display area Coordinate origin 322, the point in the lower left corner of the manipulation display area of original pattern is shown as the manipulation of the original pattern The coordinate origin in region.
It, will be to display in memory by abscissa scaling relationships X`/X and ordinate scaling relationships Y`/Y Content corresponds to new manipulation display area from the manipulation display area of original pattern and is converted;By being shown after conversion Content be presented on new manipulation display area.
For example, the coordinate of some point in the manipulation display area memory of original pattern in content to display is (a, b), by abscissa scaling relationships X`/X and ordinate scaling relationships Y`/Y, conversion obtains aobvious in new manipulation Show that the coordinate of the point on region is (a*X`/X, b*Y`/Y).
Step 210 passes through abscissa scaling relationships and ordinate scaling relationships, it would be desirable to report the use of memory The manipulation display area that family operational motion corresponds to original pattern from new manipulation display area is converted, and is reported to later interior Deposit into row subsequent processing.
As shown in figure 3, mobile terminal shows the point in the lower left corner of new manipulation display area as the new manipulation The coordinate origin 322 in region, the manipulation by the point in the lower left corner of the manipulation display area of original pattern as the original pattern The coordinate origin of display area.
Secondly, the coordinate value of the touch point of user's operation is obtained in new manipulation display area.
Finally, according to abscissa scaling relationships X`/X, the horizontal seat in the manipulation display area of original pattern is obtained Scale value obtains the ordinate value in the manipulation display area of original pattern, will turn according to ordinate scaling relationships Y`/Y Abscissa value and ordinate value after change are reported to memory and carry out subsequent processing.
For example, it is (c, d) to obtain the coordinate of the touch point of user's operation in new manipulation display area, pass through abscissa Scaling relationships X`/X and ordinate scaling relationships Y`/Y, conversion is obtained should on the manipulation display area of original pattern The coordinate of touch point is (c*X/X`, d*Y/Y`), and is reported to memory and carries out subsequent processing.
The method of the manipulation display area provided in an embodiment of the present invention for redefining screen, mobile terminal are by judgement No is the operation for starting the manipulation display area for redefining screen, however, it is determined that needs to redefine the manipulation viewing area of screen Domain then obtains track continuously slipping on original pattern;Two endpoints for determining the continuously slipping track obtain The straight line that one coordinate and the second coordinate and first coordinate are linked to be with second coordinate;Judge whether the straight line meets The default judgment rule, if the straight line meets the default judgment rule, by described first on the original pattern The enclosed region that coordinate is surrounded to second coordinate is as new manipulation display area;Determine the new manipulation viewing area The abscissa scaling relationships and ordinate scaling relationships in domain and the manipulation display area of the original pattern;Pass through cross Coordinate scaling relationships and ordinate scaling relationships show content to display in memory from the manipulation of original pattern Show that region corresponds to new manipulation display area and converted, is presented on later on new manipulation display area, alternatively, passing through cross Coordinate scaling relationships and ordinate scaling relationships, it would be desirable to report the user's operation of memory to act aobvious from new manipulation Show that region corresponds to the manipulation display area of original pattern and converted, reports to memory later and carry out subsequent processing;It realizes Screen portions region can not show or touch screen portion region can not use in the case of, user can be allowed to redefine screen The manipulation display area of curtain, you can to specify display area according to the actual conditions of screen damage, avoid the part of damage, having It carries out, using operation, prolonging the service life to reach, capable of smoothly exporting user data, carry again in the available screen ranges of limit High user experience.
Fig. 4 is the structural schematic diagram of the device embodiment for the manipulation display area that the present invention redefines screen, such as Fig. 4 institutes Show, the device 04 that the present invention redefines the manipulation display area of screen includes:Acquisition module 41, determining module 42, processing mould Block 43;Wherein,
The acquisition module 41, for after determination needs to redefine the manipulation display area of screen, obtaining original Continuously slipping track on screen;
The determining module 42, two endpoints for determining the continuously slipping track, obtain the first coordinate and The straight line that second coordinate and first coordinate are linked to be with second coordinate;
The processing module 43, for when the straight line meets default judgment rule, by institute on the original pattern Enclosed region that the first coordinate is surrounded to second coordinate is stated as new manipulation display area.
Further, described device further includes:Judgment module 44;Wherein,
The judgment module 44, for judging whether the straight line meets the default judgment rule;Wherein, described default Judgment rule includes default angular range and preset length range;
The straight line meets the default judgment rule, including:
The angle on one side of the straight line and the original pattern belongs in default angular range and the length of the straight line Belong within the scope of preset length.
Further, the judgment module 44 is additionally operable to judge to start the behaviour for the manipulation display area for redefining screen Whether predetermined registration operation rule is met, if the operation for starting the manipulation display area for redefining screen meets described preset Operation rules, it is determined that need to redefine the manipulation display area of screen;
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume more than or equal to default The number of key;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, The number that fingerprint sensor is clicked in preset time period is more than or equal to the default number for clicking fingerprint sensor.
Further, the processing module 43 is additionally operable to determine the new manipulation display area and the original screen The abscissa scaling relationships and ordinate scaling relationships of the manipulation display area of curtain;
Described device further includes:
Module 45 is presented, being used for will be to be shown according to the abscissa scaling relationships and ordinate scaling relationships Picture is presented on the new manipulation display area.
Further, the processing module 43, the abscissa for being specifically used for calculating first coordinate are sat with described second First difference of target abscissa, and two identical horizontal line sections are obtained according to first difference;
The second difference of the ordinate of second coordinate and the ordinate of second coordinate is calculated, and according to described Two differences obtain two identical ordinate sections;
On the screen by first coordinate, the second coordinate, two identical horizontal line sections and two identical ordinates The closure square region that section is formed is as new manipulation display area.
The device of the present embodiment, can be used for executing it is above-mentioned shown in embodiment of the method technical solution, realization principle and Technique effect is similar, and details are not described herein again.
In practical applications, the acquisition module 41, determining module 42, processing module 43, judgment module 44, presentation module 45 can be by the central processing unit (Central in the device 04 of manipulation display area for redefining screen Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realizations.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of method for the manipulation display area redefining screen, which is characterized in that the method includes:
After determination needs to redefine the manipulation display area of screen, track continuously slipping on original pattern is obtained;
Two endpoints for determining the continuously slipping track, obtain the first coordinate and the second coordinate and first coordinate with The straight line that second coordinate is linked to be;
When the straight line meets default judgment rule, by first coordinate to second coordinate on the original pattern The enclosed region surrounded is as new manipulation display area.
2. according to the method described in claim 1, it is characterized in that, two ends for determining the continuously slipping track Point, after obtaining the first coordinate and the second coordinate and first coordinate and the straight line in the second coordinate institute Liancheng, the side Method further includes:
Judge whether the straight line meets the default judgment rule;Wherein, the default judgment rule includes default angle model It encloses and preset length range;
The straight line meets the default judgment rule, including:
The straight line and the angle on one side of the original pattern belong in default angular range and the length of the straight line belongs to Within the scope of preset length.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Judge whether the operation for starting the manipulation display area for redefining screen meets predetermined registration operation rule, if startup weight The operation of the new manipulation display area for defining screen meets the predetermined registration operation rule, it is determined that needs to redefine the behaviour of screen Control display area;
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume key more than or equal to default Number;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, default The number that fingerprint sensor is clicked in period is more than or equal to the default number for clicking fingerprint sensor.
4. according to the method described in claim 1, it is characterized in that, described arrive first coordinate on the original pattern After the enclosed region that second coordinate surrounds is as new manipulation display area, the method further includes:
Determine that the new manipulation display area and the abscissa scaling of the manipulation display area of the original pattern are closed System and ordinate scaling relationships;
By picture to be shown include described new according to the abscissa scaling relationships and ordinate scaling relationships It manipulates on display area.
5. method according to any one of claims 1 to 4, which is characterized in that described on the screen by described first The region that coordinate is surrounded to second coordinate as new manipulation display area, including:
The first difference of the abscissa of first coordinate and the abscissa of second coordinate is calculated, and poor according to described first It is worth to two identical horizontal line sections;
The second difference of the ordinate of second coordinate and the ordinate of second coordinate is calculated, and poor according to described second It is worth to two identical ordinate sections;
By first coordinate, the second coordinate, two identical horizontal line sections and two identical ordinates on the original pattern The closure square region that section is formed is as new manipulation display area.
6. a kind of device for the manipulation display area redefining screen, which is characterized in that described device includes:
Acquisition module, it is continuous on original pattern for after determination needs to redefine the manipulation display area of screen, obtaining The track of sliding;
Determining module, two endpoints for determining the continuously slipping track, obtain the first coordinate and the second coordinate and The straight line that first coordinate is linked to be with second coordinate;
Processing module, for when the straight line meets default judgment rule, by first coordinate on the original pattern The enclosed region surrounded to second coordinate is as new manipulation display area.
7. device according to claim 6, which is characterized in that described device further includes:
Judgment module, for judging whether the straight line meets the default judgment rule;Wherein, the default judgment rule packet Include default angular range and preset length range;
The straight line meets the default judgment rule, including:
The straight line and the angle on one side of the original pattern belong in default angular range and the length of the straight line belongs to Within the scope of preset length.
8. device according to claim 6, which is characterized in that the judgment module is additionally operable to judge to start to redefine Whether the operation of the manipulation display area of screen meets predetermined registration operation rule, if the manipulation that the startup redefines screen is shown The operation in region meets the predetermined registration operation rule, it is determined that needs to redefine the manipulation display area of screen;
The predetermined registration operation rule is:The number for clicking volume key within a preset period of time clicks volume key more than or equal to default Number;Or, the number for clicking power key within a preset period of time is more than or equal to the default number for clicking power key;Or, default The number that fingerprint sensor is clicked in period is more than or equal to the default number for clicking fingerprint sensor.
9. device according to claim 6, which is characterized in that the processing module is additionally operable to determine the new behaviour The abscissa scaling relationships and ordinate scaling for controlling display area and the manipulation display area of the original pattern are closed System;
Described device further includes:
Module is presented, for being in by picture to be shown according to the abscissa scaling relationships and ordinate scaling relationships On the present new manipulation display area.
10. according to claim 6 to 9 any one of them device, which is characterized in that the processing module is specifically used for calculating First difference of the abscissa of first coordinate and the abscissa of second coordinate, and obtain two according to first difference The identical horizontal line section of item;
The second difference of the ordinate of second coordinate and the ordinate of second coordinate is calculated, and poor according to described second It is worth to two identical ordinate sections;
On the screen by first coordinate, the second coordinate, two identical horizontal line sections and two identical ordinate section institutes The closure square region of composition is as new manipulation display area.
CN201710114095.3A 2017-02-28 2017-02-28 Redefine the method and device of the manipulation display area of screen Pending CN108509137A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710114095.3A CN108509137A (en) 2017-02-28 2017-02-28 Redefine the method and device of the manipulation display area of screen
PCT/CN2017/118072 WO2018157655A1 (en) 2017-02-28 2017-12-22 Method and device for redefining control display area of screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710114095.3A CN108509137A (en) 2017-02-28 2017-02-28 Redefine the method and device of the manipulation display area of screen

Publications (1)

Publication Number Publication Date
CN108509137A true CN108509137A (en) 2018-09-07

Family

ID=63371273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710114095.3A Pending CN108509137A (en) 2017-02-28 2017-02-28 Redefine the method and device of the manipulation display area of screen

Country Status (2)

Country Link
CN (1) CN108509137A (en)
WO (1) WO2018157655A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362283A (en) * 2018-12-20 2019-10-22 深圳市雷迪奥视觉技术有限公司 A kind of the fast construction method and terminal of multiple controller control screens
CN112788859A (en) * 2021-01-21 2021-05-11 上海望友信息科技有限公司 Shielding frame steel mesh opening method and device, electronic equipment and storage medium
CN113821129A (en) * 2020-06-19 2021-12-21 华为技术有限公司 Display window control method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015100750A1 (en) * 2014-01-06 2015-07-09 华为终端有限公司 Display control method and device
CN105260115A (en) * 2015-09-23 2016-01-20 小米科技有限责任公司 Method and device for realizing single-hand mode, and intelligent terminal
CN105589651A (en) * 2015-11-19 2016-05-18 深圳市金立通信设备有限公司 Interface adjustment method and terminal
CN105867715A (en) * 2015-10-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Interface display processing method and apparatus as well as terminal device
CN105867800A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Display region adjustment method and apparatus
CN105955646A (en) * 2016-04-25 2016-09-21 维沃移动通信有限公司 Content processing method and intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984492A (en) * 2013-02-07 2014-08-13 高德软件有限公司 Method and device for scaling display picture of mobile terminal and mobile terminal
CN103914228B (en) * 2014-03-31 2017-11-07 深圳天珑无线科技有限公司 A kind of operating method of mobile terminal and its touch-screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015100750A1 (en) * 2014-01-06 2015-07-09 华为终端有限公司 Display control method and device
CN105260115A (en) * 2015-09-23 2016-01-20 小米科技有限责任公司 Method and device for realizing single-hand mode, and intelligent terminal
CN105867715A (en) * 2015-10-30 2016-08-17 乐视移动智能信息技术(北京)有限公司 Interface display processing method and apparatus as well as terminal device
CN105589651A (en) * 2015-11-19 2016-05-18 深圳市金立通信设备有限公司 Interface adjustment method and terminal
CN105867800A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Display region adjustment method and apparatus
CN105955646A (en) * 2016-04-25 2016-09-21 维沃移动通信有限公司 Content processing method and intelligent terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362283A (en) * 2018-12-20 2019-10-22 深圳市雷迪奥视觉技术有限公司 A kind of the fast construction method and terminal of multiple controller control screens
CN113821129A (en) * 2020-06-19 2021-12-21 华为技术有限公司 Display window control method and electronic equipment
CN112788859A (en) * 2021-01-21 2021-05-11 上海望友信息科技有限公司 Shielding frame steel mesh opening method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018157655A1 (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN103488413B (en) Touch control device and show control method and the device at 3D interface on touch control device
JP2018190443A (en) Friction modulation for three-dimensional relief in haptic device
JP6479148B2 (en) Enhanced dynamic haptic effect
CN103985137B (en) It is applied to the moving body track method and system of man-machine interaction
CN102446032B (en) Information input method and terminal based on camera
CN102541537B (en) Method and device for realizing menu container controls with surrounding effect
CN109003224A (en) Strain image generation method and device based on face
CN108509137A (en) Redefine the method and device of the manipulation display area of screen
CN105653071A (en) Information processing method and electronic device
CN102902458A (en) Page turning method for E-books
CN104516638A (en) Volume control method and device
CN103543922B (en) A kind of focus mobility method, system and smart machine
JP2018142313A (en) System and method for touch of virtual feeling
CN104898880A (en) Control method and electronic equipment
CN108776544A (en) Exchange method and device, storage medium, electronic equipment in augmented reality
CN104899361A (en) Remote control method and apparatus
CN103914305B (en) The method and system of application are freely controlled on a kind of mobile terminal
CN105824534B (en) A kind of information processing method and electronic equipment
CN104142730A (en) Method for mapping gesture tracking results to mouse events
WO2023232014A1 (en) Image processing method and apparatus, and electronic device and storage medium
CN106293485B (en) A kind of terminal control method and device based on touch track
CN108513090A (en) The method and device of group's video session
CN107426412A (en) Information processing method and device, storage medium, electronic equipment
CN104615342B (en) A kind of information processing method and electronic equipment
CN107291344A (en) A kind of method of content selection, device and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180907

RJ01 Rejection of invention patent application after publication