CN102819546A - Method and device for associating attachments - Google Patents

Method and device for associating attachments Download PDF

Info

Publication number
CN102819546A
CN102819546A CN2011104501513A CN201110450151A CN102819546A CN 102819546 A CN102819546 A CN 102819546A CN 2011104501513 A CN2011104501513 A CN 2011104501513A CN 201110450151 A CN201110450151 A CN 201110450151A CN 102819546 A CN102819546 A CN 102819546A
Authority
CN
China
Prior art keywords
annex
document
interim
server
attribute
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
Application number
CN2011104501513A
Other languages
Chinese (zh)
Inventor
任峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN2011104501513A priority Critical patent/CN102819546A/en
Publication of CN102819546A publication Critical patent/CN102819546A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method and a device for associating attachments. The method comprises establishing association mapping tables between documents and/or attribute information of users corresponding to the attachments and temporary attachments of the attachments; obtaining the current documents and/or attribute information of users when the documents are needed to be submitted; and associating the documents with corresponding temporary attachments according to the current documents and/or attribute information of users and the association mapping tables. According to the method and the device for associating attachments, the association mapping tables between the temporary attachments of the uploading attachments and documents and/or attribute information of users are established during the attachment uploading, and the initiative adsorption type association can be performed on the documents and the temporary attachments according to the association mapping tables if documents are abnormal; accordingly, the repeated uploading of attachments and the occupation of network resources are prevented after the user attachments are abnormal, and the waste of server resources is reduced; simultaneously, users can perform selection according to the matched absorption type association attachments, hence, the man-machine interaction experience is enhanced.

Description

Accessory association method and device
Technical field
The present invention relates to Web annex and document and upload technical field, relate in particular to a kind of accessory association method and device.
Background technology
At present; Carry out annex when uploading with the Web mode; If occurring communication abnormality or document between Web and server handles and will cause server to produce a large amount of attachment data users unusually to upload annex and will further increase the redundant data amount; Cause the waste of network and server resource, and reduce man-machine interaction.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of accessory association method and device, be intended to avoid annex repeat upload, reduce taking to network and server resource.
In order to achieve the above object, the present invention proposes a kind of accessory association method, comprising:
When uploading annex, set up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex;
When the needs presentation of documents, obtain current document and/or attribute of user information;
According to said current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex are carried out association.
Preferably, said when uploading annex, the step of setting up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex comprises:
When uploading annex, from the server that said annex is uploaded, obtain said annex corresponding document and/or attribute of user information;
Obtain the path of the interim annex that annex is corresponding described in the temp directory of said server;
Set up the relationship maps table between the path of said document and/or attribute of user information and said interim annex.
Preferably, said according to current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex are carried out related step comprise:
According to current document and/or attribute of user information, search said relationship maps table;
When having the path of the interim annex corresponding in the said relationship maps table,, judge whether there be the interim annex corresponding in the server with said document according to the path of the interim annex of said correspondence with said current document and/or attribute of user information; If exist, then
With the path binding of said document, and be committed to said server with corresponding interim annex; Otherwise
The newly-increased annex corresponding to the said server of uploading with said document.
Preferably, the path of said interim annex according to correspondence, judge whether exist the step of the interim annex corresponding to comprise in the server with said document:
According to the path of the interim annex of correspondence, search the temp directory of said server;
Judge the attribute information that whether has the interim annex of said correspondence in the temp directory of said server; If exist, then confirm to exist in the said server the interim annex of said correspondence; Otherwise, confirm not exist in the said server the interim annex of said correspondence.
Preferably, said according to current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex are carried out related step further comprise:
When not having the path of the interim annex corresponding in the said relationship maps table with said current document and/or attribute of user information, the newly-increased extremely said server of the annex corresponding of uploading with said document.
Preferably, said with the path binding of said document with corresponding interim annex, and also comprise before being committed to the step of server:
The prompting user selects whether to carry out accessory association; If the user selects accessory association,, and be committed to server then with the path binding of said document with corresponding interim annex; Otherwise the newly-increased annex corresponding to the said server of uploading with said document.
The present invention also proposes a kind of accessory association device, comprising:
Mapping relations are set up module, are used for when uploading annex, set up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex;
Acquisition module is used for when the needs presentation of documents, obtaining current document and/or attribute of user information;
The association process module is used for according to said current document and/or attribute of user information, and said relationship maps table, and said document and corresponding interim annex are carried out association.
Preferably, said mapping relations are set up module and are comprised:
First acquiring unit is used for when uploading annex, from the server that said annex is uploaded, obtains said annex corresponding document and/or attribute of user information;
Second acquisition unit is used to obtain the path of the interim annex that annex is corresponding described in the temp directory of said server;
Set up the unit, be used to set up the relationship maps table between the path of said document and/or attribute of user information and said interim annex.
Preferably, said association process module comprises:
Search the unit, be used for searching said relationship maps table according to current document and/or attribute of user information;
Judging unit; Be used for when there is the path of the interim annex corresponding with said current document and/or attribute of user information in said relationship maps table; According to the path of the interim annex of said correspondence, judge whether there be the interim annex corresponding in the server with said document;
The association process unit is used for when having the interim annex corresponding with said document, with the path binding of said document with corresponding interim annex, and is committed to said server; Otherwise, the newly-increased annex corresponding to the said server of uploading with said document.
Preferably, said judging unit also is used for the path according to the interim annex of correspondence, searches the temp directory of said server; Judge the attribute information that whether has the interim annex of said correspondence in the temp directory of said server; If exist, then confirm to exist in the said server the interim annex of said correspondence; Otherwise, confirm not exist in the said server the interim annex of said correspondence.
Preferably, said association process unit also is used for when there is not the path of the interim annex corresponding with said current document and/or attribute of user information in said relationship maps table, the newly-increased extremely said server of the annex corresponding with said document of uploading.
A kind of accessory association method and device that the present invention proposes; When uploading annex, set up and upload the interim annex of annex and the relationship maps table of document and/or attribute of user information, unusual as document takes place; It is related to carry out the active absorption type to document and interim annex according to the relationship maps table; Avoided the unusual back of user's document that annex is repeated to upload, caused, reduced the server resource waste the taking of Internet resources; Simultaneously, when document was set up and submit to, the user can select according to coupling absorption type associated attachment, has strengthened user's man-machine interaction thus and has experienced.
Description of drawings
Fig. 1 is the schematic flow sheet of accessory association method of the present invention preferred embodiment;
Fig. 2 be in the accessory association method of the present invention preferred embodiment when uploading annex, set up the schematic flow sheet of the relationship maps table between the interim annex of the corresponding document of annex and/or attribute of user information and annex;
Fig. 3 be in the accessory association method of the present invention preferred embodiment according to current document and/or attribute of user information, and relationship maps table carries out related schematic flow sheet to document and corresponding interim annex;
Fig. 4 be in the accessory association method of the present invention preferred embodiment according to the path of the interim annex of correspondence, judge the schematic flow sheet that whether has the interim annex corresponding in the server with document;
Fig. 5 is the structural representation of accessory association device of the present invention preferred embodiment;
Fig. 6 is the structural representation that mapping relations are set up module in the accessory association device of the present invention preferred embodiment;
Fig. 7 is the structural representation of association process module in the accessory association device of the present invention preferred embodiment.
In order to make technical scheme of the present invention clearer, clear, will combine accompanying drawing to do further to detail below.
Embodiment
Embodiment of the invention solution mainly is: the interim annex of the document of uploading is carried out the attribute signature; Set up the relationship maps table;, document unusual like generation systems be unusual, submit to unusual after, it is related according to the relationship maps table the interim annex of document and server to be carried out active absorption type, after avoiding user's document unusually, annex is repeated to upload; Cause the taking of Internet resources, and can strengthen user's man-machine interaction and experience.
As shown in Figure 1, preferred embodiment of the present invention proposes a kind of accessory association method, comprising:
Step S101 when uploading annex, sets up the relationship maps table between the interim annex of the corresponding document of annex and/or attribute of user information and annex;
In the present embodiment method, be that example describes with the upload procedure of carrying out document and annex through the Web mode.Carrying out document and annex with the Web mode when uploading, the mode of using document to separate submission with annex is promptly when setting up document when (document is not submitted to); Carry out annex and upload, at this moment, annex gets into the temp directory of server; Form interim annex; After treating user's presentation of documents, more interim annex and document are bound at server end, accomplished the submission of annex and document.
When uploading annex; Server has listened to annex through detectaphone and has uploaded; Then note the attribute information of interim annex, comprising: one of title, size, type and store path in the temp directory of server of interim annex or part combination or all combinations.Simultaneously, note and interim corresponding document and/or the attribute of user information of annex.Wherein, document attribute attribute information comprises document object identity etc.; Customer attribute information comprises ID etc.
When presentation of documents, server listens to documentary through detectaphone to be needed to submit to, then notes the attribute information and the corresponding customer attribute informations such as unique identification of this bill type.
Reasons such as present embodiment is unusual for fear of submitting at document, network anomaly or system exception repeat to upload annex in the time of need creating or revise document and presentation of documents; Cause wasting problems such as server resource; When the user uploads annex; The corresponding interim annex of document to uploading carries out the attribute signature, and path and the relation of the Attribute Association between document and/or the attribute of user information of setting up interim annex are matched rule, and form the relationship maps table.
Step S102 when the needs presentation of documents, obtains current document and/or attribute of user information;
Submit to reasons such as unusual, network anomaly or system exception to cause document to submit failure at document, need to create or revise document and presentation of documents.For example: after annex was uploaded completion, the user closed document; Web is connected overtime with server, the document submit operation is interrupted; Document makes the document submit operation interrupt unusually; Perhaps, document is submitted to the back to preserve mistake and is caused annex reason such as to lose, all can cause the submission of document.
In this step, when the needs presentation of documents, from server, obtain current document and/or attribute of user information, promptly current attribute information and/or the corresponding customer attribute information that needs the document of submission.
Step S103, according to current document and/or attribute of user information, and the relationship maps table, document and corresponding interim annex are carried out association.
It is related that this step can be carried out the active absorption type to the interim annex of storing in document and the server according to the relationship maps table of setting up; At first according to the current document and/or the attribute of user information that from server, get access to; From the relationship maps table, search the path that whether has the interim annex corresponding with current document and/or attribute of user information; If from the relationship maps table, do not find the path of corresponding interim annex; The routing information that then shows this interim annex goes to pot or loses, and then need increase newly and upload the annex corresponding with document to server.
If from the relationship maps table, find the path of corresponding interim annex, then, judge whether there be the interim annex corresponding in the server with document according to the path of the interim annex of correspondence.
When in judging server, whether having the interim annex corresponding with document; Can judge according to the attribute information that whether has corresponding interim annex in the temp directory of server; If there is not the attribute information of corresponding interim annex in the temp directory of server; Show then not have the interim annex corresponding in the server that the interim annex of storage possibly deleted or destroy because of certain reason before, then need increase newly and upload the annex corresponding with document to server with document.
If there is the attribute information of corresponding interim annex in the temp directory of server; Then show the existence interim annex corresponding in the server,, then be passed to the routing information of interim annex the submission form of user's document in such cases with document; And remind the user to select whether to carry out accessory association; If the user selects accessory association,, and be committed to server then with the path binding of document with corresponding interim annex.Server then together is saved in the path of interim annex attribute and the document as document in the data in server storehouse.
After submitting the success of annex and document to, server is positioned over interim annex in the formal catalogue of server, and the attribute information of the interim annex of foundation, the interim annex in the deletion server.
In other embodiments, as shown in Figure 2, above-mentioned steps S101 comprises:
Step S1011 when uploading annex, obtains annex corresponding document and/or attribute of user information from the server that annex is uploaded;
When uploading annex, server has listened to annex through detectaphone and has uploaded, and then notes the attribute information of interim annex, comprising: one of title, size, type and store path in the temp directory of server of interim annex or part combination.Simultaneously, note and interim corresponding document and/or the attribute of user information of annex.Wherein, document attribute attribute information comprises document object identity etc.; Customer attribute information comprises ID etc.
When presentation of documents, server listens to documentary through detectaphone to be needed to submit to, then notes the attribute information and the corresponding customer attribute informations such as unique identification of this bill type.
Step S1012, the path that obtains the interim annex that annex is corresponding in the temp directory of server;
As stated, when uploading annex, server has listened to annex through detectaphone and has uploaded, and then notes the attribute information of interim annex, includes the store path of interim annex in the temp directory of server in the attribute information of this interim annex.
Step S1013 sets up the relationship maps table between the path of document and/or attribute of user information and interim annex.
According to document and/or attribute of user information, set up the path and the relation of the Attribute Association between document and/or the attribute of user information of interim annex, form the relationship maps table.
As shown in Figure 3, above-mentioned steps S103 comprises:
Step S1031 according to current document and/or attribute of user information, searches the relationship maps table;
According to current document and/or attribute of user information, from the relationship maps table, search the path that whether has the interim annex corresponding with current document and/or attribute of user information.
Step S1032; Judge the path that whether has the interim annex corresponding in the relationship maps table with current document and/or attribute of user information; If have the path of the interim annex corresponding in the relationship maps table, then get into step S1033 with current document and/or attribute of user information; If do not have the path of the interim annex corresponding in the relationship maps table, then get into step S1036 with current document and/or attribute of user information;
Step S1033 according to the path of the interim annex of correspondence, judges whether there be the interim annex corresponding with document in the server; If have the interim annex corresponding in the server, then get into step S1034 with document; If do not have the interim annex corresponding in the server, then get into step S1036 with document;
Step S1034, the prompting user selects whether to carry out accessory association; If the user selects to carry out accessory association, then get into step S1035; If the user selects not carry out accessory association, then get into step S1036;
Step S1035 with the path binding of document with corresponding interim annex, and is committed to server;
Step S1036 increases newly and uploads the annex corresponding with document to server.
Above-mentioned steps S1032 if from the relationship maps table, find the path of corresponding interim annex, then according to the path of the interim annex of correspondence, judges whether there be the interim annex corresponding with document in the server to step S1036.
If there be the interim annex corresponding in the server with document; In such cases; Then be passed to the routing information of interim annex the submission form of user's document, and remind the user to select whether to carry out accessory association, if the user selects accessory association; Then with the path binding of document, and be committed to server with corresponding interim annex.Server then together is saved in the path of interim annex attribute and the document as document in the data in server storehouse.
After submitting the success of annex and document to, server is positioned over interim annex in the formal catalogue of server, and the attribute information of the interim annex of foundation, the interim annex in the deletion server.
If the user selects not carry out accessory association, then increase newly and upload the annex corresponding to server with document.
If do not have the interim annex corresponding in the server, then increase newly and upload the annex corresponding to server with document with document.
As shown in Figure 4, above-mentioned steps S1033 comprises:
Step S10331 according to the path of the interim annex of correspondence, searches the temp directory of server;
The attribute information that whether has corresponding interim annex is inquired about in path according to interim annex in the temp directory of server.
Step S10332 judges the attribute information that whether has corresponding interim annex in the temp directory of server; If have the attribute information of corresponding interim annex in the temp directory of server, then get into step S10333; If do not have the attribute information of corresponding interim annex in the temp directory of server, then get into step S10334;
S10333 confirms to exist in the server corresponding interim annex;
Step S10334 confirms not exist in the server corresponding interim annex.
Above-mentioned steps S10332 is to step S10334; When in judging server, whether having the interim annex corresponding with document; Can judge according to the attribute information that whether has corresponding interim annex in the temp directory of server; If there is not the attribute information of corresponding interim annex in the temp directory of server; Show then not have the interim annex corresponding in the server that the interim annex of storage possibly deleted or destroy because of certain reason before, then need increase newly and upload the annex corresponding with document to server with document.
If have the attribute information of corresponding interim annex in the temp directory of server, then show the existence interim annex corresponding in the server with document.
Present embodiment is managed the annex in the temp directory of server; Adopt initiatively absorption type dynamic strategy; It is related that the corresponding interim annex of the annex that submission is uploaded and document and/or attribute of user information realize, avoided owing to presentation of documents cause unusually upload interim annex uncontrollable, lose, overtime, the situation that repeats to upload, saved server resource; And reduced, and played and promoted man-machine interaction and the double action of uploading the annex performance the taking of Internet resources.
As shown in Figure 5, one embodiment of the invention proposes a kind of accessory association device, comprising: mapping relations are set up module 501, acquisition module 502 and association process module 503, wherein:
Mapping relations are set up module 501, are used for when uploading annex, set up the relationship maps table between the interim annex of the corresponding document of annex and/or attribute of user information and annex;
Acquisition module 502 is used for when the needs presentation of documents, obtaining current document and/or attribute of user information;
Association process module 503 is used for according to current document and/or attribute of user information, and the relationship maps table, and document and corresponding interim annex are carried out the absorption type association process.
In the present embodiment method, be that example describes with the upload procedure of carrying out document and annex through the Web mode.Carrying out document and annex with the Web mode when uploading, the mode of using document to separate submission with annex is promptly when setting up document when (document is not submitted to); Carry out annex and upload, at this moment, annex gets into the temp directory of server; Form interim annex; After treating user's presentation of documents, more interim annex and document are bound at server end, accomplished the submission of annex and document.
When uploading annex; Server has listened to annex through detectaphone and has uploaded; Then note the attribute information of the association attributes of interim annex, comprising: one of title, size, type and store path in the temp directory of server of interim annex or part combination or all combinations, note simultaneously and interim corresponding document and/or the attribute of user information of annex; Wherein, the document attribute information comprises document object identity etc.; Customer attribute information comprises ID etc.
When presentation of documents, server listens to documentary through detectaphone to be needed to submit to, then notes the attribute information and the corresponding customer attribute informations such as unique identification of this bill type.
Reasons such as present embodiment is unusual for fear of submitting at document, network anomaly or system exception repeat to upload annex in the time of need creating or revise document and presentation of documents; Cause wasting problems such as server resource; When the user uploads annex; The corresponding interim annex of the document uploaded is carried out the attribute signature, and setting up module 501 through mapping relations, to set up the path of interim annex be matched rule with the relation of the Attribute Association between document and/or the attribute of user information, and formation relationship maps table.
Submit to reasons such as unusual, network anomaly or system exception to cause document to submit failure at document, need to create or revise document and presentation of documents.For example: after annex was uploaded completion, the user closed document; Web is connected overtime with server, the document submit operation is interrupted; Document makes the document submit operation interrupt unusually; Perhaps, document is submitted to the back to preserve mistake and is caused annex reason such as to lose, all can cause the submission of document.
In the present embodiment, when the needs presentation of documents, association process module 503 is obtained current document and/or attribute of user information from server, promptly current attribute information and the corresponding customer attribute information that needs the document of submission.Then according to the current document and/or the attribute of user information that from server, get access to; From the relationship maps table, search the path that whether has the interim annex corresponding with current document and/or attribute of user information; If from the relationship maps table, do not find the path of corresponding interim annex; The routing information that then shows this interim annex goes to pot or loses, and then need increase newly and upload the annex corresponding with document to server.
If from the relationship maps table, find the path of corresponding interim annex, then, judge whether there be the interim annex corresponding in the server with document according to the path of the interim annex of correspondence.
When in judging server, whether having the interim annex corresponding with document; Can judge according to the attribute information that whether has corresponding interim annex in the temp directory of server; If there is not the attribute information of corresponding interim annex in the temp directory of server; Show then not have the interim annex corresponding in the server that the interim annex of storage possibly deleted or destroy because of certain reason before, then need increase newly and upload the annex corresponding with document to server with document.
If there is the attribute information of corresponding interim annex in the temp directory of server; Then show the existence interim annex corresponding in the server,, then be passed to the routing information of interim annex the submission form of user's document in such cases with document; And remind the user to select whether to carry out accessory association; If the user selects accessory association,, and be committed to server then with the path binding of document with corresponding interim annex.Server then together is saved in the path of interim annex attribute and the document as document in the data in server storehouse.
After submitting the success of annex and document to, server is positioned over interim annex in the formal catalogue of server, and the attribute information of the interim annex of foundation, the interim annex in the deletion server.
In other embodiments, as shown in Figure 6, above-mentioned mapping relations are set up module 501 and are comprised: first acquiring unit 5011, second acquisition unit 5012 and set up unit 5013, wherein:
First acquiring unit 5011 is used for when uploading annex, from the server that annex is uploaded, obtains annex corresponding document and/or attribute of user information;
Second acquisition unit 5012 is used for obtaining the path of the corresponding interim annex of the temp directory annex of server;
Set up unit 5013, be used to set up the relationship maps table between the path of document and/or attribute of user information and interim annex.
When uploading annex, server has listened to annex through detectaphone and has uploaded, and then notes the attribute information of interim annex, comprising: one of title, size, type and store path in the temp directory of server of interim annex or part combination.Simultaneously, note and interim corresponding document and/or the attribute of user information of annex.Wherein, document attribute attribute information comprises document object identity etc.; Customer attribute information comprises ID etc.
When presentation of documents, server listens to documentary through detectaphone to be needed to submit to, then notes the attribute information and the corresponding customer attribute informations such as unique identification of this bill type.
First acquiring unit 5011 obtains annex corresponding document and/or attribute of user information from the server that annex is uploaded when uploading annex.Second acquisition unit 5012 obtains the path of the corresponding interim annex of annex from the temp directory of server.By setting up unit 5013, set up the path and the relation of the Attribute Association between document and/or the attribute of user information of interim annex then, form the relationship maps table according to document and/or attribute of user information.
As shown in Figure 7, above-mentioned association process module 503 comprises: search unit 5031, judging unit 5032 and association process unit 5033, wherein:
Search unit 5031, be used for searching the relationship maps table according to current document and/or attribute of user information;
Judging unit 5032 is used for when there is the path of the interim annex corresponding with current document and/or attribute of user information in the relationship maps table, according to the path of the interim annex of correspondence, judges whether there be the interim annex corresponding with document in the server;
Association process unit 5033; Be used for existing the path of the interim annex corresponding with current document and/or attribute of user information when the relationship maps table; And when having the interim annex corresponding in the judgement server with document; With the path binding of document, and be committed to server with corresponding interim annex; And the path that in the relationship maps table, does not have the interim annex corresponding with current document and/or attribute of user information; Perhaps; The path that in the relationship maps table, has the interim annex corresponding with current document and/or attribute of user information; And when not having the interim annex corresponding in the judgement server, increase newly and upload the annex corresponding to server with document with document.
Further, above-mentioned judging unit 5032 is according to the path of the interim annex of correspondence, judges that whether to have the detailed process of the interim annex corresponding with document in the server following: according to the path of corresponding interim annex, search the temp directory of server; Judge the attribute information that whether has corresponding interim annex in the temp directory of server then; If exist, then confirm to exist in the server corresponding interim annex; Otherwise, confirm not exist in the server corresponding interim annex.
Embodiment of the invention accessory association method and device; When uploading annex, create and upload the interim annex of annex and the relationship maps table of document and/or attribute of user information, unusual as document takes place; It is related to carry out the active absorption type to document and interim annex according to the relationship maps table; Avoided the unusual back of user's document that annex is repeated to upload, caused, reduced the server resource waste the taking of Internet resources; Simultaneously, when document was set up and submit to, the user can select according to coupling absorption type associated attachment, has strengthened user's man-machine interaction thus and has experienced.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. an accessory association method is characterized in that, comprising:
When uploading annex, set up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex;
When the needs presentation of documents, obtain current document and/or attribute of user information;
According to said current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex are carried out association.
2. method according to claim 1 is characterized in that, and is said when uploading annex, and the step of setting up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex comprises:
When uploading annex, from the server that said annex is uploaded, obtain said annex corresponding document and/or attribute of user information;
Obtain the path of the interim annex that annex is corresponding described in the temp directory of said server;
Set up the relationship maps table between the path of said document and/or attribute of user information and said interim annex.
3. method according to claim 1 is characterized in that, and is said according to current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex carried out related step comprise:
According to current document and/or attribute of user information, search said relationship maps table;
When having the path of the interim annex corresponding in the said relationship maps table,, judge whether there be the interim annex corresponding in the server with said document according to the path of the interim annex of said correspondence with said current document and/or attribute of user information; If exist, then
With the path binding of said document, and be committed to said server with corresponding interim annex; Otherwise
The newly-increased annex corresponding to the said server of uploading with said document.
4. method according to claim 3 is characterized in that, the path of said interim annex according to correspondence judges whether exist the step of the interim annex corresponding with said document to comprise in the server:
According to the path of the interim annex of correspondence, search the temp directory of said server;
Judge the attribute information that whether has the interim annex of said correspondence in the temp directory of said server; If exist, then confirm to exist in the said server the interim annex of said correspondence; Otherwise, confirm not exist in the said server the interim annex of said correspondence.
5. method according to claim 3 is characterized in that, and is said according to current document and/or attribute of user information, and said relationship maps table, said document and corresponding interim annex carried out related step further comprise:
When not having the path of the interim annex corresponding in the said relationship maps table with said current document and/or attribute of user information, the newly-increased extremely said server of the annex corresponding of uploading with said document.
6. according to claim 3,4 or 5 described methods, it is characterized in that, said with the path binding of said document with corresponding interim annex, and also comprise before being committed to the step of server:
The prompting user selects whether to carry out accessory association; If the user selects accessory association,, and be committed to server then with the path binding of said document with corresponding interim annex; Otherwise the newly-increased annex corresponding to the said server of uploading with said document.
7. an accessory association device is characterized in that, comprising:
Mapping relations are set up module, are used for when uploading annex, set up the relationship maps table between the interim annex of the corresponding document of said annex and/or attribute of user information and said annex;
Acquisition module is used for when the needs presentation of documents, obtaining current document and/or attribute of user information;
The association process module is used for according to said current document and/or attribute of user information, and said relationship maps table, and said document and corresponding interim annex are carried out association.
8. device according to claim 7 is characterized in that, said mapping relations are set up module and comprised:
First acquiring unit is used for when uploading annex, from the server that said annex is uploaded, obtains said annex corresponding document and/or attribute of user information;
Second acquisition unit is used to obtain the path of the interim annex that annex is corresponding described in the temp directory of said server;
Set up the unit, be used to set up the relationship maps table between the path of said document and/or attribute of user information and said interim annex.
9. device according to claim 7 is characterized in that, said association process module comprises:
Search the unit, be used for searching said relationship maps table according to current document and/or attribute of user information;
Judging unit; Be used for when there is the path of the interim annex corresponding with said current document and/or attribute of user information in said relationship maps table; According to the path of the interim annex of said correspondence, judge whether there be the interim annex corresponding in the server with said document;
The association process unit is used for when having the interim annex corresponding with said document, with the path binding of said document with corresponding interim annex, and is committed to said server; Otherwise, the newly-increased annex corresponding to the said server of uploading with said document.
10. device according to claim 9 is characterized in that said judging unit also is used for the path according to the interim annex of correspondence, searches the temp directory of said server; Judge the attribute information that whether has the interim annex of said correspondence in the temp directory of said server; If exist, then confirm to exist in the said server the interim annex of said correspondence; Otherwise, confirm not exist in the said server the interim annex of said correspondence; Said association process unit also is used for when there is not the path of the interim annex corresponding with said current document and/or attribute of user information in said relationship maps table, the newly-increased extremely said server of the annex corresponding with said document of uploading.
CN2011104501513A 2011-12-29 2011-12-29 Method and device for associating attachments Pending CN102819546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104501513A CN102819546A (en) 2011-12-29 2011-12-29 Method and device for associating attachments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104501513A CN102819546A (en) 2011-12-29 2011-12-29 Method and device for associating attachments

Publications (1)

Publication Number Publication Date
CN102819546A true CN102819546A (en) 2012-12-12

Family

ID=47303659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104501513A Pending CN102819546A (en) 2011-12-29 2011-12-29 Method and device for associating attachments

Country Status (1)

Country Link
CN (1) CN102819546A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399939A (en) * 2013-08-09 2013-11-20 深圳市中科新业信息科技发展有限公司 Correlation analysis method and system for audit of accounts and files
CN105224340A (en) * 2015-11-03 2016-01-06 用友网络科技股份有限公司 Business paper injects the method and system of attachment management
CN105608529A (en) * 2015-12-17 2016-05-25 金蝶软件(中国)有限公司 Attachment management method and system based on receipts
CN106375451A (en) * 2016-09-06 2017-02-01 北京恒华伟业科技股份有限公司 Information acquisition method and system
WO2018027862A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for automatically finding mail attachment folder on the basis of subject and mail system
CN109600428A (en) * 2018-11-27 2019-04-09 深圳市关运通科技有限公司 A kind of automation uploads attachment and matches associated method and apparatus
CN113420251A (en) * 2021-07-20 2021-09-21 湖南工业大学 Method for cleaning up unused redundant attachments uploaded to server and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010748A1 (en) * 2000-07-24 2002-01-24 Susumu Kobayashi System for transmission/reception of e-mail with attached files
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN101155153A (en) * 2006-09-26 2008-04-02 国际商业机器公司 Method and apparatus for managing e-mail attachments
CN101661389A (en) * 2009-09-01 2010-03-03 金蝶软件(中国)有限公司 Network service document annex display method, device and network service system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010748A1 (en) * 2000-07-24 2002-01-24 Susumu Kobayashi System for transmission/reception of e-mail with attached files
CN101155153A (en) * 2006-09-26 2008-04-02 国际商业机器公司 Method and apparatus for managing e-mail attachments
CN101079846A (en) * 2007-06-08 2007-11-28 腾讯科技(深圳)有限公司 A sending and receiving method and system of Email attachment
CN101661389A (en) * 2009-09-01 2010-03-03 金蝶软件(中国)有限公司 Network service document annex display method, device and network service system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399939A (en) * 2013-08-09 2013-11-20 深圳市中科新业信息科技发展有限公司 Correlation analysis method and system for audit of accounts and files
CN105224340A (en) * 2015-11-03 2016-01-06 用友网络科技股份有限公司 Business paper injects the method and system of attachment management
CN105224340B (en) * 2015-11-03 2018-12-14 用友网络科技股份有限公司 The method and system of business paper injection attachment management
CN105608529A (en) * 2015-12-17 2016-05-25 金蝶软件(中国)有限公司 Attachment management method and system based on receipts
CN105608529B (en) * 2015-12-17 2021-02-26 金蝶软件(中国)有限公司 Document-based attachment management method and system
WO2018027862A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for automatically finding mail attachment folder on the basis of subject and mail system
CN106375451A (en) * 2016-09-06 2017-02-01 北京恒华伟业科技股份有限公司 Information acquisition method and system
CN109600428A (en) * 2018-11-27 2019-04-09 深圳市关运通科技有限公司 A kind of automation uploads attachment and matches associated method and apparatus
CN109600428B (en) * 2018-11-27 2022-05-27 深圳市关运通科技有限公司 Method and device for automatically uploading attachment and matching association
CN113420251A (en) * 2021-07-20 2021-09-21 湖南工业大学 Method for cleaning up unused redundant attachments uploaded to server and server

Similar Documents

Publication Publication Date Title
CN102819546A (en) Method and device for associating attachments
US9336202B2 (en) Method and system relating to salient content extraction for electronic content
CN101098248B (en) Method and system for implementing universal network management based on configuration describing document
AU2023200114A1 (en) System, method, and interfaces for work product management
EP2753026A1 (en) Method, apparatus and storage medium for adding friends in social network
US8620366B2 (en) Data synchronization method between mobile terminal and server
WO2013143393A1 (en) Method and system utilizing cloud computation for scanning files of device
CN103188407A (en) IVR (Interactive Voice Response) processing method, terminal, dial testing server and system
WO2014159761A2 (en) Providing actionable content to a computing device based on user actions
CN102402519A (en) Search method, search result display method, search server and client
CN102542351A (en) Hotel database establishing method and hotel automatic-booking method
CN102521296A (en) Method for screening data items in separated pages of web page
WO2014100172A1 (en) Mobile-enabled systems and processes for intelligent research platform
CN106021561A (en) Page form processing method and device
WO2014040459A1 (en) Method, related device, and system for inter-terminal interactions
CN107766396A (en) resource data management method and device
JP2015219689A (en) Multimedia information transmission system and method
WO2011134197A1 (en) Favorite function implementation method for unstructured supplementary service data application and device thereof
CN109710743A (en) A kind of access method of storage pool, device and electronic equipment
CN101216822A (en) Embedded browser browsing method and system
CN103517202A (en) Method for acquiring and transmitting inquiry instruction, system, mobile terminal and server
CN102685724A (en) Method, terminal and system for customizing content
CN103136304B (en) Article processing method and device
US10528564B2 (en) Identifying teachable moments for contextual search
CN102750278B (en) Information acquiring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121212