Television angle adjusting method and device, television and storage medium

文档序号:1357168 发布日期:2020-07-24 浏览:20次 中文

阅读说明:本技术 一种电视机角度调节方法、装置、电视机及存储介质 (Television angle adjusting method and device, television and storage medium ) 是由 马连群 于 2020-03-06 设计创作,主要内容包括:本发明公开了一种电视机角度调节方法、装置、电视机及存储介质,所述方法包括:接收旋转指令,根据所述旋转指令控制电视机转动;在转动的过程中,获取所述电视机的当前角度数据,并根据所述当前角度数据确定所述电视机是否停止转动。本发明通过获取电视机的当前角度数据,并根据当前角度数据来对电视机的转动进行控制,避免因过度旋转而导致异常现象发生,且给用户提供了最佳观看视角。(The invention discloses a method and a device for adjusting the angle of a television, the television and a storage medium, wherein the method comprises the following steps: receiving a rotation instruction, and controlling the television to rotate according to the rotation instruction; and in the rotating process, acquiring the current angle data of the television, and determining whether the television stops rotating or not according to the current angle data. According to the invention, the current angle data of the television is acquired, and the rotation of the television is controlled according to the current angle data, so that abnormal phenomena caused by over-rotation are avoided, and the optimal viewing angle is provided for users.)

1. A method for adjusting the angle of a television is characterized by comprising the following steps:

receiving a rotation instruction, and controlling the television to rotate according to the rotation instruction;

and in the rotating process, acquiring the current angle data of the television, and determining whether the television stops rotating or not according to the current angle data.

2. The method for adjusting the angle of a television set according to claim 1, wherein the receiving a rotation command and controlling the rotation of the television set according to the rotation command comprises:

receiving a rotation instruction sent by remote control equipment, wherein the rotation instruction comprises a left-turn instruction or a right-turn instruction;

and sending a driving instruction to a direct current motor of the television according to the rotating instruction, and controlling the direct current motor to rotate.

3. The method according to claim 2, wherein the received rotation command transmitted from the remote control device includes:

after the rotation instruction is received, analyzing the rotation instruction, and determining that the turning instruction is the left turning instruction or the right turning instruction.

4. The method according to claim 1, wherein the obtaining current angle data of the tv set during the rotation comprises:

in the rotating process, a gyroscope sensor preset on the television is controlled to acquire current angle data of the television in a polling mode, wherein the current angle data is used for reflecting the rotated angle value of the television.

5. The method for adjusting the angle of a tv set according to claim 1, wherein the determining whether the tv set stops rotating according to the current angle data comprises:

comparing the current angle data with a preset angle threshold;

if the current angle data is smaller than the angle threshold, continuing to control the television to rotate;

and if the current angle data is equal to the angle threshold, controlling the television to stop rotating.

6. The method according to claim 5, wherein the angle threshold is 90 degrees for left turn and 90 degrees for right turn.

7. The method according to claim 1, wherein said determining whether the tv set stops rotating according to the current angle data further comprises:

and when the television receives a rotation stopping instruction, controlling the television to stop rotating.

8. An angle adjusting device for a television, the device comprising:

the instruction receiving unit is used for receiving a rotation instruction and controlling the television to rotate according to the rotation instruction;

and the rotation control unit is used for acquiring the current angle data of the television in the rotation process and determining whether the television stops rotating or not according to the current angle data.

9. A television comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-7.

10. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of claims 1-7.

Technical Field

The invention relates to the technical field of televisions, in particular to a method and a device for adjusting an angle of a television, the television and a storage medium.

Background

With the continuous development and innovation of scientific technology, the application technology of the television is also continuously improved, meanwhile, the requirements and requirements of users on product performance and experience are higher and higher, and the high requirements on product performance enable the functions and the use scenes of the television to be more and more diversified, and even the television tends to be mobile terminal. The future development trend of the television is not limited to digital or analog signal display equipment any more, but is more important in large-screen display and intelligent terminals.

At present, the application of the rotary element in the field of televisions is not very wide, but the appearance of the rotary television is not poor in the market. The existing rotating elements on the television mainly realize the rotating function by utilizing structures such as a rotating bracket and a rotating base, and the mechanical operation of the base drives the television main body to rotate. However, the television in the prior art is easy to have the problem of over-rotation when rotating, thereby causing abnormal phenomena, such as damage to internal circuits and the like.

Thus, there is still a need for improvement and development of the prior art.

Disclosure of Invention

The present invention provides a method and an apparatus for adjusting an angle of a television, a television and a storage medium, aiming to solve the problem that the television in the prior art is easy to rotate excessively when rotating, thereby causing an abnormal phenomenon.

The technical scheme adopted by the invention for solving the problems is as follows:

in a first aspect, an embodiment of the present invention provides a method for adjusting an angle of a television, where the method includes:

receiving a rotation instruction, and controlling the television to rotate according to the rotation instruction;

and in the rotating process, acquiring the current angle data of the television, and determining whether the television stops rotating or not according to the current angle data.

In one embodiment, the receiving a rotation command and controlling the television to rotate according to the rotation command includes:

receiving a rotation instruction sent by remote control equipment, wherein the rotation instruction comprises a left-turn instruction or a right-turn instruction;

and sending a driving instruction to a direct current motor of the television according to the rotating instruction, and controlling the direct current motor to rotate.

In one embodiment, the received rotation instruction sent by the remote control device includes:

after the rotation instruction is received, analyzing the rotation instruction, and determining that the turning instruction is the left turning instruction or the right turning instruction.

In one embodiment, the acquiring current angle data of the television during the rotation includes:

in the rotating process, a gyroscope sensor preset on the television is controlled to acquire current angle data of the television in a polling mode, wherein the current angle data is used for reflecting the rotated angle value of the television.

In one embodiment, the determining whether the television set stops rotating according to the current angle data includes:

comparing the current angle data with a preset angle threshold;

if the current angle data is smaller than the angle threshold, continuing to control the television to rotate;

and if the current angle data is equal to the angle threshold, controlling the television to stop rotating.

In one embodiment, the angle threshold is 90 degrees left turn and 90 degrees right turn.

In one embodiment, the determining whether the television set stops rotating according to the current angle data further includes:

and when the television receives a rotation stopping instruction, controlling the television to stop rotating.

In a second aspect, an embodiment of the present invention further discloses a device for adjusting an angle of a television, where the device includes:

the instruction receiving unit is used for receiving a rotation instruction and controlling the television to rotate according to the rotation instruction;

and the rotation control unit is used for acquiring the current angle data of the television in the rotation process and determining whether the television stops rotating or not according to the current angle data.

In a third aspect, the present invention also provides a television set, including a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include a program for executing the television set angle adjusting method according to any one of the above methods.

In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a television angle adjustment method as described in any one of the above.

The invention has the beneficial effects that: according to the invention, the current angle data of the television is acquired, and the rotation of the television is controlled according to the current angle data, so that abnormal phenomena caused by over-rotation are avoided, and the optimal viewing angle is provided for users.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic flow chart of a method for adjusting an angle of a television according to an embodiment of the present invention.

Fig. 2 is a schematic block diagram of a television angle adjusting apparatus according to an embodiment of the present invention.

Fig. 3 is a schematic block diagram of an internal structure of a television according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.

Exemplary method

Because the existing rotating elements on the television mainly utilize structures such as a rotating bracket and a rotating base to realize the rotating function, the mechanical operation of the base drives the television main body to realize the rotation. Since a mechanical block (limit switch) is not added in the structural aspect, the rotation angle of the television cannot be judged in the process of driving the television to rotate by the direct current motor, and if the operation of manually and actively stopping the rotation of the motor is not performed in the process of driving the television to rotate, the television rotates infinitely, and internal wires and other equipment are damaged. Therefore, in order to solve the problems in the prior art, the present embodiment provides a method for adjusting an angle of a television, specifically as shown in fig. 1, the method includes:

s100, receiving a rotation instruction, and controlling the television to rotate according to the rotation instruction;

step S200, in the rotating process, obtaining the current angle data of the television, and determining whether the television stops rotating according to the current angle data.

After receiving the rotation instruction, the television of the embodiment controls the television to rotate according to the rotation instruction, acquires the current angle data of the television, and controls the rotation of the television according to the current angle data, thereby avoiding abnormal phenomena caused by over-rotation, and providing the best viewing angle for users

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:视频生成方法、装置、终端及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类