CN112198996A - Rotation angle acquisition method and device and computer-readable storage medium - Google Patents

Rotation angle acquisition method and device and computer-readable storage medium Download PDF

Info

Publication number
CN112198996A
CN112198996A CN202010920983.6A CN202010920983A CN112198996A CN 112198996 A CN112198996 A CN 112198996A CN 202010920983 A CN202010920983 A CN 202010920983A CN 112198996 A CN112198996 A CN 112198996A
Authority
CN
China
Prior art keywords
electromagnetic
antenna
signal
obtaining
rotation angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010920983.6A
Other languages
Chinese (zh)
Other versions
CN112198996B (en
Inventor
卿钢石
李大硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Vistandard Digital Technology Co ltd
Original Assignee
Shenzhen Vistandard Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Vistandard Digital Technology Co ltd filed Critical Shenzhen Vistandard Digital Technology Co ltd
Priority to CN202010920983.6A priority Critical patent/CN112198996B/en
Publication of CN112198996A publication Critical patent/CN112198996A/en
Application granted granted Critical
Publication of CN112198996B publication Critical patent/CN112198996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06CDIGITAL COMPUTERS IN WHICH ALL THE COMPUTATION IS EFFECTED MECHANICALLY
    • G06C3/00Arrangements for table look-up, e.g. menstruation table
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)

Abstract

The invention discloses a rotation angle obtaining method and device and a computer readable storage medium. According to the rotation angle obtaining method provided by the embodiment of the invention, an angle mapping table is preset, an electromagnetic antenna transmits signals outwards, the signals transmitted by the electromagnetic antenna are received through an electromagnetic screen, and the rotation angle of the electromagnetic antenna is calculated according to the received signals by contrasting the angle mapping table; by the method, the whole process only occurs between the electromagnetic screen and the electromagnetic antenna, no additional equipment is needed for assistance, the cost is low, the interference of external factors is not easy to occur, and the process is simple and has good stability.

Description

Rotation angle acquisition method and device and computer-readable storage medium
Technical Field
The present invention relates to the field of interactive technologies, and in particular, to a rotation angle obtaining method and apparatus, and a computer-readable storage medium.
Background
In the interaction process in the fields of industrial product prototype design, courseware teaching, scientific research, finished product display and the like, the angle of an interaction module is required to be obtained frequently; the existing angle acquisition method comprises the steps of installing a gyroscope, adopting infrared camera shooting to perform image recognition, performing multi-point touch control and the like, wherein the cost for installing the gyroscope is high, the infrared camera shooting to perform image recognition is easily influenced by external factors such as illumination, equipment size and the like, and the stability of the multi-point touch control is not strong enough.
Disclosure of Invention
The invention aims to solve at least one of the technical problems in the prior art, and provides a rotation angle acquisition method which can minimize external influence factors, has good stability and is low in application cost.
The invention also provides an operation control device with the rotation angle acquisition method.
The invention also provides a computer readable storage medium with the rotation angle acquisition method.
The rotation angle obtaining method according to the embodiment of the first aspect of the present invention is configured to obtain a rotation angle of an electromagnetic antenna of an electromagnetic screen, where the electromagnetic antenna is arranged in an inclined manner, and the electromagnetic antenna is configured to transmit a signal to the electromagnetic screen;
the rotation angle acquisition method comprises the following steps:
acquiring a first signal group received by the electromagnetic screen before the electromagnetic antenna rotates;
obtaining a first included angle according to the first signal group and a prestored angle mapping table;
acquiring a second signal group received by the electromagnetic screen after the electromagnetic antenna rotates;
obtaining a second included angle according to the second signal group and the angle mapping table;
obtaining a rotation angle of the electromagnetic antenna according to the first included angle and the second included angle;
wherein the pre-stored angle mapping table is obtained by the following steps:
according to a preset reference zero degree, acquiring a third included angle between a vertical projection line on the electromagnetic screen and the reference zero degree and a current signal group received by the electromagnetic screen when the electromagnetic antenna rotates;
and acquiring the angle mapping table according to the third included angle and the signal group.
The rotation angle acquisition method provided by the embodiment of the invention at least has the following technical effects: the electromagnetic antenna transmits signals outwards, receives the signals transmitted by the electromagnetic antenna through the electromagnetic screen, and obtains the rotation angle of the electromagnetic antenna according to the received signals; by the method, the whole process only occurs between the electromagnetic screen and the electromagnetic antenna, no additional equipment is needed for assistance, the cost is low, the interference of external factors is not easy to occur, and the process is simple and has good stability.
According to some embodiments of the invention, the current set of signals received by the electromagnetic screen comprises the steps of:
acquiring a strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates;
obtaining a first signal coordinate according to the strongest signal;
selecting a plurality of second signal coordinates adjacent to the first signal coordinates;
and obtaining the current signal group according to the first signal coordinates and the signal value corresponding to each second signal coordinate.
According to some embodiments of the invention, the obtaining the rotation angle of the electromagnetic antenna according to the first included angle and the second included angle includes:
and calculating a difference value between the first included angle and the second included angle, and taking the calculated difference value as the rotation angle of the electromagnetic antenna.
According to some embodiments of the invention, one end of the electromagnetic antenna is disposed on a center line of the interaction module, and the other end of the electromagnetic antenna is higher than one end of the electromagnetic antenna;
the method for acquiring the strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates further comprises the following steps:
when the electromagnetic antenna rotates, the strongest signal is obtained according to the induction of the end of the electromagnetic antenna by the electromagnetic screen;
and obtaining the position coordinates of the interactive module according to the strongest signal.
According to some embodiments of the present invention, an antenna network is further disposed in the electromagnetic screen, the antenna network includes a plurality of longitudinal antennas longitudinally arranged and a plurality of transverse antennas transversely arranged, and the longitudinal antennas and the transverse antennas are criss-cross;
the method for acquiring the strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates further comprises the following steps:
presetting a coordinate system, wherein each longitudinal antenna corresponds to each transverse coordinate value of the coordinate system, and each transverse antenna corresponds to each longitudinal coordinate value of the coordinate system;
acquiring a strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates;
obtaining a first transverse coordinate value according to the first longitudinal antenna corresponding to the strongest signal;
obtaining a first longitudinal coordinate value according to a first transverse antenna corresponding to the strongest signal;
and obtaining a first signal coordinate according to the first transverse coordinate value and the first longitudinal coordinate value.
According to some embodiments of the invention, said selecting a number of second signal coordinates adjacent to said first signal coordinate further comprises the steps of:
selecting a plurality of second longitudinal antennas adjacent to the first longitudinal antenna;
obtaining a plurality of second transverse coordinate values according to the plurality of second longitudinal antennas;
selecting a number of second transverse antennas adjacent to the first transverse antenna;
obtaining a plurality of second longitudinal coordinate values according to the plurality of second transverse antennas;
and obtaining a plurality of second signal coordinates according to the plurality of second longitudinal coordinate values and the plurality of second transverse coordinate values.
An operation control apparatus according to an embodiment of the second aspect of the present invention includes the rotation angle acquisition method according to the above-described embodiment of the first aspect of the present invention.
The operation control device according to the embodiment of the invention has at least the following effects: since the operation control device of the embodiment of the invention executes the rotation angle acquisition method as described in any one of the embodiments of the first aspect of the invention, there are all the advantageous effects of the first aspect of the invention.
According to the computer-readable storage medium of the third aspect of the present invention, the computer-readable storage medium stores computer-executable instructions for causing a computer to execute the rotation angle obtaining method of any one of the above-mentioned first aspect embodiments.
The computer-readable storage medium according to the embodiment of the invention has at least the following technical effects: since the computer-readable storage medium of the embodiment of the present invention executes the rotation angle acquisition method according to any one of the embodiments of the first aspect of the present invention, all the advantageous effects of the first aspect of the present invention are obtained.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described below with reference to the accompanying drawings and examples;
fig. 1 is a schematic flow chart of a rotation angle obtaining method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an acquisition process of an angle mapping table in the rotation angle acquisition method according to the embodiment of the present invention;
FIG. 3 is a schematic diagram of the process of FIG. 2 for obtaining a current signal group;
FIG. 4 is a schematic diagram of the process of FIG. 3 for obtaining the first signal coordinate;
FIG. 5 is a schematic flow chart of FIG. 1 for obtaining the rotation angle of the electromagnetic antenna;
FIG. 6 is a schematic diagram of a process of selecting a plurality of second signal coordinates shown in FIG. 3;
FIG. 7 is a schematic view of an operation control apparatus according to another embodiment of the present invention;
fig. 8 is a schematic diagram of an application example of the rotation angle obtaining method according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
A rotation angle acquisition method according to an embodiment of the present invention is described below with reference to the drawings.
As shown in fig. 1, the rotation angle acquiring method according to the embodiment of the present invention includes acquiring a rotation angle of an electromagnetic antenna of an electromagnetic screen 840, the electromagnetic antenna being disposed obliquely, the electromagnetic antenna being configured to transmit a signal to the electromagnetic screen 840;
the rotation angle acquisition method comprises the following steps:
step S100: acquiring a first signal group received by an electromagnetic screen 840 before rotation of an electromagnetic antenna;
step S200: obtaining a first included angle according to the first signal group and a prestored angle mapping table;
step S300: acquiring a second signal group received by the electromagnetic screen 840 after the electromagnetic antenna rotates;
step S400: obtaining a second included angle according to the second signal group and the angle mapping table;
step S500: obtaining a rotation angle of the electromagnetic antenna according to the first included angle and the second included angle;
as shown in fig. 2, the pre-stored angle mapping table is obtained by the following steps:
step S2000: according to a preset reference zero degree, acquiring a third included angle between a vertical projection line on the electromagnetic screen 840 and the reference zero degree and a current signal group received by the electromagnetic screen 840 when the electromagnetic antenna rotates;
step S2100: and acquiring an angle mapping table according to the third included angle and the signal group.
The electromagnetic antenna is obliquely arranged in the interaction module 830 at a fixed angle, and the distance between the electromagnetic antenna and the electromagnetic screen 840 is in direct proportion to the strength of the signal, so that the electromagnetic screen 840 can obtain a series of signal values with strength changes when receiving the signal of the electromagnetic antenna; when the inclination angle of the electromagnetic antenna is not changed, no matter how the position of the electromagnetic antenna is changed, when the electromagnetic antenna rotates, each third included angle has a group of signal values with fixed strength changes, namely a current signal group; the third angle is an angle between a projection line formed by vertical projection of the electromagnetic antenna on the electromagnetic screen 840 and a reference zero degree, wherein the reference 0 degree is the reference zero degree in the right direction of the transverse edge of the electromagnetic screen 840.
According to the above principle, the step 210 and the step 220 are executed to obtain an angle mapping table in which the third angle and the current signal group correspond to each other in advance, and the step 100 to the step 500 are executed to quickly obtain the first angle and the second angle by referring to the angle mapping table, so as to obtain the rotation angle of the electromagnetic antenna.
According to the rotation angle obtaining method provided by the embodiment of the invention, the electromagnetic antenna emits signals outwards, the signals emitted by the electromagnetic antenna are received through the electromagnetic screen 840, and the rotation angle of the electromagnetic antenna is obtained according to the received signals; by the method, the whole process only occurs between the electromagnetic screen 840 and the electromagnetic antenna, no additional equipment is needed for assistance, the cost is low, the interference of external factors is not easy to occur, and the process is simple and has good stability.
As shown in FIG. 3, in some embodiments of the present invention, the current set of signals received by the electromagnetic screen 840 comprises the steps of:
step S2010: acquiring a strongest signal received by an electromagnetic screen 840 when the electromagnetic antenna rotates;
step S2020: obtaining a first signal coordinate according to the strongest signal;
step S2030: selecting a plurality of second signal coordinates adjacent to the first signal coordinates;
step S2040: and obtaining a current signal group according to the first signal coordinates and the signal value corresponding to each second signal coordinate.
Because the electromagnetic antennas are obliquely arranged, only one point of each electromagnetic antenna is closest to the electromagnetic screen 840, and only one strongest signal exists in the signal sets received by the electromagnetic screen 840; selecting a plurality of adjacent second signal coordinates by taking a first signal coordinate corresponding to the strongest signal as an origin, in the embodiment, taking five second signal coordinates on two sides of the first signal coordinate respectively, wherein the interval between each second signal coordinate and the first signal coordinate is equal, and the ten second signal coordinates and the ten first signal coordinates are all positioned on a straight line of a vertical projection line of the electromagnetic antenna, so that a plurality of coordinate groups are obtained; and obtaining signal values corresponding to the first signal coordinates and the ten second signal coordinates in each coordinate set to obtain a current signal set, wherein each current signal set has a unique corresponding coordinate set.
As shown in fig. 5, in some embodiments of the present invention, obtaining the rotation angle of the electromagnetic antenna according to the first angle and the second angle includes the following steps:
step S510: and calculating a difference value between the first included angle and the second included angle, and taking the calculated difference value as the rotation angle of the electromagnetic antenna.
The first included angle is an included angle between a vertical projection line of the electromagnetic antenna on the electromagnetic screen 840 and a reference zero degree before the electromagnetic antenna rotates; the second included angle is an included angle between a vertical projection line of the electromagnetic antenna on the electromagnetic screen 840 and a reference zero degree after the electromagnetic antenna rotates; and obtaining the rotation angle of the electromagnetic antenna through the difference value of the first included angle and the second included angle.
In some embodiments of the present invention, one end of the electromagnetic antenna is disposed on the center line of the interaction module 830, and the other end of the electromagnetic antenna is higher than one end of the electromagnetic antenna;
acquiring the strongest signal received by the electromagnetic screen 840 when the electromagnetic antenna rotates, further comprising the following steps:
when the electromagnetic antenna rotates, one end of the electromagnetic antenna is induced by the electromagnetic screen 840 to obtain a strongest signal;
from the strongest signal, the position coordinates of the interaction module 830 are obtained.
Through the design, the lower end of the inclined electromagnetic antenna is positioned on the central line of the interaction module 830, so that the first signal coordinate corresponding to the strongest signal can be used as the position coordinate of the interaction module 830, and the position of the interaction module 830 on the electromagnetic screen 840 can be obtained while the first signal coordinate is obtained.
In some embodiments of the present invention, an antenna network is further disposed in the electromagnetic screen 840, and the antenna network includes a plurality of longitudinal antennas longitudinally arranged and a plurality of transverse antennas transversely arranged, and the longitudinal antennas and the transverse antennas are criss-cross;
as shown in fig. 4, obtaining the coordinates of the first signal according to the strongest signal further includes the following steps:
step S2021: presetting a coordinate system, wherein each longitudinal antenna corresponds to each transverse coordinate value of the coordinate system, and each transverse antenna corresponds to each longitudinal coordinate value of the coordinate system;
step S2022: obtaining a first transverse coordinate value according to the first longitudinal antenna corresponding to the strongest signal;
step S2023: obtaining a first longitudinal coordinate value according to a first transverse antenna corresponding to the strongest signal;
step S2024: and obtaining a first signal coordinate according to the first transverse coordinate value and the first longitudinal coordinate value.
In this embodiment, the antenna network is composed of a set of horizontal antennas and a set of vertical antennas, which are staggered, and the horizontal antennas and the vertical antennas are perpendicular to each other and are uniformly arranged. Based on the antenna network, a coordinate system is preset by taking the electromagnetic screen 840, namely the lower left corner of the electromagnetic antenna network, as the origin of coordinates, wherein the longitudinal antennas correspond to the transverse coordinate values in the transverse coordinate axis one by one, and the transverse antennas correspond to the longitudinal coordinate values in the longitudinal coordinate axis one by one. When the electromagnetic screen 840 receives the strongest signal, the longitudinal antenna and the transverse antenna which receive the strongest signal are selected as the first longitudinal antenna and the first transverse antenna, the transverse coordinate value corresponding to the first longitudinal antenna is used as the first transverse coordinate value, and the longitudinal coordinate value corresponding to the first transverse antenna is used as the first longitudinal coordinate value, so that the first signal coordinate is obtained.
As shown in fig. 6, in some embodiments of the present invention, selecting a plurality of second signal coordinates adjacent to the first signal coordinates further comprises:
step S2031: selecting a plurality of second longitudinal antennas adjacent to the first longitudinal antenna;
step S2032: obtaining a plurality of second transverse coordinate values according to the plurality of second longitudinal antennas;
step S2033: selecting a plurality of second transverse antennas adjacent to the first transverse antenna;
step S2034: obtaining a plurality of second longitudinal coordinate values according to the plurality of second transverse antennas;
step S2035: and obtaining a plurality of second signal coordinates according to the plurality of second longitudinal coordinate values and the plurality of second transverse coordinate values.
In this embodiment, after obtaining the first longitudinal antenna, five longitudinal antennas adjacent to the first longitudinal antenna are respectively selected on two sides of the first longitudinal antenna as the second longitudinal antenna; after the first transverse antenna is obtained, respectively selecting five transverse antennas adjacent to the first transverse antenna on two sides of the first transverse antenna as second transverse antennas; and taking the longitudinal coordinate value corresponding to the second transverse antenna as a second longitudinal coordinate value and taking the transverse coordinate value corresponding to the second longitudinal antenna as a second transverse coordinate value, thereby obtaining a second signal coordinate.
Through the design and the steps, the corresponding current signal groups of the electromagnetic antenna in different states can be obtained more simply and rapidly, the difficulty and the cost of obtaining an angle mapping table are reduced, and the speed of obtaining the rotating angle is improved.
Referring to fig. 7, in a second aspect of the embodiment of the present invention, an operation control device 6000 is provided, which may be any type of smart terminal, such as a mobile phone, a tablet computer, a personal computer, and the like.
According to some embodiments of the invention, the operation control device 6000 comprises: one or more control processors 6001 and a memory 6002, for example control processor 6001 in fig. 7.
The control processor 6001 and memory 6002 may be coupled via a bus or otherwise, as exemplified by the coupling via a bus in FIG. 7.
The memory 6002 serves as a non-transitory computer readable storage medium and can be used for storing non-transitory software programs, non-transitory computer executable programs, and units, such as program instructions/units corresponding to the operation control device 6000 in the embodiment of the present invention. The control processor 6001 executes various functional applications and data processing, i.e., implements the rotation angle acquisition method of the above-described method embodiment, by running non-transitory software programs, instructions, and units stored in the memory 6002.
The memory 6002 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to program instructions/units, and the like. Further, the memory 6002 can include high-speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 6002 may optionally include memory located remotely from the control processor 6001, which may be connected to the operational control apparatus 6000 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more cells are stored in the memory 6002 and, when executed by the one or more control processors 6001, perform the rotation angle acquisition method in any of the method embodiments described above. For example, the above-described method steps S100 to S500 in fig. 1, method steps S2010 to S2040 in fig. 3, method steps S2021 to S2024 in fig. 4, method step S510 in fig. 5 and method steps S2031 to S2035 in fig. 6 are performed.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is further provided, where the computer-readable storage medium stores computer-executable instructions, which are executed by one or more control processors 6001, for example, by one control processor 6001 in fig. 7, and may cause the one or more control processors 6001 to execute the rotation angle acquiring method in the above method embodiment, for example, execute the above-described method steps S100 to S500 in fig. 1, method steps S2010 to S2040 in fig. 3, method steps S2021 to S2024 in fig. 4, method step S510 in fig. 5, and method steps S2031 to S2035 in fig. 6.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Referring to fig. 8, an example of the application of the rotation angle acquisition method to an actual scene is described.
A home display apparatus 800 includes an interactive module 830, a display 810, and a housing 820. An inclined electromagnetic antenna is fixedly arranged in the interaction module 830, an electromagnetic screen 840 is arranged on the upper side face of the case 820, the interaction module 830 is placed on the electromagnetic screen 840, and the display screen 810 is electrically connected with the case 820.
When the electromagnetic screen 840 is used, a three-dimensional panoramic view of the displayed house is displayed in the display screen 810, and a corresponding house plane view is displayed on the electromagnetic screen 840; after the interaction module 830 is placed on the electromagnetic screen 840, a three-dimensional panoramic image of the corresponding position of the house under the simulation first-person viewing angle is displayed in the display screen 810 by acquiring the position of the interaction module 830; by acquiring the rotation angle of the interactive module 830, the viewing angle rotation of the first person is simulated in the display image of the display screen 810.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (8)

1. The rotation angle obtaining method is characterized by being used for obtaining a rotation angle of an electromagnetic antenna of an electromagnetic screen, wherein the electromagnetic antenna is obliquely arranged and is used for transmitting signals to the electromagnetic screen;
the rotation angle acquisition method comprises the following steps:
acquiring a first signal group received by the electromagnetic screen before the electromagnetic antenna rotates;
obtaining a first included angle according to the first signal group and a prestored angle mapping table;
acquiring a second signal group received by the electromagnetic screen after the electromagnetic antenna rotates;
obtaining a second included angle according to the second signal group and the angle mapping table;
obtaining a rotation angle of the electromagnetic antenna according to the first included angle and the second included angle;
wherein the pre-stored angle mapping table is obtained by the following steps:
according to a preset reference zero degree, acquiring a third included angle between a vertical projection line on the electromagnetic screen and the reference zero degree and a current signal group received by the electromagnetic screen when the electromagnetic antenna rotates;
and acquiring the angle mapping table according to the third included angle and the signal group.
2. The rotation angle acquisition method according to claim 1, wherein the current signal group received by the electromagnetic screen comprises the steps of:
acquiring a strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates;
obtaining a first signal coordinate according to the strongest signal;
selecting a plurality of second signal coordinates adjacent to the first signal coordinates;
and obtaining the current signal group according to the first signal coordinates and the signal value corresponding to each second signal coordinate.
3. The method according to claim 1, wherein the obtaining the rotation angle of the electromagnetic antenna according to the first angle and the second angle comprises:
and calculating a difference value between the first included angle and the second included angle, and taking the calculated difference value as the rotation angle of the electromagnetic antenna.
4. The rotation angle obtaining method according to claim 2, wherein one end of the electromagnetic antenna is disposed on a center line of the interaction module, and the other end of the electromagnetic antenna is higher than one end of the electromagnetic antenna;
the method for acquiring the strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates further comprises the following steps:
when the electromagnetic antenna rotates, the strongest signal is obtained according to the induction of the end of the electromagnetic antenna by the electromagnetic screen;
and obtaining the position coordinates of the interactive module according to the strongest signal.
5. The rotation angle obtaining method according to claim 2, wherein an antenna network is further disposed in the electromagnetic screen, the antenna network includes a plurality of longitudinal antennas arranged longitudinally and a plurality of transverse antennas arranged transversely, and the longitudinal antennas and the transverse antennas are criss-cross;
the obtaining of the first signal coordinate according to the strongest signal further comprises the following steps:
presetting a coordinate system, wherein each longitudinal antenna corresponds to each transverse coordinate value of the coordinate system, and each transverse antenna corresponds to each longitudinal coordinate value of the coordinate system;
acquiring a strongest signal received by the electromagnetic screen when the electromagnetic antenna rotates;
obtaining a first transverse coordinate value according to the first longitudinal antenna corresponding to the strongest signal;
obtaining a first longitudinal coordinate value according to a first transverse antenna corresponding to the strongest signal;
and obtaining a first signal coordinate according to the first transverse coordinate value and the first longitudinal coordinate value.
6. The rotation angle acquisition method according to claim 5, wherein the selecting a plurality of second signal coordinates adjacent to the first signal coordinate further comprises:
selecting a plurality of second longitudinal antennas adjacent to the first longitudinal antenna;
obtaining a plurality of second transverse coordinate values according to the plurality of second longitudinal antennas;
selecting a number of second transverse antennas adjacent to the first transverse antenna;
obtaining a plurality of second longitudinal coordinate values according to the plurality of second transverse antennas;
and obtaining a plurality of second signal coordinates according to the plurality of second longitudinal coordinate values and the plurality of second transverse coordinate values.
7. An operation control device characterized by comprising:
at least one control processor, and a memory communicatively coupled to the at least one control processor;
wherein the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the rotation angle acquisition method according to any one of claims 1 to 6.
8. A computer-readable storage medium storing computer-executable instructions for causing a computer to execute the rotation angle acquisition method according to any one of claims 1 to 6.
CN202010920983.6A 2020-09-04 2020-09-04 Rotation angle acquisition method and device and computer readable storage medium Active CN112198996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010920983.6A CN112198996B (en) 2020-09-04 2020-09-04 Rotation angle acquisition method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010920983.6A CN112198996B (en) 2020-09-04 2020-09-04 Rotation angle acquisition method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112198996A true CN112198996A (en) 2021-01-08
CN112198996B CN112198996B (en) 2023-08-01

Family

ID=74005289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010920983.6A Active CN112198996B (en) 2020-09-04 2020-09-04 Rotation angle acquisition method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112198996B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158547A1 (en) * 2006-12-29 2008-07-03 Lite-On Semiconductor Corporation Motion detecting device for sensing rotation and inclination variation information and method of using the same
US20130082950A1 (en) * 2011-09-29 2013-04-04 Samsung Electronics Co. Ltd. Input apparatus and input method of a portable terminal using a pen
CN104238779A (en) * 2013-06-18 2014-12-24 太瀚科技股份有限公司 Method for detecting inclination angle of electromagnetic pen
WO2017167075A1 (en) * 2016-03-30 2017-10-05 汉王科技股份有限公司 Stylus, touch-control device, and method for measuring angle of inclination of stylus
CN107357478A (en) * 2017-06-29 2017-11-17 青岛罗博数码科技有限公司 Inclination angle detection method, coordinates compensation method and its application of electromagnetic touch
US20180052534A1 (en) * 2016-08-19 2018-02-22 Microsoft Technology Licensing, Llc Adjustable digital eraser
US9965060B1 (en) * 2016-11-10 2018-05-08 Waltop International Corporation Capacitive stylus and tilt angle detecting method thereof
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium at capacitance pen angle of inclination
US20190235642A1 (en) * 2018-02-01 2019-08-01 Silicon Integrated Systems Corp. User interaction method based on stylus, system for classifying tap events on stylus, and stylus product
US20200089360A1 (en) * 2018-09-17 2020-03-19 Apple Inc. Input device with haptic feedback
CN110968208A (en) * 2019-11-28 2020-04-07 京东方科技集团股份有限公司 Stylus, stylus detection method and touch system
CN111338489A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Parameter adjusting method and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158547A1 (en) * 2006-12-29 2008-07-03 Lite-On Semiconductor Corporation Motion detecting device for sensing rotation and inclination variation information and method of using the same
US20130082950A1 (en) * 2011-09-29 2013-04-04 Samsung Electronics Co. Ltd. Input apparatus and input method of a portable terminal using a pen
CN104238779A (en) * 2013-06-18 2014-12-24 太瀚科技股份有限公司 Method for detecting inclination angle of electromagnetic pen
WO2017167075A1 (en) * 2016-03-30 2017-10-05 汉王科技股份有限公司 Stylus, touch-control device, and method for measuring angle of inclination of stylus
US20180052534A1 (en) * 2016-08-19 2018-02-22 Microsoft Technology Licensing, Llc Adjustable digital eraser
US9965060B1 (en) * 2016-11-10 2018-05-08 Waltop International Corporation Capacitive stylus and tilt angle detecting method thereof
CN107357478A (en) * 2017-06-29 2017-11-17 青岛罗博数码科技有限公司 Inclination angle detection method, coordinates compensation method and its application of electromagnetic touch
US20190235642A1 (en) * 2018-02-01 2019-08-01 Silicon Integrated Systems Corp. User interaction method based on stylus, system for classifying tap events on stylus, and stylus product
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium at capacitance pen angle of inclination
US20200089360A1 (en) * 2018-09-17 2020-03-19 Apple Inc. Input device with haptic feedback
CN110968208A (en) * 2019-11-28 2020-04-07 京东方科技集团股份有限公司 Stylus, stylus detection method and touch system
CN111338489A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Parameter adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN112198996B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
EP3368977B1 (en) Computing device having user-input accessory
CN109784323A (en) Method, apparatus, electronic equipment and the computer storage medium of image recognition
CN109828250A (en) A kind of Radar Calibration method, caliberating device and terminal device
US20170330473A1 (en) Iot enhanced educational system
CN112348909A (en) Target positioning method, device, equipment and storage medium
CN111161331A (en) Registration method of BIM model and GIS model
CN108648141B (en) Image splicing method and device
CN110737326A (en) Virtual object display method and device, terminal equipment and storage medium
KR20220049304A (en) Method for updating a 3D map using an image and an electronic device supporting the same
CN114942713A (en) Augmented reality-based display method, apparatus, device, storage medium, and program
CN112198996A (en) Rotation angle acquisition method and device and computer-readable storage medium
CN117095002B (en) Hub defect detection method and device and storage medium
CN110222651A (en) A kind of human face posture detection method, device, terminal device and readable storage medium storing program for executing
CN109978956A (en) Acquire scaling method, device and the calibration system of equipment
CN112200002B (en) Body temperature measuring method, device, terminal equipment and storage medium
CN113763478A (en) Unmanned vehicle camera calibration method, device, equipment, storage medium and system
CN109242892B (en) Method and apparatus for determining the geometric transform relation between image
CN116091701A (en) Three-dimensional reconstruction method, three-dimensional reconstruction device, computer equipment and storage medium
CN115393423A (en) Target detection method and device
CN115205807A (en) Lane line fusion method and device, automobile, electronic equipment and computer-readable storage medium
CN108965715A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN110244842B (en) VR model, VR scene processing method, VR training system, storage medium and electronic equipment
US20210075259A1 (en) Electronic device for providing wireless charging function and operation method thereof
CN111783637A (en) Key point marking method and device and target object space pose determining method and device
CN112446928B (en) External parameter determining system and method for shooting device

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