CN114995526A - 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
CN114995526A
CN114995526A CN202210922681.1A CN202210922681A CN114995526A CN 114995526 A CN114995526 A CN 114995526A CN 202210922681 A CN202210922681 A CN 202210922681A CN 114995526 A CN114995526 A CN 114995526A
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.)
Granted
Application number
CN202210922681.1A
Other languages
Chinese (zh)
Other versions
CN114995526B (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
At present, in order to meet different communication requirements, some electronic devices are equipped with satellite antennas, and satellite communication is realized by establishing connection between the satellite antennas and satellites. 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 and electronic equipment for guiding and adjusting the pointing direction of a satellite antenna, 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 to or approximately point to 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 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 a first target position of the antenna direction unit vector mapped on the display screen according to the antenna coordinate position includes: 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 being located at 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-z0) and Y1= L Y0/(L-z0), 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 embodiment, the determining the 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 acquiring the satellite direction of the satellite 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, 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; 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 of the electronic equipment 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. Therefore, after 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 are obtained, the satellite coordinate position of the satellite direction unit vector of the electronic device in the electronic device coordinate system can be 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, and the satellite direction unit vector of the electronic device 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 embodiment, the obtaining the satellite coordinate position of the satellite direction unit vector of the electronic device 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 the satellite coordinate position (x 2, y2, z 2); wherein the X2 is the X-axis coordinate of the satellite coordinate position, the Y2 is the Y-axis coordinate of the satellite coordinate position, the Z2 is the Z-axis coordinate of the satellite coordinate position, the 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 Respectively an X coordinate corresponding to a coordinate value 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 coordinate xg ,y yg And y zg Respectively an 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, 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, the Z xg ,z yg And z zg X coordinates corresponding to the projection of the Z-axis unit vector in the geodetic coordinate system on the X axis of the electronic equipment coordinate system and the projection pair on the Y axis of the electronic equipment coordinate system respectivelyA corresponding Y coordinate and a corresponding Z coordinate projected on a Z axis of the electronic device coordinate system.
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 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 an intersection point of a connecting line of the coordinate position of the observation point and the coordinate position of the satellite and 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 the formulas X3= L X4/(L-z4) and Y3= L Y4/(L-z4), so as to obtain 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 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. 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 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.
The application discloses electronic equipment and method of guide adjustment satellite antenna directive direction is used for instructing at least through showing on the display screen the antenna best direction first direction mark and be used for instructing the second direction indication 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 place the gesture and adjust satellite antenna directive direction makes satellite antenna directive direction 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 are 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, vehicle mounted devices, wireless-fidelity (Wi-Fi) stations, wireless backhaul nodes, small stations, micro-stations, and the like. 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 in 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 all 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" as used in the examples of the present application refers to a pore having a pore wall that is completely intact.
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 frame 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 is provided with a receiver 2001, and the receiver 2001 is a through hole penetrating through the display module 200. The face where the display module 200 is located is the front face of the electronic device 100, the face of the electronic device 100 away from the display module 200 is the back face of the electronic device 100, and the rear cover 120 is used for covering the back face 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, as mentioned above, the display screen 500 is included in the display module 200.
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. The geographic space refers to a space under the global environment, namely longitude and latitude 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 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 directive direction, for example guide the user to adjust electronic equipment's the gesture of placing, and adjust satellite antenna directive direction makes satellite antenna directive direction with the satellite direction is the same or roughly the same, thereby effectively promotes satellite antenna's actual gain, and improves 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 indicator and a second indicator displayed on a display screen 500 according to an embodiment of the present application. As shown in fig. 4, a first indicator mark B1 and a second indicator mark B2 are displayed on the display screen 500, wherein the first indicator mark B1 and the second indicator mark B2 have different display parameters, and the display parameters at least include one of color and pattern. 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 for example only, the first indicator B1 and the second indicator B2 are not limited to the colors or patterns shown 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 placement posture of the electronic device, the changing of the pointing direction of the satellite antenna 400 following the changing of the placement posture of the electronic device, and the controlling of the corresponding change of the position relationship between the second indicator displayed on the display screen and the first indicator in response to the adjustment operation 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.
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 changes 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 can 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 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.
That is, in some embodiments, the obtained antenna optimal direction of the satellite antenna 400 may specifically be an antenna direction unit vector of the antenna optimal direction in the electronic device coordinate system. 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 target position on the display screen to display the first indication mark.
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 direction parallel to a short side of the display screen 500 as an X axis, and a direction parallel to a long side of the display screen 500 as a Y axis, and the antenna direction unit vector is a vector
Figure 665555DEST_PATH_IMAGE001
As shown in fig. 7, whereby the antenna direction unit vector
Figure 309026DEST_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 is in a normal state, which means that the display screen of the electronic device faces the user, and 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 706509DEST_PATH_IMAGE003
Defines the direction, i.e. the unit vector of the antenna direction
Figure 435431DEST_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, so that the unit vector of the antenna direction can be obtained
Figure 514245DEST_PATH_IMAGE005
The cosine of the unit length is calculated according to the included angle of each axis, and then the coordinate values corresponding to the projection of the antenna direction unit vector on the X axis, the Y axis and the Z axis in the coordinate system of the electronic equipment can be obtained. E.g. unit vector of antenna direction
Figure 74540DEST_PATH_IMAGE003
At an angle to the X-axis in the coordinate system of the electronic device of
Figure 580607DEST_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 859142DEST_PATH_IMAGE003
The coordinate value on the X axis in the coordinate system of the electronic equipment is the coordinate value
Figure 741647DEST_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 application. In some embodiments, the electronic device coordinate system further uses the center of the display screen 500 as the coordinate origin o, wherein the 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, the 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 spaced 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 a first intersection point coordinate position of an intersection point of a connecting line of an observation point P1 and an 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 foregoing 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 direction parallel to a short side of the display screen 500 is used as an X axis, and a direction parallel to a long side of 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, a plane on an outermost side of the display screen, a plane on which the display screen 500 is located in this application, and also refers to a plane on which a screen of the display screen 500 is located.
Under the general condition, electronic equipment's display screen 500 can cause the sheltering from to the radiation of antenna, therefore, 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, electronic equipment coordinate system perpendicular to the display screen just points to when the direction of the viewing side of display screen is Z axle positive direction, the antenna unit vector of the best direction of satellite antenna's of this application then is Z axle negative direction, consequently, Z axle coordinate in the antenna coordinate position is the negative.
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 the 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-z0) and Y1= L Y0/(L-z0), 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, Y1 is a Z-axis coordinate in the first intersection coordinate position, Z1=0 since the intersection is located on the display screen, 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-z1)/(L-z0), wherein since z1 is 0, it is possible to further derive X1/X0= y1/y0= L/(L-z0), and thus, the above two formulae X1= L × 0/(L-z0) and y1= L × y0/(L-z0) can be obtained.
Fig. 8 schematically illustrates a right triangle formed by the projection of the antenna coordinate position point a1 and the intersection point B1 on the YZ plane, and it can be found from fig. 8 that a right triangle formed by the connection line of the projection point 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 the connection line of the projection point 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 found. 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-z1)/(L-z0) can be obtained, and thus, x1/x0= y1/y0= (L-z1)/(L-z0) 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, which results in the first indicator mark being located at the origin of coordinates o. 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 being located at 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.
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 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.
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 established reference planes (XY planes) 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, and since the electronic device is placed in different postures, the plane where the display screen is located is different, directions of an X axis, a Y axis and a Z axis in the electronic device coordinate system are different according to the different postures of the electronic device.
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 indication mark to be displayed at the second target position on the display screen.
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 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 of the electronic equipment 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.
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 of the electronic device in the electronic device coordinate system can be 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, so that the satellite direction unit vector of the electronic device 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 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.
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 94131DEST_PATH_IMAGE008
Defining a direction, which is a unit vector of the satellite direction
Figure 597531DEST_PATH_IMAGE009
Respectively with the X-axis, Y-axis andthe angle of the Z axis, whereby the satellite direction can be unit vector
Figure 35466DEST_PATH_IMAGE009
The cosine of the unit length 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 456083DEST_PATH_IMAGE009
And coordinate values corresponding to projections on an X axis, a Y axis and a Z axis in the geodetic coordinate system. For example, the unit vector of satellite direction
Figure 990970DEST_PATH_IMAGE009
At an angle to the X-axis in the geodetic coordinate system of
Figure 838840DEST_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 826387DEST_PATH_IMAGE009
The coordinate value on the X axis in the geodetic coordinate system is
Figure 50695DEST_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 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.
Please refer to fig. 10, which is a schematic diagram illustrating a relationship between the geodetic coordinate system and the electronic device coordinate system according to an embodiment of the present application. As mentioned above, the geodetic coordinate system and the electronic device coordinate system are both rectangular coordinate systems, and only the established reference plane (XY plane) is 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, and most of the time, the electronic device is not placed in the posture that the display screen is upward and horizontally placed, as shown in fig. 10, when the electronic device is not placed in the posture that the display screen is upward and horizontally placed, the directions of the X axis, the Y axis and the 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 have included angles. Wherein, FIG. 10 specifically illustrates the X-axis unit vector in the geodetic coordinate system
Figure 377772DEST_PATH_IMAGE012
Unit vector of Y-axis
Figure 724439DEST_PATH_IMAGE013
And Z-axis unit vector
Figure 136966DEST_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 899386DEST_PATH_IMAGE012
Y-axis unit vector
Figure 644750DEST_PATH_IMAGE015
And Z-axis unit vector
Figure 100002DEST_PATH_IMAGE014
Indicated by dashed lines.
In some embodiments, the determining the X-axis unit vector
Figure 62142DEST_PATH_IMAGE012
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 X-axis unit vector
Figure 628253DEST_PATH_IMAGE012
Determining the Y-axis unit vector at a coordinate position in the coordinate system of the electronic device
Figure 664342DEST_PATH_IMAGE015
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 Y-axis unit vector
Figure 352812DEST_PATH_IMAGE015
Coordinate position in the electronic device coordinate system, and determining the Z-axis unit vector
Figure 739931DEST_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 844153DEST_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 measured
Figure 62645DEST_PATH_IMAGE012
Is respectively based on the X-axis unit vector
Figure 859700DEST_PATH_IMAGE016
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 X axis unit vector
Figure 35247DEST_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 208739DEST_PATH_IMAGE012
A coordinate position in the electronic device coordinate system; and combining the Y-axis unit vectors
Figure 219421DEST_PATH_IMAGE013
Is respectively based on the Y-axis unit vector
Figure 249694DEST_PATH_IMAGE017
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 345825DEST_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 are obtained, and the Y axis unit vector is obtained
Figure 791850DEST_PATH_IMAGE018
A coordinate position in the electronic device coordinate system; and the Z-axis unit vector
Figure 984934DEST_PATH_IMAGE014
Is respectively based on the Z-axis unit vector
Figure 123792DEST_PATH_IMAGE014
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 Z axis unit vector
Figure 769537DEST_PATH_IMAGE014
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 19252DEST_PATH_IMAGE014
A coordinate position in the electronic device coordinate system.
In particular, for example, for X-axis unit vectors
Figure 568308DEST_PATH_IMAGE012
Specifically, the X-axis unit vector can be obtained by
Figure 878066DEST_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 948790DEST_PATH_IMAGE012
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. For example, the X-axis unit vector
Figure 64514DEST_PATH_IMAGE012
An included angle with an X axis in the coordinate system of the electronic equipment is
Figure 904294DEST_PATH_IMAGE019
Since the length of the unit vector is a unit length, i.e., 1, the X-axis unit vector
Figure 384954DEST_PATH_IMAGE012
The coordinate value on the X axis in the coordinate system of the electronic equipment is
Figure 739712DEST_PATH_IMAGE020
. Similarly, the Y-axis unit vector
Figure 596809DEST_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 353413DEST_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 4974DEST_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 50290DEST_PATH_IMAGE014
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.
In some embodiments, the obtaining the satellite coordinate position of the satellite direction unit vector of the electronic device 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: 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 the satellite coordinate position (x 2, y2, z 2); wherein the X2 is the X-axis coordinate of the satellite coordinate position, the Y2 is the Y-axis coordinate of the satellite coordinate position, the Z2 is the Z-axis coordinate of the satellite coordinate position, the X s ,y s And z s Respectively the satellite directionCoordinate values of the unit vector on X-axis, Y-axis and Z-axis in the geodetic coordinate system, the X-axis 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 6352DEST_PATH_IMAGE021
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 555145DEST_PATH_IMAGE022
The unit vector of the Y axis is
Figure 643186DEST_PATH_IMAGE013
And Z-axis unit vector of
Figure 972537DEST_PATH_IMAGE023
. Since the unit vector of the X axis is
Figure 905858DEST_PATH_IMAGE012
The unit vector of the Y axis is
Figure 637053DEST_PATH_IMAGE013
And Z-axis unit vector of
Figure 895996DEST_PATH_IMAGE023
Respectively representing the directions of an X axis, a Y axis and a Z axis in a geodetic coordinate system and having a length unit of 1, and X s ,y s And z s Respectively unit vector of satellite direction
Figure 384746DEST_PATH_IMAGE021
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 449654DEST_PATH_IMAGE024
then is the unit vector of the satellite direction
Figure 973040DEST_PATH_IMAGE021
The component on the X-axis in the geodetic coordinate system,
Figure 137305DEST_PATH_IMAGE025
unit vector for the satellite direction
Figure 942712DEST_PATH_IMAGE021
The component on the Y-axis in the geodetic coordinate system,
Figure 483415DEST_PATH_IMAGE026
unit vector for the satellite direction
Figure 923623DEST_PATH_IMAGE021
A component on the Z-axis in the geodetic coordinate system. And the unit vector of satellite direction
Figure 524369DEST_PATH_IMAGE021
The sum of the three components gives the formula:
Figure 987711DEST_PATH_IMAGE027
referring back to FIG. 10, the unit vector of the X axis is
Figure 394422DEST_PATH_IMAGE028
The coordinates in the coordinate system of the electronic equipment are (x) xg ,x yg ,x zg ) I.e. by
Figure 892399DEST_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 398467DEST_PATH_IMAGE029
The coordinate in the coordinate system of the electronic equipment is (y) xg ,y yg ,y zg ) I.e. by
Figure 677002DEST_PATH_IMAGE030
=(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 559507DEST_PATH_IMAGE031
The coordinate in the coordinate system of the electronic equipment is (z) xg ,z yg ,z zg ) I.e. by
Figure 466983DEST_PATH_IMAGE032
=(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, will
Figure 143952DEST_PATH_IMAGE028
=(x xg ,x yg ,x zg ),
Figure 581887DEST_PATH_IMAGE029
=(y xg ,y yg ,y zg ) And
Figure 330400DEST_PATH_IMAGE032
=(z xg ,z yg ,z zg ) Substituting into the aforementioned formula
Figure 537391DEST_PATH_IMAGE033
Then can obtain
Figure 713157DEST_PATH_IMAGE034
=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 electronic device coordinate system 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 of the electronic equipment in the electronic equipment coordinate system can be accurately obtained through the method.
Fig. 11 is another schematic view of a coordinate system of an electronic device in a side view state according to an embodiment of the present application. In some embodiments, the electronic device coordinate system further uses the center of the display screen 500 as the coordinate origin o, wherein the 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, the 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 separated from the origin of coordinates 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 a second intersection point coordinate position of a connecting line of an observation point P1 and a satellite coordinate position point A2 and an intersection point B2 of the display screen according to the observation point coordinate position and the satellite coordinate position, 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 a satellite is generally located on the back of an electronic device, and therefore, 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 application points to the negative direction of the Z axis, and therefore, the coordinate of the Z axis in the coordinate position of the satellite is negative.
In some embodiments, the calculating a second intersection coordinate position of the intersection B2 of the connection line between the observation point P1 and the satellite coordinate position point a2 and 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-z4) and Y3= L Y4/(L-z4), so as to obtain the second intersection coordinate position (X3, Y3, z 3); wherein X3 is the X-axis coordinate in the second point coordinate position, Y3 is the Y-axis coordinate in the second point coordinate position, Z3 is the Z-axis coordinate in the second point coordinate position, Z3=0 is the Z-axis coordinate of the observation point, X4 is the X-axis coordinate in the satellite coordinate position, i.e., the X-axis coordinate of the satellite coordinate position point a2, Y4 is the Y-axis coordinate in the satellite coordinate position, i.e., the Y-axis coordinate of the satellite coordinate position point a2, and Z4 is the Z-axis coordinate in the satellite coordinate position, i.e., the Z-axis coordinate of the satellite coordinate position point a 2.
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-z3)/(L-z4), wherein since z3 is 0, it is possible to further derive x3/x4= y3/y4= L/(L-z4), and thus, the above two formulae x3= L × 4/(L-z4) and y3= L × y4/(L-z4) can be obtained.
Fig. 11 schematically illustrates 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-z3)/(L-z4) and therefore, x1/x0= y1/y0= (L-z1)/(L-z0) 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 o is substantially the same as the antenna direction unit vector, and the direction of the connection line between the satellite coordinate position point a2 and the origin o is substantially the same as the satellite direction unit vector. 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 from the center of the display screen, and the observation point P1 may be 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, so that the first indication mark and the second indication mark are not located at the center of the display screen as far as possible, and the first indication mark and the second indication mark are not located at the center of the display screen when the antenna optimum direction of the satellite antenna is not aligned with the satellite direction.
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 can be redetermined every preset time in the current placement posture of the electronic device, and the second indicator is controlled to be displayed in the redetermined 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.
The second target position displayed on the display screen by the second indicator mark in the current placement posture of the electronic device 1000 is determined again, which may specifically refer to the aforementioned manner of determining the second target position, and 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 mark B1 includes a center point B11 and a ring-shaped area B12 surrounding the center point B11, the center point B11 is used for characterizing the optimal direction of the antenna, and the ring-shaped area B12 is used for characterizing the sub-optimal direction of the antenna. Wherein the method further comprises: in controlling the second indicator B2 to move correspondingly in response to the adjustment operation of the placement posture of the electronic device 1000, when the second indicator B2 moves into the annular region B12 in the first indicator B1, a first prompt signal is controlled to be generated.
Since the annular region B12 is used to represent a 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 indicator B2 moves into the annular region B12 of the first indicator B1, the user is reminded by generating the first prompt signal, so that the user does not need to adjust the placement posture of the electronic device 1000, timely reminding can be effectively performed, and the adjustment time can be reduced. The preset threshold is the threshold which meets the better communication quality of the satellite antenna 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, 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 second indicator B2 moves into the annular region B12 of the first indicator B1, which correspond to each other. 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 change a display parameter and/or a display manner controlling the annular region B12, the display parameter may include one of a color, a pattern, the display manner may include a flashing 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, a pattern, the display manner may include a flashing 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, i.e., the current antenna gain of the satellite antenna 400 is already optimum.
In some embodiments, the display parameters of the annular region B12 and the center point B11 are different, and the display parameters include at least one of color and pattern, so that the annular region B12 and the center point B11 can be effectively distinguished, and a user can visually distinguish whether the second indication mark B2 is currently moved to the annular region B12 or the center point B11.
The position and size of the annular region B12 can be determined according to the position set of the antenna suboptimal direction mapping on the display screen 500. The directions within a certain angle from the optimal direction of the antenna are all the sub-optimal directions of the antenna, and therefore, the mapping onto the display screen 500 is the annular region B12.
Wherein, as shown in fig. 12, the second indication mark B2 can be a satellite pattern 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 the 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 is rotated 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 is rotated 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 about 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 about 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 simulation diagram illustrating that the second indicator mark B2 is gradually aligned with the first indicator mark B1 according to an embodiment of the present application. As shown in (a) of fig. 14, in the initial state, the second indicator mark B2 is located at the upper left of the first indicator mark B1, so that the second indicator mark B2 needs to be moved rightward, downward and/or clockwise, as shown in (B) - (e) of fig. 14, by rotating the electronic apparatus 1000 counterclockwise about the Z axis while rotating the electronic apparatus 1000 counterclockwise about the X axis, the second indicator mark B2 can be gradually brought closer to the first indicator mark B1 until reaching a state where the second indicator mark B2 and the first indicator mark B1 are overlapped or nearly overlapped 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 also 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.
Please refer to fig. 16, which is a block diagram illustrating 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 to communicate 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.
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 to communicate 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 an FPC, and the FPC antenna may be fixed to an antenna mount by means of bonding, embedding, welding, or 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 embodiments of the present application further provide 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 to communicate 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. More specific details can be found in 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 of 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 for the specific embodiments of the present application, but the 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 be covered by the 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 (19)

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 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
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.
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 3, wherein the obtaining the optimal direction of the antenna of the satellite antenna comprises:
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
and controlling the first indication mark to be displayed at the first target position on the display screen.
5. The method of claim 4, wherein the electronic device coordinate system has a center of the display screen as a coordinate origin, wherein a direction perpendicular to the display screen and pointing to a 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 includes:
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.
6. The method of claim 5, wherein calculating a first intersection coordinate position of an intersection point 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-z0) and Y1= L Y0/(L-z0), 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.
7. The method of claim 4, 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.
8. The method of claim 3, wherein obtaining a satellite orientation of a satellite used for communicating 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 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
and controlling the second indication mark to be displayed at the second target position on the display screen.
9. The method of claim 8, 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 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 of the electronic equipment 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.
10. The method of claim 9, wherein determining the coordinate position of the unit vector of satellite directions in the geodetic coordinate system comprises:
respectively determining coordinate values corresponding to projections of the satellite direction unit vectors on an X axis, a Y axis and a Z axis in the geodetic coordinate system to obtain coordinate positions of the satellite direction unit vectors 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 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.
11. The method of claim 10, wherein obtaining the satellite coordinate position of the satellite direction unit vector of the electronic device 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 the satellite coordinate position (x 2, y2, z 2); wherein the X2 is the X-axis coordinate of the satellite coordinate position, the Y2 is the Y-axis coordinate of the satellite coordinate position, the Z2 is the Z-axis coordinate of the satellite coordinate position, the X s ,y s And z s Respectively as the direction of the satelliteCoordinate values of the bit vector on X, Y and Z axes in the geodetic coordinate system, the X axis 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.
12. The method of claim 8, wherein the electronic device coordinate system has a center of the display screen as a coordinate origin, wherein a direction perpendicular to the display screen and pointing to a 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 an intersection point of a connecting line of the coordinate position of the observation point and the coordinate position of the satellite and 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.
13. The method of claim 12, 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 from 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 formulas X3= L X4/(L-z4) and Y3= L Y4/(L-z4), so as to obtain 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.
14. The method of any of claims 3-13, wherein the first indicator mark comprises a center point and a ring area surrounding the center point, the center point being used to characterize a best direction of the antenna, the ring area being used to characterize a next best direction of the antenna, 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.
15. The method of claim 14, 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.
16. The method of claim 14, wherein the annular region is different from a display parameter of the center point, the display parameter comprising at least one of a color and a pattern.
17. The method according to any one of claims 2-13, 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.
18. An electronic device, comprising:
a satellite antenna;
a display screen; and
a processor for controlling the execution of the method according to any one of claims 1-17.
19. 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-17.
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 true CN114995526A (en) 2022-09-02
CN114995526B 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 (13)

* 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
US20050146476A1 (en) * 2004-01-07 2005-07-07 Wang James J. Vehicle mounted satellite antenna system with in-motion tracking using beam forming
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
US20180270000A1 (en) * 2017-03-17 2018-09-20 Higher Ground Llc Adaptive augmented reality satellite acquisition
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
US20200389213A1 (en) * 2018-01-18 2020-12-10 Samsung Electronics Co., Ltd. Electronic device for sweeping antenna phase
CN113790732A (en) * 2021-08-06 2021-12-14 荣耀终端有限公司 Position information generation method and device

Patent Citations (13)

* 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
US20050146476A1 (en) * 2004-01-07 2005-07-07 Wang James J. Vehicle mounted satellite antenna system with in-motion tracking using beam forming
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
US20180270000A1 (en) * 2017-03-17 2018-09-20 Higher Ground Llc Adaptive augmented reality satellite acquisition
US20200389213A1 (en) * 2018-01-18 2020-12-10 Samsung Electronics Co., Ltd. Electronic device for sweeping antenna phase
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
孙钟阜等: "基于嵌入式控制器的便携式卫星通信控制***设计", 《机电产品开发与创新》 *
陈汝军: "动中通卫星天线圆锥扫描算法研究与应用", 《计算机技术与发展》 *

Also Published As

Publication number Publication date
CN114995526B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
JP4268626B2 (en) Mobile communication terminal
US9271103B2 (en) Audio control based on orientation
KR20190038034A (en) Electronic device and method for managing geofence thereof
JP7461483B2 (en) Positioning method and communication equipment
EP4216165A1 (en) Satellite finding method and device
CN112040402B (en) Positioning method and device, and computer storage medium
JP2014239393A (en) Wireless tag search method and device therefor
JP2009225132A (en) Image display system, image display method and program
JP2017143409A (en) Mobile terminal device and program
CN114995526B (en) Method for guiding and adjusting pointing direction of satellite antenna and electronic equipment
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
KR101985326B1 (en) Localization control method of sound for portable device and portable device thereof
JP2014007572A (en) Graphical user interface device, system, method, computer program, and recording medium
CN112734346B (en) Method, device and equipment for determining lane coverage and readable storage medium
JP2021526665A (en) Shooting equipment
EP4184955A1 (en) Method for searching for lost device by using uwb and ar, and apparatus therefor
JP6269038B2 (en) Wireless communication system, wireless communication apparatus, and computer program
CN114527424A (en) Positioning method and device, terminal accessory, mobile terminal and electronic equipment
CN208820049U (en) Antenna module and electronic equipment
CN112817337A (en) Method, device and equipment for acquiring path and readable storage medium
JP2006081036A (en) Radio terminal device, cordless telephone set, communication control program, and computer readable recording medium
WO2021246259A1 (en) Information processing device, information processing method, and program
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

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