CN104283975B - Document distribution method and device - Google Patents
Document distribution method and device Download PDFInfo
- Publication number
- CN104283975B CN104283975B CN201410624055.XA CN201410624055A CN104283975B CN 104283975 B CN104283975 B CN 104283975B CN 201410624055 A CN201410624055 A CN 201410624055A CN 104283975 B CN104283975 B CN 104283975B
- Authority
- CN
- China
- Prior art keywords
- information
- file
- user
- distribution
- targeted customer
- 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
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
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Abstract
In order to solve the efficiency of files in batch distribution in the prior art, a kind of document distribution method, including step are inventor provided:Receive and store the file from first user;The targeted customer of file described in distribution information and a distribution rules group acknowledge according to the file, the distribution information includes document source user profile and filename, the distribution rules group records at least one distribution rules, and the distribution rules include the corresponding relation of file distributing information and targeted customer;The file is sent to the targeted customer with predetermined manner.Inventor additionally provides a kind of file distributing device for realizing the above method.Technical solution of the present invention can batch processing and distribution of document, file storage do not influenceed by same file name with distribution, configure that simple, efficiency of transmission is high, be each provided with suitable convenience degree with recipient to outbox side.
Description
Technical field
The present invention relates to data processing and transmission technique field, more particularly to a kind of document distribution method and device.
Background technology
In recent years, internet technique and mobile communication network technology are quickly grown, and many network gateways are all carried out to be had not
With the data information sharing business of form, such as data information sharing website, blog, microblogging, network individual space etc., by this
A little data information sharing business provide text information, image information, audio/video information and share;Also, with computer, movement
The electronic equipments such as terminal become increasingly popular, and people have gradually become accustomed to pass through communication network by terminal or mobile terminal
Login shared service issue and obtain shared data message so that China steps into the epoch of whole people's data information sharing.
But the popularization of data information sharing, the but management to network gateway proposes requirement higher, due to web portal
The all of data files such as shared text, image file, audio/video file are provided in the database server at family all must
Its sharing distribution, therefore data information sharing business are must refrain from by examination & verification, the data file for not meeting specification through examination & verification
The data file quantity that development is more popularized, offer is shared is more, then the task of data file examination & verification is heavier.
At present, the data file examination of also many network gateways is completed by a special auditor, but
Data file it is large number of, workload that auditor is audited is big, efficiency is low, and is very easy to occur wrong
Examine, leak situations such as examining, data file Quality of Auditing is poor.So, increasing network gateway starts to pay attention to data file
Examination, using many people audit by the way of, shared out the work and help one another by multiple auditors and complete the examination & verification of numerous data files, with
Improve the efficiency and quality of data file examination & verification.But many people's examination & verification data files bring new problem, although examined with one again
Nuclear phase ratio, many people's examination & verifications improve review efficiency to a certain extent, but if lacking rational management, it is likely that occur multiple
Auditor audits same data file or partial document and cannot audit the abnormal cases such as treatment for a long time simultaneously, mistake examines,
Leakage is examined and still occurred, or even because personnel are more, staggeredly the reason such as examination & verification situation complexity causes mistake to be examined, leakage is examined and is more difficult to be sent out
It is existing;If specially assigning an examination & verification distribution personnel carries out sharing out the work for data file, on the one hand need to increase manpower, improve
Cost, on the other hand due to database server in pending nuclear data file it is large number of, and constantly have new data
File is stored in that database server etc. is pending, examination & verification distribution personnel carry out that the difficulty that data file shares out the work is big, intensity is high,
Efficiency is low, and is still difficult to avoid that the problems such as duplicate allocation, leakage distribution.
Additionally, many industries including including financial industry, all in the presence of at regular time and quantity to specific user or affiliate
The demand of the specific file in transmission particular time range, when the feelings that object is numerous, file to be transmitted is also numerous of transmission file
Under condition, sent by sender manual hand manipulation and be likely to result in omission or the mistake of transmission, and send rule it is numerous and diverse also simultaneously
Cause name or explanation to file regular numerous and diverse, when the filename of the different files for particularly being sent when different is identical, can
Energy being serviced device or recipient's covering, cause information to receive incomplete.
The content of the invention
For this reason, it may be necessary to provide one kind can batch processing and distribution of document, file storage do not receive same file name shadow with distribution
Loud document distribution method and device.
To achieve the above object, a kind of document distribution method, including step are inventor provided:
Receive and store the file from first user;
The targeted customer of file, the distribution described in distribution information and a distribution rules group acknowledge according to the file
Information includes document source user profile and filename, and the distribution rules group records at least one distribution rules, described point
Corresponding relation of the hair rule including file distributing information with targeted customer;
The file is sent to the targeted customer with predetermined manner.
Further, in described document distribution method, the distribution rules also send including distribution information with by file
To the corresponding relation of the mode of targeted customer, the side in step " file is sent to the targeted customer with predetermined manner "
Formula determines according to the corresponding relation for distributing information in distribution rules with send to the mode of targeted customer file.
Further, in described document distribution method, step is also included after step " receiving the file from first user "
Suddenly:
Obtain and preserve the unique information of the file, the unique information includes the md5 information of original and following
One or more in information:The ip information of first user, the mac information of first user, the encryption scheme information of first user,
The encryption version information of first user, the channel name information of first user, the username information of first user, application server name
Title information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment thread id
Information, treatment thread deal size information.
Further, in described document distribution method, described " obtaining and preserve the unique information of the file " is specific
Including:
It is calculated a md5 information of the file for one or more in following information:The ip of first user
Information, the mac information of first user, the encryption scheme information of first user, the encryption version information of first user, first user
Channel name information, the username information of first user, application server name information, the filename of the file, the text
The dimension information of part, the temporal information for receiving the file, treatment thread id information, treatment thread deal size information;
Splice the md5 information of a md5 information and the file, protected splicing result as the unique information of the file
Deposit.
Further, in described document distribution method, step " with the md5 of the file believe by the first md5 information of splicing
Also include step after breath ":Default calculation process is done to splicing result, the 2nd md5 information is obtained, and by the 2nd md5 information
Preserved as the unique information of the file, and the 2nd md5 information is 32 md5 information.
Further, in described document distribution method, step " file of the storage from first user " is specifically included:Will
In same time range and the file from same user is stored to same catalogue, and with the unique information of file area each other
Point;
The filename of file, unique information and storage catalogue path are recorded in one and have access to list.
Further, it is described " file to be sent to the target with predetermined manner in described document distribution method
User " specifically includes:
Receive the transmission file request of second user;
It is the file of second user to search targeted customer, and the filename according to this document obtains its storage from list is had access to
Directory path and unique information, and by the store path and unique information of the file send to second user for second user from
The file is downloaded in the storage catalogue.
Inventor additionally provides a kind of file distributing device, including processing unit, memory cell, targeted customer's confirmation unit
And communication unit;
The communication unit is used to receive the file from first user;
The processing unit is used to store the file from first user that communication unit is received to memory cell;
Targeted customer's confirmation unit is used for the text according to the distribution information and a distribution rules group acknowledge of the file
The targeted customer of part, the distribution information include document source user profile and filename, the distribution rules group record to
Few distribution rules, the distribution rules include the corresponding relation of file distributing information and targeted customer;
Processing unit is additionally operable to calling communication unit and the file is sent to the targeted customer with predetermined manner.
Further, in described file distributing device, the distribution rules also send including distribution information with by file
To the corresponding relation of the mode of targeted customer;
The file is sent the mode to the targeted customer according to distribution information in distribution rules and general by communication unit
File sends to the corresponding relation of the mode of targeted customer and determines.
Further, in described file distributing device, the processing unit is additionally operable to obtain unique letter of the file
Breath, and the unique information is stored in into the memory cell, the unique information includes the md5 information of original and following
One or more in information:The ip information of first user, the mac information of first user, the encryption scheme information of first user,
The encryption version information of first user, the channel name information of first user, the username information of first user, application server name
Title information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment thread id
Information, treatment thread deal size information.
Further, in described file distributing device, the processing unit includes computing module, and the computing module is used
A md5 information of the file is calculated in one or more in following information:The ip information of first user,
The mac information of one user, the encryption scheme information of first user, the encryption version information of first user, the channel of first user
Name information, the username information of first user, application server name information, the filename of the file, the chi of the file
Very little information, the temporal information for receiving the file, treatment thread id information, treatment thread deal size information;
The computing module is additionally operable to splice the md5 information of a md5 information and the file, and processing unit will splice to be tied
Fruit is stored in memory cell as the unique information of the file.
Further, in described file distributing device, the computing module is additionally operable to do splicing result default computing
Treatment, obtains the 2nd md5 information, and as the unique information of the file be stored in the 2nd md5 information and deposit by processing unit
Storage unit, the 2nd md5 information is 32 md5 information.
Further, in described file distributing device, the processing unit also includes a logging modle;
Processing unit is by same time range and the file from same user stores the same mesh into memory cell
Record, and be distinguished from each other with the unique information of the file;
What be recorded in for the filename of file, unique information and storage catalogue path in memory cell by logging modle one has access to
List.
Further, in described file distributing device, targeted customer's confirmation unit also includes searching modul;It is described
The file is sent to the targeted customer and specifically included by processing unit calling communication unit with predetermined manner:
Communication unit receives the transmission file request from second user;
It is the file of second user that searching modul searches targeted customer, and the filename according to this document is obtained from list is had access to
Take its storage catalogue path and unique information;Processing unit calling communication unit and by the storage catalogue path of the file and only
One information sends to second user and the file is downloaded from the storage catalogue for second user.
Be different from prior art, above-mentioned technical proposal can batch processing and distribution of document, file storage with distribution not by phase
With filename influence, configuration is simple, efficiency of transmission is high, be each provided with suitable convenience degree to outbox side and recipient.
Brief description of the drawings
Fig. 1 is the flow chart of document distribution method described in an embodiment of the present invention;
Fig. 2 is the structural representation of file distributing device described in an embodiment of the present invention.
Description of reference numerals:
1- processing units
2- memory cell
3- targeted customer's confirmation units
4- communication units
11- computing modules
12- logging modles
31- searching moduls
Specific embodiment
To describe technology contents, structural feature, the objects and the effects of technical scheme in detail, below in conjunction with specific reality
Apply example and coordinate accompanying drawing to be explained in detail.
Fig. 1 is referred to, is the flow chart of document distribution method described in an embodiment of the present invention;Methods described includes following
Step:
S1, configuration distribution rules list;
Specifically, to record file distributing information corresponding with targeted customer for the distribution rules in the distribution rules list
Relation;Further, the distribution rules in the distribution rules list also record distribution information and send to target file
The corresponding relation of the mode of user, described is " answering user's request to distribute " by the mode that file is sent to targeted customer.This implementation
In mode, including the distribution rules group of at least one distribution rules is presented with tabular form, i.e., above-mentioned distribution rules list.At it
In his implementation method, distribution rules group is also possible to present otherwise.
S2, receive and store the file from first user;
Specifically, the mode of file of the storage from first user is by same time range and from same user
File is stored to same catalogue, and is distinguished from each other with the unique information of the file;And by the filename of file, unique information
One is recorded in storage catalogue path have access to list.
S3, the unique information for obtaining the file;
Specifically, the unique information includes one or more in the md5 information and following information of original:First
The ip information of user, the mac information of first user, the encryption scheme information of first user, the encryption version information of first user,
The channel name information of first user, the username information of first user, application server name information, the file of the file
Name, the dimension information of the file, the temporal information for receiving the file, treatment thread id information, treatment thread trading volume letter
Breath.
S4, unique code that the file is calculated according to the unique information of the file;
Specifically, the process for calculating unique code is included as follows step by step:
S41, the md5 information for calculating the file:
Specifically, the mode of a md5 information of calculation document is:Calculate for one or more in following information
To a md5 information of the file:The ip information of first user, the mac information of first user, the cipher mode of first user
Information, the encryption version information of first user, the channel name information of first user, the username information of first user, using clothes
Business device name information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment
Thread id information, treatment thread deal size information;
The md5 information of S42, splicing the first md5 information and the file;
S43, the computing that presets are done to splicing result, obtain the 2nd md5 information of 32, save as the file
Unique code.
S5, the distribution information according to the file and distribution rules list confirm the targeted customer of the file;
Specifically, the distribution information includes document source user profile and filename.
S6, transmission file request of the reception from second user;
S7, the response transmission file request.
Specifically, this step is included as follows step by step again:
S71, lookup targeted customer are the file of second user;
S72, its storage catalogue path and unique information are obtained from list is had access to according to the filename of this document;
S73, the store path and unique information of the file are sent to second user for second user from the storage
The file is downloaded in catalogue.
The treatment executive agent of step S1-S7 is server, that is to say, that the file distributing work that present embodiment is provided
Make to be completed by server, largely alleviate the workload of file sender and file reception side.
In present embodiment, the predetermined manner that file is sent to targeted customer is sent to answer targeted customer to ask.
In other embodiment, the predetermined manner that file is sent to targeted customer can also be according to pre-conditioned to targeted customer master
Dynamic pushing files send file push notice.It is pre-conditioned to include active push file or send what file push was notified
Moment or frequency.For example, the requirement according to A units configures A units to B units in every afternoon in distribution rules list in advance
It is 5 PM that 5 points send file, i.e. active push file or the moment of transmission file push notice, and frequency is daily.Then exist
During every afternoon 5, server is belonging to the day before yesterday 5 PM of A units to the catalogue file folder between this day 5 PM
It is middle to confirm that targeted customer is the file of B according to filename, and the file is sent to party B-subscriber, or by the storage of the file
Path and unique information are sent to B units, and these files are downloaded from the storage catalogue for B units.Further, advised in distribution
The pre-conditioned quantity that can also include sending file to targeted customer for then being configured in list, for example, server can also answer A
The quantity of 5 points of transmission files every afternoon is set to 3 parts of files by the request of unit, when server is belonging to the day before yesterday of A units
5 PM between this day 5 PM catalogue file folder according to filename confirm targeted customer for B quantity of documents not
3 parts of foot sends error information during more than 3 parts to party A-subscriber.
In present embodiment, the unique information of file is a kind of unique code, and this unique code is according to first user
Ip information, the mac information of first user, the encryption scheme information of first user, the encryption version information of first user, first are used
It is the channel name information at family, the username information of first user, application server name information, the filename of the file, described
The dimension information of file, the temporal information for receiving the file, treatment thread id information and treatment thread deal size information do
A md5 information obtained by default calculating is spliced with file original md5 information and calculates the 2nd md5 information of gained.In other realities
In applying mode, can also utilize the ip information of first user, the mac information of first user, the encryption scheme information of first user,
The encryption version information of first user, the channel name information of first user, the username information of first user, application server name
Title information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment thread id
The unique information of the md5 acquisition of information files of information or treatment one or more of thread deal size information and original, this
Even if the identical file of content uploaded twice before and after existing in the same catalogue of sample, server will not also regard two parts of files
Be identical file, storage organization when also being stored in the server because of two parts of files include the unique information of file without
File is sent after causing will first send the result of file covering.Wherein, the channel name refers to being applied to finance when this method
During field, because the transaction source of bank is different, in order to count and being formed form etc., often the source of transaction is classified.
Such as:The transaction of bank may be from Mobile banking, Net silver, cabinet face, atm, Unionpay etc., and fund flows into silver by different channels
OK, channel is just used to distinguish the source of money.The treatment thread id refer to system be one support multi-user access it is online
System, one service thread of each user when providing service to user, then each thread is corresponding one No. id.Draw an analogy,
System regards banking department.The cabinet dough figurine person of bank thread just quite with us, each window has a number, equivalent to
Thread id.And process thread trading volume then with treatment thread id information accordingly, refer to the trading volume of each thread, can
Strokes business is completed to be interpreted as certain business personnel.
In present embodiment, Distributor confirm file targeted customer foundation be file filename, according to A
The prior agreement of user is configured with the filename of the file of party A-subscriber's upload and the corresponding relation of targeted customer.For example, party A-subscriber exists
10 parts of files are uploaded in one time, the good corresponding relation of configured in advance is:Targeted customer is its filename of the file of party B-subscriber
With B as prefix, targeted customer is the file of C user its filename with C as prefix.So, server can just be used from for depositing A
Search and confirm that wherein targeted customer is the file of B in the file that family uploads within certain time, and ensure these file roots
Sent to party B-subscriber according to the predetermined manner of configured in advance.
Fig. 2 is referred to, is the structural representation of file distributing device described in an embodiment of the present invention.Described device includes
Processing unit 1, memory cell 2, targeted customer's confirmation unit 3 and communication unit 4;
The communication unit 4 is used to receive the file from first user;
The file from first user that the processing unit 1 is used to receive communication unit 4 is stored to memory cell 2;
Further, the processing unit 1 also includes a logging modle 12;Processing unit 1 by same time range and
File from same user stores the same catalogue into memory cell 2, and is distinguished from each other with the unique information of the file;
What be recorded in for the filename of file, unique information and storage catalogue path in memory cell by logging modle 12 one has access to list.
Further, the processing unit 1 is additionally operable to obtain the unique information of the file, and the unique information is protected
The memory cell 2 is stored in, the unique information includes one or more in the md5 information and following information of original:
The ip information of first user, the mac information of first user, the encryption scheme information of first user, the encryption version of first user
Information, the channel name information of first user, the username information of first user, application server name information, the file
Filename, the dimension information of the file, the temporal information for receiving the file, treatment thread id information, treatment thread transaction
Amount information.
Further, the processing unit 1 also includes computing module 11, and the computing module 11 is used for according to following information
In the md5 information for being calculated the file for one or more:The ip information of first user, the mac letters of first user
Breath, the encryption version information of the encryption scheme information of first user, first user, the channel name information of first user, first are used
The username information at family, application server name information, the filename of the file, the dimension information of the file, reception institute
State temporal information, treatment thread id information, the treatment thread deal size information of file;
Further, the computing module 11 is additionally operable to splice the md5 information of a md5 information and the file, treatment
Splicing result is stored in memory cell 2 by unit 1.
Further, the computing module 11 is additionally operable to do splicing result default calculation process, obtains the 2nd md5 letters
The 2nd md5 information is stored in memory cell 2, described second by breath, processing unit 1
Md5 information is 32 md5 information.
Targeted customer's confirmation unit 3 is used for according to the distribution information of the file and a distribution rules list confirm
The targeted customer of file, the distribution information includes document source user profile and filename, and the distribution rules list is recorded
There is the corresponding relation of file distributing information and targeted customer;In present embodiment, including the distribution of at least one distribution rules is advised
Then group is presented with tabular form, i.e., above-mentioned distribution rules list.In other embodiments, distribution rules group is also possible to other
Form is presented.
Processing unit 1 is additionally operable to calling communication unit 4 and the file is sent to the targeted customer with predetermined manner.Enter
One step ground, the distribution rules list also records distribution information and is sent to the corresponding pass of the mode of targeted customer with by file
System;Communication unit by the file send mode to the targeted customer according to distribute in distribution rules list information with by text
Part sends to the corresponding relation of the mode of targeted customer and determines.
Further, targeted customer's confirmation unit 3 also includes searching modul 31;The calling communication of the processing unit 1
The file is sent to the targeted customer and specifically included by unit 4 with predetermined manner:Communication unit 4 is received and comes from second user
Transmission file request;It is the file of second user that searching modul 31 searches targeted customer, and filename according to this document is from tune
Read and obtain its storage catalogue path and unique information in list;The calling communication unit 4 of processing unit 1 and by the storage of the file
Directory path and unique information send to second user and the file are downloaded from the storage catalogue for second user.
File distributing device described in explanation present embodiment realizes the concrete mode of file distribution function below:
First, file distributing device management personnel configure distribution rules list according to user's request;
Specifically, the distribution rules list records the corresponding relation of file distributing information and targeted customer;Further
Ground, the distribution rules list also records distribution information and sends file to the corresponding relation of the mode of targeted customer, institute
It is " answering user's request to distribute " to state the mode for sending to targeted customer file.
Communication unit 4 receives the file from first user, and the file is stored in memory cell 2 by processing unit 1;
Specifically, the mode of file of the storage from first user is by same time range and from same user
File is stored to same catalogue, and is distinguished from each other with the unique information of the file;And by the filename of file, unique information
One is recorded in storage catalogue path have access to list.
Processing unit 1 obtains the unique information of the file;
Specifically, the unique information includes one or more in the md5 information and following information of original:First
The ip information of user, the mac information of first user, the encryption scheme information of first user, the encryption version information of first user,
The channel name information of first user, the username information of first user, application server name information, the file of the file
Name, the dimension information of the file, the temporal information for receiving the file, treatment thread id information, treatment thread trading volume letter
Breath.
Computing module 11 calculates unique code of the file according to the unique information of the file;
Specifically, the process for calculating unique code is included as follows step by step:
Computing module 11 calculates a md5 information of the file:
Specifically, the mode of a md5 information of calculation document is:Calculate for one or more in following information
To a md5 information of the file:The ip information of first user, the mac information of first user, the cipher mode of first user
Information, the encryption version information of first user, the channel name information of first user, the username information of first user, using clothes
Business device name information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment
Thread id information, treatment thread deal size information.Wherein, the channel name is referred to when the present apparatus is applied to financial field,
Because the transaction source of bank is different, in order to count and being formed form etc., often the source of transaction is classified.Such as:Bank
Transaction may be from Mobile banking, Net silver, cabinet face, atm, Unionpay etc., fund flows into banks by different channels, and channel is just
Source for distinguishing money.The treatment thread id refer to system be one support multi-user access on-line system, to
One service thread of each user when family provides service, then each thread is corresponding one No. id.Draw an analogy, system as silver
Row business department.The cabinet dough figurine person of bank thread just quite with us, each window has a number, equivalent to thread id.
And process thread trading volume then with treatment thread id information accordingly, refer to the trading volume of each thread, it can be understood as
Certain business personnel completes strokes business.
Computing module 12 splices the md5 information of a md5 information and the file;
Computing module 13 does the computing of presets to splicing result, obtains the 2nd md5 information of 32, saves as described
Unique code of file.
Then, targeted customer's confirmation unit 3 confirms to be confirmed according to the distribution information of the file and distribution rules list
The targeted customer of the file;
Specifically, the distribution information includes document source user profile and filename.
Communication unit 4 receives the transmission file request from second user;
File distributing device responds the transmission file request, specifically includes as follows step by step:
It is the file of second user that searching modul 31 searches targeted customer;
Processing unit 1 obtains its storage catalogue path and unique information according to the filename of this document from list is had access to;
The store path and unique information of the file are sent to second user and supplied by the calling communication unit 4 of processing unit 1
Second user downloads the file from the storage catalogue.
Distribute cluster, such as three it is possible to further be made up of consistent file distributing device configuration file several structures
Real-time synchronization between individual file distributing device, constitutes cluster and is provided out identical file distribution service, file distributing device or
The keeper of file distributing cluster can change alternative document point by changing the configuration information of any of which file distributing device
The configuration of transmitting apparatus, thus can so substantially reduce Single Point of Faliure probability, it is ensured that user is to file distributing cluster
Access and file distributing cluster provide file distribution service effect.
In present embodiment, file is sent the predetermined manner to targeted customer to answer target to use by the file distributing device
Ask and send in family.In other embodiments, the predetermined manner that file is sent to targeted customer can also be according to default
Condition is to targeted customer's active push file or sends file push notice.It is pre-conditioned to include active push file or hair
Send moment or frequency that file push is notified, the pre-conditioned distribution rules list being also recorded in memory cell 2.Example
Such as, according to A units requirement configures A units to B units in 5 points of transmission files every afternoon in distribution rules list in advance,
The moment that i.e. active push file or transmission file push are notified is 5 PM, and frequency is daily.Then in 5 points of every afternoon
When, file distributing device basis in the day before yesterday 5 PM for belonging to A units is pressed from both sides to the catalogue file between this day 5 PM
Filename confirms that targeted customer is the file of B, and the file is sent to party B-subscriber, or by the store path of the file and
Unique information is sent to B units, and these files are downloaded from the storage catalogue for B units.Further, in distribution rules list
The pre-conditioned quantity that can also include sending file to targeted customer of middle configuration, for example, file distributing device can also answer A
The quantity of 5 points of transmission files every afternoon is set to 3 parts of files by the request of unit, when file distributing device is belonging to A units
Day before yesterday 5 PM between this day 5 PM catalogue file folder according to filename confirm targeted customer for B file
3 parts of lazy weight sends error information during more than 3 parts to party A-subscriber.
In present embodiment, the unique information of file is a kind of unique code, and this unique code is according to first user
Ip information, the mac information of first user, the encryption scheme information of first user, the encryption version information of first user, first are used
It is the channel name information at family, the username information of first user, application server name information, the filename of the file, described
The dimension information of file, the temporal information for receiving the file, treatment thread id information and treatment thread deal size information do
A md5 information obtained by default calculating is spliced with file original md5 information and calculates the 2nd md5 information of gained.In other realities
In applying mode, can also utilize the ip information of first user, the mac information of first user, the encryption scheme information of first user,
The encryption version information of first user, the channel name information of first user, the username information of first user, application server name
Title information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment thread id
The unique information of the md5 acquisition of information files of information or treatment one or more of thread deal size information and original, this
Even if the identical file of content uploaded twice before and after existing in the same catalogue of sample, file distributing device also will not be by two parts
File is considered as identical file, and storage organization when also being stored in file distributing device because of two parts of files includes file only
One information without causing after send file will first send file covering result.
In present embodiment, file distributing device confirms that the foundation of the targeted customer of file is the filename of file, according to
With the filename and the corresponding relation of targeted customer of the file that the prior agreement of party A-subscriber is configured with party A-subscriber's upload.For example, party A-subscriber
10 parts of files are uploaded within the time, the good corresponding relation of configured in advance is:Targeted customer is its file of the file of party B-subscriber
With B as prefix, targeted customer is the file of C user its filename with C as prefix to name.So, file distributing device just can from
Search and confirm that wherein targeted customer is the file of B in the file that storage party A-subscriber uploads within certain time, and ensure this
A little files are sent to party B-subscriber according to the predetermined manner of configured in advance.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to
Nonexcludability is included, so that process, method, article or terminal device including a series of key elements not only include those
Key element, but also other key elements including being not expressly set out, or also include being this process, method, article or end
The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... "
Key element, it is not excluded that also there is other key element in the process including the key element, method, article or terminal device.This
Outward, herein, " it is more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " below ", " within " etc. understand
It is to include this number.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, device or computer program producing
Product.These embodiments can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program correlation hardware come
Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side
All or part of step described in method.The computer equipment, including but not limited to:Personal computer, server, general-purpose computations
Machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, Wearable
Smart machine, vehicle intelligent equipment etc.;Described storage medium, including but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to the method according to embodiment, equipment (system) and computer program product
Flow chart and/or block diagram are described.It should be understood that every during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in one flow and/or square frame and flow chart and/or block diagram.These computers can be provided
Programmed instruction is to the processor of computer equipment producing a machine so that by the finger of the computing device of computer equipment
Order is produced for realizing what is specified in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames
The device of function.
These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set
In standby readable memory so that instruction of the storage in the computer equipment readable memory is produced and include the manufacture of command device
Product, the command device is realized in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frame middle fingers
Fixed function.
These computer program instructions can be also loaded on computer equipment so that performed on a computing device a series of
Operating procedure is to produce computer implemented treatment, so that the instruction for performing on a computing device is provided for realizing in flow
The step of function of being specified in one flow of figure or multiple one square frame of flow and/or block diagram or multiple square frames.
Although being described to the various embodiments described above, those skilled in the art once know basic wound
The property made concept, then can make other change and modification to these embodiments, so embodiments of the invention are the foregoing is only,
Not thereby scope of patent protection of the invention, the equivalent structure that every utilization description of the invention and accompanying drawing content are made are limited
Or equivalent flow conversion, or other related technical fields are directly or indirectly used in, similarly it is included in patent of the invention
Within protection domain.
Claims (10)
1. a kind of document distribution method, including step:
Receive and store the file from first user;Obtain and preserve the unique information of the file, the unique information bag
Include one or more in the md5 information and following information of original:The ip information of first user, the mac letters of first user
Breath, the encryption version information of the encryption scheme information of first user, first user, the channel name information of first user, first are used
The username information at family, application server name information, the filename of the file, the dimension information of the file, reception institute
State temporal information, treatment thread id information, the treatment thread deal size information of file;
" the obtaining and preserve the unique information of the file " specifically includes:One or more calculating in following information
Obtain a md5 information of the file:The ip information of first user, the mac information of first user, the encryption side of first user
Formula information, the encryption version information of first user, the channel name information of first user, the username information of first user, application
Server name information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, place
Reason thread id information, treatment thread deal size information;
Splice the md5 information of a md5 information and the file, preserved splicing result as the unique information of the file;
The targeted customer of file, the distribution information described in distribution information and a distribution rules group acknowledge according to the file
Including document source user profile and filename, the distribution rules group records at least one distribution rules, the distribution rule
Then include the corresponding relation of file distributing information and targeted customer;
The file is sent to the targeted customer with predetermined manner.
2. in document distribution method as claimed in claim 1, the distribution rules also send including distribution information with by file
To the corresponding relation of the mode of targeted customer, the side in step " file is sent to the targeted customer with predetermined manner "
Formula determines according to the corresponding relation for distributing information in distribution rules with send to the mode of targeted customer file.
3. in document distribution method as claimed in claim 1, step " with the md5 of the file believe by the first md5 information of splicing
Also include step after breath ":Default calculation process is done to splicing result, the 2nd md5 information is obtained, and by the 2nd md5 information
Preserved as the unique information of the file, and the 2nd md5 information is 32 md5 information.
4. in document distribution method as claimed in claim 1, step " file of the storage from first user " is specifically included:Will
In same time range and the file from same user is stored to same catalogue, and with the unique information of file area each other
Point;
The filename of file, unique information and storage catalogue path are recorded in one and have access to list.
5. it is described " file to be sent to the target with predetermined manner in document distribution method as claimed in claim 4
User " specifically includes:
Receive the transmission file request of second user;
It is the file of second user to search targeted customer, and the filename according to this document obtains its storage catalogue from list is had access to
Path and unique information, and the store path and unique information of the file are sent to second user for second user from described
The file is downloaded in storage catalogue.
6. a kind of file distributing device, including processing unit, memory cell, targeted customer's confirmation unit and communication unit;
The communication unit is used to receive the file from first user;
The processing unit is used to store the file from first user that communication unit is received to memory cell;The treatment
Unit is additionally operable to obtain the unique information of the file, and the unique information is stored in into the memory cell, described unique
Information includes one or more in the md5 information and following information of original:The ip information of first user, first user
Mac information, the encryption scheme information of first user, the encryption version information of first user, the channel name information of first user,
The username information of one user, application server name information, the filename of the file, the dimension information of the file, connect
Receive temporal information, treatment thread id information, the treatment thread deal size information of the file;
The processing unit includes computing module, and the computing module is calculated for one or more in following information
To a md5 information of the file:The ip information of first user, the mac information of first user, the cipher mode of first user
Information, the encryption version information of first user, the channel name information of first user, the username information of first user, using clothes
Business device name information, the filename of the file, the dimension information of the file, the temporal information for receiving the file, treatment
Thread id information, treatment thread deal size information;
The computing module is additionally operable to splice the md5 information of a md5 information and the file, and processing unit makees splicing result
For the unique information of the file is stored in memory cell;
Targeted customer's confirmation unit is used for the file according to the distribution information and a distribution rules group acknowledge of the file
Targeted customer, the distribution information includes document source user profile and filename, and the distribution rules group records at least one
Bar distribution rules, the distribution rules include the corresponding relation of file distributing information and targeted customer;
Processing unit is additionally operable to calling communication unit and the file is sent to the targeted customer with predetermined manner.
7. in file distributing device as claimed in claim 6, the distribution rules also send including distribution information with by file
To the corresponding relation of the mode of targeted customer;
Communication unit by the file send mode to the targeted customer according to distribute in distribution rules information with by file
Send to the corresponding relation of the mode of targeted customer and determine.
8. in file distributing device as claimed in claim 6, the computing module is additionally operable to do splicing result default computing
Treatment, obtains the 2nd md5 information, and as the unique information of the file be stored in the 2nd md5 information and deposit by processing unit
Storage unit, the 2nd md5 information is 32 md5 information.
9. in file distributing device as claimed in claim 6, the processing unit also includes a logging modle;
Processing unit by same time range and the file from same user stores the same catalogue into memory cell, and
It is distinguished from each other with the unique information of the file;
What be recorded in for the filename of file, unique information and storage catalogue path in memory cell by logging modle one has access to row
Table.
10. in file distributing device as claimed in claim 9, targeted customer's confirmation unit also includes searching modul;Institute
State processing unit calling communication unit the file is sent to the targeted customer with predetermined manner and specifically include:
Communication unit receives the transmission file request from second user;
It is the file of second user that searching modul searches targeted customer, and the filename according to this document obtains it from list is had access to
Storage catalogue path and unique information;Processing unit calling communication unit simultaneously believes the storage catalogue path of the file with unique
Breath sends to second user and the file is downloaded from the storage catalogue for second user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624055.XA CN104283975B (en) | 2014-11-06 | 2014-11-06 | Document distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410624055.XA CN104283975B (en) | 2014-11-06 | 2014-11-06 | Document distribution method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104283975A CN104283975A (en) | 2015-01-14 |
CN104283975B true CN104283975B (en) | 2017-06-09 |
Family
ID=52258447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410624055.XA Active CN104283975B (en) | 2014-11-06 | 2014-11-06 | Document distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104283975B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487852B (en) * | 2015-08-31 | 2020-02-18 | 阿里巴巴集团控股有限公司 | Method, device, terminal equipment and system for realizing client file synchronization |
CN105306537B (en) * | 2015-09-22 | 2018-12-18 | 浪潮(北京)电子信息产业有限公司 | A kind of method of file that transmitting the office automation system, server and client side |
CN107666386B (en) * | 2016-07-27 | 2021-05-28 | 复凌科技(上海)有限公司 | Data secure transmission method and device |
CN106657441A (en) * | 2017-01-11 | 2017-05-10 | 深圳证券通信有限公司 | Algorithm for generating unique packet ID of financial data exchange message |
CN107220223A (en) * | 2017-04-25 | 2017-09-29 | 华律网络科技(武汉)有限公司 | A kind of method and system of batch distribution formats file |
CN108234607B (en) * | 2017-12-18 | 2020-06-05 | 上海中畅数据技术有限公司 | File distribution method and system based on micro-service architecture mode |
CN109101534A (en) * | 2018-06-26 | 2018-12-28 | 珠海宏桥高科技有限公司 | A kind of automatic document distribution method and device based on text rule |
CN110086879A (en) * | 2019-05-07 | 2019-08-02 | 深圳市一诺软件有限公司 | Assessment of bids document distribution method, bid evaluation system and readable storage medium storing program for executing |
CN110457273A (en) * | 2019-07-11 | 2019-11-15 | 岭澳核电有限公司 | A kind of nuclear power station document management method, system and terminal device |
CN112073395B (en) * | 2020-08-27 | 2023-04-07 | 中国建设银行股份有限公司 | File distribution method and device |
CN112711668A (en) * | 2020-12-29 | 2021-04-27 | 广东电网有限责任公司 | Intelligent text receiving and sending system and method for OA office |
CN114071191A (en) * | 2021-11-11 | 2022-02-18 | 温杨玲 | Video file encryption distribution method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202738A (en) * | 2006-12-11 | 2008-06-18 | 腾讯科技(深圳)有限公司 | Method, system and device for anastomosing mail system and network harddisk |
CN101777979A (en) * | 2009-12-28 | 2010-07-14 | 北京飞天诚信科技有限公司 | Operating method and system for intelligent key device |
CN102307240A (en) * | 2011-09-20 | 2012-01-04 | 清华大学 | Method for sharing files on internet by utilizing computer equipment |
CN102546839A (en) * | 2012-03-25 | 2012-07-04 | 沈阳通用软件有限公司 | Efficient and reliable software distribution method for large scale network |
CN103179148A (en) * | 2011-12-21 | 2013-06-26 | 腾讯数码(天津)有限公司 | Processing method and system for sharing enclosures in internet |
CN103297447A (en) * | 2012-02-24 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Resource sharing method and resource sharing equipment |
CN103312757A (en) * | 2012-03-15 | 2013-09-18 | 深圳市腾讯计算机系统有限公司 | Picture sharing method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4895378B2 (en) * | 2007-02-05 | 2012-03-14 | 株式会社オリコム | Secret information delivery system and secret information delivery method |
-
2014
- 2014-11-06 CN CN201410624055.XA patent/CN104283975B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202738A (en) * | 2006-12-11 | 2008-06-18 | 腾讯科技(深圳)有限公司 | Method, system and device for anastomosing mail system and network harddisk |
CN101777979A (en) * | 2009-12-28 | 2010-07-14 | 北京飞天诚信科技有限公司 | Operating method and system for intelligent key device |
CN102307240A (en) * | 2011-09-20 | 2012-01-04 | 清华大学 | Method for sharing files on internet by utilizing computer equipment |
CN103179148A (en) * | 2011-12-21 | 2013-06-26 | 腾讯数码(天津)有限公司 | Processing method and system for sharing enclosures in internet |
CN103297447A (en) * | 2012-02-24 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Resource sharing method and resource sharing equipment |
CN103312757A (en) * | 2012-03-15 | 2013-09-18 | 深圳市腾讯计算机系统有限公司 | Picture sharing method and system |
CN102546839A (en) * | 2012-03-25 | 2012-07-04 | 沈阳通用软件有限公司 | Efficient and reliable software distribution method for large scale network |
Also Published As
Publication number | Publication date |
---|---|
CN104283975A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104283975B (en) | Document distribution method and device | |
US10255626B2 (en) | Methods, devices, and systems for sending and receiving virtual goods | |
CN107682397A (en) | Customer resources acquisition methods, device, terminal device and storage medium | |
CN110765295A (en) | Graph database-based query method and device, computer equipment and storage medium | |
CN105260292B (en) | A kind of log recording method, apparatus and system | |
CN107852412A (en) | For phishing and the system and method for brand protection | |
US20140129511A1 (en) | On-demand viewing of a report with security permissions | |
WO2016101811A1 (en) | Information arrangement method and apparatus | |
CN106651228A (en) | Method, device and system for querying logistics tracking information | |
CN104717131B (en) | Information interacting method and server | |
CN107169364A (en) | A kind of data security method and related system | |
CN104102692A (en) | Electronic document tracking method based on logs | |
CN107862352A (en) | A kind of Quick Response Code sharing method and Quick Response Code share equipment | |
CN106878397A (en) | A kind of WEB user behaviors feedback method and system | |
CN107070942A (en) | A kind of data security method and related system | |
CN109842652A (en) | A kind of method for uploading of file, terminal, Cloud Server and computer storage medium | |
CN107067321A (en) | Data security method, server, client and the system of payment beforehand business | |
CN112767113A (en) | Account checking data processing method, device and system based on block chain | |
CN108011872A (en) | Personal information intelligent acquisition method and system | |
CN107104923A (en) | A kind of account binding and the method and device of business processing | |
CN106899564A (en) | A kind of login method and device | |
CN106470200A (en) | A kind of auth method and relevant apparatus | |
CN109995767A (en) | Account single-point logging method, terminal device and storage medium | |
CN104539636A (en) | Video evidence service system | |
CN107818435A (en) | Order information processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |