CN103713747A - Method for processing information and electronic equipment - Google Patents

Method for processing information and electronic equipment Download PDF

Info

Publication number
CN103713747A
CN103713747A CN201210375472.6A CN201210375472A CN103713747A CN 103713747 A CN103713747 A CN 103713747A CN 201210375472 A CN201210375472 A CN 201210375472A CN 103713747 A CN103713747 A CN 103713747A
Authority
CN
China
Prior art keywords
equal portions
deformation quantity
electronic equipment
radius
outer ring
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.)
Granted
Application number
CN201210375472.6A
Other languages
Chinese (zh)
Other versions
CN103713747B (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 CN201210375472.6A priority Critical patent/CN103713747B/en
Publication of CN103713747A publication Critical patent/CN103713747A/en
Application granted granted Critical
Publication of CN103713747B publication Critical patent/CN103713747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for processing information and electronic equipment. The method is applied to the electronic equipment. One or a plurality of display objects can be displayed on a display screen of the electronic equipment, each display object can have a first display shape and a second display shape different from the first display shape, the electronic equipment can be in a first state corresponding to the first display shapes and a second state corresponding to the second display shapes, and the display objects in the first display shapes are displayed on the display screen when the electronic equipment is in the first state. The method includes judging whether the electronic equipment is switched from the first state to the second state or not, and acquiring a judgment result; displaying the display objects in the second display shapes if the judgment result indicates that the electronic equipment is switched from the first state to the second state.

Description

A kind of information processing method and a kind of electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of information processing method and a kind of electronic equipment.
Background technology
At present, development along with electronic technology, the function of electronic equipment from strength to strength, and in order to make user's shirtsleeve operation electronic equipment more, during each function in using electronic equipment of user, such as camera function or the function of listening to the music, in electronic equipment, corresponding to each function, a corresponding object that shows all can be set, such as icon, therefore, user, when this function of choice for use, only needs to click the icon corresponding with function.
And the applicant is in realizing the application's process, find that in prior art, the icon arranging in electronic equipment mostly is a kind of shape, such as square, and the form of icon is fixed, can be along with the change of the duty of electronic equipment and change, therefore, when the state of electronic equipment changes, while switching to the state of horizontal screen or oblique screen such as the state from perpendicular screen, for user, be likely not easy a little to arrive demonstration object, therefore easily produce maloperation.
Summary of the invention
The invention provides a kind of information processing method and a kind of electronic equipment, the technical matters that the demonstration object in the electronic equipment existing in order to technical solution can not change along with the change of the duty of electronic equipment.
On the one hand, the present invention, by the application's a embodiment, provides following technical scheme:
A kind of information processing method, be applied in electronic equipment, can be in order to show that one or more shows object on the display screen of described electronic equipment, described demonstration object can have the first display shape and second display shape different from described the first display shape, described electronic equipment has first state corresponding with described the first display shape, and second state corresponding with described the second display shape, wherein, when described electronic equipment is during in described the first state, described demonstration object shows with described the first display shape on described display screen, comprise: judge whether described electronic equipment switches to described the second state from described the first state, obtain judged result, described, judgment result is that while being, with described the second display shape, show described demonstration object.
Optionally, described with described the second display shape, show described demonstration object before, described method also comprises step: when described, judgment result is that while being, detect the stressing conditions of described demonstration object in described electronic equipment.
Optionally, the stressing conditions of the described demonstration object of described detection in described electronic equipment, specifically comprises: take and be parallel to the direction that the direction of described display screen is X-axis, take perpendicular to described display screen direction is Y direction, sets up two-dimensional coordinate system; Set the gravity G of described demonstration object and the angle of Y-axis is α; According to the gravity G of described demonstration object and described α, calculate the stressing conditions of described demonstration object in described two-dimensional coordinate system; According to described stressing conditions, calculate described demonstration object at the deformation quantity of described electronic equipment.
Optionally, described calculate the deformation quantity of described demonstration object at described electronic equipment after, described method also comprises step: described demonstration object is divided into outer ring and inner ring, wherein, described outer ring is specifically for characterizing the flexible situation of described demonstration object, and described inner ring is specifically for characterizing the flexible situation that is present in the target in described demonstration object; According to described deformation quantity, calculate the first sub-deformation quantity of described outer ring and the second sub-deformation quantity of described inner ring.
Optionally, described according to described deformation quantity, calculate the first sub-deformation quantity of described outer ring, specifically comprise: described outer ring is divided into 360 equal portions that comprise the first equal portions, each angle is corresponding to equal portions; In the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ L; The angle of setting the direction of described the first equal portions and X-axis is θ; According to described deformation quantity, described △ L, and described θ, calculate the first sub-deformation quantity of described the first equal portions.
Optionally, after the first sub-deformation quantity that calculates described the first equal portions, described method also comprises: determine that first radius of described the first equal portions before deformation is r, the second radius after deformation is R; According to first of described the first equal portions the sub-deformation quantity and described the first radius r, determine described the second radius R; According to 360 equal portions of described outer ring decile, calculate the second radius R of described 360 equal portions; According to the second radius R of described 360 equal portions, obtain the deformed shape of described outer ring.
Optionally, described according to described deformation quantity, calculate the second sub-deformation quantity of described inner ring, specifically comprise: described inner ring is divided into 360 equal portions that comprise the second equal portions, each angle is corresponding to equal portions; In the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ T; The angle of setting the direction of described the second equal portions and X-axis is б; According to described deformation quantity, described △ T, and described б, calculate the sub-deformation quantity of described the second equal portions second.
Optionally, after the second sub-deformation quantity that calculates described the second equal portions, described method also comprises: determine that three radius of described the second equal portions before deformation is b, the 4th radius after deformation is B; According to second of described the second equal portions the sub-deformation quantity and described the 3rd radius, determine described the 4th radius B; According to 360 equal portions of described inner ring decile, calculate the 4th radius T of described 360 equal portions; According to the second radius T of described 360 equal portions, obtain the deformed shape of described inner ring.
Optionally, after the deformed shape of described acquisition outer ring and the deformed shape of described inner ring, described method also comprises: the offset distance in the center of circle of the center of circle of described inner ring and described outer ring is set as to P; The in the situation that of stressed in unit, the offset distance in the center of circle of described inner ring and described outer ring is set as to △ P; According to described deformation quantity, calculate described P.
Optionally, describedly with described the second display shape, show described demonstration object, specifically comprise: according to the deformed shape of described outer ring, the deformed shape of described inner ring, and described P, the display shape of described demonstration object is switched to described the second display shape from described the first display shape; With described the second display shape, show described demonstration object.
On the other hand, the present invention provides by another embodiment of the application:
A kind of electronic equipment, can be in order to show that one or more shows object on the display screen of described electronic equipment, described demonstration object can have the first display shape and second display shape different from described the first display shape, described electronic equipment has first state corresponding with described the first display shape, and second state corresponding with described the second display shape, wherein, when described electronic equipment is during in described the first state, described demonstration object shows with described the first display shape on described display screen, comprise: judging unit, be used for judging whether described electronic equipment switches to described the second state from described the first state, obtain judged result, display unit, for judgment result is that while being described, shows described demonstration object with described the second display shape.
Optionally, described electronic equipment also comprises: detecting unit, for before showing described demonstration object with described the second display shape, judgment result is that while being when described, when described, judgment result is that while being, detect the stressing conditions of described demonstration object in described electronic equipment.
Optionally, described detecting unit specifically comprises: set up unit, for take, be parallel to the direction that the direction of described display screen is X-axis, take perpendicular to described display screen direction is Y direction, sets up two-dimensional coordinate system; Setup unit, for setting the gravity G of described demonstration object and the angle of Y-axis is α; The first computing unit, for according to the gravity G of described demonstration object and described α, calculates the stressing conditions of described demonstration object in described two-dimensional coordinate system; The second computing unit, for according to described stressing conditions, calculates described demonstration object at the deformation quantity of described electronic equipment.
Optionally, described electronic equipment also comprises: be divided into unit, for after calculating the deformation quantity of described demonstration object at described electronic equipment, described demonstration object is divided into outer ring and inner ring, wherein, described outer ring is specifically for characterizing the flexible situation of described demonstration object, and described inner ring is specifically for characterizing the flexible situation that is present in the target in described demonstration object; The 3rd computing unit, for according to described deformation quantity, calculates the first sub-deformation quantity of described outer ring and the second sub-deformation quantity of described inner ring.
Optionally, described the 3rd computing unit, specifically comprises: the first equal portions unit, and for described outer ring being divided into 360 equal portions that comprise the first equal portions, each angle is corresponding to equal portions; The first setup unit, in the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ L; The second setup unit is θ for setting the angle of the direction of described the first equal portions and X-axis; The 4th computing unit, for according to described deformation quantity, described △ L, and described θ, calculate the first sub-deformation quantity of described the first equal portions.
Optionally, described the 3rd computing unit also comprises: the first determining unit, for after the first sub-deformation quantity that calculates described the first equal portions, determine that first radius of described the first equal portions before deformation is r, and the second radius after deformation is R; The second determining unit, for according to first of described the first equal portions the sub-deformation quantity and described the first radius r, determines described the second radius R; The 5th computing unit, for according to 360 equal portions of described outer ring decile, calculates the second radius R of described 360 equal portions; First obtains unit, for according to the second radius R of described 360 equal portions, obtains the deformed shape of described outer ring.
Optionally, the 3rd computing unit specifically comprises: the second equal portions unit, and for described inner ring being divided into 360 equal portions that comprise the second equal portions, each angle is corresponding to equal portions; The 3rd setup unit, in the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ T; The 4th setup unit is б for setting the angle of the direction of described the second equal portions and X-axis; The 6th computing unit, for according to described deformation quantity, described △ T, and described б, calculate the sub-deformation quantity of described the second equal portions second.
Optionally, described the 3rd computing unit also comprises: the 3rd determining unit, for after the second sub-deformation quantity that calculates described the second equal portions, determine that three radius of described the second equal portions before deformation is b, and the 4th radius after deformation is B; The 4th determining unit, for according to second of described the second equal portions the sub-deformation quantity and described the 3rd radius, determines described the 4th radius B; The 7th computing unit, for according to 360 equal portions of described inner ring decile, calculates the 4th radius T of described 360 equal portions; Second obtains unit, for according to the second radius T of described 360 equal portions, obtains the deformed shape of described inner ring.
One or more technical schemes in technique scheme, have following technique effect or advantage:
By the one or more technical schemes in technical scheme, a kind of information processing method and electronic equipment are provided, by when electronic equipment switches to the second state from the first state, show that object also switches to the second display shape that the second state is corresponding, can solve the demonstration object that exists in prior art can be along with the change of the duty of electronic equipment and the technical matters changing can be carried out the switching of shape dynamically according to electronic equipment.
Further, by electronic equipment when in the second state, analyze to show the stressing conditions of object, dynamically carry out the switching of shape.
Further, by setting up two-dimensional coordinate system, calculate demonstration object at the deformation quantity of electronic equipment, can accurately reflect and show that object is at the stressing conditions of the display screen of electronic equipment.
Further, by demonstration object being divided into inner ring and outer ring is calculated respectively, can accurately draw the deformed shape of inner ring and the deformed shape of outer ring.
Further, by calculating the side-play amount in the center of circle of inner ring and the center of circle of outer ring, and according to the deformed shape of the deformed shape of inner ring and outer ring, obtain the final deformed state that shows object, make to show that object can obtain deformation according to the state of electronic equipment.
Accompanying drawing explanation
Fig. 1 be in the embodiment of the present application mobile phone when surface level is used, the schematic diagram of water droplet;
Fig. 2 be in the embodiment of the present application mobile phone when tiltedly screen is used, the schematic diagram of water droplet;
Fig. 3 is the process flow diagram of information processing method in the embodiment of the present application;
Fig. 4 be in the embodiment of the present application mobile phone when surface level is used, the side schematic view of water droplet;
Fig. 5 is the two-dimensional coordinate system schematic diagram in the embodiment of the present application;
Fig. 6 calculates the flow chart of steps of water droplet in the embodiment of the present application;
Fig. 7 be in the embodiment of the present application mobile phone when surface level is used, the semisphere schematic diagram of water droplet;
Fig. 8 is the circular process flow diagram of the first sub-deformation quantity in the embodiment of the present application;
Fig. 9 is the schematic diagram that calculates the tensile deformation amount of the first equal portions in the embodiment of the present application;
Figure 10 is the circular process flow diagram of the second sub-deformation quantity in the embodiment of the present application;
Figure 11 is the schematic diagram of electronic equipment in the embodiment of the present application.
Embodiment
The technical matters that can not change along with the change of the duty of electronic equipment in order to solve demonstration object in the electronic equipment that prior art exists, the embodiment of the present invention has proposed a kind of information processing method and a kind of electronic equipment, and its solution general thought is as follows:
The demonstration object existing based on prior art can not change along with the change of electronic equipment, and the application proposes a kind of realization of the icon dynamic effect based on electronic compass.
First, on the desktop of electronic equipment or the demonstration object of master menu, can be arranged to drops or pentagram shape.
Further, electronic equipment can detect active user while holding machine, shows the stressing conditions of object, such as user is under the different machine of holding heeling conditions, show that object also can stretch according to the direction corresponding to electronic equipment, simulate corresponding deformed state, reach the effect of dynamic demonstration.
Below in conjunction with Figure of description, the embodiment of the present invention main realized to principle, specific implementation process and the beneficial effect that should be able to reach is explained in detail.
Embodiment mono-:
In the embodiment of the present application, provide a kind of information processing method, be applied in electronic equipment.
Can be in order to show that one or more shows object on the display screen of this electronic equipment, show that object can have the first display shape and second display shape different from the first display shape, electronic equipment has first state corresponding with the first display shape, and second state corresponding with the second display shape, wherein, when electronic equipment is during in the first state, show that object shows with the first display shape on display screen.
Concrete, such as thering are 12 icons (12 show object) on mobile phone, icon can be drops or pentagram shape, take drops as example, when mobile phone is when surface level is used, water droplet has semicircle spherical form as shown in Figure 1, and when mobile phone tiltedly shields, water droplet has elliptical shape as shown in Figure 2.
First, mobile phone can show with the state in Fig. 1.
As shown in Figure 3, the whole adjustment process of this information processing method, comprising:
Step 1, judges whether electronic equipment switches to the second state from the first state, obtains judged result.
Step 2, judgment result is that while being, with the second display shape, shows object.
Take mobile phone as example, judge that whether mobile phone switches to the use state of oblique screen from the use state of horizontal screen, when judging mobile phone and switched to oblique screen and use state, the icon in mobile phone also shows according to tiltedly shielding with mobile phone the display shape that state is corresponding, such as, when mobile phone switches to the shape in Fig. 2 with the shape of Fig. 1, the display shape of the icon in the mobile phone also display shape in Fig. 1 is shown as the display shape in Fig. 2.
Concrete, before showing object with the second display shape, icon is adjusted into the concrete process of the second display shape from the first display shape, as follows:
First, when judgment result is that while being, the stressing conditions of detection display object in electronic equipment.
When icon shows in mobile phone with water droplet display shape, as the description in Fig. 4, wherein, in Fig. 4, when mobile phone is while placing on surface level, now, when icon shows with the display shape of water droplet in display screen, from the side, be to be semisphere to show.
Therefore, when needs are when just icon is adjusted into the second display shape from the first display shape, first, calculate the stressing conditions of icon, as follows:
As shown in Figure 5, take and be parallel to the direction that the direction of display screen is X-axis, the direction of take perpendicular to display screen is Y direction, sets up two-dimensional coordinate system.
Such as, when mobile phone is when tiltedly screen is used, when the some icons in mobile phone are carried out to stressed decomposition, there is the two-dimensional coordinate system in Fig. 5.
Wherein, in this two-dimensional coordinate system, the gravity of water droplet is G, and the angle of gravity G and Y-axis is α.
When gravity G is done to stressed decomposition, according to the gravity G and the α that show object, calculate and show the stressing conditions of object in two-dimensional coordinate system.
Concrete, when having calculated stressing conditions, calculate and show that object is at the deformation quantity of electronic equipment.
Such as, according to above-mentioned accompanying drawing 5, can be decomposed into be parallel to mobile phone display screen under sliding force F1, and perpendicular to the power F2 of mobile phone display screen.
F1=G*sinα。
F1=G*cosα。
Further, after calculating the type variable of icon, as shown in Figure 6, can carry out step below:
Step 601, is divided into outer ring and inner ring by demonstration object.
Wherein, outer ring is specifically for characterizing the flexible situation that shows object, and outer ring is icon when showing with water droplet display shape, outermost circle.
Inner ring is present in specifically for characterizing the flexible situation that shows the target in object, because when icon shows, in icon, can have the target that represents this icon function, such as: counter, take a picture etc.
The concrete schematic diagram of outer ring and inner ring as shown in Figure 7, in Fig. 7, while being illustrated in mobile phone horizontal positioned, the water droplet display shape of icon is semisphere and shows, now, icon has comprised two circles, wherein, outmost circle represents outer ring, and inner circle represents inner ring, and now, the center of circle of outer ring and inner ring tool overlaps.
Step 602, according to deformation quantity, calculates the first sub-deformation quantity of outer ring and the second sub-deformation quantity of inner ring.
And concrete, when calculating the first sub-deformation quantity of outer ring, as shown in Figure 8, concrete computing method are as follows:
Step 801, is divided into outer ring 360 equal portions that comprise the first equal portions, and each angle is corresponding to equal portions.
Step 802, in the stressed situation of the unit of being set in, the tension type variable of outer ring is △ L.
Step 803, the angle of setting the direction of the first equal portions and X-axis is θ.
Step 804, according to deformation quantity, △ L, and θ, calculate the first sub-deformation quantity of the first equal portions.
When unit is stressed, when the tensile deformation amount of outer ring is △ L, if when stressed while being G*sin α, first of outer ring the sub-deformation quantity is G*sin α * cos θ * △ L.
As shown in Figure 9, when mobile phone is during in oblique screen state, after water droplet is divided into 360 equal portions, the angle of the first equal portions and X-axis is θ, therefore, can according to sliding force F1, calculate the tensile deformation amount of the first equal portions, is specially: G*sin α * cos θ * △ L.
After calculating the first sub-deformation quantity, method also comprises:
First, determine that first radius of the first equal portions before deformation is r, the second radius after deformation is R.
Secondly, according to first of the first equal portions the sub-deformation quantity and the first radius r, determine the second radius R.
When the second radius after deformation is R:
R=r+G*sinα*cosθ*△L。
R has represented the radius of the first equal portions after carrying out deformation.
Again, according to 360 equal portions of outer ring decile, calculate the second radius R of 360 equal portions.
Finally, according to the second radius R of 360 equal portions, obtain the deformed shape of outer ring.
Concrete, because above-mentioned computing method have only calculated the R of the first equal portions, when according to 360 equal portions, after calculating one by one, obtained the deformed shape of whole outer ring, the shape of outer ring can be drawn.
Further, according to deformation quantity, calculate the second sub-deformation quantity of inner ring, as shown in figure 10, specifically comprise:
Step 1001, is divided into inner ring 360 equal portions that comprise the second equal portions, and each angle is corresponding to equal portions.
Step 1002, in the stressed situation of the unit of being set in, the tension type variable of outer ring is △ T.
Step 1003, the angle of setting the direction of the second equal portions and X-axis is б.
Step 1004, according to deformation quantity, △ T, and б, calculate the second sub-deformation quantity of the second equal portions.
Similar with said method, when unit is stressed, when the tensile deformation amount of outer ring is △ T, if when stressed while being G*sin α, second of the second equal portions the sub-deformation quantity is G*sin α * cos θ * △ T.
Further, after calculating the second sub-deformation quantity, method also comprises:
First, determine that three radius of the second equal portions before deformation is b, the 4th radius after deformation is B.
Secondly, according to second of the second equal portions the sub-deformation quantity and the 3rd radius, determine the 4th radius B.
Again, according to 360 equal portions of inner ring decile, calculate the 4th radius T of 360 equal portions.
Finally, according to the second radius T of 360 equal portions, obtain the deformed shape of inner ring.
Similar with said method, calculate B=b+G*sin α * cos θ * △ T.
Then when according to 360 equal portions, after calculating one by one, obtained the deformed shape of whole inner ring, the shape of inner ring can have been drawn.
After obtaining the deformed shape of outer ring and the deformed shape of inner ring, also can recalculate the offset distance in the center of circle of inner ring and the center of circle of outer ring.
Circular is as follows:
The offset distance in the center of circle of the center of circle of inner ring and outer ring is set as to P.
The in the situation that of stressed in unit, the offset distance in the center of circle of inner ring and outer ring is set as to △ P.
According to deformation quantity, calculate P.
Concrete, along with the difference of the deviation angle of mobile phone, the offset distance in the center of circle of inner ring and the center of circle of outer ring is set as P, P can be along with the difference of the deviation angle of mobile phone difference.
And when mobile phone is placed on surface level, both centers of circle overlap.
Under Ruo unit is stressed, center of circle deviation distance is Δ p
Can calculate so P=G*sin α * Δ p.
Further, when obtain out the deformed shape of outer ring according to said method, the deformed shape of inner ring, and after P, can be according to the deformed shape of outer ring, the deformed shape of inner ring and P, switch to the second display shape by the display shape that shows object from the first display shape, then with the second display shape, shows object.
Said method provides a kind of information processing method, by when electronic equipment switches to the second state from the first state, show that object also switches to the second display shape that the second state is corresponding, can solve the demonstration object that exists in prior art can be along with the change of the duty of electronic equipment and the technical matters changing can be carried out the switching of shape dynamically according to electronic equipment.
Further, by electronic equipment when in the second state, analyze to show the stressing conditions of object, dynamically carry out the switching of shape.
Further, by setting up two-dimensional coordinate system, calculate demonstration object at the deformation quantity of electronic equipment, can accurately reflect and show that object is at the stressing conditions of the display screen of electronic equipment.
Further, by demonstration object being divided into inner ring and outer ring is calculated respectively, can accurately draw the deformed shape of inner ring and the deformed shape of outer ring.
Further, by calculating the side-play amount in the center of circle of inner ring and the center of circle of outer ring, and according to the deformed shape of the deformed shape of inner ring and outer ring, obtain the final deformed state that shows object, make to show that object can obtain deformation according to the state of electronic equipment.
Embodiment bis-:
In the embodiment of the present application, a kind of electronic equipment is provided, can be in order to show that one or more shows object on the display screen of electronic equipment, show that object can have the first display shape and second display shape different from the first display shape, electronic equipment has first state corresponding with the first display shape, and second state corresponding with the second display shape, wherein, when electronic equipment is during in the first state, show that object shows with the first display shape on display screen.
As shown in figure 11, electronic equipment comprises:
Judging unit 110, for judging whether electronic equipment switches to the second state from the first state, obtains judged result.
Display unit 111, for judgment result is that while being, shows object with the second display shape.
Further, electronic equipment also comprises: detecting unit, and for before show showing object with the second display shape, when judgment result is that while being, when judgment result is that while being, the stressing conditions of detection display object in electronic equipment.
Further, detecting unit specifically comprises:
Set up unit, for take, be parallel to the direction that the direction of display screen is X-axis, take perpendicular to display screen direction is Y direction, sets up two-dimensional coordinate system.
Setup unit is α for the gravity G of set and display object and the angle of Y-axis.
The first computing unit, for according to the gravity G and the α that show object, calculates and shows the stressing conditions of object in two-dimensional coordinate system.
The second computing unit, for according to stressing conditions, calculates and shows that object is at the deformation quantity of electronic equipment.
Further, electronic equipment also comprises:
Be divided into unit, for after calculating the deformation quantity of demonstration object at electronic equipment, demonstration object is divided into outer ring and inner ring, wherein, outer ring is specifically for characterizing the flexible situation that shows object, and inner ring is specifically for characterizing the flexible situation that shows the target in object that is present in.
The 3rd computing unit, for according to deformation quantity, calculates the first sub-deformation quantity of outer ring and the second sub-deformation quantity of inner ring.
Further, the 3rd computing unit specifically comprises:
The first equal portions unit, for outer ring being divided into 360 equal portions that comprise the first equal portions, each angle is corresponding to equal portions.
The first setup unit, in the stressed situation of the unit of being set in, the tension type variable of outer ring is △ L.
The second setup unit is θ for setting the angle of the direction of the first equal portions and X-axis.
The 4th computing unit, for according to deformation quantity, △ L, and θ, calculate the first sub-deformation quantity of the first equal portions.
Further, the 3rd computing unit also comprises:
The first determining unit, for after the first sub-deformation quantity that calculates the first equal portions, determines that first radius of the first equal portions before deformation is r, and the second radius after deformation is R.
The second determining unit, for according to first of the first equal portions the sub-deformation quantity and the first radius r, determines the second radius R.
The 5th computing unit, for according to 360 equal portions of outer ring decile, calculates the second radius R of 360 equal portions.
First obtains unit, for according to the second radius R of 360 equal portions, obtains the deformed shape of outer ring.
Further, the 3rd computing unit specifically comprises:
The second equal portions unit, for inner ring being divided into 360 equal portions that comprise the second equal portions, each angle is corresponding to equal portions.
The 3rd setup unit, in the stressed situation of the unit of being set in, the tension type variable of outer ring is △ T.
The 4th setup unit is б for setting the angle of the direction of the second equal portions and X-axis.
The 6th computing unit, for according to deformation quantity, △ T, and б, calculate the sub-deformation quantity of the second equal portions second.
Further, the 3rd computing unit also comprises:
The 3rd determining unit, for after the second sub-deformation quantity that calculates the second equal portions, determines that three radius of the second equal portions before deformation is b, and the 4th radius after deformation is B.
The 4th determining unit, for according to second of the second equal portions the sub-deformation quantity and the 3rd radius, determines the 4th radius B.
The 7th computing unit, for according to 360 equal portions of inner ring decile, calculates the 4th radius T of 360 equal portions.
Second obtains unit, for according to the second radius T of 360 equal portions, obtains the deformed shape of inner ring.
By one or more embodiment of the present invention, can be achieved as follows technique effect:
By one or more embodiment of the present invention, a kind of information processing method and electronic equipment are provided, by when electronic equipment switches to the second state from the first state, show that object also switches to the second display shape that the second state is corresponding, can solve the demonstration object that exists in prior art can be along with the change of the duty of electronic equipment and the technical matters changing can be carried out the switching of shape dynamically according to electronic equipment.
Further, by electronic equipment when in the second state, analyze to show the stressing conditions of object, dynamically carry out the switching of shape.
Further, by setting up two-dimensional coordinate system, calculate demonstration object at the deformation quantity of electronic equipment, can accurately reflect and show that object is at the stressing conditions of the display screen of electronic equipment.
Further, by demonstration object being divided into inner ring and outer ring is calculated respectively, can accurately draw the deformed shape of inner ring and the deformed shape of outer ring.
Further, by calculating the side-play amount in the center of circle of inner ring and the center of circle of outer ring, and according to the deformed shape of the deformed shape of inner ring and outer ring, obtain the final deformed state that shows object, make to show that object can obtain deformation according to the state of electronic equipment.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (18)

1. an information processing method, be applied in electronic equipment, can be in order to show that one or more shows object on the display screen of described electronic equipment, described demonstration object can have the first display shape and second display shape different from described the first display shape, described electronic equipment has first state corresponding with described the first display shape, and second state corresponding with described the second display shape, wherein, when described electronic equipment is during in described the first state, described demonstration object shows with described the first display shape on described display screen, it is characterized in that, comprise:
Judge whether described electronic equipment switches to described the second state from described the first state, obtain judged result;
Described, judgment result is that while being, with described the second display shape, show described demonstration object.
2. the method for claim 1, is characterized in that, described with described the second display shape, show described demonstration object before, described method also comprises step:
When described, judgment result is that while being, detect the stressing conditions of described demonstration object in described electronic equipment.
3. method as claimed in claim 2, is characterized in that, the stressing conditions of the described demonstration object of described detection in described electronic equipment, specifically comprises:
Take and be parallel to the direction that the direction of described display screen is X-axis, take perpendicular to described display screen direction is Y direction, sets up two-dimensional coordinate system;
Set the gravity G of described demonstration object and the angle of Y-axis is α;
According to the gravity G of described demonstration object and described α, calculate the stressing conditions of described demonstration object in described two-dimensional coordinate system;
According to described stressing conditions, calculate described demonstration object at the deformation quantity of described electronic equipment.
4. method as claimed in claim 3, is characterized in that, described calculate the deformation quantity of described demonstration object at described electronic equipment after, described method also comprises step:
Described demonstration object is divided into outer ring and inner ring, and wherein, described outer ring is specifically for characterizing the flexible situation of described demonstration object, and described inner ring is specifically for characterizing the flexible situation that is present in the target in described demonstration object;
According to described deformation quantity, calculate the first sub-deformation quantity of described outer ring and the second sub-deformation quantity of described inner ring.
5. method as claimed in claim 4, is characterized in that, described according to described deformation quantity, calculates the first sub-deformation quantity of described outer ring, specifically comprises:
Described outer ring is divided into 360 equal portions that comprise the first equal portions, each angle is corresponding to equal portions;
In the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ L;
The angle of setting the direction of described the first equal portions and X-axis is θ;
According to described deformation quantity, described △ L, and described θ, calculate the first sub-deformation quantity of described the first equal portions.
6. method as claimed in claim 5, is characterized in that, after the first sub-deformation quantity that calculates described the first equal portions, described method also comprises:
Determine that first radius of described the first equal portions before deformation is r, the second radius after deformation is R;
According to first of described the first equal portions the sub-deformation quantity and described the first radius r, determine described the second radius R;
According to 360 equal portions of described outer ring decile, calculate the second radius R of described 360 equal portions;
According to the second radius R of described 360 equal portions, obtain the deformed shape of described outer ring.
7. method as claimed in claim 4, is characterized in that, described according to described deformation quantity, calculates the second sub-deformation quantity of described inner ring, specifically comprises:
Described inner ring is divided into 360 equal portions that comprise the second equal portions, each angle is corresponding to equal portions;
In the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ T;
The angle of setting the direction of described the second equal portions and X-axis is б;
According to described deformation quantity, described △ T, and described б, calculate the sub-deformation quantity of described the second equal portions second.
8. method as claimed in claim 7, is characterized in that, after the second sub-deformation quantity that calculates described the second equal portions, described method also comprises:
Determine that three radius of described the second equal portions before deformation is b, the 4th radius after deformation is B;
According to second of described the second equal portions the sub-deformation quantity and described the 3rd radius, determine described the 4th radius B;
According to 360 equal portions of described inner ring decile, calculate the 4th radius T of described 360 equal portions;
According to the second radius T of described 360 equal portions, obtain the deformed shape of described inner ring.
9. the method as described in claim as arbitrary in claim 7 or 8, is characterized in that, after the deformed shape of described acquisition outer ring and the deformed shape of described inner ring, described method also comprises:
The offset distance in the center of circle of the center of circle of described inner ring and described outer ring is set as to P;
The in the situation that of stressed in unit, the offset distance in the center of circle of described inner ring and described outer ring is set as to △ P;
According to described deformation quantity, calculate described P.
10. method as claimed in claim 9, is characterized in that, describedly with described the second display shape, shows described demonstration object, specifically comprises:
According to the deformed shape of described outer ring, the deformed shape of described inner ring, and described P, switch to described the second display shape by the display shape of described demonstration object from described the first display shape;
With described the second display shape, show described demonstration object.
11. 1 kinds of electronic equipments, can be in order to show that one or more shows object on the display screen of described electronic equipment, described demonstration object can have the first display shape and second display shape different from described the first display shape, described electronic equipment has first state corresponding with described the first display shape, and second state corresponding with described the second display shape, wherein, when described electronic equipment is during in described the first state, described demonstration object shows with described the first display shape on described display screen, it is characterized in that, comprising:
Judging unit, for judging whether described electronic equipment switches to described the second state from described the first state, obtains judged result;
Display unit, for judgment result is that while being described, shows described demonstration object with described the second display shape.
12. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises:
Detecting unit, for before showing described demonstration object with described the second display shape, judgment result is that while being when described, when described, judgment result is that while being, detects the stressing conditions of described demonstration object in described electronic equipment.
13. electronic equipments as claimed in claim 12, is characterized in that, described detecting unit specifically comprises:
Set up unit, for take, be parallel to the direction that the direction of described display screen is X-axis, take perpendicular to described display screen direction is Y direction, sets up two-dimensional coordinate system;
Setup unit, for setting the gravity G of described demonstration object and the angle of Y-axis is α;
The first computing unit, for according to the gravity G of described demonstration object and described α, calculates the stressing conditions of described demonstration object in described two-dimensional coordinate system;
The second computing unit, for according to described stressing conditions, calculates described demonstration object at the deformation quantity of described electronic equipment.
14. electronic equipments as claimed in claim 13, is characterized in that, described electronic equipment also comprises:
Be divided into unit, for after calculating the deformation quantity of described demonstration object at described electronic equipment, described demonstration object is divided into outer ring and inner ring, wherein, described outer ring is specifically for characterizing the flexible situation of described demonstration object, and described inner ring is specifically for characterizing the flexible situation that is present in the target in described demonstration object;
The 3rd computing unit, for according to described deformation quantity, calculates the first sub-deformation quantity of described outer ring and the second sub-deformation quantity of described inner ring.
15. electronic equipments as claimed in claim 14, is characterized in that, described the 3rd computing unit, specifically comprises:
The first equal portions unit, for described outer ring being divided into 360 equal portions that comprise the first equal portions, each angle is corresponding to equal portions;
The first setup unit, in the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ L;
The second setup unit is θ for setting the angle of the direction of described the first equal portions and X-axis;
The 4th computing unit, for according to described deformation quantity, described △ L, and described θ, calculate the first sub-deformation quantity of described the first equal portions.
16. electronic equipments as claimed in claim 15, is characterized in that, described the 3rd computing unit also comprises:
The first determining unit, for after the first sub-deformation quantity that calculates described the first equal portions, determines that first radius of described the first equal portions before deformation is r, and the second radius after deformation is R;
The second determining unit, for according to first of described the first equal portions the sub-deformation quantity and described the first radius r, determines described the second radius R;
The 5th computing unit, for according to 360 equal portions of described outer ring decile, calculates the second radius R of described 360 equal portions;
First obtains unit, for according to the second radius R of described 360 equal portions, obtains the deformed shape of described outer ring.
17. electronic equipments as claimed in claim 14, is characterized in that, the 3rd computing unit specifically comprises:
The second equal portions unit, for described inner ring being divided into 360 equal portions that comprise the second equal portions, each angle is corresponding to equal portions;
The 3rd setup unit, in the stressed situation of the unit of being set in, the tension type variable of described outer ring is △ T;
The 4th setup unit is б for setting the angle of the direction of described the second equal portions and X-axis;
The 6th computing unit, for according to described deformation quantity, described △ T, and described б, calculate the sub-deformation quantity of described the second equal portions second.
18. electronic equipments as claimed in claim 17, is characterized in that, described the 3rd computing unit also comprises:
The 3rd determining unit, for after the second sub-deformation quantity that calculates described the second equal portions, determines that three radius of described the second equal portions before deformation is b, and the 4th radius after deformation is B;
The 4th determining unit, for according to second of described the second equal portions the sub-deformation quantity and described the 3rd radius, determines described the 4th radius B;
The 7th computing unit, for according to 360 equal portions of described inner ring decile, calculates the 4th radius T of described 360 equal portions;
Second obtains unit, for according to the second radius T of described 360 equal portions, obtains the deformed shape of described inner ring.
CN201210375472.6A 2012-09-29 2012-09-29 A kind of information processing method and a kind of electronic equipment Active CN103713747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210375472.6A CN103713747B (en) 2012-09-29 2012-09-29 A kind of information processing method and a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210375472.6A CN103713747B (en) 2012-09-29 2012-09-29 A kind of information processing method and a kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN103713747A true CN103713747A (en) 2014-04-09
CN103713747B CN103713747B (en) 2016-09-28

Family

ID=50406786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210375472.6A Active CN103713747B (en) 2012-09-29 2012-09-29 A kind of information processing method and a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN103713747B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080129666A1 (en) * 2006-12-05 2008-06-05 Susumu Shimotono Method and Apparatus for Changing a Display Direction of a Screen of a Portable Electronic Device
CN102129295A (en) * 2011-03-25 2011-07-20 深圳市理邦精密仪器股份有限公司 Method and system for regulating contents displayed on interface
EP2402842A1 (en) * 2010-07-02 2012-01-04 Fujitsu Limited Electronic device comprising a tilt sensor for adjusting display orientation, and computer-implemented control method therefor
CN102541440A (en) * 2010-12-23 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080129666A1 (en) * 2006-12-05 2008-06-05 Susumu Shimotono Method and Apparatus for Changing a Display Direction of a Screen of a Portable Electronic Device
EP2402842A1 (en) * 2010-07-02 2012-01-04 Fujitsu Limited Electronic device comprising a tilt sensor for adjusting display orientation, and computer-implemented control method therefor
CN102541440A (en) * 2010-12-23 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN102129295A (en) * 2011-03-25 2011-07-20 深圳市理邦精密仪器股份有限公司 Method and system for regulating contents displayed on interface

Also Published As

Publication number Publication date
CN103713747B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
EP2562908B1 (en) Wireless charging strength indication method and charged device
EP2738640A3 (en) Portable apparatus having a plurality of touch screens and method of outputting sound thereof
WO2012142044A3 (en) Three-dimensional icons for organizing, invoking, and using applications
CN105096752B (en) A kind of flexible display panels and display device
EP2386939A3 (en) Mobile terminal and method of displaying 3D images thereon
EP2466439A3 (en) Mobile terminal and operation control method thereof
EP2175358A3 (en) Mobile terminal and display method thereof
EP2701055A3 (en) Application execution method and mobile terminal
EP2565770A3 (en) A portable apparatus and an input method of a portable apparatus
EP2543972A3 (en) Device, method and graphical user interface for mapping directions between search results
EP2763023A3 (en) Method and apparatus for multitasking
EP2650763A3 (en) Display apparatus and method of manufacturing the same
EP2369459A3 (en) Menu executing method and apparatus in portable terminal
EP2360593A3 (en) High integrity touch screen system
WO2011099806A3 (en) Method and apparatus for providing information of multiple applications
EP2796982A3 (en) Method and apparatus for providing a changed shortcut icon corresponding to a status thereof
EP2503444A3 (en) System and method for crossing navigation for use in an electronic terminal
EP2369462A3 (en) Mobile terminal and icon control method for the same
US10120501B2 (en) Touch implementation method and device and electronic device
CN105094487B (en) Touch screen and its control method, control device, touch display unit
JP2014011584A5 (en)
CN106406678A (en) Method and system of displaying icon of mobile terminal dynamically
EP2607853A3 (en) Device, method, and graphical user interface for selection of views in a three-dimensional map based on gesture inputs
EP2725475A3 (en) Touch type input device
CN103440048B (en) Method client terminal operated according to gravity sensing and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant