Satellite communication method, system and device
Patent Information
- Application Number
- CN202510573573.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-04
Smart Images

Figure CN120264372A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a method, system, and device for satellite communication. Background Art
[0002] With the rise of the global Internet of Things (IoT), while the global IoT platform provides IoT terminal access services, it also enables IoT terminals to access the IoT at any time and anywhere. The dual-mode IoT terminals adopted by related technologies are generally dual-mode communication between the terrestrial network and the satellite network. The communication method preferentially uses terrestrial network communication and switches to Tiantong IoT communication when there is no terrestrial network. However, in the dual-mode communication mechanism of the terrestrial network and the satellite network adopted by IoT terminal devices, satellite communication can often only implement one IoT communication protocol on the same IoT terminal, resulting in limited application scope of the IoT terminal.
[0003] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention
[0004] Embodiments of this application provide a method, system, and device for satellite communication to at least solve the technical problem that the application scope of IoT terminals is limited due to the fact that satellite communication of IoT terminals can only implement one IoT communication protocol.
[0005] According to one aspect of the embodiments of this application, a method for satellite communication is provided, including: receiving a first switching instruction sent by a satellite, where the first switching instruction is used to instruct an IoT terminal connected to the satellite to perform a switching of a service mode, and the service mode is a data transmission method adopted when the IoT terminal communicates through the satellite; determining a target service mode corresponding to the first switching instruction, where the target service mode includes one of the following: short data service, data service, and non-terrestrial network-based IoT service; enabling a service capability corresponding to the target service mode and performing data communication according to the target service mode, where the service capability is a communication function that the IoT terminal can execute in the target service mode.
[0006] In some embodiments of this application, it further includes: receiving a second switching instruction sent by the satellite, where the second switching instruction is used to instruct the IoT terminal connected to the satellite to switch the interface communication mode of a data acquisition interface, and different interface communication modes correspond to different data acquisition methods; determining a target interface communication mode corresponding to the second switching instruction; setting the data acquisition interface to the target interface communication mode and performing data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
[0007] In some embodiments of the present application, determining a target service mode corresponding to a first handover instruction includes: obtaining service information in the first handover instruction, where the service information is used to determine the target service mode; sorting short data services, data services, and Internet of Things (IoT) services based on non-terrestrial networks according to a preset rule to obtain a service mode sequence; and comparing the service information with the service modes in the service mode sequence in turn to obtain the target service mode corresponding to the first handover instruction.
[0008] In some embodiments of the present application, determining a target interface communication mode corresponding to a second handover instruction includes: obtaining interface information in the second handover instruction and comparing the interface information with the interface communication modes in an interface sequence composed of multiple interface communication modes in turn; disabling a first interface communication mode when the comparison result indicates that the interface information does not match the first interface communication mode, where the first interface communication mode is any one of the interface communication modes in the interface sequence; determining the second interface communication mode as the target interface communication mode when the comparison result indicates that the interface information matches the second interface communication mode; and determining all the second interface communication modes in the interface sequence as the target interface communication mode.
[0009] In some embodiments of the present application, the first handover instruction is determined by the following method: obtaining status information of the IoT terminal, where the status information is at least used to reflect the data transmission requirements of the IoT terminal; and sending the status information to the IoT platform via a satellite, where the status information is used by the IoT platform to determine the first handover instruction corresponding to the IoT terminal.
[0010] In some embodiments of the present application, after enabling the service capabilities corresponding to the target service mode, establish a network connection corresponding to the target service mode between the IoT terminal and the satellite network where the satellite is located.
[0011] In some embodiments of the present application, it further includes: obtaining operation information of a first service mode currently running on the IoT terminal; determining a parameter template for a second service mode and configuring target parameters in the parameter template, where the second service mode includes service modes other than the first service mode, and the target parameters are compatible with the operating environment of the first service mode; releasing target resources according to the operation information, where the importance of the target resources in the first service mode is less than the importance of the target resources in the second service mode; and after enabling the service capabilities corresponding to the second service mode, establishing a network connection between the IoT terminal and the satellite network according to the parameter template and the target resources.
[0012] According to another aspect of the embodiments of the present application, there is also provided a communication system, including: an Internet of Things platform, a satellite network, and a processor. The Internet of Things platform is connected to the satellite network and is configured to determine a first handover instruction and send the first handover instruction to the processor through a satellite of the satellite network. The first handover instruction is used to instruct an Internet of Things terminal connected to the satellite to perform a handover of the service mode, and the service mode is a data transmission method adopted when the Internet of Things terminal communicates through the satellite. The processor is connected to the satellite network and is configured to receive the first handover instruction, determine a target service mode corresponding to the first handover instruction, enable a service capability corresponding to the target service mode, and perform data communication according to the target service mode. The service mode includes one of the following: short data service, data service, and Internet of Things service based on a non-terrestrial network. The service capability is a communication function that the Internet of Things terminal can execute in the target service mode.
[0013] In some embodiments of the present application, the system further includes a terrestrial network, which is respectively connected to the Internet of Things platform and the processor and is configured to implement terrestrial communication between the Internet of Things terminal and the Internet of Things platform.
[0014] In some embodiments of the present application, the processor is further configured to: receive a second handover instruction sent by the satellite, where the second handover instruction is used to instruct an Internet of Things terminal connected to the satellite to switch the interface communication mode of the data acquisition interface, and different interface communication modes correspond to different data acquisition methods; determine a target interface communication mode corresponding to the second handover instruction; set the data acquisition interface to the target interface communication mode, and perform data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
[0015] According to yet another aspect of the embodiments of the present application, there is also provided a satellite communication device, including: a receiving module, configured to receive a first handover instruction sent by the satellite, where the first handover instruction is used to instruct an Internet of Things terminal connected to the satellite to perform a handover of the service mode, and the service mode is a data transmission method adopted when the Internet of Things terminal communicates through the satellite; a determining module, configured to determine a target service mode corresponding to the first handover instruction, where the target service mode includes one of the following: short data service, data service, and Internet of Things service based on a non-terrestrial network; a communication module, configured to enable a service capability corresponding to the target service mode, and perform data communication according to the target service mode, where the service capability is a communication function that the Internet of Things terminal can execute in the target service mode.
[0016] According to still another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory and a processor. The memory is used to store program instructions; the processor is connected to the memory and is configured to execute to implement the above-mentioned satellite communication method.
[0017] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes a stored computer program. Wherein, the device where the non-volatile storage medium is located executes the above satellite communication method by running the computer program.
[0018] According to another aspect of the embodiments of the present application, a computer program product is further provided, including computer instructions, and when the computer instructions are executed by a processor, the above satellite communication method is implemented.
[0019] In the embodiments of the present application, by adopting the method of dynamically adjusting the communication mode between the Internet of Things terminal and the satellite, receiving the switching instruction sent by the satellite link, and switching the service mode of the Internet of Things terminal according to the switching instruction, the purpose of automatically selecting the most suitable communication method according to the actual needs of the Internet of Things terminal is achieved. Thus, the technical effects of expanding the application scenarios of the Internet of Things terminal and realizing multi-mode communication of the Internet of Things are realized. Furthermore, the technical problem that the application range of the Internet of Things terminal is limited due to the fact that the satellite communication of the Internet of Things terminal can only implement one Internet of Things communication protocol is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation to the present application. In the drawings:
[0021] Figure 1 is a hardware structure block diagram of a computer terminal of a satellite communication method according to an embodiment of the present application;
[0022] Figure 2 is a flowchart of a satellite communication method according to an embodiment of the present application;
[0023] Figure 3 is a schematic diagram of dual-mode Internet of Things communication of a satellite communication method according to an embodiment of the present application;
[0024] Figure 4 is a system architecture diagram of a satellite communication method according to an embodiment of the present application;
[0025] Figure 5 is a service mode switching flowchart of a satellite communication method according to an embodiment of the present application;
[0026] Figure 6 is a data acquisition interface switching flowchart of a satellite communication method according to an embodiment of the present application;
[0027] Figure 7 is a structural schematic diagram of a satellite communication device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of this application.
[0029] It should be noted that the terms "first", "second", etc. in the specification, claims and above-mentioned drawings of this application are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] To better understand the embodiments of this application, the technical terms involved in the embodiments of this application are explained as follows:
[0031] Internet of Things (abbreviated as IOT): A network in which various physical devices are interconnected through the Internet and can collect, process and exchange information. In this application, the Internet of Things terminal devices are connected through the satellite network, enabling data collection, processing and transmission, and seamless access can be achieved even in remote areas, expanding the scope of application of the Internet of Things.
[0032] Non-Terrestrial Network (abbreviated as NTN): A communication network constructed using non-terrestrial facilities (such as satellites and high-altitude balloons) to expand the coverage of the terrestrial network. In this application, the non-terrestrial network specifically refers to a satellite network based on operator satellites (such as the Tian Tong satellite network), which is the core network architecture for realizing Internet of Things communication in remote areas.
[0033] Although the dual - mode Internet of Things (IoT) terminals adopted by related technologies can support two communication methods, namely, terrestrial networks and satellite networks (such as Tian Tong satellite), there are limitations in the flexibility of communication protocols. For example, when using Tian Tong satellite communication, it can only support one IoT communication protocol under the traditional communication system (GMR system) based on the Tian Tong network. Whether it is short - data services or data services, this means that when facing more diverse communication requirements, the adaptability of the terminal is limited. It cannot enable and utilize the service capabilities under multiple Tian Tong systems simultaneously on the same terminal, reducing the communication efficiency and flexibility in complex environments or specific application scenarios.
[0034] At the same time, when designing the data acquisition interface for Tian Tong IoT terminals, a discrete design is usually adopted, that is, providing independent interfaces for each data acquisition method (such as RS232, RS485, and CAN interfaces). Although this design can meet different data acquisition requirements, it poses challenges in terms of terminal miniaturization and cost control. On the one hand, the design of multiple independent interfaces increases the size and hardware complexity of the terminal; on the other hand, when some interfaces are not used, the redundancy of hardware resources causes a certain degree of waste.
[0035] In order to support multiple communication modes and data acquisition methods, the IoT terminals adopted by related technologies often require a complex hardware architecture, which not only increases the size of the terminal but also raises its cost. For scenarios of large - scale deployment of IoT devices, such as meteorological monitoring, hydrology and water conservancy, environmental protection, power, oil fields, earthquakes, etc., the high terminal cost has become the main obstacle to the popularization of satellite IoT technology.
[0036] To solve the above - mentioned technical problems, the embodiments of the present application provide corresponding solutions, which will be described in detail below.
[0037] The method embodiments of satellite communication provided by the embodiments of the present application can be executed in a mobile terminal, a computer terminal, or a similar computing device. Figure 1 A hardware structure block diagram of a computer terminal for implementing a method of satellite communication is shown. As Figure 1 shown, the computer terminal 10 may include one or more processors (processors may include, but are not limited to, processing devices such as micro - processor MCU or programmable logic device FPGA, shown as 102a, 102b,..., 102n in the figure), a memory 104 for storing data, and a transmission module 106 for communication functions connected by wired and / or wireless networks. In addition, it may further include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those of ordinary skill in the art can understand, Figure 1The structure shown is only schematic and does not limit the structure of the above electronic device. For example, the computer terminal 10 may further include more or fewer components than those shown in Figure 1 or have a different configuration from that shown in Figure 1 .
[0038] It should be noted that the above one or more processors and / or other data processing circuits can generally be referred to as "data processing circuits" herein. The data processing circuit can be embodied in software, hardware, firmware or any combination thereof, in whole or in part. In addition, the data processing circuit can be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer terminal 10. As involved in the embodiments of the present application, the data processing circuit is a kind of processor control (such as the selection of a variable resistance terminal path connected to an interface).
[0039] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the satellite communication method in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the above satellite communication method. The memory 104 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 memories. In some instances, the memory 104 may further include a memory remotely provided with respect to the processor, and these remote memories can be connected to the computer terminal 10 through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network and combinations thereof.
[0040] The transmission module 106 is used to receive or send data via a network. Specific examples of the above network may include the wireless network provided by the communication provider of the computer terminal 10. In one instance, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one instance, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0041] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables the user to interact with the user interface of the computer terminal 10.
[0042] It should be noted here that in some alternative embodiments, the above Figure 1The computer terminal shown may include hardware components (including circuits), software components (including computer code stored on a computer-readable medium), or a combination of both hardware and software components. It should be noted that Figure 1 is only an example of a specific concrete instance and is intended to illustrate the types of components that may exist in the above computer terminal.
[0043] Under the above operating environment, an embodiment of a method for satellite communication is provided in an embodiment of the present application. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0044] Figure 2 is a flowchart of a method for satellite communication according to an embodiment of the present application, as Figure 2 shown, the method includes the following steps:
[0045] Step S202, receive a first handover instruction sent by a satellite, where the first handover instruction is used to instruct an Internet of Things (IoT) terminal connected to the satellite to perform a handover of the service mode, and the service mode is the data transmission method adopted when the IoT terminal communicates via the satellite.
[0046] In the above step S202, the first handover instruction is a signal sent by a satellite communication network (such as sent by an IoT platform or a network control center) to the IoT terminal (such as a smart agricultural sensor, an environmental monitoring device, etc.), instructing the terminal to switch the satellite communication service mode it uses. The first handover instruction contains specific information about the handover mode, including but not limited to the type of service mode, parameter settings, etc., to ensure that the terminal can accurately adjust its communication state. Different service modes can adapt to application scenarios with different data volumes, transmission speeds, and latency tolerances. For example, short data services are suitable for the rapid transmission of small amounts of data.
[0047] In some embodiments of the present application, the IoT terminal continuously monitors the satellite network. When the first handover instruction is detected, it parses the instruction content to determine the new service mode. Subsequently, the control unit of the IoT terminal (such as an AP processor) adjusts relevant communication parameters according to the new service mode, such as baud rate, communication protocol stack, network initialization parameters, etc. Through this process, it can be ensured that the IoT terminal can flexibly adjust its communication strategy under different network environments and data requirements, avoiding the limitations of a single service mode.
[0048] To solve the problems of high hardware costs and large terminal sizes and enable the switching of business models without hardware changes, after receiving the first switching instruction, the IoT terminal can enable or disable specific communication functions through software upgrades or dynamic configurations to adapt to the new business model. For example, if the first switching instruction requires a switch to the IOT-NTN (Internet of Things, Non-Terrestrial Network) service, the terminal can disable the current GMR system communication function (the communication operations that the IoT terminal can perform under the traditional communication protocol system based on the Tiantong satellite network), and at the same time activate and configure the corresponding IOT-NTN communication parameters.
[0049] Since the switching of the first switching instruction involves reconfiguration of parameters and / or network initialization, it is likely to cause the ongoing data transmission to be paused, affecting the real-time performance and integrity of the data. To solve this problem, before the first switching instruction arrives, the IoT terminal can pre-save the current communication status (such as the transmission queue, network connection status, etc.) to the memory or flash memory; once the first switching instruction is received, the terminal can quickly complete the switching of the business model; and then resume from the saved status and continue the data transmission, thereby minimizing the data interruption time caused by the switching. In addition, the IoT terminal can also pre-load the communication parameter configuration files of different business models during design. When the first switching instruction is received, the processor can immediately load and apply the new communication parameters, avoiding the additional delay caused by real-time parsing and configuration of parameters during the switching process.
[0050] The first switching instruction can be determined in the following way: obtain the status information of the IoT terminal, where the status information is at least used to reflect the data transmission requirements of the IoT terminal; send the status information to the IoT platform via satellite, where the status information is used by the IoT platform to determine the first switching instruction corresponding to the IoT terminal.
[0051] The status information is a detailed description of the current operating state of the IoT terminal, including but not limited to data transmission requirements, battery status, signal strength, communication mode, etc. The role of the status information is to provide the IoT platform with an immediate overview of the terminal conditions so that the platform can make the best communication mode switching decision based on this information.
[0052] The IoT platform is a centralized or distributed service platform responsible for supervising and controlling all terminal devices in the IoT network, and based on the received status information, analyzing the current communication environment and requirements of the IoT terminal, determining the most suitable communication service mode, and generating the corresponding first switching instruction.
[0053] To address the problem that traditional Internet of Things (IoT) terminals cannot adapt to changes in the network environment, resulting in low communication efficiency, IoT terminals can send status information to the IoT platform regularly or based on trigger events (such as low battery level, weakening network signal, etc.); the IoT platform analyzes the status information, such as whether the data transmission requirements of the IoT terminal exceed the limitations of the GMR system, or whether the current environment is more suitable for using IOT-NTN or data service models, so as to generate a first switching instruction.
[0054] Since IoT terminals cannot immediately adjust their communication strategies when there is a sudden change in data requirements, to solve this problem, when sending status information, IoT terminals can also include some prediction indicators, such as data traffic prediction for a period of time in the future, expected network connection changes, etc. The IoT platform can plan the switching of the terminal's service model in advance based on this information and generate a first switching instruction to avoid data transmission interruption or delay caused by sudden communication mode requirements. Taking the prediction indicator of data traffic prediction as an example, specifically:
[0055] (1) IoT terminal data traffic prediction: The IoT terminal continuously collects and analyzes the historical records of its own data transmission, which can include information such as data volume, transmission frequency, communication time, etc.; based on the obtained target data, it predicts the data traffic requirements for a period of time in the future to obtain a prediction indicator.
[0056] (2) Generation and encryption of status information: Based on the prediction indicator, the IoT terminal generates status information containing the future data traffic prediction. To ensure the security of the information, the IoT terminal can also use an encryption algorithm to encrypt the status information, attach identity verification and time verification information such as the IoT terminal ID and timestamp, and package it into a status information packet.
[0057] (3) Priority transmission of status information packets: The IoT terminal, according to its internal policy, regularly or under specific conditions (such as when the increase in data requirements exceeds a preset threshold, the ground network signal weakens and meets the preset conditions, etc.), preferentially sends the encrypted status information packet to the IoT platform through the optimal communication link (ground network or satellite network). In this way, even in case of emergencies, the platform can receive the terminal's status information in a timely manner, avoiding untimely switching of the communication mode due to information delay.
[0058] (4) Instruction generation by the IoT platform: After receiving the status information packet, the IoT platform decrypts and verifies it (in the case of encryption); the IoT platform reads the status information, analyzes the data traffic prediction, and combines the current network conditions and historical data to evaluate the possible communication challenges that the terminal may encounter in the future; the platform plans the switching of the terminal's service model in advance according to the evaluation results and generates a first switching instruction.
[0059] (5) Transmission of the first switching instruction and reception by the terminal: The Internet of Things platform sends the first switching instruction to the Internet of Things terminal via the satellite link. Since the instruction is generated based on predictive metrics, it is sent before the terminal actually needs to switch modes, reducing the response latency during switching.
[0060] (6) The terminal quickly switches the service mode based on the first switching instruction: After receiving the first switching instruction, the Internet of Things terminal immediately executes the service mode switching operation in the instruction. For example, it performs steps such as updating software configuration, adjusting hardware parameters, and re-initializing the communication link. Since the terminal has predicted the communication requirements through intelligent algorithms before receiving the instruction, it can complete the mode switching quickly and efficiently, avoiding data transmission interruption or delay.
[0061] In different application environments, the Internet of Things terminal may need to collect and transmit different types of data and has different requirements for the communication mode of the data collection interface. To adapt to different data collection requirements, the following steps can also be executed: Receive the second switching instruction sent by the satellite, where the second switching instruction is used to instruct the Internet of Things terminal connected to the satellite to switch the interface communication mode of the data collection interface, and different interface communication modes correspond to different data collection methods; Determine the target interface communication mode corresponding to the second switching instruction; Set the data collection interface to the target interface communication mode and perform data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
[0062] The second switching instruction is an instruction sent by the satellite communication network to the Internet of Things terminal, instructing the terminal to switch the communication mode of its data collection interface to adapt to different data collection requirements and scenarios. The second switching instruction carries detailed information about the target interface communication mode, such as baud rate, frame format, etc., to ensure that the Internet of Things terminal can collect and transmit data according to the new communication mode.
[0063] The target interface communication mode refers to the communication mode to which the data collection interface of the Internet of Things terminal will be switched, including but not limited to RS232, RS485, or CAN interface communication modes. Different interface communication modes are suitable for different data collection methods. For example, the CAN interface is suitable for high-speed, large-scale data transmission, while RS232 is suitable for low-speed, point-to-point communication scenarios.
[0064] The baud rate and frame format are key parameters in the target interface communication mode. Among them, the baud rate defines the speed of data transmission. A higher baud rate means a faster data transmission rate, while the frame format describes the structure of the data packet, including the data header, check bits, tail, etc. Different frame formats are suitable for different types of data packets and communication protocols.
[0065] After receiving the second switching instruction, the Internet of Things terminal can determine the target interface communication mode corresponding to the second switching instruction through the following steps. Specifically: obtain the interface information in the second switching instruction, and compare the interface information with the interface communication modes in the interface sequence composed of multiple interface communication modes in turn; in the case where the comparison result indicates that the interface information does not match the first interface communication mode, disable the first interface communication mode, where the first interface communication mode is any one of the interface communication modes in the interface sequence; in the case where the comparison result indicates that the interface information matches the second interface communication mode, determine the second interface communication mode as the target interface communication mode; determine all the second interface communication modes in the interface sequence as the target interface communication modes.
[0066] The interface information is the detailed information about the target interface communication mode included in the second switching instruction, such as interface type (such as RS232, RS485, CAN), baud rate, frame format, etc., which is used to guide the terminal on how to switch the communication mode of the interface. The interface sequence is a list of a series of interface communication modes stored inside the Internet of Things terminal, covering all the interface communication modes supported by the Internet of Things terminal, such as RS232, RS485, CAN, etc., and each communication mode has its specific parameter configuration.
[0067] In some embodiments of the present application, the Internet of Things terminal compares the interface information extracted from the second switching instruction with the communication modes stored in the interface sequence one by one. If the found interface communication mode does not match the interface information, the Internet of Things terminal will disable this interface communication mode (the first interface communication mode), release the relevant resources, and prepare space for the new communication mode. After the Internet of Things terminal finds the second interface communication mode that matches the interface information, it determines it as the target interface communication mode. It should be noted that after determining a matching second interface communication mode, the Internet of Things terminal further checks whether there are other equally matching communication modes in the interface sequence. If so, these modes will also be set as the target communication modes, which means that the terminal can support multiple matching communication modes simultaneously, enhancing the multi-interface communication ability and flexibility of the terminal.
[0068] In the present application, the Internet of Things terminal integrates a standardized interface, which can achieve multi-interface integration and can switch the data transmission interface as needed. For example, the Internet of Things terminal can default to using RS232 serial communication with a baud rate of 115200bps. The Internet of Things terminal switches the data interface according to the received interface switching instruction (the second switching instruction), which can not only adapt to different application scenarios but also turn off the unused interfaces to save power. The interface switching instruction of the Internet of Things terminal is sent to the terminal through the Tiantong link, and the frame structure of the interface switching instruction can include: frame header, frame length, interface enable bit, interface baud rate, interface frame type, frame check, etc.
[0069] Step S204, determine the target service mode corresponding to the first handover instruction, where the target service mode includes one of the following: short data service, data service, Internet of Things (IoT) service based on non-terrestrial network.
[0070] In the above step S204, the target service mode is the service mode to which the IoT terminal needs to switch after receiving the first handover instruction. Different service modes are adapted to different data transmission requirements and network conditions. In some embodiments of the present application, the service mode includes but is not limited to short data service, data service, Internet of Things (IoT) service based on non-terrestrial network (i.e., IOT-NTN service). Specifically:
[0071] (1) Short data service: A low-bandwidth, short-message communication method used to transmit short information, such as status reports, location updates, small sensor data, etc. It has a small amount of data transmission, short response time, and low energy consumption, and is suitable for frequent small data packet transmissions. Taking Tian Tong satellite communication as an example, the short data service can be designed as a fast, simple, and cost-effective communication mechanism for communication scenarios with high real-time requirements, but small data volume and high transmission frequency. In satellite communication, the short data service can be used in scenarios that require quick response and instant communication, and can overcome the limitation of insufficient coverage of the terrestrial communication network to ensure data transmission in remote, ocean, or air areas.
[0072] (2) Data service: The data service provides relatively high-bandwidth communication services for transmitting large amounts of data or files, such as high-definition images, video streams, large files, etc. It has a high transmission rate, large data volume, and relatively low real-time performance. Taking Tian Tong satellite communication as an example, the data service utilizes higher bandwidth and more complex communication protocols to support the transmission of large-capacity data, and is used in scenarios with large data volume and relatively low real-time requirements. In satellite communication, the satellite data service can utilize the high-bandwidth capability of the satellite to overcome the challenges of limited bandwidth or inaccessibility of the terrestrial network.
[0073] (3) Internet of Things (IoT) service based on non-terrestrial network (IOT-NTN service): An IoT communication mode implemented through a non-terrestrial network (such as a satellite network). Different from the traditional terrestrial cellular network, the IOT-NTN service can cover areas that cannot be reached by the terrestrial network, such as remote areas, oceans, and aviation, greatly expanding the communication range and application scenarios of the IoT. It is suitable for areas where the terrestrial network coverage is insufficient or unstable, such as deep-sea monitoring, environmental monitoring in remote areas, and flight data transmission in the aviation field. The application of the IOT-NTN service in satellite communication has greatly expanded the boundaries of IoT communication, enabling IoT devices to exchange data at any location without relying on terrestrial communication infrastructure.
[0074] To avoid the failure of service mode switching caused by insufficient hardware resources or mismatched network conditions, after determining the target service mode, the IoT terminal can also perform a pre-assessment of the mode switching to check whether the current hardware resources and network environment of the terminal meet the requirements of the new service mode. For example, before switching to the data service, the terminal needs to check whether the storage space is sufficient and whether the satellite network signal is stable. If the current network environment of the terminal cannot meet the target service mode, the terminal can wait for the network environment to improve before performing the switch, or feedback the current environment to the IoT platform and request the platform to adjust the instruction.
[0075] It should be noted that the IoT terminal can reserve a part of the hardware resources (such as CPU time, memory, storage space) in the normal working state for mode switching to ensure that there are sufficient resources available during the switch. For example, the terminal can pre-allocate a part of the buffer space to store the data packets of the service mode to be switched.
[0076] In some embodiments of the present application, the target service mode can be determined through the following steps: obtaining the service information in the first switching instruction, where the service information is used to determine the target service mode; sorting the short data service, the data service, and the Internet of Things service based on the non-terrestrial network according to a preset rule to obtain a service mode sequence; comparing the service information with the service modes in the service mode sequence in turn to obtain the target service mode corresponding to the first switching instruction.
[0077] The preset rule is a set of rules for sorting the short data service, the data service, and the Internet of Things service based on the non-terrestrial network. The setting of the preset rule can consider factors such as the priority of the service mode, the network environment, and resource consumption to ensure that the most suitable service mode can be preferentially selected and applied.
[0078] In the case of coexistence of multiple service modes, through sorting by the preset rule, the IoT terminal can quickly lock the best service mode, avoid repeated trials between unnecessary modes, and improve communication efficiency and reliability. Specifically: define the preset rule, which can include but is not limited to network conditions (signal strength, bandwidth), terminal resource status (CPU load, memory usage rate), data transmission requirements (data volume size, real-time requirement), etc.; collect the current status information of the IoT terminal, including network environment, terminal resources, and data transmission requirements, etc.; according to the collected terminal status information, sort the short data service, the data service, and the IOT-NTN service according to the preset rule to create a service mode sequence. For example, when the network signal is weak, the short data service can be ranked first due to its low bandwidth requirement. When the terminal resources are sufficient and the transmitted data volume is large, the data service or the IOT-NTN service can be ranked before the short data service; whenever it is detected that the terminal status or network conditions change, recalculate and sort the service modes.
[0079] For example, in a specific embodiment, step one, the preset rules are set as follows: (1) Real-time requirement: When the real-time requirement is high, short data services are preferentially considered; (2) Data volume: For transmission tasks with a large amount of data, data services are preferentially considered; (3) Network stability: When the network signal is unstable, the IOT-NTN service has a higher priority because it can provide a wider coverage area; (4) Power consumption management: Under the condition of low battery power or the need to save energy, short data services are superior to the other two service models.
[0080] Step two, the current device status is: the current battery power is "60%", the real-time requirement of the monitoring task is "medium", the data volume to be uploaded is "a small amount of real-time status reports and a large amount of environmental data and images", and the current network condition is "the Tiantong satellite network signal is good and the ground network is unavailable".
[0081] Step three, specific analysis: First, since the real-time requirement of the monitoring task is medium, the device does not have to immediately switch to the short data service with the strongest real-time performance. However, there is a large amount of environmental data and high-definition images to be uploaded, which implies the necessity of data services or the IOT-NTN service. Since the Tiantong satellite network signal is good and the main task of the device is to upload a large amount of data, the data service ranks before the IOT-NTN due to its high transmission rate advantage. It should be noted that considering the wide-area coverage of the IOT-NTN service, even if the signal temporarily drops, the IOT-NTN can be used as an alternative solution. Finally, the current battery power of the device is 60%. Without affecting the main task, the short data service can be used as a power consumption optimization option after the data service and the IOT-NTN service due to its low power consumption characteristics.
[0082] Step four, sorting result: (1) Data service: Due to the need to upload a large amount of data, the data service ranks first in the sequence to maximize the transmission efficiency; (2) IOT-NTN service: Although the Tiantong satellite network signal is good at present, if the signal suddenly weakens, the IOT-NTN service, with its wide-area coverage ability, becomes a reliable data transmission alternative and ranks second in the sequence; (3) Short data service: After the data transmission is completed, the short data service can be used to send monitoring reports with lower real-time requirements or as a power consumption optimization option when the battery power is tight, and ranks third in the sequence.
[0083] Step S206, enable the service capabilities corresponding to the target service model and perform data communication according to the target service model, where the service capabilities are the communication functions that the Internet of Things terminal can execute in the target service model.
[0084] In the above step S206, the service capabilities refer to the communication functions that the IoT terminal possesses under specific service models, including but not limited to data collection, processing, and transmission. For example, in the data service model, the service capabilities involve the efficient transmission of large volumes of data; in the IOT-NTN model, the service capabilities focus on global data exchange via non-terrestrial networks. Enabling the service capabilities means that the IoT terminal activates its corresponding internal communication functions and protocols according to the target service model so that the terminal can conduct specific types of data communication. For example, when enabling the data service model, the IoT terminal needs to activate the modulation and demodulation protocols that support big data transmission.
[0085] In some embodiments of the present application, after determining the target service model, the IoT terminal can, through hardware configuration adjustment, ensure that physical layer components such as antennas and modems can support the signal frequencies and modulation methods of the selected service model. Meanwhile, at the software level, the IoT terminal can execute the data processing and communication logic in this model by opening the corresponding service modules or applications. For example, when switching to the data service model, the terminal may need to adjust the antenna direction, optimize signal reception, and enable high-bandwidth data transmission protocols. Through the rapid response of hardware and software, it is ensured that the IoT terminal can quickly and accurately switch to the target service model under the guidance of the first switching instruction, avoiding data communication interruption or delay and guaranteeing the continuity of data transmission and service quality.
[0086] After enabling the service capabilities corresponding to the target service model, the IoT terminal can also establish a network connection corresponding to the target service model with the satellite network where the satellite is located.
[0087] The network connection represents the communication link established between the IoT terminal and the satellite network and is the physical and logical basis for data transmission. Different service models require different types of network connections. For example, short data services use low-bandwidth connections, while data services or IOT-NTN services require high-bandwidth and more stable connections.
[0088] After determining the target service model, the IoT terminal configures according to the specific communication parameters (such as frequency, modulation method, protocol stack configuration) required by this model and initializes the corresponding network communication interface. For example, when switching to the IOT-NTN service model, the terminal needs to configure the protocol stack that supports satellite-ground IoT communication and establish a non-terrestrial network connection with the Tiantong satellite network.
[0089] To achieve smooth switching between different service modes of an Internet of Things (IoT) terminal, improve resource utilization and communication efficiency, the following steps can also be performed: Obtain the operation information of the first service mode currently running on the IoT terminal; Determine the parameter template of the second service mode and configure the target parameters in the parameter template, where the second service mode includes service modes other than the first service mode, and the target parameters are compatible with the operating environment of the first service mode; Release the target resources according to the operation information, where the importance of the target resources in the first service mode is less than that in the second service mode; After enabling the service capabilities corresponding to the second service mode, establish a network connection between the IoT terminal and the satellite network according to the parameter template and the target resources.
[0090] The operation information of the first service mode refers to the detailed status data when the IoT terminal is running in the current service mode, including but not limited to resource usage (such as CPU and memory occupancy), system logs, error reports, network status (such as signal strength and data transmission rate), etc. In some embodiments of the present application, the IoT terminal can periodically or triggerably record and analyze the system resource usage and network communication quality in the first service mode. Through in-depth understanding of the current service mode, the system can identify which resources are redundant or overused, so as to make more reasonable resource allocation decisions during mode switching, avoid resource waste, and improve switching efficiency.
[0091] The parameter template is a preset set of parameters used to guide the IoT terminal to smoothly switch from the first service mode to the second service mode. The parameter template can include key communication parameters in the second service mode, such as frequency band, power level, coding method, etc., as well as resource allocation strategies, etc., to ensure the efficiency and success of mode switching. The target parameters are specifically selected in the parameter template to ensure the compatibility of the second service mode with the first service mode in terms of operating environment (such as network conditions and terminal hardware configuration). In some embodiments of the present application, based on the operation information of the first service mode, the IoT terminal or the remote control platform selects the most suitable parameter template for the second service mode and adjusts the target parameters (such as frequency band and coding method) in the template according to the current operating environment.
[0092] By releasing resources, the IoT terminal can prepare sufficient resources for the startup of the second service mode without sacrificing the performance of the existing service, thereby improving the smoothness of mode switching. Specifically: The IoT terminal identifies non-core resources (i.e., resources with lower importance in the first service mode) according to the operation information of the first service mode and releases them for use by the second service mode.
[0093] Through the above steps S202 to S206, by dynamically adjusting the communication mode between the Internet of Things (IoT) terminal and the satellite, and receiving the switching instruction sent by the satellite link to switch the service mode of the IoT terminal, the purpose of automatically selecting the most suitable communication method according to the actual needs of the IoT terminal is achieved. Thus, the technical effects of expanding the application scenarios of the IoT terminal and realizing multi-mode communication of the IoT are realized, and further, the technical problem that the application range of the IoT terminal is limited due to the fact that the satellite communication of the IoT terminal can only implement one IoT communication protocol is solved.
[0094] Figure 3 It is a schematic diagram of dual-mode IoT communication of a satellite communication method according to an embodiment of the present application. As Figure 3 shown, taking the Tiantong satellite as an example, it includes:
[0095] (1) Tiantong IoT application platform: It is connected to the 4G network and the Tiantong satellite network respectively. The Tiantong IoT application platform is a software platform located at the top layer of the system architecture, acting as a bridge between users (mobile phone terminals, PC terminals, large screen terminals, etc.) and IoT terminals, responsible for data management, business process control, and user interface presentation. It not only receives commands and data from the user side, but also processes and forwards the data uploaded by the IoT terminal, providing data analysis and visualization services, enabling users to understand the terminal status and environmental data in real time.
[0096] (2) User terminals connected to the Tiantong IoT application platform: including but not limited to mobile phone terminals / PC terminals / large screen terminals. These user terminal devices allow users to interact with the IoT application platform through a convenient interface, receive information from the terminal, or send commands and data to the terminal.
[0097] (3) 4G network: It represents the terrestrial cellular network. The IoT terminal conducts data communication through the 4G network in areas covered by the terrestrial network.
[0098] (4) Tiantong satellite network: When the IoT terminal is located in remote areas, at sea, or other places where the terrestrial network cannot reach, the Tiantong satellite network provides global coverage communication capabilities to ensure that the terminal can conduct data transmission and receive commands. The 4G network and the Tiantong satellite network are connected to the Tiantong IoT terminal. The IoT terminal has the access capabilities of both the 4G network and the Tiantong satellite network, and can dynamically select the most suitable network for data communication according to network conditions and communication requirements.
[0099] (5) Tiantong IoT terminal: It can collect data, process data, and transmit data, and can be applied to fields such as satellite-based augmentation, crack monitoring, emergency broadcasting, hydrological monitoring, and device transparent transmission.
[0100] It should be noted that this application is in Figure 3Based on the dual-mode Internet of Things (IoT) communication shown, without adding hardware, multi-mode communication for the Tiantong IoT is achieved. For the same IoT terminal device, it can flexibly switch the data transmission path and data communication path as needed according to different application scenarios and data transmission requirements, that is, multi-data transmission and multi-mode communication capabilities are realized simultaneously.
[0101] This application also provides a communication system, including an IoT platform, a satellite network, and a processor. Among them, the IoT platform is connected to the satellite network and is used to determine a first switching instruction, and send the first switching instruction to the processor through the satellite of the satellite network. The first switching instruction is used to instruct the IoT terminal connected to the satellite to perform a switching of the service mode, and the service mode is the data transmission method adopted when the IoT terminal communicates through the satellite; the processor is connected to the satellite network and is used to receive the first switching instruction, determine the target service mode corresponding to the first switching instruction, enable the service capabilities corresponding to the target service mode, and perform data communication according to the target service mode. Among them, the service mode includes one of the following: short data service, data service, and non-terrestrial network-based IoT service, and the service capability is the communication function that the IoT terminal can execute in the target service mode.
[0102] In some embodiments of this application, the system further includes a terrestrial network, where the terrestrial network is respectively connected to the IoT platform and the processor and is used to implement terrestrial communication between the IoT terminal and the IoT platform.
[0103] In some embodiments of this application, the processor is further used to perform the following steps: receive a second switching instruction sent by the satellite, where the second switching instruction is used to instruct the IoT terminal connected to the satellite to switch the interface communication mode of the data acquisition interface, and different interface communication modes correspond to different data acquisition methods; determine the target interface communication mode corresponding to the second switching instruction; set the data acquisition interface to the target interface communication mode, and perform data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
[0104] It should be noted that the communication system is used to execute Figure 2 the satellite communication method shown, so Figure 2 the relevant explanations in the satellite communication method in
[0105] Figure 4 is the system architecture diagram of a satellite communication method according to an embodiment of this application. As Figure 4 shown, it includes:
[0106] (1) The IoT platform 402.
[0107] As the nerve center of the entire system, the Internet of Things platform 402 is responsible for coordinating and managing the communication of all devices and data, and providing various services such as data processing, storage, security authentication, and user interfaces. By monitoring the status of the Internet of Things terminal devices 408, the platform sends instructions to the satellite Internet of Things communication module 404 via the satellite network antenna as needed to control the switching of communication modes, or communicates directly with the terrestrial Internet of Things communication module 406 through the terrestrial network antenna. At the same time, the platform receives data from the terminals, analyzes and processes it, and forwards the results to the user side (such as mobile phone side, PC side, large screen side).
[0108] (2) Satellite Internet of Things communication module 404.
[0109] The satellite Internet of Things communication module 404 is the interface between the Internet of Things terminal device 408 and the satellite network (such as the Tiantong satellite network), enabling the Internet of Things terminal to perform data communication via satellite in remote areas without terrestrial network coverage or in cases where the terrestrial network is unreliable. According to the instructions of the Internet of Things platform 402 or the terminal's own communication strategy, the satellite Internet of Things communication module 404 can enable short data services, data services, or IOT-NTN services in the satellite network to achieve flexible communication mode switching. In addition, the satellite Internet of Things communication module 404 is also responsible for receiving signals from the satellite, processing and forwarding them to the processor 4081, and encapsulating and encrypting the data provided by the processor and sending it out via the satellite network.
[0110] (3) Terrestrial Internet of Things communication module 406.
[0111] The terrestrial Internet of Things communication module 406 is responsible for high-speed data exchange with the Internet of Things platform 402 in an environment where the terrestrial network is accessible, such as a 4G / LTE network. When the Internet of Things terminal device 408 is within the coverage of the terrestrial network, the terrestrial Internet of Things communication module 406 can receive and send data through its connection with the processor 4081, and can use standardized terrestrial network protocols (such as TCP / IP) to optimize the data transmission rate and efficiency, while providing a stable and reliable network connection for the terminal.
[0112] (4) Internet of Things terminal device 408.
[0113] The components include a processor 4081, the core computing unit of the terminal, which is responsible for data acquisition, processing, mode switching control, and interaction with the two communication modules, and a data acquisition interface 4082, which integrates a standard aviation plug interface with various interface capabilities including RS232, RS485, and CAN, for connecting to and reading data from sensors or external devices.
[0114] When receiving a data collection requirement, the processor 4081 collects data on the external environment or device status through the data collection interface 4082 according to the instructions of the Internet of Things platform 402 or the preset policy inside the terminal. After the data processing is completed, the processor 4081 selects to perform data transmission through the terrestrial Internet of Things communication module 406 or the satellite Internet of Things communication module 404 according to the current network conditions and service requirements, so as to achieve dual-mode or multi-mode communication. When a network switching instruction arrives, the processor 4081 calls the corresponding function or program to enable the target service mode, such as switching from the data service to the short data service, to ensure that the Internet of Things terminal always maintains the most efficient communication state.
[0115] Figure 5 It is a flowchart of service mode switching of a satellite communication method according to an embodiment of the present application. As Figure 5 shown, taking the Tian Tong satellite as an example, it should be noted that the satellite network can be other satellites, etc., which are not limited herein. Specifically, it includes the following steps:
[0116] Step S502: Start.
[0117] The Internet of Things terminal device starts, and all system functions are initialized to prepare to receive data and instructions.
[0118] Step S504: Wait to receive a service mode switching instruction (the first switching instruction).
[0119] The terminal continuously listens for communication instructions from the Internet of Things platform, especially service mode switching instructions. For example, it is implemented by setting a listening thread or using an interrupt handling mechanism to ensure that it can respond quickly when the instruction arrives.
[0120] Step S506: Determine whether a mode switching instruction is received.
[0121] The processor of the terminal device checks the receive buffer to see if there is a new first switching instruction. If no instruction is received, the program returns to step S504 to continue listening; if an instruction is received, it continues to execute the next step.
[0122] Step S508: Determine whether to enable the short data service.
[0123] The processor parses the service mode information in the first switching instruction to determine whether it is required to switch to the short data service mode. For example, it is implemented by comparing the mode identifier in the instruction with the preset identifier of the short data service mode.
[0124] Step S510: Enable the short data capability and re-initialize the Tian Tong network.
[0125] If the instruction requires switching to the short data service mode, the processor will call the corresponding program function to activate the communication parameters (such as frequency band, modulation and demodulation parameters) and protocol stack of the short data service. At the same time, the terminal will re-initialize the Tiantong network connection, including registering the network, setting communication parameters, etc., to ensure compliance with the requirements of the short data service, ensuring that the IoT terminal can quickly adapt to and enable the short data service under specific network conditions or data transmission requirements. Even after the network environment changes or the terminal restarts, it can quickly restore the communication ability of the short data service. After this step is completed, jump to step S520 to end the execution.
[0126] Step S512: Determine whether to enable the data service.
[0127] If the first switching instruction does not contain information enabling the short data service, check whether it is required to switch to the data service mode.
[0128] Step S514: Enable the data capability and re-initialize the Tiantong network.
[0129] For the data service mode, the terminal will switch to the communication parameters and protocol stack that support larger data volume transmission, which may involve higher frequency bands and more complex coding methods to meet the requirements of large data transmission. Also, the terminal needs to re-initialize the Tiantong network connection to ensure that all parameters match the data service mode. The data service mode usually requires a faster network connection and data processing ability. By enabling the data capability, the terminal can handle data-intensive applications such as high-definition image transmission or real-time video monitoring, and at the same time ensure the stability of the connection and the efficiency of data transmission through network initialization. After this step is completed, jump to step S520 to end the execution.
[0130] Step S516: Determine whether to enable the IOT-NTN service.
[0131] If the first two judgment conditions are not met, the terminal determines whether the first switching instruction requires switching to the Internet of Things service based on non-terrestrial network (IOT-NTN service) mode.
[0132] Step S518: Enable the IOT-NTN capability and re-initialize the Tiantong network.
[0133] The IOT-NTN service mode may involve direct communication with satellites. The terminal will call the communication parameters and protocol stack of the IOT-NTN service, optimize the antenna pointing, signal processing, and data encapsulation to meet the special requirements of satellite-ground communication. At the same time, the terminal re-initializes the satellite communication network to ensure that all parameters comply with the communication standards of the IOT-NTN service. The IOT-NTN service is usually used in environments where the terrestrial network is unavailable. By enabling the IOT-NTN capability, the terminal can ensure reliable data communication in scenarios such as remote areas, at sea, or in the air, meeting the requirements of global coverage for Internet of Things applications.
[0134] Step S520: End the execution.
[0135] After completing the service mode switch, the terminal closes the switch process and returns to the normal data acquisition and transmission process, and communicates according to the enabled service mode.
[0136] Figure 6 It is a flowchart for switching the data acquisition interface of a satellite communication method according to an embodiment of the present application. As Figure 6 shown, taking the switching of RS232, RS485, and CAN interfaces as an example, it specifically includes the following steps:
[0137] Step S602: Start.
[0138] The Internet of Things terminal device starts, and all system components are initialized to prepare to receive instructions or data.
[0139] Step S604: Wait to receive an interface switching instruction (the second switching instruction).
[0140] The processor of the Internet of Things terminal device continuously monitors the Internet of Things platform or a preset communication channel, waiting to receive the second switching instruction containing interface switching information.
[0141] Step S606: Determine whether an interface switching instruction is received.
[0142] The terminal checks through the receive buffer whether a new second switching instruction has arrived. If no instruction is received, it returns to step S604 to continue monitoring; if received, subsequent processing is performed.
[0143] Step S608: Determine whether the RS232 interface is enabled.
[0144] The processor parses the second switching instruction and checks whether it contains an instruction to enable the RS232 interface. If the instruction requires enabling, it proceeds to the next step; if not, it disables the RS232 interface and checks the next interface.
[0145] Step S610: Enable and set the baud rate of RS232.
[0146] Adjust the communication parameters of the RS232 interface according to the baud rate information carried in the instruction. For example, set the baud rate to 115200 bps and activate the interface to prepare for data transmission. By precisely setting the baud rate of the RS232 interface, ensure that the data transmission rate matches the receiving device, improving the efficiency and accuracy of data communication.
[0147] Step S612: Disable the RS232 interface.
[0148] If the second switching instruction does not contain a requirement to enable the RS232 interface, the terminal will close the RS232 interface, release relevant resources, and avoid unnecessary power consumption and resource occupation.
[0149] Step S614: Determine whether to enable the RS485 interface.
[0150] The processor continues to parse the second switching instruction to check whether the RS485 interface needs to be enabled. If the instruction requires enabling the RS485, proceed to the next step; otherwise, disable the interface and continue to check the status of the CAN interface.
[0151] Step S616: Enable and set the baud rate of RS485.
[0152] Set the baud rate of the RS485 interface according to the parameters in the instruction and enable the interface to prepare for data transmission. For example, set the baud rate to a suitable value, such as 9600 bps, to adapt to a specific device or communication environment. Ensure that the RS485 interface can work at the communication rate required by the instruction, meeting the needs of different application scenarios, especially in scenarios that require high anti-interference ability and long-distance communication.
[0153] Step S618: Disable the RS485 interface.
[0154] If the second switching instruction does not require enabling the RS485 interface, the terminal will close the interface, save power, and avoid interfering with the normal operation of other interfaces.
[0155] Step S620: Determine whether to enable the CAN interface.
[0156] The processor parses the instruction again to determine whether the CAN interface needs to be enabled. If enabling the CAN is required, execute the next step; if not, directly jump to the end step. Ensure that the CAN interface is only enabled when necessary, avoiding resource waste and unnecessary communication delays.
[0157] Step S622: Enable and set the baud rate of CAN.
[0158] According to the second switching instruction, adjust the communication parameters of the CAN interface, such as baud rate and frame format, and enable the interface for data transmission. For example, set the baud rate of the CAN interface to 250 kbps to meet the requirements of high-speed data interaction. Ensure that the CAN interface can work efficiently under the established communication parameters, especially in industrial control and automotive electronics applications that require high-speed data transmission and complex data formats.
[0159] Step S624: Disable the CAN interface.
[0160] If there is no requirement to enable the CAN interface in the second switching instruction, the terminal closes the interface to save power and avoid interfering with other interfaces.
[0161] Step S626: End.
[0162] After completing the switching and configuration of all interfaces, the IoT terminal device returns to the normal data acquisition and transmission process and communicates according to the enabled interfaces.
[0163] Figure 7 It is a structural diagram of a satellite communication device according to an embodiment of the present application. As Figure 7 shown, the device includes:
[0164] A receiving module 702, configured to receive a first switching instruction sent by a satellite, where the first switching instruction is used to instruct an IoT terminal connected to the satellite to perform a service mode switch, and the service mode is a data transmission method adopted when the IoT terminal communicates via the satellite;
[0165] A determining module 704, configured to determine a target service mode corresponding to the first switching instruction, where the target service mode includes one of the following: short data service, data service, and non-terrestrial network-based IoT service;
[0166] A communication module 706, configured to enable a service capability corresponding to the target service mode and perform data communication according to the target service mode, where the service capability is a communication function that the IoT terminal can execute in the target service mode.
[0167] It should be noted that Figure 7 the shown satellite communication device is used to execute Figure 2 the shown satellite communication method. Therefore Figure 2 the relevant explanations in the satellite communication method in Figure 7 also apply to the shown satellite communication device and will not be elaborated here.
[0168] The embodiments of the present application also provide an electronic device, which includes a memory and a processor. The memory is used to store program instructions, and the processor is connected to the memory and is used to execute the steps of implementing the satellite communication method in various embodiments of the present application.
[0169] For example, the processor executes the following functions by executing the program instructions stored in the memory: receiving a first switching instruction sent by a satellite, where the first switching instruction is used to instruct an Internet of Things (IoT) terminal connected to the satellite to perform a switching of the service mode, and the service mode is the data transmission method adopted when the IoT terminal communicates via the satellite; determining a target service mode corresponding to the first switching instruction, where the target service mode includes one of the following: short data service, data service, and non-terrestrial network-based IoT service; enabling the service capabilities corresponding to the target service mode and performing data communication according to the target service mode, where the service capabilities are the communication functions that the IoT terminal can execute in the target service mode.
[0170] The embodiments of the present application also provide a non-volatile storage medium, which includes a stored computer program. The device where the non-volatile storage medium is located executes the steps of the satellite communication method in various embodiments of the present application by running the computer program.
[0171] The embodiments of the present application also provide a computer program product, including computer instructions, and when the computer instructions are executed by a processor, the steps of the satellite communication method in various embodiments of the present application are implemented.
[0172] The embodiments of the present application also provide a computer program, and when the computer program is executed by a processor, the steps of the satellite communication method in various embodiments of the present application are implemented.
[0173] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0174] In the above embodiments of the present application, the descriptions of the various embodiments have their own focuses. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0175] In the several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the units or modules can be in an electrical or other form.
[0176] The unit described as a separating component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0178] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks or optical discs that can store program codes.
[0179] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A method for satellite communication, characterized in that, Including: Receiving a first handover instruction sent by a satellite, where the first handover instruction is used to instruct an Internet of Things (IoT) terminal connected to the satellite to perform a handover of a service mode, and the service mode is a data transmission method adopted when the IoT terminal communicates via the satellite; Determining a target service mode corresponding to the first handover instruction, where the target service mode includes one of the following: short data service, data service, and non-terrestrial network-based IoT service; Enabling a service capability corresponding to the target service mode and performing data communication according to the target service mode, where the service capability is a communication function that the IoT terminal can execute in the target service mode.
2. The method according to claim 1, wherein The method further includes: Receiving a second handover instruction sent by the satellite, where the second handover instruction is used to instruct the IoT terminal connected to the satellite to switch the interface communication mode of a data acquisition interface, and different interface communication modes correspond to different data acquisition methods; Determining a target interface communication mode corresponding to the second handover instruction; Setting the data acquisition interface to the target interface communication mode and performing data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
3. The method according to claim 1, wherein Determining a target service mode corresponding to the first handover instruction includes: Obtaining service information in the first handover instruction, where the service information is used to determine the target service mode; Sorting the short data service, the data service, and the non-terrestrial network-based IoT service according to a preset rule to obtain a service mode sequence; Comparing the service information with the service modes in the service mode sequence in turn to obtain a target service mode corresponding to the first handover instruction.
4. The method according to claim 2, wherein Determining a target interface communication mode corresponding to the second handover instruction includes: Obtaining interface information in the second handover instruction and comparing the interface information with the interface communication modes in an interface sequence composed of multiple interface communication modes in turn; Disabling a first interface communication mode when the comparison result indicates that the interface information does not match the first interface communication mode, where the first interface communication mode is any one of the interface communication modes in the interface sequence; Determining the second interface communication mode as the target interface communication mode when the comparison result indicates that the interface information matches the second interface communication mode; Determining all the second interface communication modes in the interface sequence as the target interface communication mode.
5. The method according to claim 1, characterized in that The first handover instruction is determined by the following method: Obtaining status information of the IoT terminal, where the status information is at least used to reflect the data transmission requirements of the IoT terminal; Sending the status information to an IoT platform via the satellite, where the status information is used by the IoT platform to determine a first handover instruction corresponding to the IoT terminal.
6. The method according to claim 1, wherein After enabling the service capability corresponding to the target service mode, establishing a network connection corresponding to the target service mode between the IoT terminal and the satellite network where the satellite is located.
7. The method according to claim 6, wherein The method further includes: Obtain the operation information of the first service mode currently running on the IoT terminal; Determine the parameter template of the second service mode and configure the target parameters in the parameter template, where the second service mode includes service modes other than the first service mode, and the target parameters are compatible with the operating environment of the first service mode; Release the target resources according to the operation information, where the importance of the target resources in the first service mode is less than the importance of the target resources in the second service mode; After enabling the service capabilities corresponding to the second service mode, establish a network connection between the IoT terminal and the satellite network according to the parameter template and the target resources.
8. A communication system, characterized in that, It includes an IoT platform, a satellite network, and a processor, where The IoT platform is connected to the satellite network and is used to determine a first switching instruction and send the first switching instruction to the processor through a satellite of the satellite network. The first switching instruction is used to instruct the IoT terminal connected to the satellite to perform a service mode switch, and the service mode is the data transmission method adopted when the IoT terminal communicates through the satellite; The processor is connected to the satellite network and is used to receive the first switching instruction, determine the target service mode corresponding to the first switching instruction, enable the service capabilities corresponding to the target service mode, and perform data communication according to the target service mode. The service mode includes one of the following: short data service, data service, Internet of Things service based on non-terrestrial network, and the service capabilities are the communication functions that the IoT terminal can execute in the target service mode.
9. The system according to claim 8, wherein The system further includes a terrestrial network, where the terrestrial network is respectively connected to the IoT platform and the processor and is used to implement terrestrial communication between the IoT terminal and the IoT platform.
10. The system according to claim 8, wherein The processor is further used for: Receive a second switching instruction sent by the satellite, where the second switching instruction is used to instruct the IoT terminal connected to the satellite to switch the interface communication mode of the data acquisition interface, and different interface communication modes correspond to different data acquisition methods; Determine the target interface communication mode corresponding to the second switching instruction; Set the data acquisition interface to the target interface communication mode and perform data transmission according to the baud rate and frame format corresponding to the target interface communication mode.
11. A satellite communication device, characterized in that, It includes: A receiving module, configured to receive a first switching instruction sent by a satellite, where the first switching instruction is used to instruct the IoT terminal connected to the satellite to perform a service mode switch, and the service mode is the data transmission method adopted when the IoT terminal communicates through the satellite; A determining module, configured to determine the target service mode corresponding to the first switching instruction, where the target service mode includes one of the following: short data service, data service, Internet of Things service based on non-terrestrial network; A communication module, configured to enable service capabilities corresponding to the target service mode and perform data communication according to the target service mode, where the service capabilities are communication functions that the Internet of Things terminal can execute in the target service mode.
12. An electronic device, characterized in that, It includes: A memory and a processor, where the memory is used to store program instructions; the processor is connected to the memory and is used to execute the method for satellite communication described in any one of claims 1 to 7.
13. A non-volatile storage medium, characterized in that, The non-volatile storage medium includes a stored computer program, where the device where the non-volatile storage medium is located executes the method for satellite communication described in any one of claims 1 to 7 by running the computer program.
14. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, the method for satellite communication described in any one of claims 1 to 7 is implemented.