CN114995526B - Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment - Google Patents

Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment Download PDF

Info

Publication number
CN114995526B
CN114995526B CN202210922681.1A CN202210922681A CN114995526B CN 114995526 B CN114995526 B CN 114995526B CN 202210922681 A CN202210922681 A CN 202210922681A CN 114995526 B CN114995526 B CN 114995526B
Authority
CN
China
Prior art keywords
axis
coordinate
satellite
antenna
coordinate system
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
Application number
CN202210922681.1A
Other languages
Chinese (zh)
Other versions
CN114995526A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210922681.1A priority Critical patent/CN114995526B/en
Publication of CN114995526A publication Critical patent/CN114995526A/en
Application granted granted Critical
Publication of CN114995526B publication Critical patent/CN114995526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • H01Q1/241Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
    • H01Q1/242Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Variable-Direction Aerials And Aerial Arrays (AREA)

Abstract

The embodiment of the application provides a method for guiding and adjusting the pointing direction of a satellite antenna and electronic equipment, wherein the electronic equipment comprises the satellite antenna and a display screen, and the method comprises the following steps: acquiring the optimal direction of an antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; acquiring a satellite direction of a satellite for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the direction of the satellite, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the direction of the satellite, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark. Therefore, the angle deviation between the optimal direction of the antenna and the satellite direction can be visually prompted by displaying the first indication mark and the second indication mark, and a user is guided to adjust the angle deviation.

Description

Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for guiding and adjusting a pointing direction of a satellite antenna and an electronic device.
Background
Currently, in order to meet different communication requirements, some electronic devices are equipped with a satellite antenna, and a connection is established between the satellite antenna and a satellite to realize satellite communication. Generally, an antenna in an electronic device has a specific antenna optimal direction, that is, a maximum gain direction, relative to the electronic device, and a satellite antenna also has a specific antenna optimal direction, and for satellite communication, in order to maximize an actual gain of the satellite antenna, it is necessary to point the antenna optimal direction or substantially point to a position where a satellite is located, and at this time, the satellite communication can really realize a maximum or large gain, so that communication quality of the satellite communication can meet requirements. However, how to ensure or guide the user to point the antenna in the optimal direction or approximately the position of the satellite in an efficient manner becomes a problem to be solved.
Disclosure of Invention
The application provides a method for guiding and adjusting the pointing direction of a satellite antenna and an electronic device, which can effectively guide a user to adjust the pointing direction of the satellite antenna so as to point the optimal direction of the antenna at or approximately point the position of a satellite.
In a first aspect, a method for guiding and adjusting a pointing direction of a satellite antenna is provided, and is applied to an electronic device, where the electronic device includes the satellite antenna and a display screen, and the method includes: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark. Therefore, the first indication mark used for at least indicating the optimal direction of the antenna and the second indication mark used for indicating the satellite direction are displayed on the display screen, so that a user can be intuitively informed of the angle deviation between the optimal direction of the antenna and the satellite direction, the user is guided to adjust the pointing direction of the satellite antenna, for example, the user is guided to adjust the placing posture of the electronic equipment, the pointing direction of the satellite antenna is adjusted, the pointing direction of the satellite antenna is the same or approximately the same as the satellite direction, the actual gain of the satellite antenna is effectively improved, and the satellite communication quality is improved.
In a possible embodiment, the method further comprises: and controlling the corresponding change of the position relation between the second indicating mark and the first indicating mark displayed on the display screen in response to the adjustment operation of the placing posture of the electronic equipment, so as to prompt the change of the angle deviation of the optimal direction of the antenna and the direction of the satellite. Thus, when performing an adjustment operation for adjusting the placement attitude of the electronic device, the user can determine the angle and direction at which the placement attitude of the electronic device is adjusted by observing a change in the positional relationship between the second indicator mark and the first indicator mark displayed on the display screen, so that the positions of the second indicator mark and the first indicator mark are close to each other, thereby achieving adjustment of the antenna optimum direction of the satellite antenna to be the same as or substantially the same as the satellite direction.
In a possible implementation, the position of the first indicator mark on the display screen is fixed, and the position of the second indicator mark on the display screen changes along with the change of the placement posture of the electronic equipment; the controlling, in response to the operation of adjusting the placement posture of the electronic device, a corresponding change in a positional relationship between a second indicator mark displayed on the display screen and the first indicator mark includes: and controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, so that the position relation between the second indicating mark and the first indicating mark is correspondingly changed. Therefore, after the second indication mark is controlled to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, the position relation between the second indication mark and the first indication mark is changed, and a user can be intuitively and effectively guided to adjust the placing posture of the electronic equipment to enable the second indication mark and the first indication mark to be as close as possible, so that the pointing direction of the satellite antenna is adjusted to be the position pointing to or approximately pointing to a satellite, namely the optimal direction of the satellite antenna is adjusted to be the same or approximately the same as the direction of the satellite, and the antenna gain is improved.
In a possible implementation, the obtaining the optimal antenna direction of the satellite antenna includes: and acquiring an antenna direction unit vector of the optimal direction of the antenna of the satellite antenna in an electronic equipment coordinate system, wherein the electronic equipment coordinate system is a coordinate system established by taking the direction perpendicular to the display screen as a Z axis, the direction parallel to the short side of the display screen as an X axis and the direction parallel to the long side of the display screen as a Y axis. The controlling of displaying a first indication mark on the display screen according to the optimal direction of the antenna comprises: determining an antenna coordinate position of the antenna direction unit vector in the electronic equipment coordinate system; determining a first target position of the antenna direction unit vector mapped on the display screen according to the antenna coordinate position; and controlling the first indication mark to be displayed at the first target position on the display screen. Therefore, after the antenna coordinate position of the antenna direction unit vector in the coordinate system of the electronic equipment is determined, the first target position of the antenna direction unit vector mapped on the display screen is determined, the position of the antenna direction unit vector mapped on the display screen is used as the position of the antenna optimal direction, the first indication mark is controlled to be displayed at the first target position on the display screen, and the antenna optimal direction can be mapped on the first target position on the display screen and visually indicated through the first indication mark.
In a possible implementation manner, the electronic device coordinate system uses the center of the display screen as a coordinate origin, wherein a direction perpendicular to the display screen and pointing to the viewing side of the display screen is a positive Z-axis direction; the determining a first target position of the antenna direction unit vector mapped on the display screen according to the antenna coordinate position comprises: acquiring a preset observation point coordinate position of an observation point on a Z-axis positive half shaft of an electronic equipment coordinate system, wherein the observation point is spaced from the origin of coordinates by a preset distance, and the projection of the observation point on the display screen is superposed with the center of the display screen serving as the origin of coordinates; and calculating to obtain a first intersection point coordinate position of an intersection point of a connecting line of the observation point and the antenna coordinate position point and the display screen according to the observation point coordinate position and the antenna coordinate position, and taking the first intersection point coordinate position on the display screen as the first target position, wherein the antenna coordinate position point is a point corresponding to the antenna coordinate position, and the Z-axis coordinate in the antenna coordinate position is negative. Thus, by introducing the observation point P1, the position of the first indicator mark on the display screen can be kept as small as possible from the center of the display screen, and the first indicator mark and the second indicator mark can be prevented from being overlapped at the center of the display screen in the case where the optimal antenna direction of the satellite antenna is not aligned with the satellite direction.
In a possible implementation manner, the calculating, according to the observation point coordinate position and the antenna coordinate position, a first intersection point coordinate position of an intersection point of a connection line between the observation point and the antenna coordinate position point and the display screen includes: calculating the X-axis coordinate and the Y-axis coordinate in the first intersection coordinate position according to the formulas X1= L X0/(L-z 0) and Y1= L Y0/(L-z 0), thereby obtaining the first intersection coordinate position (X1, Y1, z 1); wherein X1 is an X-axis coordinate in the first intersection coordinate position, Y1 is a Y-axis coordinate in the first intersection coordinate position, Z1 is a Z-axis coordinate in the first intersection coordinate position, Z1=0, L is a Z-axis coordinate of the observation point, X0 is an X-axis coordinate of the antenna coordinate position, Y0 is a Y-axis coordinate of the antenna coordinate position, and Z0 is a Z-axis coordinate of the antenna coordinate position.
In one possible implementation, the determining a coordinate position of the antenna direction unit vector in the electronic device coordinate system includes: and respectively determining coordinate values corresponding to the projections of the antenna direction unit vector on the X axis, the Y axis and the Z axis in the electronic equipment coordinate system to obtain the coordinate position of the antenna direction unit vector in the electronic equipment coordinate system.
In one possible embodiment, the obtaining a satellite direction of a satellite used for communicating with the satellite antenna relative to the electronic device includes: and acquiring a satellite direction unit vector of the satellite relative to the electronic equipment in a geodetic coordinate system, wherein the geodetic coordinate system is a coordinate system established by taking a geodetic plane as an XY plane and taking a gravity direction as a Z axis. The displaying a second indication mark on the display screen according to the satellite direction control comprises: converting the satellite direction unit vector of the satellite relative to the electronic equipment in a geodetic coordinate system into a satellite coordinate position in an electronic equipment coordinate system, wherein the electronic equipment coordinate system is a coordinate system which is established by taking the direction vertical to the display screen as a Z axis, taking the direction parallel to the short side of the display screen as an X axis and taking the direction parallel to the long side of the display screen as a Y axis; determining a second target position of the unit vector of the satellite direction mapped on the display screen according to the satellite coordinate position; and controlling the second indication mark to be displayed at the second target position on the display screen. Therefore, the satellite direction unit vector of the satellite in the geodetic coordinate system relative to the electronic equipment is converted into the satellite coordinate position in the electronic equipment coordinate system, and then the second target position of the satellite direction unit vector mapped on the display screen can be determined according to the satellite coordinate position, so that the satellite direction can be mapped on the second target position of the display screen and can be visually indicated through the second indication mark.
In one possible embodiment, the converting the unit vector of the satellite direction of the satellite in the geodetic coordinate system relative to the electronic device into the satellite coordinate position in the electronic device coordinate system includes: determining the coordinate position of the satellite direction unit vector in a geodetic coordinate system; determining the coordinate positions of an X-axis unit vector, a Y-axis unit vector and a Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively; and obtaining the satellite coordinate position of the satellite direction unit vector in the electronic equipment coordinate system according to the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively. Accordingly, after obtaining the coordinate positions of the X-axis unit vector, the Y-axis unit vector, and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system, respectively, the satellite coordinate position of the satellite direction unit vector in the electronic device coordinate system can be obtained from the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector, and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system, respectively, so that the satellite direction unit vector can be converted into the satellite coordinate position in the electronic device coordinate system.
In one possible embodiment, the determining the coordinate position of the unit vector of satellite direction in the geodetic coordinate system includes: and respectively determining coordinate values corresponding to projections of the satellite direction unit vector on an X axis, a Y axis and a Z axis in the geodetic coordinate system to obtain the coordinate position of the satellite direction unit vector in the coordinate system of the electronic equipment. The determining the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectively comprises: the coordinate values corresponding to the projections of the X-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the X-axis unit vector in the electronic device coordinate system, the coordinate values corresponding to the projections of the Y-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the Y-axis unit vector in the electronic device coordinate system, and the coordinate values corresponding to the projections of the Z-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the Z-axis unit vector in the electronic device coordinate system.
In one possible implementation manner, the coordinates of the satellite direction unit vector in the electronic device are obtained according to the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectivelyA satellite coordinate position in a system comprising: according to the formula x2= x s *x xg +y s *x yg +z s *x zg ,y2=x s *y xg +y s *y yg +z s *y zg And z2= x s *z xg +y s *z yg +z s *z zg Calculating to obtain a satellite coordinate position (x 2, y2, z 2); wherein, X2 is the X-axis coordinate of the satellite coordinate position, Y2 is the Y-axis coordinate of the satellite coordinate position, Z2 is the Z-axis coordinate of the satellite coordinate position, and X s ,y s And z s The coordinate values of the unit vector of the satellite direction on the X axis, the Y axis and the Z axis in the geodetic coordinate system are respectively xg ,x yg And x zg X coordinates corresponding to coordinate values corresponding to the projection of the X-axis unit vector in the geodetic coordinate system on the X axis in the electronic equipment coordinate system, Y coordinates corresponding to the projection on the Y axis in the electronic equipment coordinate system and Z coordinates corresponding to the projection on the Z axis in the electronic equipment coordinate system, wherein the Y coordinates are respectively xg ,y yg And y zg Respectively being an X coordinate corresponding to a projection of a Y-axis unit vector in the geodetic coordinate system on an X-axis of the electronic device coordinate system, a Y coordinate corresponding to a projection on a Y-axis of the electronic device coordinate system and a Z coordinate corresponding to a projection on a Z-axis of the electronic device coordinate system, the Z being xg ,z yg And z zg The X coordinate corresponding to the projection of the Z-axis unit vector in the geodetic coordinate system on the X axis of the electronic device coordinate system, the Y coordinate corresponding to the projection on the Y axis of the electronic device coordinate system and the Z coordinate corresponding to the projection on the Z axis of the electronic device coordinate system are respectively.
In one possible implementation, the electronic device coordinate system uses the center of the display screen as a coordinate origin, wherein a direction perpendicular to the display screen and pointing to the viewing side of the display screen is a positive Z-axis direction; the determining of the second target position of the unit vector of the satellite direction mapped on the display screen according to the satellite coordinate position comprises: acquiring a preset observation point coordinate position of an observation point on a Z-axis positive half shaft of an electronic equipment coordinate system, wherein the observation point is spaced from the origin of coordinates by a preset distance, and the projection of the observation point on the display screen is superposed with the center of the display screen serving as the origin of coordinates; and calculating according to the coordinate position of the observation point and the coordinate position of the satellite to obtain a second intersection point coordinate position of a connecting line of the coordinate position of the observation point and the coordinate position of the satellite and an intersection point of the display screen, and taking the second intersection point coordinate position on the display screen as the second target position, wherein the Z-axis coordinate in the coordinate position of the satellite is negative, and the coordinate position of the satellite is a point corresponding to the coordinate position of the satellite. Therefore, by introducing the observation point, the first indication mark and the second indication mark are not located at the center of the display screen as much as possible, and the first indication mark and the second indication mark are prevented from being overlapped at the center of the display screen when the optimal antenna direction of the satellite antenna is not aligned with the satellite direction.
In a possible implementation manner, the calculating, according to the observation point coordinate position and the satellite coordinate position, a second intersection point coordinate position of an intersection point of a connection line between the observation point coordinate position and the satellite coordinate position point and the display screen includes: calculating the X-axis coordinate and the Y-axis coordinate in the second intersection coordinate position according to formulas X3= L X4/(L-z 4) and Y3= L Y4/(L-z 4), thereby obtaining the second intersection coordinate position (X3, Y3, z 3); wherein X3 is an X-axis coordinate in the second intersection coordinate position, Y3 is a Y-axis coordinate in the second intersection coordinate position, Z3 is a Z-axis coordinate in the second intersection coordinate position, Z3=0, L is a Z-axis coordinate of the observation point, X4 is an X-axis coordinate in the satellite coordinate position, Y4 is a Y-axis coordinate in the satellite coordinate position, and Z4 is a Z-axis coordinate in the satellite coordinate position.
In a possible embodiment, the first indicator includes a central point and a ring area surrounding the central point, the central point is used for characterizing the optimal direction of the antenna, and the ring area is used for characterizing the sub-optimal direction of the antenna, the method further includes: in the process of controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, when the second indicating mark moves to the annular area in the first indicating mark, a first prompting signal is controlled to be generated. Therefore, when the second indication mark moves to the annular area in the first indication mark, the user is reminded by generating the first prompt signal, the placing posture of the electronic device does not need to be adjusted, the reminding can be effectively carried out, and the operation time of the user can be reduced.
In a possible embodiment, the method further comprises: when the second indicating mark moves to the central point in the first indicating mark, a second prompting signal is controlled to be generated. Thus, by generating the second prompt signal, the user can be prompted that the antenna optimum direction is already exactly the same as the satellite direction, i.e. that the antenna gain is already optimum.
In a possible embodiment, the annular region is different from the display parameter of the central point, and the display parameter includes at least one of a color and a pattern. Thereby, the annular area and the central point can be effectively distinguished, and a user can intuitively distinguish whether the second indication mark is moved to the annular area or the central point currently.
In a possible embodiment, the method further comprises: calculating the antenna gain of the satellite antenna in the process of adjusting the placing posture of the electronic equipment; and when the antenna gain of the satellite antenna is determined to be greater than or equal to a preset threshold value, controlling to generate a first prompt signal. Therefore, by directly calculating the antenna gain of the satellite antenna 200, when the antenna gain of the satellite antenna is greater than or equal to the preset threshold, the first prompt signal is controlled to be generated, so as to prompt the user that the current antenna gain is better, and the placing posture of the electronic device does not need to be adjusted.
In a second aspect, an electronic device is provided, where the electronic device includes a satellite antenna, a display screen, and a processor, and the processor is configured to control execution of a method for guiding adjustment of a pointing direction of the satellite antenna, where the method includes: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark. Therefore, the first indication mark used for at least indicating the optimal direction of the antenna and the second indication mark used for indicating the satellite direction are displayed on the display screen, so that a user can be intuitively informed of the angle deviation between the optimal direction of the antenna and the satellite direction, the user is guided to adjust the pointing direction of the satellite antenna, for example, the user is guided to adjust the placing posture of the electronic equipment, the pointing direction of the satellite antenna is adjusted, the pointing direction of the satellite antenna is the same or approximately the same as the satellite direction, the actual gain of the satellite antenna is effectively improved, and the satellite communication quality is improved.
In a third aspect, an electronic device is provided, comprising a memory storing a computer program and a processor; the processor is used for calling the computer program to execute a method for guiding and adjusting the pointing direction of the satellite antenna. The method comprises the following steps: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the direction of the satellite, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the direction of the satellite, so that the pointing direction of the satellite antenna can be adjusted through the guidance of the first indication mark and the second indication mark. Therefore, the first indication mark used for at least indicating the optimal direction of the antenna and the second indication mark used for indicating the satellite direction are displayed on the display screen, so that a user can be intuitively informed of the angle deviation between the optimal direction of the antenna and the satellite direction, the user is guided to adjust the pointing direction of the satellite antenna, for example, the user is guided to adjust the placing posture of the electronic equipment, the pointing direction of the satellite antenna is adjusted, the pointing direction of the satellite antenna is the same or approximately the same as the satellite direction, the actual gain of the satellite antenna is effectively improved, and the satellite communication quality is improved.
The application discloses electronic equipment and method of guide adjustment satellite antenna direction of orientation are used for instructing at least through showing on the display screen the antenna best direction first instruction mark and be used for instructing the second instruction sign of satellite direction can inform the user directly perceivedly the antenna best direction with the angular deviation of satellite direction, thereby, guide user is through the adjustment electronic equipment places the gesture and adjusts satellite antenna direction of orientation, makes satellite antenna direction of orientation with the satellite direction is the same or roughly the same, thereby effectively promotes satellite antenna's actual gain, and improves satellite communication quality.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic plan view of the electronic device of FIG. 1 illustrating a satellite antenna;
fig. 3 is a flowchart illustrating a method for guiding and adjusting a pointing direction of a satellite antenna according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a first indicator and a second indicator displayed on a display screen in an embodiment of the present application;
fig. 5 is a schematic view of an electronic device in a first placement posture in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating adjusting the placement posture of the electronic device to a second placement posture according to an embodiment of the application;
fig. 7 is a schematic view of a coordinate system of an electronic device when the electronic device is in a front position in an embodiment of the present application;
FIG. 8 is a schematic diagram of a coordinate system of an electronic device in a side view state according to an embodiment of the present application;
FIG. 9 is a schematic view of a geodetic coordinate system in an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a relationship between the geodetic coordinate system and the electronic device coordinate system in an embodiment of the present application;
FIG. 11 is another diagram of the coordinate system of the electronic device in a side view of the electronic device according to an embodiment of the present application;
FIG. 12 is a schematic illustration of a first indicator and a second indicator displayed on a display screen in some embodiments of the present application;
fig. 13 is a schematic diagram illustrating that the second indication mark moves along with the change of the placement posture of the electronic device in an embodiment of the present application;
FIG. 14 is a simulation diagram illustrating the gradual alignment of the second indicator to the first indicator in an embodiment of the present application;
FIG. 15 is a flowchart illustrating a method for guiding adjustment of the pointing direction of a satellite antenna according to another embodiment of the present application;
FIG. 16 is a block diagram of an electronic device in some embodiments of the present application;
fig. 17 is a block diagram of an electronic device in further embodiments of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 1000 according to an embodiment of the present disclosure.
The electronic device 1000 may be an electronic product with a wireless communication function, such as a handheld device, a vehicle-mounted device, a wearable device, a computer device, a Wireless Local Area Network (WLAN) device, or a router. In some application scenarios, the electronic device 1000 may also be called a different name, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless electronic device, user agent or user equipment, cellular telephone, wireless telephone, session Initiation Protocol (SIP) telephone, wireless Local Loop (WLL) station, personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, and the like.
In some embodiments, the electronic device 1000 may also be a device deployed in a wireless access network to provide wireless communication functions, including but not limited to: base stations, relay stations, access points, in-vehicle devices, wireless-fidelity (Wi-Fi) stations, wireless backhaul nodes, small stations, micro-stations, and so forth. The base station may be a Base Transceiver Station (BTS), a Node B (NodeB, NB), an evolved Node B (eNB or eNodeB), a transmission Node or a transmission point (TRP or TP) in an NR (new radio) system, or a next generation Node B (gNB), a base station in a future communication network, or a network device. In the embodiment of the present application, the electronic device 1000 is a mobile phone as an example.
The electronic device 1000 includes a housing 100, a display module 200, a circuit board 300, a receiver (not shown), and a speaker (not shown), wherein the display module 200 is mounted on the housing 100 and cooperates with the housing 100 to form a receiving cavity, and the circuit board 300, the receiver, and the speaker are mounted in the receiving cavity.
The case 100 may include a bezel 110 and a rear cover 120, and the rear cover 120 is fixed to one side of the bezel 110. The bezel 110 and the rear cover 120 may be integrally formed to ensure structural stability of the housing 100. Alternatively, the bezel 110 and the rear cover 120 may be fixed to each other by an assembling method. The case 100 is provided with the speaker holes 1001, and the number of the speaker holes 1001 may be one or more. Illustratively, the number of the speaker holes 1001 is plural, and the plural speaker holes 1001 are provided in the bezel 110. The speaker hole 1001 communicates the inside of the case 100 with the outside of the case 100. It should be noted that the term "pore" described in the embodiments of the present application refers to a pore having a complete pore wall.
The display module 200 is fixed to the other side of the frame 110. The display module 200 and the rear cover 120 are respectively fixed to two sides of the bezel 110. When the user uses the electronic device 1000, the display module 200 is placed toward the user, and the rear cover 120 is placed away from the user. The display module 200 has a receiver 2001, and the receiver 2001 is a through hole penetrating through the display module 200. The surface of the electronic device 100 where the display module 200 is located is the front surface of the electronic device 100, the surface of the electronic device 100 away from the display module 200 is the back surface of the electronic device 100, and the rear cover 120 is used for covering the back surface of the electronic device 1000. The display module 200 includes a display screen and a driving circuit thereof. The display module 200 may be a touch display module.
The circuit board 300 is located between the rear cover 120 and the display module 200. The circuit board 300 may be a main board (main board) of the electronic device 1000. The receiver is located at the top of the electronic device 1000, and sound emitted by the receiver is transmitted to the outside of the electronic device 1000 through the receiver 2001, so as to realize a sound playing function of the electronic device 1000. The speaker is located at the bottom of the electronic device 1000, and sound emitted by the speaker can be transmitted to the outside of the electronic device 1000 through the sound emitting hole 1001, so as to realize a sound playing function of the electronic device 1000.
It should be understood that the terms "top" and "bottom" used in the description of the electronic device 1000 in the embodiments of the present application are mainly set forth according to the orientation of the user when the user holds the electronic device 1000 in hand, and the terms "top" and "bottom" are used in the directions of the top side of the electronic device 1000 and the bottom side of the electronic device 1000, and do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, should not be interpreted as limiting the orientation of the electronic device 1000 in the practical application scenario. In some embodiments, the bottom of the electronic device 1000 is the end provided with the earphone hole and the USB hole, and the top of the electronic device 1000 is the other end opposite to the end provided with the earphone hole and the USB hole. In some embodiments, the short sides of the electronic device 1000 are the sides where the top and the bottom of the electronic device 1000 are located, the long sides of the electronic device 1000 are the sides of the electronic device 1000 connected between the short sides, and may also be the sides where the volume adjustment keys and other keys are located.
In this application, "connected" and "electrically connected" generally refer to electrical connections.
Please refer to fig. 2, which is a schematic plan view of the satellite antenna of the electronic device 1000 shown in fig. 1. As shown in fig. 2, the electronic device 1000 further includes a satellite antenna 400 and a display screen 500, wherein the display screen 500 is included in the display module 200 as described above.
The satellite antenna 400 is disposed at a specific position in the electronic device 1000 according to the design requirement of the electronic device 1000, and for the electronic device 1000, after the electronic device 1000 is manufactured, the satellite antenna 400 is fixed at the position of the electronic device 1000, and the optimal antenna direction of the satellite antenna 400 is also fixed relative to the electronic device 1000. Therefore, as the placement attitude of the electronic device 1000 changes, the direction in which the antenna optimal direction of the satellite antenna 400 is pointed in the geographic space will also change. Wherein, the geographic space refers to the space under the large environment of the earth, namely the latitude and longitude space. The antenna optimal direction of the satellite antenna 400 may also be referred to as a maximum radiation direction or a maximum gain direction, that is, as for the satellite antenna 400 itself, when the antenna optimal direction transmits and receives electromagnetic wave signals, the radiation energy and the gain are the largest.
Fig. 1-2 illustrate a basic structure of the electronic device 1000, and based on the basic structure, the present application provides a method for guiding and adjusting a pointing direction of a satellite antenna, and in a method section of the present application, the electronic device 1000 is taken as an example for description. However, it should be understood that the method for guiding and adjusting the pointing direction of the satellite antenna of the present application is not limited to the electronic devices shown in fig. 1-2.
Referring to fig. 3, a flowchart of a method for guiding and adjusting a pointing direction of a satellite antenna according to an embodiment of the present application is shown, where the method is applied to an electronic device, and the electronic device includes the satellite antenna and a display screen, as shown in fig. 3, the method includes:
s301: and acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna.
S303: a satellite orientation of a satellite used to communicate with the satellite antenna relative to the electronic device is obtained.
S305: the method comprises the steps of controlling to display a first indication mark on a display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark.
Therefore, in the application, through show on the display screen and be used for instructing at least the antenna best direction first instruction mark and be used for instructing the second instruction sign of satellite direction can inform the user directly perceivedly the antenna best direction with the angular deviation of satellite direction to, guide the user to adjust satellite antenna directional direction, for example guide the user to adjust electronic equipment's the gesture of placing, and adjust satellite antenna directional direction, make satellite antenna directional direction with the satellite direction is the same or roughly the same, thereby effectively promote satellite antenna's actual gain, and improve satellite communication quality.
The optimal direction of the antenna in the present application is a satellite antenna pointing direction, and the guiding and adjusting of the satellite antenna pointing direction also refers to guiding a user to adjust a placement posture of the electronic device so as to adjust the optimal direction of the antenna.
Please refer to fig. 4, which is a schematic diagram of a first indication mark and a second indication mark displayed on a display screen 500 according to an embodiment of the present application. As shown in fig. 4, a first indication mark B1 and a second indication mark B2 are displayed on the display screen 500, wherein the first indication mark B1 and the second indication mark B2 have different display parameters, and the display parameters at least include one of color and pattern. In this case, the distance between the first indicator mark B1 and the second indicator mark B2 is positively correlated with the angular deviation between the antenna optimum direction and the satellite direction, that is, the smaller the distance between the first indicator mark B1 and the second indicator mark B2 is, the smaller the angular deviation between the antenna optimum direction and the satellite direction is, and the larger the distance between the first indicator mark B1 and the second indicator mark B2 is, the larger the angular deviation between the antenna optimum direction and the satellite direction is. Wherein fig. 4 is a view illustrating only one example, the first and second indication marks B1 and B2 are not limited to the colors or patterns illustrated in fig. 4.
In some embodiments, the method further comprises: and controlling the corresponding change of the position relation between the second indication mark and the first indication mark displayed on the display screen in response to the adjustment operation of the placing posture of the electronic equipment, so as to prompt the change of the angle deviation of the optimal antenna direction and the satellite direction, and guiding to adjust the pointing direction of the satellite antenna by adjusting the placing posture of the electronic equipment 1000. Wherein the positional relationship between the first indicator and the second indicator displayed on the display screen includes a distance and a relative direction.
Thus, when performing an adjustment operation for adjusting the placement attitude of the electronic device, the user can determine the angle and direction at which the placement attitude of the electronic device is adjusted by observing a change in the positional relationship between the second indicator mark and the first indicator mark displayed on the display screen, so that the positions of the second indicator mark and the first indicator mark are close to each other, thereby achieving adjustment of the antenna optimum direction of the satellite antenna to be the same as or substantially the same as the satellite direction. In some embodiments, the user can know that the smaller the distance between the first indicator mark and the second indicator mark is, the smaller the angular deviation between the optimal direction of the antenna and the satellite direction is. The user can hold the electronic equipment and adjust the placing posture of the electronic equipment by rotating the electronic equipment and the like.
In some embodiments, the fixing of the position of the first indicator on the display screen, the changing of the position of the second indicator on the display screen following the changing of the placing posture of the electronic device, and the changing of the pointing direction of the satellite antenna 400 following the changing of the placing posture of the electronic device may include controlling the corresponding changing of the position relationship between the second indicator displayed on the display screen and the first indicator in response to the adjusting operation of the placing posture of the electronic device, and may include: and controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, so that the position relation between the second indicating mark and the first indicating mark displayed on the display screen is correspondingly changed.
Wherein the position of the first indicator mark at least comprises the position of the optimal direction of the antenna mapped on the display screen, and the second indicator mark is the position of the satellite direction mapped on the display screen. As mentioned above, generally speaking, after the electronic device is manufactured, the position of the satellite antenna on the electronic device is fixed, and the antenna optimal direction of the satellite antenna is also fixed relative to the electronic device, i.e. fixed relative to the display screen of the electronic device. And because the second indication mark is the position of the satellite direction mapped on the display screen, when the placing posture of the electronic equipment is changed, the angle between the plane of the display screen and the satellite direction is changed, and therefore, the position of the second indication mark on the display screen is changed along with the change of the placing posture of the electronic equipment. As described above, since the pointing direction of the satellite antenna, that is, the optimal direction of the antenna of the satellite antenna, is fixed with the electronic device, when the placement attitude of the electronic device changes, the pointing direction of the satellite antenna also changes along with the change in the placement attitude of the electronic device.
Therefore, after the second indication mark is controlled to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, the position relation between the second indication mark and the first indication mark is changed, and a user can be intuitively and effectively guided to adjust the placing posture of the electronic equipment to enable the second indication mark and the first indication mark to be as close as possible, so that the pointing direction of the satellite antenna is adjusted to be pointed or approximately pointed to the position of a satellite, namely the optimal direction of the satellite antenna is adjusted to be the same or approximately the same as the direction of the satellite, and the antenna gain is improved.
Referring to fig. 5 and fig. 6 together, fig. 5 is a schematic view illustrating the electronic device 1000 in a first placement posture according to an embodiment of the present disclosure, and fig. 6 is a schematic view illustrating adjusting the placement posture of the electronic device to a second placement posture according to an embodiment of the present disclosure.
The optimal direction of the antenna of the satellite antenna is fixed and unchanged relative to the electronic device 1000, and therefore may change with the change of the placement attitude of the electronic device 1000, and the satellite direction refers to the direction of the satellite relative to the electronic device 1000, and since the period of the satellite rotating around the earth is often long, the satellite direction of the satellite relative to the electronic device 1000 may also be regarded as unchanged within a certain time. Therefore, as shown in fig. 5, when the satellite antenna is in the first placement posture, the deviation angle between the antenna optimal direction of the satellite antenna and the satellite direction is large.
As shown in fig. 5 and 6, when the user holds the electronic device 1000, the user faces the display screen 500 of the electronic device 1000, so that the first indicator mark and the second indicator mark displayed on the display screen 500 can be viewed. As shown in fig. 6, the user may adjust the placement posture of the electronic device to adjust the optimal antenna direction of the satellite antenna according to the directions of the first indicator mark and the second indicator mark, as shown in fig. 6, when the electronic device is in the second placement posture, the optimal antenna direction of the satellite antenna is the same or substantially the same as the satellite direction.
Therefore, in the present application, by displaying the first indication mark and the second indication mark for guidance, a user can be effectively guided to adjust the placement posture of the electronic device so that the optimal direction of the antenna of the satellite antenna is the same or substantially the same as the direction of the satellite.
In some embodiments, the obtaining the antenna optimal direction of the satellite antenna 400 includes: and acquiring an antenna direction unit vector of the optimal direction of the antenna of the satellite antenna in an electronic equipment coordinate system, wherein the electronic equipment coordinate system is a coordinate system established by taking the direction vertical to the display screen as a Z axis, the direction parallel to the short side of the display screen as an X axis and the direction parallel to the long side of the display screen as a Y axis.
That is, in some embodiments, the obtained optimal antenna direction of the satellite antenna 400 may specifically be an antenna direction unit vector of the optimal antenna direction in the coordinate system of the electronic device. The direction of the antenna direction unit vector is the same as the direction of the antenna optimal direction in the electronic equipment coordinate system, and the length of the antenna direction unit vector is unit length.
As mentioned above, the antenna optimal direction of the satellite antenna is fixed with respect to the electronic device, and therefore, the antenna direction unit vector of the antenna optimal direction of the satellite antenna in the coordinate system of the electronic device is also fixed, and may be stored in advance in a memory of the electronic device 1000, for example. Therefore, the obtaining an antenna direction unit vector of the optimal direction of the antenna of the satellite antenna in the coordinate system of the electronic device may further include: and acquiring an antenna direction unit vector of the antenna optimal direction of the satellite antenna in an electronic device coordinate system, which is stored in advance, from a memory of the electronic device 1000.
In some embodiments, said controlling displaying a first indicator on said display screen according to said antenna optimal direction comprises: determining an antenna coordinate position of the antenna direction unit vector in the electronic equipment coordinate system; determining a first target position of the antenna direction unit vector mapped on the display screen according to the antenna coordinate position; and controlling the first indication mark to be displayed at the first target position on the display screen.
That is, in some embodiments, to map the antenna optimal direction on the first target position on the display screen and visually indicate through the first indication mark, by determining the antenna coordinate position of the antenna direction unit vector in the electronic device coordinate system, and then determining the first target position on the display screen to which the antenna direction unit vector is mapped, thereby being the position on the display screen to which the antenna optimal direction is mapped, and controlling the first target position on the display screen to display the first indication mark.
In some embodiments, the determining the coordinate position of the antenna direction unit vector in the electronic device coordinate system comprises: and respectively determining coordinate values corresponding to the projections of the antenna direction unit vector on the X axis, the Y axis and the Z axis in the electronic equipment coordinate system to obtain the coordinate position of the antenna direction unit vector in the electronic equipment coordinate system.
Please refer to fig. 7, which is a schematic diagram of a coordinate system of an electronic device 1000 in a forward position according to an embodiment of the present application. As shown in fig. 7, the electronic device coordinate system is a coordinate system established by taking a direction perpendicular to the display screen 500 as a Z axis, a short side direction parallel to the display screen 500 as an X axis, and a long side direction parallel to the display screen 500 as a Y axis, and the antenna direction unit vector is a vector
Figure 825406DEST_PATH_IMAGE001
As shown in fig. 7, whereby the antenna direction unit vector
Figure 468877DEST_PATH_IMAGE002
The corresponding X, Y and Z coordinates are coordinate values corresponding to the projections on the X, Y and Z axes in the electronic device coordinate system, respectively, so that the coordinate position of the antenna direction unit vector in the electronic device coordinate system can be obtained by determining the coordinate values corresponding to the projections of the antenna direction unit vector on the X, Y and Z axes in the electronic device coordinate system, respectively.
The electronic device 1000 in the normal position is a position in which the display screen of the electronic device faces the user, the top end of the display screen faces upward, and the bottom end of the display screen faces downward.
Further, the antenna direction unit vector
Figure 7306DEST_PATH_IMAGE003
Defines the direction, which is the unit vector of the antenna direction
Figure 736227DEST_PATH_IMAGE004
Respectively form included angles with an X axis, a Y axis and a Z axis in a coordinate system of the electronic equipment, thereby the unit vector of the antenna direction can be obtained
Figure 503457DEST_PATH_IMAGE005
The cosine of the unit length is calculated according to the included angle between the unit length and each axis, and the antenna square can be obtainedAnd coordinate values corresponding to projections of the unit vector on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment. E.g. unit vector of antenna direction
Figure 1435DEST_PATH_IMAGE003
At an angle to the X-axis in the coordinate system of the electronic device of
Figure 507502DEST_PATH_IMAGE006
Since the length of the unit vector is a unit length, i.e., 1, the unit vector of the antenna direction is the unit vector
Figure 395824DEST_PATH_IMAGE003
The coordinate value on the X axis in the coordinate system of the electronic equipment is the coordinate value
Figure 278329DEST_PATH_IMAGE007
Fig. 8 is a schematic view of a coordinate system of an electronic device in a side view state according to an embodiment of the present disclosure. In some embodiments, the electronic device coordinate system further uses the center of the display screen 500 as the origin of coordinates o, wherein a direction perpendicular to the display screen 500 and pointing to the viewing side of the display screen 500 is a positive Z-axis direction, and correspondingly, a direction perpendicular to the display screen 500 and pointing to the back F1 of the electronic device 1000 is a negative Z-axis direction. Wherein the determining the first target position of the antenna direction unit vector mapped on the display screen 500 according to the antenna coordinate position includes: acquiring a preset observation point coordinate position of an observation point P1 located on a Z-axis positive half shaft of an electronic equipment coordinate system, wherein the observation point P1 is separated from the origin of coordinates o by a preset distance, and the projection of the observation point P1 on the display screen 500 is overlapped with the center of the display screen serving as the origin of coordinates o; and calculating to obtain a first intersection point coordinate position of an intersection point of a connecting line of the observation point P1 and the antenna coordinate position point A1 and the display screen 500 according to the observation point coordinate position and the antenna coordinate position, and taking the first intersection point coordinate position on the display screen 500 as the first target position, wherein the antenna coordinate position point A1 is a point corresponding to the antenna coordinate position, and a Z-axis coordinate in the antenna coordinate position is negative.
As shown in fig. 8, in the aforementioned coordinate system of the electronic device, the center of the display screen 500 is used as a coordinate origin o, a direction perpendicular to the display screen 500 is used as a Z axis, a short side direction parallel to the display screen 500 is used as an X axis, and a long side direction parallel to the display screen 500 is used as a Y axis, where the display screen 500 specifically refers to a screen of the display screen 500, that is, an outermost side of the display screen, a plane where the display screen 500 is located in this application, and also refers to a plane where the screen of the display screen 500 is located.
Under the general condition, electronic equipment's display screen 500 can cause the radiation of antenna to shelter from, consequently, under the general condition, the radiation direction of antenna all design for the back towards electronic equipment and with the back is certain angle, consequently, the electronic equipment coordinate system perpendicular to the display screen just points to when the direction of the side of watching of display screen is Z axle positive direction, then what the antenna unit vector of the best direction of antenna of the satellite antenna of this application pointed to is Z axle negative direction, consequently, Z axle coordinate in the antenna coordinate position is the burden.
In some embodiments, the calculating a first intersection coordinate position of an intersection point of a connection line between observation point P1 and antenna coordinate position point A1 and display screen 500 according to the observation point coordinate position and the antenna coordinate position may include:
calculating the X-axis coordinate and the Y-axis coordinate in the first intersection coordinate position according to the formulas X1= L X0/(L-z 0) and Y1= L Y0/(L-z 0), thereby obtaining the first intersection coordinate position (X1, Y1, z 1); wherein X1 is an X-axis coordinate in the first intersection coordinate position, Y1 is a Y-axis coordinate in the first intersection coordinate position, and Z1 is a Z-axis coordinate in the first intersection coordinate position, and since the intersection is located on the display screen, Z1=0, L is a Z-axis coordinate of the observation point, X0 is an X-axis coordinate of the antenna coordinate position, Y0 is a Y-axis coordinate of the antenna coordinate position, and Z0 is a Z-axis coordinate of the antenna coordinate position.
As shown in fig. 8, an intersection point of a connection line between the observation point P1 and the antenna coordinate position point A1 and the display screen 500 is B1, and the ratio of each side of the similar triangle is equal to obtain: X1/X0= y1/y0= (L-z 1)/(L-z 0), wherein since z1 is 0, it can be further found that X1/X0= y1/y0= L/(L-z 0), and thus, the above two formulas X1= L X0/(L-z 0) and y1= L y 0/(L-z 0) can be obtained.
Fig. 8 schematically illustrates a schematic diagram that the projection of the antenna coordinate position point A1 and the intersection point B1 on the YZ plane forms a similar triangle, and it can be found from fig. 8 that a right triangle formed by a connecting line of the projection of the antenna coordinate position point A1 on the YZ plane and the observation point P1 and the Z axis and another right triangle formed by a connecting line of the projection of the intersection point B1 on the YZ plane and the observation point P1 and the Z axis are similar triangles, so that y1/y0= (L-Z1)/(L-Z0) can be obtained. Accordingly, by forming a similar triangle by the projection of the antenna coordinate position point A1 and the intersection point B1 on the XZ plane, x1/x0= (L-z 1)/(L-z 0) can be obtained, and therefore, x1/x0= y1/y0= (L-z 1)/(L-z 0) can be obtained.
If the observation point P1 is not introduced, the direction of the connection line between the antenna coordinate position point A1 and the origin of coordinates o is actually the same as the unit vector of the antenna direction, so that the first indication mark is located at the origin of coordinates o. Thus, by introducing the observation point P1, the position of the first indication mark on the display screen is as far as possible not to be located at the center of the display screen, and the first indication mark and the second indication mark are prevented from being overlapped at the center of the display screen in a case where the optimal antenna direction of the satellite antenna is not aligned with the satellite direction.
Wherein, as shown in fig. 7, in the electronic device coordinate system, under the state that the display screen 500 is being placed towards the user, the direction that is parallel to the minor face of the display screen and points to the right side is the positive direction of the X axis, be parallel to the long side direction of the display screen and point to the top, also be parallel to the long side direction of the display screen and point to the direction at the top of the electronic device 1000 is the positive direction of the Y axis.
In some embodiments, the obtaining a satellite orientation of a satellite used to communicate with the satellite antenna relative to the electronic device comprises: and acquiring a satellite direction unit vector of the satellite relative to the electronic equipment in a geodetic coordinate system, wherein the geodetic coordinate system is a coordinate system established by taking a geodetic plane as an XY plane and taking a gravity direction as a Z axis.
That is, as described above, the satellite direction is a direction of the satellite with respect to the electronic device, and specifically, acquiring the satellite direction is acquiring a unit vector of the satellite direction of the satellite with respect to the electronic device in a geodetic coordinate system. The direction of the satellite direction unit vector is the same as the satellite direction in the geodetic coordinate system, and the length of the satellite direction unit vector is a unit length, wherein the length of the satellite direction unit vector is the same as the length of the antenna direction unit vector.
In some embodiments, the obtaining a unit vector of a satellite direction of the satellite relative to the electronic device in the geodetic coordinate system may further include: and synchronously obtaining the longitude and latitude coordinates of the satellite through communication with the satellite, determining the longitude and latitude coordinates of the electronic equipment through a GPS system and the like, and determining to obtain a satellite direction unit vector of the satellite relative to the electronic equipment in a geodetic coordinate system according to the longitude and latitude coordinates of the satellite and the longitude and latitude coordinates of the electronic equipment.
And the longitude and latitude coordinates are coordinates in the geodetic coordinate system.
In the present application, the geodetic coordinate system and the electronic device coordinate system are rectangular coordinate systems, and only the reference planes (XY planes) that are established are different, the geodetic coordinate system uses the geodetic plane as the reference plane, and the electronic device coordinate system uses the plane where the display screen is located as the reference plane, because the placing postures of the electronic devices are different, the plane where the display screen is located is different, and therefore, the directions of the X axis, the Y axis and the Z axis in the electronic device coordinate system are different according to the different placing postures of the electronic devices.
In some embodiments, said controlling displaying a second indicator on said display screen in accordance with said satellite orientation comprises: converting the satellite direction unit vector of the satellite in the geodetic coordinate system relative to the electronic equipment into a satellite coordinate position in the electronic equipment coordinate system, wherein the electronic equipment coordinate system is a coordinate system established by taking the direction perpendicular to the display screen as a Z axis, the direction parallel to the short side of the display screen as an X axis and the direction parallel to the long side of the display screen as a Y axis as described above; determining a second target position of the unit vector of the satellite direction mapped on the display screen according to the satellite coordinate position; and controlling the second target position on the display screen to display the second indication mark.
That is, in some embodiments, the satellite direction may be mapped to a second target location on the display screen and visually indicated by the second indication mark by first converting the satellite direction unit vector of the satellite in the earth coordinate system relative to the electronic device to a satellite coordinate position in the electronic device coordinate system, and then determining a second target location on the display screen to which the satellite direction unit vector is mapped according to the satellite coordinate position.
In some embodiments, the converting the unit vector of the satellite direction of the satellite in the geodetic coordinate system relative to the electronic device into the satellite coordinate position in the electronic device coordinate system includes: determining the coordinate position of the satellite direction unit vector in a geodetic coordinate system; determining coordinate positions of an X-axis unit vector, a Y-axis unit vector and a Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively; and obtaining the satellite coordinate position of the satellite direction unit vector in the electronic equipment coordinate system according to the coordinate position of the satellite direction unit vector in a geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively.
In the present application, after obtaining the coordinate positions of the X-axis unit vector, the Y-axis unit vector, and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system, the satellite coordinate position of the satellite direction unit vector in the electronic device coordinate system can be obtained from the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector, and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system, respectively, so that the satellite direction unit vector can be converted into the satellite coordinate position in the electronic device coordinate system.
In some embodiments, the determining the coordinate position of the unit vector of satellite directions in the geodetic coordinate system may include: and respectively determining coordinate values corresponding to the projections of the satellite direction unit vector on the X axis, the Y axis and the Z axis in the geodetic coordinate system to obtain the coordinate position of the satellite direction unit vector in the coordinate system of the electronic equipment.
Please refer to fig. 9, which is a schematic diagram of the geodetic coordinate system in an embodiment of the present application. Similarly, in the geodetic coordinate system, the unit vector of satellite direction
Figure 83343DEST_PATH_IMAGE008
Defining a direction, which is a unit vector of the satellite direction
Figure 25891DEST_PATH_IMAGE009
Respectively form an included angle with an X axis, a Y axis and a Z axis in a geodetic coordinate system, thereby obtaining a unit vector of the satellite direction
Figure 463826DEST_PATH_IMAGE009
The cosine of the unit length of the satellite is calculated according to the included angle between the unit length and each axis, and the unit vector of the satellite direction can be obtained
Figure 822126DEST_PATH_IMAGE009
At the geodetic coordinatesCoordinate values corresponding to projections on the X-axis, Y-axis and Z-axis in the system. For example, the unit vector of satellite direction
Figure 294696DEST_PATH_IMAGE009
At an angle to the X-axis in the geodetic coordinate system of
Figure 828052DEST_PATH_IMAGE010
Since the length of the unit vector is a unit length, i.e., 1, the unit vector of the satellite direction is the unit vector
Figure 753283DEST_PATH_IMAGE009
The coordinate value on the X axis in the geodetic coordinate system is
Figure 977591DEST_PATH_IMAGE011
In some embodiments, the determining the coordinate positions of the X-axis unit vector, the Y-axis unit vector, and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectively includes: the coordinate values corresponding to the projections of the X-axis unit vector on the X-axis, the Y-axis and the Z-axis in the coordinate system of the electronic device are determined to obtain the coordinate position of the X-axis unit vector in the coordinate system of the electronic device, the coordinate values corresponding to the projections of the Y-axis unit vector on the X-axis, the Y-axis and the Z-axis in the coordinate system of the electronic device are determined to obtain the coordinate position of the Y-axis unit vector in the coordinate system of the electronic device, and the coordinate values corresponding to the projections of the Z-axis unit vector on the X-axis, the Y-axis and the Z-axis in the coordinate system of the electronic device are determined to obtain the coordinate position of the Z-axis unit vector in the coordinate system of the electronic device.
Please refer to fig. 10, which is a schematic diagram illustrating a relationship between the geodetic coordinate system and the electronic device coordinate system in an embodiment of the present application. Wherein, as mentioned above, the geodetic coordinate system and the electronic device coordinate system are rectangular coordinate systems, and only the established reference plane (XY plane) is different, the geodetic coordinate system takes the geodetic plane as the reference plane, andthe electronic device coordinate system uses the plane where the display screen is located as a reference plane, and most of the time, the placing posture of the electronic device is not that the display screen is placed upwards and horizontally, as shown in fig. 10, when the placing posture of the electronic device is not that the display screen is placed upwards and horizontally, the directions of an X axis, a Y axis and a Z axis in the electronic device coordinate system and the directions of the X axis, the Y axis and the Z axis in the geodetic coordinate system form included angles. Wherein, FIG. 10 specifically illustrates the X-axis unit vector in the geodetic coordinate system
Figure 242350DEST_PATH_IMAGE012
Y-axis unit vector
Figure 526701DEST_PATH_IMAGE013
And Z-axis unit vector
Figure 126178DEST_PATH_IMAGE014
The relation with the X axis, the Y axis and the Z axis in the electronic equipment coordinate system, and the corresponding coordinate position in the electronic equipment coordinate system. Wherein the X-axis unit vector in the geodetic coordinate system in FIG. 10
Figure 888598DEST_PATH_IMAGE012
Unit vector of Y-axis
Figure 70180DEST_PATH_IMAGE015
And Z-axis unit vector
Figure 463116DEST_PATH_IMAGE014
Indicated by dashed lines.
In some embodiments, the determining the X-axis unit vector
Figure 362938DEST_PATH_IMAGE012
Coordinate values corresponding to projections on the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment respectively to obtain the X-axis unit vector
Figure 617465DEST_PATH_IMAGE012
Determining the Y-axis unit vector at a coordinate position in the coordinate system of the electronic device
Figure 653554DEST_PATH_IMAGE015
Coordinate values corresponding to the projections on the X-axis, the Y-axis and the Z-axis in the coordinate system of the electronic device respectively to obtain the Y-axis unit vector
Figure 951811DEST_PATH_IMAGE015
Coordinate position in the electronic device coordinate system, and determining the Z-axis unit vector
Figure 338930DEST_PATH_IMAGE014
Coordinate values corresponding to the projections on the X-axis, the Y-axis and the Z-axis in the coordinate system of the electronic equipment respectively to obtain the Z-axis unit vector
Figure 443152DEST_PATH_IMAGE014
The coordinate position in the electronic device coordinate system may include: detecting the placing posture of the electronic equipment through a posture sensor; determining included angles between an X axis (namely an X axis unit vector) in the geodetic coordinate system and an X axis, a Y axis and a Z axis in the electronic equipment coordinate system respectively, included angles between a Y axis (namely a Y axis unit vector) in the geodetic coordinate system and the X axis, the Y axis and the Z axis in the electronic equipment coordinate system respectively, and included angles between a Z axis (namely a Z axis unit vector) in the geodetic coordinate system and the X axis, the Y axis and the Z axis in the electronic equipment coordinate system respectively according to the placing posture; then the X-axis unit vector is expressed
Figure 786278DEST_PATH_IMAGE012
Is respectively based on the X-axis unit vector
Figure 583332DEST_PATH_IMAGE012
Calculating cosine with the included angle of the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the X axis unit vector
Figure 395431DEST_PATH_IMAGE016
Coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment are obtained, and the X-axis unit vector is obtained
Figure 568923DEST_PATH_IMAGE016
A coordinate position in the electronic device coordinate system; and combining the Y-axis unit vectors
Figure 282668DEST_PATH_IMAGE013
Respectively according to the Y-axis unit vector
Figure 250624DEST_PATH_IMAGE013
Calculating cosine of included angles of the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the Y axis unit vector
Figure 346756DEST_PATH_IMAGE015
Coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment are obtained, and the Y axis unit vector is obtained
Figure 730464DEST_PATH_IMAGE017
A coordinate position in the electronic device coordinate system; and the Z-axis unit vector
Figure 861231DEST_PATH_IMAGE014
Is respectively based on the Z-axis unit vector
Figure 187039DEST_PATH_IMAGE018
Calculating cosine of included angles of the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the Z axis unit vector
Figure 770467DEST_PATH_IMAGE019
Coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment are obtained, and the Z axis unit vector is obtained
Figure 957866DEST_PATH_IMAGE014
A coordinate position in the electronic device coordinate system.
In particular, for example, for X-axis unit vectors
Figure 943140DEST_PATH_IMAGE012
Specifically, the X-axis unit vector can be obtained by
Figure 941314DEST_PATH_IMAGE012
Respectively solving the cosine according to the included angles with the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the X axis unit vector
Figure 12038DEST_PATH_IMAGE012
And the coordinate values corresponding to the projections on the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment. For example, the X-axis unit vector
Figure 65445DEST_PATH_IMAGE012
At an angle to the X-axis in the coordinate system of the electronic device of
Figure 577329DEST_PATH_IMAGE020
Since the length of the unit vector is a unit length, i.e., 1, the X-axis unit vector
Figure 57989DEST_PATH_IMAGE012
The coordinate value on the X axis in the coordinate system of the electronic equipment is the coordinate value
Figure 802960DEST_PATH_IMAGE021
. Similarly, the Y-axis unit vector
Figure 660057DEST_PATH_IMAGE013
Respectively solving the cosine according to the included angles of the unit length and the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the Y axis unit vector
Figure 354344DEST_PATH_IMAGE013
Coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment; the Z-axis unit vector
Figure 943588DEST_PATH_IMAGE014
Respectively solving the cosine according to the included angles with the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment to obtain the Z axis unit vector
Figure 988904DEST_PATH_IMAGE014
And coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the coordinate system of the electronic equipment.
In some embodiments, the obtaining the satellite coordinate position of the satellite direction unit vector in the electronic device coordinate system according to the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectively comprises: according to the formula x2= x s *x xg +y s *x yg +z s *x zg ,y2=x s *y xg +y s *y yg +z s *y zg And z2= x s *z xg +y s *z yg +z s *z zg Calculating to obtain a satellite coordinate position (x 2, y2, z 2); wherein, X2 is the X-axis coordinate of the satellite coordinate position, Y2 is the Y-axis coordinate of the satellite coordinate position, Z2 is the Z-axis coordinate of the satellite coordinate position, and X s ,y s And z s The coordinate values of the unit vector of the satellite direction on the X axis, the Y axis and the Z axis in the geodetic coordinate system are respectively xg ,x yg And x zg X coordinates corresponding to coordinate values corresponding to the projection of the X-axis unit vector in the geodetic coordinate system on the X axis in the electronic equipment coordinate system, Y coordinates corresponding to the projection on the Y axis in the electronic equipment coordinate system and Z coordinates corresponding to the projection on the Z axis in the electronic equipment coordinate system, wherein the Y coordinates are respectively xg ,y yg And y zg Respectively being an X coordinate corresponding to a projection of a Y-axis unit vector in the geodetic coordinate system on an X-axis of the electronic device coordinate system, a Y coordinate corresponding to a projection on a Y-axis of the electronic device coordinate system and a Z coordinate corresponding to a projection on a Z-axis of the electronic device coordinate system, the Z being xg ,z yg And z zg The X coordinate corresponding to the projection of the Z-axis unit vector in the geodetic coordinate system on the X axis of the electronic device coordinate system, the Y coordinate corresponding to the projection on the Y axis of the electronic device coordinate system and the Z coordinate corresponding to the projection on the Z axis of the electronic device coordinate system are respectively.
In particular, due to the unit vector of satellite directions
Figure 804020DEST_PATH_IMAGE022
The coordinate values on the X-axis, Y-axis and Z-axis in the geodetic coordinate system are X s ,y s And z s And as previously mentioned, the unit vector of the X axis in the geodetic coordinate system is
Figure 352813DEST_PATH_IMAGE023
The Y-axis unit vector is
Figure 440855DEST_PATH_IMAGE013
And Z-axis unit vector of
Figure 911151DEST_PATH_IMAGE018
. Since the unit vector of the X axis is
Figure 844471DEST_PATH_IMAGE016
The Y-axis unit vector is
Figure 700301DEST_PATH_IMAGE013
And Z-axis unit vector of
Figure 959244DEST_PATH_IMAGE014
Respectively characterize the directions of the X-axis, the Y-axis and the Z-axis in the geodetic coordinate system and have a length unit of 1, while X s ,y s And z s Respectively unit vector of satellite direction
Figure 447994DEST_PATH_IMAGE022
The projection lengths on the X-axis, Y-axis and Z-axis, i.e. the component lengths. Therefore, the temperature of the molten metal is controlled,
Figure 122689DEST_PATH_IMAGE024
then is the unit vector of the satellite direction
Figure 646074DEST_PATH_IMAGE022
The component on the X-axis in the geodetic coordinate system,
Figure 764334DEST_PATH_IMAGE025
unit vector for the satellite direction
Figure 5960DEST_PATH_IMAGE022
The component on the Y-axis in the geodetic coordinate system,
Figure 546662DEST_PATH_IMAGE026
as unit vector of the satellite direction
Figure 596658DEST_PATH_IMAGE022
A component on the Z-axis in the geodetic coordinate system. And the unit vector of satellite direction
Figure 197404DEST_PATH_IMAGE022
The sum of the three components gives the formula:
Figure 113276DEST_PATH_IMAGE027
referring back to FIG. 10, the unit vector of the X axis is
Figure 457669DEST_PATH_IMAGE028
The coordinates in the coordinate system of the electronic equipment are (x) xg ,x yg ,x zg ) I.e. by
Figure 893330DEST_PATH_IMAGE028
=(x xg ,x yg ,x zg ) I.e. the aforementioned, said x xg ,x yg And x zg The coordinate values are respectively an X coordinate corresponding to a projection of the X-axis unit vector in the geodetic coordinate system on an X axis in the electronic device coordinate system, a Y coordinate corresponding to a projection on a Y axis in the electronic device coordinate system and a Z coordinate corresponding to a projection on a Z axis in the electronic device coordinate system. The Y-axis unit vector is
Figure 399398DEST_PATH_IMAGE029
The coordinate in the coordinate system of the electronic equipment is (y) xg ,y yg ,y zg ) I.e. by
Figure 615615DEST_PATH_IMAGE029
=(y xg ,y yg ,y zg ) I.e. the foregoing, said y xg ,y yg And y zg The X coordinate corresponding to the projection of the Y-axis unit vector in the geodetic coordinate system on the X-axis of the electronic device coordinate system, the Y coordinate corresponding to the projection on the Y-axis of the electronic device coordinate system, and the Z coordinate corresponding to the projection on the Z-axis of the electronic device coordinate system are respectively. The Z-axis unit vector is
Figure 923887DEST_PATH_IMAGE030
The coordinate in the coordinate system of the electronic equipment is (z) xg ,z yg ,z zg ) I.e. by
Figure 276371DEST_PATH_IMAGE031
=(z xg ,z yg ,z zg ) I.e. the foregoing, said z xg ,z yg And z zg The X coordinate corresponding to the projection of the Z-axis unit vector in the geodetic coordinate system on the X axis of the electronic device coordinate system, the Y coordinate corresponding to the projection on the Y axis of the electronic device coordinate system and the Z coordinate corresponding to the projection on the Z axis of the electronic device coordinate system are respectively.
Therefore, the temperature of the molten metal is controlled,will be provided with
Figure 156602DEST_PATH_IMAGE028
=(x xg ,x yg ,x zg ),
Figure 594537DEST_PATH_IMAGE029
=(y xg ,y yg ,y zg ) And
Figure 280733DEST_PATH_IMAGE031
=(z xg ,z yg ,z zg ) Substituting into the aforementioned formula
Figure 674674DEST_PATH_IMAGE032
Then can obtain
Figure 788123DEST_PATH_IMAGE033
=x s *(x xg ,x yg ,x zg )+y s *(y xg ,y yg ,y zg )+z s *(z xg ,z yg ,z zg )=(x s *x xg +y s *x yg +z s *x zg ,x s *y xg +y s *y yg +z s *y zg ,x s *z xg +y s *z yg +z s *z zg ) Resulting in the coordinates x2= x in the coordinate system of the electronic device s *x xg +y s *x yg +z s *x zg ,y2=x s *y xg +y s *y yg +z s *y zg And z2= x s *z xg +y s *z yg +z s *z zg
Therefore, the satellite coordinate position of the satellite direction unit vector in the coordinate system of the electronic equipment can be accurately obtained through the method.
Please refer to fig. 11, which is another schematic diagram of an electronic apparatus coordinate system when the electronic apparatus is in a side view state according to an embodiment of the present application. In some embodiments, similarly, the electronic device coordinate system further specifically uses the center of the display screen 500 as the coordinate origin o, wherein a direction perpendicular to the display screen 500 and pointing to the viewing side of the display screen 500 is a positive Z-axis direction, and correspondingly, a direction perpendicular to the display screen 500 and pointing to the back F1 of the electronic device 1000 is a negative Z-axis direction. Wherein the determining a second target position of the unit vector of satellite direction mapped on the display screen according to the coordinate position of the satellite comprises: acquiring a preset observation point coordinate position of an observation point P1 located on a Z-axis positive half shaft of an electronic device coordinate system, wherein the observation point is spaced from the origin of coordinates by a preset distance, and the projection of the observation point P1 on the display screen 500 is superposed with the center of the display screen serving as the origin of coordinates o; and calculating according to the coordinate position of the observation point and the coordinate position of the satellite to obtain a second intersection point coordinate position of a connecting line of the observation point P1 and the satellite coordinate position point A2 and an intersection point B2 of the display screen, and taking the second intersection point coordinate position on the display screen as the second target position, wherein the Z-axis coordinate in the satellite coordinate position is negative, and the satellite coordinate position point is a point corresponding to the satellite coordinate position.
In general, in the process of using satellite communication, the position of the satellite is generally located on the back of the electronic device, so when the coordinate system of the electronic device is perpendicular to the display screen and the direction pointing to the viewing side of the display screen is the positive direction of the Z axis, the unit vector of the satellite direction of the present application points to the negative direction of the Z axis, and therefore the Z axis coordinate in the satellite coordinate position is negative.
In some embodiments, calculating a second intersection coordinate position of a connection line between observation point P1 and satellite coordinate position point A2 and intersection point B2 of the display screen according to the observation point coordinate position and the satellite coordinate position includes:
calculating the X-axis coordinate and the Y-axis coordinate in the second intersection coordinate position according to formulas X3= L X4/(L-z 4) and Y3= L Y4/(L-z 4), thereby obtaining the second intersection coordinate position (X3, Y3, z 3); wherein X3 is an X-axis coordinate in the second intersection coordinate position, Y3 is a Y-axis coordinate in the second intersection coordinate position, Z3 is a Z-axis coordinate in the second intersection coordinate position, Z3=0, L is a Z-axis coordinate of the observation point, X4 is an X-axis coordinate in the satellite coordinate position, that is, an X-axis coordinate of the satellite coordinate position point A2, Y4 is a Y-axis coordinate in the satellite coordinate position, that is, a Y-axis coordinate of the satellite coordinate position point A2, and Z4 is a Z-axis coordinate in the satellite coordinate position, that is, a Z-axis coordinate of the satellite coordinate position point A2.
As shown in fig. 11, an intersection point of a connection line between the observation point P1 and the satellite coordinate position point A2 and the display screen 500 is B2, and the ratio of each side of the similar triangle is equal to obtain: x3/x4= y3/y4= (L-z 3)/(L-z 4), wherein since z3 is 0, it may be further concluded that x3/x4= y3/y4= L/(L-z 4), and thus, the above two formulas x3= L x 4/(L-z 4) and y3= L y 4/(L-z 4) may be concluded.
Fig. 11 is a schematic diagram illustrating a similar triangle formed by the projection of the satellite coordinate position point A2 and the intersection point B2 on the YZ plane, and it can be found from fig. 1 that a right triangle formed by the connecting line of the projection point of the satellite coordinate position point A2 on the YZ plane and the observation point P1 and the Z axis and another right triangle formed by the connecting line of the projection point of the intersection point B2 on the YZ plane and the observation point P1 and the Z axis are similar triangles, so that y3/y4= (L-Z3)/(L-Z4) can be obtained. Accordingly, by forming a similar triangle by the projection of the satellite coordinate position point A2 and the intersection point B2 on the XZ plane, x3/x4= (L-z 3)/(L-z 4) can be obtained, and therefore, x1/x0= y1/y0= (L-z 1)/(L-z 0) can be obtained.
Therefore, through the steps of the method, the second target position displayed on the display screen by the second indicating mark in the current placing posture of the electronic equipment can be determined. As mentioned above, the second target position mapped on the display screen by the satellite direction unit vector is determined according to the satellite coordinate position converted into the coordinate system of the electronic device, and according to the above calculation method, the satellite coordinate position is changed according to the change of the placing posture of the electronic device.
The value of the Z-axis coordinate L of the observation point may be a value in d/2-3d, where "d" is a length of a long side of a display screen of the electronic device.
If the observation point P1 is not introduced, the direction of the connection line between the antenna coordinate position point A1 and the origin of coordinates o is actually more the same as the unit vector of the antenna direction, and the direction of the connection line between the satellite coordinate position point A2 and the origin of coordinates o is also more the same as the unit vector of the satellite direction. This results in the first index mark and the second index mark both being located at the origin of coordinates o. In the present application, by introducing the observation point P1, the first indication mark and the second indication mark may be located as far as possible at the center of the display screen, so as to avoid that the first indication mark and the second indication mark are overlapped at the center of the display screen under the condition that the antenna optimal direction of the satellite antenna is not aligned with the satellite direction, and since the observation point P1 is introduced in the determination process of the first target position of the first indication mark and the second target position of the second indication mark, the antenna optimal direction and the deviation of the satellite antenna can be reflected more accurately.
Wherein, the aforementioned controlling the second indication mark to move correspondingly in response to the operation of adjusting the placement posture of the electronic device may include: responding to the adjustment operation of the placement posture of the electronic device, redetermining the second target position displayed on the display screen by the second indicating mark in the current placement posture of the electronic device 1000, and controlling the second indicating mark to be displayed at the redetermined second target position.
In the operation of adjusting the placement posture of the electronic device, the second target position displayed on the display screen by the second indicator mark can be re-determined at preset time intervals in the current placement posture of the electronic device, and the second indicator mark is controlled to be displayed at the re-determined second target position. The preset time can be a short distance such as 0.2 second, so that the user sees the second indication mark as moving on the display screen more smoothly due to effects such as visual residue.
For the second target position displayed on the display screen by the second indicator mark in the current placement posture of the electronic device 1000, reference may be made to the foregoing manner for determining the second target position, which is not described herein again.
Please refer to fig. 12, which is a schematic diagram of a first indication mark and a second indication mark displayed on the display screen 500 according to some embodiments of the present application. As shown in fig. 12, the first indicator B1 includes a central point B11 and a ring-shaped area B12 surrounding the central point B11, where the central point B11 is used for representing the optimal direction of the antenna, and the ring-shaped area B12 is used for representing the sub-optimal direction of the antenna. Wherein the method further comprises: in the process of controlling the second indication mark B2 to move correspondingly in response to the adjustment operation of the placement posture of the electronic device 1000, when the second indication mark B2 moves into the annular area B12 in the first indication mark B1, a first prompt signal is controlled to be generated.
Since the annular region B12 is used to represent the sub-optimal direction of the antenna, and when the satellite direction is substantially the same as the sub-optimal direction of the antenna, the antenna gain of the satellite antenna 400 is greater than or equal to the preset threshold, when the second indication mark B2 moves into the annular region B12 in the first indication mark B1, the user is reminded by generating the first prompt signal, the placing posture of the electronic device 1000 does not need to be adjusted, prompt can be effectively performed in time, and the adjustment time can be reduced. The preset threshold is the threshold which meets the better satellite antenna communication quality and is a value determined in advance through experiments and the like.
In other embodiments, the method also includes: responding to the adjustment operation of the placement posture of the electronic device 1000, calculating the antenna gain of the satellite antenna 200 in the process of adjusting the placement posture of the electronic device, and controlling to generate a first prompt signal when the antenna gain of the satellite antenna 200 is greater than or equal to a preset threshold value. How to calculate the antenna gain is not the protection focus of the present application, and the antenna gain of the satellite antenna 200 may be calculated by some existing antenna gain algorithms.
That is, since the annular region B12 is used to represent the antenna sub-optimal direction, which means that when the satellite direction is substantially the same as the antenna sub-optimal direction, the antenna gain of the satellite antenna 400 is greater than or equal to the preset threshold, and therefore, the antenna gain of the satellite antenna 400 is greater than or equal to the preset threshold, and the movement of the second indication mark B2 into the annular region B12 in the first indication mark B1 corresponds to this. Therefore, in other embodiments, the antenna gain of the satellite antenna 200 may also be directly calculated, and when the antenna gain of the satellite antenna 200 is greater than or equal to a preset threshold, the first prompt signal is controlled to be generated.
In some embodiments, the first prompt signal may be a voice prompt signal, for example, outputting a voice content of "the current posture has reached a better state". In some embodiments, the first alert signal may be a vibration alert signal, alerting the user by vibration. In some embodiments, the first prompt signal may also control the change of the display parameter and/or the display mode of the annular region B12, the display parameter may include one of color and pattern, the display mode may include a blinking display, and the like. Thus, the user is prompted that the current antenna gain of the satellite antenna 400 is greater than or equal to the preset threshold.
In some embodiments, the method further comprises: when the second indicating mark moves to the central point in the first indicating mark, a second prompting signal is controlled to be generated. The second prompt signal may also be a voice prompt signal, for example, outputting a voice content such as "the current posture has reached the best state". The second prompt signal can also be a vibration prompt signal, and the vibration intensity is greater than that of the first prompt signal. In some embodiments, the second prompt signal may also change a display parameter and/or a display manner controlling the center point B11, the display parameter may include one of a color and a pattern, the display manner may include a blinking display, and the like. Thus, the user is prompted that the antenna optimum direction is already the same as the satellite direction in the current placement attitude, that is, the current antenna gain of the satellite antenna 400 is already optimum.
In some embodiments, the display parameters of the annular area B12 and the central point B11 are different, and the display parameters include at least one of color and pattern, so that the annular area B12 and the central point B11 can be effectively distinguished, and a user can visually distinguish whether the second indication mark B2 is currently moved to the annular area B12 or the central point B11.
The position and size of the annular region B12 may be determined according to the position set mapped onto the display screen 500 from the antenna suboptimal direction. The directions within a certain angle from the optimal direction deviation of the antenna are the sub-optimal directions of the antenna, and therefore, the mapping onto the display screen 500 is the annular region B12.
As shown in fig. 12, the second indication mark B2 may be a satellite pattern, so as to more intuitively show the direction of the satellite.
Please refer to fig. 13, which is a schematic diagram illustrating that the second indicator B2 moves along with a change of the placement posture of the electronic device 1000 according to an embodiment of the present application.
As shown in fig. 13, the electronic device 1000 is taken as an example of a front view, i.e., the display screen 500 of the electronic device 1000 faces the user, the top end faces upward, and the bottom end faces downward. When the electronic device 1000 rotates clockwise about the X axis, the second indicator mark B2 moves upward in the display screen 500 at the viewing angle shown in fig. 13, and when the electronic device 1000 rotates counterclockwise about the X axis, the second indicator mark B2 moves downward in the display screen 500 at the viewing angle shown in fig. 13. When the electronic device 1000 rotates clockwise about the Y axis, the second indicator mark B2 moves leftward in the display screen 500 at the viewing angle shown in fig. 13, and when the electronic device 1000 rotates counterclockwise about the Y axis, the second indicator mark B2 moves rightward in the display screen 500 at the viewing angle shown in fig. 13. When the electronic device 1000 rotates counterclockwise around the Z axis, the second indicator mark B2 moves clockwise in the display screen 500 at the viewing angle shown in fig. 13, and when the electronic device 1000 rotates clockwise around the Z axis, the second indicator mark B2 moves counterclockwise in the display screen 500 at the viewing angle shown in fig. 13.
The clockwise rotation and the anticlockwise rotation are rotation states when viewed from the positive half shaft of the corresponding coordinate axis.
Please refer to fig. 14, which is a schematic diagram illustrating a simulation that the second indication mark B2 is gradually aligned to the first indication mark B1 according to an embodiment of the present application. As shown in (a) of fig. 14, in the initial state, the second indication mark B2 is located at the upper left of the first indication mark B1, so that the second indication mark B2 needs to be moved rightward, downward and/or clockwise, and as shown in (B) - (e) of fig. 14, the electronic device 1000 is rotated counterclockwise around the Z axis while the electronic device 1000 is rotated counterclockwise around the X axis, so that the second indication mark B2 can be gradually approached to the first indication mark B1 until a state where the second indication mark B2 and the first indication mark B1 are coincident or nearly coincident is reached as shown in (e) of fig. 14.
Referring to fig. 15, a flowchart of a method for guiding and adjusting a pointing direction of a satellite antenna according to another embodiment of the present application is shown, where the method is applied to an electronic device, and the electronic device includes the satellite antenna and a display screen, as shown in fig. 15, the method includes:
s151: and acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna.
S153: a satellite orientation of a satellite used to communicate with the satellite antenna relative to the electronic device is obtained.
S155: the method comprises the steps of controlling to display a first indication mark on a display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark.
And S157, responding to the adjustment operation of the placing posture of the electronic equipment, controlling the corresponding change of the position relation between the second indicating mark and the first indicating mark displayed on the display screen, and prompting the change of the angle deviation between the optimal direction of the antenna and the satellite direction.
In some embodiments, the fixing of the position of the first indicator mark on the display screen, the changing of the position of the second indicator mark on the display screen following the changing of the placement posture of the electronic device, and the changing of the pointing direction of the satellite antenna following the changing of the placement posture of the electronic device may include: and controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, so that the position relation between the second indicating mark and the first indicating mark displayed on the display screen is correspondingly changed.
S159: in the process of adjusting the placing posture of the electronic device, calculating the antenna gain of the satellite antenna, and when the antenna gain of the satellite antenna 200 is greater than or equal to a preset threshold value, controlling to generate a first prompt signal.
Wherein the steps S151 to S153 correspond to the steps S301 to S303 in fig. 3, and more specific contents can be found in the foregoing description. The steps S157 and S159 are also described in the foregoing, and more specific details can be found in the foregoing description.
Therefore, the method and the device can effectively guide the user to align or approximately align the optimal direction of the antenna with the direction of the satellite in an intuitive mode, so that the gain of the antenna is greater than or equal to a preset threshold value, and the communication quality of the satellite can be effectively improved and ensured.
Fig. 16 is a block diagram of an electronic device 1000 according to some embodiments of the present application. As shown in fig. 16, the electronic device 1000 includes a satellite antenna 400, a display screen 500, and a processor 600.
Wherein the processor 600 is configured to control the implementation of the method in any one of the foregoing embodiments to effectively guide the user to align or approximately align the optimal direction of the antenna with the direction of the satellite, so that the antenna gain is greater than or equal to a preset threshold.
For example, the processor 600 controls the execution of the method including: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the direction of the satellite, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the direction of the satellite, so that the pointing direction of the satellite antenna can be adjusted through the guidance of the first indication mark and the second indication mark.
As shown in fig. 16, the electronic device 1000 further includes a posture sensor 700, where the posture sensor 700 is configured to detect a placement posture of the electronic device 1000. The attitude sensor 700 may include a gyroscope, a gravity sensor, and the like.
In some embodiments, as shown in fig. 16, the electronic device 1000 may further include a prompting unit 800, and the prompting unit 800 may include a speaker and a vibrator. When the first prompt signal and the second prompt signal are voice prompt signals, the processor 600 may control the speaker to output the voice prompt signals. When the first prompt signal and the second prompt signal are vibration prompt signals, the processor 600 may control the vibrator to vibrate and output the vibration prompt signals.
The functional operations controlled and executed by the processor 600 may refer to the steps in the method in any of the foregoing embodiments, and are not described herein again.
Fig. 17 is a block diagram of an electronic device 1000 according to another embodiment of the present application. The electronic device 1000 may comprise a memory 10 and a processor 600. The memory 10 stores therein a computer program, which is used for the processor 600 to call and then execute a part or all of the steps of any one of the methods described in the above method embodiments.
For example, the computer program is used for the processor 600 to execute the following steps after being called: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark.
For more details, reference is made to the detailed description of the method flow in any of the preceding embodiments.
In some embodiments, the satellite antenna 400 may be disposed on the circuit board 300, for example, the antenna target 400 may be disposed on an antenna holder fixed to the circuit board 300 and then disposed on the circuit board 300 through the antenna holder. The satellite antenna 400 may be an FPC (flexible printed circuit) antenna fixedly disposed on the antenna support or an LDS (Laser-Direct-structuring) antenna formed on the antenna support by a Laser technology. The FPC antenna refers to a metal antenna pattern formed on the FPC, and the FPC antenna can be fixed on an antenna support in a bonding mode, an embedding mode, a welding mode and the like. The LDS antenna refers to a metal antenna pattern directly plated on an antenna support made of the insulating material through a laser technology.
In some embodiments, the satellite antenna 400 may also be an antenna formed by sharing a metal bezel of the electronic device 1000.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is called by a processor to execute part or all of the steps of any one of the methods described in the above method embodiments.
For example, the computer program is configured to be invoked by the processor to perform the following steps: acquiring the optimal direction of the antenna of the satellite antenna, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; obtaining a satellite orientation of a satellite used for communicating with the satellite antenna relative to the electronic device; and controlling to display a first indication mark on the display screen according to the optimal direction of the antenna, and controlling to display a second indication mark on the display screen according to the satellite direction, wherein the first indication mark is used for at least indicating the optimal direction of the antenna, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark. For more details, reference is made to the detailed description of the method flow in any of the preceding embodiments.
The processor may include the processor 600 of the electronic device 1000 and any other processor with a processing function, such as any other single chip, digital signal processor, and the like.
In some embodiments, the computer readable storage medium may be the memory 10 in the electronic device 1000, so that the computer program is stored in the memory 10, and can be called by the processor 600 of the electronic device 1000 to execute part or all of the steps of any of the methods.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a processor to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package. The processor may include the processor 600 of the electronic device 1000 and any other processor with processing capabilities.
Therefore, according to the method for guiding and adjusting the satellite antenna pointing direction and the electronic device 1000, the first indication mark used for at least indicating the antenna optimal direction and the second indication mark used for indicating the satellite direction are displayed on the display screen, so that a user can be intuitively informed of the angle deviation between the antenna optimal direction and the satellite direction, and therefore the user is guided to adjust the satellite antenna pointing direction, for example, the user is guided to adjust the placement posture of the electronic device, and the satellite antenna pointing direction is adjusted, so that the satellite antenna pointing direction is the same as or approximately the same as the satellite direction, the actual gain of the satellite antenna is effectively improved, and the satellite communication quality is improved.
Reference is made herein to various exemplary embodiments. However, those skilled in the art will recognize that changes and modifications may be made to the exemplary embodiments without departing from the scope hereof. For example, the various operational steps, as well as the components used to perform the operational steps, may be implemented in differing ways depending upon the particular application or consideration of any number of cost functions associated with operation of the system (e.g., one or more steps may be deleted, modified or incorporated into other steps).
Additionally, as will be appreciated by those skilled in the art, the principles herein may be reflected in a computer program product on a computer readable storage medium preloaded with computer readable program code, i.e., program instructions. Any tangible, non-transitory computer-readable storage medium may be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD-ROMs, DVDs, blu Ray disks, etc.), flash memory, and/or the like. These computer program instructions may be loaded onto a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions which execute on the computer or other programmable data processing apparatus create means for implementing the functions specified. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including means for implementing the function specified. The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified.
The above description is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall cover the protection scope of the present application; the embodiments and features of the embodiments of the present application may be combined with each other without conflict. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A method for guiding and adjusting the pointing direction of a satellite antenna is applied to an electronic device, the electronic device comprises the satellite antenna and a display screen, and the method comprises the following steps:
acquiring the optimal antenna direction of the satellite antenna, comprising:
acquiring an antenna direction unit vector of the optimal direction of the antenna of the satellite antenna in a coordinate system of the electronic equipment, wherein the optimal direction of the antenna is the pointing direction of the satellite antenna; the electronic equipment coordinate system is a coordinate system established by taking the center of the display screen as a coordinate origin, taking the direction parallel to the short side of the display screen as an X axis, taking the direction parallel to the long side of the display screen as a Y axis and taking the direction vertical to the display screen as a Z axis; the direction which is perpendicular to the display screen and points to the viewing side of the display screen is the positive direction of the Z axis;
obtaining a satellite orientation of a satellite used to communicate with the satellite antenna relative to the electronic device; and
displaying a first indication mark on the display screen according to the antenna optimal direction control, and displaying a second indication mark on the display screen according to the satellite direction control, wherein the first indication mark is used for at least indicating the antenna optimal direction, and the second indication mark is used for indicating the satellite direction, so that the pointing direction of the satellite antenna is adjusted through the guidance of the first indication mark and the second indication mark;
wherein the controlling of displaying a first indicator on the display screen according to the optimal direction of the antenna comprises:
determining an antenna coordinate position of the antenna direction unit vector in the electronic equipment coordinate system;
determining a first target position of the antenna direction unit vector mapped on the display screen according to the antenna coordinate position, wherein the first target position comprises:
acquiring a preset observation point coordinate position of an observation point on a Z-axis positive half shaft of an electronic equipment coordinate system, wherein the observation point is spaced from the origin of coordinates by a preset distance, and the projection of the observation point on the display screen is superposed with the center of the display screen serving as the origin of coordinates; and
calculating to obtain a first intersection point coordinate position of an intersection point of a connecting line of the observation point and the antenna coordinate position point and the display screen according to the observation point coordinate position and the antenna coordinate position, and taking the first intersection point coordinate position on the display screen as the first target position, wherein the antenna coordinate position point is a point corresponding to the antenna coordinate position, and a Z-axis coordinate in the antenna coordinate position is negative; and
and controlling the first indication mark to be displayed at the first target position on the display screen.
2. The method of claim 1, further comprising:
and controlling the corresponding change of the position relation between the second indicating mark and the first indicating mark displayed on the display screen in response to the adjustment operation of the placing posture of the electronic equipment, so as to prompt the change of the angle deviation of the optimal direction of the antenna and the direction of the satellite.
3. The method according to claim 2, wherein the position of the first indicator on the display screen is fixed, and the position of the second indicator on the display screen changes along with the change of the placement posture of the electronic device; the controlling, in response to the operation of adjusting the placement posture of the electronic device, a corresponding change in a positional relationship between a second indicator mark displayed on the display screen and the first indicator mark includes:
and controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placing posture of the electronic equipment, so that the position relation between the second indicating mark and the first indicating mark is correspondingly changed.
4. The method of claim 1, wherein calculating a first intersection coordinate position of an intersection of a line connecting the observation point and the antenna coordinate position point and the display screen according to the observation point coordinate position and the antenna coordinate position comprises:
calculating the X-axis coordinate and the Y-axis coordinate in the first intersection coordinate position according to the formulas X1= L X0/(L-z 0) and Y1= L Y0/(L-z 0), thereby obtaining the first intersection coordinate position (X1, Y1, z 1); wherein X1 is an X-axis coordinate in the first intersection coordinate position, Y1 is a Y-axis coordinate in the first intersection coordinate position, Z1 is a Z-axis coordinate in the first intersection coordinate position, Z1=0, L is a Z-axis coordinate of the observation point, X0 is an X-axis coordinate of the antenna coordinate position, Y0 is a Y-axis coordinate of the antenna coordinate position, and Z0 is a Z-axis coordinate of the antenna coordinate position.
5. The method of claim 1, wherein determining the coordinate location of the antenna direction unit vector in the electronic device coordinate system comprises:
and respectively determining coordinate values corresponding to the projections of the antenna direction unit vector on the X axis, the Y axis and the Z axis in the electronic equipment coordinate system to obtain the coordinate position of the antenna direction unit vector in the electronic equipment coordinate system.
6. The method of claim 3, wherein obtaining a satellite orientation of a satellite used to communicate with the satellite antenna relative to the electronic device comprises:
acquiring a satellite direction unit vector of the satellite relative to the electronic equipment in a geodetic coordinate system, wherein the geodetic coordinate system is a coordinate system established by taking a geodetic plane as an XY plane and taking a gravity direction as a Z axis;
the displaying a second indication mark on the display screen according to the satellite direction control comprises:
converting the satellite direction unit vector of the satellite relative to the electronic equipment in the geodetic coordinate system into a satellite coordinate position in the electronic equipment coordinate system;
determining a second target position of the unit vector of the satellite direction mapped on the display screen according to the satellite coordinate position; and
and controlling the second indication mark to be displayed at the second target position on the display screen.
7. The method of claim 6, wherein translating the unit vector of satellite direction of the satellite in the geodetic coordinate system relative to the electronic device to a satellite coordinate position in the electronic device coordinate system comprises:
determining the coordinate position of the satellite direction unit vector in a geodetic coordinate system;
determining coordinate positions of an X-axis unit vector, a Y-axis unit vector and a Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively;
and obtaining the satellite coordinate position of the satellite direction unit vector in the electronic equipment coordinate system according to the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic equipment coordinate system respectively.
8. The method of claim 7, wherein determining the coordinate position of the unit vector of satellite directions in the geodetic coordinate system comprises:
coordinate values corresponding to projections of the satellite direction unit vector on an X axis, a Y axis and a Z axis in the geodetic coordinate system are respectively determined, so that the coordinate position of the satellite direction unit vector in the coordinate system of the electronic equipment is obtained;
the determining the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectively comprises:
the coordinate values corresponding to the projections of the X-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the X-axis unit vector in the electronic device coordinate system, the coordinate values corresponding to the projections of the Y-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the Y-axis unit vector in the electronic device coordinate system, and the coordinate values corresponding to the projections of the Z-axis unit vector on the X-axis, the Y-axis and the Z-axis in the electronic device coordinate system are determined to obtain the coordinate position of the Z-axis unit vector in the electronic device coordinate system.
9. The method of claim 8, wherein the obtaining the satellite coordinate position of the satellite direction unit vector in the electronic device coordinate system according to the coordinate position of the satellite direction unit vector in the geodetic coordinate system and the coordinate positions of the X-axis unit vector, the Y-axis unit vector and the Z-axis unit vector in the geodetic coordinate system in the electronic device coordinate system respectively comprises:
according to the formula x2= x s *x xg +y s *x yg +z s *x zg ,y2=x s *y xg +y s *y yg +z s *y zg And z2= x s *z xg +y s *z yg +z s *z zg Calculating to obtain a satellite coordinate position (x 2, y2, z 2); wherein, X2 is the X-axis coordinate of the satellite coordinate position, Y2 is the Y-axis coordinate of the satellite coordinate position, Z2 is the Z-axis coordinate of the satellite coordinate position, and X s ,y s And z s The coordinate values of the unit vector of the satellite direction on the X axis, the Y axis and the Z axis in the geodetic coordinate system are respectively xg ,x yg And x zg X coordinates corresponding to coordinate values corresponding to the projection of the X-axis unit vector in the geodetic coordinate system on the X axis in the electronic equipment coordinate system, Y coordinates corresponding to the projection on the Y axis in the electronic equipment coordinate system and Z coordinates corresponding to the projection on the Z axis in the electronic equipment coordinate system, wherein the Y coordinates are respectively xg ,y yg And y zg Respectively being an X coordinate corresponding to a projection of a Y-axis unit vector in the geodetic coordinate system on an X-axis of the electronic device coordinate system, a Y coordinate corresponding to a projection on a Y-axis of the electronic device coordinate system and a Z coordinate corresponding to a projection on a Z-axis of the electronic device coordinate system, the Z being xg ,z yg And z zg The coordinate system comprises an X coordinate corresponding to the projection of the Z-axis unit vector in the geodetic coordinate system on the X axis of the electronic device coordinate system, a Y coordinate corresponding to the projection on the Y axis of the electronic device coordinate system and a Z coordinate corresponding to the projection on the Z axis of the electronic device coordinate system.
10. The method of claim 6, wherein determining the second target location on the display screen to which the unit vector of satellite direction is mapped based on the position of the satellite coordinates comprises:
acquiring a preset observation point coordinate position of an observation point on a Z-axis positive half shaft of an electronic equipment coordinate system, wherein the observation point is spaced from the origin of coordinates by a preset distance, and the projection of the observation point on the display screen is superposed with the center of the display screen serving as the origin of coordinates;
and calculating according to the coordinate position of the observation point and the coordinate position of the satellite to obtain a second intersection point coordinate position of a connecting line of the coordinate position of the observation point and the coordinate position of the satellite and an intersection point of the display screen, and taking the second intersection point coordinate position on the display screen as the second target position, wherein the Z-axis coordinate in the coordinate position of the satellite is negative, and the coordinate position of the satellite is a point corresponding to the coordinate position of the satellite.
11. The method of claim 10, wherein calculating a second intersection coordinate position of an intersection of a line connecting the observation point coordinate position and the satellite coordinate position point and the display screen according to the observation point coordinate position and the satellite coordinate position comprises:
calculating the X-axis coordinate and the Y-axis coordinate in the second intersection coordinate position according to the formulas X3= L X4/(L-z 4) and Y3= L Y4/(L-z 4), thereby obtaining the second intersection coordinate position (X3, Y3, z 3); wherein X3 is an X-axis coordinate in the second intersection coordinate position, Y3 is a Y-axis coordinate in the second intersection coordinate position, Z3 is a Z-axis coordinate in the second intersection coordinate position, Z3=0, L is a Z-axis coordinate of the observation point, X4 is an X-axis coordinate in the satellite coordinate position, Y4 is a Y-axis coordinate in the satellite coordinate position, and Z4 is a Z-axis coordinate in the satellite coordinate position.
12. The method of any of claims 3-11, wherein the first indicator mark comprises a center point and a ring area surrounding the center point, the center point being used to characterize the antenna best direction, and the ring area being used to characterize the antenna sub-best direction, the method further comprising:
in the process of controlling the second indicating mark to correspondingly move in response to the adjustment operation of the placement posture of the electronic equipment, when the second indicating mark moves to the annular area in the first indicating mark, a first prompting signal is controlled to be generated.
13. The method of claim 12, further comprising:
when the second indicating mark moves to the central point in the first indicating mark, a second prompting signal is controlled to be generated.
14. The method of claim 12, wherein the annular region is different from the display parameters of the center point, the display parameters including at least one of color and pattern.
15. The method according to any one of claims 2-11, further comprising:
calculating the antenna gain of the satellite antenna in the process of adjusting the placing posture of the electronic equipment;
and when the antenna gain of the satellite antenna is determined to be greater than or equal to a preset threshold value, controlling to generate a first prompt signal.
16. An electronic device, comprising:
a satellite antenna;
a display screen; and
a processor for controlling the execution of the method of any one of claims 1-15.
17. An electronic device, comprising:
a memory storing a computer program;
a processor for invoking the computer program to perform the method of any of claims 1-15.
CN202210922681.1A 2022-08-02 2022-08-02 Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment Active CN114995526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210922681.1A CN114995526B (en) 2022-08-02 2022-08-02 Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210922681.1A CN114995526B (en) 2022-08-02 2022-08-02 Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment

Publications (2)

Publication Number Publication Date
CN114995526A CN114995526A (en) 2022-09-02
CN114995526B true CN114995526B (en) 2023-01-10

Family

ID=83021483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210922681.1A Active CN114995526B (en) 2022-08-02 2022-08-02 Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment

Country Status (1)

Country Link
CN (1) CN114995526B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5170176A (en) * 1990-02-27 1992-12-08 Kokusai Denshin Denwa Co., Ltd. Quadrifilar helix antenna
US5583514A (en) * 1994-03-07 1996-12-10 Loral Aerospace Corp. Rapid satellite acquisition device
US5936553A (en) * 1997-02-28 1999-08-10 Garmin Corporation Navigation device and method for displaying navigation information in a visual perspective view
JP2005004542A (en) * 2003-06-12 2005-01-06 Mitsubishi Electric Corp Mobile communication device, server device, walk guidance device, method of mobile communication, method of communication, method of guiding walk, program, and computer readable recording medium for recording this program
TWM392447U (en) * 2010-06-03 2010-11-11 Motion Technology Co Ltd T Satellite antenna rotation seat with angle-adjusting display
CN105793667A (en) * 2013-12-02 2016-07-20 半球全球卫星导航系统公司 Integrated machine guidance system
CN105874723A (en) * 2014-01-08 2016-08-17 株式会社东芝 Satellite communication system
CN109639337A (en) * 2018-11-23 2019-04-16 南京控维通信科技有限公司 Graphical auxiliary suitable for satellite communication equipment is to star method
CN110515101A (en) * 2019-06-21 2019-11-29 成都天锐星通科技有限公司 A kind of satellite quick capturing method and phased array antenna system
CN113790732A (en) * 2021-08-06 2021-12-14 荣耀终端有限公司 Position information generation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7391381B2 (en) * 2004-01-07 2008-06-24 Motia Vehicle mounted satellite antenna system with in-motion tracking using beam forming
US10164723B2 (en) * 2017-03-17 2018-12-25 Higher Ground Llc Adaptive augmented reality satellite acquisition
KR102439787B1 (en) * 2018-01-18 2022-09-02 삼성전자주식회사 Electronic device for sweeping phase of antenna

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5170176A (en) * 1990-02-27 1992-12-08 Kokusai Denshin Denwa Co., Ltd. Quadrifilar helix antenna
US5583514A (en) * 1994-03-07 1996-12-10 Loral Aerospace Corp. Rapid satellite acquisition device
US5936553A (en) * 1997-02-28 1999-08-10 Garmin Corporation Navigation device and method for displaying navigation information in a visual perspective view
JP2005004542A (en) * 2003-06-12 2005-01-06 Mitsubishi Electric Corp Mobile communication device, server device, walk guidance device, method of mobile communication, method of communication, method of guiding walk, program, and computer readable recording medium for recording this program
TWM392447U (en) * 2010-06-03 2010-11-11 Motion Technology Co Ltd T Satellite antenna rotation seat with angle-adjusting display
CN105793667A (en) * 2013-12-02 2016-07-20 半球全球卫星导航系统公司 Integrated machine guidance system
CN105874723A (en) * 2014-01-08 2016-08-17 株式会社东芝 Satellite communication system
CN109639337A (en) * 2018-11-23 2019-04-16 南京控维通信科技有限公司 Graphical auxiliary suitable for satellite communication equipment is to star method
CN110515101A (en) * 2019-06-21 2019-11-29 成都天锐星通科技有限公司 A kind of satellite quick capturing method and phased array antenna system
CN113790732A (en) * 2021-08-06 2021-12-14 荣耀终端有限公司 Position information generation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
动中通卫星天线圆锥扫描算法研究与应用;陈汝军;《计算机技术与发展》;20151231;第25卷(第12期);201-205 *
基于嵌入式控制器的便携式卫星通信控制系统设计;孙钟阜等;《机电产品开发与创新》;20130128(第01期);124-126+92 *

Also Published As

Publication number Publication date
CN114995526A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
US9271103B2 (en) Audio control based on orientation
JP4268626B2 (en) Mobile communication terminal
CN110944374B (en) Communication mode selection method and device, electronic equipment and medium
KR20190038034A (en) Electronic device and method for managing geofence thereof
US11570745B2 (en) Positioning method and apparatus
JP2017143409A (en) Mobile terminal device and program
CN111565309B (en) Display device and distortion parameter determination method, device and system thereof, and storage medium
CN114995526B (en) Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment
WO2017169013A1 (en) Terminal device, server device, information processing method, and program
JP5647595B2 (en) Mobile communication terminal, mobile communication method, and mobile communication program
KR20220017344A (en) Method and Apparatus for Finding Lost Device using UWB and AR
JP2014007572A (en) Graphical user interface device, system, method, computer program, and recording medium
KR101985326B1 (en) Localization control method of sound for portable device and portable device thereof
US20220407666A1 (en) Method and apparatus for finding lost device using uwb and ar apparatus
CN112734346B (en) Method, device and equipment for determining lane coverage and readable storage medium
KR20170071278A (en) Mobile terminal
JP7362208B2 (en) Antenna construction assistance method
JP6269038B2 (en) Wireless communication system, wireless communication apparatus, and computer program
JP2008022141A (en) Radio communication terminal and terminal-information server
JP2012156849A (en) Radio terminal device, radio communication system, and control method
KR102643356B1 (en) Portable sound device, display device and controlling method of the display device
CN113359851B (en) Method, device, equipment and storage medium for controlling navigation of aircraft
EP3700106B1 (en) Electronic device and method for controlling electronic device
US11064307B2 (en) Electronic device and method of outputting audio
WO2021246259A1 (en) Information processing device, information processing method, and program

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