CN114337788A - Iridium equipment control method, equipment and system - Google Patents
Iridium equipment control method, equipment and system Download PDFInfo
- Publication number
- CN114337788A CN114337788A CN202111679267.4A CN202111679267A CN114337788A CN 114337788 A CN114337788 A CN 114337788A CN 202111679267 A CN202111679267 A CN 202111679267A CN 114337788 A CN114337788 A CN 114337788A
- Authority
- CN
- China
- Prior art keywords
- iridium
- module
- interrupt
- power consumption
- satellite
- 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
Links
- 229910052741 iridium Inorganic materials 0.000 title claims abstract description 326
- GKOZUEZYRPOHIO-UHFFFAOYSA-N iridium atom Chemical compound [Ir] GKOZUEZYRPOHIO-UHFFFAOYSA-N 0.000 title claims abstract description 325
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000005540 biological transmission Effects 0.000 claims abstract description 46
- 238000012545 processing Methods 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 150000002503 iridium Chemical class 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Radio Relay Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides an iridium device control method, device and system, the method is applied to the iridium device, and the method comprises the following steps: according to an interruption event of the iridium satellite equipment in a low power consumption mode, switching the operation mode of the iridium satellite equipment from the low power consumption mode to a standard mode, and establishing a session with the iridium satellite in the standard mode, wherein the iridium satellite equipment establishes a Bluetooth connection with terminal equipment; and when the iridium device detects that the iridium signal is good, carrying out data transmission between the terminal device and the iridium. The method and the device can realize reasonable switching of the operation modes of the iridium equipment, and ensure normal communication between the terminal equipment and the iridium equipment under the condition that the standby power consumption of the iridium equipment is low.
Description
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to an iridium device control method, device and system.
Background
The iridium satellite system is a satellite system for global communication, and the terminal equipment can be used as a relay through the iridium satellite equipment to perform data transmission with the iridium satellite.
In order to reduce the power consumption of the iridium device, the iridium device is provided with another operation mode besides the standard mode, namely a low power consumption mode. In the low power consumption mode, the iridium equipment is disconnected with the iridium, and the iridium equipment can operate with only extremely low power consumption. Therefore, the switching of the operation mode of the iridium device can reduce the power consumption of the iridium device on the premise of meeting the requirement of normal communication between the terminal device and the iridium.
At present, a switching scheme of an operation mode needs to be provided to implement reasonable switching of the operation mode of an iridium device and ensure normal communication between a terminal device and an iridium satellite.
Disclosure of Invention
The embodiment of the application provides an iridium device control method, device and system, so as to realize reasonable switching of operation modes of an iridium device and guarantee normal communication between a terminal device and an iridium satellite.
In a first aspect, an embodiment of the present application provides an iridium device control method, which is applied to an iridium device, and the method includes:
according to an interruption event of the iridium satellite equipment in a low power consumption mode, switching the operation mode of the iridium satellite equipment from the low power consumption mode to a standard mode, and establishing a session with the iridium satellite in the standard mode, wherein the iridium satellite equipment establishes a Bluetooth connection with terminal equipment;
and carrying out data transmission between the terminal equipment and the iridium satellite.
In a possible implementation manner, the iridium device comprises a master control chip and an interrupt module; the switching the operation mode of the iridium satellite device from the low power consumption mode to the standard mode according to the interrupt event of the iridium satellite device in the low power consumption mode comprises the following steps:
the interrupt module triggers an interrupt according to the interrupt event;
and the main control chip switches the operation mode from the low power consumption mode to the standard mode according to the triggered interrupt.
In one possible embodiment, the interrupt module includes a timer; the interrupt module triggers an interrupt according to the interrupt event, including:
and triggering the timer to interrupt in response to the running time of the timer reaching the preset time.
In one possible embodiment, the interrupt module comprises a Low Power Universal Asynchronous Receiver Transmitter (LPUART) module; the interrupt module triggers an interrupt according to the interrupt event, including:
and in response to receiving uplink data to be transmitted from the terminal equipment, triggering a receiving interruption by the LPUART module.
In one possible embodiment, the interrupt module comprises an input output IO module; the interrupt module triggers an interrupt according to the interrupt event, including:
and responding to a key instruction aiming at the iridium device, and triggering IO interruption by the IO module.
In a possible implementation manner, the iridium device includes a sending buffer and a receiving buffer, where the sending buffer is used to store uplink data to be transmitted, and the receiving buffer is used to store downlink data to be transmitted; the performing of data transmission between the terminal device and the system includes:
when the sending cache comprises uplink data, sending the uplink data to the Iridium satellite; and/or the presence of a gas in the gas,
and when the receiving cache comprises downlink data, sending the downlink data to the terminal equipment.
In one possible implementation, the iridium satellite device further includes a bluetooth module, and the method further includes:
and receiving uplink data to be transmitted from the terminal equipment through the Bluetooth module, and storing the uplink data to the sending cache.
In a possible implementation, the iridium satellite device further comprises a transceiver module; the method further comprises the following steps:
and acquiring downlink data to be transmitted from the iridium satellite through the transceiver module, and storing the downlink data to the receiving cache.
In one possible embodiment, the method further comprises:
and switching the operation mode from the standard mode to the low power consumption mode.
In a second aspect, an embodiment of the present application provides an iridium device control apparatus, including:
the switching module is used for switching the operation mode of the iridium device from the low power consumption mode to a standard mode according to an interrupt event of the iridium device in the low power consumption mode, and establishing a session with the iridium device in the standard mode, wherein the iridium device is in Bluetooth connection with a terminal device;
and the processing module is used for transmitting data between the terminal equipment and the iridium satellite.
In one possible implementation, the device comprises a main control chip and an interrupt module; the switching module is specifically configured to:
the interrupt module triggers an interrupt according to the interrupt event;
and the main control chip switches the operation mode from the low power consumption mode to the standard mode according to the triggered interrupt.
In one possible embodiment, the apparatus includes a timer; the switching module is specifically configured to:
and triggering the timer to interrupt in response to the running time of the timer reaching the preset time.
In one possible embodiment, the apparatus comprises an LPUART module; the switching module is specifically configured to:
and in response to receiving uplink data to be transmitted from the terminal equipment, triggering a receiving interruption by the LPUART module.
In one possible embodiment, the apparatus includes an input output IO module; the switching module is specifically configured to:
and responding to a key instruction aiming at the iridium device, and triggering IO interruption by the IO module.
In a possible implementation manner, the apparatus includes a sending buffer and a receiving buffer, where the sending buffer is used to store uplink data to be transmitted, and the receiving buffer is used to store downlink data to be transmitted; the processing module is specifically configured to:
when the sending cache comprises uplink data, sending the uplink data to the Iridium satellite; and/or the presence of a gas in the gas,
and when the receiving cache comprises downlink data, sending the downlink data to the terminal equipment.
In a possible implementation, the processing module is further configured to:
and receiving uplink data to be transmitted from the terminal equipment through the Bluetooth module, and storing the uplink data to the sending cache.
In a possible implementation, the processing module is further configured to:
and acquiring downlink data to be transmitted from the iridium satellite through the transceiver module, and storing the downlink data to the receiving cache.
In a possible implementation, the switching module is further configured to:
and switching the operation mode from the standard mode to the low power consumption mode.
In a third aspect, an embodiment of the present application provides an iridium satellite device, including:
a memory for storing a program;
a processor for executing the program stored in the memory, the processor being configured to perform the iridium satellite device control method of any one of the first aspect when the program is executed.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to execute the iridium satellite device control method according to any one of the first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program that, when executed by a processor, implements the iridium satellite device control method according to any one of the first aspects.
According to the iridium device control method, device and system provided by the embodiment of the application, the operation mode of the iridium device is switched from the low power consumption mode to the standard mode by the iridium device according to the interrupt event in the low power consumption mode, the session is established with the iridium device in the standard mode, and the bluetooth connection is also established between the iridium device and the terminal device, so that the iridium device can be used as a relay to perform data transmission between the terminal device and the iridium device when the session is established with the iridium device and the iridium device detects that the iridium signal is good, and the data transmission can include uplink data transmission and downlink data transmission. According to the scheme of the embodiment of the application, when data transmission is not needed, the iridium device is in a low power consumption mode of timed awakening so as to reduce standby power consumption, when data transmission is needed, operation mode switching is conducted according to an interruption event, data transmission between the terminal device and the iridium device is completed after the operation mode switching, reasonable switching of the operation mode of the iridium device can be achieved, and normal communication between the terminal device and the iridium device is guaranteed under the condition that the standby power consumption of the iridium device is small.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of an iridium satellite device control method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an iridium satellite device provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of an interrupt trigger provided in an embodiment of the present application;
fig. 5 is a schematic diagram of operation mode switching provided in the embodiment of the present application;
fig. 6 is a schematic diagram of data transmission provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of a process of receiving uplink data by a bluetooth module according to an embodiment of the present application;
fig. 8 is a schematic flowchart of a process of sending downlink data by a transceiver module according to an embodiment of the present application;
fig. 9 is a schematic flow chart illustrating data transceiving of a transceiver module according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an iridium satellite device control apparatus provided in an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of an iridium satellite device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The low-power management of the embedded system aims to reduce the energy consumption of the system as much as possible to prolong the standby time of equipment on the premise of meeting the performance requirements of users, and the contradiction between high performance and limited electric quantity is most prominent in the embedded system, so that the combined application of the hardware low-power design and the software low-power management becomes an effective means for solving the contradiction. The current low-power management mainly comprises three implementation modes, wherein the first implementation mode is a processor power management mode, namely, dynamic management of the frequency of a central processing unit and adjustment of a working mode when a system is idle so as to reduce power consumption; the second implementation is device power management, mainly by turning off individual idle components to reduce power consumption; a third implementation is system platform power management, which is mainly specifically tailored to the unusual devices of a particular system platform. The iridium device in the iridium system adopts the third implementation mode to reduce power consumption.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application, and as shown in fig. 1, includes a terminal device 11, an iridium device 12, and an iridium 13.
The terminal device 11 may be, for example, a mobile phone or other device, the connection between the terminal device 11 and the iridium device 12 may be established through bluetooth, and the iridium device 12 may be a handheld device. The iridium 13 is a satellite, and data transmission can be performed between the terminal device 11 and the iridium 13 through the iridium device 12, that is, the iridium device 12 can be used as a relay device between the terminal device 11 and the iridium 13.
The iridium device 12 may adopt a system-level power management scheme, and two different operation modes, namely a standard mode and a low power consumption mode, are set for the communication needs of the iridium device 12. The low power consumption mode is relative to the standard mode, a Micro Controller Unit (MCU) in the iridium device 12 in the low power consumption mode goes to sleep, and a transceiver module and a GPS module of the iridium device 12 are powered off, so that the power consumption of the iridium device 12 is reduced to the maximum.
The low power consumption mode is a main technical means for reducing power consumption of the iridium device 12, in the low power consumption mode, since an operating system of the iridium device 12 stops working, communication between the terminal device 11 and the iridium 13 cannot be performed, and when communication between the terminal device 11 and the iridium 13 is required, the operation mode of the iridium device 12 needs to be switched to the standard mode.
An application scenario of the present application is described in fig. 1, and a detailed description of the solution of the present application will be provided below with reference to fig. 2.
Fig. 2 is a schematic flowchart of an iridium satellite device control method provided in an embodiment of the present application, where the method is applied to an iridium satellite device, and as shown in fig. 2, the method may include:
and S21, switching the operation mode of the iridium device from the low power consumption mode to the standard mode according to the interrupt event of the iridium device in the low power consumption mode, and establishing a session with the iridium device in the standard mode, wherein the iridium device establishes Bluetooth connection with the terminal device.
The operating mode of the iridium device comprises a standard mode and a low power consumption mode, wherein in the standard mode, the iridium device detects good iridium signals, and can be used as a relay between the terminal device and the iridium to realize data transmission between the terminal device and the iridium; in the low power consumption mode, the iridium device enters a sleep mode, the transceiver module and the GPS module of the iridium device are powered off, the MCU in the iridium device can also carry out the sleep mode, and the MCU is turned off, so that the standby power consumption of the iridium device is reduced.
The iridium device is connected with the terminal device through Bluetooth, and the distance between the iridium device and the terminal device needs to be within a certain distance range so as to ensure better Bluetooth connection quality between the iridium device and the terminal device.
After the iridium device is powered on and initialized, the iridium device enters a low power consumption mode by default so as to ensure that the standby power consumption of the iridium device is reduced and prolong the standby time of the iridium device. When the iridium device is in the low power consumption mode and an interrupt event occurs, the iridium device is awakened, and then the iridium device switches the operation mode from the low power consumption mode to the standard mode according to the interrupt event.
In the process of switching from the low power consumption mode to the standard mode, each part in the iridium device, which enters the sleep state, is also awakened to enter a normal working mode, and then the iridium device determines whether to establish a session with the iridium device according to needs. The interruption event of the iridium device in the low power consumption mode can be triggered internally or externally by the iridium device.
And S22, carrying out data transmission between the terminal equipment and the iridium satellite.
When the iridium device is switched from the low power consumption mode to the standard mode and detects that the iridium signal is good, the iridium device can be used as a relay between the terminal device and the iridium to transmit data between the terminal device and the iridium. The data transmission may include uplink data transmission, that is, the terminal device sends data to the iridium satellite through the iridium satellite device; the data transmission may also include downlink data transmission, that is, the iridium satellite sends data to the terminal device through the iridium satellite device.
According to the iridium device control method provided by the embodiment of the application, the operation mode of the iridium device is switched from the low power consumption mode to the standard mode according to the interrupt event in the low power consumption mode, whether a session is established with the iridium device is determined according to the service requirement in the standard mode, and the bluetooth connection is also established between the iridium device and the terminal device, so that when the iridium device detects that the iridium signal is good, the iridium device can be used as a relay to perform data transmission between the terminal device and the iridium device, and uplink data transmission and downlink data transmission can be included. According to the scheme of the embodiment of the application, when data transmission is not needed, the iridium device is in a low power consumption mode of timed awakening so as to reduce standby power consumption, and the iridium device can be timed awakened to update self state information and detect whether uplink data and downlink data exist or not under the low power consumption mode of timed awakening so as to perform corresponding processing; when data transmission is needed, the operation modes are switched according to the interrupt event, data transmission between the terminal equipment and the iridium satellite is completed after the operation modes are switched, reasonable switching of the operation modes of the iridium satellite equipment can be achieved, and normal communication between the terminal equipment and the iridium satellite is guaranteed under the condition that standby power consumption of the iridium satellite equipment is low.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 3 is a schematic structural diagram of an iridium satellite device provided in this embodiment of the present application, and as shown in fig. 3, the iridium satellite device is composed of a main control chip, a positioning module (including a positioning antenna and a GPS), a communication module (including an iridium satellite module and an iridium satellite antenna), a bluetooth module, a Power supply module, a Power-on key, an LED indicator, a battery, and a flash memory, where the battery may be, for example, a lithium battery, the main control chip is a chip supporting a Low Power Universal Asynchronous Receiver/Transmitter (lpart), the bluetooth module is responsible for data communication between the iridium satellite device and a terminal device, and 4 LED lamps are used for indicating signals, electric quantities, and other states.
The iridium device further comprises an interrupt module, the interrupt module can trigger interrupt according to an interrupt event of the iridium device in the low power consumption mode, and then the main control chip switches the operation mode from the low power consumption mode to the standard mode according to the interrupt triggered by the interrupt module.
Fig. 4 is a schematic diagram of triggering an interrupt according to an embodiment of the present application, and as shown in fig. 4, the interrupt module may include a timer, an LPUART module, and an Input/Output (IO) module, where different modules trigger different interrupts.
The timer can start timing after the iridium device enters the low power consumption mode, and the duration of the timer can be preset. When the running time of the timer reaches the preset time, the timer triggers the timer to be interrupted, the main control chip switches the running mode from the low power consumption mode to the standard mode, and then the state information of the iridium device is updated. When uplink data to be transmitted are in a transmission cache of the iridium device, the iridium device establishes a session with the iridium device and transmits the uplink data to the iridium device. When the sending cache of the iridium device does not have the uplink data to be sent, the iridium device still establishes a session with the iridium device, and judges whether the iridium device has downlink data to be sent according to the response information sent by the iridium device. And if the iridium satellite has downlink data to be issued, the iridium satellite equipment receives the downlink data sent by the iridium satellite after establishing a session with the iridium satellite, and sends the downlink data in the receiving cache to the terminal equipment after the iridium satellite equipment receives and stores all the downlink data sent by the iridium satellite into the receiving cache.
The interrupt triggered by the LPUART module is an interrupt triggered according to the indication of the terminal equipment. When the terminal equipment has the requirement of uplink data transmission, the terminal equipment can send uplink data to be transmitted to the iridium device through the Bluetooth, and the LPUART module triggers the receiving interruption in response to the reception of the uplink data to be transmitted from the terminal equipment. And then, the main control chip switches the operation mode from the low power consumption mode to the standard mode, when uplink data to be transmitted in the cache is transmitted, the iridium device firstly detects an iridium signal, and when the signal is good, the iridium device initiates a session and transmits the uplink data to the iridium. When the signal is poor or the continuous and multiple times of uplink data transmission to the iridium satellite fails, the iridium satellite device enters a sleep mode, and tries to transmit the uplink data to the iridium satellite again after waiting for being awakened next time.
The interrupt triggered by the IO module is the interrupt triggered by the iridium device, and the IO module is a module for processing emergency. When a user operates the iridium device through a key on the iridium device, the IO module responds to a key instruction for the iridium device and triggers IO interruption. And then, the main control chip switches the operation mode from the low power consumption mode to the standard mode, and automatically generates an emergency help-seeking message according to the information of the emergency contact person, the current GPS coordinate and the like prestored in the iridium device, and in the state, the iridium device ignores the situations of the iridium user number of washing and failure of sending, and continuously sends the emergency help-seeking message until the sending is successful or the user manually cancels the sending.
Three implementations of triggering interrupts are described in the embodiment of fig. 4, and the operation mode switching will be described below with reference to fig. 5. Fig. 5 is a schematic diagram of switching operation modes provided in the embodiment of the present application, as shown in fig. 5, including:
s51, RT _ Thread PM component initializes.
The RT _ Thread PM component is a component in an operating system of the iridium device, and is initialized after the iridium device is started.
And S52, polling all tasks.
After the RT _ Thread PM component is initialized, the iridium device can poll a task, and mainly judges whether uplink data to be transmitted or downlink data to be transmitted exist, detects data such as current coordinates, iridium device voltage, temperature and humidity and updates iridium device state information.
And S53, judging whether the system is idle, if so, executing S54, and if not, executing S52.
When the uplink data to be transmitted or the downlink data to be transmitted exist, the iridium satellite device is not in an idle state, and S52 is executed; and when the uplink data to be transmitted or the downlink data to be transmitted does not exist, the iridium satellite device is in an idle state, and S54 is executed.
S54, enter a low power mode.
When the iridium satellite device is in an idle state, the iridium satellite device defaults to enter a low power consumption mode so as to save power consumption.
And S55, triggering an interrupt and switching to the standard mode.
When the iridium satellite equipment is in a low power consumption mode, if an interrupt event occurs, an interrupt is triggered. The implementation manner of triggering the interrupt may be any one of the three implementation manners of the embodiment in fig. 4.
After the interrupt mode is triggered, the iridium equipment is switched to the standard mode, and each task runs normally. When the iridium device detects that the iridium signal is good, data transmission between the terminal device and the iridium can be performed.
Fig. 6 is a schematic diagram of data transmission provided in an embodiment of the present application, and as shown in fig. 6, an iridium device includes a sending buffer and a receiving buffer, where the sending buffer is used to store uplink data to be transmitted, and a second flash memory is used to store downlink data to be transmitted.
When the terminal equipment needs to send uplink data to the iridium satellite, the terminal equipment sends the uplink data to be transmitted to the iridium satellite equipment, the iridium satellite equipment receives the uplink data to be transmitted through the Bluetooth module, and then the uplink data are stored in the sending cache.
The iridium device judges whether downlink data exist according to response information fed back by the iridium during conversation, when the iridium has the downlink data, the iridium device initiates the conversation to receive the downlink data, and the iridium device acquires the downlink data to be transmitted from the iridium through the transceiver module and stores the downlink data to the receiving cache.
Therefore, after the iridium satellite device is switched from the low power consumption mode to the standard mode, each task is normally operated. And when uplink data exist, the iridium equipment establishes a session to transmit the uplink data, otherwise, the iridium equipment still establishes a session so as to be convenient for the iridium equipment to judge whether the downlink data exist in the iridium according to the response information of the iridium. When the iridium satellite has downlink data, the iridium satellite equipment establishes a session, receives the downlink data of the iridium satellite, and then stores the downlink data in a receiving cache. And when the terminal equipment is connected with the iridium equipment, the iridium equipment sends the downlink data in the receiving cache to the terminal equipment.
S56, exiting the low power mode and executing S52.
And after the data transmission task between the terminal equipment and the iridium satellite is executed, the iridium satellite equipment exits the low power consumption mode when the iridium satellite equipment is recovered to be idle so as to save power consumption.
The process will be described with reference to the specific figures.
Fig. 7 is a schematic flowchart of a process of receiving uplink data by a bluetooth module according to an embodiment of the present application, as shown in fig. 7, including:
s71, determining whether the lpart receives uplink data, if yes, executing S72, and if no, executing S74.
And after the iridium device is powered on and initialized, creating each subtask. The Bluetooth module is responsible for writing the received uplink data into the sending cache, and waits for the iridium transceiving thread to read and send the uplink data in the sending cache. The Bluetooth module is connected to the LPUART interface of the main control chip, and only the LPUART can normally work when the main control chip is in a low power consumption mode.
S72, storing the upstream data received by the LPUART in the transmission buffer.
S73, bluetooth is received to mark position 1.
When the bluetooth receiving zone bit is 1, the identifier sends the uplink data to be transmitted in the cache, and at this time, the iridium device needs to send the uplink data to the iridium.
S74, delay, make the scheduler, execute S71.
The scheduler may be released when no upstream data needs to be transmitted.
Fig. 8 is a schematic flow chart of a transceiver module sending downlink data according to an embodiment of the present application, and as shown in fig. 8, the method includes:
and S81, judging whether Bluetooth connection is established with the terminal equipment, if so, executing S82, and if not, executing S84.
And whether the Bluetooth connection is established between the iridium device and the terminal device can be judged according to the Bluetooth state pin.
S82, determine whether the receiving buffer is empty, if not, execute S83, if yes, execute S84.
And when the Bluetooth connection is established between the iridium satellite equipment and the terminal equipment, judging whether the receiving cache is empty or not.
S83, writing the downlink data in the receiving buffer into the Bluetooth module, sending the downlink data to the terminal equipment, and executing S81.
And if the downlink data to be transmitted exist in the receiving cache, the iridium satellite device sends the downlink data to the terminal device through the Bluetooth.
And S84, marking the position 1 of the Bluetooth idle mark.
And if downlink data to be transmitted does not exist in the receiving cache, or the Bluetooth connection is not established between the iridium device and the terminal device, marking the Bluetooth idle mark at the position 1.
S85, delay, make the scheduler, execute S81.
The scheduler may be released when no downstream data needs to be transmitted.
Fig. 9 is a schematic flow chart of data transceiving of a transceiver module according to an embodiment of the present application, as shown in fig. 9, including:
s91, judging whether the sending buffer is empty, if not, executing S92, and if yes, executing S93.
The iridium device firstly judges whether uplink data to be transmitted exist in a sending cache.
And S92, sending the uplink data in the sending buffer to the Iridium.
And if the uplink data exist in the sending buffer, reading the uplink data and sending the uplink data to the Iridium satellite. Because the iridium device can trigger the interrupt through the scheme of the timer and switch the operation mode to the standard mode, when the iridium device is awakened by the timer, the iridium device needs to establish connection with the iridium for judging and receiving downlink data sent by the iridium even if the sending cache does not contain the uplink data.
S93, determine whether the downlink data is greater than or equal to 1, if yes, go to S94, and if no, go to S95.
After the iridium device and the iridium are connected, a transceiver module in the iridium device can receive downlink data and can acquire the state of the iridium, including the quantity of the downlink data to be transmitted.
And S94, acquiring the downlink data.
And when the quantity of the downlink data to be transmitted is greater than or equal to 1, repeating the operation, receiving the downlink data from the iridium satellite until the downlink data of the iridium satellite is completely received, writing the received downlink data into a receiving cache, and then waiting for the Bluetooth module to read the downlink data in the receiving cache for transmission.
And S95, sending the downlink data to the terminal equipment.
S96, delay, yield scheduler.
The scheduler may be released when no downstream data needs to be transmitted.
In the examples of fig. 7 to 9, the iridium device may switch the operation mode through several interrupt modes, wake up the iridium device, and after the iridium device is woken up, execute the task from the last place where the iridium device enters the low power consumption mode. In the implementation mode of timer interruption, after the timer reaches a timing period, the flag bit of the timer is reset while the iridium device is awakened, so that the iridium thread establishes connection with the iridium at least once, and is used for judging whether downlink data transmission exists or not and carrying out corresponding processing. In the implementation mode of interruption triggered by the LPUART module, after receiving uplink data sent by the terminal equipment, the Bluetooth module triggers the LPUART module to receive interruption, and the interruption wakes up the iridium device and resets the Bluetooth idle zone bit at the same time. In IO interruption triggered by the IO module, level jump of a Bluetooth state pin triggers the IO interruption, and the Bluetooth idle zone bit is reset while the Iridium equipment is awakened by the IO interruption.
According to the iridium device control method, device and system provided by the embodiment of the application, the operation mode of the iridium device is switched from the low power consumption mode to the standard mode by the iridium device according to the interrupt event in the low power consumption mode, the session is established with the iridium device in the standard mode, and the bluetooth connection is also established between the iridium device and the terminal device, so that when the iridium device detects that the iridium signal is good, the iridium device can be used as a relay to perform data transmission between the terminal device and the iridium device, and the data transmission can comprise uplink data transmission and downlink data transmission. According to the scheme of the embodiment of the application, when data transmission is not needed, the iridium device is in the low power consumption mode so as to reduce standby power consumption, when data transmission is needed, the operation mode is switched according to the interruption event, data transmission between the terminal device and the iridium device is completed after the operation mode is switched, reasonable switching of the operation mode of the iridium device can be achieved, and normal communication between the terminal device and the iridium device is guaranteed under the condition that the standby power consumption of the iridium device is low.
Fig. 10 is a schematic structural diagram of an iridium satellite device control apparatus provided in an embodiment of the present application, and as shown in fig. 10, the apparatus includes:
the switching module 101 is configured to switch an operation mode of the iridium device from a low power consumption mode to a standard mode according to an interrupt event that the iridium device is in the low power consumption mode, and establish a session with the iridium device in the standard mode, where the iridium device establishes a bluetooth connection with a terminal device;
a processing module 102, configured to perform data transmission between the terminal device and the iridium satellite.
In one possible implementation, the device comprises a main control chip and an interrupt module; the switching module 101 is specifically configured to:
the interrupt module triggers an interrupt according to the interrupt event;
and the main control chip switches the operation mode from the low power consumption mode to the standard mode according to the triggered interrupt.
In one possible embodiment, the apparatus includes a timer; the switching module 101 is specifically configured to:
and triggering the timer to interrupt in response to the running time of the timer reaching the preset time.
In one possible embodiment, the apparatus comprises an LPUART module; the switching module 101 is specifically configured to:
and in response to receiving uplink data to be transmitted from the terminal equipment, triggering a receiving interruption by the LPUART module.
In one possible embodiment, the apparatus includes an input output IO module; the switching module 101 is specifically configured to:
and responding to a key instruction aiming at the iridium device, and triggering IO interruption by the IO module.
In a possible implementation manner, the apparatus includes a sending buffer and a receiving buffer, where the sending buffer is used to store uplink data to be transmitted, and the receiving buffer is used to store downlink data to be transmitted; the processing module 102 is specifically configured to:
when the sending cache comprises uplink data, sending the uplink data to the Iridium satellite; and/or the presence of a gas in the gas,
and when the receiving cache comprises downlink data, sending the downlink data to the terminal equipment.
In a possible implementation, the processing module 102 is further configured to:
and receiving uplink data to be transmitted from the terminal equipment through the Bluetooth module, and storing the uplink data to the sending cache.
In a possible implementation, the processing module 102 is further configured to:
and acquiring downlink data to be transmitted from the iridium satellite through the transceiver module, and storing the downlink data to the receiving cache.
In a possible implementation, the switching module 101 is further configured to:
and switching the operation mode from the standard mode to the low power consumption mode.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 11 is a schematic diagram of a hardware structure of an iridium satellite device provided in an embodiment of the present application, and as shown in fig. 11, the iridium satellite device of the present embodiment includes: a processor 111 and a memory 112; wherein
A memory 112 for storing computer-executable instructions;
and the processor 111 is used for executing the computer-executable instructions stored in the memory so as to realize the steps executed by the iridium satellite device control method in the embodiment. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 112 may be separate or integrated with the processor 111.
When the memory 112 is separately provided, the iridium device further includes a bus 113 for connecting the memory 112 and the processor 111.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the iridium satellite device control method executed by the iridium satellite device is realized.
Embodiments of the present application may also provide a computer program product, which may be executed by a processor, and when the computer program product is executed, may implement any one of the iridium satellite device control methods shown above.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present invention are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (13)
1. An iridium device control method is applied to an iridium device, and comprises the following steps:
according to an interruption event of the iridium satellite equipment in a low power consumption mode, switching the operation mode of the iridium satellite equipment from the low power consumption mode to a standard mode, and establishing a session with the iridium satellite in the standard mode, wherein the iridium satellite equipment establishes a Bluetooth connection with terminal equipment;
and carrying out data transmission between the terminal equipment and the iridium satellite.
2. The iridium device control method of claim 1, wherein the iridium device includes a master control chip and an interrupt module; the switching the operation mode of the iridium satellite device from the low power consumption mode to the standard mode according to the interrupt event of the iridium satellite device in the low power consumption mode comprises the following steps:
the interrupt module triggers an interrupt according to the interrupt event;
and the main control chip switches the operation mode from the low power consumption mode to the standard mode according to the triggered interrupt.
3. The iridium device control method of claim 2 wherein the interruption module includes a timer; the interrupt module triggers an interrupt according to the interrupt event, including:
and triggering the timer to interrupt in response to the running time of the timer reaching the preset time.
4. The iridium device control method of claim 2 wherein the interrupt module includes a Low Power Universal Asynchronous Receiver Transmitter (LPUART) module; the interrupt module triggers an interrupt according to the interrupt event, including:
and in response to receiving uplink data to be transmitted from the terminal equipment, triggering a receiving interruption by the LPUART module.
5. The iridium device control method of claim 2 wherein the interrupt module includes an Input Output (IO) module; the interrupt module triggers an interrupt according to the interrupt event, including:
and responding to a key instruction aiming at the iridium device, and triggering IO interruption by the IO module.
6. The iridium device control method of any one of claims 1 to 5, wherein the iridium device includes a transmission buffer and a reception buffer, the transmission buffer is used for storing uplink data to be transmitted, and the reception buffer is used for storing downlink data to be transmitted; the performing of data transmission between the terminal device and the system includes:
when the sending cache comprises uplink data, sending the uplink data to the Iridium satellite; and/or the presence of a gas in the gas,
and when the receiving cache comprises downlink data, sending the downlink data to the terminal equipment.
7. The iridium device control method of claim 6, wherein the iridium device further includes a bluetooth module, the method further comprising:
and receiving uplink data to be transmitted from the terminal equipment through the Bluetooth module, and storing the uplink data to the sending cache.
8. The iridium device control method of claim 6, wherein the iridium device further includes a transceiver module; the method further comprises the following steps:
and acquiring downlink data to be transmitted from the iridium satellite through the transceiver module, and storing the downlink data to the receiving cache.
9. The iridium device control method of claim 6, further comprising:
and switching the operation mode from the standard mode to the low power consumption mode.
10. An iridium equipment control device, characterized by comprising:
the switching module is used for switching the operation mode of the iridium device from the low power consumption mode to a standard mode according to an interrupt event of the iridium device in the low power consumption mode, and establishing a session with the iridium device in the standard mode, wherein the iridium device is in Bluetooth connection with a terminal device;
and the processing module is used for transmitting data between the terminal equipment and the iridium satellite.
11. An iridium satellite apparatus, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory, the processor being configured to perform the iridium satellite device control method as recited in any one of claims 1 to 9 when the program is executed.
12. A computer-readable storage medium characterized by comprising instructions that, when executed on a computer, cause the computer to perform the iridium satellite device control method as recited in any one of claims 1 to 9.
13. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements an iridium satellite device control method as claimed in any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111679267.4A CN114337788A (en) | 2021-12-31 | 2021-12-31 | Iridium equipment control method, equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111679267.4A CN114337788A (en) | 2021-12-31 | 2021-12-31 | Iridium equipment control method, equipment and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114337788A true CN114337788A (en) | 2022-04-12 |
Family
ID=81022732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111679267.4A Pending CN114337788A (en) | 2021-12-31 | 2021-12-31 | Iridium equipment control method, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114337788A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104422935A (en) * | 2013-08-19 | 2015-03-18 | 中国科学院沈阳自动化研究所 | Position indicator and position indicating method for marine equipment |
CN105516901A (en) * | 2015-12-21 | 2016-04-20 | 飞天诚信科技股份有限公司 | Low-power Bluetooth device and working method thereof |
CN109743681A (en) * | 2018-12-17 | 2019-05-10 | 北京天海达科技有限公司 | A kind of bimodulus monitor terminal based on Beidou communication and iridium communication |
CN210327576U (en) * | 2019-11-05 | 2020-04-14 | 深圳市远东华强导航定位有限公司 | Low-power-consumption Beidou communication terminal |
CN111917451A (en) * | 2020-07-10 | 2020-11-10 | 华力智芯(成都)集成电路有限公司 | Data transmission method and device, satellite module and storage medium |
CN112929953A (en) * | 2021-02-23 | 2021-06-08 | 湖南斯北图科技有限公司 | Efficient Internet of things terminal task scheduling method |
CN113271353A (en) * | 2021-05-13 | 2021-08-17 | 北京邮电大学 | Satellite-oriented data cache terminal selection method and device |
CN113746528A (en) * | 2021-08-11 | 2021-12-03 | 中国电子科技集团公司第七研究所 | Real-time voice cross-domain transmission method and system for heterogeneous network |
-
2021
- 2021-12-31 CN CN202111679267.4A patent/CN114337788A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104422935A (en) * | 2013-08-19 | 2015-03-18 | 中国科学院沈阳自动化研究所 | Position indicator and position indicating method for marine equipment |
CN105516901A (en) * | 2015-12-21 | 2016-04-20 | 飞天诚信科技股份有限公司 | Low-power Bluetooth device and working method thereof |
CN109743681A (en) * | 2018-12-17 | 2019-05-10 | 北京天海达科技有限公司 | A kind of bimodulus monitor terminal based on Beidou communication and iridium communication |
CN210327576U (en) * | 2019-11-05 | 2020-04-14 | 深圳市远东华强导航定位有限公司 | Low-power-consumption Beidou communication terminal |
CN111917451A (en) * | 2020-07-10 | 2020-11-10 | 华力智芯(成都)集成电路有限公司 | Data transmission method and device, satellite module and storage medium |
CN112929953A (en) * | 2021-02-23 | 2021-06-08 | 湖南斯北图科技有限公司 | Efficient Internet of things terminal task scheduling method |
CN113271353A (en) * | 2021-05-13 | 2021-08-17 | 北京邮电大学 | Satellite-oriented data cache terminal selection method and device |
CN113746528A (en) * | 2021-08-11 | 2021-12-03 | 中国电子科技集团公司第七研究所 | Real-time voice cross-domain transmission method and system for heterogeneous network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11337151B2 (en) | Low-power activation of accessory in sleep state | |
KR101162384B1 (en) | Apparatus for controlling a communication unit and method for controlling thereof | |
EP2876944A1 (en) | Network card device, routing device, system and method for realizing dynamic sleep and wakeup | |
JP6458279B2 (en) | Power supply control method and wireless terminal | |
CN110381489B (en) | Bluetooth connection method, display terminal and television | |
CN103974391A (en) | Device wake-up method and device | |
US20130138987A1 (en) | Method for entering idle mode and mobile terminal for implementing such method | |
US9954787B2 (en) | Intelligent terminal power-saving management method and apparatus | |
CN1991683B (en) | Notebook computer | |
CN102572119B (en) | A kind of mobile terminal and electricity saving method thereof | |
CN112165697B (en) | Tbox sleep wake-up control method and device and terminal equipment | |
US20120129578A1 (en) | Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby | |
EP2677393A1 (en) | Wake-up method, hot swap method, and device based on high speed inter-chip HSIC interface | |
CN108777862B (en) | Bluetooth transmission method, Bluetooth controller and Bluetooth device | |
US20070049238A1 (en) | Method for managing power of a mobile communication device | |
CN101360290A (en) | Method and terminal implementing timed startup of terminal | |
KR20080006147A (en) | Apparatus and method for downloading or transmitting data under the condition of battery power deficit in portable electronic device | |
CN114337788A (en) | Iridium equipment control method, equipment and system | |
CN111679730B (en) | Processor state control method and device based on FreeRTOS | |
CN111194011B (en) | Data sending method, data receiving method, platform server and terminal | |
CN112135260A (en) | Control method of main control unit, reporting method of position information and tracker | |
CN112449327A (en) | Method and device for switching working states of wireless data interaction terminal | |
JPH11313024A (en) | Radio card for personal computer | |
CN214252911U (en) | Heterogeneous low-power consumption intelligent watch | |
KR20060120809A (en) | Method for controlling transmission electric power of mobile phone and mobile phone thereof |
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 |