CN105892858B - A kind of display object aligning method and electronic equipment - Google Patents

A kind of display object aligning method and electronic equipment Download PDF

Info

Publication number
CN105892858B
CN105892858B CN201610197554.4A CN201610197554A CN105892858B CN 105892858 B CN105892858 B CN 105892858B CN 201610197554 A CN201610197554 A CN 201610197554A CN 105892858 B CN105892858 B CN 105892858B
Authority
CN
China
Prior art keywords
line
target
electronic equipment
mark line
moving direction
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
CN201610197554.4A
Other languages
Chinese (zh)
Other versions
CN105892858A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610197554.4A priority Critical patent/CN105892858B/en
Publication of CN105892858A publication Critical patent/CN105892858A/en
Application granted granted Critical
Publication of CN105892858B publication Critical patent/CN105892858B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of display object aligning method and electronic equipment, this method comprises: responding the bending in the case where detecting that the electronic equipment receives bending operation and operating;Determine at least one mark line corresponding with the bending operation, the mark line is the line segment being connected with any both sides of the electronic equipment display screen;The target on the electronic equipment display screen, which is arranged, based on the mark line shows object.In this method, the trigger action of display object is adjusted to bend operation triggering as triggering, in response bending operation, during realizing electronic equipment bending, determine mark line corresponding with bending operation, and the benchmark that object is shown using mark line as arrangement target shows that object arranges to target, to realize the purpose of easy quickly arrangement display object.

Description

A kind of display object aligning method and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of display object aligning method and electronics Equipment.
Background technique
With popularizing for large-size screen monitors electronic equipment, shown object is more and more on the display interface of electronic equipment, such as each Kind wicket, various application icons.In practical applications, user, which has, arranges object shown on display interface Demand.
In the prior art, user, which can adopt, manually arranges object shown on desktop, such as passes through Mobile object one by one is arranged multiple objects according to self-demand with realizing to destination region.
But the mode of above-mentioned manual alignment has cumbersome, needing one kind at present being capable of easy quickly arrangement display pair The method of elephant.
Summary of the invention
In view of this, the present invention provides a kind of display object aligning method and electronic equipment, to solve to grasp in the prior art Make cumbersome problem.
To achieve the above object, the invention provides the following technical scheme:
A kind of display object aligning method, be applied to can deformation electronic equipment, this method comprises:
In the case where detecting that the electronic equipment receives bending operation, the bending operation is responded;
Determine that at least one mark line corresponding with the bending operation, the mark line are to show with the electronic equipment The connected line segment in any both sides of screen;
The target on the electronic equipment display screen, which is arranged, based on the mark line shows object.
The above method, it is preferred that the determination at least one mark line corresponding with the bending operation includes:
Determine that the bending operates at least one corresponding deformation position;
Determine that the folding line at each deformation position is that the bending operates corresponding at least one mark line;
Or;
Determine that the bending operates at least one corresponding deformation position;
Show on the display screen respectively with the one-to-one virtual tag of each deformation position;
Determine that the virtual tag is that the bending operates corresponding mark line.
The above method, it is preferred that described target on the electronic equipment display screen is arranged based on the mark line to show Object includes:
Determine that the target shows the moving direction of object;
It is aligned according to the mobile target display object of the moving direction with the mark line or separate.
The above method, it is preferred that the determination target shows that the moving direction of object includes:
When it is horizontal for detecting the mark line, determine that the target shows that the moving direction of object is gravity direction.
The above method, it is preferred that described according to institute when the mark line is N line segment, and N is the integer more than or equal to 1 The mobile target display image of moving direction is stated to be aligned with the mark line or separate include:
When it is horizontal for detecting certain mark line, it is determined as target label line, and determination is corresponding with the target label line Target area;
The target in the target area is moved along gravity direction and shows object, until being aligned with the target label line;
The target area includes:
When there is adjacent marker line that is adjacent with the target label line and being located on the target label line, determine Region between the adjacent marker line and the target label line is target area;
When the adjacent marker line is not present, determine that the target label line and electronic equipment display screen frame are constituted , the region on the target label line is target area.
The above method, it is preferred that the determination target shows that the moving direction of object includes:
When the touch screen of the electronic equipment receives touch control operation, the sliding trace of the touch control operation is determined;
Determine that the touch sliding trace is the moving direction.
The above method, it is preferred that described according to institute when the mark line is N line segment, and N is the integer more than or equal to 1 It states the mobile target of moving direction and shows that object is aligned with the mark line or separate includes:
Determine the multiple regions that the electronic equipment display screen is divided by the mark line;
Determine the glide direction of sliding trace in each region;
Object is moved according to the corresponding moving direction in the region to be shown to the target in each region, in the region It is interior to be aligned with the mark line or separate.
A kind of electronic equipment, comprising: display screen, processor and the memory coupled with the processor;Wherein,
The display screen is for showing display object;
The processor is used for, and in the case where detecting that the electronic equipment receives bending operation, is responded described curved Folding operation determines that at least one mark line corresponding with the bending operation, the mark line are to show with the electronic equipment The connected line segment in any both sides of screen arranges the target on the electronic equipment display screen based on the mark line and shows object.
Above-mentioned electronic equipment, it is preferred that in terms of determining at least one mark line corresponding with the bending operation, institute Processor is stated to be used for,
Determine that the bending operates at least one corresponding deformation position;Determine that the folding line at each deformation position is described Bending operates corresponding at least one mark line;
Or;
Determine that the bending operates at least one corresponding deformation position;Show on the display screen respectively with each shape One-to-one virtual tag is set in displacement;Determine that the virtual tag is that the bending operates corresponding mark line.
Above-mentioned electronic equipment, it is preferred that in the mesh arranged based on the mark line on the electronic equipment display screen In terms of mark display object, the processor is used for,
Determine that the target shows the moving direction of object;According to the mobile target of the moving direction show object with The mark line alignment or separate.
Above-mentioned electronic equipment, it is preferred that in terms of the determination target shows the moving direction of object, the place Reason device is used for,
When it is horizontal for detecting the mark line, determine that the target shows that the moving direction of object is gravity direction.
Above-mentioned electronic equipment, it is preferred that in terms of the determination target shows the moving direction of object, the place Reason device is used for,
When the touch screen of the electronic equipment receives touch control operation, the sliding trace of the touch control operation is determined;Really The fixed touch sliding trace is the moving direction.
It can be seen via above technical scheme that compared with prior art, the present disclosure provides a kind of display object rows Column method in this method, to bend the trigger action for operating triggering as triggering adjustment display object, is operated in response bending, During realizing electronic equipment bending, mark line corresponding with bending operation is determined, and using mark line as arrangement mesh The benchmark of mark display object shows that object arranges to target, to realize the purpose of easy quickly arrangement display object.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for showing object aligning method disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of another display object aligning method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of another display object aligning method disclosed in the embodiment of the present application;
Fig. 4 is a kind of display object arrangement schematic diagram disclosed in the embodiment of the present application;
Fig. 5 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Fig. 6 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Fig. 7 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Fig. 8 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Fig. 9 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 10 is the flow chart of another display object aligning method disclosed in the embodiment of the present application;
Figure 11 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 12 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 13 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 14 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 15 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 16 is that another display object disclosed in the embodiment of the present application arranges schematic diagram;
Figure 17 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
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 description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of display object aligning method, be applied to can deformation electronic equipment, using can shape The technical foundation that bending operates and responds bending operation can be received by becoming electronic equipment, obtain label corresponding with bending operation Line shows object using the target on mark line arrangement electronic equipment display screen, and without other operations, electronic equipment can be voluntarily The arrangement to display object is completed, to realize the purpose of easy quickly arrangement display object.
In the following, being carried out from the angle of multiple embodiments to display object aligning method disclosed in the present application detailed It illustrates.
Fig. 1 show a kind of flow chart for showing object aligning method disclosed in the embodiment of the present application, comprising:
Step S101: in the case where detecting that the electronic equipment receives bending operation, the bending operation is responded;
The processor of electronic equipment judges that electronic equipment is curved by user by the way that sensor on an electronic device is arranged It in the case where folding, determines that electronic equipment receives bending operation, then, responds bending operation, electronic equipment occurs accordingly Bending.
Step S102: determine that at least one mark line corresponding with the bending operation, the mark line are and the electricity The connected line segment in any both sides of sub- device display screen;
Under normal conditions, after electronic equipment bending, the position that deformation occurs has a line segment, not according to bending operation Together, the both ends of the line segment are connected with any both sides of electronic equipment display screen, if electronic equipment has been bent repeatedly, each Position is different, and there will be a plurality of such line segments, is bent with mark in which position.
Step S103: the arrangement that the target on the electronic equipment display screen shows object is adjusted based on the mark line.
After mark line has been determined, begins to show that object arranges to target, during arrangement, be with mark line Foundation realizes that target shows the arrangement operation of object according to preset arrangement mode.
Target shows that object can be all display objects on the display screen of electronic equipment, including file, using journey Sequence mark, wicket etc..As long as monitoring receives bending operation, the corresponding process for executing display object arrangement.
Target shows that object is also possible to the previously selected some display objects of user.For example, user is a certain by long-pressing The mode of application program identification, into display object editing mode, each display object shows the state that can be selected, user According to their own needs, the corresponding display object of selection shows object as target.Then, electronic equipment, electronic equipment are bent In the case where receiving bending operation, then the above process is executed, realizes the arrangement for showing object to target.
In the above-described embodiments, since bending operation can bring about the deformation of equipment in itself, it will necessarily exist accordingly There is a folding line in the position of deformation, even if the bending degree of different location is different, still, each position necessarily has bending journey Maximum point is spent, and these points connect, and necessarily have the folding line appearance through entire electronic equipment display screen, regardless of the folding Whether trace is straight line, still includes the line segment of straight line and curve, this folding line will necessarily be any with electronic equipment display screen Both sides are connected, therefore can operate corresponding mark line for the folding line as bending, when arranging target display object, with the mark Remember line as benchmark.The folding line is the trace of physical presence, the content that not display screen is shown.
At the same time it can also be that bending operates corresponding deformation position and generates a mark line, the mark line with dotted line or The form of solid line shows on a display screen, can be completely the same with actual folding line trace, had both included straight line or includes Actual folding line can also be modified by curve, become smooth a straight line or curve.
As can be seen that can be corrected to a certain extent when mark line is the line segment corresponding with folding line that display screen goes out Folding line is more advantageous to so that mark line becomes a smooth line segment and shows object using mark line arrangement target.
Further, in the present embodiment, the target on the electronic equipment display screen is arranged based on the mark line to show Show that the process of object is as shown in Figure 2, comprising:
Step S201: determine that the target shows the moving direction of object;
Step S202: it is aligned according to the mobile target display object of the moving direction with the mark line or separate.
When showing object based on the target on mark line arrangement electronic equipment display screen, it is necessary first to determine that target is shown The moving direction of object clearly will show object towards the mobile target in which direction.Then mobile to be somebody's turn to do according to the moving direction Target shows object, is aligned it along the mark line, alternatively, far from the mark line, alternatively, being arranged in the mark line Two sides.Specific arrangement mode is different according to different settings.
In the present embodiment, determine that target shows that the moving direction of object can be there are many mode.For example, can use weight Force snesor, by target show object moving direction be determined as gravity direction, can also by detect user touch control operation, Moving direction is determined according to sliding trace is touched, alternatively, the operation of monitoring user's whipping electronic equipment, then determines whipping direction For moving direction etc..
It is aobvious according to the mobile target of the moving direction when using gravity sensor using gravity direction as moving direction Diagram picture is aligned with the mark line or separate process is as shown in Figure 3, comprising:
Step S301: when it is horizontal for detecting certain mark line, it is determined as target label line, and the determining and target mark Remember the corresponding target area of line;
In the present embodiment, mark line can be N line segment, and N is the integer more than or equal to 1, that is, can be only 1 Mark line can also have a plurality of parallel or not parallel line segment.Because operations described below is using each mark line as object Come what is described, therefore, either a plurality of mark line or 1 mark line are all the same for the processing mode of every mark line.
Target area in the present embodiment includes:
When there is adjacent marker line that is adjacent with the target label line and being located on the target label line, determine Region between the adjacent marker line and the target label line is target area;
When the adjacent marker line is not present, determine that the target label line and electronic equipment display screen frame are constituted , the region on the target label line is target area.
When there is a plurality of mark line, when electronic equipment is in a certain state, some mark lines are level, and some mark lines can It can not be horizontal.Therefore, as long as detecting the mark line being in a horizontal state, it can target label line is determined it as, and Determine its corresponding target area.
As shown in figure 4, wherein including the mark line L1 and L2 being parallel to each other, and the mark line not parallel with L1 and L2 L3.The placement state of electronic equipment as shown in the figure is set at this point, the corresponding target area mark line L1 is A1 by L1 and electronics The frame of standby display screen forms, and the corresponding target area mark line L2 is A2, is made of the region between L1 and L2, the target of L3 Region is A3, is made of the region between L2 and L3.In the present embodiment, " be located at the target label line on " and " position The description in the region on the target label line ", embody be in the case where electronic equipment is in a certain stationary state, it is adjacent Mark line, the spatial relationship between target area and mark line.The corresponding target area of each mark line, according to actual electronics The state of equipment and change, if by electronic equipment adjust 180 °, the corresponding target area of every mark line occurs Variation, is divided according to above-mentioned definition again.
Step S302: moving the target in the target area along gravity direction and show object, until with the target mark Remember line alignment or in the target area it is separate.
Assuming that as shown in Figure 4, at this point, L1 and L2 is in horizontality, then at this point, moving in A1 and A2 along gravity direction Target show object, the target in the present embodiment shows that object is whole display object, is aligned it respectively with L1 or L2. And the target in the region A3 shows that object remains unchanged, as shown in Figure 5.
If the angle of adjustment electronic equipment, it is adjusted to L3 level, as shown in fig. 6, then at this point, mesh in the region A1 and A2 Mark display object is constant, moves the target in the region A3 along gravity direction and shows object, to make it be aligned with L3, such as Fig. 7 institute Show.
Above-mentioned two figure combines, it can be seen that when user performs multiple bendings operation to an electronic equipment, no It whether parallel manages the corresponding mark line of each bending operation, can make each mark line by adjusting the angle of electronic equipment Horizontality is respectively reached, then the corresponding target arranged in its corresponding target area shows object, to realize easy to be fast The purpose of display object arrangement is realized in victory.
Certainly, the application does not limit target area and can only be determined through the above way, equally can be with are as follows:
When there is adjacent marker line that is adjacent with the target label line and being located under the target label line, determine Region between the adjacent marker line and the target label line is target area;
When the adjacent marker line is not present, determine that the target label line and electronic equipment display screen frame are constituted , the region under the target label line is target area.
According to such setting means, when a certain mark line level, the target in gravity direction moving object region is aobvious Show that object then becomes, far from the target label line in target area.As shown in figure 8, mark line be L1 ', L2 ' and L3 ', L1 ', L2 ' are parallel.Then the corresponding target area L1 ' is the A1 ' that L1 ' and L2 ' are formed, the corresponding target area L2 ' be L2 ' and The A2 ' of L3 ' composition, the corresponding target area L3 ' are the A3 ' that L3 ' and display screen frame form.Its effect such as Fig. 9 after arranging It is shown.Target in 3 regions shows object far from the corresponding mark line in the target area.
Except it is above-mentioned by gravity determine moving direction in the way of in addition to, can also by detect user touch control operation, according to It touches sliding trace and determines moving direction, alternatively, the operation of detection user's whipping electronic equipment, then determines that whipping direction is to move Dynamic direction etc..Have by way of detecting the operation of touch control operation and detection user's whipping electronic equipment of user similar Place is all to directly obtain moving direction depending on the user's operation, and application scenarios are compared with the side for determining moving direction using gravity Method is compared, and more extensively, is not limited to whether mark line is in horizontality.
Here, being described in detail for determining moving direction according to touch sliding trace.Detailed process includes: When the touch screen of the electronic equipment receives touch control operation, the sliding trace of the touch control operation is determined;Determine the touching Touching sliding trace is the moving direction.
Show that object is aligned with the mark line or separate process is as schemed according to the mobile target of the moving direction Shown in 10, comprising:
Step S1001: the multiple regions that the electronic equipment display screen is divided by the mark line are determined;
In the present embodiment, mark line is similarly N line segment, and N is the integer more than or equal to 1.Because operations described below be with What each mark line was described as object, therefore, either a plurality of mark line or 1 mark line, for every mark line Processing mode it is all the same.
As shown in figure 11, include 3 mark lines, wherein include the mark line L1 and L2 being parallel to each other, and with L1 and L2 not parallel mark line L3.The region of division is 4, A1, A2, A3 and A4.
Step S1002: the glide direction of sliding trace in each region is determined.
Step S1003: showing that object is moved according to the corresponding moving direction in the region to the target in each region, It is aligned in the region with the mark line or separate.
As shown in Figure 11, the glide direction of finger is by left-to-right, then the glide direction corresponded in each region is equal For by left-to-right, the effect after alignment is as shown in figure 12.If as shown in Figure 13, while there are two fingers to carry out touch-control behaviour Make, then correspond to each region A1 and A2 be by left-to-right, and in the region A3 and A4 in for by right to left.Effect after alignment is as schemed Shown in 14.Its result may be to be aligned with mark line, it is also possible to it is separate with mark line, and for mark line L2, A2 and Target in the region A3 shows that object is aligned in its two sides respectively.
Again or as shown in figure 15, at four angles of electronic equipment display screen, there is a mark line, then can distinguish needle Touch control operation is executed to every mark line, as shown in Figure 15.It, can be according to above-mentioned reality for the region A1, A2, A3 and A4 The mode in example is applied, determines then the direction in each region arranges target and shows object respectively.But for A5, due to each touching The region is all passed through in control operation, therefore the region may correspond to four direction, faced with this situation, although energy in the manner described above Enough realize shows that the alignment of object still can also have further promotion in display effect to target.
For example, the vertical range that each target in the region A5 shows each mark line of object distance can be calculated separately, it will Then the corresponding moving direction of target label line is determined as itself as target label line by the nearest mark line of vertical range Moving direction, moved, and be aligned with the target label line.Its effect is as shown in figure 16.
In above-described embodiment, by taking a plurality of mark line as an example, the aligning method that plurality of target shows object, the application are described Embodiment is not limited to the arrangement mode in only above-described embodiment, all modes with the core of the invention unity of thinking, It is all the range of the embodiment of the present application protection.
In addition, the embodiment of the present application is by taking a plurality of mark line as an example, but a plurality of mark line must be had by not limiting.Only one The specific implementation process of mark line can with reference in a plurality of mark line in above-described embodiment any one processing mode and Treatment effect.
In the disclosed display object aligning method of the embodiment of the present application, corresponding mark line is operated according to bending, it is automatic to arrange Column target shows object, without other operations, enormously simplifies existing alignment step, also, its implementation multiplicity, can Meet the needs of various scenes, greatly improves user experience.
Corresponding with embodiment of the method, the embodiment of the present invention also provides a kind of electronic equipment, which is can deformation Electronic equipment.A kind of structural schematic diagram of electronic equipment provided in an embodiment of the present invention is as shown in figure 17, may include:
Display screen 1701, processor 1702 and the memory 1703 coupled with the processor;Wherein,
The display screen 1701 is for showing display object;Display object may include file, application program identification, small Window etc..
The processor 1702 is used for, and in the case where detecting that the electronic equipment receives bending operation, responds institute Bending operation is stated, determines that at least one mark line corresponding with the bending operation, the mark line are and the electronic equipment The connected line segment in any both sides of display screen arranges the target on the electronic equipment display screen based on the mark line and shows pair As.
Memory 1703 is for storing the data generated in 1702 operational process of program and processor.Processor 1702 is logical It crosses the program stored in run memory 1703 and realizes above-mentioned function.
Electronic equipment disclosed in the embodiment of the present application be deformable electronic equipment, using can deformation electronic equipment can receive Bending operates and responds the technical foundation of bending operation, by obtaining mark line corresponding with bending operation, is arranged using mark line Target on column electronic equipment display screen shows object, and without other operations, electronic equipment can be completed voluntarily to display object Arrangement, to realize the purpose of easy quickly arrangement display object.
Optionally, in terms of determining at least one mark line corresponding with the bending operation, the processor 1702 For determining that the bending operates at least one corresponding deformation position;Determine that the folding line at each deformation position is described curved Folding operates corresponding at least one mark line;
Or;
Determine that the bending operates at least one corresponding deformation position;Show on the display screen respectively with each shape One-to-one virtual tag is set in displacement;Determine that the virtual tag is that the bending operates corresponding mark line.
In the above-described embodiments, since bending operation can bring about the deformation of equipment in itself, it will necessarily exist accordingly There is a folding line in the position of deformation, even if the bending degree of different location is different, still, each position necessarily has bending journey Maximum point is spent, and these points connect, and necessarily have the folding line appearance through entire electronic equipment display screen, regardless of the folding Whether trace is straight line, still includes the line segment of straight line and curve, this folding line will necessarily be any with electronic equipment display screen Both sides are connected, therefore can operate corresponding mark line for the folding line as bending, when arranging target display object, with the mark Remember line as benchmark.The folding line is the trace of physical presence, the content that not display screen is shown.
At the same time it can also be that bending operates corresponding deformation position and generates a mark line, the mark line with dotted line or The form of solid line shows on a display screen, can be completely the same with actual folding line trace, had both included straight line or includes Actual folding line can also be modified by curve, become smooth a straight line or curve.
When mark line is the line segment corresponding with folding line that display screen goes out, folding line can be corrected to a certain extent, so that Mark line becomes a smooth line segment, is more advantageous to and shows object using mark line arrangement target.
Optionally, the display object side of target on the electronic equipment display screen is arranged based on the mark line described Face, the processor 1702 are used for, and determine that the target shows the moving direction of object;According to described in moving direction movement Target shows that object is aligned or separate with the mark line.
When showing object based on the target on mark line arrangement electronic equipment display screen, it is necessary first to determine that target is shown The moving direction of object clearly will show object towards the mobile target in which direction.Then mobile to be somebody's turn to do according to the moving direction Target shows object, is aligned it along the mark line, alternatively, far from the mark line, alternatively, being arranged in the mark line Two sides.Specific arrangement mode is different according to different settings.
Optionally, in terms of the determination target shows the moving direction of object, the processor 1702 is used for, When it is horizontal for detecting the mark line, determine that the target shows that the moving direction of object is gravity direction.
In this way, when the mark line is N line segment, and N is the integer more than or equal to 1, according to the shifting The dynamic mobile target display image in direction is aligned with the mark line or separate aspect, the processor 1702 are used for, In When detecting that certain mark line is horizontal, it is determined as target label line, and determine target area corresponding with the target label line; The target in the target area is moved along gravity direction and shows object, until being aligned with the target label line.
In the present embodiment, target area includes: and works as to exist adjacent with the target label line and be located at the target mark When remembering the adjacent marker line on line, determine that the region between the adjacent marker line and the target label line is target area Domain;When the adjacent marker line is not present, determines what the target label line and electronic equipment display screen frame were constituted, be located at Region on the target label line is target area.
Alternatively, in terms of the determination target shows the moving direction of object, the processor 1702 is used In determining the sliding trace of the touch control operation when the touch screen of the electronic equipment receives touch control operation;Described in determination Touch sliding trace is the moving direction.
In this way, when the mark line is N line segment, and N is the integer more than or equal to 1, according to the shifting The dynamic mobile target in direction shows that object is aligned with the mark line or far from aspect, processor 1702 is used for: described in determining The multiple regions that electronic equipment display screen is divided by the mark line;Determine the glide direction of sliding trace in each region; Object, which is moved according to the corresponding moving direction in the region, to be shown to the target in each region, in the region with it is described Mark line alignment or separate.
Alternatively, in terms of the determination target shows the moving direction of object, the processor 1702 is used In the operation of monitoring user's whipping electronic equipment is operated according to the whipping, determines that whipping direction is moving direction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the electronics of foregoing description The specific work process of equipment, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of display object aligning method, which is characterized in that be applied to can deformation electronic equipment, this method comprises:
In the case where detecting that the electronic equipment receives bending operation, the bending operation is responded;
Determine that at least one mark line corresponding with the bending operation, the mark line are and the electronic equipment display screen The connected line segment in any both sides;
Determine that the target on the electronic equipment display screen shows the moving direction of object, comprising: in the touching of the electronic equipment When touching screen and receiving touch control operation, the sliding trace of the touch control operation is determined;Determine that the sliding trace is the movement side To;
The target, which is arranged, based on the mark line and the moving direction shows object.
2. the method according to claim 1, wherein the determination and the bending operation corresponding at least one Mark line includes:
Determine that the bending operates at least one corresponding deformation position;
Determine that the folding line at each deformation position is that the bending operates corresponding at least one mark line;
Or;
Determine that the bending operates at least one corresponding deformation position;
Show on the display screen respectively with the one-to-one virtual tag of each deformation position;
Determine that the virtual tag is that the bending operates corresponding mark line.
3. according to the method described in claim 2, it is characterized in that, described arranged based on the mark line and the moving direction The target shows that object includes:
It is aligned according to the mobile target display object of the moving direction with the mark line or separate.
4. according to the method described in claim 3, it is characterized in that, the target on the determination electronic equipment display screen is aobvious The moving direction for showing object includes:
When it is horizontal for detecting the mark line, determine that the target shows the moving direction of object;The moving direction is Gravity direction.
5. according to the method described in claim 4, it is characterized in that, when the mark line is N line segment, N is more than or equal to 1 It is described to show that object is aligned with the mark line or separate includes: according to the mobile target of the moving direction when integer
When it is horizontal for detecting certain mark line, it is determined as target label line, and determine mesh corresponding with the target label line Mark region;
The target in the target area is moved along gravity direction and shows object, until being aligned with the target label line;
The target area includes:
When the adjacent marker line that presence is adjacent with the target label line and is located on the target label line, described in determination Region between adjacent marker line and the target label line is target area;
When the adjacent marker line is not present, determine what the target label line and electronic equipment display screen frame were constituted, position Region on the target label line is target area.
6. according to the method described in claim 3, it is characterized in that, when the mark line is N line segment, N is more than or equal to 1 It is described to show that object is aligned with the mark line or separate includes: according to the mobile target of the moving direction when integer
Determine the multiple regions that the electronic equipment display screen is divided by the mark line;
Determine the glide direction of sliding trace in each region;
Object, which is moved according to the corresponding moving direction in the region, to be shown to the target in each region, in the region with The mark line alignment or separate.
7. a kind of electronic equipment characterized by comprising display screen, processor and the memory coupled with the processor;Its In,
The display screen is for showing display object;
The processor is used for, and in the case where detecting that the electronic equipment receives bending operation, responds the bending behaviour Make, determines that at least one mark line corresponding with the bending operation, the mark line are and the electronic equipment display screen The connected line segment in any both sides determines that the target on the electronic equipment display screen shows the moving direction of object;Based on described Mark line and the moving direction arrange the target and show object;
In terms of the moving direction that the target on the determination electronic equipment display screen shows object, the processor is used In determining the sliding trace of the touch control operation when the touch screen of the electronic equipment receives touch control operation;Described in determination Sliding trace is the moving direction.
8. electronic equipment according to claim 7, which is characterized in that in determination and the bending operation corresponding at least one The aspect of mark line, the processor are used for,
Determine that the bending operates at least one corresponding deformation position;Determine that the folding line at each deformation position is the bending Operate corresponding at least one mark line;
Or;
Determine that the bending operates at least one corresponding deformation position;Show on the display screen respectively with each deformation position Set one-to-one virtual tag;Determine that the virtual tag is that the bending operates corresponding mark line.
9. electronic equipment according to claim 8, which is characterized in that be based on the mark line and the movement side described In terms of arranging the target and showing object, the processor is used for,
It is aligned according to the mobile target display object of the moving direction with the mark line or separate.
10. electronic equipment according to claim 9, which is characterized in that on the determination electronic equipment display screen Target show object moving direction aspect, the processor is used for,
When it is horizontal for detecting the mark line, determine that the target shows the moving direction of object;The moving direction is Gravity direction.
CN201610197554.4A 2016-03-31 2016-03-31 A kind of display object aligning method and electronic equipment Active CN105892858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610197554.4A CN105892858B (en) 2016-03-31 2016-03-31 A kind of display object aligning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610197554.4A CN105892858B (en) 2016-03-31 2016-03-31 A kind of display object aligning method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105892858A CN105892858A (en) 2016-08-24
CN105892858B true CN105892858B (en) 2019-10-29

Family

ID=57011820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610197554.4A Active CN105892858B (en) 2016-03-31 2016-03-31 A kind of display object aligning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105892858B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632895B (en) * 2017-08-31 2020-04-17 维沃移动通信有限公司 Information sharing method and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105897A (en) * 2011-11-14 2013-05-15 索尼公司 Information processing device
CN103297605A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101943435B1 (en) * 2012-04-08 2019-04-17 삼성전자주식회사 Flexible display apparatus and operating method thereof
KR101948665B1 (en) * 2012-08-23 2019-02-18 삼성전자주식회사 Flexible apparatus and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105897A (en) * 2011-11-14 2013-05-15 索尼公司 Information processing device
CN103297605A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and electronic equipment

Also Published As

Publication number Publication date
CN105892858A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
EP3350679B1 (en) Electronic device and method for processing gesture thereof
EP2482179B1 (en) Apparatus and method for controlling screen display in touch screen terminal
EP2837992B1 (en) User interface interaction method and apparatus applied in touchscreen device, and touchscreen device
JP5687691B2 (en) Method and apparatus for displaying a cascading menu
CN103258491A (en) Method for controlling electronic equipment and electronic equipment
CN104166553B (en) A kind of display methods and electronic equipment
RU2613739C2 (en) Method, device and terminal device for apis movement control
CN103620526A (en) Gesture-controlled technique to expand interaction radius in computer vision applications
JP6171643B2 (en) Gesture input device
JP2015041271A5 (en)
KR101372122B1 (en) Method and apparatus for correcting gesture on touch screen based on vector
US20160334975A1 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
CN105302515B (en) A kind of information processing method and electronic equipment
JP2011034216A (en) Selection object decision method, decision method for anteroposterior relation of object, and apparatus therefor
TW201243672A (en) Mobile phone with pointer and control pointer method thereof
KR20130126430A (en) Method and apparatus for providing multi windows
JP5950275B2 (en) Method for setting a vibration part in one or a plurality of electronic data that can be displayed on a display device, and the device and computer program
CN105892858B (en) A kind of display object aligning method and electronic equipment
US20150058797A1 (en) Window expansion method and associated electronic device
KR101060175B1 (en) Method for controlling touch screen, recording medium for the same, and method for controlling cloud computing
CN106484207A (en) A kind of touch control device interface Zoom method and device
CN105760077A (en) Game control method and device
JP6087608B2 (en) Portable device, method and program for controlling portable device
JP6411067B2 (en) Information processing apparatus and input method
KR101682162B1 (en) Method, device and computer readable recording medium for drawing technique based on multi-touch and information recognition using the same

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