CN113766455B - Shipborne communication network switching control method and controller - Google Patents

Shipborne communication network switching control method and controller Download PDF

Info

Publication number
CN113766455B
CN113766455B CN202111318086.9A CN202111318086A CN113766455B CN 113766455 B CN113766455 B CN 113766455B CN 202111318086 A CN202111318086 A CN 202111318086A CN 113766455 B CN113766455 B CN 113766455B
Authority
CN
China
Prior art keywords
network
communication network
quality
communication
signal
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
CN202111318086.9A
Other languages
Chinese (zh)
Other versions
CN113766455A (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.)
Ditai Zhejiang Communication Technology Co ltd
Original Assignee
Ditai Zhejiang Communication Technology 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 Ditai Zhejiang Communication Technology Co ltd filed Critical Ditai Zhejiang Communication Technology Co ltd
Priority to CN202111318086.9A priority Critical patent/CN113766455B/en
Publication of CN113766455A publication Critical patent/CN113766455A/en
Application granted granted Critical
Publication of CN113766455B publication Critical patent/CN113766455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Abstract

The invention discloses a switching control method and a controller for a shipborne communication network, wherein the method comprises the following steps: step S1, detecting the network quality indexes of the first communication network and the second communication network, and determining the network quality of the first communication network and the second communication network according to the network quality indexes obtained by detection; and step S2, determining the signal quality coefficient of the corresponding communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network, and selecting the corresponding outlet network as the currently used optimal network through load balancing, thereby ensuring the communication quality of the network on the ship.

Description

Shipborne communication network switching control method and controller
Technical Field
The invention relates to the technical field of ship communication, in particular to a ship-borne communication network switching control method and a controller.
Background
With the development of offshore fisheries, the effectiveness and stability of offshore communication are required. The development and change of the offshore fishery put higher requirements on offshore satellite communication and related supporting facilities and applications.
Aiming at offshore fishing vessels and other various offshore vessels, in view of the requirements of navigation safety, the requirement of official communication and the requirement of timely communication and communication between personnel working on the vessels and other vessels and shore ends, the satellite communication is used as the requirement of offshore operation, and particularly the requirement of official communication is stable and reliable. At present, the shipborne communication is generally matched with VSAT broadband satellite communication and 4G communication at the same time, and is used for both 4G coverage and satellite network coverage in the offshore process, because the 4G network charging is much lower than the satellite network charging, but the experience effect of the network speed 4G is much faster than that of the VSAT at present, the experience of shipboard personnel on the network can be improved in the offshore place by using the scheme of combining the VSAT and the 4G, and the cost of the offshore ship for using the network integrally can be reduced.
The conventional scheme for fusion of VSAT and 4G is implemented as follows: the method is characterized in that 1 VSAT antenna (including a satellite modem) and a 4G router and a 4G antenna are arranged on a ship, and a network of the two devices is matched with an intelligent gateway with multiple WAN ports of a third party, and the fusion scheme has the following defects:
firstly, the scheme has more hardware devices and complicated layout and wiring and configuration of each device;
and secondly, although the intelligent gateway supports multi-type network switching control, the intelligent gateway can only switch various home networks on the land and the 4G environment on the land, but is not suitable for the satellite network on the sea and the 4G environment at the sea. Because the existing intelligent gateway can only select the network of the exit according to whether each connected WAN port has the network or not, the network of the exit is intelligently allocated by the internet access equipment at the later stage, and the network is not good or no signals are caused by the fact that the satellite network at sea may have environmental factors such as antenna shielding and the like, and the network is not good or no signals are caused by the fact that the 4G equipment is far away from the 4G base station and the like, the WAN port connected with the intelligent gateway at present directly switches and allocates the VSAT or the 4G network, so that the serious defect exists: for example, if the VSAT signal is good and good, the 4G signal is good and good, and it is normal that the intelligent gateway allocates any link in the subsequent stage, but if the VSAT signal is blocked but weak, the 4G signal is good and good, the intelligent gateway can only know that two network links are accessible, and part of the subsequent personnel walk through the VSAT network and part walk through the 4G network, so that the user walking through the VSAT network can experience the network failure; similarly, if the VSAT signal is good, the 4G signal is strong and weak at the time of the 4G signal near the coast because the ship is out of the sea, and at this time, the intelligent gateway judges that the two WAN port links are also open, and still arranges that a later part of people walk on the VSAT network and a part of people walk on the 4G network, thereby resulting in poor user experience network of the 4G network.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a method and a controller for controlling switching of a shipborne communication network, wherein the method and the controller are configured to perform a recording analysis for a period of time by reading a signal-to-noise ratio of a first communication network and performing a recording analysis for a period of time by obtaining a signal quality of a second communication network, so as to determine whether the current communication quality of the first communication network and the current communication quality of the second communication network meet a communication requirement, and switch an outlet to a corresponding network when the communication requirement is met, thereby achieving an automatic switching of the shipborne communication network, and are particularly suitable for switching of a 4G network and a VSAT network in an offshore area.
Another objective of the present invention is to provide a method and a controller for controlling switching of a shipborne communication network, in which an original VSAT controller, a 4G router and an intelligent gateway are integrated into one VSAT controller, so that the volume and wiring of the system are greatly reduced, and all switching configuration actions are controlled by the controller itself, so that a user does not need to set the switching configuration actions, and the user operation is simplified.
In order to achieve the above and other objects, the present invention provides a method for controlling switching of a shipborne communication network, comprising the steps of:
step S1, detecting the network quality indexes of the first communication network and the second communication network, and determining the network quality of the first communication network and the second communication network according to the network quality indexes obtained by detection;
and step S2, determining the signal quality coefficient of the corresponding communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network, and selecting the corresponding outlet network as the currently used optimal network through load balancing, thereby ensuring the communication quality of the network on the ship.
Preferably, the step S1 further includes:
step S100, acquiring signal-to-noise ratio parameters of a first communication network, performing recording analysis of preset time, and judging the communication quality of the current first communication network according to the jumping property or amplitude of the signal-to-noise ratio of the current first communication network;
and step S101, acquiring the signal quality of the second communication network, performing recording analysis of preset time, and judging the current communication quality of the second communication network.
Preferably, step S100 further comprises:
step S100a, recording the average signal-to-noise ratio when the success rate of the stable ping packet in the first communication network is 100% and the lowest signal-to-noise ratio when the success rate of the ping packet is more than 90% in each polling period by adopting a timer polling mode;
step S100b, determining the jitter of the current signal-to-noise ratio of the first communication network according to the average signal-to-noise ratio when the recorded stable ping packet success rate is 100% and the lowest signal-to-noise ratio value when the ping packet success rate is more than 90%;
step S100c, determining the current communication quality of the first communication network according to the current signal-to-noise ratio.
Preferably, in step S100c, if the number of times that the difference between the recorded average snr when the success rate of the stable ping packet is 100% and the lowest snr value when the success rate of the ping packet is more than 90% exceeds the maximum jitter threshold DIFF _ SN _ MAX is greater than or equal to the preset number of times, or the difference is less than the lowest snr threshold LOW _ SN for more than the preset time, it is determined that the communication quality of the current first communication network is not good.
Preferably, before step S1, the average snr when the success rate of the ping packet is stabilized at 100% in the static state of the laboratory is recorded as the excellent best snr threshold value GOOD _ SN of the empirical value; and then, simulating a shielding environment by using an artificial shielding antenna mode, recording a lowest signal-to-noise ratio threshold value LOW _ SN recorded by using ping packet success rate of more than 90% in a laboratory environment, and recording a difference value between GOOD _ SN and LOW _ SN, namely the maximum jitter threshold value DIFF _ SN _ MAX.
Preferably, in step S101, a network used by the current 4G module is obtained and is determined to be an LTE network, and the current network quality is detected and is determined to be stable within a certain time, so as to determine the communication quality of the current 4G network.
Preferably, the step S2 further includes:
step S200, respectively calculating signal quality coefficients of the first communication network and the second communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network;
step S201, load balancing is carried out according to the second communication network signal quality coefficient, and network switching is carried out according to a load balancing result.
Preferably, in step S200, if the communication quality determination results of the two networks are both available, the current signal-to-noise ratio of the first communication network is obtained and compared with the optimal signal-to-noise ratio threshold value GOOD _ SN to obtain a signal quality coefficient, and the current signal quality of the second communication network is obtained and compared with the set optimal value of the signal quality to obtain the signal quality coefficient; if the communication quality judgment result of one path of communication network is unavailable, the quality coefficient is directly set to be 0, and only the signal quality coefficient of the other path of communication network is calculated.
Preferably, in step S201, a weight ratio of the signal quality coefficient of the second communication network in the sum of the signal quality coefficients of the current first communication network and the second communication network is obtained, and the communication terminals on the ship are distributed according to the weight ratio.
In order to achieve the above object, the present invention further provides a shipborne communication network switching controller, which integrates a VSAT control module, a 4G control module and an intelligent gateway therein, and further includes:
the network communication quality detection unit is used for detecting network quality indexes of the first communication network and the second communication network and determining the network quality of the first communication network and the second communication network according to the network quality indexes obtained by detection;
and the network switching control unit is used for determining the signal quality coefficient of the corresponding communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network, and selecting the corresponding outlet network as the currently used optimal network through load balancing, so that the communication quality of the network on the ship is ensured.
Compared with the prior art, the shipborne communication network switching control method and the controller provided by the invention have the advantages that the network quality indexes of the first communication network and the second communication network are detected, the network quality of the first communication network and the second communication network is determined according to the network quality indexes obtained through detection, then the signal quality coefficient of the corresponding communication network is determined according to the communication quality judgment results of the two networks of the first communication network and the second communication network and the network quality indexes, the corresponding exit network is selected as the best network used currently through load balancing, the communication quality of the network on the ship is ensured, and the purpose of automatically switching the shipborne communication network is realized, and the shipborne communication network switching control method and the controller are particularly suitable for switching the 4G network and the VSAT network in the offshore area.
Drawings
FIG. 1 is a flow chart illustrating steps of a method for controlling switching of a shipborne communication network according to the present invention;
fig. 2 is a system structure diagram of a shipborne communication network switching controller according to the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a flowchart illustrating steps of a method for controlling a handover of a shipborne communication network according to the present invention. As shown in fig. 1, the present invention provides a switching control method for a shipborne communication network, which includes the following steps:
step S1, detecting network quality indexes of the first communication network and the second communication network, and determining the network quality of the first communication network and the second communication network according to the detected network quality indexes.
In the embodiment of the invention, the first communication network adopts a VSAT network, and the second communication network adopts a 4G network, namely, a set of 4G antenna is additionally arranged at a proper position of a ship on the basis of the original set of VSAT antenna and a satellite modem. When the controller is started, whether a first communication network (VSAT network) can be accessed to the Internet and whether a second communication network (4G module) exists are detected, the signal quality of the two networks is detected, and the right proportion of a first network outlet and a second network outlet is set according to the detection result; and in the working process after starting up, the signal quality of the two networks is continuously detected, whether the two network outlets can be used or not is monitored, and the weight proportion of the two network outlets is set according to the detection result.
Specifically, step S1 further includes:
step S100, acquiring the signal-to-noise ratio parameter of the first communication network to perform recording analysis of preset time, and judging the communication quality of the current first communication network according to the jumping property or amplitude of the signal-to-noise ratio of the current first communication network.
Specifically, after the system is started, the controller communicates with the satellite cat of the first communication network, acquires the signal-to-noise ratio parameter of the satellite cat under the network access condition, performs recording analysis within a period of time, and judges the current jitter or amplitude of the signal-to-noise ratio of the VSAT network serving as the first communication network, so as to judge the current communication quality of the VSAT network.
Specifically, step S100 further includes:
step S100a, recording an average snr when the success rate of the stable ping packet in the first communication network is 100% in each polling cycle and a minimum snr when the success rate of the ping packet is more than 90% by using a timer polling method. In the specific embodiment of the invention, a 30s timer polling mode is adopted (that is, 30s polling is performed once, the longest time is 30s and the shortest time is 15s for each time, because 15 times of total ping packets are performed in one round, 1s of ping packet interval is set for each time, 2s timeout is set, that is, 15s of least packet loss free time and 30s of the longest time of total packet loss are performed in one round), and the average signal-to-noise ratio when the success rate of stable ping packets in the first communication network is 100% in each polling period and the lowest signal-to-noise ratio when the success rate of using ping packets is more than 90% are recorded.
And step S100b, determining the jitter of the current signal-to-noise ratio of the first communication network according to the average signal-to-noise ratio when the recorded stable ping packet success rate is 100% and the lowest signal-to-noise ratio value when the ping packet success rate is more than 90%.
In the specific embodiment of the present invention, in a polling period of which 30s is timed each time, in addition to the ping packet, a signal-to-noise ratio is obtained every s, so that there may be 30 signal-to-noise ratios in one period, and it is necessary to record and calculate an average signal-to-noise ratio when the success rate of the stable ping packet is 100% and a minimum signal-to-noise ratio using the success rate of the ping packet of more than 90%, and calculate a difference between the average signal-to-noise ratio when the recorded success rate of the stable ping packet is 100% and the minimum signal-to-noise ratio using the success rate of the ping packet of more than 90%, so as to determine the jitter of the current signal-to-noise ratio.
Step S100c, determining the current communication quality of the first communication network according to the current signal-to-noise ratio.
In an embodiment of the present invention, if, in each polling cycle, the number of times that the difference between the average snr at the recorded stable ping packet success rate of 100% and the minimum snr at the ping packet success rate of more than 90% exceeds the maximum jitter threshold DIFF _ SN _ MAX is greater than or equal to a preset number of times (e.g., 3 times), or a snr at a continuous preset time (e.g., 20s) or more is lower than the minimum snr threshold LOW _ SN, it is determined that the communication quality of the current first communication network is poor or unavailable. The maximum jitter threshold DIFF _ SN _ MAX and the minimum signal-to-noise ratio threshold LOW _ SN are both obtained in a laboratory environment, specifically, an average signal-to-noise ratio when the success rate of a stable ping packet is 100% in a static state of a laboratory is recorded as an excellent optimal signal-to-noise ratio threshold GOOD _ SN of an empirical value, and if the average signal-to-noise ratio is higher than the empirical value, the excellence is represented; and then, simulating a shielding environment by using an artificial shielding antenna mode, recording a lowest signal-to-noise ratio (LOW _ SN) recorded in a laboratory environment by using a ping packet success rate of more than 90%, and recording a difference value between the GOOD _ SN and the LOW _ SN, namely a maximum jitter threshold (DIFF _ SN _ MAX) tested in the laboratory environment, wherein the LOW _ SN is a lowest signal-to-noise ratio threshold, and recording the lowest signal-to-noise ratio (NORMAL _ SN) by using a laboratory recording ping packet success rate of 95% (the value is generally used for a background person to check whether the current signal-to-noise ratio is in a NORMAL state).
And step S101, acquiring the signal quality of the second communication network, performing recording analysis of preset time, and judging the current communication quality of the second communication network.
In a specific embodiment of the present invention, the second communication network is a 4G network, the controller obtains a network used by a current 4G module and determines whether the network is an LTE network through communication with the 4G control module, detects a current network quality and determines whether the network is stable within a certain time, so as to determine a communication quality of the current 4G network, for example, by setting a 5-minute timer, obtaining a signal quality every 5s within the time (the signal quality of the 4G module can be read through a protocol, for example, a value can be obtained through a serial port and according to a corresponding AT instruction protocol provided by a manufacturer, for example, a serial port used by a remote EC20 module is to send an AT + CSQ to obtain the signal quality of the current 4G module), that is, obtaining the signal quality 60 times in one round, and if the signal qualities obtained more than 50 times are both greater than or equal to a set 4G threshold, the current 4G is judged to be stable and can support good internet access, and the method is mainly used for eliminating the switching misjudgment of the current network which is 3G/2G and the like and the network at any time.
And step S2, determining the signal quality coefficient of the corresponding communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network, and selecting the corresponding outlet network as the currently used optimal network through load balancing, thereby ensuring the communication quality of the network on the ship.
Specifically, step S2 further includes:
step S200, respectively calculating signal quality coefficients of the first communication network and the second communication network according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network.
In the embodiment of the invention, for two networks, if the communication quality judgment results of the two networks are both available, the signal quality coefficients of the two networks are determined according to the respective signal qualities, for a first communication network, such as a VSAT network, the current signal-to-noise ratio of the first communication network is obtained, and is compared with the optimal signal-to-noise ratio threshold value GOOD _ SN to obtain the signal quality coefficient, for example, the current signal-to-noise ratio of the VSAT signal is 8.9, and the optimal signal-to-noise ratio threshold value (GOOD _ SN) when the VSAT is on line best is compared with 11.0, so that a signal quality coefficient of 8.9/11.0 = 0.8 is obtained; meanwhile, according to the signal quality value of the 4G current signal, for example, 24, the comparison setting 4G signal quality threshold (i.e., the lowest signal quality satisfying the communication measured in the laboratory environment) is 28, and then the signal quality coefficient is 0.85.
And if the communication quality judgment result of one path of communication network is unavailable, directly setting the quality coefficient to be 0, and calculating the signal quality coefficient of the other path of communication network according to the method.
Preferably, when the signal quality coefficient of the second communication network is lower than a preset coefficient threshold (for example, 0.7, which is an empirical value obtained by testing and can be changed), the signal quality coefficient thereof is set to 0. Because generally, if the 4G signal on the ship is lower than a certain value, the access to the internet is basically impossible, and then the VSAT network can only be the only exit.
Step S201, load balancing is carried out according to the second communication network signal quality coefficient, and network switching is carried out according to a load balancing result.
In the specific embodiment of the present invention, a load balancing algorithm is performed according to a signal quality coefficient of a second communication network, that is, a 4G network, specifically, a weight ratio of the signal quality coefficient of the current 4G network in a sum of a current VSAT and a current total quality coefficient of the 4G network is obtained, and network allocation is performed on communication terminals on a ship according to the weight ratio, so that a specified proportion of the communication terminals adopt the second communication network, and the remaining communication terminals adopt a first communication network, for example, in the above example, a proportion of 0.85/(0.8 + 0.85) of the communication terminals is enabled to go through the 4G network, and the remaining communication terminals go through the VSAT network (specifically, the load balancing algorithm can be implemented by software for processing network balancing through a routing policy of iptables and a filter); when the 4G network is unavailable, i.e. its signal quality coefficient is 0, all communication terminals walk away from the VSAT network.
Fig. 2 is a system structure diagram of a shipborne communication network switching controller according to the present invention. As shown in fig. 2, the shipborne communication network switching controller of the present invention, which is integrated with a VSAT control module, a 4G control module and an intelligent gateway, further includes:
the network communication quality detection unit 20 is configured to detect network quality indicators of the first communication network and the second communication network, and determine the network qualities of the first communication network and the second communication network according to the network quality indicators obtained by the detection.
In the embodiment of the invention, the first communication network can adopt a VSAT network, the second communication network can adopt a 4G network, the invention is characterized in that a set of 4G antenna is additionally arranged at a proper position of a ship on the basis of the original set of VSAT antenna and a satellite modem, and the VSAT control unit, the 4G control unit and the intelligent gateway are integrated into a set of controller. When the controller is started, whether a first communication network (VSAT network) can be accessed to the Internet and whether a second communication network (4G module) exists are detected, the signal quality of the two networks is detected, and the right proportion of a first network outlet and a second network outlet is set according to the detection result; and in the working process after starting up, the signal quality of the two networks is continuously detected, whether the two network outlets can be used or not is monitored, and the weight proportion of the two network outlets is set according to the detection result.
Specifically, the network communication quality detection unit 20 further includes:
the first communication network communication quality determining module 200 obtains the signal-to-noise ratio parameter of the first communication network to perform recording analysis of the preset time, and determines the current communication quality of the first communication network according to the current jitter or amplitude of the signal-to-noise ratio of the first communication network.
For example, after the system is started, the controller communicates with a satellite cat of the first communication network, and the network communication quality detection unit 20 obtains the signal-to-noise ratio parameter of the satellite cat under the network access condition to perform recording analysis within a period of time, and determines the jitter or amplitude of the signal-to-noise ratio of the current VSAT network, thereby determining the communication quality of the current VSAT network.
The first communication network communication quality determination module 200 further includes:
and the polling control module is used for recording the average signal-to-noise ratio when the success rate of the stable ping packet in the first communication network is 100% in each polling period and the minimum signal-to-noise ratio when the success rate of the stable ping packet in the first communication network is more than 90%. In the specific embodiment of the invention, the polling control module adopts a 30s timer polling mode (namely, polling is carried out once in 30s, the longest time is 30s and the shortest time is 15s every time, because the total ping packet is carried out for 15 times in one round, the interval of the ping packet is set to be 1s every time, the overtime is set to be 2s, namely, the shortest time is 15s when no packet is lost and the longest time is 30s when all packet is lost), and the average signal-to-noise ratio when the success rate of the stable ping packet in the first communication network is 100% and the lowest signal-to-noise ratio when the success rate of the ping packet is more than 90% in each polling period are recorded;
the signal-to-noise ratio jitter determination module is used for determining the jitter of the current signal-to-noise ratio of the first communication network according to the average signal-to-noise ratio when the recorded stable ping packet success rate is 100% and the lowest signal-to-noise ratio value of the ping packet success rate above 90%;
in the specific embodiment of the present invention, in a polling period of which the timing is 30s each time, in addition to the ping packet, the snr can be obtained every s, so that there may be 30 snr values in one period, the snr jitter determination unit needs to record and calculate the average snr value when the success rate of the stable ping packet is 100% and the lowest snr value when the success rate of the ping packet is 90% or more, and calculate the difference between the recorded average snr value when the success rate of the stable ping packet is 100% and the lowest snr value when the success rate of the ping packet is 90% or more, so as to determine the jitter of the current snr.
And the communication quality judging module is used for judging the current communication quality of the first communication network according to the jumping property or amplitude of the current signal-to-noise ratio.
In an embodiment of the present invention, if, in each polling cycle, the number of times that the difference between the average snr at the recorded stable ping packet success rate of 100% and the minimum snr at the ping packet success rate of more than 90% exceeds the maximum jitter threshold DIFF _ SN _ MAX is greater than or equal to a preset number of times (e.g., 3 times), or a snr at a continuous preset time (e.g., 20s) or more is lower than the minimum snr threshold LOW _ SN, it is determined that the communication quality of the current first communication network is poor or unavailable. The maximum jitter threshold DIFF _ SN _ MAX and the minimum signal-to-noise ratio threshold LOW _ SN are both obtained in a laboratory environment, specifically, an average signal-to-noise ratio when the success rate of a stable ping packet is 100% in a static state of a laboratory is recorded as an excellent optimal signal-to-noise ratio threshold GOOD _ SN of an empirical value, and if the average signal-to-noise ratio is higher than the empirical value, the excellence is represented; and then, simulating a shielding environment by using an artificial shielding antenna mode, recording a lowest signal-to-noise ratio (LOW _ SN) recorded in a laboratory environment by using a ping packet success rate of more than 90%, and recording a difference value between the GOOD _ SN and the LOW _ SN, namely a maximum jitter threshold (DIFF _ SN _ MAX) tested in the laboratory environment, wherein the LOW _ SN is a lowest signal-to-noise ratio threshold, and recording the lowest signal-to-noise ratio (NORMAL _ SN) by using a laboratory recording ping packet success rate of 95% (the value is generally used for a background person to check whether the current signal-to-noise ratio is in a NORMAL state).
The second communication network communication quality determining unit 201 is configured to obtain signal quality of the second communication network, perform recording analysis for a preset time, and determine current communication quality of the second communication network.
In a specific embodiment of the present invention, the second communication network is a 4G network, the second communication network communication quality determining unit 202 obtains a network used by the current 4G module and determines whether the network is an LTE network through communication with the 4G control module, detects the current network quality and determines whether the network is stable within a certain time, so as to determine the communication quality of the current 4G network, for example, by setting a 5-minute timer, and obtaining the signal quality once every 5s within the time (the signal quality of the 4G module can be read through a protocol, for example, the signal quality of the 4G module can be obtained through a serial port and a value is obtained according to a corresponding AT command protocol provided by a manufacturer, for example, the signal quality of the current 4G module is obtained by sending AT + CSQ through a serial port used by the remote EC20 module, that is, that the signal quality is obtained 60 times in one round, and if the signal qualities obtained more than 50 times are all greater than or equal to the set 4G threshold value, the current 4G is judged to be stable and can support good internet access, and the method is mainly used for eliminating the switching misjudgment of the current network which is 3G/2G and the like and the network at any time.
And the network switching control unit 21 is configured to determine a signal quality coefficient of a corresponding communication network according to the communication quality judgment result and the network quality index of the two networks of the first communication network and the second communication network, and select a corresponding egress network as a currently used optimal network through load balancing, so as to ensure the communication quality of the network on the ship.
Specifically, the network switching control unit 21 further includes:
and the signal quality coefficient calculating module is used for calculating the signal quality coefficients of the first communication network and the second communication network respectively according to the communication quality judgment results and the network quality indexes of the two networks of the first communication network and the second communication network.
In the embodiment of the invention, for two networks, if the communication quality judgment results of the two networks are both available, the signal quality coefficients of the two networks are determined according to the respective signal qualities, for a first communication network, such as a VSAT network, the current signal-to-noise ratio of the first communication network is obtained, and is compared with the optimal signal-to-noise ratio threshold value GOOD _ SN to obtain the signal quality coefficient, for example, the current signal-to-noise ratio of the VSAT signal is 8.9, and the optimal signal-to-noise ratio threshold value 11.0 when the VSAT is on line best is compared, so that a signal quality coefficient of 8.9/11.0 = 0.8 is obtained; meanwhile, according to the signal quality value of the current signal of the 4G network, for example, 24, the comparison set 4G signal quality threshold (i.e., the lowest signal quality meeting the communication measured in the laboratory environment) is 28, and then the signal quality coefficient is 0.85.
And if the communication quality judgment result of one path of communication network is unavailable, directly setting the quality coefficient to be 0, and calculating the signal quality coefficient of the other path of communication network according to the method.
Preferably, when the signal quality coefficient of the second communication network is lower than a preset coefficient threshold (for example, 0.7, which is an empirical value obtained by testing and can be changed), the signal quality coefficient thereof is set to 0. Generally, if the 4G signal on the ship is lower than a certain value, the access to the internet is basically impossible, and then the VSAT network can only be the only exit.
And the load balancing module is used for carrying out load balancing according to the second communication network signal quality coefficient and carrying out network switching according to a load balancing result.
In the specific embodiment of the present invention, a load balancing algorithm is performed according to a signal quality coefficient of a second communication network, that is, a 4G network, to obtain a weight ratio of the signal quality coefficient of the current 4G network in a sum of a current VSAT and a current total quality coefficient of the 4G network, and network allocation is performed on communication terminals on a ship according to the weight ratio, so that a specified proportion of the communication terminals adopt the second communication network, and the remaining communication terminals adopt the first communication network, for example, in the above example, the communication terminals with a ratio of 0.85/(0.8 + 0.85) walk through the 4G network, and the remaining communication terminals walk through the VSAT network (specifically, the VSAT network can be realized by a routing policy of iptables and software for processing network balancing by a filter); when the 4G network is unavailable, i.e. its signal quality coefficient is 0, all communication terminals walk away from the VSAT network.
Compared with the prior art, the invention has the following advantages:
firstly, the original VSAT control module, the 4G router and the intelligent gateway are integrated into one VSAT controller, so that the equipment volume and wiring of the system are greatly reduced. Meanwhile, all the switching configuration actions are software operations performed by the controller, so that the user does not need to set the switching configuration actions, and the operation of the user is simplified;
secondly, because the switching method of the traditional scheme is to set the exit network of the rear-stage equipment as the network when detecting whether the connected network link network is connected, for the VSAT network, the VSAT antenna may have good or bad signals due to environmental shielding, the signal-to-noise ratio of the Modem of the VSAT antenna actually fluctuates seriously or the amplitude cannot reach the condition of being capable of surfing the Internet at all, and if the VSAT antenna is switched to the VSAT network at this time, the VSAT antenna is basically incapable of surfing the Internet, before switching the exit of the network, the invention firstly reads the Modem signal-to-noise ratio of the VSAT and carries out recording analysis within a period of time for judging whether the communication quality of the current VSAT network meets the communication requirement, and then the switching exit is the VSAT network;
for the 4G network, because the coverage of the 4G base stations at the sea is not much, 4G signals are often present sometimes, and frequently searched signals are transmitted by the 2G base stations or possibly no signals, if the scheme is switched to a 4G exit scheme according to the traditional scheme only according to whether the network is accessible or not, the network is basically incapable of surfing the Internet.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (8)

1. A switching control method for a shipborne communication network comprises the following steps:
step S1, detecting the network quality indexes of the first communication network and the second communication network, and determining the network quality of the first communication network and the second communication network according to the network quality indexes obtained by detection;
step S2, determining a signal quality coefficient of a corresponding communication network according to the communication quality determination result and the network quality index of the two networks of the first communication network and the second communication network, and selecting a corresponding egress network as a currently used best network through load balancing, thereby ensuring the communication quality of the network on the ship, step S2 further includes:
step S200, respectively calculating signal quality coefficients of a first communication network and a second communication network according to communication quality judgment results and network quality indexes of the two networks of the first communication network and the second communication network, if the communication quality judgment results of the two networks are available, acquiring the current signal-to-noise ratio of the first communication network, comparing the current signal-to-noise ratio with an optimal signal-to-noise ratio threshold GOOD _ SN to acquire a signal quality coefficient, acquiring the current signal quality of the second communication network, and comparing the current signal quality with a set signal quality optimal value to acquire a signal quality coefficient; if the communication quality judgment result of one path of communication network is unavailable, the quality coefficient is directly set to be 0, and only the signal quality coefficient of the other path of communication network is calculated;
step S201, load balancing is carried out according to the second communication network signal quality coefficient, and network switching is carried out according to a load balancing result.
2. The method for controlling switching of a communication network on board a ship according to claim 1, wherein step S1 further comprises:
step S100, acquiring signal-to-noise ratio parameters of a first communication network, performing recording analysis of preset time, and judging the communication quality of the current first communication network according to the jumping property or amplitude of the signal-to-noise ratio of the current first communication network;
and step S101, acquiring the signal quality of the second communication network, performing recording analysis of preset time, and judging the current communication quality of the second communication network.
3. The method for controlling switching of the ship-borne communication network according to claim 2, wherein the step S100 further comprises:
step S100a, recording the average signal-to-noise ratio when the success rate of the stable ping packet in the first communication network is 100% and the lowest signal-to-noise ratio when the success rate of the ping packet is more than 90% in each polling period by adopting a timer polling mode;
step S100b, determining the jitter of the current signal-to-noise ratio of the first communication network according to the average signal-to-noise ratio when the recorded stable ping packet success rate is 100% and the lowest signal-to-noise ratio value when the ping packet success rate is more than 90%;
step S100c, determining the current communication quality of the first communication network according to the current signal-to-noise ratio.
4. The on-board communication network handover control method of claim 3, wherein: in step S100c, if the number of times that the difference between the recorded average snr when the success rate of the stable ping packet is 100% and the lowest snr value more than 90% when the ping packet is used exceeds the maximum jitter threshold DIFF _ SN _ MAX is greater than or equal to the preset number of times, or the difference is less than the lowest snr threshold LOW _ SN for more than the preset time, it is determined that the communication quality of the current first communication network is not good.
5. The on-board communication network handover control method of claim 4, wherein: before step S1, an average snr when the success rate of stable ping packets is 100% in a static state of the laboratory is recorded as an excellent best snr threshold value GOOD _ SN of the empirical value; and then, simulating a shielding environment by using an artificial shielding antenna mode, recording a lowest signal-to-noise ratio threshold value LOW _ SN recorded by using ping packet success rate of more than 90% in a laboratory environment, and recording a difference value between GOOD _ SN and LOW _ SN, namely the maximum jitter threshold value DIFF _ SN _ MAX.
6. The on-board communication network handover control method of claim 4, wherein: in step S101, a network used by the current 4G module is acquired and is determined as an LTE network, and the current network quality is detected and is determined as whether the network is stable within a certain time, so as to determine the communication quality of the current 4G network.
7. The on-board communication network handover control method of claim 1, wherein: in step S201, a weight ratio of the signal quality coefficient of the second communication network in the sum of the signal quality coefficients of the current first communication network and the second communication network is obtained, and network allocation is performed on the communication terminals on the ship according to the weight ratio.
8. The utility model provides a shipborne communication network switching controller, its internal integration has VSAT control module and 4G control module and intelligent gateway, still includes:
the network communication quality detection unit is used for detecting network quality indexes of the first communication network and the second communication network and determining the network quality of the first communication network and the second communication network according to the network quality indexes obtained by detection;
the network switching control unit is used for determining a signal quality coefficient of a corresponding communication network according to the communication quality judgment results and network quality indexes of the two networks of the first communication network and the second communication network, if the communication quality judgment results of the two networks are available, acquiring the current signal-to-noise ratio of the first communication network, comparing the current signal-to-noise ratio with the optimal signal-to-noise ratio threshold GOOD _ SN to obtain the signal quality coefficient, acquiring the current signal quality of the second communication network, and comparing the current signal quality with the set signal quality optimal value to obtain the signal quality coefficient; if the communication quality judgment result of one path of communication network is unavailable, the quality coefficient is directly set to be 0, only the signal quality coefficient of the other path of communication network is calculated, and the corresponding outlet network is selected as the currently used optimal network through load balancing, so that the communication quality of the network on the ship is ensured.
CN202111318086.9A 2021-11-09 2021-11-09 Shipborne communication network switching control method and controller Active CN113766455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111318086.9A CN113766455B (en) 2021-11-09 2021-11-09 Shipborne communication network switching control method and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111318086.9A CN113766455B (en) 2021-11-09 2021-11-09 Shipborne communication network switching control method and controller

Publications (2)

Publication Number Publication Date
CN113766455A CN113766455A (en) 2021-12-07
CN113766455B true CN113766455B (en) 2022-04-01

Family

ID=78784698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111318086.9A Active CN113766455B (en) 2021-11-09 2021-11-09 Shipborne communication network switching control method and controller

Country Status (1)

Country Link
CN (1) CN113766455B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115623482B (en) * 2022-12-15 2023-04-18 迪泰(浙江)通信技术有限公司 Method and device for switching bridge model satellite network and 4G network by ARP interception spoofing

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010025766A1 (en) * 2008-09-03 2010-03-11 Nokia Siemens Networks Oy A gateway network element, a method, and a group of load balanced access points configured for load balancing in a communications network
CN102630093A (en) * 2012-05-02 2012-08-08 北京邮电大学 Network access method for load balance in isomer wireless network
CN103024779A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Method and device for improving internet speed of double cards
CN103796244A (en) * 2014-03-07 2014-05-14 国家电网公司 Balanced-load wireless multi-heterogeneous-network access selection method
CN105007601A (en) * 2015-08-13 2015-10-28 重庆邮电大学 Network selection method and a network selection device of heterogeneous network
CN105163348A (en) * 2015-07-31 2015-12-16 重庆邮电大学 Communication mode access selection method for smart distribution grid heterogeneous wireless network
CN105704771A (en) * 2016-03-24 2016-06-22 重庆邮电大学 Modularization switching method base on load balancing and QoS in heterogeneous network
CN106656847A (en) * 2017-03-10 2017-05-10 重庆邮电大学 Software defined network (SDN) load balancing method with highest network utility
CN106792913A (en) * 2017-01-19 2017-05-31 努比亚技术有限公司 A kind of load-balancing method and device
CN107046487A (en) * 2017-03-26 2017-08-15 厦门四信通信科技有限公司 A kind of method for realizing load balancing in 3G/4G communication networks based on link detecting
CN111935791A (en) * 2020-07-31 2020-11-13 南京凯瑞得信息科技有限公司 Network switching judgment method, judgment system and equipment of shipborne satellite communication terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015187946A1 (en) * 2014-06-05 2015-12-10 KEMP Technologies Inc. Adaptive load balancer and methods for intelligent data traffic steering
US9917781B2 (en) * 2014-06-05 2018-03-13 KEMP Technologies Inc. Methods for intelligent data traffic steering
CN105873139A (en) * 2016-03-30 2016-08-17 联想(北京)有限公司 Information processing method and electronic device
US9986025B2 (en) * 2016-05-24 2018-05-29 Nicira, Inc. Load balancing for a team of network interface controllers
CN205847612U (en) * 2016-07-26 2016-12-28 深圳市天海世界卫星通信科技有限公司 A kind of boats and ships mutual cutting system of satellite terrestrial network
CN110012026B (en) * 2019-04-18 2021-08-06 大连海事大学 Unmanned ship intelligent gateway based on hybrid password and data transmission method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010025766A1 (en) * 2008-09-03 2010-03-11 Nokia Siemens Networks Oy A gateway network element, a method, and a group of load balanced access points configured for load balancing in a communications network
CN102630093A (en) * 2012-05-02 2012-08-08 北京邮电大学 Network access method for load balance in isomer wireless network
CN103024779A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Method and device for improving internet speed of double cards
CN103796244A (en) * 2014-03-07 2014-05-14 国家电网公司 Balanced-load wireless multi-heterogeneous-network access selection method
CN105163348A (en) * 2015-07-31 2015-12-16 重庆邮电大学 Communication mode access selection method for smart distribution grid heterogeneous wireless network
CN105007601A (en) * 2015-08-13 2015-10-28 重庆邮电大学 Network selection method and a network selection device of heterogeneous network
CN105704771A (en) * 2016-03-24 2016-06-22 重庆邮电大学 Modularization switching method base on load balancing and QoS in heterogeneous network
CN106792913A (en) * 2017-01-19 2017-05-31 努比亚技术有限公司 A kind of load-balancing method and device
CN106656847A (en) * 2017-03-10 2017-05-10 重庆邮电大学 Software defined network (SDN) load balancing method with highest network utility
CN107046487A (en) * 2017-03-26 2017-08-15 厦门四信通信科技有限公司 A kind of method for realizing load balancing in 3G/4G communication networks based on link detecting
CN111935791A (en) * 2020-07-31 2020-11-13 南京凯瑞得信息科技有限公司 Network switching judgment method, judgment system and equipment of shipborne satellite communication terminal

Also Published As

Publication number Publication date
CN113766455A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN113766455B (en) Shipborne communication network switching control method and controller
CN105934976B (en) The method, apparatus and master-slave network electricity-saving system of master-slave network suspend mode and wake-up
CN102932181B (en) A kind of detect the method for network failure, node and Surveillance center
CN107623925A (en) A kind of indoor wifi signal detecting methods and system based on floor plan
KR920003701A (en) Digital loop transmission system and channel unit type test apparatus and method
CN106452620A (en) Method and system of testing receptivity of wireless terminal
CN105916172A (en) Information reporting method, terminal device and system
CN106358213A (en) Indoor distribution system evaluation method and indoor distribution system evaluation device
US9426669B2 (en) Method, device and system for detecting state of base station reverse diversity link and base station
CN1108029C (en) System and method of testing overall and individual antennas of switched space diversity receiver
CN104765349B (en) A kind of method and server, control device for managing intelligent home device
CN108243441A (en) Indoor distributed system failure judgment method and device
CN110719359A (en) Terminal performance test method and system
CN111754719A (en) Cable fire-fighting linkage system and method based on integration of Internet of things and various sensors
CN110225564A (en) A kind of ship's navigation network system and its application method
CN103906114B (en) A kind of neighborhood disturbance treatment method and device
CN106922006A (en) A kind of network preference pattern changing method and device
CN106535220B (en) Dynamic TDD subframe proportioning regulation method and base station, network management device
CN107396404A (en) A kind of residence reselecting and terminal
CN113904888B (en) Linkage method of air detection equipment and door and window, air detection equipment and door and window
CN108173789A (en) Disturbance restraining method and device, communication system
CN107846724A (en) Reduce method, system and the equipment of internet-of-things terminal power consumption
CN104620622B (en) A kind of interference detection method and system, management method and system, user equipment and base station
CN105554852A (en) Method for switching WIFI signal sources
CN109039890A (en) A kind of communication link establishes, switching method and relevant apparatus and system

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A switching control method and controller for shipborne communication network

Effective date of registration: 20230220

Granted publication date: 20220401

Pledgee: Societe Generale Bank Limited by Share Ltd. Ningbo branch

Pledgor: DITAI (ZHEJIANG) COMMUNICATION TECHNOLOGY Co.,Ltd.

Registration number: Y2023980032964