Data compression method, device, satellite gateway station, system and storage medium

By automatically generating and managing ROHC compression rules at satellite gate stations, the problem of resource consumption and maintenance complexity of satellite gate stations in satellite communication systems is solved, and more efficient data processing and system management are achieved.

CN118869058BActive Publication Date: 2024-11-26CHENGDU CORESAT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411338114.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-11-26
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

When the existing satellite communication system handles a large number of satellite stations, the satellite gate station needs a large amount of memory and computing resources to compress and decompress ROHC data streams, which leads to heavy burden on the system, and manually setting the compression rules of each satellite station are difficult to maintain. , increasing the system maintenance complexity.

Method used

Receive the ROHC data stream sent by the satellite station at the satellite gate station, generate ROHC compression rules for the downlink based on the IP data information, and query, add and clean the rules in the compression rule chain to automatically process the Compress rules to reduce manual configuration requirements.

Benefits of technology

It reduces the maintenance complexity and resource consumption of satellite communication systems, improves the management efficiency of the system, and reduces the use of memory and computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869058B_ABST
    Figure CN118869058B_ABST
Patent Text Reader

Abstract

The data compression method, device, satellite gateway station, system and storage medium provided by the present invention relate to the field of satellite communication technology. In the method, the satellite gateway station receives the ROHC data stream sent by the satellite station, obtains IP data information from the ROHC data stream; generates a downlink ROHC compression rule for the satellite station according to the IP data information, and compresses the first IP data to be sent to the satellite station based on the downlink ROHC compression rule, thereby eliminating the need for users to manually configure the downlink ROHC compression rule corresponding to each satellite station, thereby reducing the maintenance complexity of the satellite communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite communication technology, and in particular to a data compression method, device, satellite gateway station, system and storage medium. Background Art

[0002] ROHC (Robust Header Compression) is a network protocol designed to reduce bandwidth usage on network links with limited capacity or high costs, such as mobile networks or satellite links. This protocol is being used in satellite communications uplinks (satellite stations -> satellite gateway stations) and downlinks (satellite gateway stations -> satellite stations).

[0003] However, in actual applications, when there are a large number of satellite stations, each satellite station may generate thousands of compressed / decompressed data streams, which causes the satellite gateway station to require a large amount of memory and computing resources to process these data streams, placing a heavy burden on the system.

[0004] In order to limit the memory usage of satellite gateways, the current approach is to design ROHC compression rules so that only IP data that meets expectations can be compressed. However, satellite gateways need to manage a large number of satellite stations, and the compression rules corresponding to each satellite station need to be manually set, which is difficult to maintain. Summary of the invention

[0005] In order to at least overcome the above-mentioned deficiencies in the prior art, one of the objectives of the present invention is to provide a data compression method, device, satellite gateway station, system and storage medium.

[0006] In a first aspect, the present invention provides a data compression method, which is applied to a satellite gateway station, wherein the satellite gateway station is communicatively connected with a satellite station, and the method comprises:

[0007] Receiving the ROHC data stream sent by the satellite station, and obtaining IP data information from the ROHC data stream;

[0008] A downlink ROHC compression rule for the satellite station is generated according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule.

[0009] Optionally, the step of obtaining IP data information from the ROHC data stream includes:

[0010] Decompressing the ROHC data stream to obtain second IP data;

[0011] The second IP data is parsed to obtain a data protocol type, a data source address information, and a data destination address information, wherein the IP data information includes the data protocol type, the data source address information, and the data destination address information.

[0012] Optionally, the step of generating a downlink ROHC compression rule for the satellite station according to the IP data information includes:

[0013] Generate an initial ROHC compression rule according to a preset compression rule template using the satellite station ID, the data protocol type, the data source address information and the data destination address information;

[0014] The data source address information and the data destination address information in the initial ROHC compression rule are exchanged to obtain the downlink ROHC compression rule.

[0015] Optionally, the satellite gateway station stores a ROHC compression rule chain, the ROHC compression rule chain includes downlink ROHC compression rules for different satellite stations, and the method further includes:

[0016] querying the downlink ROHC compression rule in the ROHC compression rule chain;

[0017] If the downlink ROHC compression rule is not found in the ROHC compression rule chain, the downlink ROHC compression rule is added to the ROHC compression rule chain, so that when sending IP data to the satellite station, the downlink ROHC compression rule is queried from the ROHC compression rule chain to compress the IP data sent to the satellite station.

[0018] Optionally, the method further comprises a step of clearing the ROHC compression rule chain, which comprises:

[0019] If the satellite station is disconnected from the network, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

[0020] Optionally, the step of clearing the ROHC compression rule chain further includes:

[0021] When monitoring that the resource usage of the device satisfies a preset condition, obtaining a timestamp of the downlink ROHC compression rule, where the timestamp indicates the time when the downlink ROHC compression rule was last used;

[0022] If the interval between the timestamp and the current time exceeds a preset time length, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

[0023] In a second aspect, the present invention provides a data compression device, which is applied to a satellite gateway station, wherein the satellite gateway station is communicatively connected with a satellite station, and the device comprises:

[0024] A receiving module, used for receiving the ROHC data stream sent by the satellite station, and obtaining IP data information from the ROHC data stream;

[0025] The generating module is used to generate a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule.

[0026] In a third aspect, the present invention provides a satellite gateway station, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the data compression method as described in the first aspect is implemented.

[0027] In a fourth aspect, the present invention provides a satellite communication system, which includes a satellite station and a satellite gateway station as described in the third aspect.

[0028] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the data compression method as described in the first aspect.

[0029] Compared with the prior art, the data compression method provided by the present invention includes: receiving the ROHC data stream sent by the satellite station, obtaining IP data information from the ROHC data stream; generating a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule. Since the satellite gateway station in the present invention generates the downlink ROHC compression rule for the satellite station based on the IP data information obtained from the ROHC data stream from the satellite station, there is no need for the user to manually configure the downlink ROHC compression rule corresponding to each satellite station, thereby reducing the maintenance complexity of the satellite communication system.

[0030] Other features and advantages disclosed in the present invention will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present invention.

[0031] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A schematic diagram of the structure of a satellite communication system provided by an embodiment of the present invention;

[0034] Figure 2 A schematic diagram of a data compression method provided by an embodiment of the present invention Figure 1 ;

[0035] Figure 3 A schematic diagram of a data compression method provided by an embodiment of the present invention Figure 2 ;

[0036] Figure 4 A functional unit block diagram of a data compression device provided by an embodiment of the present invention;

[0037] Figure 5 A schematic block diagram of the structure of a satellite observation gateway station provided in an embodiment of the present invention.

[0038] Icons: 100 - data compression device; 101 - receiving module; 102 - generating module; 103 - processing module; 200 - satellite gateway station; 210 - memory; 220 - processor. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0040] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0042] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0043] ROHC (Robust Header Compression) is an efficient IP packet header compression technology designed specifically for wireless links, especially for satellite communication systems. Given that satellite communications usually involve high propagation delays and large bandwidth consumption, ROHC optimizes transmission efficiency by reducing the size of IP packet headers, thereby effectively reducing network burden and energy consumption.

[0044] The ROHC protocol supports up to 16,384 CIDs (Context Identifiers), and each CID corresponds to a compression / decompression stream. The satellite gateway station supports multiple satellite stations (for example, 10,000 satellite stations), and each satellite station may have 16,384 compression / decompression streams. These compressed streams are finally gathered at the satellite gateway station, so the pressure on the computing power (CPU / memory) of the satellite gateway station is huge, and the configuration of the ROHC compression stream also brings great challenges to operation and maintenance.

[0045] In the current product implementation, each compressed stream requires about 280 bytes of memory space. Each decompressed stream requires about 430 bytes of memory space. For a satellite station and a satellite gateway station, according to the ROHC protocol:

[0046] like Figure 1 As shown in the figure, the path for sending signals from the satellite station to the satellite gateway station is the uplink, and the path for sending signals from the satellite gateway station to the satellite station is the downlink. Among them, the uplink supports 16384 ROHC data streams, so the memory space required for the satellite station to compress ROHC is about 280x16384 / 1024 / 1024 = 4.4MB; the memory space required for the satellite gateway station to decompress ROHC data is about 430x16384 / 1024 / 1024 = 6.6MB.

[0047] The downlink supports 16384 ROHC data streams. The memory space required by the satellite gateway station to compress ROHC is about 280x16384 / 1024 / 1024 = 4.4MB; the memory space required by the satellite station to decompress ROHC data is about 430x16384 / 1024 / 1024 = 6.6MB.

[0048] From the above introduction, we can know that the satellite gateway station supports one satellite station, and for each satellite station, it supports 16,384 data streams in the uplink and downlink, so the memory required by the satellite gateway station is about 6.6 + 4.4 = 11MB. According to this specification, if the satellite gateway station supports 10,000 satellite stations, the memory consumed to support ROHC is about 11MB x 10,000 = 110GB.

[0049] In order to support the ROHC data streams of multiple satellite stations, the satellite master station will consume huge memory space and computing power. The current processing strategy is to limit the number of ROHC data streams supported by each satellite, thereby reducing the consumption of satellite master station resources.

[0050] In order to limit the memory usage of satellite gateway stations, the current processing method is to design ROHC compression rules to limit that only IP data that meets expectations can be compressed by ROHC, otherwise it will not be compressed by ROHC. For example, if you often download files from a certain FTP server, the data stream related to the download of this FTP server is compressed by ROHC in accordance with the user's expectations. For another example, if a user needs to frequently upload videos or images to a certain server, the data stream related to the upload of this server is compressed by ROHC in accordance with the user's expectations. For another example, if a user occasionally pings a certain www server on the Internet, it is not so important whether this ping packet is compressed by ROHC. Otherwise, it is necessary to create a ROHC Context to maintain the compressed / decompressed data stream. Here, users can set ROHC compression rules for frequently used IP links with large amounts of transmitted data according to their own usage habits.

[0051] Usually, a satellite gateway manages a large number of satellite stations. If the ROHC compression rules are established, synchronized, and managed in advance for each satellite station at the satellite gateway, it will undoubtedly be very difficult to maintain and manage, greatly increasing the system's software and hardware costs and the complexity of system maintenance.

[0052] In this regard, in order to reduce the maintenance complexity of the satellite communication system, an embodiment of the present invention provides a data compression method applied to a satellite gateway station, which will be described in detail below.

[0053] Please refer to Figure 2, the data compression method includes steps S101~S102.

[0054] S101, receiving a ROHC data stream sent by a satellite station, and obtaining IP data information from the ROHC data stream.

[0055] The satellite station compresses the second IP data using a preset uplink ROHC compression rule to obtain a ROHC data stream sent to the satellite gateway station. The second IP data refers to the IP data sent from the satellite station to the satellite gateway station.

[0056] In an embodiment of the present invention, a user may pre-configure one or more uplink ROHC compression rules on a satellite station according to actual needs. The uplink ROHC compression rule may be expressed as a five-tuple {source port, source IP, protocol type, destination port, destination IP}, and the protocol type may be TCP (Transmission Control Protocol), UDP (User Datagram Protocol), IP (Internet Protocol), etc.

[0057] It can be understood that the preset uplink ROHC compression rule is used to compress the IP data matching the uplink ROHC compression rule and to be sent from the satellite base station to the satellite gateway station.

[0058] The preset uplink ROHC compression rules can also be wildcarded. For example, the source port in the preset uplink ROHC compression rules is configured to 0, indicating that the IP data of any source port can be compressed. For example, the source port, source IP, destination port and destination IP in the preset uplink ROHC compression rules are set to 0, indicating that the IP data of any source port, source IP, destination port and destination IP can be compressed.

[0059] The preset uplink ROHC compression rules can be configured by the user, or the satellite station can automatically generate the preset uplink ROHC compression rules based on the cumulative data volume on a certain quintuple, or the data volume on a certain quintuple within a specific time period, that is, the preset uplink ROHC compression rules are obtained based on the quintuple with the largest cumulative data volume or the largest data volume within a specific time period.

[0060] The IP data information refers to the relevant information of the second IP data sent from the satellite station to the satellite gateway station and compressed, including the data protocol type, data source address information and data destination address information.

[0061] In a possible implementation, the implementation process of step S101 may be as follows:

[0062] S101-1, decompress the ROHC data stream to obtain second IP data.

[0063] The satellite gateway station identifies the CID of the ROHC data stream, determines the corresponding decompression rule, decompresses the ROHC data stream according to the determined decompression rule, and obtains the original second IP data.

[0064] S101 - 2 , parse the second IP data to obtain data protocol type, data source address information, and data destination address information.

[0065] The satellite gateway station obtains the data protocol type, data source address information and data destination address information of the second IP data from the header information of the second IP data.

[0066] The data protocol type may be TCP, UDP or IP, the data source address information includes the data source port and the data source IP, and the data destination address information includes the data destination port and the data destination IP.

[0067] S102: Generate a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule.

[0068] It can be understood that the first IP data is IP data sent from the satellite gateway station to the satellite base station.

[0069] In a possible implementation, the implementation process of step S102 may be as follows:

[0070] S102-1, using the satellite station ID, data protocol type, data source address information and data destination address information, generate an initial ROHC compression rule according to a preset compression rule template.

[0071] The preset compression rule template is a six-tuple, namely {satellite station ID, source port, source IP, protocol type, destination port, destination IP}.

[0072] The satellite station ID, data source port, data source IP, data protocol type, data destination port and data destination IP are written into the corresponding positions of the preset compression rule template to obtain the initial ROHC compression rule.

[0073] S102-2, exchange the data source address information and the data destination address information in the initial ROHC compression rule to obtain the downlink ROHC compression rule.

[0074] It can be understood that the source port and the destination port in the initial ROHC compression rule are exchanged, and the source IP and the destination IP are exchanged. After the above processing, the initial ROHC compression rule is the downlink ROHC compression rule.

[0075] Please refer to Figure 3 , the data compression method also includes steps S103~S104.

[0076] S103, querying the downlink ROHC compression rule in the ROHC compression rule chain.

[0077] The satellite gateway stores a ROHC compression rule chain, which includes downlink ROHC compression rules for different satellite stations. When sending IP data to any satellite station, the satellite gateway queries the downlink ROHC compression rule for the satellite station from the ROHC compression rule chain.

[0078] When the satellite gateway receives a data stream sent by any satellite station, if the received data stream is a ROHC data stream, the satellite gateway will execute the above steps S101-S102 to generate a downlink ROHC compression rule.

[0079] Since this satellite station may not be sending a ROHC data stream to a satellite gateway station for the first time, for the newly generated downlink ROHC compression rule for the satellite station, it is necessary to determine whether a downlink ROHC compression rule for the satellite station has been added to the ROHC compression rule chain and the rule content is consistent with the newly generated downlink ROHC compression rule.

[0080] S104, if the downlink ROHC compression rule is not found in the ROHC compression rule chain, the downlink ROHC compression rule is added to the ROHC compression rule chain, so that when sending IP data to the satellite station, the downlink ROHC compression rule is queried from the ROHC compression rule chain to compress the IP data sent to the satellite station.

[0081] It can be understood that for any satellite station, if the ROHC compression rule chain already has a downlink ROHC compression rule for the satellite station and its rule content is consistent with the newly generated downlink ROHC compression rule, there is no need to add the newly generated downlink ROHC compression rule to the ROHC compression rule chain.

[0082] If there is no downlink ROHC compression rule for the satellite station in the ROHC compression rule chain or the rule content of the downlink ROHC compression rule for the satellite station in the ROHC compression rule chain is inconsistent with the newly generated downlink ROHC compression rule, the newly generated downlink ROHC compression rule needs to be added to the ROHC compression rule chain.

[0083] During operation, the satellite gateway station continuously generates corresponding downlink ROHC compression rules based on the ROHC data streams sent by each satellite station and adds them to the ROHC compression rule chain. These downlink ROHC compression rules will accumulate more and more, occupying a large amount of memory and CPU computing power of the satellite gateway station.

[0084] In this regard, the data compression method provided in the embodiment of the present invention further includes a step of clearing the ROHC compression rule chain, and there are two situations in the implementation process:

[0085] In case 1, if the satellite station is disconnected from the network, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

[0086] When any satellite station is decommissioned, the satellite gateway station will delete the downlink ROHC compression rule corresponding to the satellite station from the ROHC compression rule chain.

[0087] Scenario 2: When it is monitored that the usage of its own resources meets the preset conditions, the timestamp of each downlink ROHC compression rule in the ROHC compression rule chain is obtained; for each downlink ROHC compression rule in the ROHC compression rule chain, if the interval between the timestamp of the downlink ROHC compression rule and the current moment exceeds the preset time length, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

[0088] Among them, the resource usage of the satellite gateway station meets the preset conditions, which means that the memory or CPU usage of the satellite gateway station reaches a preset high water mark, that is, the satellite gateway station has insufficient memory or insufficient CPU computing power.

[0089] The timestamp of the downlink ROHC compression rule indicates the time when the downlink ROHC compression rule was used for the last time.

[0090] The satellite gateway records the timestamp of when each downlink ROHC compression rule in the ROHC compression rule chain was last matched and used.

[0091] For any downlink ROHC compression rule, if the interval between the timestamp of the last match and use of this downlink ROHC compression rule and the current time is long, it means that the downlink ROHC compression rule has not been used for a period of time, and the related downlink may no longer exist. At this time, the downlink ROHC compression rule can be deleted from the ROHC compression rule chain.

[0092] In an embodiment of the present invention, the above data compression method can also be applied to a satellite station, that is, the ROHC downlink compression rules are pre-configured on the satellite gateway station, the satellite station decompresses the ROHC data stream sent to the satellite gateway station, obtains IP data information, and generates the uplink ROHC compression rules based on the obtained IP data information.

[0093] The above data compression method can also be applied to the satellite gateway station and the satellite small station at the same time, that is, pre-configure some uplink ROHC compression rules on the satellite small station, and pre-configure some downlink ROHC compression rules on the satellite gateway station. The satellite small station decompresses the ROHC data stream sent by the satellite gateway station, obtains IP data information, and generates the uplink ROHC compression rules according to the obtained IP data information. Similarly, the satellite gateway station decompresses the ROHC data stream sent by the satellite small station, obtains IP data information, and generates the downlink ROHC compression rules according to the obtained IP data information.

[0094] In order to execute the corresponding steps in the above method embodiment and various possible implementations, an implementation of the data compression device 100 is provided below.

[0095] Please refer to Figure 4 The data compression device 100 includes a receiving module 101, a generating module 102 and a processing module 103.

[0096] The receiving module 101 is used to receive the ROHC data stream sent by the satellite station and obtain IP data information from the ROHC data stream.

[0097] The generating module 102 is used to generate a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule.

[0098] The receiving module 101 is specifically used to decompress the ROHC data stream to obtain the second IP data; parse the second IP data to obtain the data protocol type, data source address information and data destination address information, wherein the IP data information includes the data protocol type, data source address information and data destination address information.

[0099] The generation module 102 is specifically used to generate an initial ROHC compression rule according to a preset compression rule template using the satellite station ID, data protocol type, data source address information and data destination address information; and to exchange the data source address information and data destination address information in the initial ROHC compression rule to obtain a downlink ROHC compression rule.

[0100] The satellite gateway station stores a ROHC compression rule chain, which includes downlink ROHC compression rules for different satellite stations. The processing module 103 is used to query the downlink ROHC compression rule in the ROHC compression rule chain; if the downlink ROHC compression rule is not found in the ROHC compression rule chain, the downlink ROHC compression rule is added to the ROHC compression rule chain, so that when sending IP data to the satellite station, the downlink ROHC compression rule is queried from the ROHC compression rule chain, and the IP data sent to the satellite station is compressed.

[0101] The processing module 103 is further configured to delete the downlink ROHC compression rule from the ROHC compression rule chain if the satellite station is disconnected from the network.

[0102] The processing module 103 is also used to obtain the timestamp of the downlink ROHC compression rule when it is monitored that the resource usage of the satellite gateway station meets the preset conditions, and the timestamp represents the time when the downlink ROHC compression rule was last used; if the interval between the timestamp and the current time exceeds the preset time length, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the data compression device 100 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0104] Furthermore, the embodiment of the present invention also provides a satellite gateway station 200, please refer to Figure 5 The satellite gateway station 200 may include a memory 210 and a processor 220.

[0105] Among them, the processor 220 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of a program of a data compression method provided by the above method embodiment.

[0106] The memory 210 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 210 may exist independently and be connected to the processor 220 via a communication bus. The memory 210 may also be integrated with the processor 220. Among them, the memory 210 is used to store machine executable instructions for executing the scheme of the present application. The processor 220 is used to execute the machine executable instructions stored in the memory 210 to implement the above-mentioned method embodiment.

[0107] An embodiment of the present invention further provides a computer-readable storage medium containing a computer program. When the computer program is executed, it can be used to perform relevant operations in a data compression method provided by the above method embodiment.

[0108] The above are only various embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A data compression method, characterized in that: Applied to a satellite gateway station, the satellite gateway station is communicatively connected with a satellite small station, and the method comprises: Receiving the ROHC data stream sent by the satellite station, and obtaining IP data information from the ROHC data stream; Generate a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule; The step of obtaining IP data information from the ROHC data stream comprises: Decompressing the ROHC data stream to obtain second IP data; Parsing the second IP data to obtain a data protocol type, data source address information, and data destination address information, wherein the IP data information includes the data protocol type, the data source address information, and the data destination address information; The step of generating a downlink ROHC compression rule for the satellite station according to the IP data information comprises: Generate an initial ROHC compression rule according to a preset compression rule template using the satellite station ID, the data protocol type, the data source address information and the data destination address information; The data source address information and the data destination address information in the initial ROHC compression rule are exchanged to obtain the downlink ROHC compression rule.

2. The data compression method according to claim 1, characterized in that: The satellite gateway station stores a ROHC compression rule chain, wherein the ROHC compression rule chain includes downlink ROHC compression rules for different satellite stations. The method further includes: querying the downlink ROHC compression rule in the ROHC compression rule chain; If the downlink ROHC compression rule is not found in the ROHC compression rule chain, the downlink ROHC compression rule is added to the ROHC compression rule chain, so that when sending IP data to the satellite station, the downlink ROHC compression rule is queried from the ROHC compression rule chain to compress the IP data sent to the satellite station.

3. The data compression method according to claim 2, characterized in that: The method further comprises the step of cleaning the ROHC compression rule chain, which comprises: If the satellite station is disconnected from the network, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

4. The data compression method according to claim 3, characterized in that: The step of clearing the ROHC compression rule chain also includes: When monitoring that the resource usage of the device satisfies a preset condition, obtaining a timestamp of the downlink ROHC compression rule, where the timestamp indicates the time when the downlink ROHC compression rule was last used; If the interval between the timestamp and the current time exceeds a preset time length, the downlink ROHC compression rule is deleted from the ROHC compression rule chain.

5. A data compression device, characterized in that: Applied to a satellite gateway station, the satellite gateway station is communicatively connected with a satellite station, and the device comprises: A receiving module, used for receiving the ROHC data stream sent by the satellite station, and obtaining IP data information from the ROHC data stream; A generating module, used for generating a downlink ROHC compression rule for the satellite station according to the IP data information, so as to compress the first IP data to be sent to the satellite station based on the downlink ROHC compression rule; The receiving module is specifically used to decompress the ROHC data stream to obtain the second IP data; parse the second IP data to obtain the data protocol type, data source address information and data destination address information, wherein the IP data information includes the data protocol type, the data source address information and the data destination address information; The generation module is specifically used to generate an initial ROHC compression rule according to a preset compression rule template using the satellite station ID, the data protocol type, the data source address information and the data destination address information; and to exchange the data source address information and the data destination address information in the initial ROHC compression rule to obtain the downlink ROHC compression rule.

6. A satellite gateway station, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the data compression method according to any one of claims 1 to 4 is implemented.

7. A satellite communication system, characterized in that: It comprises a satellite station and a satellite gateway station as claimed in claim 6.

8. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the data compression method according to any one of claims 1 to 4.