Method for verifying data communication integrity of 5G mobile communication
By performing binary conversion and adjacency determination on 5G mobile communication data to generate adjacency sequences, the problem of misjudgment of data integrity verification in the prior art is solved, and the stability and reliability of data communication are improved.
Patent Information
- Application Number
- CN202510705818.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-08-15
AI Technical Summary
In 5G mobile communication, existing data integrity verification methods are prone to misjudgment in high-speed and large-capacity transmission environments, resulting in minor transmission errors being misjudged as complete, affecting the stability and reliability of data communication.
By performing binary conversion of communication data, generating a verification array and making adjacent judgments, combining to generate an adjacency sequence, fine-grained integrity verification is performed using object sequences and auxiliary sequences, small transmission errors are identified and missing data is restored.
It effectively reduces the number of data missing and retransmission times, reduces network bandwidth usage, improves the stability and reliability of data communication, and can accurately identify tiny transmission errors.
Smart Images

Figure CN120499736A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication integrity technology, and specifically to a method for verifying the data communication integrity of 5G mobile communications. Background Art
[0002] In today's digital society, 5G mobile communications technology, with its ultra-high-speed data transmission, ultra-low latency, and massive connectivity, has rapidly become a key technology driving innovation and development across various industries. 5G technology is widely used in intelligent transportation, industrial Internet, smart healthcare, the Internet of Things, and many other fields, bringing tremendous convenience and changes to people's lives and work. In these application scenarios, data communication integrity is a core element to ensure the normal operation of the system and the accurate transmission of information. Currently, there are various data integrity verification methods used by users, such as simple parity check and cyclic redundancy check (CRC). These methods are prone to misjudgment in the high-speed, high-capacity data transmission environment of 5G. The data transmission rate in 5G networks is extremely fast, and the data volume is huge. Small errors in data can be masked during the complex transmission process, resulting in the inability of verification methods to accurately identify data integrity issues. Some minor transmission errors may not affect the checksum calculation result, causing actually damaged data to be mistakenly judged as intact, which can cause errors in subsequent applications. In order to solve the above problems, the present invention proposes a solution. Summary of the Invention
[0003] The purpose of the present invention is to provide a method for verifying the data communication integrity of 5G mobile communications in order to solve the problems raised in the above background technology.
[0004] The present invention provides a method for verifying the data communication integrity of 5G mobile communications, comprising the following steps: Step 1: The communication sending end obtains the communication sending data of the target sender and transmits it to the communication processing end; Step 2: After receiving the communication data transmitted by the target sender, the communication processing end performs binary conversion on the data, calibrates the converted data into the communication base data of the target sender, and then processes the communication base data according to the preset processing steps to obtain the communication verification document of the target sender; Step 3: The communication processing end sends the generated communication verification document of the target sender to the communication receiving end.
[0005] Furthermore, in step 2, the steps for obtaining the communication verification document of the target sender are as follows: S1: In order from left to right, each four characters in the communication base data are used as a check array to obtain several groups of check arrays. Then, according to the position of each check array in the communication base data, all the check arrays obtained from left to right are marked as A1, A2, ..., Aa, a ≥ 1; S2: Select several check arrays from check arrays A1, A2, ..., Aa and merge them to generate contiguous sequence E1. The steps are as follows: Check arrays A1 and A2 for adjacency. The adjacency rule is as follows: If the absolute value C1 of the difference between the decimal number B1 of check array A1 and the decimal number B2 of check array A2 is greater than 3, then it is determined that there is no relationship between check arrays A1 and A2. In this case, check array A1 is recalibrated as the adjacency sequence E1 and temporarily stored. If it is determined that the check array A1 and the check array A2 are adjacent to each other, then the adjacent arrays A1 are merged according to a preset first merging rule to generate an adjacent sequence E1 for temporary storage; S3: Generate several adjacency sequences according to S2 based on the check array D1, check array D1+1, ..., check array Aa, and then mark all the generated adjacency sequences as F1, F2, ..., Ff in the order in which each group of adjacency sequences is generated, where f ≥ 1; S4: extract all adjacent sequences with a character length greater than 4 from the adjacent sequences F1, F2, ..., Ff, and relabel all the extracted adjacent sequences as G1, G2, ..., Gg in the order of the adjacent sequences F1, F2, ..., Ff, where 1≤g≤f; S5: Generate an object sequence and an auxiliary sequence of the adjacent sequence G1 according to a preset sequence generation rule; S6: Generate the object sequence and auxiliary sequence of the adjacent sequences G2, G3, ..., Gg in sequence according to S5; S7: Generate a communication verification document of the target sender based on the object sequences and auxiliary sequences of the contiguous sequences G1, G2, ..., Gg, and all contiguous sequences remaining after extraction in the contiguous sequences F1, F2, ..., Ff in step S4. In the communication verification document, all contiguous sequences and all object sequences and auxiliary sequences are numerically numbered.
[0006] Furthermore, after receiving the communication verification document from the target sender, the communication receiving end extracts several adjacent sequences and object sequences and auxiliary sequences of the adjacent sequences, and performs integrity verification on all the extracted adjacent sequences and all object sequences and auxiliary sequences.
[0007] Furthermore, integrity checks are performed on all extracted adjacent sequences, all object sequences, and auxiliary sequences, as follows: For any extracted adjacent sequence, the object sequence and auxiliary sequence are checked for integrity based on the number of characters in the auxiliary sequence. The total number of characters in the object sequence is four times the total number of characters in the auxiliary sequence. If P1 ≤ the total number of characters in the object sequence < four times the total number of characters in the auxiliary sequence, then restore the adjacent sequence based on the auxiliary sequence and the object sequence; otherwise, generate a missing signal packet based on the digital number of the auxiliary sequence and the object sequence; For an adjacent sequence that does not contain the object sequence and the auxiliary sequence, if the total number of characters is not 4, the adjacent sequence is determined to be missing, and a missing signal packet is generated according to the numerical number of the adjacent sequence; After the integrity check of all adjacent sequences, all object sequences and auxiliary sequences is completed, all missing signal packets generated are transmitted to the communication processing end.
[0008] Compared with the existing technology, it has the following beneficial effects: The present invention performs base conversion on the communication data selected for uploading by the target sender to obtain communication base data, and then performs adjacency determination on several check arrays obtained based on the communication base data grouping to obtain several adjacent sequences. The difference between the decimal numbers of the check arrays of two adjacent groups in the several adjacent sequences is less than or equal to 3. For each adjacent sequence, the check arrays except those located at the left and right ends are converted. Each check array is successively subjected to difference calculation with the two check arrays adjacent to it on the left and right. Based on the difference results, the object array and record string of the check array are obtained. In this way, the object array of the check array includes the comparison result of the check array and the two check arrays before and after it. In this way, when the check array is missing, the check array can be restored by the two check arrays before and after it, thereby reducing the number of data missing retransmissions, effectively reducing the network bandwidth usage, and improving the stability and reliability of data communication. In addition, the integrity of the corresponding check arrays can be determined one by one in combination with the record string and the object array. This method makes the communication data integrity check more fine-grained, and a small amount of small transmission errors can also be accurately identified. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0010] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0011] See also Figure 1 , the present application provides a method for verifying the data communication integrity of 5G mobile communications, including a communication sending end, a communication processing end and a communication receiving end; The communication sending end is used to obtain the communication data selected and uploaded by the target sender, which can be a smartphone, tablet computer, laptop computer, IoT device (smart watch, smart home device), server, etc. Communication data refers to various types of information transmitted in 5G networks, including but not limited to voice, text, images, videos and other different types of content. In this application, communication data refers to data directly generated and used by the target sender. For example, communication data can be data generated by various applications on mobile phones, including text messages, pictures, and videos sent and received in social software; high-definition video streams played on online video platforms; player operation instructions and game screen data in real-time battle games; The communication sending end re-calibrates the communication data selected and uploaded by the target sender as the communication sending data of the target sender and transmits it to the communication processing end; The communication processing end is used to process the communication data for integrity verification. After receiving the communication data sent by the target sender, the communication processing end performs binary conversion on it, calibrates the converted data into the communication binary data of the target sender, and then processes the communication binary data according to the preset processing steps to obtain the communication verification document of the target sender. The processing steps are as follows: S1: In order from left to right, each four characters in the communication base data are used as a check array to obtain several groups of check arrays. Then, according to the position of each check array in the communication base data, all the check arrays obtained from left to right are marked as A1, A2, ..., Aa, a ≥ 1; S2: Select several check arrays from check arrays A1, A2, ..., Aa and merge them to generate contiguous sequence E1. The steps are as follows: Check arrays A1 and A2 are adjacency-determined using the following rules: If the absolute value C1 of the difference between the decimal number B1 of check array A1 and the decimal number B2 of check array A2 is greater than 3, then it is determined that there is no relationship between check arrays A1 and A2. In this case, check array A1 is recalibrated as the adjacency sequence E1 and temporarily stored. The calculation formula for C1 is C1 = |B1 - B2|. If it is determined that the check array A1 and the check array A2 are adjacent to each other, they are merged according to a preset first merging rule to generate an adjacent sequence E1 for temporary storage. The first merging rule is as follows: SS21: Continue to perform adjacency checks on check arrays A2 and A3, A3 and A4, ..., Aa-1 and Aa in the order of check arrays A1, A2, ..., Aa, until no relationship is found. At this point, the adjacency check stops and the set of check arrays D1 that has undergone the adjacency check and has the largest index is obtained. SS22: Concatenate the check arrays A1, A2, ..., D1 in the order of check arrays A1, A2, ..., D1 to obtain a contiguous sequence E1; S3: Generate several adjacency sequences according to S2 based on the check array D1, check array D1+1, ..., check array Aa, and then label all generated adjacency sequences as F1, F2, ..., Ff in the order in which each group of adjacency sequences is generated, where f ≥ 1. For each generated adjacency sequence, the following relationship exists between the generated adjacency sequence and the next generated adjacency sequence: The check array with the larger mark subscript among the two check arrays that are last subjected to adjacency determination in the process of generating the adjacency sequence, the mark subscript of the check array with the larger mark subscript + 1 is equal to the mark subscript of the check array with the smaller mark subscript among the two check arrays that are first subjected to adjacency determination in the process of generating the next adjacency sequence; For example, the first adjacent comparison check array in the process of generating the adjacent sequence F2 is D1+1 and D1+2; S4: extract all adjacent sequences with a character length greater than 4 from the adjacent sequences F1, F2, ..., Ff, and relabel all the extracted adjacent sequences as G1, G2, ..., Gg in the order of the adjacent sequences F1, F2, ..., Ff, where 1≤g≤f; S5: Generate the object sequence and auxiliary sequence of the adjacent sequence G1 according to the preset sequence generation rules. The sequence generation rules are as follows: SS51: Extract all check arrays from the concatenated contiguous sequence G1 and relabel them from left to right as H1, H2, ..., Hh, where h ≥ 1, according to their position in the contiguous sequence G1. SS52: Calculate the difference J1 between the decimal number of check array H1 and the decimal number of check array H2, where J1 = I1 - I2, where I1 and I2 are the decimal numbers of check arrays H1 and H2, respectively. SS53: If the difference J1 is less than 0, character 0 is used as the record character of the check array H1 and the check array H2. Otherwise, character 1 is used as the record character of the check array H1 and the check array H2. SS54: Perform a numerical determination on the absolute value of the difference J1. If the absolute value of the difference J1 is 0, character 00 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 1, character 01 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 2, character 10 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 3, character 11 is used as the pre-image string of the check array H1 and the check array H2. SS55: Calculate the difference J2 between the decimal number of check array H2 and the decimal number of check array H3 according to SS52, obtain the record characters of check array H2 and check array H3 according to SS53, and obtain the pre-image characters of check array H2 and check array H3 according to SS54. SS56: Concatenate the record characters of check arrays H1 and H2 with the record characters of check arrays H2 and H3 in the order in which they were generated to obtain the record string of check array H2. Concatenate the pre-image strings of check arrays H1 and H2 with the pre-image characters of check arrays H2 and H3 in the order in which they were generated to obtain the object array of check array H2. SS57: Obtain the object array and record string of the check arrays H3, H4, ..., Hh-1 in sequence according to SS51 to SS56; SS58: Concatenate check array H1, the object array of check array H2, the object array of check array H3, ..., the object array of check array Hh-1, and check array Hh in the order in which they were generated to obtain the object sequence of contiguous sequence G1. Similarly, concatenate the record strings of check arrays H1, check arrays H2, H3, and Hh-1, and check array Hh in the order in which they were generated to obtain the auxiliary sequence of contiguous sequence G1. S6: Generate the object sequence and auxiliary sequence of the adjacent sequences G2, G3, ..., Gg in sequence according to S5; S7: Generate a communication verification document of the target sender based on the object sequence and auxiliary sequence of the contiguous sequences G1, G2, ..., Gg, and all contiguous sequences remaining after the extraction in step S4 in the contiguous sequences F1, F2, ..., Ff. In the communication verification document, all contiguous sequences, all object sequences, and all auxiliary sequences are numerically numbered, starting from 0 and proceeding in sequence. The communication processing end sends the generated communication verification document of the target sender to the communication receiving end; The communication receiving end is configured to receive, verify, and restore and store the communication verification document of the target sender. After receiving the communication verification document transmitted by the target sender, the communication receiving end extracts a plurality of contiguous sequences and object sequences and auxiliary sequences of the plurality of contiguous sequences therefrom, and performs integrity verification on all the extracted contiguous sequences and all the object sequences and auxiliary sequences, as follows; For any extracted adjacent sequence, the object sequence and auxiliary sequence are checked for integrity based on the number of characters in the auxiliary sequence. The total number of characters in the object sequence is four times the total number of characters in the auxiliary sequence. If P1 ≤ the total number of characters in the object sequence < four times the total number of characters in the auxiliary sequence, then restore the adjacent sequence based on the auxiliary sequence and the object sequence; otherwise, generate a missing signal packet based on the digital number of the auxiliary sequence and the object sequence; For an adjacent sequence that does not contain the object sequence and the auxiliary sequence, if the total number of characters is not 4, the adjacent sequence is determined to be missing, and a missing signal packet is generated according to the numerical number of the adjacent sequence; After the integrity check of all adjacent sequences, all object sequences, and auxiliary sequences is completed, all missing signal packets generated are transmitted to the communication processing end. The communication processing end resends the corresponding digitally numbered adjacent sequences or object sequences and auxiliary sequences to the communication receiving end based on all the missing signal packets received; Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0012] The above embodiments are only used to illustrate the technical method of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A method for verifying the integrity of data communications in 5G mobile communications, characterized in that: The following steps are involved: Step 1: The communication sending end obtains the communication sending data of the target sender and transmits it to the communication processing end; Step 2: After receiving the communication data transmitted by the target sender, the communication processing end performs binary conversion on the data, calibrates the converted data into the communication base data of the target sender, and then processes the communication base data according to the preset processing steps to obtain the communication verification document of the target sender; Step 3: The communication processing end sends the generated communication verification document of the target sender to the communication receiving end.
2. The method for verifying the data communication integrity of 5G mobile communications according to claim 1, characterized in that: Step 2: The steps for obtaining the communication verification document of the target sender are as follows: S1: In order from left to right, each four characters in the communication base data are used as a check array to obtain several groups of check arrays. Then, according to the position of each check array in the communication base data, all the check arrays obtained from left to right are marked as A1, A2, ..., Aa, a ≥ 1; S2: Select several check arrays from check arrays A1, A2, ..., Aa and merge them to generate contiguous sequence E1. The steps are as follows: Check arrays A1 and A2 for adjacency. The adjacency rule is as follows: If the absolute value C1 of the difference between the decimal number B1 of check array A1 and the decimal number B2 of check array A2 is greater than 3, then it is determined that there is no relationship between check arrays A1 and A2. In this case, check array A1 is recalibrated as the adjacency sequence E1 and temporarily stored. If it is determined that the check array A1 and the check array A2 are adjacent to each other, then the adjacent arrays A1 are merged according to a preset first merging rule to generate an adjacent sequence E1 for temporary storage; S3: Generate several adjacency sequences according to S2 based on the check array D1, check array D1+1, ..., check array Aa, and then mark all the generated adjacency sequences as F1, F2, ..., Ff in the order in which each group of adjacency sequences is generated, where f ≥ 1; S4: extract all adjacent sequences with a character length greater than 4 from the adjacent sequences F1, F2, ..., Ff, and relabel all the extracted adjacent sequences as G1, G2, ..., Gg in the order of the adjacent sequences F1, F2, ..., Ff, where 1≤g≤f; S5: Generate an object sequence and an auxiliary sequence of the adjacent sequence G1 according to a preset sequence generation rule; S6: Generate the object sequence and auxiliary sequence of the adjacent sequences G2, G3, ..., Gg in sequence according to S5; S7: Generate a communication verification document of the target sender based on the object sequences and auxiliary sequences of the contiguous sequences G1, G2, ..., Gg, and all contiguous sequences remaining after extraction in the contiguous sequences F1, F2, ..., Ff in step S4. In the communication verification document, all contiguous sequences and all object sequences and auxiliary sequences are numerically numbered.
3. The method for verifying the data communication integrity of 5G mobile communications according to claim 2, characterized in that: The first merging rule for generating the adjacent sequence E1 is as follows: SS21: Continue to perform adjacency checks on check arrays A2 and A3, A3 and A4, ..., Aa-1 and Aa in the order of check arrays A1, A2, ..., Aa, until no relationship is found. At this point, the adjacency check stops and the set of check arrays D1 that has undergone the adjacency check and has the largest index is obtained. SS22: Concatenate the check arrays A1, A2, ..., D1 in the order of check arrays A1, A2, ..., D1 to obtain a contiguous sequence E1.
4. The method for verifying the data communication integrity of 5G mobile communications according to claim 1, characterized in that: The sequence generation rules for generating the object sequence and auxiliary sequence of the adjacent sequence G1 in S5 are as follows: SS51: Extract all check arrays from the concatenated contiguous sequence G1 and relabel them from left to right as H1, H2, ..., Hh, where h ≥ 1, according to their position in the contiguous sequence G1. SS52: Calculate the difference J1 between the decimal number of check array H1 and the decimal number of check array H2, where J1 = I1 - I2, where I1 and I2 are the decimal numbers of check arrays H1 and H2, respectively. SS53: If the difference J1 is less than 0, character 0 is used as the record character of the check array H1 and the check array H2. Otherwise, character 1 is used as the record character of the check array H1 and the check array H2. SS54: Perform a numerical determination on the absolute value of the difference J1. If the absolute value of the difference J1 is 0, character 00 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 1, character 01 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 2, character 10 is used as the pre-image string of the check array H1 and the check array H2. If the absolute value of the difference J1 is 3, character 11 is used as the pre-image string of the check array H1 and the check array H2. SS55: Calculate the difference J2 between the decimal number of check array H2 and the decimal number of check array H3 according to SS52, obtain the record characters of check array H2 and check array H3 according to SS53, and obtain the pre-image characters of check array H2 and check array H3 according to SS54. SS56: Concatenate the record characters of check arrays H1 and H2 with the record characters of check arrays H2 and H3 in the order in which they were generated to obtain the record string of check array H2. Concatenate the pre-image strings of check arrays H1 and H2 with the pre-image characters of check arrays H2 and H3 in the order in which they were generated to obtain the object array of check array H2. SS57: Obtain the object array and record string of the check arrays H3, H4, ..., Hh-1 in sequence according to SS51 to SS56; SS58: Concatenate check array H1, the object array of check array H2, the object array of check array H3, ..., the object array of check array Hh-1, and check array Hh in the order of generation to obtain the object sequence of contiguous sequence G1. Similarly, concatenate the record strings of check arrays H1, check arrays H2, H3, and Hh-1, and check array Hh in the order of generation to obtain the auxiliary sequence of contiguous sequence G1.
5. The method for verifying the data communication integrity of 5G mobile communication according to claim 2, characterized in that: In step three, after receiving the communication verification document transmitted by the target sender, the communication receiving end extracts a number of contiguous sequences and object sequences and auxiliary sequences of the contiguous sequences therefrom, and performs integrity verification on all the extracted contiguous sequences and all the object sequences and auxiliary sequences.
6. The method for verifying the data communication integrity of 5G mobile communication according to claim 5, characterized in that: Perform integrity checks on all extracted adjacent sequences, all object sequences, and auxiliary sequences, as follows: For any extracted adjacent sequence, the object sequence and auxiliary sequence are checked for integrity based on the number of characters in the auxiliary sequence. The total number of characters in the object sequence is four times the total number of characters in the auxiliary sequence. If P1 ≤ the total number of characters in the object sequence < four times the total number of characters in the auxiliary sequence, then restore the adjacent sequence based on the auxiliary sequence and the object sequence; otherwise, generate a missing signal packet based on the digital number of the auxiliary sequence and the object sequence; For an adjacent sequence that does not contain the object sequence and the auxiliary sequence, if the total number of characters is not 4, the adjacent sequence is determined to be missing, and a missing signal packet is generated according to the numerical number of the adjacent sequence; After the integrity check of all adjacent sequences, all object sequences and auxiliary sequences is completed, all missing signal packets generated are transmitted to the communication processing end.
7. The method for verifying the data communication integrity of 5G mobile communication according to claim 6, characterized in that: The communication processing end resends the corresponding digitally numbered adjacent sequence or object sequence and auxiliary sequence to the communication receiving end according to all the missing signal packets received.