CN102819464A - Method and device for temporary storage of document - Google Patents

Method and device for temporary storage of document Download PDF

Info

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
used
Prior art date
Application number
CN2012100108708A
Other languages
Chinese (zh)
Other versions
CN102819464B (en
Inventor
任峰
Original Assignee
金蝶软件(中国)有限公司
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 金蝶软件(中国)有限公司 filed Critical 金蝶软件(中国)有限公司
Priority to CN201210010870.8A priority Critical patent/CN102819464B/en
Publication of CN102819464A publication Critical patent/CN102819464A/en
Application granted granted Critical
Publication of CN102819464B publication Critical patent/CN102819464B/en

Links

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

The method and apparatus of the interim storage of document

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:

Intercept module 10, be used to intercept document and submit releasing unusual and that the document submission is unusual to.

Memory module 20 is used to take place document and submits to when unusual, with the local storage of the document information of current submission;

Extraction module 30 is used for said document and submits to when removing unusually, extracts the document information of local storage;

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;

Filler cells 23 is used for the bills data that said document key word is corresponding and is filled to said document coupling simulated object.

With reference to Fig. 5, submit to module 40 to comprise:

Tip element 41 is used to point out the user whether to continue document and submits the user's operation when unusual to;

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.

Intercept module 10 and continue to intercept document and submit to and whether 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, extraction module 30 extracts the document information of local storage, and transfers to submission module 40 and handle

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.
CN201210010870.8A 2012-01-13 2012-01-13 The method and apparatus that document stores temporarily CN102819464B (en)

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 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN104268055B (en) The monitoring method and device of a kind of program exception
US10748220B2 (en) Account processing method and apparatus
CN101604335B (en) Systems and methods for automatic database or file system maintenance and repair
CN101719165B (en) Method for realizing high-efficiency rapid backup of database
JP4041002B2 (en) Database update processing system, update data input method for database update, update data processing method, and program
US9319822B2 (en) Over-the-air update method for continuous delta of an Android operating system of a handheld device
US9081899B2 (en) System and method for processing web service test cases
US8489558B2 (en) Distributed file system logging
US8984340B2 (en) System and method for test case generation using action keywords
CN104239166B (en) A kind of method that file backup is realized to virtual machine in operation
CN103138989A (en) System and method for analyzing large number of logs
US8135997B2 (en) Method for obstruction and capacity information unification monitoring in unification management system environment and system for thereof
CN102629224A (en) Method and device of integrated data disaster recovery based on cloud platform
CN104965754A (en) Task scheduling method and task scheduling apparatus
US20110173525A1 (en) Monitoring and Tracking Application Usage
CN101772760B (en) Database management program and database management device
CN104636435B (en) Cloud terminal records screen method
CN107402992A (en) A kind of distributed NewSQL Database Systems and full-text search method for building up
CN104715209B (en) A kind of outgoing document encryption protecting method
CN103116717B (en) A kind of user login method and system
US10162708B2 (en) Fault tolerance for complex distributed computing operations
CN103064770B (en) Dual-process redundancy transient fault tolerating method
US20160232065A1 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
CN102722429A (en) Processing system of hard disk maintenance equipment
CN105184166A (en) Kernel-based Android application real-time behavior analysis method 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
C14 Grant of patent or utility model
GR01 Patent grant