CN101236552A - Formula editing device, system and method - Google Patents

Formula editing device, system and method Download PDF

Info

Publication number
CN101236552A
CN101236552A CNA2007100635245A CN200710063524A CN101236552A CN 101236552 A CN101236552 A CN 101236552A CN A2007100635245 A CNA2007100635245 A CN A2007100635245A CN 200710063524 A CN200710063524 A CN 200710063524A CN 101236552 A CN101236552 A CN 101236552A
Authority
CN
China
Prior art keywords
formula
browser
data
information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007100635245A
Other languages
Chinese (zh)
Other versions
CN100580674C (en
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.)
WANGTI SCIENCE AND TECHNOLOGY DEVELOPMENT Co Ltd BEIJING
NATIONAL POPULATION AND FAMILY PLANNING COMMISSION OF CHINA
Original Assignee
WANGTI SCIENCE AND TECHNOLOGY DEVELOPMENT Co Ltd BEIJING
NATIONAL POPULATION AND FAMILY PLANNING COMMISSION OF CHINA
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 WANGTI SCIENCE AND TECHNOLOGY DEVELOPMENT Co Ltd BEIJING, NATIONAL POPULATION AND FAMILY PLANNING COMMISSION OF CHINA filed Critical WANGTI SCIENCE AND TECHNOLOGY DEVELOPMENT Co Ltd BEIJING
Priority to CN200710063524A priority Critical patent/CN100580674C/en
Publication of CN101236552A publication Critical patent/CN101236552A/en
Application granted granted Critical
Publication of CN100580674C publication Critical patent/CN100580674C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a formula editor, which comprises a formula editing module and a formula memory module, wherein, the formula editing module is used for receiving formula remark information, generating formula image information according to the formula remark information and transmitting the formula image information and the corresponding formula remark information to the formula memory module; the formula memory module is connected with the formula editing module and used for storing formula data which comprises the formula image information and the formula remark information. The invention also relates to a formula editing system, a formula editing method and a formula display method which are based on the device. The invention can realize browsing of non-text formulas by users and online editing of the non-text formulas under the condition that a browser is not provided with any plug-in.

Description

Formula editing device, system and method
Technical field
The present invention relates to a kind of formula editing device, equation editing system, equation editing method and formula display packing.Particularly be applicable to formula editing device, equation editing system, equation editing method and the formula display packing of browser, belong to Internet technical field.
Background technology
Along with the development of Internet technology, the user of Fen Saning can carry out real-time information and exchange with shared at a distance by internet copolymerization one place geographically, and therefore remote teaching also becomes one of important application of internet.In remote teaching, the participant often need browse, edit formula by browser, and in common browser, do not support the input and the editor of non-text formula such as mathematics, chemical formula, if adopt the form of picture to show mathematics, chemical formula, then these formula can not be edited with common form.
In the prior art, usually adopt extendible SGML (Extensible MarkupLanguage, be called for short XML) technology, mainly be by MathML (Mathema tical MarkupLanguage, be called for short MathML) and chemical markup language (Chemistry Markup Language, be called for short CML), come non-text formula such as mark mathematics, chemistry.The user need install corresponding insert according to the employed browser of client the mark of non-text formula is resolved, to show, to edit non-text formula such as mathematics, chemical formula.
Owing to adopt non-text formula such as XML mark mathematics, chemistry, browser is not being installed under the situation of corresponding plug-in unit, can't show non-text formula, influence user's normal browsing, hinder the teaching of courses such as relevant mathematics, chemistry in the distance education and training process greatly formula.
Summary of the invention
The objective of the invention is to solve defective of the prior art, a kind of editing technique of formula is provided, realize the demonstration of browser thus formula.
For achieving the above object, the invention provides a kind of formula editing device, comprising: equation editing module, formula memory module.
Described equation editing module is used to receive the formula remark information, generates the formula image information according to the formula remark information, and described formula image information and corresponding formulas remark information are sent to described formula memory module;
Described formula memory module is connected with described equation editing module, is used to store the formula data, and described formula data comprise: formula image information and formula remark information.
A kind of equation editing system comprises the transmitting terminal and the receiving end that are connected in the network, it is characterized in that wherein, formula editing device provided by the invention is positioned at transmitting terminal and/or receiving end.
In addition, the present invention also provides a kind of equation editing method, may further comprise the steps:
Step 1, reception formula remark information;
Step 2, generate the formula image information according to described formula remark information;
Step 3, preservation formula image information and corresponding formulas remark information are the formula data.
In addition, the present invention also provides a kind of formula display packing, may further comprise the steps:
Whether comprise the formula image information in step a, the judgment formula data, be, then show the formula image information, finish; Otherwise, execution in step b;
Step b, generate equation editing message, execution in step c according to the formula data;
Step c, execution equation editing method provided by the invention show the formula image information that generates.
The formula image information is partly stored and the storage of formula remark information owing to the formula data are divided into, and therefore, the present invention has the following advantages:
The formula data that produce of editing are not installed at browser under the situation of any plug-in unit and can partly be arrived the effect that formula is browsed by the formula image information that the mode that picture shows is browsed formula, in addition, the formula remark information that browser only need be edited in the formula data promptly can generate new formula by the equation editing module, can realize the online editing of non-text formula.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural drawing of formula editing device embodiment of the present invention;
Fig. 2 is the structural drawing of equation editing system embodiment three of the present invention;
Fig. 3 is the process flow diagram of equation editing method embodiment of the present invention;
Fig. 4 is the process flow diagram of formula display packing embodiment of the present invention.
Embodiment
For realizing the present invention, at first need to set up a formula editing device, comprising: equation editing module, formula memory module.
The equation editing module is connected with the formula memory module, is used for generating the formula image information according to equation editing message, and formula image information and corresponding formulas remark information are sent to the formula memory module.The formula memory module is connected with the equation editing module, is used to store the formula data, and described formula data comprise: formula image information and formula remark information.
Wherein, the equation editing module can adopt modes such as hardware module, software module or plug-in unit to realize, realize that by Java Applet program module (Java Applet is some applets of writing with Java language in the present embodiment, these programs are to be directly embedded in the page, explain the program that can produce special-effect of carrying out by Java-compliant browser (as IE or Nescape)).
The formula memory module adopts the one piece of data storage space in the Computer Storage module to realize, be used to store formula image information and formula remark information, and formula image information and formula remark information are for concerning one to one, in the present embodiment, the formula image information is saved as a jpeg file with the formula remark information, and (JPEG is the english abbreviation of associating picture experts group (Joint Picture Expert Group), be the compressed encoding standard of International Organization for Standardization and the CCITT still image of uniting formulation), wherein the formula image information is the view data part of jpeg file, and the formula remark information is that (so-called EXIF (exchangerable image fileformat for digital still cameras) is formulated by JEITA (electronic information technology industry association) for the additional EXIF information of JPEG, the specification of the mode of additional information on the decision record jpeg image.)。In addition, the formula remark information adopts extendible SGML coding to realize, that is to say that in the present embodiment equation editing message is the XML edit instruction, and the formula remark information is the corresponding XML coding of formula.In the present embodiment, adopt MathML coding mathematical formulae, the CML chemical formula of encoding.
Because, system is divided into the formula data that the formula image information is partly stored and the storage of formula remark information, therefore, the formula data that produce of editing are not installed at browser and can be shown by the mode of picture under the situation of any plug-in unit yet, that is to say that the formula image information that browser only need show that this formula gets partly promptly can arrive the effect that formula is browsed.
For carrying out information interaction, receive information, in the present embodiment from browser with browser, as shown in Figure 1, also comprise the browser interface module in the present embodiment, it is connected with browser, is used to receive formula remark information, formula data and operational order from browser.Browser in the present embodiment can be the browser (comprising IE, Nescape, FireFox etc.) of any kind.When using these browsers that formula is edited, only need produce equation editing message by browser, the formula remark information in editor's formula data promptly can generate new formula by the equation editing module, realizes the online editing of non-text formula.
Before the formula remark information in editor's formula data, if existing formula is made amendment, then browser need obtain the existing formulae remark information, and common browser can't be realized obtaining automatically of formula remark information, therefore, in the present embodiment, the equation editing system that is applicable to browser also comprises the remark information read module.This remark information read module is connected with browser, receive the formula data from browser, and the formula remark information that reads in the formula data feeds back to browser module.The user obtains just can use browser that this remark information has been edited behind the formula remark information at browser.Owing to adopt MathML coding mathematical formulae in the present embodiment, the CML chemical formula of encoding, therefore, the user can make amendment to remark information according to existing MathML, CML technology.In the present embodiment, the remark information read module is realized by Java Applet program module.
After the user edits generation formula data, need send or upload usually, browse study for other user, therefore, in originally being applicable to the equation editing system embodiment of browser, also comprise information sending module.Information sending module is connected with browser interface module and formula memory module, is used for sending instruction according to the formula from browser, sends the formula data of storing in the formula memory module.
In actual applications, above-mentioned formula editing device can be used in the equation editing system, particularly needs to carry out in the mutual teleeducation system of formula, and therefore, the present invention also provides the embodiment of equation editing system simultaneously.
Equation editing system embodiment one:
This equation editing system comprises the transmitting terminal and the receiving end that are connected in the network, and wherein, the formula editing device that formula editing device embodiment of the present invention provides is positioned at transmitting terminal.Wherein, transmitting terminal can be the user's computer that needs to send the formula data, and receiving end is to need to receive the formula data, and the subscriber computer that shows.
That is to say that transmit leg sends to the take over party after using the formula editing device editor to generate the formula data of being with the formula image information.Although take over party's receiving end is not installed formula editing device, or any plug-in unit, but because the formula data of image information organized formats in the formula data is general, for example, use JPEG picture format storage formula image information in the present embodiment, the corresponding formulas remark information is stored as the additional EXIF information of JPEG, so the take over party only need use the picture show tools (being browser in the present embodiment) of receiving terminal can browse this formula.
In the distance education and training system, need a server to provide unified browse displays service usually to the participant of teaching and training.Transmitting terminal can upload onto the server the formula that plays editor's generation, and receiving end can ask to browse the information from server.Therefore, in the present embodiment, also comprise the server that connects transmitting terminal and receiving end, be used for the formula data that receiving end/sending end sends and store that response is sent to receiving end from the formula data call request of receiving end with the formula data.This server can adopt general webserver mode (adopting the WEB server in the present embodiment) to realize, and a special formula stored data base can be set therein.Certainly, in this system, server may connect a plurality of clients, and these clients all might be the transmitting terminal or the receiving end of formula data in distance education and training.
Equation editing system embodiment two:
Also may have this situation in practice, formula editing device is positioned at receiving end but not transmitting terminal, and also can realize browsing, editing of formula in this case.
In this embodiment, comprise the transmitting terminal and the receiving end that are connected in the network, wherein, the formula editing device that formula editing device embodiment of the present invention provides is positioned at receiving end.
After receiving end receives the formula data that transmitting terminal transmits, do not comprise that in these formula data calling formula editing device under the situation of formula image information generates the formula image information, adopt picture show tools (being browser in the present embodiment) can browse this formula.
Identical with embodiment one, also can comprise a server that connects transmitting terminal and receiving end in the present embodiment, be used for the formula data that receiving end/sending end sends and store, response is sent to receiving end from the formula data call request of receiving end with the formula data.
Equation editing system embodiment three:
As shown in Figure 2, present embodiment is on the basis of equation editing system embodiment one, and formula editing device provided by the invention also is positioned at receiving end.Therefore, the usefulness of transmitting terminal user and receiving end can be utilized formula editing device to realize the editor of formula per family and generate the formula data.Simultaneously, also can comprise in the present embodiment with embodiment one in identical server, in remote teaching, this server is the webserver (a normally WEB server).Transmitting terminal, receiving end and server mutual, the browser that uses formula editing device and connect the WEB server, editor sends the formula data that institute edit generation, the online editing of realization formula from the formula data of server and/or to server.
Corresponding formulas edit methods embodiment of the present invention as shown in Figure 3, comprises the steps:
Step 1, reception formula remark information;
Step 2, generate the formula image information according to described formula remark information;
Step 3, preservation formula image information and corresponding formulas remark information are the formula data.
Because, in the present embodiment, the formula data are divided into that the formula image information is partly stored and the storage of formula remark information, therefore, do not install at browser under the situation of any plug-in unit also and can partly arrive the effect that formula is browsed by the formula image information that the mode that picture shows is browsed formula.In addition, the formula remark information that browser only need be edited in the formula data promptly can generate new formula by the equation editing module, realizes the online editing of non-text formula.
Before the formula remark information in editor's formula data, browser need obtain the corresponding formulas remark information, and common browser can't be realized obtaining automatically of formula remark information, therefore, can comprise before the step 1:
Step 10, receive the formula data from browser, the formula remark information that reads in the formula data feeds back to browser.
After editor generates the formula data, need send or upload the formula data usually, therefore, can also comprise after the step 3:
Step 4, send instruction, send the formula data of storing in the formula memory module according to formula.
The formula image information is corresponding one by one with the formula remark information in the present embodiment, and therefore, the formula The data can the jpeg file form JPEG of EXIF information (particularly with) preserves.Formula image information and formula remark information are saved as jpeg file, and wherein, the formula image information saves as the view data part of jpeg file, and the corresponding formulas remark information saves as the additional EXIF information of JPEG.Because existing browser is all supported the demonstration of jpeg file format picture, therefore, under the situation that plug-in unit is not installed, browser can be a picture with the formula data presentation also, realizes browsing of non-text formula.
Accordingly, step 3 can be specially:
Formula image information and formula remark information are saved as jpeg file, and wherein, the formula image information saves as the view data part of jpeg file, and the corresponding formulas remark information saves as the additional EXIF information of JPEG.
In the present embodiment, the formula remark information adopts extendible SGML coding, promptly adopts MathML coding mathematical formulae, the CML chemical formula of encoding, therefore, the user can make amendment to remark information according to existing MathML, CML technology, can realize the editor of formula.
Formula display packing embodiment as shown in Figure 4, may further comprise the steps:
Whether comprise the formula pictorial information in step a, the judgment formula data, be, then show the formula pictorial information, finish; Otherwise, execution in step b;
Step b, generate equation editing message, execution in step c according to the formula data;
The edit methods that provides among step c, the execution equation editing method embodiment of the present invention shows the formula image information that generates.
That is to say, when not comprising the formula image information in the formula data that receiving end receives (formula of normally extendible SGML coded markings), it can call formula editing device, adopt the method that equation editing method embodiment of the present invention provides to generate the formula image information, and call picture show tools (being browser in the present embodiment) and shown.Therefore, use the formula of extendible SGML coded markings, in this image display method embodiment, still can be shown, realized the compatibility of the present invention and prior art.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a formula editing device is characterized in that, comprising: equation editing module, formula memory module;
Described equation editing module is used to receive the formula remark information, generates the formula image information according to the formula remark information, and described formula image information and corresponding formulas remark information are sent to described formula memory module;
Described formula memory module is connected with described equation editing module, is used to store the formula data, and described formula data comprise: formula image information and formula remark information.
2. formula editing device according to claim 1 is characterized in that, also comprises the browser interface module, is connected with browser, is used to receive formula remark information, formula data and operational order from browser.
3. formula editing device according to claim 1 is characterized in that, also comprises the remark information read module;
Described remark information read module is connected with the browser interface module, receive the formula data from browser, and the formula remark information that reads in the formula data feeds back to browser by the browser interface module.
4. formula editing device according to claim 1 is characterized in that, also comprises information sending module;
Described information sending module is connected with browser interface module and formula memory module, is used for sending instruction according to the formula from browser, sends the formula data of storing in the formula memory module.
5. an equation editing system comprises the transmitting terminal and the receiving end that are connected in the network, it is characterized in that, the arbitrary formula editing device of claim 1-4 is positioned at transmitting terminal and/or receiving end.
6. equation editing according to claim 5 system, it is characterized in that, also comprise the server that connects transmitting terminal and receiving end, be used for the formula data that receiving end/sending end sends and store, response is sent to receiving end from the formula data call request of receiving end with the formula data.
7. an equation editing method is characterized in that, may further comprise the steps:
Step 1, reception formula remark information;
Step 2, generate the formula image information according to described formula remark information;
Step 3, preservation formula image information and corresponding formulas remark information are the formula data.
8. equation editing method according to claim 7 is characterized in that, comprises before the step 1:
Step 10, receive the formula data from browser, the formula remark information that reads in the formula data feeds back to browser.
9. equation editing method according to claim 7 is characterized in that, comprises after the step 3:
Step 4, send instruction, send the formula data of storing in the formula memory module according to formula.
10. a formula display packing is characterized in that, may further comprise the steps:
Whether comprise the formula image information in step a, the judgment formula data, be, then show the formula image information, finish; Otherwise, execution in step b;
Step b, generate equation editing message, execution in step c according to the formula data;
Step c, enforcement of rights require the arbitrary equation editing method of 7-9, show the formula image information that generates.
CN200710063524A 2007-02-02 2007-02-02 Formula editing device, system and method Active CN100580674C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710063524A CN100580674C (en) 2007-02-02 2007-02-02 Formula editing device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710063524A CN100580674C (en) 2007-02-02 2007-02-02 Formula editing device, system and method

Publications (2)

Publication Number Publication Date
CN101236552A true CN101236552A (en) 2008-08-06
CN100580674C CN100580674C (en) 2010-01-13

Family

ID=39920175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710063524A Active CN100580674C (en) 2007-02-02 2007-02-02 Formula editing device, system and method

Country Status (1)

Country Link
CN (1) CN100580674C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789131A (en) * 2009-01-21 2010-07-28 施昊 Network editor capable of inputting diagrams and network information input edition system
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
WO2011060682A1 (en) * 2009-11-18 2011-05-26 佛山数苑科技信息有限公司 System and method for editing mathematical formula based on web
CN102053956B (en) * 2009-10-30 2013-02-20 北大方正集团有限公司 System and method for indicating preferentially edited region of symbol
CN103299292A (en) * 2010-12-02 2013-09-11 Sk电信有限公司 Natural language and mathematical formula processing method and device therefor
CN103810152A (en) * 2013-11-11 2014-05-21 远光软件股份有限公司 Visualized formula editor
CN104102468A (en) * 2014-07-23 2014-10-15 中国电子科技集团公司第四十一研究所 Network analyzer formula editor and data graphic display method and device thereof
CN104462160A (en) * 2013-09-25 2015-03-25 北大方正集团有限公司 Method and system for editing formula

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789131A (en) * 2009-01-21 2010-07-28 施昊 Network editor capable of inputting diagrams and network information input edition system
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
CN101789131B (en) * 2009-01-21 2013-07-03 施昊 Network editor capable of inputting diagrams and network information input edition system
CN101794455B (en) * 2009-01-21 2014-02-19 施昊 Drawable network editor and network information input editing system
CN102053956B (en) * 2009-10-30 2013-02-20 北大方正集团有限公司 System and method for indicating preferentially edited region of symbol
WO2011060682A1 (en) * 2009-11-18 2011-05-26 佛山数苑科技信息有限公司 System and method for editing mathematical formula based on web
CN103299292A (en) * 2010-12-02 2013-09-11 Sk电信有限公司 Natural language and mathematical formula processing method and device therefor
CN103299292B (en) * 2010-12-02 2016-01-20 Sk电信有限公司 For the treatment of method and the equipment thereof of natural language and mathematical formulae
CN104462160A (en) * 2013-09-25 2015-03-25 北大方正集团有限公司 Method and system for editing formula
CN103810152A (en) * 2013-11-11 2014-05-21 远光软件股份有限公司 Visualized formula editor
CN104102468A (en) * 2014-07-23 2014-10-15 中国电子科技集团公司第四十一研究所 Network analyzer formula editor and data graphic display method and device thereof

Also Published As

Publication number Publication date
CN100580674C (en) 2010-01-13

Similar Documents

Publication Publication Date Title
CN100580674C (en) Formula editing device, system and method
CN1860788B (en) Methods and systems for image sharing over a network
US7272788B2 (en) Client-server system for merging of metadata with images
JP4859549B2 (en) Information management method using management symbol and information management server
CN113099258A (en) Cloud director system, live broadcast processing method and device, and computer readable storage medium
US20070043740A1 (en) Information processing apparatus, information processing method and information processing program product
US20110184964A1 (en) Enhanced metadata in media files
AU2013316468B2 (en) Communication server, communication system, program, and communication method
US20020135685A1 (en) Digital camera device
US20120242841A1 (en) System and method for transmitting real-time images
US7991828B2 (en) Network communication apparatus generating XML responses based on HTTP requests
CN105719049A (en) Realization method and system of intelligent logs
JP2009026129A (en) Method for using behavior history information
CN106375454A (en) Method and system for uploading file by scanning graphic identifier
CN106385359A (en) Group and friend automatic generation and photograph and video shared browsing method
CN100559780C (en) A kind of method, system and equipment that in IM message, shows multimedia messages
CN102209116A (en) Method and device for acquiring Internet protocol television program information, and television
CN102355588B (en) A kind of method and system of synchronous browsing electron album
JP2007328750A (en) Compound document preparing method and registering method to blog
JP2006013996A (en) Information processing system and server
CN102055743A (en) Digital content transferring system and method
TWI393423B (en) Mobile communication platform across heterogeneous platform for multimedia transmission system
CN101674493A (en) Monitoring method, monitoring terminal and monitoring system for digital television network images
KR20030029556A (en) Method for providing broadcast contents using a mobile terminal and computer readable record medium on which a program therefor is recorded
JP6327551B2 (en) Data management device, data distribution system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant