CN104794106A - Annotating method and device - Google Patents

Annotating method and device Download PDF

Info

Publication number
CN104794106A
CN104794106A CN201410022943.4A CN201410022943A CN104794106A CN 104794106 A CN104794106 A CN 104794106A CN 201410022943 A CN201410022943 A CN 201410022943A CN 104794106 A CN104794106 A CN 104794106A
Authority
CN
China
Prior art keywords
annotations
comments
former
picture
xml file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410022943.4A
Other languages
Chinese (zh)
Inventor
李辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN201410022943.4A priority Critical patent/CN104794106A/en
Publication of CN104794106A publication Critical patent/CN104794106A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses an annotating method and device to achieve collaborative annotating of different terminals on the same original drawing. The method comprises the steps that the terminals display the original drawing to be annotated at interfaces of annotating tools; the terminals record present-time annotating information, annotated by users through the annotating tools, of the original drawing, and the present-time annotating information is saved as an XML file and then associated with the original drawing to be stored in a network server.

Description

A kind of annotation method and device
Technical field
The present invention relates to the technical field to the process of graphic documentation annotations and comments, particularly relate to a kind of annotation method and device.
Background technology
At present, have a kind of instrument of annotating and commenting on to annotate and comment on the document of aligning graph formula, the theory of the design of this kind of application program is exactly: " drawing on figure ".So-called figure is upper to draw, and in fact refer to that endorsed content is a bitmap, this bitmap is referred to as former figure, to the annotations and comments that former figure carries out, comprises the mark of user's drafting, the word of input, or the image etc. inserted, and is saved as other bitmap.
In prior art, when using above-mentioned annotations and comments instrument to annotate and comment on, after a terminal is annotated and commented on former figure, endorsement information can only be shown on the terminal and continue annotations and comments, different terminals cannot be realized to same former figure Collaborative mark.
Summary of the invention
The embodiment of the present invention provides a kind of annotation method and device, in order to solve exist in prior art cannot realize the problem of different terminals to same former figure Collaborative mark.
Embodiments provide a kind of annotation method, the method comprises:
Terminal is at the interface display former figure to be annotated and commented on of annotations and comments instrument;
This endorsement information that terminal recording user is annotated and commented on former figure by annotations and comments instrument, and associate with former figure after this endorsement information is saved as XML file and be kept at the webserver, so that other-end obtains.
XML file is general file layout, correctly can be resolved in different terminals.Therefore, endorsement information is saved as XML file and associates with former figure and be kept at the webserver by said method, make different terminals can download this XML file by the webserver and former figure correctly demonstrates history endorsement information, thus achieve different terminals Collaborative mark is carried out to same former figure.
Preferably, in described terminal before the former figure that the interface display of annotations and comments instrument is to be annotated and commented on, the method also comprises:
Terminal obtains expandable mark language XML file corresponding to former figure and this former figure from the webserver, and this XML file is the history endorsement information of annotating and commenting on former figure;
The above-mentioned XML file of terminal parses obtains history endorsement information;
Terminal, when annotating and commenting on the interface display of instrument wait the former figure annotated and commented on, also comprises:
Terminal is in the above-mentioned history endorsement information of the interface display of annotated and commented on instrument.
Preferably, above-mentioned this endorsement information is saved as XML file after to associate with above-mentioned former figure and be kept at the above-mentioned webserver, following three kinds of implementations can be included but are not limited to:
The first implementation: after this endorsement information is saved as XML file, uploads in the above-mentioned webserver after this XML file and above-mentioned former figure being compressed, and the path of preserving the file after compression is identical with the path of preserving described former figure;
The second implementation: after this endorsement information is saved as XML file, uploads to the above-mentioned webserver after the XML file of this XML file, above-mentioned former figure and above-mentioned history endorsement information being compressed;
The third implementation: after this endorsement information is saved as XML file, this XML file uploaded in the above-mentioned webserver, there is incidence relation with the path of preserving above-mentioned former figure in the path of preserving this XML file.
Based on any implementation of said method embodiment, preferably, above-mentioned XML file comprises annotations and comments head and annotations and comments content, preserves the attribute information of above-mentioned former figure in this annotations and comments head; Preserve in this annotations and comments content: annotations and comments ID, annotations and comments type, the data field of annotations and comments, the information field of annotations and comments.The attribute information of above-mentioned former figure comprises the creator of former figure, some attributes relevant to former figure such as creative time.
Preferably, lattice coordinates and the punctuate region of picture information is conveniently preserved in the data field of above-mentioned annotations and comments, the lattice coordinates of picture information of should whipping is made up of the position coordinates of pixel in former figure of picture information of whipping, for the XML file of above-mentioned history endorsement information, this punctuate region is made up of the position coordinates of history endorsement information in former figure, for the XML file of this endorsement information above-mentioned, this punctuate region is made up of the position coordinates of this endorsement information in former figure.Should picture information can be conveniently: when user annotates and comments on, some drawn symbolic information, such as: the symbols such as the line marked, circle.
Preferably, above-mentioned annotations and comments information with comprise annotations and comments creation-time, type of error, annotations and comments people, annotate and comment on color, annotate and comment on font, annotate and comment on the information such as printed words, live width.
Based on above-mentioned any means embodiment, preferably, above-mentioned annotations and comments type is: conveniently whip picture annotations and comments or band picture of picture annotations and comments or band word is whipped picture annotations and comments;
For band picture whip picture annotations and comments, this band picture whip picture annotations and comments data field in also preserve institute's insert pictures BASE64 coding and picture region battle array, this picture region battle array is made up of the position coordinates of picture outer rim in former figure;
For band word whip picture annotations and comments, this band word whip picture annotations and comments information field in also preserve institute insert word UTF-8 encode, described band word whip picture annotations and comments data field in also preserve text filed battle array, described text filed battle array is made up of the position coordinates of inserted word in former figure;
Based on above-mentioned any means embodiment, preferably, above-mentioned terminal is in the annotations and comments above-mentioned former figure of interface display of instrument and above-mentioned history endorsement information, and specific implementation is as follows:
Described terminal, according to the mapping relations between the resolution of this terminal and the pixel of described former figure, the interface of annotations and comments instrument shows described former figure;
Described terminal criticizes the position coordinates of history endorsement information in described former figure preserved in the XML file of information according to described history, the interface of described annotations and comments instrument shows described history endorsement information.
If history endorsement information is that picture is annotated and commented on conveniently, this position coordinates is lattice coordinates; If history endorsement information be band word whip picture annotations and comments, this position coordinates is the whip lattice coordinates of picture information and the picture region battle array of institute's insert pictures, the picture annotations and comments if band word is whipped, this position coordinates be conveniently picture information lattice coordinates and insert the text filed battle array of word.
Based on the inventive concept same with method, present invention also offers a kind of annotations and comments device, this device comprises:
Display module, for the interface display former figure to be annotated and commented at annotations and comments instrument;
Upper transmission module, for this endorsement information that recording user is annotated and commented on described former figure by described annotations and comments instrument, and associates with described former figure after this endorsement information described is saved as XML file and is kept at the described webserver.
Said apparatus, by interface display the to be annotated and commented on former figure of display module at annotations and comments instrument, this endorsement information that upper transmission module recording user is annotated and commented on former figure by annotations and comments instrument, and associate with former figure after this endorsement information is saved as XML file and be kept at the webserver, different terminals can be realized Collaborative mark is carried out to same former figure.
Preferably, said apparatus also comprises acquisition module and parsing module:
Acquisition module, for obtaining expandable mark language XML file corresponding to above-mentioned former figure and above-mentioned former figure from the webserver, this XML file is the history endorsement information that this former figure carries out annotating and commenting on;
Parsing module, obtains history endorsement information for resolving this XML file;
Above-mentioned display module also for, in the interface display history endorsement information of above-mentioned annotations and comments instrument.
Accompanying drawing explanation
Fig. 1 is the annotation method process flow diagram of the embodiment of the present invention;
Fig. 2 is the annotations and comments device schematic diagram of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of annotation method and device, in order to solve exist in prior art cannot realize the problem of different terminals to same former figure Collaborative mark.
Below in conjunction with accompanying drawing, embodiments of the present invention is further illustrated.
Embodiments provide a kind of annotation method, as shown in Figure 1, the method comprises:
S101: terminal is at the interface display former figure to be annotated and commented on of annotations and comments instrument;
S102: this endorsement information that terminal recording user is annotated and commented on former figure by annotations and comments instrument, and associate with former figure after this endorsement information is saved as XML file and be kept at the above-mentioned webserver, so that other-end obtains.
XML file is general file layout, correctly can be resolved in different terminals.Therefore, endorsement information is saved as XML file and associates with former figure and be kept at the webserver by said method, make different terminals can download this XML file by the webserver and former figure correctly demonstrates history endorsement information, thus achieve different terminals Collaborative mark is carried out to same former figure.
Preferably, in above-mentioned terminal before the former figure that the interface display of annotations and comments instrument is to be annotated and commented on, the method also comprises:
Terminal obtains expandable mark language XML file corresponding to former figure and this former figure from the webserver, and this XML file is the history endorsement information of annotating and commenting on former figure;
The above-mentioned XML file of terminal parses obtains history endorsement information;
Terminal, when annotating and commenting on the interface display of instrument wait the former figure annotated and commented on, also comprises:
Terminal is in the above-mentioned history endorsement information of the interface display of above-mentioned annotations and comments instrument.
Above-mentioned this endorsement information is saved as XML file after to associate with above-mentioned former figure and be kept at the above-mentioned webserver, preferably, following three kinds of implementations can be included but are not limited to:
The first implementation: after this endorsement information is saved as XML file, uploads in the above-mentioned webserver after this XML file and above-mentioned former figure being compressed, and the path of preserving the file after compression is identical with the path of preserving described former figure; In file such as: this XML file and above-mentioned former figure can be compressed in a suffix and be called prf(proof consonant and write a Chinese character in simplified form), the mode of compression is zip.File after compression is kept in identical file with former figure, or the file after compression to be kept in the sub-folder preserving former map file folder etc.
The second implementation: after this endorsement information is saved as XML file, uploads to the described webserver after the XML file of this XML file, above-mentioned former figure and above-mentioned history endorsement information being compressed;
Such as: the XML file of the XML file of this endorsement information, former figure and history endorsement information is compressed, a suffix can be compressed in and be called prf(proof consonant and write a Chinese character in simplified form) file in, the mode of compression is zip.And the name of this file can be identical with the title of the file of former figure with preservation history endorsement information, thus can replace the file preserving history endorsement information and former figure when uploading to the webserver.
The third implementation: after this endorsement information described is saved as XML file, this XML file uploaded in the above-mentioned webserver, there is incidence relation with the path of preserving above-mentioned former figure in the path of preserving this XML file.This XML file can be kept in identical file with above-mentioned former figure, or is kept in the sub-folder of the former map file folder of preservation, or can be linked to file of this XML file of preservation etc. by the file preserving former figure.
Based on above-mentioned any means embodiment, preferably, above-mentioned XML file comprises annotations and comments head and annotations and comments content, preserves the attribute information of above-mentioned former figure in this annotations and comments head; Preserve in this annotations and comments content: annotations and comments ID, annotations and comments type, the data field of annotations and comments, the information field of annotations and comments.The attribute information of above-mentioned former figure comprises the creator of former figure, some attributes relevant to former figure such as creative time.The information field of above-mentioned annotations and comments comprises annotations and comments time, type of error, annotations and comments people, annotations and comments color, annotations and comments font, information such as annotations and comments printed words, live width etc.
Preferably, annotate and comment on type can be but be not limited only to comprise following several types: picture is annotated and commented on conveniently, picture annotations and comments whipped in band word, picture annotations and comments whipped by band picture.Include picture information conveniently in the annotations and comments content of the annotations and comments of above-mentioned any type, described picture information conveniently refers to: when user annotates and comments on, some drawn symbolic information, such as: the symbols such as the line marked, circle.Picture information should preserve the data field of annotations and comments with the form of lattice coordinates conveniently, this lattice coordinates is made up of the position coordinates of pixel in former figure of picture information of whipping.Such as: a line is made up of multiple pixel, the position coordinates of each pixel in former figure just constitutes the lattice coordinates of this figure.Punctuate region is also preserved in the data field of these annotations and comments, for the XML file of history endorsement information, this punctuate region is made up of the position coordinates of history endorsement information in former figure, for the XML file of this endorsement information, this punctuate region is made up of the position coordinates of this endorsement information in former figure.
Picture annotations and comments refer in these annotations and comments and only comprise above-mentioned picture information conveniently conveniently.
Some words also comprising user annotation on the basis comprising above-mentioned conveniently picture information are referred to word picture annotations and comments of whipping, and the word of this insertion with UTF-8 coding be kept at this band word whip picture annotations and comments information field in, the word of this insertion position coordinates in former figure forms text filed this band word that is kept at and whips in the data field of picture annotations and comments, and the whip data field of picture annotations and comments of this band word is for this band word is whipped the position that picture annotations and comments distribute in the data field of annotations and comments.
The picture also comprising user and insert on the basis comprising conveniently picture information is referred to picture picture annotations and comments of whipping, and the picture of this insertion with BASE64 coding be kept at this band picture whip picture annotations and comments data field in, this band picture whip picture annotations and comments data field in also preserve picture region battle array, described picture region battle array is made up of the position coordinates of the outer rim of picture in former figure, and this coordinate with the form of lattice coordinates be stored in band picture whip picture annotations and comments annotations and comments data field in, this band picture whip picture annotations and comments data field be annotations and comments data field in for this band picture whip picture annotations and comments distribute position.
Based on above-mentioned any means embodiment, preferably, above-mentioned terminal is in the annotations and comments above-mentioned former figure of interface display of instrument and above-mentioned history endorsement information, and specific implementation is as follows:
Terminal, according to the mapping relations between the resolution of this terminal and the pixel of described former figure, the interface of annotations and comments instrument shows described former figure;
Terminal, according to the position coordinates of the history endorsement information of preserving in the XML file of history endorsement information in this former figure, the interface of above-mentioned annotations and comments instrument shows this history endorsement information.
If history endorsement information is that picture is annotated and commented on conveniently, this position coordinates is lattice coordinates; If history endorsement information be band word whip picture annotations and comments, this position coordinates is the whip lattice coordinates of picture information and the picture region battle array of institute's insert pictures, the picture annotations and comments if band word is whipped, this position coordinates be conveniently picture information lattice coordinates and insert the text filed battle array of word.
Based on the design same with above-mentioned annotation method embodiment, present invention also offers a kind of annotations and comments device, as shown in Figure 2, this device comprises:
Display module 201, for the interface display former figure to be annotated and commented at annotations and comments instrument;
Upper transmission module 202, for this endorsement information that recording user is annotated and commented on described former figure by described annotations and comments instrument, and associates with described former figure after this endorsement information described is saved as XML file and is kept at the described webserver.
Said apparatus, by display module 201 former figure and described history endorsement information described in the interface display of annotations and comments instrument, this endorsement information that upper transmission module 202 recording user is annotated and commented on former figure by annotations and comments instrument, and associate with former figure after this endorsement information is saved as XML file and be kept at the webserver, different terminals can be realized Collaborative mark is carried out to same former figure.
Preferably, said apparatus also comprises:
Acquisition module, for obtaining expandable mark language XML file corresponding to former figure and described former figure from the webserver, described XML file is the history endorsement information of annotating and commenting on described former figure;
Parsing module, obtains described history endorsement information figure, as former figure to be annotated and commented on for resolving described XML file;
Display module 201 is also in the above-mentioned history endorsement information of the interface display of above-mentioned annotations and comments instrument.
Preferably, above-mentioned parsing module is used for, according to the mapping relations between the resolution of this terminal and the pixel of described former figure, the interface of annotations and comments instrument showing described former figure;
Terminal, according to the position coordinates of history endorsement information in former figure preserved in the XML file of history endorsement information, the interface of annotations and comments instrument shows history endorsement information.
Associate with above-mentioned former figure after history endorsement information is saved as XML file by above-mentioned upper transmission module 202 and be kept at the above-mentioned webserver, preferably, following three kinds of implementations can be included but are not limited to:
The first implementation: after this endorsement information saves as XML file, uploads in the above-mentioned webserver after this XML file and above-mentioned former figure being compressed, and the path of preserving the file after compression is identical with the path of preserving described former figure; Such as: the file after compression is kept in identical file with former figure, or the file after compression to be kept in the sub-folder preserving former map file folder etc.
The second implementation: after this endorsement information saves as XML file, uploads to the described webserver after the XML file of this XML file, above-mentioned former figure and above-mentioned history endorsement information being compressed;
Such as: the XML file of the XML file of this endorsement information, former figure and history endorsement information is compressed, a suffix can be compressed in and be called prf(proof consonant and write a Chinese character in simplified form) file in, the mode of compression is zip.And the name of this file can be identical with the title of the file of former figure with preservation history endorsement information, thus can replace the file preserving history endorsement information and former figure when uploading to the webserver.
The third implementation: after this endorsement information saves as XML file, uploads to this XML file in the above-mentioned webserver, and the path of preserving this XML file exists incidence relation with the path of preserving above-mentioned former figure.This XML file can be kept in identical file with above-mentioned former figure, or is kept in the sub-folder of the former map file folder of preservation, or can be linked to file of this this XML file of preservation etc. by the file preserving former figure.
Based on above-mentioned any device embodiment, preferably, above-mentioned XML file comprises annotations and comments head and annotations and comments content, preserves the attribute information of above-mentioned former figure in this annotations and comments head; Preserve in this annotations and comments content: annotations and comments ID, annotations and comments type, the data field of annotations and comments, the information field of annotations and comments.The attribute information of above-mentioned former figure comprises the creator of former figure, some attributes relevant to former figure such as creative time.The information field of above-mentioned annotations and comments comprises annotations and comments time, type of error, annotations and comments people, annotations and comments color, annotations and comments font, information such as annotations and comments printed words, live width etc.
Preferably, annotate and comment on type can be but be not limited only to comprise following several types: conveniently whip picture annotations and comments or band picture of picture annotations and comments or band word is whipped picture annotations and comments.Include picture information conveniently in the annotations and comments content of above-mentioned any annotations and comments type, described picture information conveniently refers to: when user annotates and comments on, some drawn symbolic information, such as: the symbols such as the line marked, circle.Picture information should preserve the data field of annotations and comments with the form of lattice coordinates conveniently, this lattice coordinates is made up of the position coordinates of pixel in former figure of picture information of whipping.Such as: a line is made up of multiple pixel, the position coordinates of each pixel in former figure just constitutes the lattice coordinates of this figure.
Picture annotations and comments refer in these annotations and comments and only comprise above-mentioned picture information conveniently conveniently.
Some words also comprising user annotation on the basis comprising above-mentioned conveniently picture information are referred to word picture annotations and comments of whipping, and the word of this insertion with UTF-8 coding be kept at this band word whip picture annotations and comments information field in, the position coordinates of word in former figure of this insertion is kept at this band word and whips in the data field of picture annotations and comments, and the whip data field of picture annotations and comments of this band word is for this band word is whipped the position that picture annotations and comments distribute in the data field of annotations and comments.
The picture also comprising user and insert on the basis comprising conveniently picture information is referred to picture picture annotations and comments of whipping, and the picture of this insertion with BASE64 coding be kept at this band picture whip picture annotations and comments data field in, this band picture whip picture annotations and comments data field in also preserve picture region battle array, described picture region battle array is made up of the position coordinates of the outer rim of picture in former figure, and this coordinate with the form of lattice coordinates be stored in picture whip picture annotations and comments data field in, this band picture whip picture annotations and comments data field be annotations and comments data field in for this band picture whip picture annotations and comments distribute position.
In the technical scheme that the embodiment of the present invention provides, described terminal can be PC (PC), also can be mobile terminal.Both can be the PC of windows operating system for PC, also can be PC of vista operating system etc.For mobile terminal, can be the terminal of Android system, also can be the terminal of IOS, terminal of all right Saipan system etc.
Below in conjunction with embody rule scene, the embodiment of the present invention is further described.
For the PC(of windows operating system hereinafter abbreviated as windows PC) and the mobile terminal (hereinafter abbreviated as android terminal) of Android system.
The webserver (here for ftp server) first judges whether contribution to be annotated and commented on is picture format, if this contribution is not picture format, the picture be converted into by this contribution in units of page (also can not in units of page, demand according to user sets), this picture is as the former figure of annotations and comments instrument.Certain above-mentioned judge annotations and comments contribution whether be picture, if not picture, the action this contribution being converted into picture can be performed by terminal.
Windows pc user clicks the button page being annotated and commented on instrument, and (annotate and comment on instrument for windows here, the class MarkWnd of the nucleus module external disclosure in annotations and comments instrument, this class is the external interface of nucleus module.The class that realizes of MarkWnd is called MarkWndImpl, it provide the interface that various method realizes MarkWnd), windows PC recognizes the action that user clicks the button of annotations and comments instrument, open annotations and comments instrument (already installed annotations and comments instrument can be opened by registration table), and carry out the former figure of annotations and comments that annotates and comments on required for loading.
User can annotate and comment on this former figure, and windows PC clicks the annotations and comments symbol selected by the pushbutton recognition of the annotations and comments symbol on annotations and comments instrument by user.Under user puts on former figure or when lifting mouse, trigger object OnLButton-Down or OnLButtonUp in class MarkWndImple, direct and each annotations and comments controller of these two objects is connected, annotations and comments controller creates annotations and comments symbol, give to annotate and comment on symbol size, profile, profile, behaviors etc., annotate and comment on symbol plotting out the most at last.Such as, the method for a set of drafting picture that provides of windows PC: CGraphSys(graphics system class).The drawing (such as straight line, rectangle, ellipse etc.) of some infrastructure elements can be carried out by this drawing practice.CGraphSys has two cover coordinate systems, displaing coordinate system and world coordinate system.The same just like their name, position specific on displaing coordinate system table display screen curtain, use pixel to count, displaing coordinate system can locate a pixel position on the display device accurately; World coordinate system can represent actual size, has nothing to do with display device, uses millimeter to count (such as the live width of a line, the length of line etc.).CGraphSys provides the method that two cover coordinate systems are changed mutually simultaneously.
Endorsement information after above-mentioned annotations and comments is saved as XML file by Windows PC, and this XML file to be associated with former figure by the interface that calls ftp server and be kept at ftp server.The sectional drawing of the endorsement information after this Windows PC can also being annotated and commented on also is kept in ftp server.
Android terminal user clicks the button page being annotated and commented on instrument, android terminal recognizes the action that user clicks the button of annotations and comments instrument, opening annotations and comments instrument, obtaining above-mentioned windowsPC with the XML file of endorsement information and former figure by calling ftp server interface.
Described XML file and former figure, by resolving above-mentioned obtained XML file and former figure, are drawn, to be correctly presented at the interface of annotations and comments instrument by android terminal.The core that android terminal moves annotations and comments drafting is drawing thread and gesture recognition (this gesture recognition can identify the touch action of user on the touch-screen of android terminal), packaged annotations and comments notes object is carried out traversal and is drawn on former figure by drawing thread, the object of these annotations and comments notes object corresponding to the information (conveniently picture information, Word message or pictorial information) of preserving in XML file.Attribute information in android terminal comprises the lattice coordinates of picture information conveniently, creation-time, annotations and comments time, type of error, amendment people, modification time, live width, annotations and comments classification, ID, punctuate region (this punctuate region is made up of the position coordinates of this endorsement information in former figure, and this coordinate is kept at the position for this punctuate region allocation in the data field of annotations and comments, may be used for judging next time, whether annotations and comments were annotate and comment on to this amendment carried out) etc.; For band word whip picture annotations and comments, attribute information also comprise insert word UTF-8 coding, text filed battle array (text region is made up of the position coordinates of inserted word in former figure) etc.; For band picture whip picture annotations and comments, attribute information also comprises picture BASE64 and encodes, picture region battle array (this picture region battle array is made up of the position coordinates of the outer rim of inserted picture in former figure) etc.
Android terminal user utilizes annotations and comments instrument modify to the annotations and comments that windows pc user does or add the operations such as new annotations and comments, and associates with former figure after these endorsement information are saved as XML file and be kept at above-mentioned ftp server.
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 disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-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 computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme 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 process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme 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.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. an annotation method, is characterized in that, comprising:
Terminal is at the interface display former figure to be annotated and commented on of annotations and comments instrument;
This endorsement information that described terminal recording user is annotated and commented on described former figure by described annotations and comments instrument, and associate with described former figure after this endorsement information described is saved as expandable mark language XML file and be kept at the webserver, so that other-end obtains.
2. annotation method as claimed in claim 1, is characterized in that, described terminal, before the former figure that the interface display of annotations and comments instrument is to be annotated and commented on, also comprises:
Described terminal obtains XML file corresponding to described former figure and described former figure from the described webserver, and described XML file is the history endorsement information of annotating and commenting on described former figure;
XML file described in described terminal parses obtains described history endorsement information;
Described terminal, when annotating and commenting on the interface display of instrument wait the former figure annotated and commented on, also comprises:
Described terminal is history endorsement information described in the interface display of described annotations and comments instrument.
3. annotation method as claimed in claim 2, is characterized in that, described this endorsement information is saved as XML file after to associate with described former figure and be kept at the described webserver, specifically comprise:
Described this endorsement information is saved as XML file after, upload in the described webserver after described XML file and described former figure are compressed, preserve compression after file path with preservation described former figure path identical; Or,
Described this endorsement information is saved as XML file after, by the XML file of described XML file, described former figure and history endorsement information compress after upload to the described webserver; Or,
Described this endorsement information is saved as XML file after, described XML file being uploaded in the described webserver, there is incidence relation with the path of preserving described former figure in the path of preserving described XML file.
4. annotation method as claimed in claim 2, is characterized in that, described XML file comprises annotations and comments head and annotations and comments content, preserves the attribute information of described former figure in described annotations and comments head; Preserve in described annotations and comments content: annotations and comments ID, annotations and comments type, the data field of annotations and comments, the information field of annotations and comments.
5. annotation method as claimed in claim 4, is characterized in that, preserves lattice coordinates and the punctuate region of picture information conveniently in the data field of described annotations and comments; The lattice coordinates of described picture information is conveniently made up of the position coordinates of pixel in described former figure of picture information of whipping; For the XML file of this endorsement information described, described punctuate region is made up of the position coordinates of this endorsement information described in former figure; For the XML file of described history endorsement information, described punctuate region is made up of the position coordinates of described history endorsement information in former figure.
6. annotation method as claimed in claim 4, is characterized in that, the information field of described annotations and comments comprises the creation-time of annotations and comments, type of error, annotations and comments people, annotations and comments color, annotations and comments font, annotations and comments printed words, live width.
7. annotation method as claimed in claim 5, is characterized in that, described terminal is former figure and described history endorsement information described in the interface display of annotations and comments instrument, specifically comprises:
Described terminal, according to the mapping relations between the resolution of this terminal and the pixel of described former figure, the interface of annotations and comments instrument shows described former figure;
Described terminal, according to the position coordinates of the history endorsement information of preserving in the XML file of described history endorsement information in described former figure, the interface of described annotations and comments instrument shows described history endorsement information.
8. the annotation method as described in any one of claim 1 ~ 7, is characterized in that, described annotations and comments type is: conveniently whip picture annotations and comments or band picture of picture annotations and comments or band word is whipped picture annotations and comments;
For band picture whip picture annotations and comments, described band picture whip picture annotations and comments data field in also preserve institute's insert pictures BASE64 coding and picture region battle array, described picture region battle array is made up of the position coordinates of picture outer rim in described former figure;
For band word whip picture annotations and comments, described band word whip picture annotations and comments information field in also preserve institute insert word UTF-8 encode, described band word whip picture annotations and comments data field in also preserve text filed battle array, described text filed battle array is made up of the position coordinates of inserted word in former figure.
9. annotate and comment on a device, it is characterized in that, comprising:
Display module, for the former figure of the interface display band annotations and comments at annotations and comments instrument;
Upper transmission module, for the history endorsement information that recording user is annotated and commented on described former figure by described annotations and comments instrument, and associates with described former figure after described history endorsement information is saved as XML file and is kept at the described webserver.
10. device as claimed in claim 9, is characterized in that, also comprise acquisition module and parsing module:
Described acquisition module, for obtaining expandable mark language XML file corresponding to described former figure and described former figure from the described webserver, described XML file is the history endorsement information of annotating and commenting on described former figure;
Described parsing module, obtains described history endorsement information for resolving described XML file;
Described display module is also for, history endorsement information described in the interface display of described annotations and comments instrument.
CN201410022943.4A 2014-01-17 2014-01-17 Annotating method and device Pending CN104794106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410022943.4A CN104794106A (en) 2014-01-17 2014-01-17 Annotating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410022943.4A CN104794106A (en) 2014-01-17 2014-01-17 Annotating method and device

Publications (1)

Publication Number Publication Date
CN104794106A true CN104794106A (en) 2015-07-22

Family

ID=53558905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410022943.4A Pending CN104794106A (en) 2014-01-17 2014-01-17 Annotating method and device

Country Status (1)

Country Link
CN (1) CN104794106A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326201A (en) * 2016-08-22 2017-01-11 北京网智天元科技股份有限公司 Note marking and displaying method based on cloud storage
CN106776514A (en) * 2016-12-15 2017-05-31 广州视源电子科技股份有限公司 A kind of annotation method and device
CN110290218A (en) * 2019-07-05 2019-09-27 永中软件股份有限公司 File annotation method and system, computer-readable medium
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device
CN113138817A (en) * 2020-01-19 2021-07-20 浙江爱多特大健康科技有限公司 Mobile terminal interface annotation method and device, electronic equipment and computer storage medium
US11301200B2 (en) 2018-01-19 2022-04-12 Guangzhou Shiyuan Electronics Co., Ltd. Method of providing annotation track on the content displayed on an interactive whiteboard, computing device and non-transitory readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004019230A2 (en) * 2002-08-20 2004-03-04 Matsushita Electric Industrial Co., Ltd. Method, system, and apparatus for generating structured document files
CN1858786A (en) * 2006-06-09 2006-11-08 宋丽娟 Electronic file formatting annotate and comment system and method
CN101441644A (en) * 2007-11-19 2009-05-27 英福达科技股份有限公司 Web page annotation system and method
CN102542043A (en) * 2011-12-27 2012-07-04 方正国际软件有限公司 Image annotation method and device
CN102609401A (en) * 2011-12-26 2012-07-25 北京大学 Webpage annotation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004019230A2 (en) * 2002-08-20 2004-03-04 Matsushita Electric Industrial Co., Ltd. Method, system, and apparatus for generating structured document files
CN1858786A (en) * 2006-06-09 2006-11-08 宋丽娟 Electronic file formatting annotate and comment system and method
CN101441644A (en) * 2007-11-19 2009-05-27 英福达科技股份有限公司 Web page annotation system and method
CN102609401A (en) * 2011-12-26 2012-07-25 北京大学 Webpage annotation method
CN102542043A (en) * 2011-12-27 2012-07-04 方正国际软件有限公司 Image annotation method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326201A (en) * 2016-08-22 2017-01-11 北京网智天元科技股份有限公司 Note marking and displaying method based on cloud storage
CN106776514A (en) * 2016-12-15 2017-05-31 广州视源电子科技股份有限公司 A kind of annotation method and device
WO2018107608A1 (en) * 2016-12-15 2018-06-21 广州视源电子科技股份有限公司 Annotation method and apparatus
CN106776514B (en) * 2016-12-15 2020-08-07 广州视源电子科技股份有限公司 Annotating method and device
US11301200B2 (en) 2018-01-19 2022-04-12 Guangzhou Shiyuan Electronics Co., Ltd. Method of providing annotation track on the content displayed on an interactive whiteboard, computing device and non-transitory readable storage medium
CN110290218A (en) * 2019-07-05 2019-09-27 永中软件股份有限公司 File annotation method and system, computer-readable medium
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device
CN111428452B (en) * 2019-11-27 2023-09-05 杭州海康威视数字技术股份有限公司 Annotation data storage method and device
CN113138817A (en) * 2020-01-19 2021-07-20 浙江爱多特大健康科技有限公司 Mobile terminal interface annotation method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN104794106A (en) Annotating method and device
US20190361969A1 (en) Method and system for annotation and connection of electronic documents
JP2023017938A (en) Program, method, and device for editing document
JP5439454B2 (en) Electronic comic editing apparatus, method and program
US20160062963A1 (en) Synchronizing DOM Element References
JP5439456B2 (en) Electronic comic editing apparatus, method and program
US9026900B1 (en) Invisible overlay for dynamic annotation
US20130191389A1 (en) Paragraph Property Detection and Style Reconstruction Engine
CN104598901A (en) Method and system for identifying picture characters and typesetting and displaying picture characteristics according to original style by mobile terminal
CN110096275B (en) Page processing method and device
CN105739981A (en) Code completion implementation method and device, and computing device
US20170293592A1 (en) Dynamically formatting scalable vector graphics
CN104391786A (en) Webpage automatic test system and method thereof
KR101950126B1 (en) Mathematical formula processing method, device, apparatus and computer storage medium
US20200065052A1 (en) Enhanced techniques for merging content from separate computing devices
US20150331584A1 (en) Use of style sets to assist a user in digitizing GIS layers
US20130044954A1 (en) Method and apparatus for accessing an electronic resource based upon a hand-drawn indicator
CN108389244B (en) Implementation method for rendering flash rich text according to specified character rules
CN106776994B (en) Application method and system of engineering symbols in engineering report forms and web pages
CN110990010A (en) Software interface code generation method and device
CN106294480A (en) A kind of file layout change-over method, device and examination question import system
CN109656652B (en) Webpage chart drawing method, device, computer equipment and storage medium
US9542766B1 (en) Intelligent configuration of data visualizations
US10063738B2 (en) Digital content access using a machine-readable link
CN104516919A (en) Quoting annotation processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722

RJ01 Rejection of invention patent application after publication