CN115801104A - Satellite transit prediction information acquisition method, device, medium and equipment - Google Patents

Satellite transit prediction information acquisition method, device, medium and equipment Download PDF

Info

Publication number
CN115801104A
CN115801104A CN202211584466.1A CN202211584466A CN115801104A CN 115801104 A CN115801104 A CN 115801104A CN 202211584466 A CN202211584466 A CN 202211584466A CN 115801104 A CN115801104 A CN 115801104A
Authority
CN
China
Prior art keywords
satellite transit
satellite
transit prediction
prediction information
task
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.)
Pending
Application number
CN202211584466.1A
Other languages
Chinese (zh)
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211584466.1A priority Critical patent/CN115801104A/en
Publication of CN115801104A publication Critical patent/CN115801104A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a method, a device, a medium and equipment for acquiring satellite transit prediction information, wherein the method comprises the following steps: acquiring position information of a target location to be predicted and a satellite transit prediction task; detecting the current use state of the threads in the thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state; when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool; and executing the satellite transit prediction task, and calculating to obtain satellite transit prediction information corresponding to the target location. By utilizing the embodiment of the application, the satellite transit prediction task is separated from the original main control chip and is arranged in the independent chip to operate, and the idle time slot of the independent chip is selected as the operation time period of the satellite transit prediction task, so that the resource overhead of a main control processor can be reduced, a high-performance processor is not required to be configured, the cost is reduced, and meanwhile, the requirement of transit prediction can be met.

Description

Satellite transit prediction information acquisition method, device, medium and equipment
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a method, an apparatus, a medium, and a device for obtaining satellite transit prediction information.
Background
With the popularization of low earth orbit satellite applications and satellite communication equipment, how to accurately predict the transit situation of the satellite becomes an essential link in order to enable the satellite communication equipment and the satellite to establish a link. The satellite transit prediction is a process of determining when a satellite passes over a satellite communication device based on the position information and time information of the current satellite communication device.
Generally, satellite communication equipment is composed of a plurality of satellites to provide communication services, the satellite communication equipment needs to obtain transit information of the satellites, and the computation complexity of the satellite communication equipment is high, so that the satellite communication equipment generally needs to be provided with a processor with high performance to predict satellite transit, but the satellite transit prediction has the characteristics of low prediction frequency and high computation complexity, namely the satellite transit prediction does not need to occupy resources of the processor frequently, but resources of other tasks running on the processor are occupied once the satellite transit prediction is carried out, and therefore resource allocation is unreasonable.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and equipment for acquiring satellite transit prediction information.
One aspect of the present application provides a method for acquiring satellite transit prediction information, where the method includes:
acquiring position information of a target location to be predicted and a preset satellite transit prediction task;
detecting the current use state of threads in a thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state;
when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool;
and executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
In the method for acquiring satellite transit prediction information according to the embodiment of the present application, the step of executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted to calculate satellite transit prediction information corresponding to the target location includes:
receiving a satellite transit prediction task execution command;
and obtaining satellite transit prediction information corresponding to the target location based on ephemeris prediction according to the position information and the current basic parameters, wherein the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time.
In the method for acquiring the satellite transit prediction information according to the embodiment of the application, the satellite transit prediction information includes one or more of satellite transit start time, satellite transit end time, satellite transit time, satellite maximum elevation angle and satellite transit direction.
In the method for acquiring satellite transit prediction information according to the embodiment of the present application, before the satellite transit prediction information corresponding to the target location is obtained through the calculation, the method further includes:
acquiring a preset priority level corresponding to the satellite transit prediction task;
judging whether other tasks with priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels;
and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
In the method for acquiring the satellite transit prediction information, the satellite transit prediction information is stored in a database, and the satellite transit prediction information covers historical satellite transit prediction information in the database.
In the method for acquiring satellite transit prediction information according to the embodiment of the present application, the method further includes:
setting the default state of a main control module for processing the satellite transit prediction information into a dormant state, and awakening the main control module from the dormant state when the satellite transit prediction task is executed and the satellite transit prediction information is obtained.
In the method for obtaining satellite transit prediction information according to the embodiment of the present application, the method further includes:
and encrypting the satellite transit prediction information stored in the database.
Correspondingly, another aspect of the embodiments of the present application further provides a device for obtaining satellite transit prediction information, where the device for obtaining satellite transit prediction information includes:
the acquisition module is used for acquiring the position information of a target location to be predicted and a preset satellite transit prediction task;
the detection module is used for detecting the current use state of the threads in the thread pool in real time and determining the idle rate of the threads in the thread pool according to the current use state;
the calling module is used for calling an idle thread meeting the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold;
and the execution module is used for executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
Accordingly, another aspect of the embodiments of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the method for acquiring satellite transit prediction information as described above.
Correspondingly, another aspect of the embodiment of the present application further provides a terminal device, which includes a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to execute the satellite transit prediction information obtaining method described above.
The embodiment of the application provides a method, a device, a medium and equipment for acquiring satellite transit prediction information, wherein the method acquires position information of a target location to be predicted and a preset satellite transit prediction task; detecting the current use state of threads in a thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state; when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool; and executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location. By using the method for acquiring the satellite transit prediction information provided by the embodiment of the application, the satellite transit prediction task is separated from the original main control chip and is arranged in the security chip to operate, and the idle time slot of the security chip is selected as the operation time period of the satellite transit prediction task, so that on one hand, the resource overhead of a main processor is reduced, a high-performance processor is not required to be configured, the cost is reduced, and meanwhile, the requirement of transit prediction can be met. On the other hand, the security chip provides a reliable and credible environment for running the core transit prediction algorithm, and the security of the core algorithm is further ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flowchart of a method for acquiring satellite transit prediction information according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a satellite transit prediction information obtaining apparatus according to an embodiment of the present disclosure.
Fig. 3 is another schematic structural diagram of a satellite transit prediction information obtaining apparatus according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
It should be noted that the following is a brief introduction to the background of the present solution:
the technical problem that a high-performance processor is generally required to be specially equipped in satellite communication equipment for satellite transit prediction at present in order to predict satellite transit information, but the satellite transit prediction has the characteristics of low prediction frequency and high calculation complexity, namely the satellite transit prediction does not need to occupy resources of the processor frequently, but resources of other tasks running on the processor can be preempted once the satellite transit prediction is carried out, and resource allocation is unreasonable is solved. It can be understood that, with the popularization of low earth orbit satellite applications and satellite communication devices, how to accurately predict the transit situation of the satellite becomes an essential link in order to enable the satellite communication devices to establish a link with the satellite. The satellite transit prediction is a process of determining when a satellite passes over a satellite communication device based on the position information and time information of the current satellite communication device.
Generally, satellite communication equipment is composed of a plurality of satellites to provide communication services, the satellite communication equipment needs to obtain transit information of the satellites, and the computation complexity of the satellite communication equipment is high, so that the satellite communication equipment generally needs to be provided with a processor with high performance to predict satellite transit, but the satellite transit prediction has the characteristics of low prediction frequency and high computation complexity, namely the satellite transit prediction does not need to occupy resources of the processor frequently, but resources of other tasks running on the processor are occupied once the satellite transit prediction is carried out, and therefore resource allocation is unreasonable.
In order to solve the above technical problem, an embodiment of the present application provides a method for obtaining satellite transit prediction information. By using the method for acquiring the satellite transit prediction information, the satellite transit prediction task is separated from the original main control chip and is arranged in the safety chip to operate, and the idle time slot of the safety chip is selected as the operation period of the satellite transit prediction task, so that on one hand, the resource overhead of a main processor is reduced, a high-performance processor is not required to be configured, the cost is reduced, and meanwhile, the requirement of transit prediction can be met. On the other hand, the security chip provides a reliable and credible environment for running the core border prediction algorithm, and the security of the core algorithm is further ensured.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for obtaining satellite transit prediction information according to an embodiment of the present disclosure. The satellite transit prediction information acquisition method is applied to terminal equipment. Optionally, the terminal device is a terminal or a server. Optionally, the server is an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform. Optionally, the terminal is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, and the like, but is not limited thereto.
In an embodiment, the method may comprise the steps of:
step 101, position information of a target location to be predicted and a preset satellite transit prediction task are obtained.
Step 102, detecting the current use state of the threads in the thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state.
The satellite transit prediction has the characteristics of low prediction frequency and high calculation complexity, namely the satellite transit prediction does not need to occupy the resources of the processor frequently, but once the satellite transit prediction is carried out, the resources of other tasks running on the processor can be preempted, so that the resource allocation is unreasonable. Therefore, in order to solve the above problems, in this embodiment, the satellite transit prediction task is separated from the original main control chip and is placed in an independent chip to operate, and the idle time slot of the independent chip is selected as the operation period of the satellite transit prediction task, so that the resource overhead of a main processor can be reduced, a high-performance processor does not need to be configured, the cost is reduced, and meanwhile, the requirement of transit prediction can be met.
In some embodiments, the independent chip for running the satellite transit prediction task is preferably a security chip, the security chip generally processes some security and encryption tasks, such as identity authentication, data encryption and decryption, and the like. On the other hand, the security chip provides a reliable and credible environment for running the core transit prediction algorithm, and the security of the core algorithm is further ensured.
In order to implement the above scheme, first, the current use state of the thread in the thread pool of the security chip needs to be determined, and the idle rate of the thread in the thread pool is determined according to the current use state, so as to determine whether the thread is an idle time slot of the security chip.
And 103, when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool.
When the idle rate of the threads in the thread pool is determined to exceed a preset threshold value, for example, 70%, it is indicated that the current security chip is in an idle state, a large number of tasks do not need to be operated, and idle threads meeting the operation of the satellite transit prediction task can be called from the thread pool to execute the satellite transit prediction task by using the idle time slot.
And 104, executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
In this embodiment, when a satellite transit prediction task execution command is received, satellite transit prediction information corresponding to a target location is obtained based on ephemeris prediction according to the position information and current basic parameters, where the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time. It should be noted that the preset time is specifically the current time for performing the satellite transit prediction task, and is equivalent to a reference time value provided to the electronic device operating the satellite transit prediction information obtaining method, so as to derive the satellite transit prediction time.
In some embodiments, the satellite transit prediction information includes one or more of a satellite transit start time, a satellite transit end time, a satellite transit duration, a satellite maximum elevation angle, a satellite transit direction.
In some embodiments, before calculating the satellite transit prediction information corresponding to the target site, the method further comprises the steps of:
acquiring a preset priority level corresponding to the satellite transit prediction task;
judging whether other tasks with priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels;
and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
For example, 3 tasks are run on the security chip, one is used for processing security-related traffic and has a higher priority, another is used for the situation prediction and has a lower priority, and the last task is responsible for communication with the master control module and has a general priority.
In some embodiments, the method further comprises the steps of:
and storing the satellite transit prediction information into a database, and covering the satellite transit prediction information with historical satellite transit prediction information in the database to ensure that the stored satellite transit prediction information is available data which is not invalid.
In some embodiments, the method further comprises the steps of:
and setting the default state of the main control module for processing the satellite transit prediction information into a dormant state, and awakening the main control module from the dormant state when the satellite transit prediction task is executed and the satellite transit prediction information is obtained. Because the satellite transit prediction provides accurate satellite transit time for the main control module, the main control module can enter a dormant state in idle, and the power consumption of the equipment is further reduced.
In some embodiments, the method further comprises the steps of:
and encrypting the satellite transit prediction information stored in the database. The core function of the satellite transit prediction is developed on the security chip, so that the security of a core algorithm is effectively guaranteed, and a third party is prevented from stealing the satellite transit prediction.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the satellite transit prediction information obtaining method provided by the embodiment of the present application obtains the position information of the target location to be predicted and the preset satellite transit prediction task; detecting the current use state of threads in a thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state; when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool; and executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location. By using the method for acquiring the satellite transit prediction information provided by the embodiment of the application, the satellite transit prediction task is separated from the original main control chip and is arranged in the security chip to operate, and the idle time slot of the security chip is selected as the operation time period of the satellite transit prediction task, so that on one hand, the resource overhead of a main processor is reduced, a high-performance processor is not required to be configured, the cost is reduced, and meanwhile, the requirement of transit prediction can be met. On the other hand, the security chip provides a reliable and credible environment for running the core transit prediction algorithm, and the security of the core algorithm is further ensured.
The embodiment of the application also provides a satellite transit prediction information acquisition device, and the satellite transit prediction information acquisition device can be integrated in the terminal equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a satellite transit prediction information obtaining apparatus according to an embodiment of the present disclosure. The satellite transit prediction information acquisition means 30 may include:
the acquisition module 31 is configured to acquire position information of a target location to be predicted and a preset satellite transit prediction task;
the detecting module 32 is configured to detect a current usage state of a thread in a thread pool in real time, and determine an idle rate of the thread in the thread pool according to the current usage state;
the invoking module 33 is configured to invoke an idle thread meeting the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold;
and the execution module 34 is configured to execute the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculate to obtain satellite transit prediction information corresponding to the target location.
In some embodiments, the execution module 34 is configured to receive a satellite transit prediction task execution command; and obtaining satellite transit prediction information corresponding to the target location based on ephemeris prediction according to the position information and the current basic parameters, wherein the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time.
In some embodiments, the satellite transit prediction information comprises one or more of a satellite transit start time, a satellite transit end time, a satellite transit duration, a satellite maximum elevation angle, a satellite transit direction.
In some embodiments, the apparatus further includes a sorting module configured to obtain a preset priority level corresponding to the satellite transit prediction task; judging whether other tasks with priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels; and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
In some embodiments, the apparatus further comprises an update module for storing the satellite transit prediction information in a database and overlaying the satellite transit prediction information over historical satellite transit prediction information in the database.
In some embodiments, the apparatus further includes a wake-up module configured to set a default state of the main control module for processing the satellite transit prediction information to a sleep state, and wake up the main control module from the sleep state when the satellite transit prediction task is completed and the satellite transit prediction information is obtained.
In some embodiments, the apparatus further comprises an encryption module for encrypting the satellite transit prediction information stored in the database.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the satellite transit prediction information acquiring apparatus 30 provided in the embodiment of the present application, the acquiring module 31 is configured to acquire the position information of the target location to be predicted and a preset satellite transit prediction task; the detecting module 32 is configured to detect a current usage state of a thread in a thread pool in real time, and determine an idle rate of the thread in the thread pool according to the current usage state; the invoking module 33 is configured to invoke an idle thread meeting the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold; the execution module 34 is configured to execute the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculate to obtain satellite transit prediction information corresponding to the target location.
Referring to fig. 3, fig. 3 is another schematic structural diagram of a satellite transit prediction information acquisition apparatus according to an embodiment of the present disclosure, in which the satellite transit prediction information acquisition apparatus 30 includes a memory 120, one or more processors 180, and one or more application programs, where the one or more application programs are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include an obtaining module 31, a detecting module 32, a retrieving module 33, and an executing module 34. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and satellite transit prediction information acquisition by running the application program stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the processes of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
the method comprises the steps of obtaining an instruction, wherein the instruction is used for obtaining position information of a target location to be predicted and a preset satellite transit prediction task;
the detecting instruction is used for detecting the current using state of the threads in the thread pool in real time and determining the idle rate of the threads in the thread pool according to the current using state;
a calling instruction, configured to call an idle thread that meets the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold;
and the execution instruction is used for executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
In some embodiments, the execution instructions are to receive a satellite transit prediction task execution command; and obtaining satellite transit prediction information corresponding to the target location based on ephemeris prediction according to the position information and the current basic parameters, wherein the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time.
In some embodiments, the satellite transit prediction information comprises one or more of a satellite transit start time, a satellite transit end time, a satellite transit duration, a satellite maximum elevation angle, a satellite transit direction.
In some embodiments, the program further includes a sorting instruction for obtaining a preset priority level corresponding to the satellite transit prediction task; judging whether other tasks with priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels; and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
In some embodiments, the program further includes update instructions for storing the satellite transit prediction information in a database and overwriting historical satellite transit prediction information in the database with the satellite transit prediction information.
In some embodiments, the program further includes a wake-up instruction configured to set a default state of the main control module for processing the satellite transit prediction information to a sleep state, and wake up the main control module from the sleep state when the satellite transit prediction task is completed and the satellite transit prediction information is obtained.
In some embodiments, the program further includes encryption instructions for encrypting the satellite transit prediction information stored in the database.
The embodiment of the application further provides the terminal equipment. The terminal equipment can be a server, a smart phone, a computer, a tablet computer and other equipment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, where the terminal device may be used to implement the satellite transit prediction information obtaining method provided in the foregoing embodiment. The terminal device 1200 may be a smartphone or a tablet computer.
As shown in fig. 4, the terminal device 1200 may include components such as an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one shown) processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal device 1200 configuration shown in fig. 4 is not limiting of the terminal device 1200 and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as a program instruction/module corresponding to the satellite transit prediction information obtaining method in the foregoing embodiment, and the processor 180 executes various functional applications and obtains satellite transit prediction information by operating the software program and the module stored in the memory 120, and may automatically select a vibration alert mode according to a current scene where the terminal device is located to update data, so as to ensure that a scene such as a conference is not disturbed, ensure that a user can sense an incoming call, and improve intelligence of the terminal device. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the terminal device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch-sensitive display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using any suitable object or attachment such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 131 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects a touch direction of a user, detects a signal brought by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch-sensitive surface 131, input unit 130 may include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal apparatus 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4 touch sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments touch sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal device 1200 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the terminal device 1200, further description is omitted here.
The audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and the terminal device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 1200.
The terminal device 1200, which may assist the user in sending and receiving e-mails, browsing web pages, accessing streaming media, etc., through the transmission module 170 (e.g., wi-Fi module), provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the terminal device 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal device 1200, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal device 1200 also includes a power supply 190 for providing power to various components, which in some embodiments may be logically coupled to processor 180 via a power management system, such that functions such as managing power discharge and power consumption may be performed via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit 140 of the terminal device 1200 is a touch screen display, and the terminal device 1200 further includes a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs are configured to be executed by the one or more processors 180, and include instructions for:
the method comprises the steps of obtaining an instruction, wherein the instruction is used for obtaining position information of a target location to be predicted and a preset satellite transit prediction task;
the detecting instruction is used for detecting the current using state of the threads in the thread pool in real time and determining the idle rate of the threads in the thread pool according to the current using state;
a calling instruction, configured to call an idle thread that meets the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold;
and the execution instruction is used for executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
In some embodiments, the execution instructions are to receive a satellite transit prediction task execution command; and obtaining satellite transit prediction information corresponding to the target location based on ephemeris prediction according to the position information and the current basic parameters, wherein the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time.
In some embodiments, the satellite transit prediction information comprises one or more of a satellite transit start time, a satellite transit end time, a satellite transit duration, a satellite maximum elevation angle, a satellite transit direction.
In some embodiments, the program further includes a sorting instruction for obtaining a preset priority level corresponding to the satellite transit prediction task; judging whether other tasks with priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels; and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
In some embodiments, the program further includes update instructions for storing the satellite transit prediction information in a database and overwriting historical satellite transit prediction information in the database with the satellite transit prediction information.
In some embodiments, the program further includes a wake-up instruction configured to set a default state of a main control module for processing the satellite transit prediction information to a sleep state, and wake up the main control module from the sleep state when the satellite transit prediction task is completed and the satellite transit prediction information is obtained.
In some embodiments, the program further includes encryption instructions for encrypting the satellite transit prediction information stored in the database.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the method for acquiring satellite transit prediction information according to any of the embodiments.
It should be noted that, for the satellite transit prediction information obtaining method described in the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the satellite transit prediction information obtaining method described in the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a terminal device, and executed by at least one processor in the terminal device, and during the execution process, the process of the embodiment of the satellite transit prediction information obtaining method may be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the satellite transit prediction information acquisition device according to the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method, the device, the medium and the equipment for acquiring the satellite transit prediction information provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for acquiring satellite transit prediction information is characterized by comprising the following steps:
acquiring position information of a target location to be predicted and a preset satellite transit prediction task;
detecting the current use state of threads in a thread pool in real time, and determining the idle rate of the threads in the thread pool according to the current use state;
when the idle rate exceeds a preset threshold value, calling an idle thread meeting the running of the satellite transit prediction task from the thread pool;
and executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
2. The method according to claim 1, wherein the step of performing the satellite transit prediction task to calculate the satellite transit prediction information corresponding to the target location according to the position information and the current basic parameters of the target satellite to be predicted comprises:
receiving a satellite transit prediction task execution command;
and obtaining satellite transit prediction information corresponding to the target location based on ephemeris prediction according to the position information and the current basic parameters, wherein the current basic parameters are preset time, and the satellite transit prediction information is satellite transit time relative to the preset time.
3. The method according to claim 1, wherein the satellite transit prediction information comprises one or more of a satellite transit start time, a satellite transit end time, a satellite transit duration, a satellite maximum elevation angle, and a satellite transit direction.
4. The method for acquiring satellite transit prediction information as defined in claim 1, wherein before the calculating satellite transit prediction information corresponding to the target site, the method further comprises:
acquiring a preset priority level corresponding to the satellite transit prediction task;
judging whether other tasks with the priority levels higher than the satellite transit prediction task exist at present according to the preset priority levels;
and when other tasks with higher priority levels than the satellite transit prediction task exist, executing the other tasks first and then executing the satellite transit prediction task.
5. The method for obtaining satellite transit prediction information as defined in claim 1, further comprising:
and storing the satellite transit prediction information into a database, and covering the satellite transit prediction information with historical satellite transit prediction information in the database.
6. The method for obtaining satellite transit prediction information as defined in claim 1, further comprising:
and setting the default state of the main control module for processing the satellite transit prediction information into a dormant state, and awakening the main control module from the dormant state when the satellite transit prediction task is executed and the satellite transit prediction information is obtained.
7. The method for obtaining satellite transit prediction information as defined in claim 1, further comprising:
and encrypting the satellite transit prediction information stored in the database.
8. A satellite transit prediction information acquisition apparatus, characterized by comprising:
the acquisition module is used for acquiring the position information of a target location to be predicted and a preset satellite transit prediction task;
the detection module is used for detecting the current use state of the threads in the thread pool in real time and determining the idle rate of the threads in the thread pool according to the current use state;
the calling module is used for calling an idle thread meeting the satellite transit prediction task operation from the thread pool when the idle rate exceeds a preset threshold;
and the execution module is used for executing the satellite transit prediction task according to the position information and the current basic parameters of the target satellite to be predicted, and calculating to obtain satellite transit prediction information corresponding to the target location.
9. A computer-readable storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to execute the method for acquiring satellite transit prediction information according to any one of claims 1 to 7.
10. A terminal device, comprising a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the satellite transit prediction information acquisition method according to any one of claims 1 to 7.
CN202211584466.1A 2022-12-09 2022-12-09 Satellite transit prediction information acquisition method, device, medium and equipment Pending CN115801104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211584466.1A CN115801104A (en) 2022-12-09 2022-12-09 Satellite transit prediction information acquisition method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211584466.1A CN115801104A (en) 2022-12-09 2022-12-09 Satellite transit prediction information acquisition method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN115801104A true CN115801104A (en) 2023-03-14

Family

ID=85418658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211584466.1A Pending CN115801104A (en) 2022-12-09 2022-12-09 Satellite transit prediction information acquisition method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN115801104A (en)

Similar Documents

Publication Publication Date Title
WO2014206138A1 (en) Webpage data update method, apparatus and terminal device
CN110780940A (en) Application program loading method, electronic device and storage medium
CN108089935B (en) Application program management method and mobile terminal
CN113194280B (en) Security level generation method and device for security area, storage device and electronic device
CN112243259A (en) Network disconnection method, device, storage medium and mobile terminal
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN115828845A (en) Multimedia data viewing method, device, medium and equipment
CN111026457A (en) Hardware configuration method and device, storage medium and terminal equipment
CN115589432A (en) Message push management method, device, medium and equipment
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN106357513B (en) Message processing method, device, server and message processing system
CN115801104A (en) Satellite transit prediction information acquisition method, device, medium and equipment
CN108287755B (en) Application program control method and mobile terminal
CN111026456A (en) Application management method and device, storage medium and electronic equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN108111553B (en) Method and device for providing service
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN111355991A (en) Video playing method and device, storage medium and mobile terminal
CN111488123B (en) Storage space management method and device, storage medium and mobile terminal
CN116582585B (en) Message pushing method, device, medium and equipment
CN111506439B (en) Data acquisition method and device, storage medium and mobile terminal
CN112565284B (en) Access control method and device for components in application program and electronic equipment
CN113127069B (en) Dual-system-based location service management method and device and terminal equipment
CN115757506A (en) Data processing method, device, medium and equipment
CN110109582B (en) Display method and device of mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination