CN115209478A - Data processing method for long-term keep-alive of new-generation mobile communication based on artificial intelligence - Google Patents

Data processing method for long-term keep-alive of new-generation mobile communication based on artificial intelligence Download PDF

Info

Publication number
CN115209478A
CN115209478A CN202211125310.7A CN202211125310A CN115209478A CN 115209478 A CN115209478 A CN 115209478A CN 202211125310 A CN202211125310 A CN 202211125310A CN 115209478 A CN115209478 A CN 115209478A
Authority
CN
China
Prior art keywords
keep
alive
transmission
data
level
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.)
Granted
Application number
CN202211125310.7A
Other languages
Chinese (zh)
Other versions
CN115209478B (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.)
NANJING BODING INFORMATION TECHNOLOGY CO LTD
Original Assignee
NANJING BODING INFORMATION 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 NANJING BODING INFORMATION TECHNOLOGY CO LTD filed Critical NANJING BODING INFORMATION TECHNOLOGY CO LTD
Priority to CN202211125310.7A priority Critical patent/CN115209478B/en
Publication of CN115209478A publication Critical patent/CN115209478A/en
Application granted granted Critical
Publication of CN115209478B publication Critical patent/CN115209478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • 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

Abstract

The invention provides a data processing method of a new generation mobile communication long-term keep-alive based on artificial intelligence, which relates to the technical field of data transmission keep-alive processing, and comprises the following steps: step S10, classifying and analyzing the data to be transmitted, respectively carrying out transmission coefficient assignment processing on the classified data, and then carrying out grade division according to the size of the transmission coefficient assignment data; s20, setting basic keep-alive parameters in the communication transmission process, and transmitting data according to the basic keep-alive parameters; according to the invention, the transmission data is intelligently classified and analyzed, and the keep-alive parameters are set according to the analysis result of the transmission data, so that the data processing amount in the communication transmission process is reduced, the transmission stability and the safety of the keep-alive connection are ensured, and the data transmission processing efficiency is improved, so that the problems of large data processing amount and insufficient stability of the keep-alive connection in the existing communication transmission field needing long-term keep-alive are solved.

Description

Data processing method for long-term keep-alive of new-generation mobile communication based on artificial intelligence
Technical Field
The invention relates to the technical field of data transmission keep-alive processing, in particular to a new generation mobile communication long-term keep-alive data processing method based on artificial intelligence.
Background
In the field of long-term keep-alive transmission in mobile communication, a long connection mode is usually adopted for long-term keep-alive data transmission connection, and long connection means that a plurality of data packets can be continuously sent on one connection, and during connection keeping, if no data packet is sent, link detection packets need to be sent by two sides. For example: a plurality of cloud hosts are deployed on a cloud platform, wherein one cloud host is specially used for encryption and decryption and called an encryption server. And the other cloud hosts serve as clients of the encryption server and keep long TCP connection with the encryption server. These clients will communicate with the encryption server from time to complete the encryption operation.
In the prior art, in the data processing process of long-term keep-alive, the same transmission mode is adopted for different data, which may cause the efficiency of data transmission to decrease, for example, the importance levels of different data during transmission are different, and the data with high importance has higher requirements for the stability and transmission speed of the transmission process, but the high-quality transmission process also means the generation of high data processing amount, so if the high-quality transmission modes are adopted, the transmission efficiency is reduced, and the resources of the transmission process cannot be reasonably matched; meanwhile, when transmission interruption occurs, transmission parameters in the transmission process cannot be intelligently adjusted, and the stability and the safety of data transmission in the long-term transmission process cannot be guaranteed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a new generation mobile communication long-term keep-alive data processing method based on artificial intelligence, which reduces the data processing amount in the communication transmission process by carrying out intelligent classification analysis on transmission data and setting keep-alive parameters according to the analysis result of the transmission data, improves the data transmission processing efficiency while ensuring the transmission stability and safety of keep-alive connection, and solves the problems of larger data processing amount and insufficient stability of the keep-alive connection in the existing communication transmission field needing long-term keep-alive.
In order to achieve the purpose, the invention is realized by the following technical scheme: the invention provides a data processing method of a new generation mobile communication long-term keep-alive based on artificial intelligence, which comprises the following steps:
step S10, classifying and analyzing the data to be transmitted, respectively carrying out transmission coefficient assignment processing on the classified data, and then carrying out grade division according to the size of the transmission coefficient assignment data;
s20, setting basic keep-alive parameters in the communication transmission process, and transmitting data according to the basic keep-alive parameters;
s30, acquiring keep-alive connection interruption data in the data transmission process, and carrying out error screening according to the keep-alive interruption data;
s40, analyzing the screening result of the keep-alive connection, adjusting basic keep-alive parameters, and reacquiring the keep-alive connection interruption data in the adjusted data transmission process;
and S50, comprehensively analyzing the keep-alive connection interruption data in the multi-group adjusted data transmission process to obtain an intelligent adjustment result.
Further, the step S10 includes the following sub-steps:
step S101, respectively setting a transmission speed grade and a transmission safety grade for data to be transmitted; the transmission speed grades are respectively set as a first transmission speed grade, a second transmission speed grade and a third transmission speed grade from slow to fast according to the transmission speed;
the transmission safety level is respectively set as a first transmission safety level, a second transmission safety level and a third transmission safety level from low to high according to the transmission safety requirement;
step S102, carrying out assignment processing on data with a transmission speed grade and a transmission safety grade, and respectively endowing a first transmission coefficient, a second transmission coefficient and a third transmission coefficient to the data with a first transmission speed grade, a second transmission speed grade and a third transmission speed grade;
respectively endowing a first safety index, a second safety index and a third safety index to the first transmission safety level, the second transmission safety level and the third transmission safety level which are set;
step S103, setting a basic importance calculation method of the data, and performing comprehensive calculation on the transmission coefficient and the safety index of the transmitted data to obtain a basic importance reference value of the data; the basic importance calculation method of the data comprises the following steps: obtaining a basic importance reference value by a basic importance calculation formula according to a transmission coefficient and a safety index corresponding to the transmitted data;
wherein the basic importance calculation formula is configured as:
Figure DEST_PATH_IMAGE001
(ii) a Wherein, cjzy is a basic importance reference value, xcs i Respectively expressed as a first transmission coefficient, a second transmission coefficient and a third transmission coefficient; zaq i Respectively expressed as a first safety index, a second safety index and a third safety index; i is 1, 2 or 3, when i is 1, xcs 1 For the first transmission coefficient, zaq 1 Is a first safety index; when i is 2, xcs 2 For the second transmission coefficient, zaq 2 Is a second safety index; when i is 3, xcs 3 For the third transmission coefficient, zaq 3 Is a third safety index;
step S104, grading the transmitted data according to the basic importance reference value;
when the basic importance reference value is larger than or equal to a first basic threshold value, dividing the transmitted data into high importance level data; when the basic importance reference value is greater than or equal to a second basic threshold and smaller than a first basic threshold, dividing the transmitted data into medium importance level data; when the basic importance reference value is smaller than a second basic threshold value, dividing the transmitted data into low importance level data;
and step S105, performing importance assignment on the data graded in the step S104, and setting a high importance index, a medium importance index and a low importance index for the high importance grade data, the medium importance grade data and the low importance grade data respectively.
Further, the step S20 further includes the following sub-steps:
step S201, the set basic keep-alive parameters include: the method comprises the steps of heartbeat packet sending interval duration, heartbeat packet reply interval duration, interruption retransmission interval duration and keep-alive transmission setting level;
step S202, setting the keep-alive transmission setting level as a first keep-alive transmission level, a second keep-alive transmission level and a third keep-alive transmission level, wherein the first keep-alive transmission level is higher than the second keep-alive transmission level, and the second keep-alive transmission level is higher than the third keep-alive transmission level;
a first keep-alive parameter setting method is correspondingly configured in the first keep-alive transmission level, and the first keep-alive parameter setting method comprises the following steps: setting a transmission speed to a first transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a first heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a first heartbeat packet; setting an interrupt retransmission interval duration to a first interrupt retransmission duration;
a second keep-alive parameter setting method is correspondingly configured in the second keep-alive transmission level, and the second keep-alive parameter setting method comprises the following steps: setting the transmission speed to a second transmission speed level; setting the heartbeat packet sending interval duration as a second heartbeat packet sending duration; setting the heartbeat packet reply interval duration as a second heartbeat packet reply duration; setting the interrupt retransmission interval duration to a second interrupt retransmission duration;
a third keep-alive parameter setting method is correspondingly configured in the third keep-alive transmission level, and the third keep-alive parameter setting method comprises the following steps: setting the transmission speed to a third transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a third heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a third heartbeat packet; the interrupt retransmission interval duration is set to a third interrupt retransmission duration.
Further, the step S30 further includes the following sub-steps:
step S301, obtaining interval duration of occurrence conditions of interruption errors, setting the interval duration as interruption interval duration, setting a first packet capturing time period, obtaining log files in the first packet capturing time period, transmitting the obtained log files to an external program screening system for error program screening, and repairing error programs.
Further, the step S40 further includes the following sub-steps:
step S401, firstly, acquiring the keep-alive transmission level of the data to be transmitted;
step S402, when the interruption error occurs again, acquiring the time length of the interruption error, and setting the time length to be the adjusted interruption time length; continuously acquiring the adjusted interruption time of the first detection number;
step S403, substituting the adjusted interruption duration and the interruption interval duration of the first detection number into an interruption level calculation formula to obtain an interruption adjustment coefficient;
the interrupt level calculation formula is configured to:
Figure 25625DEST_PATH_IMAGE002
(ii) a Wherein Xzdt is an interruption adjustment coefficient, ttz1 to Ttzi are respectively the adjusted interruption duration of the first detection data, and Tzdj is the interruption interval duration;
further, the step S50 further includes the following sub-steps:
step S501, when the interruption adjustment coefficient is greater than or equal to a first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is a first keep-alive transmission level, comprehensively calculating a heartbeat packet sending interval time, a heartbeat packet reply interval time and an interruption retransmission interval time corresponding to the data of the first keep-alive transmission level and the interruption adjustment coefficient respectively, and calculating the heartbeat packet sending adjustment interval time, the heartbeat packet reply adjustment interval time and the interruption retransmission adjustment interval time respectively through a heartbeat packet sending adjustment calculation formula, a heartbeat packet reply adjustment calculation formula and an interruption retransmission adjustment calculation formula to obtain the heartbeat packet sending adjustment interval time, the heartbeat packet reply adjustment interval time and the interruption retransmission adjustment interval time;
the heartbeat packet transmission adjustment calculation formula is configured as:
Figure DEST_PATH_IMAGE003
(ii) a Wherein, txft is the heartbeat packet sending adjustment interval duration, txtf is the heartbeat packet sending interval duration, a1 is a heartbeat packet sending interval reduction coefficient, the value of a1 is greater than zero, and the heartbeat packet reply adjustment calculation formula is configured as:
Figure 902445DEST_PATH_IMAGE004
(ii) a Txht is the heartbeat packet reply adjustment interval duration, txth is the heartbeat packet reply interval duration, a2 isThe heartbeat packet reply interval reduction coefficient is larger than zero, the value of s2 is larger than zero, and the interruption retransmission adjustment calculation formula is configured as follows:
Figure DEST_PATH_IMAGE005
(ii) a Tzdt is the interruption retransmission adjustment interval duration, tzdj is the interruption retransmission interval duration, a3 is an interruption retransmission interval reduction coefficient, and the value of a3 is greater than zero.
When the interruption adjustment coefficient is greater than or equal to the first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is the second keep-alive transmission level or the third keep-alive transmission level, adjusting the keep-alive transmission level of the data to be transmitted to be the first keep-alive transmission level;
step S502, when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, and the keep-alive transmission level of the data needing to be transmitted is the first keep-alive transmission level, the data of the first keep-alive transmission level is not adjusted by the basic keep-alive parameters;
when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, and the keep-alive transmission level of the data to be transmitted is a second keep-alive transmission level or a third keep-alive transmission level, adjusting the data of the second keep-alive transmission level to be the first keep-alive transmission level, and adjusting the data of the third keep-alive transmission level to be the second keep-alive transmission level;
and step S503, when the interruption adjustment coefficient is smaller than the second terminal adjustment threshold, the data of the first keep-alive transmission level, the second keep-alive transmission level and the third keep-alive transmission level are not adjusted by the basic keep-alive parameters.
The invention has the beneficial effects that: the method comprises the steps of firstly, carrying out classification analysis on data to be transmitted, respectively carrying out transmission coefficient assignment processing on the classified data, and then carrying out grade division according to the size of transmission coefficient assignment data; then setting basic keep-alive parameters in the communication transmission process, and transmitting data according to the basic keep-alive parameters; the design can improve the effectiveness of parameter setting in the data keep-alive transmission process, ensure the effective transmission of data and improve the transmission efficiency;
the method comprises the steps of acquiring keep-alive connection interruption data in a data transmission process, and screening errors according to the keep-alive interruption data; analyzing the screening result of the keep-alive connection, adjusting basic keep-alive parameters, and reacquiring keep-alive connection interruption data in the adjusted data transmission process; comprehensively analyzing the keep-alive connection interruption data in the multi-group adjusted data transmission process to obtain an intelligent adjustment result; the design can timely adjust the transmission parameters according to the interruption errors in the transmission process, the intelligence of parameter adjustment of the transmission process is improved, and the stability and the safety of the data transmission process are further improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a flow chart of a data processing method of the present invention;
FIG. 2 is a schematic diagram illustrating the interval between the transmission and the reply of the heartbeat packet in the first keep-alive transmission level according to the present invention;
FIG. 3 is a schematic diagram illustrating the interval between the transmission and the reply of the heartbeat packet in the second keep-alive transmission level according to the present invention;
fig. 4 is a schematic diagram of the interval between the heartbeat packet transmission and the heartbeat packet reply in the third keep-alive transmission level of the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
The invention provides a data processing method for long-term keep-alive of new-generation mobile communication based on artificial intelligence; through carrying out intelligent classification analysis to transmission data, set up the keep-alive parameter to transmission data's analysis result to reduce the data handling capacity among the communication transmission process, when guaranteeing transmission steadiness and the security that the keep-alive is connected, improve data transmission treatment effeciency, with the data handling capacity of solving the current communication transmission field that needs keep-alive for a long time great, keep-alive is connected not firm enough problem.
Example one
Referring to fig. 1, a first embodiment provides a method for setting different basic keep-alive parameters for different data, which can improve effectiveness of parameter setting in a data keep-alive transmission process, and improve transmission efficiency while ensuring effective data transmission.
Specifically, the data processing method comprises the following steps:
step S10, classifying and analyzing the data to be transmitted, respectively carrying out transmission coefficient assignment processing on the classified data, and then carrying out grade division according to the size of the transmission coefficient assignment data; the transmission coefficient assignment is associated with the importance of the corresponding data, and the higher the importance of the transmission data is, the higher the transmission coefficient assignment is correspondingly set;
the step S10 includes the following substeps:
step S101, respectively setting a transmission speed grade and a transmission safety grade for data to be transmitted; the transmission speed grades are respectively set as a first transmission speed grade, a second transmission speed grade and a third transmission speed grade from slow to fast according to the transmission speed; the first transmission speed grade corresponds to the transmission speed of a 3G network in the prior art, the second transmission speed grade corresponds to the transmission speed of a 4G network in the prior art, and the third transmission speed grade corresponds to the transmission speed of a 5G network in the prior art;
the transmission safety level is respectively set as a first transmission safety level, a second transmission safety level and a third transmission safety level from low to high according to the transmission safety requirement; the first transmission safety level, the second transmission safety level and the third transmission level are set according to a specific data processing field and are usually set to be three levels, the three levels can be applied to most of data processing fields, the problem of overlarge data processing amount is avoided while the data classification reasonability is ensured, and the reasonability of the whole data processing is effectively ensured;
specifically, in the field of information protection, there is also a method of adopting five-level security protection classification setting, for example: according to the safety protection grade division rule of the existing computer information system, the safety protection grade of the information system is divided into the following five grades, and the grade from one grade to five grades is gradually increased: first, the information system, when damaged, can harm the legitimate interests of citizens, legal people and other organizations, but not the national security, social order and public interests. The first level information system operation and use unit should be protected according to the relevant national management standard and technical standard. Second, the information system is destroyed, which can seriously damage the lawful rights and interests of citizens, legal people and other organizations, or the social order and public interests, but not the national security. The national information security supervision department guides the security level protection work of the information system of the level. And thirdly, after the information system is damaged, the social order and public interests are seriously damaged, or the national security is damaged. The national information security supervision department supervises and checks the security level protection work of the information system of the level. Fourth, the information system is damaged, which causes serious damage to social order and public interest, or to national security. The national information security supervision department carries out mandatory supervision and inspection on the security level protection work of the information system of the level. And in the fifth level, the information system is damaged, and the national security is seriously damaged. The national information security supervision department carries out special supervision and inspection on the security level protection work of the information system of the level.
Step S102, carrying out assignment processing on data with a transmission speed grade and a transmission safety grade, and respectively endowing the data with a first transmission coefficient, a second transmission coefficient and a third transmission coefficient to the data with a first transmission speed grade, a second transmission speed grade and a third transmission speed grade; the first transmission coefficient is smaller than the second transmission coefficient, and the second transmission coefficient is smaller than the third transmission coefficient; the setting of the transmission coefficient has positive correlation with the speed required by transmission, and the setting of the transmission coefficient can reflect the requirement of the transmitted data on the transmission speed.
Respectively endowing a first safety index, a second safety index and a third safety index to the first transmission safety level, the second transmission safety level and the third transmission safety level which are set; wherein the first safety index is less than the second safety index, and the second safety index is less than the third safety index; the setting of the safety index has positive correlation with the safety level of the transmitted data, and the importance of the transmitted data on the safety level can be reflected through the setting of the safety index.
Step S103, setting a basic importance calculation method of the data, and performing comprehensive calculation on the transmission coefficient and the safety index of the transmitted data to obtain a basic importance reference value of the data; the basic importance calculation method of the data comprises the following steps: obtaining a basic importance reference value by a basic importance calculation formula according to a transmission coefficient and a safety index corresponding to the transmitted data;
wherein the basic importance calculation formula is configured as:
Figure 645886DEST_PATH_IMAGE006
(ii) a Wherein, cjzy is a basic importance reference value, xcs i Respectively expressed as a first transmission coefficient, a second transmission coefficient and a third transmission coefficient; zaq i Respectively expressed as a first safety index, a second safety index and a third safety index; i is 1, 2 or 3, when i is 1, xcs 1 For the first transmission coefficient, zaq 1 Is a first safety index; when i is 2, xcs 2 For the second transmission coefficient, zaq 2 Is a second safety index; when i is 3, xcs 3 For the third transmission coefficient, zaq 3 Is a third safety index; by assigning a security index to the transmission coefficient, different data can be further associated with its transmission and security attributes;
step S104, grading the transmitted data according to the basic importance reference value;
when the basic importance reference value is larger than or equal to a first basic threshold value, dividing the transmitted data into high importance level data; when the basic importance reference value is greater than or equal to a second basic threshold and smaller than a first basic threshold, dividing the transmitted data into medium importance level data; when the base importance reference value is less than a second base threshold value, dividing the transmitted data into low importance level data;
and step S105, performing importance assignment on the data classified in the step S104, and setting a high importance index, a medium importance index and a low importance index for the high importance level data, the medium importance level data and the low importance level data respectively. Wherein the high importance index is greater than the medium importance index, and the medium importance index is greater than the low importance index. One setting mode is as follows: during data transmission, the high importance index, the medium importance index, and the low importance index are set to 3, 2, and 1, respectively.
S20, setting basic keep-alive parameters in the communication transmission process, and transmitting data according to the basic keep-alive parameters; the basic keep-alive parameters correspondingly set by the data with different importance levels are different, and the keep-alive level correspondingly set by the data with high importance levels is higher, so that the protection degree of the data with high importance levels is better, the data with high importance levels can be quickly and stably transmitted, and the artificial intelligence and the reasonability of data transmission are realized.
Referring to fig. 2-4, the step S20 further includes the following sub-steps:
step S201, the set basic keep-alive parameters include: the method comprises the steps of heartbeat packet sending interval duration, heartbeat packet reply interval duration, interruption retransmission interval duration and keep-alive transmission setting level; specifically, in a data transmission process, the data transmission method includes an encryption server and a client, the encryption server and the client are in long connection, and whether encryption operation of the long connection is normal is detected by sending heartbeat packets, so that setting standards of heartbeat packet sending interval duration, heartbeat packet reply interval duration and interruption retransmission interval duration corresponding to data of different importance levels are different; the keep-alive transmission setting level is obtained by converting according to the importance index of the data;
step S202, the keep-alive transmission setting level is set to be a first keep-alive transmission level, a second keep-alive transmission level and a third keep-alive transmission level, the first keep-alive transmission level is higher than the second keep-alive transmission level, and the second keep-alive transmission level is higher than the third keep-alive transmission level; the first keep-alive transmission level, the second keep-alive transmission level and the third keep-alive transmission level respectively correspond to the high importance level data, the medium importance level data and the low importance level data;
a first keep-alive parameter setting method is correspondingly configured in the first keep-alive transmission level, and the first keep-alive parameter setting method comprises the following steps: setting a transmission speed to a first transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a first heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a first heartbeat packet; setting an interrupt retransmission interval duration to a first interrupt retransmission duration;
a second keep-alive parameter setting method is correspondingly configured in the second keep-alive transmission level, and the second keep-alive parameter setting method comprises the following steps: setting the transmission speed to a second transmission speed level; setting the heartbeat packet sending interval duration as a second heartbeat packet sending duration; setting the heartbeat packet reply interval duration as a second heartbeat packet reply duration; setting the interrupt retransmission interval duration to a second interrupt retransmission duration;
a third keep-alive parameter setting method is correspondingly configured in the third keep-alive transmission level, and the third keep-alive parameter setting method comprises the following steps: setting the transmission speed to a third transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a third heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a third heartbeat packet; setting the interrupt retransmission interval duration to a third interrupt retransmission duration;
as shown in fig. 2-4, it can be seen from the diagrams that the interval between the sending of the heartbeat packet and the replying of the heartbeat packet in fig. 2 is smaller than the interval between the sending of the center-hop packet and the replying of the heartbeat packet in fig. 3, the interval between the sending of the heartbeat packet and the replying of the heartbeat packet in fig. 3 is smaller than the interval between the sending of the center-hop packet and the replying of the heartbeat packet in fig. 4, the sending time length of the first heartbeat packet is shorter than the sending time length of the second heartbeat packet, and the sending time length of the second heartbeat packet is shorter than the sending time length of the third heartbeat packet; the first heartbeat packet reply duration is less than the second heartbeat packet reply duration; the reply duration of the second heartbeat packet is less than the reply duration of the third heartbeat packet; the reason why the sending interval duration of the heartbeat packet is set is that the frequency of sending the heartbeat packet for data with high importance level and the interval frequency of replying the heartbeat packet are relatively set to be higher, so that the connection during transmission can be ensured to be always in a normal communication state, and the transmission stability of the data with high importance level is ensured; the first interruption retransmission time length is less than the second interruption retransmission time length which is less than the third interruption retransmission time length; the design can also ensure that the program for retransmission can be quickly started when the transmission of the data with high importance level is interrupted, and further ensure the transmission stability of the data with high importance level.
Example two
Referring to fig. 1, a second embodiment provides a method for detecting an interrupt error during data transmission and adjusting a basic keep-alive parameter in time according to a detection result based on the first embodiment. The method can adjust the transmission related parameters in time according to the interruption errors in the transmission process, improves the intelligence of parameter adjustment in the transmission process, and further improves the stability and safety of the data transmission process.
Specifically, the data processing method further includes step S30, obtaining keep-alive connection interruption data in the data transmission process, and performing error screening according to the keep-alive interruption data; during long-term keep-alive connection, the situation of connection interruption occurs, so that the situation of connection interruption data needs to be screened when long-term keep-alive is needed;
the step S30 further includes the following substeps:
step S301, acquiring interval duration of occurrence conditions of interruption errors, setting the interval duration as interruption interval duration, setting a first packet capturing time period, acquiring log files in the first packet capturing time period, transmitting the acquired log files to an external program screening system for error program screening, and repairing error programs; the first packet capturing time period is greater than the interruption interval duration; for example, the interruption interval duration is 10 minutes, the first packet capturing time period is set to be greater than 10 minutes, preferably to be more than twice as long as the interruption interval duration, for example, 20-30 minutes, so that log files with interruption errors for more than 2 times can be captured, and the screening comparison efficiency of the external program screening system can be improved; the error program screening by the external program screening system adopts a packet capturing analysis method in the prior art to screen.
S40, analyzing the screening result of the keep-alive connection, adjusting basic keep-alive parameters, and reacquiring the keep-alive connection interruption data in the adjusted data transmission process;
the step S40 further includes the following sub-steps:
step S401, firstly, acquiring the keep-alive transmission level of the data to be transmitted;
step S402, when the interruption error occurs again, acquiring the time length of the interruption error, and setting the time length to be the adjusted interruption time length; continuously acquiring the adjusted interruption time of the first detection number;
step S403, substituting the adjusted interruption duration and the interruption interval duration of the first detection number into an interruption level calculation formula to obtain an interruption adjustment coefficient;
the interrupt level calculation formula is configured to:
Figure DEST_PATH_IMAGE007
(ii) a Wherein Xzdt is an interruption adjustment coefficient, ttz1 to Ttzi are respectively the adjusted interruption duration of the first detection data, and Tzdj is the interruption interval duration; the relevance between the subsequently-occurring interruption error and the first-occurring interruption error can be obtained through the interruption grade calculation formula, and the larger the interruption adjustment coefficient is, the smaller the relevance is indicated.
S50, comprehensively analyzing the keep-alive connection interruption data in the multiple groups of adjusted data transmission processes to obtain an intelligent adjustment result, wherein the intelligent adjustment result comprises keep-alive adjustment parameters and an adjustment method in the communication transmission process;
the step S50 further includes the following sub-steps:
step S501, when the interruption adjustment coefficient is greater than or equal to a first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is a first keep-alive transmission level, comprehensively calculating a heartbeat packet sending interval time, a heartbeat packet reply interval time and an interruption retransmission interval time corresponding to the data of the first keep-alive transmission level and the interruption adjustment coefficient respectively, and calculating the heartbeat packet sending adjustment interval time, the heartbeat packet reply adjustment interval time and the interruption retransmission adjustment interval time respectively through a heartbeat packet sending adjustment calculation formula, a heartbeat packet reply adjustment calculation formula and an interruption retransmission adjustment calculation formula to obtain the heartbeat packet sending adjustment interval time, the heartbeat packet reply adjustment interval time and the interruption retransmission adjustment interval time;
the heartbeat packet transmission adjustment calculation formula is configured as:
Figure 127814DEST_PATH_IMAGE008
(ii) a Wherein, txft is the heartbeat packet sending adjustment interval duration, txtf is the heartbeat packet sending interval duration, a1 is a heartbeat packet sending interval reduction coefficient, the value of a1 is greater than zero, and the heartbeat packet reply adjustment calculation formula is configured as:
Figure DEST_PATH_IMAGE009
(ii) a Txht is the heartbeat packet reply adjustment interval duration, txth is the heartbeat packet reply interval duration, a2 is the heartbeat packet reply interval reduction coefficient, the value of s2 is greater than zero, the interruption retransmission adjustment calculation formula is configured as:
Figure 730965DEST_PATH_IMAGE010
(ii) a Tzdt is the interruption retransmission adjustment interval duration, tzdj is the interruption retransmission interval duration, a3 is the interruption retransmission interval reduction coefficient, and the value of a3 is greater than zero.
When the interruption adjustment coefficient is greater than or equal to the first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is the second keep-alive transmission level or the third keep-alive transmission level, adjusting the keep-alive transmission level of the data to be transmitted to be the first keep-alive transmission level;
when the interruption adjustment coefficient is greater than or equal to the first terminal adjustment threshold, the time length fluctuation of the interruption interval is large, so in the adjustment mode, the basic keep-alive parameters of the data of the first keep-alive transmission level need to be refined further, the data of the second keep-alive transmission level and the data of the third keep-alive level are directly promoted to the first keep-alive transmission level, and the stability of data transmission after adjustment can be ensured as much as possible.
Step S502, when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, and the keep-alive transmission level of the data needing to be transmitted is the first keep-alive transmission level, the data of the first keep-alive transmission level is not adjusted by the basic keep-alive parameters;
when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and less than the first terminal adjustment threshold, and the keep-alive transmission level of the data needing to be transmitted is a second keep-alive transmission level or a third keep-alive transmission level, adjusting the data of the second keep-alive transmission level to be a first keep-alive transmission level, and adjusting the data of the third keep-alive transmission level to be a second keep-alive transmission level;
when the interruption adjustment coefficient is larger than the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, the time length fluctuation of the interruption interval is not large compared with the first time, therefore, in the adjustment mode, because the setting of the basic keep-alive parameters of the data of the first keep-alive transmission level belongs to the setting mode of a higher level, the data of the first keep-alive transmission level is not adjusted, the data of the second keep-alive transmission level and the data of the third keep-alive level are only subjected to one-level lifting adjustment, and the transmission efficiency can be ensured on the basis of ensuring the stable transmission after the adjustment.
And step S503, when the interruption adjustment coefficient is smaller than the second terminal adjustment threshold, the data of the first keep-alive transmission level, the second keep-alive transmission level and the third keep-alive transmission level are not adjusted by the basic keep-alive parameters. When the interruption adjustment coefficient is smaller than the second terminal adjustment threshold, it is proved that the interruption problem is similar to the problem occurring in the first interruption, and the screening and repairing method of step S301 needs to be adopted for repairing.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments within the technical scope of the present disclosure, or equivalent substitutes for some technical features; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. The data processing method of the new generation mobile communication long-term keep-alive based on artificial intelligence is characterized by comprising the following steps:
step S10, classifying and analyzing the data to be transmitted, respectively carrying out transmission coefficient assignment processing on the classified data, and then carrying out grade division according to the size of the transmission coefficient assignment data;
s20, setting basic keep-alive parameters in the communication transmission process, and transmitting data according to the basic keep-alive parameters;
s30, acquiring keep-alive connection interruption data in the data transmission process, and carrying out error screening according to the keep-alive interruption data;
s40, analyzing the screening result of the keep-alive connection, adjusting basic keep-alive parameters, and reacquiring the keep-alive connection interruption data in the adjusted data transmission process;
and S50, comprehensively analyzing the keep-alive connection interruption data in the multi-group adjusted data transmission process to obtain an intelligent adjustment result.
2. The artificial intelligence based new-generation mobile communication long-term keep-alive data processing method according to claim 1, wherein the step S10 comprises the following sub-steps:
step S101, respectively setting a transmission speed grade and a transmission safety grade for data to be transmitted; the transmission speed grades are respectively set as a first transmission speed grade, a second transmission speed grade and a third transmission speed grade from slow to fast according to the transmission speed;
the transmission safety level is respectively set as a first transmission safety level, a second transmission safety level and a third transmission safety level from low to high according to the transmission safety requirement;
step S102, carrying out assignment processing on data with a transmission speed grade and a transmission safety grade, and respectively endowing the data with a first transmission coefficient, a second transmission coefficient and a third transmission coefficient to the data with a first transmission speed grade, a second transmission speed grade and a third transmission speed grade;
respectively endowing a first safety index, a second safety index and a third safety index to the first transmission safety level, the second transmission safety level and the third transmission safety level which are set;
step S103, setting a basic importance calculation method of the data, and performing comprehensive calculation on the transmission coefficient and the safety index of the transmitted data to obtain a basic importance reference value of the data; the basic importance calculation method of the data comprises the following steps: obtaining a basic importance reference value by a basic importance calculation formula according to a transmission coefficient and a safety index corresponding to the transmitted data;
step S104, grading the transmitted data according to the basic importance reference value;
when the basic importance reference value is greater than or equal to a first basic threshold value, dividing the transmitted data into high importance level data; when the basic importance reference value is greater than or equal to a second basic threshold and smaller than a first basic threshold, dividing the transmitted data into medium importance level data; when the base importance reference value is less than a second base threshold value, dividing the transmitted data into low importance level data;
and step S105, performing importance assignment on the data classified in the step S104, and setting a high importance index, a medium importance index and a low importance index for the high importance level data, the medium importance level data and the low importance level data respectively.
3. The artificial intelligence based new-generation mobile communication long-term keep-alive data processing method according to claim 2, wherein the step S20 further comprises the following sub-steps:
step S201, the set basic keep-alive parameters include: the method comprises the steps of heartbeat packet sending interval duration, heartbeat packet reply interval duration, interruption retransmission interval duration and keep-alive transmission setting level;
step S202, the keep-alive transmission setting level is set to be a first keep-alive transmission level, a second keep-alive transmission level and a third keep-alive transmission level, the first keep-alive transmission level is higher than the second keep-alive transmission level, and the second keep-alive transmission level is higher than the third keep-alive transmission level;
a first keep-alive parameter setting method is correspondingly configured in the first keep-alive transmission level, and the first keep-alive parameter setting method comprises the following steps: setting a transmission speed to a first transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a first heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a first heartbeat packet; setting an interrupt retransmission interval duration to a first interrupt retransmission duration;
a second keep-alive parameter setting method is correspondingly configured in the second keep-alive transmission level, and the second keep-alive parameter setting method comprises the following steps: setting the transmission speed to a second transmission speed level; setting the heartbeat packet sending interval duration as a second heartbeat packet sending duration; setting the heartbeat packet reply interval duration as a second heartbeat packet reply duration; setting the interrupt retransmission interval duration to a second interrupt retransmission duration;
a third keep-alive parameter setting method is correspondingly configured in the third keep-alive transmission level, and the third keep-alive parameter setting method comprises the following steps: setting the transmission speed to a third transmission speed level; setting the sending interval duration of the heartbeat packets as the sending duration of a third heartbeat packet; setting the reply interval duration of the heartbeat packet as the reply duration of a third heartbeat packet; the interrupt retransmission interval duration is set to a third interrupt retransmission duration.
4. The artificial intelligence based new-generation mobile communication long-term keep-alive data processing method according to claim 3, wherein the step S30 further comprises the following sub-steps:
step S301, obtaining interval duration of occurrence conditions of interruption errors, setting the interval duration as interruption interval duration, setting a first packet capturing time period, obtaining log files in the first packet capturing time period, transmitting the obtained log files to an external program screening system for error program screening, and repairing error programs.
5. The artificial intelligence based new-generation mobile communication long-term keep-alive data processing method according to claim 4, wherein the step S40 further comprises the following sub-steps:
step S401, firstly, acquiring the keep-alive transmission level of the data to be transmitted;
step S402, when the interruption error occurs again, acquiring the time length of the interruption error, and setting the time length to be the adjusted interruption time length; continuously acquiring the adjusted interruption time of the first detection number;
and step S403, substituting the adjusted interruption time length and the interruption interval time length of the first detection number into an interruption level calculation formula to obtain an interruption adjustment coefficient.
6. The artificial intelligence based new-generation mobile communication long-term keep-alive data processing method according to claim 5, wherein the step S50 further comprises the following sub-steps:
step S501, when the interruption adjustment coefficient is greater than or equal to a first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is a first keep-alive transmission level, comprehensively calculating the heartbeat packet sending interval duration, the heartbeat packet reply interval duration and the interruption retransmission interval duration corresponding to the data of the first keep-alive transmission level and the interruption adjustment coefficient respectively, and calculating the heartbeat packet sending adjustment interval duration, the heartbeat packet reply adjustment interval duration and the interruption retransmission adjustment interval duration respectively through a heartbeat packet sending adjustment calculation formula, a heartbeat packet reply adjustment calculation formula and an interruption retransmission adjustment calculation formula;
and when the interruption adjustment coefficient is greater than or equal to the first interruption adjustment threshold value and the keep-alive transmission level of the data to be transmitted is the second keep-alive transmission level or the third keep-alive transmission level, adjusting the keep-alive transmission level of the data to be transmitted to be the first keep-alive transmission level.
7. The method for processing the new generation mobile communication long-term keep-alive data based on the artificial intelligence, as claimed in claim 6, wherein the step S50 further comprises a step S502, and the step S502 comprises: when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, and the keep-alive transmission level of the data needing to be transmitted is the first keep-alive transmission level, the data of the first keep-alive transmission level is not adjusted by the basic keep-alive parameters;
when the interruption adjustment coefficient is greater than or equal to the second terminal adjustment threshold and smaller than the first terminal adjustment threshold, and the keep-alive transmission level of the data to be transmitted is the second keep-alive transmission level or the third keep-alive transmission level, adjusting the data of the second keep-alive transmission level to the first keep-alive transmission level, and adjusting the data of the third keep-alive transmission level to the second keep-alive transmission level.
8. The method for processing the new generation mobile communication long-term keep-alive data based on the artificial intelligence, according to claim 7, wherein the step S50 further includes a step S503, and the step S503 includes: and when the interruption adjustment coefficient is smaller than the second terminal adjustment threshold, the data of the first keep-alive transmission level, the data of the second keep-alive transmission level and the data of the third keep-alive transmission level are not adjusted according to the basic keep-alive parameters.
CN202211125310.7A 2022-09-16 2022-09-16 Data processing method for long-term alive-keeping of new-generation mobile communication based on artificial intelligence Active CN115209478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211125310.7A CN115209478B (en) 2022-09-16 2022-09-16 Data processing method for long-term alive-keeping of new-generation mobile communication based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211125310.7A CN115209478B (en) 2022-09-16 2022-09-16 Data processing method for long-term alive-keeping of new-generation mobile communication based on artificial intelligence

Publications (2)

Publication Number Publication Date
CN115209478A true CN115209478A (en) 2022-10-18
CN115209478B CN115209478B (en) 2022-11-25

Family

ID=83572664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211125310.7A Active CN115209478B (en) 2022-09-16 2022-09-16 Data processing method for long-term alive-keeping of new-generation mobile communication based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN115209478B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633673A (en) * 2023-06-29 2023-08-22 北京东华博泰科技有限公司 Data safety transmission system for comprehensive energy platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297461A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Setting method of NAT conversation keep-alive time duration and client-side and server
CN106789394A (en) * 2016-11-18 2017-05-31 上海斐讯数据通信技术有限公司 A kind of connection server keep Alive Packet control method long and system
US20170208134A1 (en) * 2016-01-19 2017-07-20 Comcast Cable Communications, Llc Connection Manager
CN112860408A (en) * 2021-03-03 2021-05-28 苏州沁游网络科技有限公司 Process keep-alive method, device and system in cloud reality machine and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297461A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Setting method of NAT conversation keep-alive time duration and client-side and server
US20170208134A1 (en) * 2016-01-19 2017-07-20 Comcast Cable Communications, Llc Connection Manager
CN106789394A (en) * 2016-11-18 2017-05-31 上海斐讯数据通信技术有限公司 A kind of connection server keep Alive Packet control method long and system
CN112860408A (en) * 2021-03-03 2021-05-28 苏州沁游网络科技有限公司 Process keep-alive method, device and system in cloud reality machine and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633673A (en) * 2023-06-29 2023-08-22 北京东华博泰科技有限公司 Data safety transmission system for comprehensive energy platform
CN116633673B (en) * 2023-06-29 2023-10-27 北京东华博泰科技有限公司 Data safety transmission system for comprehensive energy platform

Also Published As

Publication number Publication date
CN115209478B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US11621975B2 (en) Prioritizing vulnerability scan results
US10979391B2 (en) Cyber threat attenuation using multi-source threat data analysis
CN116488939B (en) Computer information security monitoring method, system and storage medium
CN109660539B (en) Method and device for identifying defect-losing equipment, electronic equipment and storage medium
CN109617885B (en) Attack and subsidence host automatic judgment method and device, electronic equipment and storage medium
US10187416B2 (en) Device activity and data traffic signature-based detection of mobile device health
CN112511512A (en) Vulnerability scanning engine and risk management system of threat detection engine
WO2023216641A1 (en) Security protection method and system for power terminal
CN106961450A (en) Safety defense method, terminal, cloud server and safety defense system
CN115209478B (en) Data processing method for long-term alive-keeping of new-generation mobile communication based on artificial intelligence
US8528090B2 (en) Systems and methods for creating customized confidence bands for use in malware detection
CN113518057B (en) Method and device for detecting distributed denial of service attack and computer equipment thereof
CN113783845B (en) Method and device for determining risk level of instance on cloud server, electronic equipment and storage medium
US11252184B2 (en) Anti-attack data transmission method and device
US11228614B1 (en) Automated management of security operations centers
US10868782B2 (en) System for flagging data transmissions for retention of metadata and triggering appropriate transmission placement
CN108093078B (en) Safe document circulation method
US20240022583A1 (en) Data Collection Management
US20230412630A1 (en) Methods and systems for asset risk determination and utilization for threat mitigation
CN114726766B (en) Fingerprint early warning implementation method, system, medium and equipment based on FTP service monitoring
JP5609586B2 (en) Evaluation value management apparatus, evaluation value management program, and inter-terminal connection control system
CN114978866B (en) Detection method, detection device and electronic equipment
US20230412631A1 (en) Methods and systems for system vulnerability determination and utilization for threat mitigation
CN115664726A (en) Malicious beacon communication detection method and device
CN117729030A (en) Network scanning detection method and system based on self-adaptive sliding window

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