CN101770451A - Network editor capable of inputting chemical equation and chemical structural formula and system - Google Patents

Network editor capable of inputting chemical equation and chemical structural formula and system Download PDF

Info

Publication number
CN101770451A
CN101770451A CN201010005362A CN201010005362A CN101770451A CN 101770451 A CN101770451 A CN 101770451A CN 201010005362 A CN201010005362 A CN 201010005362A CN 201010005362 A CN201010005362 A CN 201010005362A CN 101770451 A CN101770451 A CN 101770451A
Authority
CN
China
Prior art keywords
order
unit
picture
input
editing machine
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
CN201010005362A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201010005362A priority Critical patent/CN101770451A/en
Publication of CN101770451A publication Critical patent/CN101770451A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/111Mathematical or scientific formatting; Subscripts; Superscripts

Abstract

The invention discloses a network editor capable of inputting a chemical equation and a chemical structural formula and a network information inputting and editing system. The editor can be totally or partially arranged in a server, and the server is connected with a client via the network and processes data information sent by the client; and the editor can also be partially or totally arranged in the client, and the client is connected with the server via the network and executes codes sent by the server. The editor also comprises a chemical equation inputting module which is used for inputting the chemical equation information in the editor; and the chemical equation inputting module comprises a second test inputting unit, a subscript processing unit and a second picture forming unit, wherein the second picture forming unit is used for forming the inputted reactants, products, reaction conditions and arrows into picture formats. The editor enables users to efficiently express frequently-used academic information such as formulas, symbols, functional images, figures and the like with strong academic nature in network communication, and can carry out on-line editing, viewing and modification.

Description

Can import the network editor and the system of chemical equation and chemical structural formula
Technical field
The invention belongs to technical field of the computer network, relate to a kind of editing machine, relate in particular to a kind of network editor of importing chemical equation and chemical structural formula; In addition, the invention still further relates to a kind of network information input editing system that comprises described editing machine.
Background technology
At present, the information content that exchanges has unique requirement to editing machine, can clearly impart one's ideas on network not only needs the literal input, needs sometimes to use picture to explain, uses animation, formula, chart, upload file or the like mode even.At present the network editor of main flow also can input characters, picture even sound, animation, but when exchanging academic problem, it is unable to do what one wishes that these functions can seem; At first be that the content of inserting can not be revised in editing machine, simultaneously, common editing process need be drawn out by software usually and preserve behind the image and the back issue of uploading onto the server could show that this mode process is loaded down with trivial details, and elapsed time is long.
Summary of the invention
Technical matters to be solved by this invention is: a kind of network editor of importing chemical equation and chemical structural formula is provided, can inserts chemical equation, formula, chart etc. in webpage, can import in real time simultaneously, the real time inspection input results.
Simultaneously, the present invention also provides a kind of network information input editing system that comprises described editing machine.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of network editor of importing chemical equation and chemical structural formula, described editing machine can partly or entirely be arranged at server, and server is connected with client by network and handles the data message that client is brought; Described editing machine also can partly or entirely be arranged at client, and client is connected with server by network and carries out the code that server sends.Described editing machine in client or/and server carry out; Described editing machine comprises literal load module, picture load module; Described editing machine also comprises the chemical equation load module, in order to input chemical equation information in described editing machine; This chemical equation load module comprises that the second literal input block, suffix process unit, second picture form the unit; The second literal input block is in order to import reactant, product, to reach reaction conditions; Whether the suffix process unit should be subscript in order to the literal of judging described second literal input block input; Should be down target and form form of subseript; Second picture form the unit in order to the reactant of described input, product, reaction conditions, and arrow form picture format.
As a preferred embodiment of the present invention, described chemical equation load module also comprises second form preservation unit, but, can continue according to the picture of this preservation to revise later in order to preserve edit format that described second picture forms the picture that the unit forms in a database.
As a preferred embodiment of the present invention, described editing machine also comprises the formula load module, in order to inputting mathematical formula information in described editing machine; This formula load module comprises formula input block, Tip element; The formula input block is in order to import various mathematical formulaes; Tip element is in order to point out in the process by described formula input block input formula, and suggestion content comprises the content format prompting of error message prompting, needs input.
As a preferred embodiment of the present invention, described editing machine also comprises temporary storage location, in order to preserve data that content of edit do not issue in the data in server storehouse.
As a preferred embodiment of the present invention, described editing machine also comprises graphics module, in order to make pictorial information in described editing machine; It comprises that painting canvas formation unit, some graphic plottings unit, first picture formation unit, first form are preserved the unit, picture is opened the unit; Painting canvas forms the unit in order to form painting canvas; The graphic plotting unit is in order to draw the graphical information of setting; First picture formation unit is used so that the figure of drawing forms picture format; But first form preserve the unit in order to the edit format of preserving picture in database, can continue according to the picture of this preservation to revise later on; Picture is opened the unit in order to open other pictures, and described painting canvas forms the unit and form painting canvas on the basis of picture that is opened.
As a preferred embodiment of the present invention, described editing machine also comprises the chemical structural formula load module, in order to the input chemical structural formula.
As a preferred embodiment of the present invention, described editing machine also comprises the functional image load module, in order to the function formation function image information in described editing machine according to input; Described functional image load module comprises that function input block, coordinate axis form unit, image formation unit; The function input block is in order to input function information; Coordinate axis forms the coordinate axis of unit in order to the formation function image; Image formation unit forms corresponding functional image in order to form the some points or the line of the function correspondence of described input on coordinate axis according to described some points or line.
As a preferred embodiment of the present invention, described image formation unit on coordinate axis is the some points or the line of the unit function correspondence that forms described input with the pixel, and these some points or line form corresponding functional image.
As a preferred embodiment of the present invention, described editing machine also comprises the chart load module, in order to form chart format according to the data in the form in described editing machine; Described chart load module comprises that the 4th data input cell, the 4th chart form the unit, the 4th form is preserved the unit; The 4th data input cell is in order to the data message in the input form; The 4th chart forms the unit in order to according to the data message in the described form, forms chart format; But the 4th form preserve the unit in order to the edit format of preserving chart in database, can continue according to the chart of this preservation to revise later on.
A kind of network information input editing system, it comprises server, client, network editor; Described network editor can partly or entirely be arranged at server, and server is connected with client by network and handles the data message that client sends; Described editing machine also can partly or entirely be arranged at client, and client is connected with server by network and carries out the code that server sends; Network editor comprises that described editing machine comprises literal load module, picture load module; Described editing machine also comprises the chemical equation load module, in order to input chemical equation information in described editing machine; This chemical equation load module comprises that the second literal input block, suffix process unit, second picture form the unit; The second literal input block is in order to import reactant, product, to reach reaction conditions; Whether the suffix process unit should be subscript in order to the literal of judging described second literal input block input; Should be down target and form form of subseript; Second picture form the unit in order to the reactant of described input, product, reaction conditions, and arrow form picture format.
As a preferred embodiment of the present invention, described editing machine also comprises graphics module, in order to make pictorial information in described editing machine; It comprises that painting canvas formation unit, some graphic plottings unit, first picture formation unit, first form are preserved the unit, picture is opened the unit; Painting canvas forms the unit in order to form painting canvas; The graphic plotting unit is in order to draw the graphical information of setting; First picture formation unit is used so that the figure of drawing forms picture format; But first form preserve the unit in order to the edit format of preserving picture in database, can continue according to the picture of this preservation to revise later on; Picture is opened the unit in order to open other pictures, and described painting canvas forms the unit and form painting canvas on the basis of picture that is opened.
Beneficial effect of the present invention is: editing machine of the present invention can directly be issued Various types of data in editing machine in editor, as inputting mathematical formula, drawing in the web page editing device, and input chemical equation, functional image, chart or the like; Save a large amount of time, still can continue after the issue to revise.Also write user's input code verifying function for mathematical formulae, the code of user's input has been checked, found wrong prompting in time, and point out alter mode; When the user selects in toolbar and inserts code, can also point out the user what has been imported, the formal name used at school of this symbol has Several Parameters, and how ensuing content information such as imports.This editing machine can make the user express academic information commonly used such as the very strong formula of those academic natures, symbol, functional image and chart expeditiously in internet exchange.People can and revise above-mentioned various information by different client online exchanges.
Description of drawings
Fig. 1 is the composition synoptic diagram of network input editing system of the present invention.
Fig. 2 A-2C is the synoptic diagram of shape that graphics module is drawn.
Fig. 3 is the chemical equation synoptic diagram of chemical equation load module input.
Fig. 4 is the traditional chart input step and the comparison diagram of chart input step of the present invention.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention discloses a kind of network information input editing system, comprises server 1, the client 2 that is connected with server 1 by network and the network information input editing device 20 that is arranged at client 2.
Described editing machine 20 is easily input characters, picture, sound, animation not only; All right simultaneously inputting mathematical formula, chemical equation, polar plot in real time, functional image, chart etc.; In addition, other functions can also be arranged, as: ballot system, file are uploaded, highlighted demonstration, language tool, insertion map, can keep in, and the present invention is easy to use and be easy to reprint and transplant, the demand when satisfying the user and exchanging different academic content.
See also Fig. 1, described editing machine 20 specifically comprises transmission module 211 on literal load module 201, picture load module 202, animation load module 203, sound load module 204, graphics module 205, mathematical formulae load module 206, chemical equation load module 207, chemical structural formula load module, functional image load module 208, chart load module 209, vote module 210, the file, highlighted display module 212, language tool module 213, map insert module 214, temporary module 215.
In the above-mentioned module, literal load module 201, picture load module 202, animation load module 203, sound load module 204 have been than proven technique, and the user can pass through existing network editor input characters, picture, animation and sound.Below the main in addition composition and the course of work of other modules introduced.
[graphics module]
Graphics module 205 is in order to input vector figure information in described editing machine; Graphics module 205 comprises that painting canvas formation unit, some graphic plottings unit, first picture formation unit, first form are preserved the unit, picture is opened the unit.
Painting canvas forms the unit in order to form painting canvas; The graphical information of some graphic plottings unit in order to draw to set, drawing principle and CAD, FLASH, PHOTOSHOP figures tools are similar; First picture forms the unit with so that the figure of drawing forms picture format, can form picture format by client or server; But first form preserve the unit in order to the edit format of preserving picture in a database, can continue according to the picture of this preservation to revise later on; Picture is opened the unit in order to open other pictures, and described painting canvas forms the unit and form painting canvas on the basis of picture that is opened.
See also Fig. 2 A-Fig. 2 C, the image rendering in the native system is not to handle and form through Photoshop, Flash, Windows drawing board, and directly draws with mouse on webpage.
How image shows: in the present embodiment, drawn by the drawing engine in the server.Client is asked to server by sending to draw, and server passes to client with view data after drawing and finishing, and as long as client is display image.This mode can be ignored compatibling problem (nearly all browser all supports image to show basically), and holds easily, also is beneficial to propagation.The image of drawing is not that an instruction draws, but form jointly by literal, circle, rectangle, line segment and arrow.In order to allow these images be simultaneously displayed on together, graphics module also comprises resolver, is used for the various information of analysis diagram picture.
Write down the graphics module position in the middle of a lot of address of transmitting between server and client, the size of the rendering image of is the coordinate information of each image type then.After client sends the request graphics module to server, graphics module elder generation reading images size, and in server memory, create this big or small painting canvas, read each graph style (each graph style has a code name), coordinate and additional information then one by one, use the graph style information of appointment draw straight line, circle, rectangle or other shapes, the position of coordinate control figure, additional information is used to handle the content of text that is similar to label character, the initial angle of camber line and the information of end angle.Detailed description please refer to the technical essential of drawing practice in the table 1:
Figure G2010100053621D00051
The technical essential of table 1-drawing practice
How to draw: this is a process, and at first client is told server what figure of wishing to draw, and server provides picture according to the data message of input then.But according to the principle of top graphics module, if allow the user be very inconvenient concerning the user directly with the content of mode word tablet pattern type, coordinate, additional information.So the present invention has developed patterned editing machine.But can not use the drawing board of any plug-in unit in the webpage usually, the present invention has write the drawing board that can insert plug-in unit by using JavaScript code and AJAX technology, and this technical scheme those skilled in the art can pass through existing techniques in realizing.
In the present embodiment, as long as can obtain the position of each a mouse click, with regard to the position and the size of energy lock image, and additional information can be by extra text box input.Consider that this image needs the location of degree of precision, native system has been abandoned the drag and drop formula plotting mode that is similar to Flash, and used for reference the plotting mode of drawing design software AutoCAD, and click painting canvas for the first time when drawing straight line and arrow and determine starting point, click definite terminal point for the second time; Drawing circle is to click for the first time definite center of circle, to click definite radius for the second time; The input method of drawing other figures can be with reference to above-mentioned technical essential table.So just accomplished to allow the user very directly perceived and convenient when input drawing content: figure of the every picture of user, will automatically the information of figure be added in the tabulation, server is drawn again according to the data in the tabulation and is shown.As revising, the user can delete unsatisfied content from tabulation, it is made amendment again, and amended image repaints serviced device again automatically.So just reached while the live effect of revising, draw, see the result on one side.Software can also realize carrying out with the good image of original drafting the positioning function of new figure.
The improvement of customer experience: after using a period of time, find that this method for designing too depends on the fast throughput of network speed, flow velocity to network has higher requirement, a lot of places can't reach the requirement of original imagination when network speed is slow, even draw straight line sometimes all can be very painstaking, because the click each time of client all will be carried out data communication (this shortcoming shows more obvious) with server in being called as the same slow wireless network environment with surfing Internet with cell phone, this shortcoming is very tangible when network speed is undesirable.So the present invention has carried out performance optimization to editing machine again, consider how to reduce significantly the information transmission of client and server emphatically.After further research, the status information of attempting originally writing down at server end changes into and is placed directly in client records, thereby has removed a large amount of unnecessary server end AJAX readjustments, and has added and pinned the function that shift key is drawn straight line.Comfort has promoted significantly under this.
Drawing instrument specialization: increased by two functions than common function, made the figure drawing function more specialized.One is that the user can allow the user draw out more diversified figure at other line style and the fill style of directly selecting output pattern of toolbar.An other function is cutting, and the user can not fill in size very intuitively when selecting canvas size for the first time, increases this function and can give the adjusted size ability that is used for more refinement.
[mathematical formulae load module]
Mathematical formulae load module 206 is in order to inputting mathematical formula information in described editing machine; This formula load module 206 comprises formula input block, Tip element.
The formula input block is in order to import various mathematical formulaes, and this technology is comparatively ripe now; Tip element is in order to point out in the process by described formula input block input formula, and suggestion content comprises the content format prompting of error message prompting, needs input.
The problem that runs into when showing formula: show that the so simple formula of 1+1=2 can directly reach by keyboard input.And complicated formula can not be realized by simple keyboard input.
The present invention uses the Tex code become the universal standard to transfer the Web service of formula image to, and (address: http://www.imathas.com/), the mineTex render engine of increasing income is used in this website, and the engine that directly calls wherein can show image.
The present invention has increased for mathematical formulae and has also write user's input code verifying function, and the code of user's input is checked, finds wrong prompting in time, and points out alter mode; In addition, when the user selects in toolbar and inserts symbol, can also point out the user what to be imported, the formal name used at school of this symbol, Several Parameters has been arranged, how ensuing content information such as imports.
[chemical equation load module]
Chemical equation load module 207 is in order to input chemical equation information in described editing machine; This chemical equation load module 207 comprises that the second literal input block, suffix process unit, second picture form the unit, second form is preserved the unit.
The second literal input block is in order to import reactant, product, to reach reaction conditions.Whether the suffix process unit should be subscript in order to the literal of judging described second literal input block input; Should be down target and form form of subseript.Second picture forms the unit, in order to the reactant of described input, product, reaction conditions, and arrow form picture format, can form picture format (explanation of similar graphics module) by client or server.Second form is preserved the unit, but in order to preserve edit format that described second picture forms the picture that the unit forms in a database, can continue according to the picture of this preservation to revise later on.
See also Fig. 3, it has disclosed the composition synoptic diagram of chemical equation.Chemical equation need be divided into some from the third-party server download, and with these several pictures splicings, and the length that can draw Chinese and control arrow.
Among Fig. 3, the content in the red frame is individual picture, and whole equation is to be combined into by these pictures.Wherein the both sides picture that comprises chemical formula is all downloaded from third-party server.Arrow then is the straight line and one [〉 that calculate by the word graph leaf length to " condition "] picture of shape forms, and condition is drawn by server earlier, and calculating location, is stitched together then.Picture effect after the integration is better.
This module operation is very convenient, as long as input " 2KNO3+3C+S " and " K2S+N2+3CO2 " respectively in the second literal input block of module, the suffix process unit can be ignored the processing of subscript needs fully and finish automatically.If atomicity surpasses one digit number, need to bracket as " { } " with special symbol.Server will use regular expression to add subfix " _ " among the Tex automatically, and calls the chemical equation renderer and show them, and supports arrow up and down." condition " part can be selected input or input voluntarily.
The chemical structural formula load module is in order to the input chemical structural formula.Its principle of work and chemical equation load module are similar.
[functional image load module]
Functional image load module 208 is in order to the function formation function image information in described editing machine according to input; Described functional image load module comprises that function input block, coordinate axis form unit, image formation unit.
The function input block is in order to input function information; Coordinate axis forms the coordinate axis of unit in order to the formation function image; Image formation unit forms corresponding functional image in order to form some points of the function correspondence of described input on coordinate axis according to described some points.Preferably, described image formation unit on coordinate axis is the some points or the line of the unit function correspondence that forms described input with the pixel, and these some points or line form the functional image of institute's input function correspondence.
The method of drawing functional image on the computing machine can satisfy the demand that can import a plurality of arbitrarily multi-form functional images in same coordinate system.Through the conscientiously research and the odds of multiple scheme, the principle that the present invention adopts the server-side processes image to pass to client solves and reach the functional requirement of freely importing and showing functional image in editing machine, also can solve in the direct information of handling the image that is transmitted by user's input or server of client to reach the functional requirement of freely importing and showing functional image in editing machine.
[chart load module]
Chart load module 209 is in order to form chart format according to the data in the form in described editing machine; Described chart load module comprises that the 4th data input cell, the 4th chart form the unit, the 4th form is preserved the unit.
The 4th data input cell is in order to the data message in the input form; The 4th chart forms the unit in order to according to the data message in the described form, forms chart format; But the 4th form preserve the unit in order to the edit format of preserving chart in a database, can continue according to the chart of this preservation to revise later on.
See also Fig. 4, existing network information input editing device, if some list datas are formed the form of charts, need: (1) imports data in Excel; (2) chart is copied in the Windows drawing board; (3) deposit picture again; (4) upload onto the server again.In system of the present invention, only need the information of input form, other steps all are integrated in the editing machine, and are easy to use.
Use the chart input function in the network editor of the present invention can save 5 steps as can be seen from Figure 4, though these steps can not consume oversize time, very mechanization.And in network editor of the present invention, the user is as long as input item title and pairing value are inserted after the preview and got final product the very big convenience that this mode has brought chart to import to the user.Table 2 has been listed network editor of the present invention the part chart style that can draw and the parameter that needs input, and its form is not limited to this.
Chart style The data that need input
Pie chart { data name, data value }, width, highly
Bar chart { data name, data value }, width, highly, transverse axis unit, longitudinal axis unit
Broken line graph { data name, data value }, width, highly, transverse axis unit, longitudinal axis unit
Scatter diagram { data name, data value }, width, highly, transverse axis unit, longitudinal axis unit
Part chart style that table 2-network editor of the present invention can be drawn and the parameter that needs input
[vote module]
Vote module 210 is in order to be provided with voting function in described editing machine.
Voting, this is an interaction function; In the present BBBS (Bulletin Board System)BS, the user can initiate a ballot like a cork.And these ballot systems all are built in the bulletin board system, and a model can only be initiated one.The ballot system that the present invention writes is similar to the ship room, can equally insert (using iFrame) and can propagate every page insertion quantity also unrestricted (close the website of iFrame label for some, also will carry out a little special processings) everywhere by the image pattern sheet.In this functional development, use database and stored vote information, show the poll situation of different item by pie chart with the chart renderer of having made.
[transmission module on the file]
Transmission module 211 is in order to upload file information in described editing machine on the file;
Nearly all interactive web site all provides the file upload function.But these upload functions all have a fatal shortcoming at present: the type to upload file is restricted.Main cause is the wooden horse that some hackers can upload the serviced device operation of some energy, and server is carried out malicious attack.So most website design's teacher acquiescence has been closed ASPX, ASP, PHP, ASHX, ASMX, ASBX, CGI, PL, JSP, EXE, BAT, COM, the upload permissions of files such as DLL.And these files need compression could pass through " safety check " for some students usually, want decompress(ion) just can check after the download.Also have a problem be exactly for a long time the file uploaded of user can consume the server disk space, and these files can become littler through volume after the special processing fully.At these two problems, solution of the present invention is: server compresses it automatically receiving file that the user uploads simultaneously, separates the solution that data behind the pressure handle decompress(ion) are passed to the user of download in the time of download.Because compressed file will destroy the original file content of source file fully, thereby can not discern by serviced device, and make the file volume littler, thereby saved disk space.The user uploads any file like this, does not all worry safety problem, and the process of not overcompression and decompress(ion) is to need to consume the processor-server resource.
[highlighted display module]
Highlighted display module 212 is in order to the literal or the code of some kinds of fonts of display setting or color in described editing machine.
Usually can see that when writing code developing instrument helped the user that some reserved words are come out with different color marks with note.This processing mode can strengthen the readability of code, and is simultaneously also more attractive in appearance.The present invention has designed the highlighted engine of code and has been placed on server end, for client call.
[language tool module]
Language tool module 213 is in order to realize some language subsidiary functions in described editing machine, as either traditional and simplified characters conversion, phonetic conversion, dictionary unit, Chinese word segmentation unit etc.
Article for reprinting from different sources may need Chinese-traditional is converted to simplified form of Chinese Character; Phonetic conversion may be found answer when the problem that has the people to ask how this word read; The dictionary unit can help the translation of english article; Chinese word segmentation is about to different words with the function that Chinese separates, and can improve reading efficiency.Module in the language tool is handled for pure words when not having related tool, and is very practical.These processing engine are mostly at client JavaScript, and the needing of minority complexity turns back to client after the server process.The present invention has also used many Web Service technology, controls the data transfer between the various computing machine.
[map insert module]
Map insert module 214 is in order to insert cartographic information in described editing machine.
For the study of geography, map is most important instrument.Yet traditional shows that on webpage a map may need to download from the Internet big map, on uploading onto the server behind the intercepting mark again.Along with the arrival in Web2.0 epoch, Google Map, Live Map, Baidu's map, 51ditu or the like online service has appearred on the internet being similar to but.Among the present invention, need the longitude and latitude of user's input position, the input place name is searched for (China beyond place need use English name) or is directly used the mouse drag map from search box.The preview pane on the right will directly show the image of this position behind the chosen position, and the user will carry out convergent-divergent as required, and graph type (communication chart, satellite mapping, satellite map are arranged at present) selectively.Select the size back just can directly insert as other functions, the operation of all-graphic can achieve the goal expeditiously.It's a pity that this function fails to realize the performance propagated easily, cartographic information upgrades according to real-time condition, so this map can not be inserted in the medium except webpage and go.
[temporary module]
One have so many and editing machine sophisticated functions may allow the user statement need spend during information the more time revise repeatedly, finish after issue again.Owing to be to edit on the line, in editing machine, import the content of half and be not easy directly to be saved in disk, next opening continued editor (just as Word), the present invention is directed to therefore that editing machine has newly added temporary module 215 on the line, its have with the similar line of Word on hold function.But this function needs distribution site that user interface is provided, allow editing machine provide container to deposit temporary file for different users, that lists in the tabulation when guaranteeing to open after each user preserves has only the file of preserving oneself in the data in server storehouse last time again.
In sum, editing machine of the present invention can directly be imported Various types of data in editing machine in editor, and click is directly delivered after delivering button, saves a large amount of time, still can continue after the issue to revise.Also write user's input code verifying function for mathematical formulae, the code of user's input has been checked, found wrong prompting in time, and point out alter mode; When the user selects in toolbar and inserts code, can also point out the user what has been imported, the formal name used at school of this symbol has Several Parameters, and how ensuing content information such as imports.This editing machine can make the user express the very strong formula of those academic natures expeditiously in internet exchange, the academic information that symbol, functional image and chart etc. are commonly used.
Embodiment two
Present embodiment is mainly introduced the selection of principle of the present invention and general frame thereof.
Platform: at first need to select a kind of suitable platform.Can be performed by all operations system, exempt to install, conveniently use, low to peripheral environmental factor dependence.
Native system adopts the B/S framework based on browser.This framework may operate in any operating system has been installed and the computing machine of connect to network (specifically being that internet or LAN (Local Area Network) even other types need be seen actual conditions) on, they can conduct interviews by own built-in browser, do not use plug-in unit even smart mobile phone also can use.Table 3 is browser titles that each mainstream operation system is supported:
?? Windows ?? Mac?OSX ?? Mac?OS?9 ?? Linux ?? BSD ?? Unix
?? Amaya Be Be Be Be Be Be
?? Avant?Browser Be Not Not Not Not Not
?? Camino Not Be Not Not Not Not
?? Dillo Not Be Not Be Be Be
?? ELinks Be Be Be Be Be Be
?? Epiphany Not Be Not Be Be Be
?? Flock Be Be Not Be Not Not
?? Galeon Not Be Not Be Be Be
?? iCab Not Be Be Not Not Not
?? Internet?Explorer Be Give up Give up Not Not Give up
?? K-Meleon Be Not Not Not Not Not
?? Konqueror Future Be Not Be Be Be
?? Windows ?? Mac?OSX ?? Mac?OS?9 ?? Linux ?? BSD ?? Unix
?? Links Be Be Be Be Be Be
?? Lynx Be Be Be Be Be Be
?? Maxthon Be Not Not Not Not Not
?? Mosaic(be renamed as Netscape?NavigatorAnd stop to upgrade) Give up Give up Give up Give up Give up Give up
?? Mozilla(having stopped exploitation) Be Be Give up Be Be Be
?? Mozilla?Firefox Be Be Be Be Be Be
?? Netscape Be Be Be Be Not Not
?? Netscape?Browser Be Not Give up Not Not Not
?? Netscape?Navigator?9 Be Be Not Be Not Not
?? OmniWeb Not Be Not Not Not Not
?? Windows ?? Mac?OSX ?? Mac?OS?9 ?? Linux ?? BSD ?? Unix
?? Opera Be Be Give up (6.03) Be Be Be
?? Safari Be Be Not Not Not Not
?? Sleipnir Be Not Not Not Not Not
?? The TheWorld Window on the World Be Not Not Not Not Not
?? WorldWideWeb(only support NEXTSTEP) Not Not Not Not Not Not
?? Windows ?? Mac?OSX ?? Mac?OS?9 ?? Linux ?? BSD ?? Unix
The respective operations system that each browser of table 3-is supported under the situation that need not to simulate
Almost each operating system all can have corresponding browser, and these browsers are supported identical standard.For the designer, write a code and can really operate on a plurality of platforms the needs of this positive compliance with system.The present invention can select wherein any one browser.
The mode of output special content: at first will accomplish to make content displayed to satisfy the academic requirement that exchanges, and can reprint easily, exchange and issue when needing.Though be not subjected to platform constraints substantially by browser display, these contents all present by this carrier of webpage.Webpage also can directly be drawn unlike application program, and be to use the html tag regulation to put in order the content and the form of the page or leaf of throwing the net, unique can be at the JavaScript of client executing (script, because the difference of browser, limitation is also different) a lot of limitation (such as can not had the software support of resolving this script) is also arranged, directly in webpage, present chart and become quite difficult.Place text in the common layer (be<div among the HTML〉label) and symbol can not reach requirement fully, still need solve sometimes, so can not adopt by drawing.And directly in whole image output chart and literal will be a reasonable selection.Below be drawing practice and comparison:
(1) Flash or Sliverlight technology: Flash has 90% popularity rate at present, and Sliverlight is also in implementation.Draw and undertaken by client fully, needn't do by server.As long as by using Flex, or software such as Expression Blend just can programme to it, possesses the function of code drawing fully.Do not have specific question in the design, and can be good at showing.Their demonstration relies on plug-in unit.The software that is similar to Word and so on can't directly duplicate use.
(2) JavaScript: based on the raising of present browser performance and function, directly drawing with JavaScript has also become a kind of selection.External number of site has been issued the JavaScript drawing practice (being write the GPL agreement such as http://www.walterzorn.com by German Walter Zorn) of open source code though the figure line crenellated phenomena is serious, does not influence demonstration fully.This plotting mode does not equally need server to do yet, and without any need for plug-in unit.Second shortcoming of unique shortcoming and Flash is identical, and script can not directly be inserted in the software for composing.
Picture is a modal medium expression way in the webpage, and volume is less and be easy to make.Need not be the easiest enforcement by this method of the situation of plug-in unit and script generally, and spinoff is less, its versatility be also better.
Server process is also inserted in the standard picture mode: the still image of seeing in webpage is normally directly directly passed to the image file in the disk in the browser of client by server, is shown by client browser.When webpage is supported picture, begin this method and always be what generally adopted each website, produce different pictures according to different users, the time, date, and the user's IP address that have comprised this website of user capture as: picture, browser and operating system even, each Accessor Access will see different contents.The user can see corresponding picture in software for composing, just illustrate that this mode can be accepted by other software fully, and board also can be supported even.The free OpenOffice that uses equally also has above-mentioned functions among the Linux.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other forms, structure, layout, ratio, and realize with other elements, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.

Claims (10)

1. the network editor that can import chemical equation and chemical structural formula, described editing machine comprises literal load module, picture load module; It is characterized in that,
Described editing machine in client or/and server carry out;
Described editing machine also comprises the chemical equation load module, in order to input chemical equation information in described editing machine; This chemical equation load module comprises
The second literal input block is in order to import reactant, product, to reach reaction conditions;
Whether the suffix process unit should be subscript in order to the literal of judging described second literal input block input; Should be down target and form form of subseript;
Second picture forms the unit, in order to the reactant of described input, product, reaction conditions, and arrow form picture format.
2. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that:
Described chemical equation load module comprises that also second form preserves the unit, but in order to preserve edit format that described second picture forms the picture that the unit forms in a database, can continue according to the picture of this preservation to revise later on.
3. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that:
Described editing machine also comprises the formula load module, in order to inputting mathematical formula information in described editing machine; This formula load module comprises
The formula input block is in order to import various mathematical formulaes;
Tip element, in order to point out in the process by described formula input block input formula, suggestion content comprises the content format prompting of error message prompting, needs input.
4. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that: described editing machine also comprises temporary storage location, in order to preserve data that content of edit do not issue in the data in server storehouse.
5. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that:
Described editing machine also comprises graphics module, in order to make pictorial information in described editing machine; It comprises
Painting canvas forms the unit, in order to form painting canvas;
Some graphic plottings unit is in order to draw the graphical information of setting;
First picture forms the unit, uses so that the figure of drawing forms picture format;
First form is preserved the unit, but in order to the edit format of preserving picture in database, can continue according to the picture of this preservation to revise later on;
Picture is opened the unit, and in order to open other pictures, described painting canvas forms the unit and form painting canvas on the basis of picture that is opened.
6. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that: described editing machine also comprises the chemical structural formula load module, in order to the input chemical structural formula.
7. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that:
Described editing machine also comprises the functional image load module, in order to the function formation function image information in described editing machine according to input; Described functional image load module comprises
The function input block is in order to input function information;
Coordinate axis forms the unit, in order to the coordinate axis of formation function image;
Image formation unit in order to form the some points or the line of the function correspondence of described input on coordinate axis, forms corresponding functional image according to described some points or line;
Described image formation unit on coordinate axis is the some points or the line of the unit function correspondence that forms described input with the pixel, and these some points or line form corresponding functional image.
8. the network editor of importing chemical equation and chemical structural formula according to claim 1 is characterized in that:
Described editing machine also comprises the chart load module, in order to form chart format according to the data in the form in described editing machine; Described chart load module comprises
The 4th data input cell is in order to the data message in the input form;
The 4th chart forms the unit, in order to according to the data message in the described form, forms chart format;
The 4th form is preserved the unit, but in order to the edit format of preserving chart in database, can continue according to the chart of this preservation to revise later on.
9. network information input editing system, it comprises:
Network editor comprises that described editing machine comprises literal load module, picture load module;
Server, described editing machine partly or entirely is arranged at server, and server is connected with client by network and handles the data message that client sends;
Client, described editing machine partly or entirely is arranged at client, and client is connected with server by network and carries out the code that server sends;
It is characterized in that:
Described editing machine also comprises the chemical equation load module, in order to input chemical equation information in described editing machine; This chemical equation load module comprises
The second literal input block is in order to import reactant, product, to reach reaction conditions;
Whether the suffix process unit should be subscript in order to the literal of judging described second literal input block input; Should be down target and form form of subseript;
Second picture forms the unit, in order to the reactant of described input, product, reaction conditions, and arrow form picture format;
Described chemical equation load module comprises that also second form preserves the unit, but in order to preserve edit format that described second picture forms the picture that the unit forms in a database, can continue according to the picture of this preservation to revise later on.
10. network information input editing system according to claim 9 is characterized in that:
Described editing machine also comprises graphics module, in order to make pictorial information in described editing machine; It comprises
Painting canvas forms the unit, in order to form painting canvas;
Some graphic plottings unit is in order to draw the graphical information of setting;
First picture forms the unit, uses so that the figure of drawing forms picture format;
First form is preserved the unit, but in order to the edit format of preserving picture in database, can continue according to the picture of this preservation to revise later on;
Picture is opened the unit, and in order to open other pictures, described painting canvas forms the unit and form painting canvas on the basis of picture that is opened.
CN201010005362A 2009-01-21 2010-01-15 Network editor capable of inputting chemical equation and chemical structural formula and system Pending CN101770451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010005362A CN101770451A (en) 2009-01-21 2010-01-15 Network editor capable of inputting chemical equation and chemical structural formula and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200920067241.2 2009-01-21
CN201010005362A CN101770451A (en) 2009-01-21 2010-01-15 Network editor capable of inputting chemical equation and chemical structural formula and system

Publications (1)

Publication Number Publication Date
CN101770451A true CN101770451A (en) 2010-07-07

Family

ID=42503318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010005362A Pending CN101770451A (en) 2009-01-21 2010-01-15 Network editor capable of inputting chemical equation and chemical structural formula and system

Country Status (1)

Country Link
CN (1) CN101770451A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393818A (en) * 2011-07-21 2012-03-28 福州锐达数码科技有限公司 Digital function graph drawing method
WO2012083888A1 (en) * 2010-12-24 2012-06-28 北大方正集团有限公司 Method and device for editing organic chemistry structural formula
CN102855230A (en) * 2011-06-30 2013-01-02 北大方正集团有限公司 Method and device for editing organic chemical structural formula
CN102982014A (en) * 2011-09-05 2013-03-20 北大方正集团有限公司 Method and device used for editing organic chemistry structural formula
CN105869448A (en) * 2016-04-22 2016-08-17 广东小天才科技有限公司 Method and device for generating chemistry learning course
CN108388551A (en) * 2018-02-07 2018-08-10 潘新怡 The edit methods of chemical formula and equation, system, storage medium, electronic equipment
CN109658992A (en) * 2018-12-20 2019-04-19 广州市爱菩新医药科技有限公司 A kind of chemical structure method for drafting based on Web
CN115796120A (en) * 2023-02-08 2023-03-14 药融云数字科技(成都)有限公司 Chemical structural formula drawing method, keyboard and terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张滨: "实现Web下公式符号在线操作的可视化编辑器系统的设计", 《计算机科学》 *
李德前: "例谈"公式编辑器"创建化学符号的技巧", 《中国教育技术装备》 *
赵燕娟: "基于MathML的网络数学公式编辑器的研究", 《兰州大学硕士学位论文》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083888A1 (en) * 2010-12-24 2012-06-28 北大方正集团有限公司 Method and device for editing organic chemistry structural formula
CN102855230A (en) * 2011-06-30 2013-01-02 北大方正集团有限公司 Method and device for editing organic chemical structural formula
CN102393818A (en) * 2011-07-21 2012-03-28 福州锐达数码科技有限公司 Digital function graph drawing method
CN102982014A (en) * 2011-09-05 2013-03-20 北大方正集团有限公司 Method and device used for editing organic chemistry structural formula
CN102982014B (en) * 2011-09-05 2016-03-30 北大方正集团有限公司 For editing the method and apparatus of organic chemical structural formula
CN105869448A (en) * 2016-04-22 2016-08-17 广东小天才科技有限公司 Method and device for generating chemistry learning course
CN108388551A (en) * 2018-02-07 2018-08-10 潘新怡 The edit methods of chemical formula and equation, system, storage medium, electronic equipment
CN109658992A (en) * 2018-12-20 2019-04-19 广州市爱菩新医药科技有限公司 A kind of chemical structure method for drafting based on Web
CN115796120A (en) * 2023-02-08 2023-03-14 药融云数字科技(成都)有限公司 Chemical structural formula drawing method, keyboard and terminal
CN115796120B (en) * 2023-02-08 2023-05-02 药融云数字科技(成都)有限公司 Chemical structural formula drawing method, keyboard and terminal

Similar Documents

Publication Publication Date Title
CN101794455B (en) Drawable network editor and network information input editing system
CN101789131B (en) Network editor capable of inputting diagrams and network information input edition system
CN101477697A (en) Network information inputting editor, network information inputting editing system and method
CN101770451A (en) Network editor capable of inputting chemical equation and chemical structural formula and system
US11003422B2 (en) Methods and systems for visual programming using polymorphic, dynamic multi-dimensional structures
CN105103084B (en) Change user interface based on position or speed
CN101777194A (en) Network editor capable of inputting functional images and network information inputting and editing system
CN103136317A (en) Implement method of on-line examination and approval informatization of engineering contracts in engineering management system
Firtman jQuery Mobile: Up and Running: Up and Running
US9881002B1 (en) Content localization
CN102568264A (en) Method and device for generating additional information of e-book contents in reader
Renfro Econometric software: The first fifty years in perspective
US11430163B2 (en) Displaying a chart without rendering entirely obscured markers
CN106294480A (en) A kind of file layout change-over method, device and examination question import system
CN104679453A (en) Information input, storage, typesetting and printing general system and information input, storage, typesetting and printing method
CN110379257A (en) A kind of multilingual cross-platform online code fighting system and method
CN106445439A (en) Method for online exhibiting pictures
CN112445400A (en) Visual graph creating method, device, terminal and computer readable storage medium
KR20140098929A (en) Web-based online e-book publishing method and system using user oriented self publishing tool
CN107229626A (en) A kind of method and system for inserting and checking dynamic content
Martins IPython notebook essentials
Fain et al. Enterprise web development: Building HTML5 applications: from desktop to mobile
Veira-González et al. From artisans to engineers: How technology transformed formats, workflows, teams and the craft of infographics and data visualization in the news
CN109783491B (en) Material product information interaction system used in graphic tool and cloud data
KR101255199B1 (en) Web-based online e-book publishing system using user oriented self publishing tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100707