CN111093063B - Position display method and device for motor device - Google Patents
Position display method and device for motor device Download PDFInfo
- Publication number
- CN111093063B CN111093063B CN201911334752.0A CN201911334752A CN111093063B CN 111093063 B CN111093063 B CN 111093063B CN 201911334752 A CN201911334752 A CN 201911334752A CN 111093063 B CN111093063 B CN 111093063B
- Authority
- CN
- China
- Prior art keywords
- rotation
- motor
- angle
- determining
- motor equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/20—Adaptations for transmission via a GHz frequency band, e.g. via satellite
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q3/00—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
- H01Q3/22—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system varying the orientation in accordance with variation of frequency of radiated wave
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The embodiment of the invention provides a position display method and device of motor equipment, wherein the method comprises the following steps: when a motor equipment rotation request input by a user is received, acquiring the current position of the motor equipment, obtaining an initial position, and rotating the motor equipment, wherein the motor equipment rotation request comprises a position determination mode; determining the rotation angle of the motor equipment according to the position determination mode in the rotation process of the motor equipment; the position of the motor equipment after rotation is obtained according to the initial position and the rotation angle and displayed, the position of the motor equipment is determined, a user can visually determine the current position of the motor equipment according to the displayed position, and therefore the satellite is searched according to the current position of the motor antenna, and the difficulty of searching the satellite is reduced.
Description
Technical Field
The embodiment of the invention relates to the technical field of televisions, in particular to a position display method and device of motor equipment.
Background
In some areas, users need to install a Digital Satellite Control equipment (Digital Satellite equipment Control, referred to as "DiSEqC") motor antenna to view different channels by using the motor antenna.
In the prior art, when a user watches different channels by using a motor antenna, a television terminal often needs to send a rotation command to the motor antenna to rotate the motor antenna and search for satellites on different orbits.
However, the inventors found that at least the following problems exist in the prior art: since DiSEqC is a unidirectional communication protocol, the television terminal and the motor antenna can only perform unidirectional communication, that is, the television terminal can only send information or instructions to the motor antenna, so that the motor antenna cannot send the current position to the television terminal in the rotation process of the motor antenna, and a user cannot search for a satellite according to the current position of the motor antenna, thereby increasing the difficulty in searching for the satellite.
Disclosure of Invention
The embodiment of the invention provides a position display method and device of motor equipment, which are used for reducing the difficulty of searching satellites.
In a first aspect, an embodiment of the present invention provides a position display method for a motor device, including:
when a motor equipment rotation request input by a user is received, acquiring the current position of the motor equipment, obtaining an initial position, and rotating the motor equipment, wherein the motor equipment rotation request comprises a position determination mode;
determining the rotation angle of the motor equipment according to the position determination mode in the rotation process of the motor equipment;
and obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle, and displaying the position.
In one possible design, the position determination mode includes a duration determination mode and an angle determination mode;
the determining the rotation angle of the motor device according to the position determination manner includes:
if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate;
and if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining the rotation angle according to the rotation value.
In one possible design, the determining the rotation angle based on the rotation rate includes:
acquiring a first rotation time length, wherein the first rotation time length is from the moment when the motor device starts to rotate to the current moment;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the obtaining the rotation rate of the motor apparatus includes:
obtaining the model of the motor equipment selected by a user and obtaining frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
searching motor equipment data corresponding to the model;
and searching the rotation rate corresponding to the current working voltage from the motor equipment data.
In one possible design, the obtaining the rotation rate of the motor apparatus includes:
acquiring user-defined motor equipment data input by a user and acquiring frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
and searching the rotation rate corresponding to the current working voltage from the user-defined motor equipment data.
In one possible design, the determining the rotation angle from the rotation value includes:
obtaining a second rotation duration according to the rotation value and a preset rotation maximum value;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the motor apparatus rotation request includes a direction of rotation;
the obtaining of the position of the motor device after rotation according to the initial position and the rotation angle includes:
if the rotating direction is the first direction, acquiring the sum of the initial position and the rotating angle to obtain the position of the motor equipment after rotating;
and if the rotating direction is a second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
In a second aspect, an embodiment of the present invention provides a position display apparatus of a motor apparatus, including:
the device comprises a request processing module, a position determining module and a position determining module, wherein the request processing module is used for acquiring the current position of the motor equipment to obtain an initial position and rotating the motor equipment when receiving a motor equipment rotation request input by a user, and the motor equipment rotation request comprises a position determining mode;
the angle determining module is used for determining the rotation angle of the motor equipment according to the position determining mode in the rotation process of the motor equipment;
and the position display module is used for obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle and displaying the position.
In one possible design, the position determination mode includes a duration determination mode and an angle determination mode;
the angle determination module is specifically configured to:
if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate;
and if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining the rotation angle according to the rotation value.
In one possible design, the angle determining module is further specifically configured to:
acquiring a first rotation time length, wherein the first rotation time length is from the moment when the motor device starts to rotate to the current moment;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the angle determining module is further specifically configured to:
obtaining the model of the motor equipment selected by a user and obtaining frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
searching motor equipment data corresponding to the model;
and searching the rotation rate corresponding to the current working voltage from the motor equipment data.
In one possible design, the angle determining module is further specifically configured to:
acquiring user-defined motor equipment data input by a user and acquiring frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
and searching the rotation rate corresponding to the current working voltage from the user-defined motor equipment data.
In one possible design, the angle determining module is further specifically configured to:
obtaining a second rotation duration according to the rotation value and a preset rotation maximum value;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the motor apparatus rotation request includes a direction of rotation;
the position display module is specifically configured to:
if the rotating direction is the first direction, acquiring the sum of the initial position and the rotating angle to obtain the position of the motor equipment after rotating;
and if the rotating direction is a second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
In a third aspect, an embodiment of the present invention provides a position display apparatus of a motor apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of displaying a position of a motor apparatus according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method for displaying a position of a motor apparatus according to any one of the first aspect is implemented.
According to the method and the device for displaying the position of the motor device, when a rotation request of the motor device is received, the current position of the motor device is obtained to obtain the initial position of the motor device, the motor device starts to rotate, the rotating angle of the motor device is determined according to a position determining mode in the rotating process of the motor device, then the rotated position of the motor device is obtained according to the initial position and the rotating angle of the motor device, and the rotated position is displayed, so that the position of the motor device is determined, a user can visually determine the current position of the motor device through the displayed position, a satellite is searched according to the current position of a motor antenna, the satellite is convenient to find, and the difficulty of searching the satellite is reduced.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of a position display system of a motor apparatus according to an embodiment of the present invention;
fig. 2 is a first flowchart of a position display method of a motor apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a motor device model selection page provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of a data custom page of a motor device according to an embodiment of the present invention;
fig. 5 is a second flowchart of a position display method of a motor apparatus according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a position display apparatus of a motor apparatus according to an embodiment of the present invention;
fig. 7 is a schematic hardware configuration diagram of a position display device of a motor device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic structural diagram of a position display system of a motor apparatus according to an embodiment of the present invention. As shown in fig. 1, the system includes a remote controller 100A, a mobile terminal 100B, a terminal 200 and a motor antenna 300, and a user can control the terminal 200 to perform some operations through a remote control device such as the remote controller 100A or the mobile terminal 100B, for example, when the user watches different channels through the motor antenna, the user often needs to input a corresponding rotation request to the terminal 200 through the remote control device, and the terminal 200 rotates the motor antenna 300 according to the rotation request.
The terminal 200 may be a television terminal, among others. When the terminal rotates the antenna, the terminal actually rotates the motor, so that the motor drives the antenna to rotate.
In order to make the motor antenna receive satellite signals better, the motor device is generally installed on a roof or the like.
In the prior art, when a user watches different channels by using a motor antenna, the terminal 200 often needs to send a rotation command to the motor antenna 300 to rotate the motor antenna 300 and search for a satellite on a different orbit, for example, when the user switches from a channel a to B, the user needs to rotate the motor antenna to search for a satellite on which a channel B is distributed when the orbit of the satellite on which the channel a is distributed is different from the orbit of the satellite on which the channel B is distributed. However, since DiSEqC is a unidirectional communication protocol, only unidirectional communication can be performed between the terminal 200 and the motor antenna 300, that is, the terminal 200 can only send information or instructions to the motor antenna 300, and the motor antenna 300 cannot send information to the terminal 200, so that in the rotation process of the motor antenna, the motor antenna cannot send the current position to the terminal at regular time or in real time, and a user cannot directly see the motor device, and therefore, the user cannot directly obtain the current position of the motor antenna through the terminal or himself, cannot search for a satellite according to the current position of the motor antenna, cannot determine whether the motor antenna is rotated to a target position, and increases difficulty in searching for the satellite.
The application aims at the problems in the prior art and provides a position display method of motor equipment, the method obtains the current position of the motor device to obtain the initial position of the motor device by obtaining the current position of the motor device when receiving the rotation request of the motor device, and starts to rotate the motor device, during the rotation of the motor device, the rotating angle of the motor device is determined according to the position determining mode, then the position of the motor device after rotation is obtained according to the initial position of the motor device and the rotated angle, and displays the rotated position to realize the position determination of the motor equipment, so that the user can intuitively determine the current position of the motor equipment according to the displayed position, therefore, the satellite is searched according to the current position of the motor antenna, whether the motor antenna is rotated to the target position or not is determined, the satellite is convenient to find, and the difficulty in searching the satellite is reduced.
Wherein the motor device may be a motor antenna.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart of a first method for displaying a position of a motor device according to an embodiment of the present invention. The terminal device may be the terminal device in fig. 1, and as shown in fig. 2, the method of this embodiment may include:
s201: when a motor device rotation request input by a user is received, the current position of the motor device is obtained, an initial position is obtained, and the motor device is rotated, wherein the motor device rotation request comprises a position determination mode.
In this embodiment, when a user needs to rotate the motor device, a corresponding motor device rotation request is input through the remote control device, and when the terminal device receives the motor device rotation request, it indicates that the motor device needs to be rotated, obtains a current position of the motor device, obtains an initial position of the motor device, and controls the motor device to rotate, that is, controls the motor device to start rotating.
When the motor device rotates, the motor device needs to rotate according to a certain rotation direction, that is, the motor device rotates in a certain rotation direction, and therefore, the rotation request of the motor device can also include the rotation direction. Alternatively, the user may input or select the rotation direction solely through the remote control device.
S202: and during the rotation process of the motor equipment, determining the rotation angle of the motor equipment according to the position determination mode.
In this embodiment, during the rotation of the motor apparatus, the rotation angle of the motor apparatus may be determined according to a position determination manner input by the user. The rotation angle refers to the rotated azimuth angle.
The position determination mode can be directly obtained from a rotation request of the motor device, and a user can also independently input or select the position determination mode through a remote control device.
The position determining mode comprises a duration determining mode and an angle determining mode.
In this embodiment, when the position determination mode is the time length determination mode, the rotation angle is determined according to the rotation rate and the first rotation time length, and when the position determination mode is the angle determination mode, the angle of a single rotation is determined according to a step value input by a user. The specific process is as follows: and if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate. And if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining the rotation angle according to the rotation value.
In the present embodiment, when the rotation angle is determined according to the time period determination manner, the first rotation time period is acquired, where the first rotation time period is from the time when the motor apparatus starts rotating to the present time. And obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In the present embodiment, when the motor apparatus starts rotating, the timing is recorded. When the rotation angle needs to be determined, a first rotation time length is obtained, wherein the first rotation time length is the time length from the moment when the motor equipment starts to rotate to the current moment, namely the time length from the moment when the motor equipment starts to rotate to the current moment, and the motor equipment rotates at a constant speed according to the rotation speed when the rotation angle is determined according to the time length determining mode, so that the angle rotated by the motor equipment in the first rotation time length can be obtained by calculating the product of the first rotation time length and the rotation speed, and the rotation angle is obtained.
When the rotation rate of the motor device is obtained, the determination can be performed according to the motor device selected by the user, and the specific process is as follows: the model of the motor device selected by the user is acquired, and the frequency locking data is acquired. And determining the current working voltage of the motor equipment according to the frequency locking data. And searching motor equipment data corresponding to the model. And searching the rotation rate corresponding to the current working voltage from the motor equipment data.
In the present embodiment, when the user is required to determine the model of the motor apparatus, a motor apparatus model selection page (as shown in fig. 3) including a plurality of motor apparatus models may be displayed, and the user selects the motor apparatus model, i.e., the model of the motor apparatus used, which is, for example, DG 380. After receiving the model of the motor equipment selected by a user, obtaining motor equipment data corresponding to the model, wherein the motor equipment data comprises working voltages and rotation rates corresponding to the working voltages. The motor apparatus data further includes a total Angle of rotation, namely Satellite Position, and further includes a maximum Azimuth Angle of rotation, namely Azimuth Angle.
And acquiring frequency locking data, wherein the frequency locking data is satellite frequency locking data and comprises data of a satellite transmission mode, high and low local oscillators, symbol and the like. When the transmission mode is horizontal transmission, the operating voltage of the motor device is 18V, that is, the current operating voltage is 18V, and when the transmission mode is vertical transmission, the operating voltage of the motor device is 13V, that is, the current operating voltage is 13V.
And obtaining the current working voltage according to the working voltage corresponding to the transmission mode in the frequency locking data, and searching the rotation rate corresponding to the current working voltage from the motor equipment data corresponding to the model.
When the model of the motor equipment which is not used is displayed on the selection page, the user can carry out self-definition, namely, a user clicks or selects a self-definition button on the UI page, the terminal equipment responds to the user and displays the self-definition page, and the user can input corresponding information on the self-definition page to obtain self-defined motor equipment data. For example, the User clicks or selects the User define button in fig. 3, and then enters the data customization page of the motor device as shown in fig. 4, where the rotation rate, Satellite Position and Azimuth Angle corresponding to different operating voltages are input.
After the user-defined motor device data is obtained, the user-defined motor device data can be stored in a preset table.
Optionally, obtaining the rotation rate of the motor device includes:
and acquiring user-defined motor equipment data input by a user and acquiring frequency locking data.
And determining the current working voltage of the motor equipment according to the frequency locking data.
And searching the rotation rate corresponding to the current working voltage from the data of the self-defined motor equipment.
In this embodiment, when determining the rotation rate of the motor device, the rotation rate corresponding to the current operating voltage may also be searched from the custom motor data.
Alternatively, in determining the rotation rate of the motor apparatus, the determination may be made directly from a sensor (e.g., a rate sensor) mounted on the motor.
Optionally, determining the rotation angle according to the rotation value includes:
obtaining a second rotation duration according to the rotation value and a preset rotation maximum value;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In this embodiment, the step value is specified in the Digital software equp Control protocol standard to be in the range of 1-127, i.e. the maximum rotation value is preset to be 127. The time period required to acquire the maximum value of the single rotation, that is, the time period required to acquire the maximum value of the single rotation, for example, when the rotation value input by the user, that is, the Step value is 127, 1 second is required for one rotation, and therefore, the second rotation time period is determined based on T ═ Step/Smax · T, where T is the second rotation time period, Step is the rotation value input by the user, Smax is the preset rotation maximum value, and T is the time period required for the maximum value of the single rotation. After the second rotation period is determined, the product of the second period and the rotation rate of the motor apparatus is calculated to obtain the rotation angle, i.e., the single rotation angle.
Optionally, since the diseqc1.2 protocol is a unidirectional communication protocol, there may be a case where the terminal sends a rotation instruction or a rotation stop instruction to the motor device, but the motor device does not have the instruction, so that a deviation occurs in the position calculation. Therefore, when a deviation occurs, it is possible to rotate the motor apparatus again by sending a clear instruction to the motor apparatus to rotate the motor apparatus to a default position and taking the default position as an initial position. For example, the clear instruction is a go to null position instruction, and the default position is 0.
In determining whether the position calculation is deviated or not, it may be determined by whether satellite signals are received within a preset time, and if satellite signals are not received within the preset time, it may be considered that the deviation is occurred.
S203: and obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle, and displaying.
In this embodiment, after the initial position and the rotation angle of the motor device are determined, the position of the motor device after rotation, that is, the current azimuth angle of the motor device, can be determined according to the initial position and the rotation angle. After the position of the motor device after rotation is determined, the position is displayed.
When the current azimuth angle of the motor device is displayed, only the specific azimuth angle size can be displayed on the display page, and the simulated motor device and the current azimuth angle thereof can also be displayed on the display page.
As can be seen from the above description, when a rotation request of the motor device is received, the current position of the motor device is obtained to obtain the initial position of the motor device, and the motor device starts to rotate, in the rotation process of the motor device, the rotation angle of the motor device is determined according to the position determination manner, then the rotated position of the motor device is obtained according to the initial position of the motor device and the rotation angle, and the rotated position is displayed, so that the determination of the position of the motor device is realized, and a user can visually determine the current position of the motor device through the displayed position, so as to find a satellite according to the current position of the motor antenna, thereby facilitating the finding of the satellite and reducing the difficulty of the finding of the satellite.
When determining the rotated position of the motor device, the determination may be performed according to the initial position and the rotation angle of the motor device, and the following describes a process of determining the rotated position of the motor device according to the initial position and the rotation angle in detail with reference to a specific embodiment.
Fig. 5 is a second flowchart of a position displaying method of a motor device according to an embodiment of the present invention, and as shown in fig. 5, on the basis of the above embodiment, a process of determining a position of the motor device after rotation according to an initial position and a rotation angle is described in detail, where the method of this embodiment includes:
s501: when a motor device rotation request input by a user is received, the current position of the motor device is obtained, an initial position is obtained, and the motor device is rotated, wherein the motor device rotation request comprises a position determination mode.
S502: and during the rotation process of the motor equipment, determining the rotation angle of the motor equipment according to the position determination mode.
S503: and obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle, and displaying.
The specific implementation of S501 to S503 is similar to S201 and S203 in the above embodiments, and is not described here again.
S504: and if the rotating direction is the first direction, acquiring the sum of the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
In this embodiment, the central position of the motor device is defined as 0, and the larger the azimuth angle is when rotating in the first direction, the smaller the azimuth angle is when rotating in the second direction. The first direction may be east and the second direction may be west.
Correspondingly, when the rotation direction in the rotation request of the motor device is the first direction, and the rotation direction of the motor device during rotation is the first direction, that is, when the motor device rotates towards the first direction, after the initial position and the rotation angle of the motor device are determined, the sum of the initial position and the rotation angle is calculated, and the position of the motor device after rotation, that is, the azimuth angle corresponding to the position of the motor device after rotation is obtained.
S505: and if the rotating direction is the second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
In this embodiment, when the rotation direction in the rotation request of the motor device is the second direction, and the rotation direction of the motor device during rotation is the second direction, that is, when the motor device rotates toward the second direction, after the initial position and the rotation angle of the motor device are determined, the rotation angle is subtracted from the initial position, and then the position after the rotation of the motor device, that is, the azimuth angle corresponding to the position where the rotated motor device is located, is obtained.
In this embodiment, a maximum rotation azimuth angle and a minimum rotation azimuth angle are obtained, where the maximum rotation azimuth angle represents an azimuth angle corresponding to a maximum position that can be reached when the motor device rotates in the first direction. The minimum rotation azimuth angle represents an azimuth angle corresponding to a minimum position to which the motor apparatus can rotate when rotating in the second direction.
And when the sum of the initial position and the rotation angle of the motor equipment is greater than the maximum rotation azimuth angle, taking the maximum rotation azimuth angle as the position of the motor equipment after rotation.
And when the difference between the initial position and the rotation angle of the motor equipment is smaller than the minimum rotation azimuth angle, taking the minimum rotation azimuth angle as the position of the motor equipment after rotation.
The first direction may be east, that is, when the motor apparatus rotates to east, the sum of the initial position and the rotation angle is obtained to obtain the position of the motor apparatus after rotation. The second direction may be west, that is, when the motor apparatus rotates to west, the difference between the initial position and the rotation angle is obtained, and the position after the motor apparatus rotates is obtained.
It should be emphasized that the above-mentioned motor device is only an example when the motor device rotates in the first direction, the larger the azimuth angle is, and when the motor device rotates in the second direction, the smaller the azimuth angle is, and it can also be defined that when the motor device rotates in the first direction, the smaller the azimuth angle is, and when the motor device rotates in the second direction, the larger the azimuth angle is.
In this embodiment, after the initial position and the rotation angle of the motor device are obtained, the position of the motor device after rotation can be determined according to the rotation direction of the motor device, and the rotation position of the motor device can be automatically determined.
Fig. 6 is a schematic structural diagram of a position display apparatus of a motor apparatus according to an embodiment of the present invention, as shown in fig. 6, a position display apparatus 600 of a motor apparatus according to this embodiment may include: a request processing module 601, an angle determination module 602, and a position display module 603.
The request processing module 601 is configured to, when a motor device rotation request input by a user is received, obtain a current position of the motor device, obtain an initial position, and rotate the motor device, where the motor device rotation request includes a position determination manner.
An angle determining module 602, configured to determine a rotation angle of the motor device according to the position determining manner during the rotation of the motor device.
And a position display module 603, configured to obtain a position of the motor device after rotation according to the initial position and the rotation angle, and display the position.
In one possible design, the position determination mode includes a duration determination mode and an angle determination mode.
The angle determination module is specifically configured to:
and if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate.
And if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining a rotation angle according to the rotation value.
In one possible design, the angle determining module is further specifically configured to:
a first rotation period is obtained, wherein the first rotation period is from the moment when the motor apparatus starts to rotate to the current moment.
And obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the angle determining module is further specifically configured to:
the model of the motor device selected by the user is acquired, and the frequency locking data is acquired.
And determining the current working voltage of the motor equipment according to the frequency locking data.
And searching motor equipment data corresponding to the model.
And searching the rotation rate corresponding to the current working voltage from the motor equipment data.
In one possible design, the angle determining module is further specifically configured to:
and acquiring user-defined motor equipment data input by a user and acquiring frequency locking data.
And determining the current working voltage of the motor equipment according to the frequency locking data.
And searching the rotation rate corresponding to the current working voltage from the data of the self-defined motor equipment.
In one possible design, the angle determining module is further specifically configured to:
and obtaining a second rotation duration according to the rotation value and the preset rotation maximum value.
And obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
In one possible design, the motor apparatus rotation request includes a direction of rotation.
The position display module is specifically configured to:
and if the rotating direction is the first direction, acquiring the sum of the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
And if the rotating direction is the second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
The position display device of the motor device according to the embodiment of the present invention can implement the position display method of the motor device according to the above-described embodiment, and the implementation principle and the technical effect are similar, and are not described herein again.
Fig. 7 is a schematic hardware configuration diagram of a position display device of a motor device according to an embodiment of the present invention. As shown in fig. 7, the present embodiment provides a position display apparatus 700 of a motor apparatus including: at least one processor 701 and a memory 702. The processor 701 and the memory 702 are connected by a bus 703.
In a specific implementation process, the at least one processor 701 executes computer-executable instructions stored in the memory 702, so that the at least one processor 701 executes the position display method of the motor apparatus in the above method embodiment.
For a specific implementation process of the processor 701, reference may be made to the above method embodiments, which implement principles and technical effects similar to each other, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 7, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the position display method of the motor device of the embodiment of the method is realized.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A position display method of a motor apparatus, comprising:
when a motor equipment rotation request input by a user is received, acquiring the current position of the motor equipment, obtaining an initial position, and rotating the motor equipment, wherein the motor equipment rotation request comprises a position determination mode; the position determining mode comprises a duration determining mode and an angle determining mode; the motor device is a motor antenna;
determining the rotation angle of the motor equipment according to the position determination mode in the rotation process of the motor equipment;
obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle, and displaying the position;
wherein the determining the rotation angle of the motor apparatus according to the position determination manner includes:
if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate;
if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining the rotation angle according to the rotation value;
the motor apparatus rotation request comprises a rotation direction;
the obtaining of the position of the motor device after rotation according to the initial position and the rotation angle includes:
if the rotating direction is the first direction, acquiring the sum of the initial position and the rotating angle to obtain the position of the motor equipment after rotating;
and if the rotating direction is a second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
2. The method of claim 1, wherein said determining said rotation angle from said rate of rotation comprises:
acquiring a first rotation time length, wherein the first rotation time length is from the moment when the motor device starts to rotate to the current moment;
and obtaining the product of the rotation speed and the first rotation time length to obtain the rotation angle.
3. The method of claim 2, wherein said obtaining a rotational rate of said motor apparatus comprises:
obtaining the model of the motor equipment selected by a user and obtaining frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
searching motor equipment data corresponding to the model;
and searching the rotation rate corresponding to the current working voltage from the motor equipment data.
4. The method of claim 2, wherein said obtaining a rotational rate of said motor apparatus comprises:
acquiring user-defined motor equipment data input by a user and acquiring frequency locking data;
determining the current working voltage of the motor equipment according to the frequency locking data;
and searching the rotation rate corresponding to the current working voltage from the user-defined motor equipment data.
5. The method of claim 1, wherein said determining the rotation angle from the rotation value comprises:
obtaining a second rotation duration according to the rotation value and a preset rotation maximum value;
and obtaining the product of the rotation rate and the second rotation duration to obtain the rotation angle.
6. A position display device of a motor device, characterized by comprising:
the device comprises a request processing module, a position determining module and a position determining module, wherein the request processing module is used for acquiring the current position of the motor equipment to obtain an initial position and rotating the motor equipment when receiving a motor equipment rotation request input by a user, and the motor equipment rotation request comprises a position determining mode; the position determining mode comprises a duration determining mode and an angle determining mode; the motor device is a motor antenna;
the angle determining module is used for determining the rotation angle of the motor equipment according to the position determining mode in the rotation process of the motor equipment;
the position display module is used for obtaining the position of the motor equipment after rotation according to the initial position and the rotation angle and displaying the position;
wherein the angle determination module is specifically configured to:
if the position determination mode is a duration determination mode, acquiring the rotation rate of the motor equipment, and determining the rotation angle according to the rotation rate;
if the position determination mode is an angle determination mode, acquiring a rotation value input by a user, and determining the rotation angle according to the rotation value;
the motor apparatus rotation request includes a rotation direction;
the position display module is specifically configured to: if the rotating direction is the first direction, the sum of the initial position and the rotating angle is obtained, and the position of the motor equipment after rotating is obtained; and if the rotating direction is the second direction, acquiring the difference between the initial position and the rotating angle to obtain the position of the motor equipment after rotating.
7. A position display device of a motor device, characterized by comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the position display method of the motor apparatus of any one of claims 1 to 5.
8. A computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the position display method of the motor apparatus according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911334752.0A CN111093063B (en) | 2019-12-23 | 2019-12-23 | Position display method and device for motor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911334752.0A CN111093063B (en) | 2019-12-23 | 2019-12-23 | Position display method and device for motor device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111093063A CN111093063A (en) | 2020-05-01 |
CN111093063B true CN111093063B (en) | 2022-01-14 |
Family
ID=70395286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911334752.0A Active CN111093063B (en) | 2019-12-23 | 2019-12-23 | Position display method and device for motor device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111093063B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1122169A (en) * | 1994-01-20 | 1996-05-08 | 新日本制铁株式会社 | Satellite broadcast receiving mobile antenna device |
CN1943075A (en) * | 2004-03-11 | 2007-04-04 | 茵泰莱恩技术有限公司 | Satellite tracking antenna system and method therefor |
CN101325278A (en) * | 2007-06-11 | 2008-12-17 | 扬智科技股份有限公司 | Display method of disc antenna for digital image satellite broadcasting |
CN102723602A (en) * | 2012-06-29 | 2012-10-10 | 深圳市九洲电器有限公司 | Automatic satellite finding method and satellite finding device |
CN109119761A (en) * | 2017-06-26 | 2019-01-01 | 华为技术有限公司 | The method, control equipment and system of satellite switching are carried out to motor antenna |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020152470A1 (en) * | 2001-03-02 | 2002-10-17 | Mark Hammond | Method and system for providing audio, video and data to devices on an aircraft |
-
2019
- 2019-12-23 CN CN201911334752.0A patent/CN111093063B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1122169A (en) * | 1994-01-20 | 1996-05-08 | 新日本制铁株式会社 | Satellite broadcast receiving mobile antenna device |
CN1943075A (en) * | 2004-03-11 | 2007-04-04 | 茵泰莱恩技术有限公司 | Satellite tracking antenna system and method therefor |
CN101325278A (en) * | 2007-06-11 | 2008-12-17 | 扬智科技股份有限公司 | Display method of disc antenna for digital image satellite broadcasting |
CN102723602A (en) * | 2012-06-29 | 2012-10-10 | 深圳市九洲电器有限公司 | Automatic satellite finding method and satellite finding device |
CN109119761A (en) * | 2017-06-26 | 2019-01-01 | 华为技术有限公司 | The method, control equipment and system of satellite switching are carried out to motor antenna |
Also Published As
Publication number | Publication date |
---|---|
CN111093063A (en) | 2020-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112214142B (en) | Application information display method and device, electronic equipment and storage medium | |
CN110286838B (en) | Processing method, device, terminal and storage medium of session object | |
CN105988837B (en) | Application program installation method and device | |
CN107329659B (en) | Permission setting method and device, electronic equipment and storage medium | |
US11231836B2 (en) | Multi-window displaying apparatus and method and mobile electronic equipment | |
EP3806443A1 (en) | Tracking photographing method and apparatus, and storage medium | |
CN110826414A (en) | Display control method and device of mobile terminal, terminal and medium | |
EP3896981A1 (en) | Method and system for determining video definition, computer device, and storage medium | |
CN111093063B (en) | Position display method and device for motor device | |
CN106648281B (en) | Screenshot method and device | |
CN115361058B (en) | Satellite portable station satellite-to-satellite method, device, storage medium and satellite portable station | |
CN104932784A (en) | Picture display method and terminal | |
EP1962189A1 (en) | Apparatus and method for updating boot logo image in portable terminal | |
CN107508969A (en) | A kind of information processing method, device, computer installation and computer-readable recording medium | |
CN110209479A (en) | Method and device for switching application programs, terminal equipment and storage medium | |
CN112866445A (en) | Display interface switching method and device and mobile terminal | |
CN112799768A (en) | Method and device for realizing horse race lamp and electronic equipment | |
CN111756894B (en) | Alarm clock parameter adjusting method and device and electronic equipment | |
CN113154645B (en) | Air conditioner control method and smart watch | |
CN111213374A (en) | Video playing method and device | |
CN110716759B (en) | Electronic device, computer-readable storage medium, and operation parameter configuration method | |
CN115247924B (en) | Screen sharing method and device based on intelligent refrigerator and intelligent refrigerator | |
CN116860146B (en) | K line graph display method and device, electronic equipment and storage medium | |
CN111879331B (en) | Navigation method and device and electronic equipment | |
CN116886744B (en) | Dynamic adjustment method, device and equipment for streaming resolution and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221020 Address after: 83 Intekte Street, Devon, Netherlands Patentee after: VIDAA (Netherlands) International Holdings Ltd. Address before: 9 / F, Hisense south building, 1777 Chuangye Road, Nanshan District, Shenzhen, Guangdong 518000 Patentee before: HISENSE ELECTRONIC TECHNOLOGY (SHENZHEN) Co.,Ltd. |