CN102819464A - Method and device for temporary storage of document - Google Patents
Method and device for temporary storage of document Download PDFInfo
- Publication number
- CN102819464A CN102819464A CN2012100108708A CN201210010870A CN102819464A CN 102819464 A CN102819464 A CN 102819464A CN 2012100108708 A CN2012100108708 A CN 2012100108708A CN 201210010870 A CN201210010870 A CN 201210010870A CN 102819464 A CN102819464 A CN 102819464A
- Authority
- CN
- China
- Prior art keywords
- document
- unusual
- user
- submission
- information
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a method for temporary storage of a document. The method includes storing current submitted document information locally when data submission is abnormal; extracting the locally stored document information when the abnormal data submission is relieved; and submitting the document according to the user operation during the abnormal submission of the document. The invention further provides a corresponding device. According to the method and the device, a temporary local storage mode is provided when abnormal document submission caused by a communication failure and the like is happened to a client and a server, response of a system to emergent conditions is improved, the operation risk of the system is reduced, and the human-computer interactive mode is improved.
Description
Technical field
The present invention relates to data processing field, specially refer to the method and apparatus of the interim storage of a kind of document.
Background technology
Current enterprise, especially large scale business enterprise all utilize big data management system such as enterprise resource planning (ERP, Enterprise Resources Planning) to carry out business data management of information and operation.ERP is meant and is based upon on the infotech basis; With systematized management thought; The operational mode of decision-making operation means is provided for business decision layer and employee; The reflection epoch, the requirement of creating the wealth of society substantially became the foundation stone of enterprise in information age existence, development to enterprise's rational allocation resource.
Document is a kind of important data management form in the ERP system, and numerous documents are all arranged in each ERP system.And each unit all may be carried out multiple operation by different service system or department, and various documents need and be advanced to server by a plurality of client operations.And have enterprise servers and client interaction problems in the business system operational process, and usually because documents such as network interruption and server deadlock are submitted to unusually, cause the business of enterprise normally to move, enterprise operation is caused heavy losses.
The method of not this type accident or incident not being handled in the prior art, after document was submitted unusual the generation to, situation such as prompting, abnormal interruption, seemingly-dead (machine), redirect mistake only can appear in existing software, the operation bills data were not handled.
Summary of the invention
Fundamental purpose of the present invention is the method and apparatus that the interim storage of a kind of document is provided, and has solved document and has submitted that client does not have response for a long time when unusual, submit state does not have states such as response, system exception to.
The present invention proposes the method for the interim storage of a kind of document, comprising:
Document takes place submit to when unusual, with the local storage of the document information of current submission;
When said document is submitted unusual the releasing to, extract the document information of local storage;
Submit to the user when unusual to operate presentation of documents according to document.
Preferably, the local storage of said document information with current submission comprises:
Obtain the document attribute key word in the document information;
Create document coupling simulated object;
The bills data that said document key word is corresponding is filled to said document coupling simulated object.
Preferably, saidly submit to user when unusual to operate presentation of documents according to document to comprise:
Whether the prompting user continues document is submitted the user's operation when unusual to;
When the user confirms, call the logic interfacing of said user's operation and carry out the document submission.
Preferably, said method also comprises:
Intercept document and submit releasing unusual and that the document submission is unusual to.
Preferably, carrying out said submission the to based on document after user when unusual operates presentation of documents, also comprising:
Remove the document information of said local storage.
The present invention also proposes the device of the interim storage of a kind of document, comprising:
Memory module is used to take place document and submits to when unusual, with the local storage of the document information of current submission;
Extraction module is used for said document and submits to when removing unusually, extracts the document information of local storage;
Submit module to, be used for submitting to the user when unusual to operate presentation of documents according to document.
Preferably, said memory module comprises:
Acquiring unit is used for obtaining the document attribute key word of document information;
Creating unit is used to create document coupling simulated object;
Filler cells is used for the bills data that said document key word is corresponding and is filled to said document coupling simulated object.
Preferably, said submission module comprises:
Tip element is used to point out the user whether to continue document and submits the user's operation when unusual to;
Call unit is used for when the user confirms, calls the logic interfacing of said user's operation and carries out the document submission.
Preferably, said device also comprises:
Intercept module, be used to intercept document and submit releasing unusual and that the document submission is unusual to.
Preferably, said device also comprises:
Remove module, be used to remove the document information of said local storage.
The method and apparatus of the interim storage of the document that the present invention proposes is submitted to unusually to documents such as client and server generation communication failures, and the interim local storage mode is provided, and when document is removed unusually, automatically document information is committed to server and handles.Solved document and submitted that client does not have response for a long time when unusual, submit state does not have states such as response, system exception to.Strengthened the reply of system, reduced system's operation risk, promoted man-machine interaction mode emergency condition.
Description of drawings
Fig. 1 is the schematic flow sheet of method first embodiment of the interim storage of document;
Fig. 2 is the schematic flow sheet of method second embodiment of the interim storage of document;
Fig. 3 is the structural representation of device the 3rd embodiment of the interim storage of document;
Fig. 4 is the structural representation of memory module among interim device the 3rd embodiment that stores of document;
Fig. 5 is a structural representation of submitting module among interim device the 3rd embodiment that stores of document to;
Fig. 6 is the structural representation of device the 4th embodiment of the interim storage of document.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, method one embodiment of the interim storage of document of the present invention is proposed, comprising:
Step S101, intercept document and submit to unusual.
The client of present embodiment ERP system can be provided with a detectaphone, and timing intercepts whether the document submission takes place unusually, and whether this document submission was removed unusually after document submission unusually took place.Document is submitted to and to be comprised the multiple situation that document is submitted to that influences unusually, takes place to crash or cuts off the power supply and current document unusual etc. like client and server communication fault, client or server.
Step S102, document takes place submit to when unusual, with the local storage of the document information of current submission; Said document information comprises the information such as information, bills data and the current operation of user of document attribute key word, document control;
When listening to document, submits to when unusual by detectaphone; Client is stored the current document information of submitting in this locality temporarily; Document information comprises increase, deletion or the change of document control information such as document, bills data, and the current operation of user is as inquiring about, submit to or closing.Its detailed process is: will submit to unusual document to analyze earlier; Parse the information such as information, bills data and the current operation of user of document attribute key word, document control; Further set up the related data structure file again and be document coupling simulated object, be filled to each document information in the document coupling simulated object at last and be stored in local terminal.The mode of storage is generally memory or hard-disc storage, as is stored in the internal memory of client, and its advantage is that reading speed is fast, and shortcoming is for to lose under states such as shutdown easily, as is stored in hard disk, and its advantage is lost for being difficult for, but reading speed is relatively slow.
Client can be carried out encryption to document information selectively, during for example for the relevant document of user processing wages, submits to unusually like document, then tackles the wages data and encrypts storage.
When step S103, said document are submitted unusual the releasing to, extract the document information of local storage;
Whether detectaphone continues to intercept document submits to and to remove unusually, when client and the unimpeded recovery of communicating by letter of server just often, show that document submits unusual the releasing to, client is extracted local document information of storing, and carries out step S104.
Step S104, submit to the user when unusual to operate presentation of documents according to document.
The preferred implementation process of step S104 is: uncompleted document was submitted to before client pointed out the user whether to continue document submission unusually with modes such as ejection information; Need to confirm to continue like the user; Then client is extracted the data structure file of local storage; Therefrom take out the backup of document information, the logical process interface original according to the user's operation information invoke user in the document information is accomplished the submission of document.When the user owing to reasons such as document timeliness cancellations document is submitted to, then client is no longer carried out the submission of this document.
Remove above-mentioned preferred implementation, client also can be set to: give tacit consent to the former document submission process that continues when document is removed unusually when listening to.
Present embodiment is submitted to unusual to documents such as client and server generation communication failures, the interim local storage mode is provided, and when document is removed unusually, automatically bills data is committed to server and handles.Solved document and submitted that client does not have response for a long time when unusual, submit state does not have states such as response, system exception to.Strengthened the reply of system, reduced system's operation risk, promoted man-machine interaction mode emergency condition.
With reference to Fig. 2, method second embodiment of the interim storage of document of the present invention is proposed, comprising:
Step S201, intercept document and submit to unusual.
Step S202, document takes place submit to when unusual, with the local storage of the document information of current submission;
When step S203, said document are submitted unusual the releasing to, extract the document information of local storage;
Step S204, submit to the user when unusual to operate presentation of documents according to document;
The document information of step S205, the said local storage of removing.
The step S101-104 of the step S201-204 of present embodiment and first embodiment is similar, no longer is repeated in this description here.The difference of the present embodiment and first embodiment is: submits to unusually when document and removes, and after document submission process continues to accomplish; Or after the unusual releasing of document submission, the user cancels former document submit operation, is the system space of practicing thrift client, and the document information of this locality storage is removed.Promptly do not cancel like the user and not continue former document yet and submit to process (when pointing out as ejecting when client; The user does not promptly confirm not deny yet; But cancel this information), then still preserve local document information of storing, give a response or set timeliness mistake up to the user.
Present embodiment has been practiced thrift the storage space of client on the basis of first embodiment, can effectively solve document and submit unusual emergency processing to, does not increase system burden again.
With reference to Fig. 3, device the 3rd embodiment of the interim storage of document of the present invention is proposed, comprising:
Submit module 40 to, be used for submitting to the user when unusual to operate presentation of documents according to document.
With reference to Fig. 4, memory module 20 further comprises:
Acquiring unit 21 is used for obtaining the document attribute key word of document information;
Create unit 22, be used to create document coupling simulated object;
With reference to Fig. 5, submit to module 40 to comprise:
Call unit 42 is used for when the user confirms, the logic interfacing of invoke user operation is carried out document and submitted to.
The device of present embodiment can be external or be built in a device of the client of ERP system, also can be client itself.Intercept module 10 timings and intercept whether the document submission takes place unusually, and whether this document submission was removed unusually after document submission unusually took place.Document is submitted to and to be comprised the multiple situation that document is submitted to that influences unusually, takes place to crash or cuts off the power supply and current document unusual etc. like client and server communication fault, client or server.
Listen to document and submit to when unusual when intercepting module 10; Memory module 20 is stored the current document information of submitting in this locality temporarily; Document information comprises increase, deletion or the change of document attribute key word, document control information such as document; Bills data, and the current operation of user is as inquiring about, submit to or closing.Memory module 20 concrete storing processs are: acquiring unit 21 will submit to unusual document to analyze earlier; Parse the information such as information, bills data and the current operation of user of document attribute key word, document control; It is document coupling simulated object that establishment unit 22 is further set up the related data structure file again, and last filler cells 23 is filled to each document information in the document coupling simulated object and is stored in local terminal.The mode of filler cells 23 storages is generally memory or hard-disc storage, as is stored in the internal memory of client, and its advantage is that reading speed is fast; Shortcoming is for to lose under states such as shutdown easily; As being stored in hard disk, its advantage is lost for being difficult for, but reading speed is relatively slow.Filler cells 23 can carry out encryption to document information selectively, during for example for the relevant document of user processing wages, submits to unusually like document, then tackles the wages data and encrypts storage.
Submit to module 40 preferred implementation processes following: uncompleted document was submitted to before modes such as Tip element 41 usefulness ejection information pointed out the user whether to continue document submission unusually; Need to confirm to continue like the user; Then call unit 42 extracts the data structure file of local storage; Therefrom take out the backup of document information, the logical process interface original according to the user's operation information invoke user in the document information is accomplished the submission of document.When the user owing to reasons such as document timeliness cancellations document is submitted to, then submit to module 40 no longer to carry out the submission of this document.
Remove above-mentioned preferred implementation, submit to module also can work as and give tacit consent to the former document submission of continuation process when document is removed unusually, confirm and need not the user.
Present embodiment is submitted to unusual to documents such as client and server generation communication failures, the interim local storage mode is provided, and when document is removed unusually, automatically bills data is committed to server and handles.Solved document and submitted that client does not have response for a long time when unusual, submit state does not have states such as response, system exception to.Strengthened the reply of system, reduced system's operation risk, promoted man-machine interaction mode emergency condition.
With reference to Fig. 6, device the 4th embodiment of the interim storage of document of the present invention is proposed, comprising:
Intercept module 50, be used to intercept document and submit releasing unusual and that the document submission is unusual to.
Memory module 60 is used to take place document and submits to when unusual, with the local storage of the document information of current submission;
Extraction module 70 is used for said document and submits to when removing unusually, extracts the document information of local storage;
Submit module 80 to, be used for submitting to the user when unusual to operate presentation of documents according to document.
Remove module 90, be used to remove the document information of said local storage.
Intercepting module 50, memory module 60, extraction module 70 and submitting intercepting module 10, memory module 20, extraction module 30 and submitting to module 40 similar of module 80 and the 3rd embodiment to of present embodiment no longer is repeated in this description here.The difference of present embodiment and the 3rd embodiment is: submits to unusually when document and removes, and after document submission process continues to accomplish; Or after the unusual releasing of document submission, the user cancels former document submit operation, is the system space of practicing thrift client, and the document information that removing module 90 is stored this locality is removed.Promptly do not cancel like the user and not continue former document yet and submit to process (when pointing out as ejecting when client; The user does not promptly confirm not deny yet; But cancel this information), then still preserve local document information of storing, give a response or set timeliness mistake up to the user.
Present embodiment has been practiced thrift the storage space of client on the basis of the 3rd embodiment, can effectively solve document and submit unusual emergency processing to, does not increase system burden again.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent 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 fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (10)
1. the method for the interim storage of document is characterized in that, comprising:
Document takes place submit to when unusual, with the local storage of the document information of current submission;
When said document is submitted unusual the releasing to, extract the document information of local storage;
Submit to the user when unusual to operate presentation of documents according to document.
2. the method for claim 1 is characterized in that, the local storage of said document information with current submission comprises:
Obtain the document attribute key word in the document information;
Create document coupling simulated object;
The bills data that said document key word is corresponding is filled to said document coupling simulated object.
3. according to claim 1 or claim 2 method is characterized in that, saidly submits to user when unusual to operate presentation of documents according to document to comprise:
Whether the prompting user continues document is submitted the user's operation when unusual to;
When the user confirms, call the logic interfacing of said user's operation and carry out the document submission.
4. according to claim 1 or claim 2 method is characterized in that, also comprises:
Intercept document and submit releasing unusual and that the document submission is unusual to.
5. according to claim 1 or claim 2 method is characterized in that, is carrying out said submission the to according to document after user when unusual operates presentation of documents, also comprises:
Remove the document information of said local storage.
6. the device of the interim storage of document is characterized in that, comprising:
Memory module is used to take place document and submits to when unusual, with the local storage of the document information of current submission;
Extraction module is used for said document and submits to when removing unusually, extracts the document information of local storage;
Submit module to, be used for submitting to the user when unusual to operate presentation of documents according to document.
7. device as claimed in claim 6 is characterized in that, said memory module comprises:
Acquiring unit is used for obtaining the document attribute key word of document information;
Creating unit is used to create document coupling simulated object;
Filler cells is used for the bills data that said document key word is corresponding and is filled to said document coupling simulated object.
8. like claim 6 or 7 described devices, it is characterized in that said submission module comprises:
Tip element is used to point out the user whether to continue document and submits the user's operation when unusual to;
Call unit is used for when the user confirms, calls the logic interfacing of said user's operation and carries out the document submission.
9. like claim 6 or 7 described devices, it is characterized in that, also comprise:
Intercept module, be used to intercept document and submit releasing unusual and that the document submission is unusual to.
10. like claim 6 or 7 described devices, it is characterized in that, also comprise:
Remove module, be used to remove the document information of said local storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210010870.8A CN102819464B (en) | 2012-01-13 | 2012-01-13 | The method and apparatus that document stores temporarily |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210010870.8A CN102819464B (en) | 2012-01-13 | 2012-01-13 | The method and apparatus that document stores temporarily |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102819464A true CN102819464A (en) | 2012-12-12 |
CN102819464B CN102819464B (en) | 2015-08-19 |
Family
ID=47303588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210010870.8A Active CN102819464B (en) | 2012-01-13 | 2012-01-13 | The method and apparatus that document stores temporarily |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102819464B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267862A (en) * | 2000-04-29 | 2000-09-27 | 封�波 | Real-time interactive document transmission method by means of Internet |
CN101118536A (en) * | 2007-09-20 | 2008-02-06 | 金蝶软件(中国)有限公司 | Process for decomposing tasks table and device thereof |
CN101458643A (en) * | 2007-12-12 | 2009-06-17 | 新奥特(北京)视频技术有限公司 | Document autosave apparatus |
US20100100776A1 (en) * | 2006-12-27 | 2010-04-22 | Fujitsu Limited | Information processing apparatus, failure processing method, and recording medium in which failure processing program is recorded |
CN101710396A (en) * | 2009-12-07 | 2010-05-19 | 金蝶软件(中国)有限公司 | Enterprise resource planning (EPR) system and method and device for transmitting service bill data thereof |
CN101771594A (en) * | 2008-12-31 | 2010-07-07 | 鸿富锦精密工业(深圳)有限公司 | Data storage system and data storage method |
-
2012
- 2012-01-13 CN CN201210010870.8A patent/CN102819464B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1267862A (en) * | 2000-04-29 | 2000-09-27 | 封�波 | Real-time interactive document transmission method by means of Internet |
US20100100776A1 (en) * | 2006-12-27 | 2010-04-22 | Fujitsu Limited | Information processing apparatus, failure processing method, and recording medium in which failure processing program is recorded |
CN101118536A (en) * | 2007-09-20 | 2008-02-06 | 金蝶软件(中国)有限公司 | Process for decomposing tasks table and device thereof |
CN101458643A (en) * | 2007-12-12 | 2009-06-17 | 新奥特(北京)视频技术有限公司 | Document autosave apparatus |
CN101771594A (en) * | 2008-12-31 | 2010-07-07 | 鸿富锦精密工业(深圳)有限公司 | Data storage system and data storage method |
CN101710396A (en) * | 2009-12-07 | 2010-05-19 | 金蝶软件(中国)有限公司 | Enterprise resource planning (EPR) system and method and device for transmitting service bill data thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102819464B (en) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104239166B (en) | A kind of method that file backup is realized to virtual machine in operation | |
CN108076098A (en) | A kind of method for processing business and system | |
CN103853634B (en) | Disaster recovery system and disaster recovery method | |
CN104123227A (en) | Method for automatically generating testing cases | |
CN103995868A (en) | Distributed system oriented global transaction manager and transaction handling method | |
EP3480705B1 (en) | Database data modification request processing method and apparatus | |
WO2015035798A1 (en) | Virtual machine management method and apparatus | |
CN103810429A (en) | Computer virus searching and killing method based on desktop cloud virtualization technology | |
CN110750372A (en) | Log system based on shared memory and log management method | |
CN102024021A (en) | Method for logging metadata in logical file system | |
CN104881461A (en) | Rapid data storage method | |
CN107239325A (en) | Document data processing method and device | |
US8341538B1 (en) | Systems and methods for reducing redundancies in quality-assurance reviews of graphical user interfaces | |
CN107861838A (en) | Method and device of the automated back-up MySQL database from storehouse | |
CN107395429A (en) | The method and apparatus that virtual machine is managed in cloud data center | |
US8650160B1 (en) | Systems and methods for restoring multi-tier applications | |
CN102088376B (en) | Communication monitoring system and method for integrated avionics system | |
CN102819464A (en) | Method and device for temporary storage of document | |
CN103902919B (en) | A kind of method and device recovering log-on message | |
CN102221995A (en) | Break restoration method of seismic data processing work | |
CN104850548A (en) | Method and system used for implementing input/output process of big data platform | |
CN110688255A (en) | Power distribution master station system, historical data transfer method and system | |
CN102857357B (en) | Method and device for implementing network management configuration | |
CN104680307A (en) | Method and device for processing item transaction | |
CN111767299A (en) | Database operation method, device and system, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |