CN111917451B - Data transmission method and device, satellite module and storage medium - Google Patents

Data transmission method and device, satellite module and storage medium Download PDF

Info

Publication number
CN111917451B
CN111917451B CN202010664381.9A CN202010664381A CN111917451B CN 111917451 B CN111917451 B CN 111917451B CN 202010664381 A CN202010664381 A CN 202010664381A CN 111917451 B CN111917451 B CN 111917451B
Authority
CN
China
Prior art keywords
fault
data
transmitted
module
communication link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010664381.9A
Other languages
Chinese (zh)
Other versions
CN111917451A (en
Inventor
姜斌
刘斌彬
李加胜
朱国鑫
刘解华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huali Zhixin Chengdu Integrated Circuit Co ltd
Original Assignee
Huali Zhixin Chengdu Integrated Circuit Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huali Zhixin Chengdu Integrated Circuit Co ltd filed Critical Huali Zhixin Chengdu Integrated Circuit Co ltd
Priority to CN202010664381.9A priority Critical patent/CN111917451B/en
Publication of CN111917451A publication Critical patent/CN111917451A/en
Application granted granted Critical
Publication of CN111917451B publication Critical patent/CN111917451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radio Relay Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data transmission method, a data transmission device, a satellite module and a storage medium, wherein the method comprises the following steps: acquiring effective signals in satellite beams; performing network access resident processing and activation processing according to effective signals in the satellite beams; acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server; establishing a communication link with a destination server according to the communication request information; acquiring data to be transmitted sent by a client; and sending the data to be transmitted to the destination server according to a preset control instruction set and the established communication link. The satellite communication is realized through a preset control instruction set, wherein the control instruction set can be set according to actual requirements, the universality of the data transmission method is improved, the data to be transmitted are transmitted based on a local serial port, the operation process is simpler, and the data transmission efficiency is improved.

Description

Data transmission method and device, satellite module and storage medium
Technical Field
The invention relates to the field of satellite communication, in particular to a data transmission method, a data transmission device, a satellite module and a storage medium.
Background
Currently, the base station communication technology does not reach the degree that wireless signals cover each area, so that wireless communication cannot be performed based on the base station for some unattended communication equipment in special environments such as desert, forest or ocean, and at the moment, the satellite communication technology is taken as an important means for performing communication.
In the prior art, a communication link is established with a receiving server based on an AP communication technology and a baseband, so as to perform data transmission.
However, establishing a communication link with a receiving server based on the AP communication technology and the baseband requires a series of complex programs such as a serial multiplexing protocol, and the operation flow is complicated, and manual operation is required, which cannot be adapted to unattended communication equipment. Therefore, a data transmission method capable of simplifying the operation process is urgently needed, and has an important significance for improving the efficiency of data transmission.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect of low data transmission efficiency of the data transmission method in the prior art, so as to provide a data transmission method, an apparatus, a satellite module and a storage medium.
A first aspect of the present application provides a data transmission method, which is applied to a satellite module, and includes:
acquiring effective signals in satellite beams;
performing network access resident processing and activation processing according to the effective signals in the satellite beams;
acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server;
establishing a communication link with the destination server according to the communication request information;
acquiring data to be transmitted sent by the client;
and sending the data to be transmitted to the target server according to a preset control instruction set and the established communication link.
Optionally, the sending the data to be transmitted to the destination server according to a preset control instruction set and an established communication link includes:
carrying out security detection on the data to be transmitted, and caching the data to be transmitted which passes the security detection in sequence;
according to the caching sequence of the data to be transmitted, sequentially sending the data to be transmitted to a target server;
and performing packet loss retransmission processing on the data to be transmitted according to a protocol layer of the air interface link.
Optionally, before acquiring the data to be transmitted sent by the client, the method further includes:
judging whether the communication link is established successfully or not;
and when the communication link is successfully established, executing the step of acquiring the data to be transmitted sent by the client.
Optionally, the method further includes:
upon determining that the communication link is not successfully established, performing a fault detection.
Optionally, the performing fault detection includes:
acquiring fault detection data, wherein the fault detection data comprises a fault type and a fault occurrence reason;
judging whether the fault is a recoverable fault or not according to the fault type;
and when the fault is determined to be a recoverable fault, carrying out fault repair according to the reason of the fault, and returning to the step of acquiring the effective signals in the satellite beams.
Optionally, the method further includes:
and when the fault is determined to be an unrecoverable fault, performing offline processing and generating fault information.
Optionally, the method further includes:
and sending a heartbeat signal to a destination server according to the control instruction set and a preset period so as to keep the communication link in a connected state.
A second aspect of the present application provides a data transmission device, which is applied to a satellite module, and includes: the device comprises a first acquisition module, an activation module, a second acquisition module, a connection module, a third acquisition module and a transmission module;
the first acquisition module is used for acquiring effective signals in satellite beams;
the activation module is used for performing network access resident processing and activation processing according to the effective signals in the satellite beams;
the second obtaining module is configured to obtain communication request information sent by a client, where the communication request information includes an IP address and a port number of a destination server;
the connection module is used for establishing a communication link with the destination server according to the communication request information;
the third obtaining module is configured to obtain data to be transmitted, where the data is sent by the client;
and the transmission module is used for sending the data to be transmitted to the destination server according to a preset control instruction set and the communication link.
Optionally, the transmission module is specifically configured to: carrying out security detection on the data to be transmitted, and caching the data to be transmitted which passes the security detection in sequence;
according to the caching sequence of the data to be transmitted, sequentially sending the data to be transmitted to a target server;
and performing packet loss retransmission processing on the data to be transmitted according to a protocol layer of the air interface link.
Optionally, the connection module is further configured to:
judging whether the communication link is established successfully or not;
and when the communication link is successfully established, executing the step of acquiring the data to be transmitted sent by the client.
Optionally, the connection module is further configured to: and when the communication link is determined to be not established successfully, carrying out fault detection.
Optionally, the connection module is further configured to: acquiring fault detection data, wherein the fault detection data comprises a fault type and a fault occurrence reason;
judging whether the fault is a recoverable fault or not according to the fault type;
and when the fault is determined to be a recoverable fault, carrying out fault repair according to the reason of the fault, and returning to the step of acquiring the effective signals in the satellite beams.
Optionally, the connection module is further configured to: and when the fault is determined to be an unrecoverable fault, performing offline processing and generating fault information.
Optionally, the transmission module is further configured to: and sending a heartbeat signal to a destination server according to the control instruction set and a preset period so as to keep the communication link in a connected state.
A third aspect of the present application provides a satellite module comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the method as set forth in the first aspect above and in various possible designs of the first aspect.
A fourth aspect of the present application provides a storage medium containing computer-executable instructions for performing a method as set forth in the first aspect above and in various possible designs of the first aspect when executed by a computer processor.
This application technical scheme has following advantage:
according to the data transmission method, the data transmission device, the satellite module and the storage medium, effective signals in satellite beams are obtained; performing network access resident processing and activation processing according to effective signals in the satellite beams; acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server; establishing a communication link with a destination server according to the communication request information; acquiring data to be transmitted sent by a client; and sending the data to be transmitted to the destination server according to a preset control instruction set and the established communication link. According to the data transmission method provided by the scheme, satellite communication is achieved through the preset control instruction set, wherein the control instruction set can be set according to actual requirements, universality of the data transmission method is improved, the data to be transmitted are transmitted based on the local serial port, the operation process is simple, and the data transmission efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 6 is a schematic overall flow chart of an exemplary data transmission method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a satellite module according to an embodiment of the present application.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, a communication link is established with a receiving server based on an AP communication technology and a baseband, so as to perform data transmission. However, establishing a communication link with a receiving server based on the AP communication technology and the baseband requires a series of complex programs such as a serial multiplexing protocol, and the operation flow is complicated, and manual operation is required, which cannot be adapted to unattended communication equipment.
In order to solve the above problems, in the data transmission method, the data transmission device, the satellite module, and the storage medium provided in the embodiments of the present application, effective signals in a satellite beam are obtained; performing network access resident processing and activation processing according to effective signals in the satellite beams; acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server; establishing a communication link with a target server according to the communication request information; acquiring data to be transmitted sent by a client; and sending the data to be transmitted to the destination server according to a preset control instruction set and the established communication link. According to the data transmission method provided by the scheme, satellite communication is achieved through the preset control instruction set, wherein the control instruction set can be set according to actual requirements, universality of the data transmission method is improved, the data to be transmitted are transmitted based on the local serial port, the operation process is simple, and the data transmission efficiency is improved.
The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
First, a structure of a data transmission system based on the present application will be explained:
the data transmission method, the data transmission device, the satellite module and the storage medium are suitable for the satellite module and achieve data transmission between the client and the server. Fig. 1 is a schematic structural diagram of a data transmission system based on the embodiment of the present application, and mainly includes a satellite module, a client, and a destination server. Specifically, the satellite module establishes a communication link with a target server according to communication request information after receiving the communication request information sent by the client, receives data to be transmitted sent by the client after the communication link is successfully established, and sends the data to be transmitted to the target server based on the control instruction set and the established communication link.
The embodiment of the application provides a data transmission method, which is applied to a satellite module and used for solving the technical problem that the data transmission efficiency of the data transmission method in the prior art is low. The execution main body of the embodiment of the application is a satellite module.
As shown in fig. 2, a schematic flow chart of a data transmission method provided in an embodiment of the present application is shown, where the method includes:
step 201, obtaining effective signals in satellite beams.
Specifically, after the satellite module is powered on, and when it is determined that the SIM card and other software and hardware devices are normal, currently available satellite beams are searched. The satellite beam includes an effective signal, and the effective signal refers to an available satellite signal carried by the satellite beam.
Step 202, performing network access residence processing and activation processing according to the effective signals in the satellite beams.
It should be explained that the activation process is performed after the completion of the network entry residence process.
Illustratively, according to the power of effective signals in satellite beams, the beams are sorted, the beam corresponding to the effective signal with the highest power is screened out, the broadcast information carried by the beam is received, and cells in the broadcast information are sequentially solved, so that important information of network access is obtained, and network access resident processing is performed. After the network access resident processing is finished, the downlink signal carrier-to-noise ratio of each wave beam is calculated according to the absolute power, the background noise value and other related data of the effective signals in each wave beam, each wave beam is sequenced according to the downlink signal carrier-to-noise ratio, the wave beam which is most suitable for transmitting the packet domain service is determined according to the sequencing result, and the activation processing is carried out on the basis of the wave beam. When the beam cannot successfully complete the activation processing or cannot perform the packet domain service for a long time, the beam used for the activation processing is reselected and the activation processing is performed again.
Step 203, obtaining communication request information sent by the client, where the communication request information includes an IP address and a port number of the destination server.
It should be explained that, before data transmission, the client sends a communication request message to the satellite module to prompt the satellite module to establish a communication link with the destination server.
And step 204, establishing a communication link with the destination server according to the communication request information.
Specifically, after the satellite module performs the network access residence processing and the activation processing, the communication link connection layer of the satellite module is ready, and the network transport layer protocol starts to try to establish a communication link with the target server according to the received communication request information.
It should be explained that, the satellite module provided in the embodiment of the present application integrates the functions of the AP processor into the CP processor, so that the satellite module does not need the AP processor, peripheral circuits, supporting devices, and the like, and has the advantages of small size, high integration level, and the like.
Illustratively, the step of establishing a communication link with the target server may include: and establishing handshake connection between the socket client of the network side opposite end and the target server, and performing instantiation processing on a transmission protocol of a TCP/IP network layer of the self. Establishing TCP/IP connection according to the obtained information such as the destination IP address, the port number and the like of the network layer opposite end of the client, searching the destination address in the network through the address information, trying to carry out socket connection communication with the destination address, and determining that the complete communication link is connected after socket connection is completed and handshake is successful.
Step 205, acquiring data to be transmitted sent by the client.
Specifically, after the communication link is successfully established, the data to be transmitted sent by the client is acquired based on the local serial port, wherein the data to be transmitted is transmitted in a data code stream mode.
Step 206, sending the data to be transmitted to the destination server according to the preset control instruction set and the established communication link.
It should be explained that the preset control instruction set is a self-defined AT instruction, and a Point-To-Point protocol (PPP) link with the destination server and a serial data channel are implemented based on the self-defined AT instruction. The user-defined AT instruction (namely a preset control instruction set) can be set according to actual conditions, so that the data transmission method provided by the embodiment of the application is suitable for various application scenes, and the universality of the data transmission method is improved.
On the basis of the above embodiment, the satellite module provided in the embodiment of the present application is used for receiving data to be transmitted sent by a client, and then sending the received data to be transmitted to a destination server, that is, the satellite module forwards the data to be transmitted. Therefore, the situation of data packet loss is inevitable, and the safety and reliability of data transmission are not guaranteed.
In order to solve the foregoing problems, fig. 3 is a schematic flow chart of another data transmission method provided in this embodiment of the present application, and as an implementable manner, on the basis of the foregoing embodiment, in an embodiment, sending data to be transmitted to a destination server according to a preset control instruction set and an established communication link includes:
step 2061, performing security detection on data to be transmitted, and caching the data to be transmitted which pass the security detection in sequence;
step 2062, sequentially sending the data to be transmitted to the destination server according to the cache sequence of the data to be transmitted;
step 2063, performing packet loss retransmission processing on the data to be transmitted according to the protocol layer of the air interface link.
It should be explained that, because the data transmission method provided in the embodiment of the present application sends the data to be transmitted to the destination server based on the air interface link protocol, and the transmission rate of the data is limited, in order to avoid that the data to be transmitted exceeds the maximum limit of the transmission rate, so as to improve the security of data transmission, before data transmission is performed, the data to be transmitted is buffered, and then the buffered data are sequentially sent to the destination server.
After receiving the data to be transmitted, the destination server sends a feedback signal with the identifier of the data to be transmitted to the satellite module to prompt the satellite module that the data to be transmitted is successfully received. And for the data to be transmitted which has not received the corresponding feedback signal all the time, performing packet loss retransmission processing on the data to be transmitted, namely, re-sending the data to the target server until the corresponding feedback signal is received. The data transmission method avoids the situation of data packet loss and improves the reliability of the data transmission method.
Exemplarily, after data to be transmitted sent by a client is received, security detection is performed on the data to be transmitted first, wherein the security detection is mainly used for detecting whether malicious character strings exist in the data to be transmitted, that is, the data transmission system provided by the embodiment of the present application is prevented from being attacked maliciously, so that the security of the data transmission system is improved. After the data to be transmitted is determined to pass the security detection, namely malicious character strings which can cause potential safety hazards to a data transmission system do not exist in the data to be transmitted, caching the data to be transmitted, and sequentially sending the data to be transmitted to a target server according to the caching sequence of the data to be transmitted.
On the basis of the foregoing embodiment, in order to further improve the security and reliability of the data transmission method, as an implementable manner, on the basis of the foregoing embodiment, in an embodiment, before acquiring data to be transmitted sent by a client, the method further includes:
step 401, determine whether the communication link is established successfully.
When the communication link is determined to be successfully established, the step of acquiring the data to be transmitted sent by the client is executed (step 205).
For example, after the communication link is established with the destination server, a test signal is sent to the destination server according to a preset period, and if a feedback signal fed back by the destination server is received, it is determined that the communication link is established successfully, that is, the communication link is in a connected state.
The interruption of the communication link is usually embodied in abnormal connection or interruption of the network layer or the air interface data transmission layer, that is, detecting whether the abnormal connection or the interruption occurs in the network layer or the air interface data transmission layer is equivalent to detecting whether the interruption occurs in the communication link. Therefore, in order to ensure the security of data transmission, the current state of the network layer or the air interface data transmission layer needs to be detected in real time. Since the duty cycle of the network layer is smaller than the duty cycle of the air interface data transmission layer, when the connection state of the detection link is detected according to the preset time interval, the preset time interval can be set according to the duty cycle of the network layer.
Correspondingly, the method further comprises the following steps:
step 402, when it is determined that the communication link is not successfully established, performing fault detection.
It should be explained that there are various failure factors that may cause a communication link to be unsuccessfully established, and therefore, if a failure is determined to occur, it is necessary to perform failure detection on the failure to determine the type of the failure, the cause of the failure, and the like, so that a relevant operator can select a targeted failure recovery scheme according to the failure detection result.
Specifically, in an embodiment, in order to improve the accuracy of the fault detection result provided in the embodiment of the present application to help a relevant operator to select a targeted fault repairing scheme, as shown in fig. 5, a schematic flow chart of another data transmission method provided in the embodiment of the present application is provided, as an implementable manner, on the basis of the above embodiment, the fault detection specifically includes:
step 4021, acquiring fault detection data;
the fault detection data comprises a fault type and a fault occurrence reason;
step 4022, judging whether the fault is a recoverable fault according to the fault type;
step 4023, when the fault is determined to be a recoverable fault, performing fault recovery according to the cause of the fault, and returning to the step of acquiring the effective signal in the satellite beam (step 201).
It should be noted that the recoverable fault mainly refers to communication link interruption, communication link connection failure, and the like, and the recoverable fault refers to a fault that can be repaired by reestablishing the communication link.
The fault types mainly include SIM card arrearage, network fault, signal abnormality, no idle wave beam resources, communication link interruption, communication link connection failure and the like.
For example, for a fault with a fault type of interruption of the communication link, the fault may occur because the communication link is in an idle state for a long time, which results in automatic disconnection of the communication link, and at this time, the satellite module may automatically reconnect the communication link to implement fault repair. For a fault of which the fault type is a communication link connection failure, the communication request information sent by the client, which can be acquired due to the fault, is abnormal, for example, a destination server cannot be determined according to the communication request information, or the satellite module fails to be activated, and the like, at this time, the satellite module can automatically reactivate the satellite module, or the communication request information sent by the client is acquired again, so as to realize fault repair.
Correspondingly, the method further comprises the following steps:
step 4024, if the failure is determined to be unrecoverable, performing offline processing and generating failure information.
The unrecoverable faults mainly include SIM card arrearage, network faults, signal abnormalities, no idle beam resources and the like.
Specifically, after determining that the occurred fault is an unrecoverable fault, in order to avoid that the client continues to send the data to be transmitted to the satellite module under the fault condition, offline processing is performed on the satellite module, for example, the client is rejected from receiving the data to be transmitted sent by the client. And meanwhile, fault information is generated and reported out to prompt the client and related operators that the satellite module has an unrecoverable fault.
On the basis of the above embodiment, when the communication link is in the idle state during the production time, the destination server releases the communication link, that is, the communication link is automatically disconnected, in order to ensure that the physical frequency band resources are not wasted for a long time. When new data to be transmitted needs to be transmitted based on the communication link, the communication link needs to be reconnected, that is, the connection between the network layer and the data transmission layer is reestablished, but the establishment of the connection needs a long time, which is not beneficial to ensuring the real-time performance of data transmission.
In order to solve the above problem, in an embodiment, a heartbeat signal may be sent to the destination server according to a preset period according to the control instruction set, so as to maintain the communication link in a connected state.
Illustratively, when it is determined that there is no data to be transmitted that needs to be transmitted, a heartbeat signal is sent to the destination server according to a preset period according to the control instruction set. In order to reduce the power consumption of the data transmission system, the preset period for sending the heartbeat signal may be slightly less than the limit value of the idle time of the communication link. For example, if the communication link is automatically disconnected when the communication link is in the idle state for 30 minutes, the preset period for sending the heartbeat signal may be set to 25 minutes.
When the heartbeat signal is sent, the satellite module can be in a dormant state, the dormant bottom current is 20mA, and the satellite module is automatically awakened when service is needed, so that the power consumption of the data transmission system is further reduced.
Exemplarily, as shown in fig. 6, an overall flow diagram of an exemplary data transmission method provided in the embodiment of the present application is shown. The exemplary data transmission method shown in fig. 6 is a specific implementation of the data transmission method shown in fig. 1, and is the same as the implementation and principle provided in the foregoing embodiment, and is not described again.
According to the data transmission method provided by the embodiment of the application, effective signals in satellite beams are obtained; performing network access resident processing and activation processing according to effective signals in the satellite beams; acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server; establishing a communication link with a target server according to the communication request information; acquiring data to be transmitted sent by a client; and sending the data to be transmitted to the destination server according to a preset control instruction set and the established communication link. According to the data transmission method provided by the scheme, satellite communication is achieved through the preset control instruction set, the control instruction set can be set according to actual requirements, universality of the data transmission method is improved, the data to be transmitted are transmitted based on the local serial port, the operation process is simple, and data transmission efficiency is improved.
The embodiment of the application provides a data transmission device, which is used for solving the technical problem that the data transmission efficiency of a data transmission method in the prior art is low. As shown in fig. 7, which is a schematic structural diagram of a data transmission device provided in an embodiment of the present application, the device 70 includes: a first obtaining module 701, an activating module 702, a second obtaining module 703, a connecting module 704, a third obtaining module 705 and a transmitting module 706.
The first obtaining module 701 is configured to obtain an effective signal in a satellite beam; an activation module 702, configured to perform network entry residence processing and activation processing according to an effective signal in a satellite beam; a second obtaining module 703, configured to obtain communication request information sent by a client, where the communication request information includes an IP address and a port number of a destination server; a connection module 704, configured to establish a communication link with the destination server according to the communication request information; a third obtaining module 705, configured to obtain data to be transmitted, where the data is sent by a client; and the transmission module 706 is configured to send data to be transmitted to the destination server according to a preset control instruction set and the communication link.
Specifically, in an embodiment, the transmission module 706 is specifically configured to: carrying out security detection on data to be transmitted, and caching the data to be transmitted which passes the security detection in sequence;
sequentially sending the data to be transmitted to a target server according to the caching sequence of the data to be transmitted;
and performing packet loss retransmission processing on the data to be transmitted according to the protocol layer of the air interface link.
Specifically, in an embodiment, the connection module 704 is further configured to:
judging whether the communication link is established successfully;
and when the communication link is successfully established, executing the step of acquiring the data to be transmitted sent by the client.
Specifically, in an embodiment, the connection module 704 is further configured to: upon determining that the communication link was not successfully established, a failure detection is performed.
Specifically, in an embodiment, the connection module 704 is further configured to: acquiring fault detection data, wherein the fault detection data comprises a fault type and a fault occurrence reason;
judging whether the fault is a recoverable fault or not according to the fault type;
and when the fault is determined to be a recoverable fault, repairing the fault according to the cause of the fault, and returning to the step of acquiring the effective signal in the satellite beam.
Specifically, in an embodiment, the connection module 704 is further configured to: and when the fault is determined to be an unrecoverable fault, performing offline processing and generating fault information.
Specifically, in an embodiment, the transmission module 706 is further configured to: and sending a heartbeat signal to the destination server according to a preset period according to the control instruction set so as to keep the communication link in a connected state.
The data transmission device provided in the embodiment of the present application is configured to execute the data transmission method provided in the above embodiment, and an implementation manner and a principle thereof are the same, and are not described again.
The embodiment of the application further provides a satellite module, which is used for executing the data transmission method provided by the embodiment.
Fig. 8 is a schematic structural diagram of a satellite module according to an embodiment of the present disclosure. The satellite module 80 includes: at least one processor 81 and memory 82;
wherein execution of the memory-stored computer-executable instructions by the at least one processor causes the at least one processor to perform the instructions of the method as in any one of the preceding embodiments.
The satellite module provided in the embodiment of the present application is configured to execute the data transmission method provided in the above embodiment, and an implementation manner and a principle thereof are the same and are not described again.
The embodiment of the present application provides a storage medium containing computer executable instructions, where the storage medium stores computer processor execution instructions, and when the processor executes the computer execution instructions, the method provided in any one of the above embodiments is implemented.
The storage medium including the computer-executable instructions of the embodiments of the present application may be used to store the computer-executable instructions of the data transmission method provided in the foregoing embodiments, and the implementation manner and the principle thereof are the same and are not described again.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications derived therefrom are intended to be within the scope of the invention.

Claims (7)

1. A data transmission method is applied to a satellite module, and is characterized by comprising the following steps:
acquiring effective signals in satellite beams;
performing network access resident processing and activation processing according to the effective signals in the satellite beams;
acquiring communication request information sent by a client, wherein the communication request information comprises an IP address and a port number of a destination server;
establishing a communication link with the destination server according to the communication request information;
acquiring data to be transmitted sent by the client;
sending the data to be transmitted to the target server according to a preset control instruction set and the established communication link; wherein the control instruction set is a self-defined AT instruction;
the method further comprises the following steps:
when the communication link is determined to be not successfully established, acquiring fault detection data, wherein the fault detection data comprises a fault type and a fault occurrence reason;
judging whether the fault is a recoverable fault or not according to the fault type;
when the fault is determined to be a recoverable fault, fault repairing is carried out according to the reason of the fault, and the step of obtaining effective signals in the satellite beams is returned;
and when the fault is determined to be an unrecoverable fault, performing offline processing and generating fault information.
2. The data transmission method according to claim 1, wherein the sending the data to be transmitted to the destination server according to a preset control instruction set and an established communication link includes:
carrying out security detection on the data to be transmitted, and caching the data to be transmitted which passes the security detection in sequence;
according to the caching sequence of the data to be transmitted, sequentially sending the data to be transmitted to a target server;
and performing packet loss retransmission processing on the data to be transmitted according to a protocol layer of the air interface link.
3. The data transmission method according to claim 1, wherein before acquiring the data to be transmitted sent by the client, the method further comprises:
judging whether the communication link is established successfully or not;
and when the communication link is successfully established, executing the step of acquiring the data to be transmitted sent by the client.
4. The method of claim 1, further comprising:
and sending a heartbeat signal to a destination server according to the control instruction set and a preset period so as to keep the communication link in a connected state.
5. A data transmission device applied to a satellite module, comprising: the device comprises a first acquisition module, an activation module, a second acquisition module, a connection module, a third acquisition module and a transmission module;
the first acquisition module is used for acquiring effective signals in satellite beams;
the activation module is used for performing network access resident processing and activation processing according to the effective signals in the satellite beams;
the second obtaining module is configured to obtain communication request information sent by a client, where the communication request information includes an IP address and a port number of a destination server;
the connection module is used for establishing a communication link with the destination server according to the communication request information;
the third obtaining module is configured to obtain data to be transmitted, where the data is sent by the client;
the transmission module is used for sending the data to be transmitted to the destination server according to a preset control instruction set and the communication link; the control instruction set is a self-defined AT instruction;
the connection module is further configured to:
when the communication link is determined to be not successfully established, acquiring fault detection data, wherein the fault detection data comprises a fault type and a fault occurrence reason;
judging whether the fault is a recoverable fault or not according to the fault type;
when the fault is determined to be a recoverable fault, fault repairing is carried out according to the reason of the fault, and the step of obtaining effective signals in the satellite beams is returned;
and when the fault is determined to be an unrecoverable fault, performing offline processing and generating fault information.
6. A satellite module, comprising: at least one processor and a memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-4.
7. A storage medium containing computer-executable instructions for performing the method of any one of claims 1-4 when executed by a computer processor.
CN202010664381.9A 2020-07-10 2020-07-10 Data transmission method and device, satellite module and storage medium Active CN111917451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010664381.9A CN111917451B (en) 2020-07-10 2020-07-10 Data transmission method and device, satellite module and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010664381.9A CN111917451B (en) 2020-07-10 2020-07-10 Data transmission method and device, satellite module and storage medium

Publications (2)

Publication Number Publication Date
CN111917451A CN111917451A (en) 2020-11-10
CN111917451B true CN111917451B (en) 2022-09-06

Family

ID=73226365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010664381.9A Active CN111917451B (en) 2020-07-10 2020-07-10 Data transmission method and device, satellite module and storage medium

Country Status (1)

Country Link
CN (1) CN111917451B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687400A (en) * 2021-08-24 2021-11-23 泰斗微电子科技有限公司 Satellite signal acquisition method, device, equipment and storage medium based on user identification card
CN114338510B (en) * 2021-12-09 2023-07-07 北京华云安信息技术有限公司 Data forwarding method and system for controlling and forwarding separation
CN114337788A (en) * 2021-12-31 2022-04-12 浙江时空道宇科技有限公司 Iridium equipment control method, equipment and system
CN114845312B (en) * 2022-04-02 2023-05-16 四川安迪科技实业有限公司 Method for automatically building networking environment based on TDMA satellite network management
CN116112065B (en) * 2023-04-10 2023-06-06 银河航天(北京)网络技术有限公司 File sharing method, system, device and storage medium based on satellite communication

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2632060A1 (en) * 2012-02-24 2013-08-28 Airbus Operations GmbH Cellular system on-board of a vehicle
CN103905579B (en) * 2012-12-28 2018-01-30 中国移动通信集团公司 The communication means of platform and terminal room, communication system, platform and relevant device
CN103973530A (en) * 2014-01-14 2014-08-06 国家电网公司 Catching technology based information interaction bus data reliable-transmission method
EP3462633A1 (en) * 2017-09-28 2019-04-03 Panasonic Intellectual Property Corporation of America Resource allocation for the beam failure recovery procedure
CN111130631B (en) * 2019-12-30 2022-08-02 北京华力创通科技股份有限公司 Wave beam self-adaptive selection method and system of satellite terminal in real network environment
CN111294962B (en) * 2020-02-26 2022-12-20 展讯通信(上海)有限公司 Data transmission method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN111917451A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN111917451B (en) Data transmission method and device, satellite module and storage medium
CN110708696B (en) Network data recovery method and device, storage medium and electronic equipment
CN110691398B (en) Network interaction method, system, equipment and storage medium of intelligent equipment
CN105635116A (en) Reconnection methods, apparatuses and system in case of disconnection
CN105656595A (en) Ingenious type examination room anti-cheating system and realization method thereof
CN112134754A (en) Pressure testing method and device, network equipment and storage medium
CN103139276B (en) Web page and the method and system of graphic user interface client two-way communication
CN109474579B (en) Network reconnection method and device
CN116112536A (en) TCP-serial port communication transparent transmission method and device
CN113438694B (en) Bandwidth switching method, device, equipment and readable storage medium
CN114338464A (en) Fault diagnosis method, device, equipment and computer readable storage medium
CN111918236B (en) Internet of things security sensor network searching method, device, equipment and storage medium
CN114826981A (en) System and method for realizing application resident in cloud mobile phone
CN114422428A (en) Restarting method and apparatus for service node, electronic device and storage medium
CN113572637A (en) Network fault automatic preprocessing method and device
CN112751933B (en) Socket connection-based data transmission method
CN111488235A (en) Terminal fault processing method and system and cloud platform
CN113613302B (en) Network switching method, module, device and readable storage medium
CN110824343A (en) Detection method, device, equipment and medium of communication chip
CN114500237B (en) Communication method and system
CN112540896B (en) Automatic judging and running method for VxWorks program
CN117440410B (en) FTP protocol-based debugging control method and debugging controller
CN114666217B (en) One-key upgrading method and system based on easy mesh
CN110995463B (en) AP self-recovery method and device
CN117176544A (en) Fault processing method and device of network equipment and electronic equipment

Legal Events

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