CN108512933A - A kind of big file uploading method and system based on SmartPM intelligent management platforms - Google Patents
A kind of big file uploading method and system based on SmartPM intelligent management platforms Download PDFInfo
- Publication number
- CN108512933A CN108512933A CN201810333636.6A CN201810333636A CN108512933A CN 108512933 A CN108512933 A CN 108512933A CN 201810333636 A CN201810333636 A CN 201810333636A CN 108512933 A CN108512933 A CN 108512933A
- Authority
- CN
- China
- Prior art keywords
- file
- uploaded
- smartpm
- intelligent management
- piecemeal
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/108—Resource delivery mechanisms characterised by resources being split in blocks or fragments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Abstract
The present invention relates to a kind of big file uploading method and system based on SmartPM intelligent management platforms, belong to web document transfer field.The present invention is difficult disposable the shortcomings that uploading mass file, being not easy and proposes to solve existing uploading system, including setting configuration file;The file for storing file to be uploaded is created in receiving terminal;Judge whether the block count of file to be uploaded is more than 1 in transmitting terminal, if so, uploading each piecemeal by flowing;If it is not, then the content of file to be uploaded is transmitted;Receiving terminal will be ranked up and combine in sequence corresponding to the piecemeal of identical file, obtain complete file.The present invention is uploaded suitable for network file.
Description
Technical field
The present invention relates to a kind of big file uploading method and system based on SmartPM intelligent management platforms, belong to network
File transmission field.
Background technology
Since present internet development is rapid, industry-by-industry all with internet cooperation, along with internet+pattern it is big
It pushes extensively, so there are many web to come using rapid development, and corresponding problem is also come into being.Such as training organization
Line training system often can not disposably upload the video of 1G or more sizes or some uploading systems can be according to file type
How many thread are used in determination when transmitting file, for example upload books using single thread, however more and more material for training size
In hundreds of million scale.
Invention content
It is difficult disposable upload mass file the purpose of the present invention is to solve existing uploading system, what is be not easy lacks
Point, and propose a kind of big file uploading method and system based on SmartPM intelligent management platforms.
A kind of big file uploading method based on SmartPM intelligent management platforms, including:
Configuration file is set, and piecemeal size can be arranged in the configuration file;
The file for storing file to be uploaded is created in receiving terminal;
Judge whether the block count of file to be uploaded is more than 1 according to the piecemeal size in configuration file in transmitting terminal, if so,
Then each piecemeal is uploaded by flowing;If it is not, then the content of file to be uploaded is transmitted;
Receiving terminal will be ranked up and combine in sequence corresponding to the piecemeal of identical file, obtain complete file.
A kind of big file uploading system based on SmartPM intelligent management platforms, including:
Configuration module, for configuration file to be arranged;Piecemeal size can be arranged in the configuration file;
File creation module, for creating the file for storing file to be uploaded in receiving terminal;
Transmission module, for judging whether the block count of file to be uploaded is more than 1 according to the piecemeal size in configuration file,
If so, uploading each piecemeal by flowing;If it is not, then the content of file to be uploaded is transmitted;
Composite module obtains complete text for the piecemeal for corresponding to identical file to be ranked up and combine in sequence
Part.
Beneficial effects of the present invention are:1, by transmitting file on piecemeal, mass file fragment can be uploaded, not by file
Size limits;2, give SmartPM can only management platform realize, uploading speed is compared to existing uploading system, and speed is at least
Promote 10%;3, can by the attribute of transmitting file, number of threads, piecemeal quantity etc. in configuration file flexible configuration, compared to
Prior art is more flexible, convenient for modifying as the case may be.
Description of the drawings
Fig. 1 is the big file uploading method flow diagram based on SmartPM intelligent management platforms of one embodiment of the invention.
Specific implementation mode
Specific implementation mode one:The big file uploading method based on SmartPM intelligent management platforms of present embodiment, such as
Shown in Fig. 1, including:
Configuration file is arranged in step S1;Piecemeal size can be arranged in configuration file;For example, in plupload plug-in units, point
Block size is defined as chunk, and piecemeal can be arranged to 10mb, and 100mb is equivalent.
Step S2 creates the file for storing file to be uploaded in receiving terminal;
Step S3 judges whether the block count of file to be uploaded is more than in transmitting terminal according to the piecemeal size in configuration file
1, if so, uploading each piecemeal by flowing;If it is not, then the content of file to be uploaded is transmitted.For example, if step S1
It is middle that piecemeal has been arranged to 10mb, then file to be uploaded will be split by 10mb, i.e., it, can quilt for the file of 100mb
It is divided into 10 pieces, if file size is less than 10mb, file content is directly subjected to copy upload.
Step S4, receiving terminal will be ranked up and combine in sequence corresponding to the piecemeal of identical file, obtain complete text
Part.
The core content of present embodiment is that the fragment of file uploads, by the interface of slicing files come composition file,
From the point of view of foreground, it is a temporary file of very little that each file, which is divided into piece later, if a file is 1G files, then
Every file size is 100M, then being exactly 10 such temporary files, is asked then front end can send 10 such HTTP
It asks, is received by multithreading, efficiency will greatly improve.
Specific implementation mode two:The present embodiment is different from the first embodiment in that:Configuration file can be arranged most
The big number for uploading number of files, the size of maximum file, whether can with renaming, whether can sort and whether be compressed.
Other steps and parameter are same as the specific embodiment one.
Specific implementation mode three:The present embodiment is different from the first and the second embodiment in that:Configuration file passes through
Plupload transmitting assemblies are realized.
Other steps and parameter are the same as one or two specific embodiments.
Specific implementation mode four:Unlike one of present embodiment and specific implementation mode one to three:It is uploaded by flowing
It is uploaded especially by the silverlight upload functions in plupload transmitting assemblies when file.
Other steps and parameter are identical as one of specific implementation mode one to three.
Specific implementation mode five:Unlike one of present embodiment and specific implementation mode one to four:It is uploaded by flowing
It is uploaded especially by the flash upload functions in plupload transmitting assemblies when file.
Other steps and parameter are identical as one of specific implementation mode one to four.
Specific implementation mode six:Unlike one of present embodiment and specific implementation mode one to five:Present embodiment
A kind of big file uploading system based on SmartPM intelligent management platforms is provided, including:
Configuration module, for configuration file to be arranged;Piecemeal size can be arranged in configuration file;
File creation module, for creating the file for storing file to be uploaded in receiving terminal;
Transmission module, for judging whether the block count of file to be uploaded is more than 1 according to the piecemeal size in configuration file,
If so, uploading each piecemeal by flowing;If it is not, then the content of file to be uploaded is transmitted;
Composite module obtains complete text for the piecemeal for corresponding to identical file to be ranked up and combine in sequence
Part.
Specific implementation mode seven:Present embodiment is unlike specific implementation mode six:Configuration file can be arranged most
The big number for uploading number of files, the size of maximum file, whether can with renaming, whether can sort and whether be compressed.
Other steps and parameter are identical as specific implementation mode six.
Specific implementation mode eight:Present embodiment is unlike specific implementation mode six or seven:Configuration file passes through
Plupload transmitting assemblies are realized.
Other steps and parameter are identical as specific implementation mode six or seven.
Specific implementation mode nine:Present embodiment is unlike specific implementation mode six to eight:Pass through the upper transmitting file of stream
When uploaded especially by the flash upload functions in plupload transmitting assemblies.
Other steps and parameter are identical as one of specific implementation mode six to eight.
Specific implementation mode ten:Present embodiment is unlike specific implementation mode six to nine:Pass through the upper transmitting file of stream
When uploaded especially by the silverlight upload functions in plupload transmitting assemblies.
Other steps and parameter are identical as one of specific implementation mode six to nine.
The present invention can also have other various embodiments, without deviating from the spirit and substance of the present invention, this field
Technical staff makes various corresponding change and deformations in accordance with the present invention, but these corresponding change and deformations should all belong to
The protection domain of appended claims of the invention.
Claims (10)
1. a kind of big file uploading method based on SmartPM intelligent management platforms, which is characterized in that including:
Configuration file is set, and piecemeal size can be arranged in the configuration file;
The file for storing file to be uploaded is created in receiving terminal;
Judge whether the block count of file to be uploaded is more than 1 according to the piecemeal size in configuration file in transmitting terminal, if so, logical
Overcurrent uploads each piecemeal;If it is not, then the content of file to be uploaded is transmitted;
Receiving terminal will be ranked up and combine in sequence corresponding to the piecemeal of identical file, obtain complete file.
2. the big file uploading method according to claim 1 based on SmartPM intelligent management platforms, which is characterized in that
Configuration file can be arranged the maximum number for uploading number of files, the size of maximum file, whether can with renaming, whether can arrange
Sequence and whether compressed.
3. the big file uploading method according to claim 1 based on SmartPM intelligent management platforms, which is characterized in that
Configuration file is realized by plupload transmitting assemblies.
4. the big file uploading method according to claim 3 based on SmartPM intelligent management platforms, which is characterized in that
It is uploaded especially by the flash upload functions in plupload transmitting assemblies when transmitting file upper by stream.
5. the big file uploading method according to claim 1 based on SmartPM intelligent management platforms, which is characterized in that
It is uploaded especially by the silverlight upload functions in plupload transmitting assemblies when transmitting file upper by stream.
6. a kind of big file uploading system based on SmartPM intelligent management platforms, which is characterized in that including:
Configuration module, for configuration file to be arranged, piecemeal size can be arranged in the configuration file;
File creation module, for creating the file for storing file to be uploaded in receiving terminal;
Transmission module, for judging whether the block count of file to be uploaded is more than 1 according to the piecemeal size in configuration file, if
It is then to upload each piecemeal by flowing;If it is not, then the content of file to be uploaded is transmitted;
Composite module obtains complete file for the piecemeal for corresponding to identical file to be ranked up and combine in sequence.
7. the big file uploading system according to claim 6 based on SmartPM intelligent management platforms, which is characterized in that
Configuration file can be arranged the maximum number for uploading number of files, the size of maximum file, whether can with renaming, whether can arrange
Sequence and whether compressed.
8. the big file uploading system according to claim 6 based on SmartPM intelligent management platforms, which is characterized in that
Configuration file is realized by plupload transmitting assemblies.
9. the big file uploading system according to claim 6 based on SmartPM intelligent management platforms, which is characterized in that
It is uploaded especially by the flash upload functions in plupload transmitting assemblies when transmitting file upper by stream.
10. the big file uploading system according to claim 6 based on SmartPM intelligent management platforms, which is characterized in that
It is uploaded especially by the silverlight upload functions in plupload transmitting assemblies when transmitting file upper by stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810333636.6A CN108512933A (en) | 2018-04-13 | 2018-04-13 | A kind of big file uploading method and system based on SmartPM intelligent management platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810333636.6A CN108512933A (en) | 2018-04-13 | 2018-04-13 | A kind of big file uploading method and system based on SmartPM intelligent management platforms |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108512933A true CN108512933A (en) | 2018-09-07 |
Family
ID=63382093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810333636.6A Pending CN108512933A (en) | 2018-04-13 | 2018-04-13 | A kind of big file uploading method and system based on SmartPM intelligent management platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108512933A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070055862A1 (en) * | 2005-09-08 | 2007-03-08 | Interdigital Technology Corporation | Method and system for distributing data |
CN102547478A (en) * | 2012-02-20 | 2012-07-04 | 北京蓝汛通信技术有限责任公司 | Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network) |
CN103442037A (en) * | 2013-08-09 | 2013-12-11 | 华南理工大学 | Method for achieving multithreading breakpoint upload of oversized file based on FTP |
CN105224645A (en) * | 2015-09-28 | 2016-01-06 | 浪潮(北京)电子信息产业有限公司 | A kind of polygonal look net disc system based on cloud platform |
CN106657213A (en) * | 2016-09-14 | 2017-05-10 | 深圳峰创智诚科技有限公司 | File transmission method and device |
CN107528926A (en) * | 2017-10-11 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of file uploading method and system |
CN107682318A (en) * | 2017-09-06 | 2018-02-09 | 金卡智能集团股份有限公司 | A kind of internet of things data transmission method based on NB IoT technologies |
-
2018
- 2018-04-13 CN CN201810333636.6A patent/CN108512933A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070055862A1 (en) * | 2005-09-08 | 2007-03-08 | Interdigital Technology Corporation | Method and system for distributing data |
CN102547478A (en) * | 2012-02-20 | 2012-07-04 | 北京蓝汛通信技术有限责任公司 | Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network) |
CN103442037A (en) * | 2013-08-09 | 2013-12-11 | 华南理工大学 | Method for achieving multithreading breakpoint upload of oversized file based on FTP |
CN105224645A (en) * | 2015-09-28 | 2016-01-06 | 浪潮(北京)电子信息产业有限公司 | A kind of polygonal look net disc system based on cloud platform |
CN106657213A (en) * | 2016-09-14 | 2017-05-10 | 深圳峰创智诚科技有限公司 | File transmission method and device |
CN107682318A (en) * | 2017-09-06 | 2018-02-09 | 金卡智能集团股份有限公司 | A kind of internet of things data transmission method based on NB IoT technologies |
CN107528926A (en) * | 2017-10-11 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of file uploading method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107342770A (en) | Entropy code apparatus and method, entropy decoding apparatus and method and storage medium | |
CN1271444A (en) | Transmission unit receiving and storing means | |
CN103678609A (en) | Large data inquiring method based on distribution relation-object mapping processing | |
CN110189011B (en) | Fault assessment method and system for intensive power transmission channel under natural disaster | |
CN103246549B (en) | A kind of method and system of data conversion storage | |
CN105554528A (en) | Method and apparatus for grouping bullet screen users in live broadcasting room | |
CN104361190B (en) | The method and device of empty terminal automation connection in electrical secondary system | |
CN111092901A (en) | Method for equipment access and data storage in industrial internet platform | |
CN109145291A (en) | A kind of method, apparatus, equipment and the storage medium of the screening of barrage keyword | |
CN107360233A (en) | Method, apparatus, equipment and the readable storage medium storing program for executing that file uploads | |
Shafiee et al. | Scheduling coflows in datacenter networks: Improved bound for total weighted completion time | |
CN112328565A (en) | Resource sharing method and device based on block chain | |
CN103152210A (en) | Method for repairing spanning tree protocol (STP) forwarding state abnormalities and stacking equipment | |
CN103970728A (en) | Comparison method and system for file | |
CN105183585A (en) | Data backup method and device | |
CN108512933A (en) | A kind of big file uploading method and system based on SmartPM intelligent management platforms | |
CN106851400A (en) | Micro- class video distribution formula code-transferring method and system | |
CN103297511B (en) | The dispatching method of the client/server under high dynamic environments and system | |
CN108093063A (en) | Big file multithreading FTP method for uploading | |
CN106412036A (en) | Mixed multi-source data collection method applied to power dispatching automation system | |
US20180124145A1 (en) | Method and System for Delivering Data to a Batch Consumer and a Streaming Consumer | |
CN106526427B (en) | A kind of coalmine high-voltage power network short circuit current parallel calculating method based on load balancing | |
CN104378239A (en) | Rapid reliability index statistical system and method based on cluster frame | |
CN105897500A (en) | Picture processing method and device | |
CN105187490B (en) | A kind of transfer processing method of internet of things data |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180907 |