CN117061485A - Communication line verification method for dynamic IP - Google Patents

Communication line verification method for dynamic IP Download PDF

Info

Publication number
CN117061485A
CN117061485A CN202311319026.8A CN202311319026A CN117061485A CN 117061485 A CN117061485 A CN 117061485A CN 202311319026 A CN202311319026 A CN 202311319026A CN 117061485 A CN117061485 A CN 117061485A
Authority
CN
China
Prior art keywords
dynamic
communication line
time
real
address
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
CN202311319026.8A
Other languages
Chinese (zh)
Other versions
CN117061485B (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.)
Guangdong Guangyu Technology Development Co Ltd
Original Assignee
Guangdong Guangyu Technology Development 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 Guangdong Guangyu Technology Development Co Ltd filed Critical Guangdong Guangyu Technology Development Co Ltd
Priority to CN202311319026.8A priority Critical patent/CN117061485B/en
Publication of CN117061485A publication Critical patent/CN117061485A/en
Application granted granted Critical
Publication of CN117061485B publication Critical patent/CN117061485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to the field of communication verification of dynamic IP, in particular to a communication line verification method for dynamic IP, which comprises the following steps: s1, acquiring a real-time communication line state corresponding to a dynamic IP; s2, obtaining a real-time verification result by utilizing the state of the real-time communication line corresponding to the dynamic IP; s3, the communication line verification result of the dynamic IP is obtained by utilizing the state of the communication line corresponding to the real-time communication line and the real-time verification result, verification of the dynamic IP and the communication line are combined and crossed, the rationality and verification accuracy of scheme implementation are guaranteed, meanwhile, line rechecking is creatively provided in the line verification step, and data are extracted again for secondary independent processing on the basis of not influencing the communication line, so that high output of the result is guaranteed.

Description

Communication line verification method for dynamic IP
Technical Field
The application relates to the field of communication verification of dynamic IP, in particular to a communication line verification method for dynamic IP.
Background
The dynamic IP is dynamic IP (Dynamic IP), that is, the random IP address is allocated when needed, although the allocation of the dynamic IP satisfies the DHCP protocol, the state of the corresponding communication line cannot be obtained by simply relying on the protocol using process or the IP allocation result, and under the condition that the verification that the allocation of the dynamic IP and the verification corresponding to the subsequent line need not affect the normal communication as much as possible, the allocation rationality of the dynamic IP is checked to the greatest extent, and under the condition that the IP allocation protocol is satisfied, the real-time state of the communication line is reversely deduced by using the dynamic IP. Thus, there is a need for a communication line for dynamic IP that incorporates a viable approach to IP allocation protocols.
Disclosure of Invention
Aiming at the defects of the prior art, the application provides a communication line verification method for dynamic IP, which improves verification accuracy and reduces interference to lines as much as possible by cross processing and verification of IP addresses and communication lines.
To achieve the above object, the present application provides a communication line authentication method for dynamic IP, comprising:
s1, acquiring a real-time communication line state corresponding to a dynamic IP;
s2, obtaining a real-time verification result by utilizing the state of the real-time communication line corresponding to the dynamic IP;
s3, obtaining a communication line verification result of the dynamic IP by utilizing the state of the communication line corresponding to the dynamic IP and the real-time verification result.
Preferably, the acquiring the real-time communication line state corresponding to the dynamic IP includes:
s1-1, acquiring a dynamic IP and a hardware port attribute corresponding to the dynamic IP;
s1-2, acquiring a communication end address corresponding to the dynamic IP by using the dynamic IP as a communication end fixed address;
s1-3, obtaining the real-time communication line state corresponding to the dynamic IP by utilizing the dynamic IP and the communication end address.
Further, the obtaining the address of the communication end corresponding to the dynamic IP as the fixed address of the communication end includes:
s1-2-1, judging whether the communication end address corresponding to the dynamic IP is a static IP, if so, using the communication end address corresponding to the dynamic IP as a communication end fixed address, otherwise, using the communication end address corresponding to the dynamic IP at the current moment t as the communication end fixed address.
Further, the obtaining the real-time communication line state corresponding to the dynamic IP by using the dynamic IP and the fixed address of the communication end includes:
s1-3-1, acquiring a dynamic IP allocation state of hardware corresponding to the dynamic IP;
s1-3-2, obtaining the real-time communication line state corresponding to the dynamic IP according to the dynamic IP allocation state and the fixed address of the communication end.
Further, the obtaining the dynamic IP allocation status of the hardware corresponding to the dynamic IP includes:
s1-3-1-1, judging whether the dynamic IP meets a DHCP protocol, if yes, executing S1-3-1-2, otherwise, returning to S1-1 when the dynamic IP has an error;
s1-3-1-2, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP and the current dynamic IP have repeated conditions, if so, the dynamic IP allocation state is normal circulation, otherwise, executing S1-3-1-3;
s1-3-1-3, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP corresponds to the current dynamic IP, if so, the dynamic IP allocation state is newly added normally, and if not, the dynamic IP allocation state is abnormal.
Further, obtaining the real-time communication line state corresponding to the dynamic IP according to the dynamic IP allocation state and the communication end address includes:
when the dynamic IP allocation state is circulation normal, the state of the real-time communication line corresponding to the dynamic IP is normal;
when the dynamic IP allocation state is newly added and normal, judging the current time t 1 If the fixed address of the communication end corresponding to the dynamic IP allocation state is the same as the fixed address of the communication end corresponding to the dynamic IP allocation state at the last time, if so, the state of the real-time communication line corresponding to the dynamic IP is normal, otherwise, returning to S1-2-1;
when the dynamic IP allocation state is abnormal, the state of the real-time communication line corresponding to the dynamic IP is abnormal, and the processing is abandoned;
wherein t is 1 At different times from t, t 1 Later than t.
Preferably, obtaining the real-time verification result by using the dynamic IP to correspond to the real-time communication line state includes:
s2-1, when the state of the real-time communication line corresponding to the dynamic IP is normal, establishing a virtual two-way communication line according to the real-time communication line;
s2-2, judging the time t to the current time t n If the dynamic IP addresses are all non-test addresses, executing S2-3, otherwise, acquiring the corresponding time of the test addresses as the communication line test time;
s2-3, judging the current time t n+1 If the dynamic IP and the fixed address of the communication end corresponding to the dynamic IP are the same, the current time t is the same n If the dynamic IP is abnormal, executing S2-4;
s2-4, judging the current time t n+2 If the dynamic IP of the terminal is corresponding to the fixed address of the communication terminal corresponding to the dynamic IP from the moment t, if so, the current moment t n The result of the real-time verification of the dynamic IP of (a) is that the real-time verification is temporary without abnormality, otherwise, the current time t n The real-time verification result of the dynamic IP of the corresponding exception;
the test address is a reserved address, which ranges from 127.0.0.0 to 127.255.255.255.
Further, the obtaining the communication line verification result of the dynamic IP by using the state of the dynamic IP corresponding to the real-time communication line and the real-time verification result includes:
s3-1, judging whether the real-time verification result is temporarily abnormal, if so, respectively establishing a first virtual communication line and a second virtual communication line according to the state of the real-time communication line corresponding to the dynamic IP and the communication line corresponding to the real-time verification result, and executing S3-2, otherwise, executing the communication line rechecking process;
s3-2, judging whether the first virtual communication line corresponds to the second virtual communication line, if so, executing S3-3, otherwise, executing communication line rechecking processing;
s3-3, obtaining a communication line verification result of the dynamic IP by utilizing the first virtual communication line and the second virtual communication line;
the first virtual communication line is the same as the communication line corresponding to the state of the real-time communication line by the dynamic IP, the second virtual communication line is the same as the communication line corresponding to the real-time verification result, and the first virtual communication line and the second virtual communication line are mutually independent.
Further, the communication line rechecking process includes:
s3-2-1, obtaining t time to t n The dynamic IP at the moment is used as an initial standard template IP set;
s3-2-2, removing test addresses in the initial standard template IP to obtain a standard template IP set;
s3-2-3, acquiring a communication end fixed address corresponding to each element in the standard template IP set as a reinspection verification address;
s3-2-4, judging the time t to t n The communication terminal fixed address and the recheck verification address at the moment are corresponding, if yes, S3-3 is executed, otherwise S3-2-5 is executed;
s3-2-5, judging the time from t to t in the recheck verification address n Whether dynamic IP (Internet protocol) of which fixed address of communication end at moment does not correspond to t n If yes, the communication line rechecking processing fails, and the processing is abandoned, otherwise, the rechecking verification address is removed from the time t to the time t n Returning to S3-2-4 after the communication terminal fixes the dynamic IP corresponding to the address at the moment;
wherein t is n At different times from t, t n Later than t.
Further, the obtaining the communication line verification result of the dynamic IP by using the first virtual communication line and the second virtual communication line includes:
s3-3-1, judging whether the IP of the fixed end address of the non-communication line in the first virtual communication line is completely consistent with the allocation process of the dynamic IP corresponding to the real-time verification result, if so, executing S3-3-2, otherwise, returning to S1-3-1-1;
s3-3-2 judges whether the distribution process of the IP of the fixed end address of the non-communication line in the second virtual communication line and the dynamic IP corresponding to the state of the real-time communication line are completely consistent, if yes, the communication line verification result of the dynamic IP is normal, and if not, the S1-3-1-1 is returned.
Compared with the closest prior art, the application has the following beneficial effects:
firstly, carrying out batch verification on the dynamic IP at different times, and using a preliminary verification result for subsequent rechecking verification to obtain a final verification result, obtaining the real-time state of a communication line by time sharing in the preliminary verification of the dynamic IP to reversely push the distribution rationality of the dynamic IP, carrying out line state reversely pushing by using the dynamic IP with reasonable preamble confirmation in the verification of the subsequent communication line, mutually combining and crossing the verification of the dynamic IP and the communication line, ensuring the rationality and the verification accuracy of scheme implementation, simultaneously creatively providing line rechecking in the line verification step, picking data again to carry out secondary independent processing on the basis of not influencing the communication line, and ensuring the high output of the result.
Drawings
Fig. 1 is a flowchart of a communication line verification method for dynamic IP according to the present application.
Detailed Description
The following describes the embodiments of the present application in further detail with reference to the drawings.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Example 1: the application provides a communication line verification method for dynamic IP, as shown in figure 1, comprising the following steps:
s1, acquiring a real-time communication line state corresponding to a dynamic IP;
s2, obtaining a real-time verification result by utilizing the state of the real-time communication line corresponding to the dynamic IP;
s3, obtaining a communication line verification result of the dynamic IP by utilizing the state of the communication line corresponding to the dynamic IP and the real-time verification result.
S1 specifically comprises:
s1-1, acquiring a dynamic IP and a hardware port attribute corresponding to the dynamic IP;
s1-2, acquiring a communication end address corresponding to the dynamic IP by using the dynamic IP as a communication end fixed address;
s1-3, obtaining the real-time communication line state corresponding to the dynamic IP by utilizing the dynamic IP and the communication end address.
S1-2 specifically comprises:
s1-2-1, judging whether the communication end address corresponding to the dynamic IP is a static IP, if so, using the communication end address corresponding to the dynamic IP as a communication end fixed address, otherwise, using the communication end address corresponding to the dynamic IP at the current moment t as the communication end fixed address.
S1-3 specifically comprises:
s1-3-1, acquiring a dynamic IP allocation state of hardware corresponding to the dynamic IP;
s1-3-2, obtaining the real-time communication line state corresponding to the dynamic IP according to the dynamic IP allocation state and the fixed address of the communication end.
S1-3-1 specifically comprises:
s1-3-1-1, judging whether the dynamic IP meets a DHCP protocol, if yes, executing S1-3-1-2, otherwise, returning to S1-1 when the dynamic IP has an error;
s1-3-1-2, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP and the current dynamic IP have repeated conditions, if so, the dynamic IP allocation state is normal circulation, otherwise, executing S1-3-1-3;
s1-3-1-3, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP corresponds to the current dynamic IP, if so, the dynamic IP allocation state is newly added normally, and if not, the dynamic IP allocation state is abnormal.
In this embodiment, a communication line verification method for dynamic IP performs preliminary rationality judgment on the dynamic IP by judging that the dynamic IP conforms to a DHCP protocol, where DHCP (Dynamic Host Configuration Protocol), a dynamic host configuration protocol is an application layer protocol. When the host IP address is set to be in a dynamic acquisition mode, the DHCP server allocates the IP according to a DHCP protocol.
S1-3-2 specifically comprises:
s1-3-2-1, when the dynamic IP allocation state is circulation normal, the state of the real-time communication line corresponding to the dynamic IP is normal;
s1-3-2-2, judging the current time t when the dynamic IP allocation state is newly added normally 1 If the fixed address of the communication end corresponding to the dynamic IP allocation state is the same as the fixed address of the communication end corresponding to the dynamic IP allocation state at the last time, if so, the state of the real-time communication line corresponding to the dynamic IP is normal, otherwise, returning to S1-2-1;
s1-3-2-3, when the dynamic IP allocation state is abnormal, the state of the dynamic IP corresponding real-time communication line is abnormal, and the processing is abandoned;
wherein t is 1 At different times from t, t 1 Later than t.
S2 specifically comprises:
s2-1, when the state of the real-time communication line corresponding to the dynamic IP is normal, establishing a virtual two-way communication line according to the real-time communication line;
s2-2, judging the time t to the current time t n If the dynamic IP addresses are all non-test addresses, executing S2-3, otherwise, acquiring the corresponding time of the test addresses as the communication line test time;
s2-3, judging the current time t n+1 If the dynamic IP and the fixed address of the communication end corresponding to the dynamic IP are the same, the current time t is the same n If the dynamic IP is abnormal, executing S2-4;
s2-4, judging the current time t n+2 If the dynamic IP of the terminal is corresponding to the fixed address of the communication terminal corresponding to the dynamic IP from the moment t, if so, the current moment t n The result of the real-time verification of the dynamic IP of (a) is that the real-time verification is temporarily abnormal, otherwise, the current momentt n The real-time verification result of the dynamic IP of the corresponding exception;
the test address is a reserved address, which ranges from 127.0.0.0 to 127.255.255.255.
In this embodiment, a communication line verification method for dynamic IP is provided, where the time t is t and the time t is t n+1 Time and t n+2 The time is adjacent in turn, in addition, the judging principle in S2-2 to S2-4 is based on that the dynamic IP and the corresponding public network IP address cannot be the same, meanwhile, the test address is a non-A, B, C, D, E address, wherein A, B, C is general purpose, D, E is special purpose, and the A address range is: 1.0.0.1-126.225.255.254, class b address range: 128.0.0.1-191.255.255.254, class C address range: 192.0.0.1-223.255.255.254, class d address range: 224.0.0.0-239.255.255.255, class e address range: 240.0.0.0-247.255.255.255, the test address is located between the A-class address and the B-class address, and is usually used for loop test without occupation, so that the test address can be used as the test address for screening in the scheme.
S3 specifically comprises:
s3-1, judging whether the real-time verification result is temporarily abnormal, if so, respectively establishing a first virtual communication line and a second virtual communication line according to the state of the real-time communication line corresponding to the dynamic IP and the communication line corresponding to the real-time verification result, and executing S3-2, otherwise, executing the communication line rechecking process;
s3-2, judging whether the first virtual communication line corresponds to the second virtual communication line, if so, executing S3-3, otherwise, executing communication line rechecking processing;
s3-3, obtaining a communication line verification result of the dynamic IP by utilizing the first virtual communication line and the second virtual communication line;
the first virtual communication line is the same as the communication line corresponding to the state of the real-time communication line by the dynamic IP, the second virtual communication line is the same as the communication line corresponding to the real-time verification result, and the first virtual communication line and the second virtual communication line are mutually independent.
S3-2 specifically comprises:
s3-2-1, obtaining t time to t n Time of dayAs an initial standard template IP set;
s3-2-2, removing test addresses in the initial standard template IP to obtain a standard template IP set;
s3-2-3, acquiring a communication end fixed address corresponding to each element in the standard template IP set as a reinspection verification address;
s3-2-4, judging the time t to t n The communication terminal fixed address and the recheck verification address at the moment are corresponding, if yes, S3-3 is executed, otherwise S3-2-5 is executed;
s3-2-5, judging the time from t to t in the recheck verification address n Whether dynamic IP (Internet protocol) of which fixed address of communication end at moment does not correspond to t n If yes, the communication line rechecking processing fails, and the processing is abandoned, otherwise, the rechecking verification address is removed from the time t to the time t n Returning to S3-2-4 after the communication terminal fixes the dynamic IP corresponding to the address at the moment;
wherein t is n At different times from t, t n Later than t.
S3-3 specifically comprises:
s3-3-1, judging whether the IP of the fixed end address of the non-communication line in the first virtual communication line is completely consistent with the allocation process of the dynamic IP corresponding to the real-time verification result, if so, executing S3-3-2, otherwise, returning to S1-3-1-1;
s3-3-2 judges whether the distribution process of the IP of the fixed end address of the non-communication line in the second virtual communication line and the dynamic IP corresponding to the state of the real-time communication line are completely consistent, if yes, the communication line verification result of the dynamic IP is normal, and if not, the S1-3-1-1 is returned.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present application and not for limiting the same, and although the present application has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the application without departing from the spirit and scope of the application, which is intended to be covered by the claims.

Claims (10)

1. A communication line authentication method for dynamic IP, comprising:
s1, acquiring a real-time communication line state corresponding to a dynamic IP;
s2, obtaining a real-time verification result by utilizing the state of the real-time communication line corresponding to the dynamic IP;
s3, obtaining a communication line verification result of the dynamic IP by utilizing the state of the communication line corresponding to the dynamic IP and the real-time verification result.
2. The communication line verification method for dynamic IP as claimed in claim 1, wherein said acquiring the dynamic IP corresponding real-time communication line status comprises:
s1-1, acquiring a dynamic IP and a hardware port attribute corresponding to the dynamic IP;
s1-2, acquiring a communication end address corresponding to the dynamic IP by using the dynamic IP as a communication end fixed address;
s1-3, obtaining the real-time communication line state corresponding to the dynamic IP by utilizing the dynamic IP and the communication end address.
3. The communication line authentication method for dynamic IP as claimed in claim 2, wherein obtaining the communication terminal address corresponding thereto as the communication terminal fixed address using the dynamic IP comprises:
s1-2-1, judging whether the communication end address corresponding to the dynamic IP is a static IP, if so, using the communication end address corresponding to the dynamic IP as a communication end fixed address, otherwise, using the communication end address corresponding to the dynamic IP at the current moment t as the communication end fixed address.
4. The communication line verification method for dynamic IP as claimed in claim 2, wherein obtaining the state of the communication line corresponding to the dynamic IP using the dynamic IP and the communication end address comprises:
s1-3-1, acquiring a dynamic IP allocation state of hardware corresponding to the dynamic IP;
s1-3-2, obtaining the real-time communication line state corresponding to the dynamic IP according to the dynamic IP allocation state and the fixed address of the communication end.
5. The communication line verification method for dynamic IP as claimed in claim 4, wherein said acquiring the dynamic IP allocation status of the corresponding hardware of the dynamic IP comprises:
s1-3-1-1, judging whether the dynamic IP meets a DHCP protocol, if yes, executing S1-3-1-2, otherwise, returning to S1-1 when the dynamic IP has an error;
s1-3-1-2, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP and the current dynamic IP have repeated conditions, if so, the dynamic IP allocation state is normal circulation, otherwise, executing S1-3-1-3;
s1-3-1-3, judging whether the historical dynamic IP of the hardware corresponding to the dynamic IP corresponds to the current dynamic IP, if so, the dynamic IP allocation state is newly added normally, and if not, the dynamic IP allocation state is abnormal.
6. The communication line verification method for dynamic IP as claimed in claim 5, wherein obtaining the dynamic IP corresponding real-time communication line status according to the dynamic IP allocation status and the communication end address comprises:
when the dynamic IP allocation state is circulation normal, the state of the real-time communication line corresponding to the dynamic IP is normal;
when the dynamic IP allocation state is newly added and normal, judging the current time t 1 If the fixed address of the communication end corresponding to the dynamic IP allocation state is the same as the fixed address of the communication end corresponding to the dynamic IP allocation state at the last time, if so, the state of the real-time communication line corresponding to the dynamic IP is normal, otherwise, returning to S1-2-1;
when the dynamic IP allocation state is abnormal, the state of the real-time communication line corresponding to the dynamic IP is abnormal, and the processing is abandoned;
wherein t is 1 At different times from t, t 1 Later than t.
7. The communication line verification method for dynamic IP as claimed in claim 1, wherein obtaining a real-time verification result using the dynamic IP corresponding to a real-time communication line state comprises:
s2-1, when the state of the real-time communication line corresponding to the dynamic IP is normal, establishing a virtual two-way communication line according to the real-time communication line;
s2-2, judging the time t to the current time t n If the dynamic IP addresses are all non-test addresses, executing S2-3, otherwise, acquiring the corresponding time of the test addresses as the communication line test time;
s2-3, judging the current time t n+1 If the dynamic IP and the fixed address of the communication end corresponding to the dynamic IP are the same, the current time t is the same n If the dynamic IP is abnormal, executing S2-4;
s2-4, judging the current time t n+2 If the dynamic IP of the terminal is corresponding to the fixed address of the communication terminal corresponding to the dynamic IP from the moment t, if so, the current moment t n The result of the real-time verification of the dynamic IP of (a) is that the real-time verification is temporary without abnormality, otherwise, the current time t n The real-time verification result of the dynamic IP of the corresponding exception;
the test address is a reserved address, which ranges from 127.0.0.0 to 127.255.255.255.
8. The communication line authentication method for dynamic IP as claimed in claim 7, wherein obtaining the communication line authentication result of the dynamic IP using the dynamic IP corresponding real-time communication line status and the real-time authentication result comprises:
s3-1, judging whether the real-time verification result is temporarily abnormal, if so, respectively establishing a first virtual communication line and a second virtual communication line according to the state of the real-time communication line corresponding to the dynamic IP and the communication line corresponding to the real-time verification result, and executing S3-2, otherwise, executing the communication line rechecking process;
s3-2, judging whether the first virtual communication line corresponds to the second virtual communication line, if so, executing S3-3, otherwise, executing communication line rechecking processing;
s3-3, obtaining a communication line verification result of the dynamic IP by utilizing the first virtual communication line and the second virtual communication line;
the first virtual communication line is the same as the communication line corresponding to the state of the real-time communication line by the dynamic IP, the second virtual communication line is the same as the communication line corresponding to the real-time verification result, and the first virtual communication line and the second virtual communication line are mutually independent.
9. The communication line verification method for dynamic IP as claimed in claim 8, wherein said communication line rechecking process comprises:
s3-2-1, obtaining t time to t n The dynamic IP at the moment is used as an initial standard template IP set;
s3-2-2, removing test addresses in the initial standard template IP to obtain a standard template IP set;
s3-2-3, acquiring a communication end fixed address corresponding to each element in the standard template IP set as a reinspection verification address;
s3-2-4, judging the time t to t n The communication terminal fixed address and the recheck verification address at the moment are corresponding, if yes, S3-3 is executed, otherwise S3-2-5 is executed;
s3-2-5, judging the time from t to t in the recheck verification address n Whether dynamic IP (Internet protocol) of which fixed address of communication end at moment does not correspond to t n If yes, the communication line rechecking processing fails, and the processing is abandoned, otherwise, the rechecking verification address is removed from the time t to the time t n Returning to S3-2-4 after the communication terminal fixes the dynamic IP corresponding to the address at the moment;
wherein t is n At different times from t, t n Later than t.
10. The communication line authentication method for dynamic IP as claimed in claim 8, wherein obtaining the communication line authentication result of dynamic IP using the first virtual communication line and the second virtual communication line comprises:
s3-3-1, judging whether the IP of the fixed end address of the non-communication line in the first virtual communication line is completely consistent with the allocation process of the dynamic IP corresponding to the real-time verification result, if so, executing S3-3-2, otherwise, returning to S1-3-1-1;
s3-3-2 judges whether the distribution process of the IP of the fixed end address of the non-communication line in the second virtual communication line and the dynamic IP corresponding to the state of the real-time communication line are completely consistent, if yes, the communication line verification result of the dynamic IP is normal, and if not, the S1-3-1-1 is returned.
CN202311319026.8A 2023-10-12 2023-10-12 Communication line verification method for dynamic IP Active CN117061485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311319026.8A CN117061485B (en) 2023-10-12 2023-10-12 Communication line verification method for dynamic IP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311319026.8A CN117061485B (en) 2023-10-12 2023-10-12 Communication line verification method for dynamic IP

Publications (2)

Publication Number Publication Date
CN117061485A true CN117061485A (en) 2023-11-14
CN117061485B CN117061485B (en) 2024-02-09

Family

ID=88659443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311319026.8A Active CN117061485B (en) 2023-10-12 2023-10-12 Communication line verification method for dynamic IP

Country Status (1)

Country Link
CN (1) CN117061485B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003017600A1 (en) * 2001-08-18 2003-02-27 Smallbig Technology Inc. An apparatus connected multi ip broadband line and fallback method thereof
CN101416176A (en) * 2004-07-09 2009-04-22 株式会社东芝 Dynamic host configuration and network access authentication
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN115941363A (en) * 2023-03-08 2023-04-07 广东广宇科技发展有限公司 Network communication security analysis method based on http protocol
CN116614430A (en) * 2023-07-20 2023-08-18 广东广宇科技发展有限公司 Multi-channel communication synchronous test method
CN116723056A (en) * 2023-08-09 2023-09-08 广东广宇科技发展有限公司 Multichannel communication verification method based on http protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003017600A1 (en) * 2001-08-18 2003-02-27 Smallbig Technology Inc. An apparatus connected multi ip broadband line and fallback method thereof
CN101416176A (en) * 2004-07-09 2009-04-22 株式会社东芝 Dynamic host configuration and network access authentication
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN115941363A (en) * 2023-03-08 2023-04-07 广东广宇科技发展有限公司 Network communication security analysis method based on http protocol
CN116614430A (en) * 2023-07-20 2023-08-18 广东广宇科技发展有限公司 Multi-channel communication synchronous test method
CN116723056A (en) * 2023-08-09 2023-09-08 广东广宇科技发展有限公司 Multichannel communication verification method based on http protocol

Also Published As

Publication number Publication date
CN117061485B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN110719209A (en) Cluster network configuration method, system, equipment and readable storage medium
US20100153481A1 (en) Failover Mechanism For Distributed Process Execution
CN116166846B (en) Distributed multidimensional data processing method based on cloud computing
CN109995814A (en) Moving method and device, communication equipment, the storage medium of cloud host resource
CN108763963B (en) Distributed processing method, device and system based on data access authority
CN116483586B (en) Data efficient processing method based on dynamic array
CN111404951B (en) Tenant creating method of cloud network, computer equipment and storage medium
CN117061485B (en) Communication line verification method for dynamic IP
CN108834130B (en) Identification distribution method, device, terminal and computer readable storage medium
CN106992999B (en) Cross-server data communication processing method
CN108092777B (en) Method and device for supervising digital certificate
CN116455523B (en) Rapid transmission verification method for multivariate data
CN110868435A (en) Bare metal server scheduling method and device and storage medium
CN107249050A (en) The management method and device of resource in cloud platform
CN108268379B (en) Distributed automatic testing method and device
CN107704263B (en) Database management method and device in cloud environment
CN105373451A (en) Virtual machine placement method and apparatus
CN107317880B (en) Method and device for realizing load balance
CN104615410A (en) Multi-type hardware interface instruction processing method and system
CN117609270B (en) Multi-dimensional data distributed parallel processing method
CN104298763A (en) Web-based external access method of structured database system
CN107256175A (en) It is a kind of to realize that virtual machine carries out the method for differentiation operation, apparatus and system
CN110096555B (en) Table matching processing method and device for distributed system
CN106899432B (en) Automatic configuration method of cloud terminal system based on DHCP server
CN111917683B (en) Secure interaction method, computing node, control center, cloud platform and storage medium

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