CN107943371A - The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine - Google Patents
The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine Download PDFInfo
- Publication number
- CN107943371A CN107943371A CN201711244731.0A CN201711244731A CN107943371A CN 107943371 A CN107943371 A CN 107943371A CN 201711244731 A CN201711244731 A CN 201711244731A CN 107943371 A CN107943371 A CN 107943371A
- Authority
- CN
- China
- Prior art keywords
- screen
- feiteng processor
- rotation
- machine
- attitude information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1415—Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Abstract
Method and device, all-in-one machine the invention discloses the automatic Rotation screen picture based on Feiteng processor.Disclosed method comprises the following steps:Step S100:The acceleration of gravity information of all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine;Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate all-in-one machine screen attitude information and be sent to Feiteng processor;Step S300:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll, when screen attitude information meets preset condition, execution rotation of screen picture.Can be after the screen of the all-in-one machine based on Feiteng processor adjust, screen-picture can follow the direction of rotation of screen to adjust automatically, to improve user experience.
Description
Technical field
The present invention relates to computer hardware technology field, more particularly to a kind of automatic rotary screen based on Feiteng processor
The method and device of curtain picture.The invention further relates to the device with the above-mentioned automatic Rotation screen picture based on Feiteng processor
All-in-one machine.
Background technology
Install gravity sensor in equipment additional and follow rotating scheme to solve screen-picture after equipment rotation, in mobile phone, put down
The intelligent terminal such as plate field has been widely used.The intelligent terminals such as existing mobile phone, tablet are usually built-in with gravity sensor,
The operation principle of gravity sensor is based on piezoelectric effect, i.e., using inside intelligent terminal due to crystal modification caused by acceleration
This characteristic of generation voltage, calculates the relation produced between voltage and the acceleration applied, it is possible to convert acceleration
Into voltage output, the conversion from Gravity changer to electric signal is completed.In this way, mobile terminal by user's accumbency or it is perpendicular hold when,
The automatic rotation of mobile terminal screen can be realized by gravity sensing, to facilitate user to play game, sees video or browse graph
Piece etc..
But Feiteng processor does not support external equipment to initiate to interrupt, CPU can not obtain gravity sensor relevant parameter and ask
Topic, thus based on the function of not having automatic Rotation screen picture on Feiteng processor machine, when user needs Rotation screen
Wait, can only be completed with mouse click option.Very inconvenient in operation, the experience to user is also bad.Based on Feiteng processor
The product stent support screen transverse screen of all-in-one machine and the adjustment of portrait layout, after screen is adjusted, corresponding screen display content
Need the direction of rotation of and then display screen to adjust, keep user's energy normal use, improve user experience.
Therefore how after the screen of the all-in-one machine based on Feiteng processor adjusts, screen-picture can be certainly
The direction of rotation of dynamic and then screen adjusts, and to improve user experience, becomes those skilled in the art's urgent problem to be solved.
The content of the invention
The technical problem to be solved in the present invention is overcome drawbacks described above existing in the prior art, there is provided one kind is based on soaring
The method and device of the automatic Rotation screen picture of processor, can adjust in the screen of the all-in-one machine based on Feiteng processor
After whole, screen-picture can follow the direction of rotation of screen to adjust automatically, to improve user experience.
On the basis of the device of the above-mentioned automatic Rotation screen picture based on Feiteng processor is provided, one kind is additionally provided
The all-in-one machine of device including the above-mentioned automatic Rotation screen picture based on Feiteng processor.
The method of automatic Rotation screen picture provided by the invention based on Feiteng processor, the described method includes following step
Suddenly:
Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed
Breath;
Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one
Machine screen attitude information is sent to Feiteng processor;
Step S300:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll, when
Screen attitude information meets preset condition, performs rotation of screen picture.
Preferably, the step S300 is specially:
Step S301:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll;
Step S302:Feiteng processor reads the screen attitude information of storage unit storage;
Step S303:Feiteng processor by the EC chip screen attitude informations of reading and storage unit store screen attitude information into
Row compares, and S304 is entered step if differing, if identical, return to step S301;
Step S304:When screen attitude information meets preset condition, S305, on the contrary then return to step S301 are entered step;
Step S305:Rotation of screen picture is performed, screen attitude information is stored in storage unit.
Preferably, the acceleration of gravity information is the location information of three dimensions of gravity sensor.
Preferably, the all-in-one machine screen attitude information is the angle of screen rotation.
Preferably, the step S304 is specially:
Step S304:Calculate the difference of the angle and the angle of storage unit storage screen rotation of the EC chip screen rotations read
Value, if difference is more than predetermined angle, enters step S305, on the contrary then return to step S301.
Preferably, the all-in-one machine screen rotation angle is 0 to 90 degree.
Preferably, the all-in-one machine screen attitude information that the EC chips calculate further includes screen location information, the screen
It is respectively transverse screen and portrait layout that position, which only has two kinds,.
Preferably, the step S304 is specially:
Step S304:When the EC chip screens attitude information of reading is transverse screen by Feiteng processor, storage unit storage screen is
During portrait layout, rotation of screen picture shows to be horizontal, and screen attitude information is stored in storage unit;When Feiteng processor is by reading
EC chips screen is portrait layout, and when storage unit storage screen is transverse screen, rotation of screen picture is vertically displayed, and screen posture is believed
Breath deposit storage unit.
The present invention also provides the automatic Rotation screen picture based on Feiteng processor device, including gravity sensor,
EC chips, Feiteng processor and mainboard, gravity sensor, EC chips, Feiteng processor are arranged on mainboard, wherein:
Gravity sensor, for obtaining the acceleration of gravity information of all-in-one machine screen rotation;
EC chips, for reading the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate all-in-one machine screen
Curtain attitude information is sent to Feiteng processor;
Feiteng processor, for reading the screen attitude information of EC chips transmission by LPC power management channels poll, works as screen
When attitude information meets to send control command to screen image rotation unit during preset condition, for performing rotation of screen picture.
The method and device of automatic Rotation screen picture provided by the invention based on Feiteng processor, solves place of soaring
The problem of reason device does not support external equipment to initiate to interrupt in itself, Feiteng processor reads EC by LPC power management channels poll
Chip, obtains screen attitude information, and whether interpretation screen rotates.The screen of the all-in-one machine of Feiteng processor is now based in fact
After adjusting, screen-picture can follow the direction of rotation of screen to adjust automatically, to improve user experience.
On the basis of the device of the automatic Rotation screen picture based on Feiteng processor is provided, the present invention also provides
A kind of all-in-one machine of device using the automatic Rotation screen picture based on Feiteng processor, the all-in-one machine obviously have
Whole beneficial effects of the device of the foregoing automatic Rotation screen picture based on Feiteng processor, details are not described herein.
Brief description of the drawings
Fig. 1 is the flow of the method for the automatic Rotation screen picture based on Feiteng processor that the first embodiment provides
Figure;
Fig. 2 is the flow chart of the method for the automatic Rotation screen picture based on Feiteng processor that second of embodiment provides;
Fig. 3 is the flow chart of the method for the automatic Rotation screen picture based on Feiteng processor that the third embodiment provides;
Fig. 4 is the flow chart of the method for the automatic Rotation screen picture based on Feiteng processor that the 4th kind of embodiment provides;
Fig. 5 is a kind of structure diagram of the device of the automatic Rotation screen picture based on Feiteng processor provided by the invention.
Embodiment
In order that those skilled in the art will better understand the technical solution of the present invention, below in conjunction with the accompanying drawings to the present invention
It is described in further detail.
Referring to Fig. 1, Fig. 1 is the side for the automatic Rotation screen picture based on Feiteng processor that the first embodiment provides
The flow chart of method.
A kind of method of the automatic Rotation screen picture based on Feiteng processor, the described method comprises the following steps:
Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed
Breath;
Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one
Machine screen attitude information is sent to Feiteng processor;
Step S300:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll, when
Screen attitude information meets preset condition, performs rotation of screen picture.
Gravity sensor is arranged on all-in-one machine, and gravity sensor is connected by I2C interface with EC chips, and EC chips pass through
LPC interfaces are connected with Feiteng processor.The gravity sensor, EC chips and Feiteng processor are arranged on mainboard.One
The acceleration caused by gravity is measured by the gravity sensor being arranged on all-in-one machine when machine screen rotates and obtains one
The acceleration of gravity information of body machine screen rotation.Acceleration of gravity information is real-time update.EC chips can pass through I2C buses
The acceleration of gravity information that gravity sensor is sent is read in circulation.EC chips calculate all-in-one machine screen attitude information be sent to it is winged
Rise processor.Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll, works as screen
Attitude information meets preset condition, performs rotation of screen picture.
Feiteng processor does not support external equipment to initiate to interrupt in itself, and Feiteng processor passes through LPC power management channel wheels
Ask and read EC chips, obtain screen attitude information, whether interpretation screen rotates.The one of Feiteng processor is now based in fact
After the screen of machine adjusts, screen-picture can follow the direction of rotation of screen to adjust automatically, to improve user experience
Sense.
Referring to Fig. 2, Fig. 2 is the side for the automatic Rotation screen picture based on Feiteng processor that second of embodiment provides
The flow chart of method.
A kind of method of the automatic Rotation screen picture based on Feiteng processor, the described method comprises the following steps:
Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed
Breath;
Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one
Machine screen attitude information is sent to Feiteng processor;
Step S301:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll;
Step S302:Feiteng processor reads the screen attitude information of storage unit storage;
Step S303:Feiteng processor by the EC chip screen attitude informations of reading and storage unit store screen attitude information into
Row compares, and S304 is entered step if differing, if identical, return to step S301;
Step S304:When screen attitude information meets preset condition, S305, on the contrary then return to step S301 are entered step;
Step S305:Rotation of screen picture is performed, screen attitude information is stored in storage unit.
Gravity sensor is arranged on all-in-one machine, and gravity sensor is connected by I2C interface with EC chips, and EC chips pass through
LPC interfaces are connected with Feiteng processor.When all-in-one machine screen rotates by the measurement of the gravity sensor that is disposed thereon by
The acceleration of gravity information of all-in-one machine screen rotation is obtained in acceleration caused by gravity.Acceleration of gravity information is real-time update
's.EC chips can read the acceleration of gravity information that gravity sensor is sent by I2C bus cycles.EC chips calculate one
Body machine screen attitude information is sent to Feiteng processor.Feiteng processor reads EC chips by LPC power management channels poll
The EC chip screen attitude informations of reading and storage unit are stored screen posture by the screen attitude information of transmission, Feiteng processor
Information is compared, if differing, judges that screen attitude information meets preset condition.Feiteng processor continues to lead to if identical
Cross LPC power management channels poll and read the screen attitude information that EC chips are sent.If screen attitude information meets preset condition,
Rotation of screen picture is performed, screen attitude information is stored in storage unit.If screen attitude information is unsatisfactory for preset condition, soar
Processor continues through LPC power management channels poll and reads the screen attitude information that EC chips are sent.
Referring to Fig. 3, Fig. 3 is the side for the automatic Rotation screen picture based on Feiteng processor that the third embodiment provides
The flow chart of method.
A kind of method of the automatic Rotation screen picture based on Feiteng processor, the described method comprises the following steps:
Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed
Breath, the acceleration of gravity information are the location information of three dimensions of gravity sensor;
Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one
Machine screen attitude information is sent to Feiteng processor;The all-in-one machine screen attitude information is the angle of screen rotation;
Step S301:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll;
Step S302:Feiteng processor reads the screen attitude information of storage unit storage;
Step S303:Feiteng processor by the EC chip screen attitude informations of reading and storage unit store screen attitude information into
Row compares, and S304 is entered step if differing, if identical, return to step S301;
Step S304:Calculate the difference of the angle and the angle of storage unit storage screen rotation of the EC chip screen rotations read
Value, if difference is more than predetermined angle, enters step S305, on the contrary then return to step S301.
Step S305:Rotation of screen picture is performed, screen attitude information is stored in storage unit.
Gravity sensor is arranged on all-in-one machine, and gravity sensor measurement acceleration caused by gravity obtains gravity-feed tank
Answer the tri- axis location informations of XYZ of the location information of three dimensions of device, i.e. gravity sensor.EC chips can pass through I2C buses
The tri- axis location informations of XYZ that gravity sensor is sent are read in circulation, and calculate the angle of screen rotation.
The gravity sensor is at least one, and gravity sensor is arranged on all-in-one machine, and gravity sensor is connect by I2C
Mouth is connected with EC chips, and EC chips are connected by LPC interfaces with Feiteng processor.All-in-one machine screen passes through setting when rotating
Gravity sensor measurement acceleration caused by gravity on it obtains the acceleration of gravity information of all-in-one machine screen rotation.
Acceleration of gravity information is real-time update.The acceleration of gravity information is believed for the positioning of three dimensions of gravity sensor
Breath, the i.e. tri- axis location informations of XYZ of gravity sensor.
EC chips can read the location information for three dimensions that gravity sensor is sent by I2C bus cycles.EC cores
Piece calculates all-in-one machine screen attitude information and is sent to Feiteng processor.The all-in-one machine screen attitude information is screen rotation
Angle.
Feiteng processor reads the angle for the screen rotation that EC chips are sent by LPC power management channels poll, soars
Compared with processor is by the angle of the angle of the EC chip screen rotations of reading and storage unit storage screen rotation, if not phase
Together, then judge to calculate the angle of angle and storage unit the storage screen rotation of the EC chip screen rotations read difference whether
More than predetermined angle.Feiteng processor continues through LPC power management channels poll and reads the screen that EC chips are sent if identical
The rotating angle of curtain.If the angle of the EC chip screen rotations read and the difference of the angle of storage unit storage screen rotation are big
In predetermined angle, rotation of screen picture is performed, screen attitude information is stored in storage unit.If the EC chip screen rotations read
The difference of angle of angle and storage unit storage screen rotation be less than or equal to predetermined angle, Feiteng processor continues through
LPC power management channels poll reads the angle for the screen rotation that EC chips are sent.
Referring to Fig. 4, Fig. 4 is the side for the automatic Rotation screen picture based on Feiteng processor that the 4th kind of embodiment provides
The flow chart of method.
A kind of method of the automatic Rotation screen picture based on Feiteng processor, the described method comprises the following steps:
Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed
Breath, the acceleration of gravity information are the location information of three dimensions of gravity sensor;
Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one
Machine screen attitude information is sent to Feiteng processor;Angle and screen position of the all-in-one machine screen attitude information for screen rotation
Confidence ceases, and the all-in-one machine screen rotation angle is 0 to 90 degree, and it is respectively transverse screen and portrait layout that screen position, which only has two kinds,;
Step S301:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll;
Step S302:Feiteng processor reads the screen attitude information of storage unit storage;
Step S303:Feiteng processor by the EC chip screen attitude informations of reading and storage unit store screen attitude information into
Row compares, and S304 is entered step if differing, if identical, return to step S301;
Step S304:When the EC chip screens attitude information of reading is transverse screen by Feiteng processor, storage unit storage screen is
During portrait layout, rotation of screen picture shows to be horizontal;When the EC chips screen of reading is portrait layout by Feiteng processor, storage unit is deposited
When storage screen is transverse screen, rotation of screen picture is vertically displayed;
Step S305:Rotation of screen picture is performed, screen attitude information is stored in storage unit.
Gravity sensor is arranged on all-in-one machine, and gravity sensor measurement acceleration caused by gravity obtains gravity-feed tank
Answer the tri- axis location informations of XYZ of the location information of three dimensions of device, i.e. gravity sensor.EC chips can pass through I2C buses
The tri- axis location informations of XYZ that gravity sensor is sent are read in circulation, and calculate the angle of screen rotation.
The gravity sensor is at least one, and gravity sensor is arranged on all-in-one machine, and gravity sensor is connect by I2C
Mouth is connected with EC chips, and EC chips are connected by LPC interfaces with Feiteng processor.Because integral machine support only supports clockwise 90
The rotation of degree, all-in-one machine screen maximum can only rotate clockwise 90 degree.All-in-one machine screen is rotated by being disposed thereon
Gravity sensor measurement acceleration caused by gravity obtains the acceleration of gravity information of all-in-one machine screen rotation.Gravity accelerates
It is real-time update to spend information.The acceleration of gravity information is the location information of three dimensions of gravity sensor, i.e. gravity
The tri- axis location informations of XYZ of inductor.
EC chips can read the location information for three dimensions that gravity sensor is sent by I2C bus cycles.EC cores
Piece calculates all-in-one machine screen attitude information and is sent to Feiteng processor.The all-in-one machine screen attitude information is screen rotation
Angle and screen location information, the all-in-one machine screen rotation angle are 0 to 90 degree, and it is respectively transverse screen that screen position, which only has two kinds,
And portrait layout.Because integral machine support only supports 90 degree clockwise of rotation, all-in-one machine screen rotation angle is 0 to 90 degree, therefore
Only need to judge the Y-axis data variation under screen level and vertical state.When screen level Y-axis data 0x30 ~
In the range of 0x50;When under screen vertical state Y-axis data in the range of 0xf0 ~ 0xff and 0x00 ~ 0x10.Become according to Y-axis data
Change, all-in-one machine screen of just clearly judging to soar is transverse screen or portrait layout state.
Feiteng processor reads the angle and screen for the screen rotation that EC chips are sent by LPC power management channels poll
Positional information, Feiteng processor shield the angle of the EC chip screen rotations of reading and screen location information with storage unit storage
The rotating angle of curtain and screen location information are compared, if differing, determine whether the EC chips screen position read
Information and the screen location information of storage unit storage screen rotation.Feiteng processor continues through LPC power supply pipes if identical
Manage channel polling and read the screen attitude information that EC chips are sent.
When the EC chips screen location information of reading is transverse screen by Feiteng processor, storage unit storage screen location information
For portrait layout when, rotation of screen picture shows to be horizontal;When the EC chips screen location information of reading is portrait layout by Feiteng processor,
When storage unit storage screen location information is transverse screen, rotation of screen picture is vertically displayed.Rotation of screen picture is performed, such as just
To horizontal rotation, reverse vertical rotation, and screen attitude information is stored in storage unit.
Referring to Fig. 5, Fig. 5 is a kind of device of the automatic Rotation screen picture based on Feiteng processor provided by the invention
Structure diagram.
A kind of device of the automatic Rotation screen picture based on Feiteng processor, including gravity sensor 1,2 and of EC chips
Feiteng processor 3, wherein:
Gravity sensor 1 is arranged on all-in-one machine, for obtaining the acceleration of gravity information of all-in-one machine screen rotation;
EC chips 2, for reading the acceleration of gravity information of the transmission of gravity sensor 1 by I2C buses, and calculate all-in-one machine
Screen attitude information is sent to Feiteng processor 3;
Feiteng processor 3, for reading the screen attitude information of the transmission of EC chips 2 by LPC power management channels poll, works as screen
When curtain attitude information meets to send control command during preset condition, rotation of screen picture is performed.
Gravity sensor 1 is arranged on all-in-one machine, and gravity sensor 1 is connected by I2C interface with EC chips 2, EC chips 2
It is connected by LPC interfaces with Feiteng processor 3.The gravity sensor 1, EC chips 2 and Feiteng processor 3 are arranged at mainboard
On.When all-in-one machine screen rotates, measured by the gravity sensor 1 being arranged on all-in-one machine and accelerated caused by gravity
Degree obtains the acceleration of gravity information of all-in-one machine screen rotation.Acceleration of gravity information is real-time update.EC chips 2 can lead to
Cross I2C bus cycles and read the acceleration of gravity information that gravity sensor 1 is sent.EC chips 2 calculate all-in-one machine screen posture
Information is sent to Feiteng processor 3.Feiteng processor 3 reads the screen of the transmission of EC chips 2 by LPC power management channels poll
Attitude information, when screen attitude information meets preset condition, execution rotation of screen picture.
Feiteng processor does not support external equipment to initiate to interrupt in itself, and Feiteng processor passes through LPC power management channel wheels
Ask and read EC chips, obtain screen attitude information, whether interpretation screen rotates.The one of Feiteng processor is now based in fact
After the screen of machine adjusts, screen-picture can follow the direction of rotation of screen to adjust automatically, to improve user experience
Sense.
Except the device of the above-mentioned automatic Rotation screen picture based on Feiteng processor, the present invention also provides including above-mentioned base
In the all-in-one machine of the device of the automatic Rotation screen picture of Feiteng processor, other Each parts of the all-in-one machine refer to now
There is technology.
Above to a kind of device, the all-in-one machine of the automatic Rotation screen picture based on Feiteng processor provided by the present invention
It is described in detail.Specific case used herein is set forth the principle of the present invention and embodiment, and the above is real
The explanation for applying example is only intended to help the core concept for understanding the present invention.It should be pointed out that the ordinary skill for the art
For personnel, without departing from the principle of the present invention, some improvement and modification, these improvement can also be carried out to the present invention
Also fallen into modification in the protection domain of the claims in the present invention.
Claims (10)
- A kind of 1. method of the automatic Rotation screen picture based on Feiteng processor, it is characterised in that the described method includes following Step:Step S100:The acceleration of gravity that all-in-one machine screen rotation is obtained by the gravity sensor being arranged on all-in-one machine is believed Breath;Step S200:EC chips read the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate one Machine screen attitude information is sent to Feiteng processor;Step S300:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll, when Screen attitude information meets preset condition, performs rotation of screen picture.
- 2. the method for the automatic Rotation screen picture according to claim 1 based on Feiteng processor, it is characterised in that institute Stating step S300 is specially:Step S301:Feiteng processor reads the screen attitude information of EC chips transmission by LPC power management channels poll;Step S302:Feiteng processor reads the screen attitude information of storage unit storage;Step S303:Feiteng processor by the EC chip screen attitude informations of reading and storage unit store screen attitude information into Row compares, and S304 is entered step if differing, if identical, return to step S301;Step S304:When screen attitude information meets preset condition, S305, on the contrary then return to step S301 are entered step;Step S305:Rotation of screen picture is performed, screen attitude information is stored in storage unit.
- 3. the method for the automatic Rotation screen picture according to claim 2 based on Feiteng processor, it is characterised in that institute State the location information for three dimensions that acceleration of gravity information is gravity sensor.
- 4. the method for the automatic Rotation screen picture according to claim 3 based on Feiteng processor, it is characterised in that institute State the angle that all-in-one machine screen attitude information is screen rotation.
- 5. the method for the automatic Rotation screen picture according to claim 4 based on Feiteng processor, it is characterised in that institute Stating step S304 is specially:Step S304:Calculate the difference of the angle and the angle of storage unit storage screen rotation of the EC chip screen rotations read Value, if difference is more than predetermined angle, enters step S305, on the contrary then return to step S301.
- 6. the method for the automatic Rotation screen picture according to claim 5 based on Feiteng processor, it is characterised in that institute All-in-one machine screen rotation angle is stated as 0 to 90 degree.
- 7. the method for the automatic Rotation screen picture according to claim 6 based on Feiteng processor, it is characterised in that institute The all-in-one machine screen attitude information for stating the calculating of EC chips further includes screen location information, and the screen position only has two kinds and is respectively Transverse screen and portrait layout.
- 8. the method for the automatic Rotation screen picture according to claim 7 based on Feiteng processor, it is characterised in that institute Stating step S304 is specially:Step S304:When the EC chip screens attitude information of reading is transverse screen by Feiteng processor, storage unit storage screen is During portrait layout, rotation of screen picture shows to be horizontal, and screen attitude information is stored in storage unit;When Feiteng processor is by reading EC chips screen is portrait layout, and when storage unit storage screen is transverse screen, rotation of screen picture is vertically displayed, and screen posture is believed Breath deposit storage unit.
- 9. a kind of device of the automatic Rotation screen picture based on Feiteng processor, it is characterised in that including gravity sensor, EC Chip, Feiteng processor and mainboard, gravity sensor, EC chips, Feiteng processor are arranged on mainboard, wherein:Gravity sensor, for obtaining the acceleration of gravity information of all-in-one machine screen rotation;EC chips, for reading the acceleration of gravity information of gravity sensor transmission by I2C buses, and calculate all-in-one machine screen Curtain attitude information is sent to Feiteng processor;Feiteng processor, for reading the screen attitude information of EC chips transmission by LPC power management channels poll, works as screen When attitude information meets to send control command to screen image rotation unit during preset condition, for performing rotation of screen picture.
- 10. a kind of all-in-one machine, it is characterised in that including the automatic Rotation screen based on Feiteng processor described in claim 9 The device of picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711244731.0A CN107943371A (en) | 2017-11-30 | 2017-11-30 | The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711244731.0A CN107943371A (en) | 2017-11-30 | 2017-11-30 | The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107943371A true CN107943371A (en) | 2018-04-20 |
Family
ID=61947184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711244731.0A Pending CN107943371A (en) | 2017-11-30 | 2017-11-30 | The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943371A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110045753A (en) * | 2019-03-28 | 2019-07-23 | 南京巨鲨显示科技有限公司 | A method of control indicator screen follows display transverse and longitudinal state to rotate automatically |
CN113395554A (en) * | 2020-03-13 | 2021-09-14 | 海信视像科技股份有限公司 | Display device |
CN113497962A (en) * | 2020-03-20 | 2021-10-12 | 海信视像科技股份有限公司 | Configuration method of rotating animation and display equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789322A (en) * | 2011-05-18 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | Screen picture rotation method and system |
CN103019613A (en) * | 2011-09-23 | 2013-04-03 | 鸿富锦精密工业(深圳)有限公司 | Automatic rotating display system based on Windows operation system |
CN103324526A (en) * | 2012-03-19 | 2013-09-25 | 联想(北京)有限公司 | Method for calling sensor |
CN106126153A (en) * | 2016-07-25 | 2016-11-16 | 苏州佰瑞信电子科技有限公司 | A kind of self adaptation angular image real time rotation processor |
CN106125893A (en) * | 2016-06-29 | 2016-11-16 | 浪潮集团有限公司 | A kind of method reducing Overall Power Consumption and noise in desktop computer of soaring |
-
2017
- 2017-11-30 CN CN201711244731.0A patent/CN107943371A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789322A (en) * | 2011-05-18 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | Screen picture rotation method and system |
CN103019613A (en) * | 2011-09-23 | 2013-04-03 | 鸿富锦精密工业(深圳)有限公司 | Automatic rotating display system based on Windows operation system |
CN103324526A (en) * | 2012-03-19 | 2013-09-25 | 联想(北京)有限公司 | Method for calling sensor |
CN106125893A (en) * | 2016-06-29 | 2016-11-16 | 浪潮集团有限公司 | A kind of method reducing Overall Power Consumption and noise in desktop computer of soaring |
CN106126153A (en) * | 2016-07-25 | 2016-11-16 | 苏州佰瑞信电子科技有限公司 | A kind of self adaptation angular image real time rotation processor |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110045753A (en) * | 2019-03-28 | 2019-07-23 | 南京巨鲨显示科技有限公司 | A method of control indicator screen follows display transverse and longitudinal state to rotate automatically |
CN113395554A (en) * | 2020-03-13 | 2021-09-14 | 海信视像科技股份有限公司 | Display device |
CN113497962A (en) * | 2020-03-20 | 2021-10-12 | 海信视像科技股份有限公司 | Configuration method of rotating animation and display equipment |
CN113497962B (en) * | 2020-03-20 | 2023-08-25 | 海信视像科技股份有限公司 | Configuration method of rotary animation and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943371A (en) | The method and device of automatic Rotation screen picture based on Feiteng processor, all-in-one machine | |
CN110045753A (en) | A method of control indicator screen follows display transverse and longitudinal state to rotate automatically | |
US9464752B2 (en) | Monitor stand assembly | |
US9256249B2 (en) | Stand assembly and monitor | |
CN107085510A (en) | The situational wake-up word suspended for starting voice command input | |
JP2016509274A (en) | Method, apparatus, facility, program and recording medium for controlling rotation of screen screen | |
CN107889028A (en) | For adjusting device, method and the computer-readable recording medium of volume | |
US20140375698A1 (en) | Method for adjusting display unit and electronic device | |
CN111813290B (en) | Data processing method and device and electronic equipment | |
US20160179357A1 (en) | Method, device and terminal for implementing rotation of floating window | |
CN103257825B (en) | A kind of method and apparatus regulating playing progress rate | |
CN104898920B (en) | The method and apparatus of moving in rotation terminal screen picture | |
CN109962514A (en) | A kind of charging method and mobile terminal | |
CN111710047A (en) | Information display method and device and electronic equipment | |
CN106451593A (en) | Wireless charging device and method, and wireless charging receiver | |
CN106445334A (en) | Adjustment method and adjustment system for display interface | |
TW201118594A (en) | Server system | |
CN108064363A (en) | Electronic device and its display control method | |
CN109257504A (en) | A kind of audio-frequency processing method and terminal device | |
WO2021179802A1 (en) | Extension control method and apparatus for extensible component, and storage medium, and electronic device | |
CN109375708A (en) | A kind of display methods, mobile terminal | |
CN110806801B (en) | Prompting method and mobile terminal | |
KR102157295B1 (en) | Method for processing image data and an electronic device thereof | |
CN106055065A (en) | Method and device for controlling charging current, and electronic equipment | |
CN206452485U (en) | Carry touch display screen and support HDMI to input the control system of projecting apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |