CN113076283B - File consistency verification method and device and electronic equipment - Google Patents

File consistency verification method and device and electronic equipment Download PDF

Info

Publication number
CN113076283B
CN113076283B CN202110368549.6A CN202110368549A CN113076283B CN 113076283 B CN113076283 B CN 113076283B CN 202110368549 A CN202110368549 A CN 202110368549A CN 113076283 B CN113076283 B CN 113076283B
Authority
CN
China
Prior art keywords
file
layer
verification
file information
fragment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110368549.6A
Other languages
Chinese (zh)
Other versions
CN113076283A (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.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network 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 China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd, CM Intelligent Mobility Network Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110368549.6A priority Critical patent/CN113076283B/en
Publication of CN113076283A publication Critical patent/CN113076283A/en
Application granted granted Critical
Publication of CN113076283B publication Critical patent/CN113076283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for verifying file consistency and electronic equipment, wherein the method comprises the following steps: extracting first file information of a source file and second file information of a file to be verified; respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different; and according to the result of the three-layer slicing processing, performing consistency verification on the source file and the file to be verified. The method and the device have the advantages that the first file information extracted from the source file and the second file information extracted from the file to be verified are subjected to three-layer fragmentation processing respectively, and the consistency of the source file and the file to be verified is verified according to the fragmentation processing result. The file information after fragmentation processing has higher granularity, can be transmitted aiming at the information on smaller fragments under the condition of poorer network environment, has stronger adaptability to the network environment, and can ensure that the file transmission is not interfered to the greatest extent, thereby ensuring the accuracy of the verification result.

Description

File consistency verification method and device and electronic equipment
Technical Field
The present invention relates to the field of data verification technologies, and in particular, to a method and an apparatus for verifying file consistency, and an electronic device.
Background
With the continuous enrichment of terminal services, file information associated with the services needs to be verified on-line for file consistency, and in addition, in order to ensure the security and correctness of the file information, the downloaded files need to be verified on-line for file consistency with software files issued by the original issuing party. The development of verification means ranges from the most inefficient manpower-based file consistency verification to the signature algorithm-based file consistency verification, so that the labor cost is reduced to a certain extent, and the working efficiency is improved.
Due to the big data of the internet and the rapid increase of mobile terminal services in the big data era in the information environment, a large amount of various files are brought. In consideration of file transmission interaction, the existing file consistency verification method based on the signature algorithm has more problems in extracting characteristic values of transmitted files, such as the problem of a network environment, the method has great dependence on the network environment, and especially when the consistency verification of a large number of video files is involved, the conditions of missed transmission and error transmission of compared data are easy to occur under the condition of poor network, so that the consistency verification is wrong.
Disclosure of Invention
The invention aims to provide a consistency verification method, a consistency verification device and electronic equipment, which are used for solving the problem that the verification result error is larger when the network fluctuates in the existing file consistency verification method.
In order to achieve the above object, the present invention provides a method for verifying file consistency, comprising:
extracting first file information of a source file and second file information of a file to be verified;
respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different;
and according to the result of the three-layer slicing processing, performing consistency verification on the source file and the file to be verified.
Optionally, in the three-layer fragments, the unit of the first layer fragment is larger than that of the second layer fragment;
the unit of the second layer of the slice is larger than that of the third layer of the slice.
Optionally, before performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing, the method further includes:
detecting the network quality;
under the condition that the parameter of the network quality is smaller than a first threshold value, the first file information and the second file information are respectively transmitted by taking the third layer of fragments as a unit; or
And under the condition that the parameter of the network quality is greater than or equal to a first threshold value, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
Optionally, the performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing includes:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information;
and determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
Optionally, the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification includes:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
Optionally, the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification includes:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment adjacent to the first target segment.
Optionally, the method further comprises:
detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
In order to achieve the above object, the present invention provides a device for verifying consistency of a file, comprising:
the information extraction module is used for extracting first file information of the source file and second file information of the file to be verified;
the processing module is used for respectively carrying out three-layer fragmentation processing on the first file information and the second file information, and the units of each layer of fragmentation are different;
and the verification module is used for performing consistency verification on the source file and the file to be verified according to the result of the three-layer fragmentation processing.
Optionally, in the three-layer fragments, the unit of the first layer fragment is larger than that of the second layer fragment;
the unit of the second layer of the slice is larger than that of the third layer of the slice.
Optionally, the apparatus further comprises:
the first detection module is used for detecting the network quality;
a first transmission module, configured to transmit the first file information and the second file information respectively with the third layer segment as a unit when the parameter of the network quality is smaller than a first threshold; or
And the second transmission module is used for respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit under the condition that the parameter of the network quality is greater than or equal to a first threshold value.
Optionally, the verification module comprises:
a first verification unit, configured to perform bytecode verification on a first target fragment in the first file information and a first target fragment in the second file information with a result of the first layer fragment as a verification unit;
and the first determining unit is used for determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
Optionally, the first determining unit is specifically configured to:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
Optionally, the first determining unit is further configured to:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment region adjacent to the first target segment.
Optionally, the apparatus further comprises:
the second detection module is used for detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and the retransmission unit is used for retransmitting the byte code data of the first target fragment by taking the third layer fragment as a unit under the condition that the parameter of the network quality is less than a second threshold value.
To achieve the above object, the present invention provides an electronic device, comprising: a transceiver and a processor;
the processor is configured to: extracting first file information of a source file and second file information of a file to be verified;
respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different;
and according to the result of the three-layer slicing processing, performing consistency verification on the source file and the file to be verified.
Optionally, in the three-layer fragments, the unit of the first layer fragment is larger than that of the second layer fragment;
the unit of the second layer of the slice is larger than that of the third layer of the slice.
Optionally, the processor is further configured to:
detecting the network quality;
under the condition that the parameter of the network quality is smaller than a first threshold value, the first file information and the second file information are respectively transmitted by taking the third layer of fragments as a unit; or
And under the condition that the parameter of the network quality is greater than or equal to a first threshold value, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
Optionally, the performing, by the processor, consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing specifically includes:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information;
and determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
Optionally, the determining, by the processor, consistency between the source file and the file to be verified according to the result of the bytecode verification includes:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
Optionally, the determining, by the processor, consistency between the source file and the file to be verified according to the result of the bytecode verification includes:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment adjacent to the first target segment.
Optionally, the processor is further configured to:
detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
To achieve the above object, the present invention provides an electronic device, comprising a transceiver, a processor, a memory, and a program or instructions stored in the memory and executable on the processor; the processor, when executing the program or instructions, implements the file consistency verification method as described above.
To achieve the above object, the present invention provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the file consistency verification method as described above.
The technical scheme of the invention has the following beneficial effects:
according to the embodiment of the application, three-layer fragmentation processing is respectively carried out on first file information extracted from a source file and second file information extracted from a file to be verified, and consistency verification is carried out on the source file and the file to be verified according to the fragmentation processing result. The file information after fragmentation processing has higher granularity, can be transmitted aiming at the information on smaller fragments under the condition of poorer network environment, has stronger adaptability to the network environment, can ensure that the file transmission is not interfered to the greatest extent, and ensures the accuracy of the verification result. The comparison and verification speed is increased under the condition of ensuring no retransmission, no packet loss and no error of the transmission file.
Drawings
FIG. 1 is a flowchart illustrating a document consistency verification method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of file layering according to an embodiment of the present invention;
FIG. 3 is a second flowchart illustrating a document consistency verification method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a document consistency verification apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
As shown in fig. 1, a method for verifying file consistency according to an embodiment of the present invention includes:
step 101, extracting first file information of a source file and second file information of a file to be verified.
The source file is an original file for comparison, and the file to be verified is a file which needs to be compared with the source file for consistency. After the data sources of the source file and the file to be verified are acquired, file information of the source file, that is, the first file information, is extracted, for example: extracting key information, content, terms, keywords and the like of the source file according to requirements. Extracting file information of the file to be verified, that is, the second file information, for example: and extracting key information, content, terms, keywords and the like of the file to be verified according to requirements.
It should be noted that the first file information and the second file information are information contents of the same type, so as to ensure that file authentication is performed using the same information contents. For example: and if the first file information is the extracted keywords of the source file related to the theme, the second file information is the extracted keywords of the file to be verified related to the theme. Or: and if the first file information is the extracted content of the source file related to the person 1, the second file information is the extracted content of the file to be verified related to the person 1.
And 102, respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the unit of each layer of fragmentation is different.
After the first file information and the second file information are extracted, three-layer slicing processing is respectively carried out on the first file information and the second file information according to the same frequency division processing mode. The three-layer slicing refers to: the file information is divided into three layers according to different units, each layer comprises a plurality of fragments, and the unit of each layer of fragment is different. For example: when the target document is divided into three layers, the first layer of division processing can be carried out by taking a page as a unit to obtain a plurality of divisions by taking the page as a unit; then, respectively carrying out second-layer slicing processing on each slice taking the page as a unit, wherein the second-layer slicing processing can carry out slicing processing by taking the segment as a unit, so that a plurality of slices taking the segment as a unit can be obtained; and then, respectively carrying out third-layer slicing processing on each slice taking the segment as a unit, wherein the third-layer slicing processing can carry out slicing processing by taking the row as a unit, so that a plurality of slices taking the row as a unit can be obtained.
It should be noted that, when the first file information and the second file information are fragmented, the fragmentation unit of each layer may be set according to a requirement.
And 103, performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing.
And after three layers of fragmentation are respectively carried out on the first file information and the second file information, obtaining a plurality of fragments on each layer, and carrying out consistency verification on the source file and the file to be verified according to the fragments.
According to the embodiment of the application, three-layer fragmentation processing is respectively carried out on first file information extracted from a source file and second file information extracted from a file to be verified, and consistency verification is carried out on the source file and the file to be verified according to the fragmentation processing result. The file information after fragmentation processing has higher granularity, can be transmitted aiming at the information on smaller fragments under the condition of poorer network environment, has stronger adaptability to the network environment, can ensure that the file transmission is not interfered to the greatest extent, and ensures the accuracy of the verification result. The comparison and verification speed is increased under the condition of ensuring no retransmission, no packet loss and no error of the transmission file.
In the three layers of fragments, the unit of the first layer of fragment is larger than that of the second layer of fragment; the unit of the second layer of the slice is larger than that of the third layer of the slice.
As shown in fig. 2, a File (File) to be layered may be divided into: a Chunk (i.e., a first layer), a Chunk (i.e., a second layer), and a subchunk (i.e., a third layer), where the Chunk layer is used to locate a consistency verification location of a file, is the largest unit size in the three layers, and is also a basic unit for byte code data verification, so as to ensure that a source file and a file to be verified can quickly start byte code verification at corresponding locations, and the Chunk layer may include multiple fragments, such as: ChunkA, ChunkB, ChunkC, and the like. The packet layer is a basic unit for transmission under a normal network condition, and is a unit with a large size in three layers, and the packet layer may include a plurality of fragments, such as: a Blocket a, a Blocket b, a Blocket c, etc.; a subblock is a basic unit for transmission in a poor network condition, and is a unit with the smallest size in three layers, and once network fluctuation occurs, the subblock retransmits byte code data, and the subblock layer may include multiple fragments, such as: SubBlockette i, SubBlockette ii, SubBlockette iii, and the like.
The fragmentation mode of the embodiment ensures that data in a unit in a Chunk layer is not leaked, retransmitted and error-free through a blocke layer and a subblocke layer, thereby providing accurate data for subsequent consistency verification.
Optionally, before performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing, the method further includes:
detecting the network quality;
under the condition that the parameter of the network quality is smaller than a first threshold value, the first file information and the second file information are respectively transmitted by taking the third layer of fragments as a unit; or
And under the condition that the parameter of the network quality is greater than or equal to a first threshold value, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
In this embodiment, after performing three-layer fragmentation processing on the first file information and the second file information, before performing consistency verification, network quality may be detected to determine a current network environment condition. The network quality may be determined according to a parameter related to the network quality, for example, a parameter indicating a network performance indicator, such as bandwidth, delay, bandwidth-delay product, and the like.
The first threshold may be preset according to different parameters of network quality. And when the parameter of the network quality is smaller than the first threshold value, the network fluctuates, and the current network environment is poor, the third layer fragment is taken as a unit to respectively transmit the first file information and the second file information. And when the parameter of the network quality is greater than or equal to the first threshold value and the current network environment is better, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
Taking the unit of the third layer of fragments as a "row" and the unit of the second layer of fragments as a "segment", for example, when the network quality is poor, in order to avoid file missing, the first file information and the second file information are transmitted by the fragments taking the "row" in the third layer as a unit; when the network quality is good, the first file information and the second file information are transmitted in a fragmentation mode by taking a segment in a second layer with a larger fragmentation unit as a unit, and the file transmission speed is higher.
Taking the three-layer fragmentation as the fragmentation mode shown in fig. 2 as an example, when the network quality is poor, the fragmentation of the SubBlockette layer is taken as a unit for transmission. The fragments of the layer are transmission units under the condition of poor network, the fragmentation unit is smaller, and retransmission is carried out when fluctuation occurs, so that transmission leakage, retransmission and error-free of files under the distributed environment are guaranteed. When the network quality is better, the transmission is carried out by taking the fragments of the Blockett layer as units, and the fragment is a data transmission unit under the condition that the network is normal.
The embodiment determines the transmission unit for transmitting the first file information and the second file information according to the network quality, and transmits the file by taking the third layer fragment with a smaller unit as a unit when the network quality is poor, and transmits the file by taking the second layer fragment with a larger unit as a unit when the network quality is good, so that the data is prevented from being transmitted without error, retransmission and error when the network fluctuates, and the accuracy of the verification result is ensured.
Further, the performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing may include:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information; and determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
In this embodiment, when performing consistency verification on the source file and the file to be verified, the result of the first layer of fragmentation is used as a verification unit to perform bytecode verification, for example: the verification is carried out by taking a page as a unit, or the verification of byte codes is carried out by taking a fragment in a Chunk layer as a unit.
The first target segment is a segment corresponding to the first file information and the second file information, that is, when consistency verification is performed on the source file and the file to be verified, a first target segment in the first layer of segments of the source file is compared with a first target segment in the first layer of segments of the file to be verified. For example: the three-layer slicing is as follows: first layer slicing: slicing in units of "pages"; and (3) second-layer slicing: slicing in units of "segments"; and (3) slicing at the third layer: and (2) carrying out byte code verification on the page 1 fragment in the source file and the page 1 fragment in the file to be verified and carrying out byte code comparison verification on the page 5 fragment in the source file and the page 5 fragment in the file to be verified when the consistency of the source file and the file to be verified is verified.
For example: taking the three-layer fragment as the fragment mode shown in fig. 2 as an example, when consistency verification is performed on the source file and the file to be verified, byte code comparison verification is performed on a "ChunkA" fragment in a Chunk layer of the source file and a "ChunkA" fragment in a Chunk layer of the file to be verified.
When consistency verification is carried out, verification is carried out by taking the first layer of fragments with larger units as units, so that the files can be quickly positioned to ensure that the byte codes of the source file and the file to be verified can be quickly verified at corresponding positions.
And after verification is finished, determining the consistency of the source file and the file to be verified according to the result of bytecode verification. Specifically, the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification may include:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
In this embodiment, if the bytecode verification result of the first target segment in the first file information is inconsistent with the bytecode verification result of the first target segment in the second file information, the file to be verified is inconsistent with the source file. And if the byte code content of the first target fragment in the first file information is consistent with the byte code content of the first target fragment in the second file information, and the verification of all fragments of the source file and the file to be verified is completed, determining that the file to be verified is consistent with the source file.
Optionally, the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification further includes: if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information; repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification; wherein the second target segment is a segment adjacent to the first target segment.
In this embodiment, after the first target segment of the first file information and the first target segment of the second file information are verified, if other segments are not verified, the second target segment of the first file information and the second target segment of the second file information are continuously verified, where the second target segment is an unverified segment adjacent to the first target segment, and if a bytecode verification result indicates that the contents of the second target segment of the second file information and the second target segment of the first file information are inconsistent, it is determined that the file to be verified is inconsistent with the source file; if the result of the bytecode verification indicates that the contents of the second target fragment in the second file information are consistent with the contents of the second target fragment in the first file information, and the verification of all the fragments of the source file and the file to be verified is completed, determining that the file to be verified is consistent with the source file, and if the verification is not completed, continuing to execute the verification step.
For example: after byte code verification is carried out on the page 1 fragment in the source file and the page 1 fragment in the file to be verified, if the fragments are not verified, byte code verification is continuously carried out on the page 2 fragment in the source file and the page 2 fragment in the file to be verified, and the verification steps are sequentially executed until all the fragments are verified.
Optionally, the method further comprises: detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit; and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
In this embodiment, during the bytecode verification of the first layer fragment, the network quality may be continuously monitored, and the second threshold may be preset according to different network quality parameters. And when the parameter of the network quality is smaller than the second threshold value, the network fluctuates, and the current network environment is poor, the first file information and the second file information are retransmitted by taking the third layer fragment as a unit. And when the parameter of the network quality is greater than or equal to the second threshold value and the current network environment is better, continuing to respectively transmit the first file information and the second file information by taking the second layer fragment as a unit.
In the embodiment, the network quality is detected in the file transmission process, and when the network quality is poor, the file is retransmitted by taking the third layer fragment with a smaller unit as a unit, so that the data is ensured to be transmitted without leakage, retransmission and error when the network fluctuates, and the accuracy of the verification result is ensured.
The following describes an implementation process of the file consistency verification method according to the embodiment of the present application by using a specific embodiment.
As shown in fig. 3, after the obtained file in the form of three-layer fragments, the byte code data in the fragments are used as a comparison verification object, if different points are encountered in the comparison process, the direct verification is finished, and the verification form uses the fragment data as a verification unit instead of using the whole file as the verification unit. The method comprises the following specific steps:
step 301: extracting information of a source file and a file to be verified;
step 302: carrying out three-layer fragmentation on the extracted file information respectively;
step 303: judging the network environment, namely judging whether the network has fluctuation, if so, executing step 304;
step 304: and transmitting the fragments of the SubBlockette layer as units. The fragments of the layer are transmission units under the condition of poor network, the fragment area unit is smaller, and retransmission is carried out when fluctuation occurs, so that the transmission of the files under the distributed environment is ensured to be free from transmission leakage, retransmission and error;
step 305: if the network environment is better (no fluctuation or small fluctuation), a blocket fragment is used as a unit for transmission, and the fragment is data transmission under the condition that the network is normal;
step 306: and carrying out byte code verification on the fragments of the Chunk layer. The unit area is large, so that the rapid positioning of the file is facilitated to ensure that the byte code verification can be started rapidly at the corresponding positions of the sample file and the file to be compared;
step 307: judging the verification result (namely the verification result of the byte code) of the fragment of the Chunk layer, if the verification is consistent, executing the step 308, and if the verification is inconsistent, executing the step 310;
step 308: checking whether the file is verified or not, if all files are verified, indicating that the files are verified to be consistent and obtaining a file consistency result, and if not, executing a step 309;
step 309; and transferring to the adjacent Chunk fragment, and repeating the verification comparison on the next fragment.
Step 310; and obtaining the verification result of file inconsistency.
When the embodiment verifies the source file and the file to be verified, the byte code data of the fragments in the Chunk layer is used as a comparison verification object, and the byte code in the fragments is used as a calculation unit, so that the comparison result can be quickly obtained. The Blockette layer and the SubBlockette layer ensure that data fragmented in the Chunk layer is not leaked, retransmitted and error-free, so that accurate data is provided for subsequent consistency verification. The problem of data errors caused by network fluctuation of the file to be verified in a distributed environment is effectively solved; when different points are compared, the result can be obtained without comparing the whole file every time, and the problem of high calculation complexity of the large file is effectively solved.
According to the embodiment of the application, three-layer fragmentation processing is respectively carried out on first file information extracted from a source file and second file information extracted from a file to be verified, and consistency verification is carried out on the source file and the file to be verified according to the fragmentation processing result. The file information after fragmentation processing has higher granularity, can be transmitted aiming at the information on smaller fragments under the condition of poorer network environment, has stronger adaptability to the network environment, and can ensure that the file transmission is not interfered to the greatest extent, thereby ensuring the accuracy of the verification result. The comparison and verification speed is increased under the condition of ensuring no retransmission, no packet loss and no error of the transmission file.
As shown in fig. 4, a document consistency verification apparatus 400 according to an embodiment of the present invention includes:
the information extraction module 410 is configured to extract first file information of a source file and second file information of a file to be verified;
a processing module 420, configured to perform three-layer fragment processing on the first file information and the second file information, where units of each layer of fragments are different;
and the verification module 430 is configured to perform consistency verification on the source file and the file to be verified according to the result of the three-layer fragmentation processing.
Optionally, in the three-layer fragments, the unit of the first layer fragment is larger than that of the second layer fragment;
the unit of the second layer of the slice is larger than that of the third layer of the slice.
Optionally, the apparatus further comprises:
the first detection module is used for detecting the network quality;
a first transmission module, configured to transmit the first file information and the second file information respectively with the third layer segment as a unit when the parameter of the network quality is smaller than a first threshold; or
And the second transmission module is used for respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit under the condition that the parameter of the network quality is greater than or equal to a first threshold value.
Optionally, the verification module comprises:
a first verification unit, configured to perform bytecode verification on a first target fragment in the first file information and a first target fragment in the second file information with a result of the first layer fragment as a verification unit;
and the first determining unit is used for determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
Optionally, the first determining unit is specifically configured to:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
Optionally, the first determining unit is further configured to:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment region adjacent to the first target segment.
Optionally, the apparatus further comprises:
the second detection module is used for detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and the retransmission unit is used for retransmitting the byte code data of the first target fragment by taking the third layer fragment as a unit under the condition that the parameter of the network quality is less than a second threshold value.
According to the embodiment of the application, three-layer fragmentation processing is respectively carried out on first file information extracted from a source file and second file information extracted from a file to be verified, and consistency verification is carried out on the source file and the file to be verified according to the fragmentation processing result. The file information after fragmentation processing has higher granularity, can be transmitted aiming at the information on smaller fragments under the condition of poorer network environment, has stronger adaptability to the network environment, and can ensure that the file transmission is not interfered to the greatest extent, thereby ensuring the accuracy of the verification result. The comparison and verification speed is increased under the condition of ensuring no retransmission, no packet loss and no error of the transmission file.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are not repeated herein.
As shown in fig. 5, an electronic device 500 according to an embodiment of the invention includes a processor 510 and a transceiver 520, wherein,
the processor 510 is configured to: extracting first file information of a source file and second file information of a file to be verified;
respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different;
and according to the result of the three-layer slicing processing, performing consistency verification on the source file and the file to be verified.
Optionally, in the three-layer fragments, the unit of the first layer fragment is larger than that of the second layer fragment;
the unit of the second layer of the slice is larger than that of the third layer of the slice.
Optionally, the processor 510 is further configured to:
detecting the network quality;
under the condition that the parameter of the network quality is smaller than a first threshold value, the first file information and the second file information are respectively transmitted by taking the third layer of fragments as a unit; or
And under the condition that the parameter of the network quality is greater than or equal to a first threshold value, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
Optionally, the processor 510 performs consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing, which specifically includes:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information;
and determining the consistency of the source file and the file to be verified according to the result of the bytecode verification.
Optionally, the determining, by the processor 510, the consistency between the source file and the file to be verified according to the result of the bytecode verification includes:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
Optionally, the determining, by the processor 510, the consistency between the source file and the file to be verified according to the result of the bytecode verification includes:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment adjacent to the first target segment.
Optionally, the processor 510 is further configured to:
detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
It should be noted that the electronic device provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
An electronic device according to another embodiment of the present invention, as shown in fig. 6, includes a transceiver 610, a processor 600, a memory 620, and a program or instructions stored in the memory 620 and executable on the processor 600; the processor 600 implements the above-mentioned file consistency verification method when executing the program or the instructions.
The transceiver 610 is used for receiving and transmitting data under the control of the processor 600.
Where in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 600 and memory represented by memory 620. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 610 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
The readable storage medium of the embodiment of the present invention stores a program or an instruction thereon, and the program or the instruction, when executed by the processor, implements the steps in the file consistency verification method described above, and can achieve the same technical effects, and the details are not repeated here in order to avoid repetition.
Wherein, the processor is the processor described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It is further noted that the electronic devices described in this specification include, but are not limited to, smart phones, tablets, etc., and that many of the functional components described are referred to as modules in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within the modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of existing hardware technology, a module implemented by software may build a corresponding hardware circuit to implement a corresponding function, without considering cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The exemplary embodiments described above are described with reference to the drawings, and many different forms and embodiments of the invention may be made without departing from the spirit and teaching of the invention, therefore, the invention is not to be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of elements may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Unless otherwise indicated, a range of values, when stated, includes the upper and lower limits of the range and any subranges therebetween.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A file consistency verification method is characterized by comprising the following steps:
extracting first file information of a source file and second file information of a file to be verified;
respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different;
according to the result of the three-layer slicing processing, consistency verification is carried out on the source file and the file to be verified;
in the three layers of fragments, the unit of the first layer of fragment is larger than that of the second layer of fragment; the unit of the second layer of fragments is larger than that of the third layer of fragments;
the consistency verification of the source file and the file to be verified according to the result of the three-layer slicing processing comprises the following steps:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information; determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit; and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
2. The method according to claim 1, wherein before performing consistency verification on the source file and the file to be verified according to the result of the three-layer slicing process, the method further comprises:
detecting the network quality;
under the condition that the parameter of the network quality is smaller than a first threshold value, the first file information and the second file information are respectively transmitted by taking the third layer of fragments as a unit; or
And under the condition that the parameter of the network quality is greater than or equal to a first threshold value, respectively transmitting the first file information and the second file information by taking the second layer fragment as a unit.
3. The method according to claim 1, wherein the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification comprises:
if the bytecode verification result indicates that the contents of the first target fragment in the second file information are inconsistent with the contents of the first target fragment in the first file information, determining that the file to be verified is inconsistent with the source file;
and if the bytecode verification result indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and all fragments of the source file and the file to be verified are verified, determining that the file to be verified is consistent with the source file.
4. The method according to claim 1, wherein the determining the consistency of the source file and the file to be verified according to the result of the bytecode verification comprises:
if the result of the bytecode verification indicates that the contents of the first target fragment in the second file information are consistent with the contents of the first target fragment in the first file information and the verification of at least part of the source file and the file to be verified is not completed, performing bytecode verification on the second target fragment in the first file information and the second target fragment in the second file information;
repeatedly executing the step of determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
wherein the second target segment is a segment adjacent to the first target segment.
5. A document consistency verification apparatus, comprising:
the information extraction module is used for extracting first file information of the source file and second file information of the file to be verified;
the processing module is used for respectively carrying out three-layer fragmentation processing on the first file information and the second file information, and the units of each layer of fragmentation are different;
the verification module is used for performing consistency verification on the source file and the file to be verified according to the result of the three-layer fragmentation processing;
in the three layers of fragments, the unit of the first layer of fragment is larger than that of the second layer of fragment; the unit of the second layer of fragments is larger than that of the third layer of fragments;
the authentication module includes:
a first verification unit, configured to perform bytecode verification on a first target fragment in the first file information and a first target fragment in the second file information with a result of the first layer fragment as a verification unit;
the first determining unit is used for determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
the device further comprises:
the second detection module is used for detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit;
and the retransmission unit is used for retransmitting the byte code data of the first target fragment by taking the third layer fragment as a unit under the condition that the parameter of the network quality is less than a second threshold value.
6. An electronic device, comprising: a transceiver and a processor;
the processor is configured to: extracting first file information of a source file and second file information of a file to be verified;
respectively carrying out three-layer fragmentation processing on the first file information and the second file information, wherein the units of each layer of fragmentation are different;
according to the result of the three-layer slicing processing, consistency verification is carried out on the source file and the file to be verified;
in the three layers of fragments, the unit of the first layer of fragment is larger than that of the second layer of fragment; the unit of the second layer of fragments is larger than that of the third layer of fragments;
the processor performs consistency verification on the source file and the file to be verified according to the result of the three-layer slicing processing, and specifically includes:
taking the result of the first layer of fragments as a verification unit, and performing byte code verification on a first target fragment in the first file information and a first target fragment in the second file information; determining the consistency of the source file and the file to be verified according to the result of the bytecode verification;
the processor is further configured to: detecting the network quality in the process of performing byte code verification on the first target fragment in the first file information and the first target fragment in the second file information by taking the result of the first layer fragment as a verification unit; and under the condition that the parameter of the network quality is smaller than a second threshold value, retransmitting byte code data of the first target fragment by taking a third layer fragment as a unit.
7. An electronic device, comprising: a transceiver, a processor, a memory, and a program or instructions stored on the memory and executable on the processor; wherein the processor, when executing the program or instructions, implements the file consistency verification method of any one of claims 1 to 4.
8. A readable storage medium having a program or instructions stored thereon, wherein the program or instructions, when executed by a processor, implement the steps in the file consistency verification method according to any one of claims 1 to 4.
CN202110368549.6A 2021-04-06 2021-04-06 File consistency verification method and device and electronic equipment Active CN113076283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110368549.6A CN113076283B (en) 2021-04-06 2021-04-06 File consistency verification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110368549.6A CN113076283B (en) 2021-04-06 2021-04-06 File consistency verification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113076283A CN113076283A (en) 2021-07-06
CN113076283B true CN113076283B (en) 2022-02-18

Family

ID=76615117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110368549.6A Active CN113076283B (en) 2021-04-06 2021-04-06 File consistency verification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113076283B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022852A (en) * 2014-06-25 2014-09-03 北京奇艺世纪科技有限公司 Document transmission method and device
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof
CN104601681A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 File fragmentation processing method and device
CN104917586A (en) * 2014-03-11 2015-09-16 腾讯科技(深圳)有限公司 Verification method, device and system of transmitted data
CN107172174A (en) * 2017-06-01 2017-09-15 重庆高略启达智慧城市信息技术有限公司 The quick upload of file is realized between clients and servers
CN109831506A (en) * 2019-01-31 2019-05-31 百度在线网络技术(北京)有限公司 File uploading method, device, terminal, server and readable storage medium storing program for executing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874825B (en) * 2017-05-12 2021-11-02 北京京东尚科信息技术有限公司 Abnormal data verification method and device
CN109040050B (en) * 2018-07-25 2021-09-14 Oppo广东移动通信有限公司 Data interaction method and related product
CN109831487B (en) * 2019-01-08 2022-05-13 平安科技(深圳)有限公司 Fragmented file verification method and terminal equipment
CN111427785B (en) * 2020-03-24 2023-08-18 北京金山云网络技术有限公司 Formalized task verification method, formalized task verification device, electronic equipment and computer readable medium
CN112491990B (en) * 2020-11-17 2021-08-10 中科三清科技有限公司 Hybrid cloud network data transmission method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof
CN104917586A (en) * 2014-03-11 2015-09-16 腾讯科技(深圳)有限公司 Verification method, device and system of transmitted data
CN104022852A (en) * 2014-06-25 2014-09-03 北京奇艺世纪科技有限公司 Document transmission method and device
CN104601681A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 File fragmentation processing method and device
CN107172174A (en) * 2017-06-01 2017-09-15 重庆高略启达智慧城市信息技术有限公司 The quick upload of file is realized between clients and servers
CN109831506A (en) * 2019-01-31 2019-05-31 百度在线网络技术(北京)有限公司 File uploading method, device, terminal, server and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN113076283A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
WO2020253083A1 (en) Synchronization data verification method for primary and secondary storage volume, device, apparatus, and storage medium
CN104348578B (en) The method and device of data processing
CN112702065B (en) FPGA code stream data verification method and device
CN102651229A (en) Semiconductor apparatus and data processing method
CN112380046B (en) Calculation result verification method, system, device, equipment and storage medium
CN111224782B (en) Data verification method based on digital signature, intelligent device and storage medium
CN113076283B (en) File consistency verification method and device and electronic equipment
CN112235244B (en) Construction method of abnormal message, detection method, device and medium of industrial control network equipment
CN109413450B (en) Bullet screen data integrity verification method and device, terminal and storage medium
CN115129509B (en) Data transmission method, device and medium
CN114172894A (en) Data transmission method and device, server and computer equipment
CN113778834A (en) System performance testing method and device of application software and computing equipment
CN113535578A (en) CTS (clear to send) testing method, device and testing equipment
CN108255715B (en) Test result processing method and terminal equipment
CN106528248A (en) Downloading method and system of mobile terminal based on software integrity
CN112711574A (en) Database security detection method and device, electronic equipment and medium
US9641287B2 (en) Methods and apparatus for high-integrity data transfer with preemptive blocking
CN109325496B (en) Bullet screen checking method and device based on character removal, terminal and storage medium
CN116233120B (en) Large file fragment transmission method, system and medium based on data processing
CN104661043A (en) Method, device and system for transmitting transport stream
CN109413504B (en) Bullet screen checking method, device, terminal and storage medium based on character string replacement
CN115905414B (en) Method, system, electronic equipment and medium for synchronizing internal and external network data
CN109413505B (en) Bullet screen data verification method and device, terminal and storage medium
CN117792781A (en) Method, device, equipment and medium for detecting data transmission security
CN114185538A (en) Data testing method and device, computer equipment 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