Summary of the invention
The present invention just based on above-mentioned technical problem one of at least, propose a kind of scheme of new document on-line operation, can make user while needing to carry out on-line operation to the document in server, also on-line operation be carried out to the metadata of document, improves the efficiency to document function.
In view of this, the present invention proposes a kind of server, comprising: generation unit, for when receiving the operational order of terminal to specified documents, generating the operation information of the metadata to described specified documents and described specified documents; Transmitting element, for described operation information is sent to described terminal, so that described terminal carries out on-line operation according to described operation information to described specified documents and/or described metadata; Receiving element, for receiving the operating result of described terminal to described specified documents and/or described metadata; Updating block, for upgrading described specified documents and/or described metadata according to described operating result.
In this technical scheme, server is by when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and the document, and operation information is sent to terminal, terminal is made to carry out on-line operation according to operation information to specified documents and/or metadata, make terminal when needing according to user that in server, specified documents operates, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title, summary etc.
According to a further aspect in the invention, also proposed a kind of terminal, comprising: receiving element, for the operation information to specified documents that reception server sends; Loading unit, for resolving described operation information, the metadata of specified documents and described specified documents according to the described operation information on-line loaded after parsing, to generate the operation interface to described specified documents and described metadata; Operating unit, for when receiving operational order, described operation interface operates described specified documents and/or described metadata; Transmitting element, for being sent to described server, to make specified documents described in described server update and/or described metadata by the described specified documents after described operating unit operation and/or described metadata.
In this technical scheme, terminal is by receiving and the operation information to specified documents of resolution server transmission, and according to this specified documents of operation information on-line loaded after resolving and/or the metadata of this specified documents, make terminal can need to operate specified documents online according to user, avoid and this specified documents is downloaded, upload onto the server again after having operated, simplify the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title, summary etc.By the document after operation and metadata thereof are sent to server, server can be upgraded in time to the document after operation and metadata thereof.
According to a further aspect in the invention, also proposed a kind of system of document on-line operation, comprise server described in above-mentioned arbitrary technical scheme and at least one terminal described in above-mentioned arbitrary technical scheme.
According to a further aspect in the invention, also proposed a kind of method of document on-line operation, comprise: step 402, server is when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and described specified documents, and described operation information is sent to described terminal, so that described terminal carries out on-line operation according to described operation information to described specified documents and/or described metadata; Step 404, described server receives the operating result of described terminal to described specified documents and/or described metadata, upgrades described specified documents and/or described metadata according to described operating result.
In this technical scheme, server is by when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and the document, and operation information is sent to terminal, terminal is made to carry out on-line operation according to operation information to specified documents and/or metadata, when making terminal specified documents operate in needs are to server, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title, summary etc.
According to a further aspect in the invention, also proposed a kind of method of document on-line operation, comprising: step 502, the operation information to specified documents that terminal reception server sends; Step 504, operation information described in described terminal parses, the metadata of specified documents and described specified documents according to the described operation information on-line loaded after parsing, to generate the operation interface to described specified documents and described metadata; Step 506, described terminal operates described specified documents and/or described metadata on described operation interface according to the operational order received, and the described specified documents after operation and/or described metadata are sent to described server, to make specified documents described in described server update and/or described metadata.
In this technical scheme, terminal is by receiving and the operation information to specified documents of resolution server transmission, and according to this specified documents of operation information on-line loaded after resolving and/or the metadata of this specified documents, make terminal can need to operate specified documents online according to user, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title, summary etc.By the document after operation and metadata thereof are sent to server, server can be upgraded in time to the document after operation and metadata thereof.
By above technical scheme, can make user while needing to carry out on-line operation to the document in server, also on-line operation be carried out to the metadata of document, improves the efficiency to document function.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention, but the present invention can also adopt other to be different from other modes described here and implement.Therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the schematic block diagram of server according to an embodiment of the invention.
As shown in Figure 1, server 100 according to an embodiment of the invention, comprising: generation unit 102, for when receiving the operational order of terminal to specified documents, generates the operation information of the metadata to described specified documents and described specified documents; Transmitting element 104, for described operation information is sent to described terminal, so that described terminal carries out on-line operation according to described operation information to described specified documents and/or described metadata; Receiving element 106, for receiving the operating result of described terminal to described specified documents and/or described metadata; Updating block 108, for upgrading described specified documents and/or described metadata according to described operating result.
In this technical scheme, server 100 is by when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and the document, and operation information is sent to terminal, terminal is made to carry out on-line operation according to operation information to specified documents and/or metadata, make terminal when needing according to user that in server 100, specified documents operates, avoid and this specified documents is downloaded, 100 are uploaded onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server 100 generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title etc.
In technique scheme, preferably, described transmitting element 104 also for: when receiving the operational order to specified documents, send the load mode loading described specified documents and/or described metadata to described terminal, according to described load mode, described specified documents and/or described metadata are loaded to make described terminal.
In technique scheme, preferably, described load mode comprise following at least one or a combination set of: the display mode of described specified documents, the display mode of described metadata, mode of operation to described specified documents and described metadata.
In this technical scheme, by making server 100, the load mode of document and/or metadata is sent to terminal, terminal can be loaded document and/or metadata according to the loading rule of server 100 end definition, be conducive to controlling the operation of document.When load mode is sent to terminal, parameterized mode can be adopted to send, to identify the various attribute informations of document, whether such as document readable, whether the Revision Marks of display document, Revision Marks display mode, whether document and/or metadata to be operated and mode of operation etc. to document and metadata.
In technique scheme, preferably, described production unit generates described operation information according to the chained address of the chained address of described specified documents and described metadata.
In this technical scheme, server 100 passes through according to the chained address of document and the chained address generating run information of metadata, make terminal can determine the document that needs load and metadata, to facilitate the loading to document and metadata according to the chained address of the chained address of document and metadata.
In technique scheme, preferably, described transmitting element 104 also for: the renewal result of described updating block 108 to described specified documents and/or described metadata is sent to described terminal.
In this technical scheme, server 100 is by being sent to terminal by the renewal result of document and/or metadata, make terminal can learn the response condition of the operating result of server 100 pairs of documents and metadata thereof intuitively, to make corresponding operation when server 100 upgrades failure.
Fig. 2 shows the schematic block diagram of terminal according to an embodiment of the invention.
As shown in Figure 2, terminal 200 according to an embodiment of the invention, comprising: receiving element 202, for the operation information to specified documents that reception server sends; Loading unit 204, for resolving described operation information, the metadata of specified documents and described specified documents according to the described operation information on-line loaded after parsing, to generate the operation interface to described specified documents and described metadata; Operating unit 206, for when receiving operational order, described operation interface operates described specified documents and/or described metadata; Transmitting element 208, is sent to described server, to make specified documents described in described server update and/or described metadata for the described specified documents after being operated by described operating unit 206 and/or described metadata.
In this technical scheme, terminal 200 is by receiving and the operation information to specified documents of resolution server transmission, and according to this specified documents of operation information on-line loaded after resolving and/or the metadata of this specified documents, make terminal 200 can need to operate specified documents online according to user, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal 200 is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title etc.By the document after operation and metadata thereof are sent to server, server can be upgraded in time to the document after operation and metadata thereof.
In technique scheme, preferably, described receiving element 202, also for: receive the described specified documents of loading and/or the load mode of described metadata that described server sends; Described loading unit 204, also for loading described specified documents and/or described metadata according to described load mode.
In this technical scheme, the load mode of the loading document that terminal 200 is sent by reception server and/or metadata, terminal 200 can be loaded document and/or metadata according to the loading rule of server end definition, be conducive to controlling the operation of document.Server is when being sent to terminal 200 by load mode, parameterized mode can be adopted to send, terminal 200 is after receiving load mode, can by resolving load mode with the mode of server commitment, to obtain the various attribute informations of document, whether such as document readable, whether the Revision Marks of display document, Revision Marks display mode, whether document and/or metadata to be operated and mode of operation etc. to document and metadata.
In technique scheme, preferably, described loading unit 204 is resolved described operation information, the described specified documents obtained and the chained address of described metadata, from described server, described specified documents and described metadata is determined, to load described specified documents and described metadata according to described chained address.
In this technical scheme, terminal 200 obtains the chained address of document and the chained address of metadata by parse operation information, make terminal 200 can determine the document that needs load and metadata, to facilitate the loading to document and metadata according to the chained address of the chained address of document and metadata.
In technique scheme, preferably, described receiving element 202, also for: receive the renewal result to described specified documents and described metadata that described server sends; Described terminal 200 also comprises: processing unit 210, for when judging described specified documents and the success of described metadata updates according to described renewal result, control described operating unit 206 and exit described operation interface, and when judging described specified documents and the failure of described metadata updates, display reminding information.
In this technical scheme, terminal 200 by reception server by the renewal result to document and/or metadata, make terminal 200 can learn the response condition of server to the operating result of document and metadata thereof intuitively, to make corresponding operation when server update failure.
Fig. 3 shows the schematic block diagram of the system of document on-line operation according to an embodiment of the invention.
As shown in Figure 3, the system 300 of document on-line operation according to an embodiment of the invention, comprises the server 100 shown in Fig. 1 and the terminal 200 shown at least one Fig. 2.
Fig. 4 shows the schematic flow diagram of the method for document on-line operation according to an embodiment of the invention.
As shown in Figure 4, the method of document on-line operation according to an embodiment of the invention, comprise: step 402, server is when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and described specified documents, and described operation information is sent to described terminal, so that described terminal carries out on-line operation according to described operation information to described specified documents and/or described metadata; Step 404, described server receives the operating result of described terminal to described specified documents and/or described metadata, upgrades described specified documents and/or described metadata according to described operating result.
In this technical scheme, server is by when receiving the operational order of terminal to specified documents, generate the operation information of the metadata to described specified documents and the document, and operation information is sent to terminal, terminal is made to carry out on-line operation according to operation information to specified documents and/or metadata, when making terminal specified documents operate in needs are to server, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title, summary etc.
In technique scheme, preferably, when described server sends described operation information to described terminal, also comprise: described server sends the load mode loading described specified documents and/or described metadata to described terminal, load according to described load mode to make described terminal to described specified documents and/or described metadata.
In technique scheme, preferably, described load mode comprise following at least one or a combination set of: the display mode of described specified documents, the display mode of described metadata, mode of operation to described specified documents and described metadata.
In this technical scheme, by making server that the load mode of document and/or metadata is sent to terminal, terminal can be loaded document and/or metadata according to the loading rule of server end definition, be conducive to controlling the operation of document.When load mode is sent to terminal, parameterized mode can be adopted to send, to identify the various attribute informations of document, whether such as document readable, whether the Revision Marks of display document, Revision Marks display mode, whether document and/or metadata to be operated and mode of operation etc. to document and metadata.
In technique scheme, preferably, described step 402, comprising: described server generates described operation information according to the chained address of the chained address of described specified documents and described metadata.
In this technical scheme, server passes through according to the chained address of document and the chained address generating run information of metadata, make terminal can determine the document that needs load and metadata, to facilitate the loading to document and metadata according to the chained address of the chained address of document and metadata.
In technique scheme, preferably, after described step 404, also comprise: described server is sent to described terminal by the renewal result of described specified documents and/or described metadata.
In this technical scheme, server is by being sent to terminal by the renewal result of document and/or metadata, make terminal can learn the response condition of server to the operating result of document and metadata thereof intuitively, to make corresponding operation when server update failure.
Fig. 5 shows the schematic flow diagram of the method for document on-line operation according to another embodiment of the invention.
As shown in Figure 5, the method for document on-line operation according to another embodiment of the invention, comprising: step 502, the operation information to specified documents that terminal reception server sends; Step 504, operation information described in described terminal parses, the metadata of specified documents and described specified documents according to the described operation information on-line loaded after parsing, to generate the operation interface to described specified documents and described metadata; Step 506, described terminal operates described specified documents and/or described metadata on described operation interface according to the operational order received, and the described specified documents after operation and/or described metadata are sent to described server, to make specified documents described in described server update and/or described metadata.
In this technical scheme, terminal is by receiving and the operation information to specified documents of resolution server transmission, and according to this specified documents of operation information on-line loaded after resolving and/or the metadata of this specified documents, make terminal can need to operate specified documents online according to user, avoid and this specified documents is downloaded, upload onto the server again after having operated, facilitate the operating process of document function personnel, improve the efficiency to document function.In addition, because server generates the operation information of the metadata to document and the document, therefore terminal is when carrying out on-line operation to document, also can operate the metadata of document online, to solve in correlation technique when operating document, the technical problem of the metadata of the document can not be revised, greatly improve the experience of user.Wherein, comprise operations such as the checking of document and metadata, editors the operation of document and metadata, the metadata of document comprises the author of document, title etc.By the document after operation and metadata thereof are sent to server, server can be upgraded in time to the document after operation and metadata thereof.
In technique scheme, preferably, before the metadata loading described specified documents and described specified documents, also comprise: described terminal receives the described specified documents of loading of described server transmission and/or the load mode of described metadata, and loads described specified documents and/or described metadata according to described load mode.
In this technical scheme, the load mode of the loading document that terminal is sent by reception server and/or metadata, terminal can be loaded document and/or metadata according to the loading rule of server end definition, be conducive to controlling the operation of document.Server is when being sent to terminal by load mode, parameterized mode can be adopted to send, terminal is after receiving load mode, can by resolving load mode with the mode of server commitment, to obtain the various attribute informations of document, whether such as document readable, whether the Revision Marks of display document, Revision Marks display mode, whether document and/or metadata to be operated and mode of operation etc. to document and metadata.
In technique scheme, preferably, described in described terminal parses, operation information obtains the chained address of described specified documents and described metadata, from described server, described specified documents and described metadata is determined, to load described specified documents and described metadata according to described chained address.
In this technical scheme, terminal obtains the chained address of document and the chained address of metadata by parse operation information, make terminal can determine the document that needs load and metadata, to facilitate the loading to document and metadata according to the chained address of the chained address of document and metadata.
In technique scheme, preferably, also comprise after described step 506: described terminal receives the renewal result to described specified documents and described metadata that described server sends; According to described renewal result, described terminal judges whether described specified documents and described metadata are updated successfully, and if so, then exit described operation interface, otherwise, display reminding information.
In this technical scheme, terminal by reception server by the renewal result to document and/or metadata, make terminal can learn the response condition of server to the operating result of document and metadata thereof intuitively, to make corresponding operation when server update failure.
The implementation of word document online editing system is according to an embodiment of the invention described in detail below in conjunction with Fig. 6 to Fig. 7 C.
Fig. 6 shows the schematic block diagram of word document online editing system according to an embodiment of the invention.
As shown in Figure 6, word document online editing system 600 according to an embodiment of the invention, comprising:
Content Management Platform 602, starts Word application program by parameterized approach configuration and arranges the mode of Edit Document.
Particularly, arranged the mode opening Word document by parameterized method, wherein the basic format of parameters is as follows:
type=readonly:false;modify:true;modifytype:0;istabshow:true
Wherein:
Readonly: whether identification documents is readable;
Modify: whether mark shows revision;
Modifytype: mark display mode, wherein: the end-state of 0 expression show tags; The end-state of 1 expression show tags; The reset condition of 2 expression show tags;
Istabshow: identify whether display element data edition panel.
COM communication module 604.In conjunction with the needs of documents editing, the COM plug-in unit of registration IE, as the middleware that Content Management Platform 602 communicates with Word document editing device 606.Page register method can be as follows:
<object classid=CLSID:51ABC0B1-1631-41FD-933D-C6BDF5B42B60
id=EditorObject>
</object>
Based on the self-defined Office application program of VSTO, add the specific function needed for operation flow, form Word document editing device 606.On interface, by encapsulating the COM plug-in unit of IE, for Content Management Platform 602 and Word document editing device 606 provide communication.The interface of Content Management Platform 602 as shown in Figure 7 A.
COM communication module 604 receives Content Management Platform 602 message and resolves, and parameterized information is stored as XML file, sends message to Word document editing device 606 simultaneously.
Word document editing device 606, receive the message also parsing generation Word document that Content Management Platform 602 sends, synchronous metadata about load edit page, and after editor completes, submit Word document and metadata information online to based on the metadata edit page in Word document editing device 606.
Word document editing device 606 intercepts message, resolves the XML file that COM communication module 604 generates, and generates the relevant parameter such as the url of request Word document content and the url of metadata edit page.
Word document content is asked to Content Management Platform 602 in url address according to the request Word document content of Word document editing device 606 generation.Byte stream is saved as Word document and opens after receiving the byte stream that Content Management Platform 602 returns by Word document editing device 606.Simultaneously load different metadata edit pages according to the relevant parameter of metadata edit page and url.Word document editing device 606 opens the effect after Word document as shown in Figure 7 B.Metadata edit page effect as in Fig. 7 B 702 and Fig. 7 C shown in.
Word document editing device 606 is submitted in document process, is sent the byte stream of document content by url to Content Management Platform 602, and submits to document metadata edit page in Content Management Platform 602.
Content Management Platform 602 receives request that Word document editing device 606 sends and corresponding, reads Word document byte stream and preserves warehouse-in; Analytical element data association message, synchronized update is in the record of this Word document.
Word document editing device 606, according to the response of Content Management Platform 602, judges whether Word document is preserved successfully.Word document and metadata edit page is closed during success; System prompt information is provided during failure.
Fig. 6 to Fig. 7 C describes the implementation of Word document editing system according to an embodiment of the invention in detail, can be implemented in line and edits Word document and metadata information simultaneously.Solve the problem that prior art inediting Word document is separated with metadata information.Eliminate user manually to upload, download the operations such as document, simple flow, easy-to-use use, saves time simultaneously.
It should be appreciated by those skilled in the art, the editing system of online document of the present invention and method can be adapted to the operation of any online document.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered in correlation technique, cannot online intuitively and rapidly document and relevant information thereof are edited.Therefore, the present invention proposes a kind of scheme of new document on-line operation, can make user while needing to carry out on-line operation to the document in server, also on-line operation be carried out to the metadata of document, improves the efficiency to document function.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.