High-performance and high-availability data transmission method and system
By introducing the download module, upload module and task monitoring module into the data transmission system, the problems of low data transmission efficiency and insufficient monitoring in the existing technology are solved, and efficient and reliable data transmission and real-time abnormal monitoring are achieved.
Patent Information
- Application Number
- CN202411240717.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-10-11
AI Technical Summary
The existing data transmission method adopts a serial processing mode, which results in the inability to resume the transmission when the processing program is abnormal, which wastes time and cannot monitor data integrity and system exceptions in real time.
A high-performance and high-availability data transmission system is designed, including a download module, an upload module and a task monitoring module, through a total verification unit, a download task creation unit, a raw data reading unit, a picture and data download unit, and an address conversion unit. , image compression unit, subtask creation upload unit and total verification file upload unit and other components to realize breakpoint resume upload and real-time monitoring of data files.
It improves the efficiency and reliability of data transmission, can monitor task status in real time, ensure the integrity of data files, and intervene promptly in abnormal situations to avoid reprocessing from scratch.
Smart Images

Figure CN118764480A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of file transmission technology, and in particular to a high-performance and high-availability data transmission method and system. Background Art
[0002] With the rapid development of information technology, especially the widespread application of data file transmission technology in various fields, a high-performance and highly available data transmission method and system is bound to become a solution for enterprises to provide efficient and automated data transmission.
[0003] However, the original data transmission method and system adopt a serialized data processing mode from data image downloading, file generation, and file image uploading. In addition, once an abnormality occurs in the overall processing program, it is impossible to resume the transmission after manual intervention, and the data can only be processed again from the beginning, which greatly wastes the time and work efficiency of data transmission. In addition, it is impossible to judge whether the transmitted data files and images are complete or missing. At the same time, there is a lack of effective monitoring means, and it is impossible to detect system operation abnormalities in real time. Summary of the invention
[0004] The purpose of the present invention is to provide a high-performance and high-availability data transmission method and system, aiming to solve the problem that the prior art adopts a serialized data processing mode, and once an abnormality occurs in the overall processing program, it is impossible to resume the transmission after manual intervention, and the data can only be processed again from the beginning, which greatly wastes the time and work efficiency of data transmission. In addition, it is impossible to judge whether the transmitted data files and pictures are complete or missing, and at the same time, there is a lack of effective monitoring means, and it is impossible to detect the technical problem of system operation abnormalities in real time.
[0005] To achieve the above-mentioned purpose, the present invention adopts a high-performance and high-availability data transmission system, including a download module, an upload module and a task monitoring module; wherein: The download module is used to download data and pictures and generate corresponding download tasks; The upload task module is used to upload data and pictures to the corresponding server; The task monitoring module is used to monitor the status of the download module and the upload task module.
[0006] Among them, the download module includes a total verification unit, a download task creation unit, an original data reading unit, a picture and data download unit, an address conversion unit, a picture compression unit, a subtask creation upload unit, and a total verification file upload unit. The download task creation unit is respectively connected to the total verification unit and the original data reading unit, the picture and data download unit is respectively connected to the original data reading unit and the address conversion unit, the picture compression unit is respectively connected to the address conversion unit and the subtask creation upload unit, the total verification file upload unit is connected to the total verification unit, and the subtask creation upload unit is connected to the upload module.
[0007] Wherein, the total verification unit is used to detect whether the total verification file is uploaded after the overall task is completed; The download task creation unit is used to create a download task; The original data reading unit is used for paging query data download data and pictures; The picture and data downloading unit is used to download pictures and data; The address conversion unit is used for converting the external network and internal network addresses of the pictures; The picture compression unit is used to compress the picture; The subtask creation upload unit is used to create an upload subtask; The total verification file uploading unit is used to upload the total verification file.
[0008] Among them, the upload task module includes a range data acquisition unit, a data file generation unit, a data file compression unit, a picture verification file creation unit, a data upload unit, and a total verification file creation and upload unit. The range data acquisition unit is respectively connected to the subtask creation upload unit and the data file generation unit, the data file compression unit is respectively connected to the data file generation unit and the picture verification file creation unit, the picture verification file creation unit is respectively connected to the data file compression unit and the data upload unit, and the total verification file creation and upload unit is connected to the data upload unit.
[0009] Wherein, the range data acquisition unit is used to acquire the upload subtask data range data; The data file generating unit is used to generate a data file and a data verification file; The data file compression unit is used to compress the data file; The image verification file creation unit is used to create an image verification file; The data uploading unit is used to upload data compression files, data verification files, and image verification files; The total verification file creation and upload unit is used to create and upload the total verification file.
[0010] Among them, the task monitoring module includes a download task monitoring unit, an operation abnormality stop unit, a download task operation monitoring unit, an upload task monitoring unit, an upload task abnormality unit, and an upload task operation monitoring unit. The download task monitoring unit, the upload task monitoring unit, the upload task abnormality unit, and the upload task operation monitoring unit are respectively connected to the download module, and the upload module is respectively connected to the download task monitoring unit, the upload task monitoring unit, the upload task abnormality unit and the upload task operation monitoring unit, and the operation abnormality stop unit is respectively connected to the download task monitoring unit and the download task operation monitoring unit.
[0011] Wherein, the download task monitoring unit is used to monitor whether there is a download task on that day; The abnormal operation stopping unit is used to monitor whether the download task has timed out or stopped abnormally; The download task running monitoring unit is used to monitor whether the download task is not running; The upload task monitoring unit is used to monitor whether there is an upload task on that day; The upload task abnormality unit is used to monitor whether the upload task has timed out or stopped abnormally; The upload task running monitoring unit is used to monitor whether the upload task is not running.
[0012] The present invention also provides a high-performance and high-availability data transmission method, comprising the following steps: Download data and pictures, and generate corresponding download tasks; Upload data and pictures to the corresponding server; Monitor the status of download and upload processes.
[0013] The present invention provides a high-performance and high-availability data transmission method and system, which first downloads data and images and generates corresponding download tasks; then uploads data and images to corresponding servers; and finally monitors the status of downloading and uploading. The download module, upload module and task monitoring module are used; wherein: the download module is used to download data and images and generate corresponding download tasks; the upload task module is used to upload data and images to corresponding servers; the task monitoring module is used to monitor the status of the download module and the upload task module; data files, image files and upload tasks are generated through a unique design, the consistency reliability of data files and the breakpoint-resume transmission of the overall task are increased, the upload task is uploaded to the corresponding server after clearance, and then the monitoring abnormal status of the overall task is auxiliary detected to improve the data transmission performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 It is a schematic diagram of the principle of the high-performance and high-availability data transmission system of the present invention.
[0016] Figure 2 It is an overall principle schematic diagram of the high-performance and high-availability data transmission system of the present invention.
[0017] Figure 3 It is a flowchart of the steps of the high-performance and high-availability data transmission method of the present invention.
[0018] 100-download module, 101-total verification unit, 102-create download task unit, 103-original data reading unit, 104-image and data download unit, 105-address conversion unit, 106-image compression unit, 107-subtask creation upload unit, 108-total verification file upload unit, 200-upload module, 201-range data acquisition unit, 202-data file generation unit, 203-data file compression unit, 204-image verification file creation unit, 205-data upload unit, 206-total verification file creation and upload unit, 300-task monitoring module, 301-download task monitoring unit, 302-operation abnormal stop unit, 303-download task operation monitoring unit, 304-upload task monitoring unit, 305-upload task abnormal unit, 306-upload task operation monitoring unit. DETAILED DESCRIPTION
[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0020] See also Figure 1 and Figure 2 The present invention provides a high-performance and high-availability data transmission system, including a download module 100, an upload module 200 and a task monitoring module 300; wherein: The download module 100 is used to download data and pictures and generate corresponding download tasks; The upload task module is used to upload data and pictures to the corresponding server; The task monitoring module 300 is used to monitor the status of the download module 100 and the upload task module.
[0021] In this embodiment, first, data and pictures are downloaded, and corresponding download tasks are generated; then, data and pictures are uploaded to the corresponding server; finally, the status of the download and upload process is monitored. The download module 100, the upload module 200 and the task monitoring module 300 are used; wherein: the download module 100 is used to download data and pictures, and generate corresponding download tasks; the upload task module is used to upload data and pictures to the corresponding server; the task monitoring module 300 is used to monitor the status of the download module 100 and the upload task module; data files, picture files and upload tasks are generated through a unique design, the consistency reliability of data files and the breakpoint-resume property of the overall task are increased, the upload task is uploaded to the corresponding server, and then the monitoring abnormal status of the overall task is auxiliary detected to improve the data transmission performance.
[0022] Furthermore, the download module 100 includes a total verification unit 101, a download task creation unit 102, an original data reading unit 103, a picture and data download unit 104, an address conversion unit 105, a picture compression unit 106, a subtask creation upload unit 107, and a total verification file upload unit 108. The download task creation unit 102 is respectively connected to the total verification unit 101 and the original data reading unit 103, the picture and data download unit 104 is respectively connected to the original data reading unit 103 and the address conversion unit 105, the picture compression unit 106 is respectively connected to the address conversion unit 105 and the subtask creation upload unit 107, the total verification file upload unit 108 is connected to the total verification unit 101, and the subtask creation upload unit 107 is connected to the upload module 200.
[0023] Furthermore, the total verification unit 101 is used to detect whether the total verification file is uploaded after the overall task is completed; The download task creation unit 102 is used to create a download task; The original data reading unit 103 is used for paging query data download data and pictures; The picture and data downloading unit 104 is used to download pictures and data; The address conversion unit 105 is used for converting the external network and internal network addresses of the pictures; The picture compression unit 106 is used to compress the picture; The subtask creation and uploading unit 107 is used to create an uploading subtask; The total verification file uploading unit 108 is used to upload the total verification file.
[0024] In this embodiment, the total verification unit 101 detects whether to upload the total verification file after the overall task is completed; the creation download task unit 102 creates a download task; the original data reading unit 103 queries data in pages to download data and pictures; the picture and data download unit 104 downloads pictures and data; the address conversion unit 105 converts the external network and internal network addresses of pictures; the picture compression unit 106 compresses pictures; the subtask creation upload unit 107 creates an upload subtask; and the total verification file upload unit 108 uploads the total verification file. Through the unique design to generate data files, picture files and upload tasks, the consistency reliability of data files and the breakpoint-resume transmission of the overall task are increased, the upload task is uploaded to the corresponding server after clearance, and then the monitoring abnormal state of the overall task is auxiliary detected to improve the data transmission performance.
[0025] Furthermore, the upload task module includes a range data acquisition unit 201, a data file generation unit 202, a data file compression unit 203, a picture verification file creation unit 204, a data upload unit 205, and a total verification file creation and upload unit 206. The range data acquisition unit 201 is respectively connected to the subtask creation upload unit 107 and the data file generation unit 202, the data file compression unit 203 is respectively connected to the data file generation unit 202 and the picture verification file creation unit 204, the picture verification file creation unit 204 is respectively connected to the data file compression unit 203 and the data upload unit 205, and the total verification file creation and upload unit 206 is connected to the data upload unit 205.
[0026] Further, the range data acquisition unit 201 is used to acquire the upload subtask data range data; The data file generating unit 202 is used to generate a data file and a data verification file; The data file compression unit 203 is used to compress the data file; The image verification file creation unit 204 is used to create an image verification file; The data uploading unit 205 is used to upload data compression files, data verification files, and image verification files; The total verification file creation and upload unit 206 is used to create and upload a total verification file.
[0027] In this embodiment, the range data acquisition unit 201 acquires the upload subtask data range data; the data file generation unit 202 generates a data file and a data verification file; the data file compression unit 203 compresses the data file; the image verification file creation unit 204 creates an image verification file; the data upload unit 205 transmits the data compression file, the data verification file, and the image verification file; the total verification file creation and upload unit 206 creates and uploads the total verification file. Through the unique design, data files, image files, and upload tasks are generated, the consistency and reliability of data files and the breakpoint-resume transmission of the overall task are increased, the upload task is uploaded to the corresponding server, and then the monitoring abnormal state of the overall task is detected by auxiliary detection to improve the data transmission performance.
[0028] Furthermore, the task monitoring module 300 includes a download task monitoring unit 301, an abnormal operation stop unit 302, a download task operation monitoring unit 303, an upload task monitoring unit 304, an upload task abnormal unit 305, and an upload task operation monitoring unit 306. The download task monitoring unit 301, the upload task monitoring unit 304, the upload task abnormal unit 305, and the upload task operation monitoring unit 306 are respectively connected to the download module 100, the upload module 200 is respectively connected to the download task monitoring unit 301, the upload task monitoring unit 304, the upload task abnormal unit 305 and the upload task operation monitoring unit 306, and the abnormal operation stop unit 302 is respectively connected to the download task monitoring unit 301 and the download task operation monitoring unit 303.
[0029] Furthermore, the download task monitoring unit 301 is used to monitor whether there is a download task on that day; The abnormal operation stopping unit 302 is used to monitor whether the download task has timed out or stopped abnormally; The download task running monitoring unit 303 is used to monitor whether the download task is not running; The upload task monitoring unit 304 is used to monitor whether there is an upload task on that day; The upload task abnormality unit 305 is used to monitor whether the upload task has timed out or stopped abnormally; The upload task running monitoring unit 306 is used to monitor whether the upload task is not running.
[0030] In this embodiment, the download task monitoring unit 301 monitors whether there is a download task on the day; the abnormal operation stop unit 302 monitors whether the download task has timed out and stopped abnormally; the download task operation monitoring unit 303 monitors whether the download task has not been run; the upload task monitoring unit 304 monitors whether there is an upload task on the day; the upload task abnormal unit 305 monitors whether the upload task has timed out and stopped abnormally; the upload task operation monitoring unit 306 monitors whether the upload task has not been run. Through a unique design, data files, image files and upload tasks are generated to increase the consistency and reliability of data files and the breakpoint-resume transmission of the overall task. The upload task is uploaded to the corresponding server after clearance, and then the monitoring abnormal state of the overall task is auxiliary to detect, thereby improving the data transmission performance.
[0031] In this application, the total verification file is used to detect whether the uploaded file and the data volume of the uploaded file are complete; the data file is used to store the batch data of a file; the data verification file is used to detect whether the file data volume corresponding to a single file is complete; the image verification file is used to detect whether the image data volume is complete; the upload task includes several upload subtasks, and the subtasks are assigned the data range for obtaining data. The task monitoring module 300 determines whether there is an abnormality in the task by monitoring the task records, task start and end time, task status, etc. recorded in the database.
[0032] See also Figure 3 The present invention also provides a high-performance and high-availability data transmission method, comprising the following steps: S100: Download data and pictures, and generate corresponding download tasks; S200: Upload data and pictures to the corresponding server; S300: Monitor the status of the downloading and uploading process.
[0033] In this embodiment, first, data and pictures are downloaded, and corresponding download tasks are generated; then, data and pictures are uploaded to the corresponding server; finally, the status of the download and upload process is monitored. The download module 100, the upload module 200 and the task monitoring module 300 are used; wherein: the download module 100 is used to download data and pictures, and generate corresponding download tasks; the upload task module is used to upload data and pictures to the corresponding server; the task monitoring module 300 is used to monitor the status of the download module 100 and the upload task module; data files, picture files and upload tasks are generated through a unique design, the consistency reliability of data files and the breakpoint-resume property of the overall task are increased, the upload task is uploaded to the corresponding server, and then the monitoring abnormal status of the overall task is auxiliary detected to improve the data transmission performance.
[0034] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A high-performance and high-availability data transmission system, characterized in that: It includes a download module, an upload module and a task monitoring module, wherein the upload module is connected to the download module, and the task monitoring module is connected to the download module and the upload module respectively; The download module is used to download data and pictures and generate corresponding download tasks; The upload task module is used to upload data and pictures to the corresponding server; The task monitoring module is used to monitor the status of the download module and the upload task module.
2. The high-performance and high-availability data transmission system according to claim 1, characterized in that: The download module includes a total verification unit, a download task creation unit, an original data reading unit, a picture and data download unit, an address conversion unit, a picture compression unit, a subtask creation upload unit, and a total verification file upload unit. The download task creation unit is respectively connected to the total verification unit and the original data reading unit, the picture and data download unit is respectively connected to the original data reading unit and the address conversion unit, the picture compression unit is respectively connected to the address conversion unit and the subtask creation upload unit, the total verification file upload unit is connected to the total verification unit, and the subtask creation upload unit is connected to the upload module.
3. The high-performance and high-availability data transmission system according to claim 2, characterized in that: The total verification unit is used to detect whether the total verification file is uploaded after the overall task is completed; The download task creation unit is used to create a download task; The original data reading unit is used for paging query data download data and pictures; The picture and data downloading unit is used to download pictures and data; The address conversion unit is used for converting the external network and internal network addresses of the pictures; The picture compression unit is used to compress the picture; The subtask creation upload unit is used to create an upload subtask; The total verification file uploading unit is used to upload the total verification file.
4. The high-performance and high-availability data transmission system according to claim 2, characterized in that: The upload task module includes a range data acquisition unit, a data file generation unit, a data file compression unit, a picture verification file creation unit, a data upload unit, and a total verification file creation and upload unit. The range data acquisition unit is respectively connected to the subtask creation and upload unit and the data file generation unit, the data file compression unit is respectively connected to the data file generation unit and the picture verification file creation unit, the picture verification file creation unit is respectively connected to the data file compression unit and the data upload unit, and the total verification file creation and upload unit is connected to the data upload unit.
5. The high-performance and high-availability data transmission system according to claim 4, characterized in that: The range data acquisition unit is used to acquire the upload subtask data range data; The data file generating unit is used to generate a data file and a data verification file; The data file compression unit is used to compress the data file; The image verification file creation unit is used to create an image verification file; The data uploading unit is used to upload data compression files, data verification files, and image verification files; The total verification file creation and upload unit is used to create and upload the total verification file.
6. The high-performance and high-availability data transmission system according to claim 1, characterized in that: The task monitoring module includes a download task monitoring unit, an operation abnormality stop unit, a download task operation monitoring unit, an upload task monitoring unit, an upload task abnormality unit, and an upload task operation monitoring unit. The download task monitoring unit, the upload task monitoring unit, the upload task abnormality unit, and the upload task operation monitoring unit are respectively connected to the download module, the upload module is respectively connected to the download task monitoring unit, the upload task monitoring unit, the upload task abnormality unit, and the upload task operation monitoring unit, and the operation abnormality stop unit is respectively connected to the download task monitoring unit and the download task operation monitoring unit.
7. The high-performance and high-availability data transmission system according to claim 6, characterized in that: The download task monitoring unit is used to monitor whether there is a download task on that day; The abnormal operation stopping unit is used to monitor whether the download task has timed out or stopped abnormally; The download task running monitoring unit is used to monitor whether the download task is not running; The upload task monitoring unit is used to monitor whether there is an upload task on that day; The upload task abnormality unit is used to monitor whether the upload task has timed out or stopped abnormally; The upload task running monitoring unit is used to monitor whether the upload task is not running.
8. A high-performance and high-availability data transmission method, applied to the high-performance and high-availability data transmission system as claimed in claim 1, characterized in that: The steps include: Download data and pictures, and generate corresponding download tasks; Upload data and pictures to the corresponding server; Monitor the status of download and upload processes.
Citation Information
Patent Citations
Data processing system
CN103578032A
Method for uploading and downloading cloud native file service
CN117082053A
File processing method, apparatus and system
WO2019222934A1
