CN102566875A - Method and device for editing bond in organic chemical structural formula - Google Patents
Method and device for editing bond in organic chemical structural formula Download PDFInfo
- Publication number
- CN102566875A CN102566875A CN2010106219673A CN201010621967A CN102566875A CN 102566875 A CN102566875 A CN 102566875A CN 2010106219673 A CN2010106219673 A CN 2010106219673A CN 201010621967 A CN201010621967 A CN 201010621967A CN 102566875 A CN102566875 A CN 102566875A
- Authority
- CN
- China
- Prior art keywords
- key
- button
- input
- focus
- atom
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention provides a method for editing a bond in an organic chemical structural formula. The method comprises the following steps of: monitoring input from a keyboard; determining a focus on the organic chemical structural formula in an interactive chemical layout interface; and responding to the input according to whether the focus is an atom or bond so as to edit the bond in the organic chemical structural formula. The invention also provides a device for editing a bond in an organic chemical structural formula. The device comprises a monitoring device, a focus module and an editing module, wherein the monitoring module is used for monitoring input from a keyboard; and the focus module is used for determining a focus on the organic chemical structural formula of an interactive chemical layout interface; and the editing module is used for responding to the input according to whether the focus is an atom or a bond so as to edit the bond in the organic chemical structural formula. With the device and the method, the operation efficiency in editing the bond in the organic chemical structural formula is improved.
Description
Technical field
The present invention relates to digital type-setting domain, in particular to the method and apparatus of the key that is used for editing the organic chemistry structural formula.
Background technology
The organic chemistry structural formula is made up of atom and chemical bond.At present in the chemical software for composing of interactive mode; Usually realize the composing of organic chemistry structural formula with the mode that adopts a large amount of control figures interface; This mode requires the user to operate the various controls on the click graphical interfaces, with the chemical bond in editor's (for example create or revise) organic chemistry structural formula.This input mode seems intuitively, but the user thinks to grasp apace but very difficulty, and is difficult to promote its operating speed.
Summary of the invention
The present invention aims to provide a kind of method and apparatus that is used for editing the key of organic chemistry structural formula, with the key that the solves correlation technique editor organic chemistry structural formula problem of difficulty relatively.
In an embodiment of the present invention, a kind of method that is used for editing the key of organic chemistry structural formula is provided, comprising: monitoring is from the input of keyboard; Confirm the focus on the organic chemistry structural formula in the chemical composing of interactive mode interface; According to said focus is atom or key, in response to input with at organic chemistry structural formula inediting key.
In an embodiment of the present invention, a kind of device that is used for editing the key of organic chemistry structural formula is provided, comprising: monitoring module is used to monitor the input from keyboard; Focus module is used for confirming the focus on the organic chemistry structural formula at the chemical composing of interactive mode interface; Editor module, being used for according to said focus is atom or key, in response to input with at organic chemistry structural formula inediting key.
The method and apparatus that is used to edit the organic chemistry structural formula of the above embodiment of the present invention; Because to the executable operation of keyboard input prompt; So solved the relatively more difficult problem of key of correlation technique editor's organic chemistry structural formula, improved the operating efficiency of the key of editor's organic chemistry structural formula.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram of method of key that is used for editing the organic chemistry structural formula according to the embodiment of the invention;
Fig. 2 shows empty according to the preferred embodiment of the invention piece and creates the recommended orientation of chemical bond and the synoptic diagram of corresponding directionkeys;
Fig. 3 shows atom according to the preferred embodiment of the invention and connects the recommended orientation of single chemical bond and the synoptic diagram of corresponding directionkeys;
Fig. 4 shows atom according to the preferred embodiment of the invention and connects the recommended orientation of a plurality of chemical bonds and the synoptic diagram of corresponding directionkeys;
Fig. 5 shows the synoptic diagram of chemical bond type switching according to the preferred embodiment of the invention;
Fig. 6 shows the synoptic diagram of chemical bond type map according to the preferred embodiment of the invention;
Fig. 7 shows the synoptic diagram that direction of passage key is according to the preferred embodiment of the invention created chemical bond continuously;
Fig. 8 shows the schematic representation of apparatus of key that is used for editing the organic chemistry structural formula according to the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing and combine embodiment, specify the present invention.
Fig. 1 shows the process flow diagram of method of key that is used for editing the organic chemistry structural formula according to the embodiment of the invention, comprising:
Step S10, monitoring is from the input of keyboard;
Step S20 confirms the focus on the organic chemistry structural formula in the chemical composing of interactive mode interface;
Step S30 is atom or key according to said focus, in response to input with at organic chemistry structural formula inediting key.
In the existing organic chemistry software for composing, the editor of chemical bond leans on the operation of mouse to accomplish.Mouse action has its limitation, can not satisfy continuous switching and carry out simultaneously with editor.And in the present embodiment, will be from the input of keyboard adjustment operation as editor's chemical bond, the advantage that keyboard operation has mouse action to substitute not is exactly fast, directly, continuously.In interactively chemical software for composing, the operation of keyboard can improve user's efficient greatly, has saved the operation with mouse editor chemical bond, makes things convenient for the user to make the various structures of wanting, and has improved the ease for use and the composing efficient of chemical composing.
In addition, be mapped to keyboard, can remove the various edit controls on the composing interface, saved a large amount of interfacial areas, simultaneously more directly with quick through editing operation with chemical bond.
Need to prove that the bond distance of organic chemistry structural formula can artificially define according to the edit style of document, embodiments of the invention do not limit this.
Preferably, confirm that focus is an atom, step S30 comprises: the key of creating linker atom.
Preferably, if focus (promptly not at atom or chemical bond) on empty chemical block, the key of then creating linker atom comprise following one of at least:
If confirm that input is first button or key combination, it is first direction that key then is set;
If confirm that input is second button or key combination, it is second direction that key then is set;
If confirm that input is the 3rd button or key combination, it is third direction that key then is set;
If confirm that input is the 4th button or key combination, key then be set be the four directions to;
If confirm that input is the 5th button or key combination, it is the 5th direction that key then is set;
If confirm that input is the 6th button or key combination, it is the 6th direction that key then is set;
If confirm that input is the 7th button or key combination, it is the 7th direction that key then is set;
If confirm that input is the 8th button or key combination, key then be set be the from all directions to.
The chemical bond of an atomic energy connection in principle can be not a lot, generally can be above eight.So this preferred embodiment is provided with eight button mappings, is enough to realize the switching of focus from the atom to the chemical bond.
Preferably, first button or key combination comprise " ↑ " button, and first direction is a direct north; Second button or key combination comprise " ↑ " button+" → " button, the clockwise 45 ° of directions of second direction; The 3rd button or key combination comprise " → " button, the clockwise 90 ° of directions of third direction; The 4th button or key combination comprise " → " button+" ↓ " button, and the four directions is to clockwise 135 ° of directions; The 5th button or key combination comprise " ↓ " button, the clockwise 180 ° of directions of the 5th direction; The 6th button or key combination comprise " ↓ " button+" ← " button, the clockwise 225 ° of directions of the 6th direction; The 7th button or key combination comprise " ← " button, the clockwise 270 ° of directions of the 7th direction; The 8th button or key combination comprise " ← " button+" ↑ " button, and all directions is to clockwise 315 ° of directions.
As shown in Figure 2; Under the state of empty chemical block, owing to there is not the tie point can be for reference, the direction of the so new chemical bond of creating just can only be the direction of directionkeys; But the sensing of directionkeys is limited in one's ability, can realize the establishment of 8 directions through the method for key and right and left key cooperation up and down.The direction of other angle can realize through the mode of rotating again after creating.
Through four direction key (also can comprise for example Ctrl of function key) is carried out suitable combination; And according to judgement to focus in the structural formula; Realize creating chemical bond and a kind of method of revising the chemical bond type with directionkeys; Save a large amount of interfacial areas through this method, more directly with quick, improved the ease for use and the composing efficient of chemical composing simultaneously.
Preferably; If atom has a key that is connected; The key of then creating linker atom comprises: comprise in " ↑ " button, " ↑ " button+" → " button, " → " button, " → " button+" ↓ " button, " ↓ " button, " ↓ " button+" ← " button, " ← " button and " ← " button+" ↑ " button if confirm input, immediate one of the direction that key then is set is in 120 °, 180 ° and 240 ° with angle between the key that is connected and definite button is indicated.
As shown in Figure 3, to have only at atom under the situation of a connection chemical bond, the establishment direction of recommendation has three, is 120 ° of angles successively, the direction of 180 ° of angles and 240 ° of angles.It is the most approaching with which directionkeys to calculate coordinates of targets according to these angle gauges, just creates the chemical bond of this direction so by this directionkeys.When by to that directionkeys of not arriving the time, what is not created, and sends to be prompted to the user, and indicating this is a wrong establishment direction.Protracted experience according to the inventor is summed up, and these three angles are angles that the user generally requires to generate chemical bond.In addition, be the direction of operating key but can be provided with recommending the more approaching directionkeys of angle, will create the chemical bond that makes new advances by this directionkeys, by other directionkeys then to no effect, and provide prompting.
Preferably, if atom has a plurality of keys that are connected, the key of then creating linker atom comprises: the direction that key is set is the angle separated time direction of the maximum angle between a plurality of keys that are connected.Protracted experience according to the inventor is summed up, and the angle separated time direction of the preferred embodiment is the direction that the user generally requires to generate chemical bond.
As shown in Figure 4, when the chemical bond of atom connection surpassed two, the direction of the establishment chemical bond of recommending so was exactly the angle separated time of the maximum angle of existing chemical bond.The angle of two existing chemical bonds has two among the figure, and 120 ° and 240 °, the establishment direction of recommending chemical bond so is exactly the angle separated time of 240 ° of angles.And has only a direction.Make it carry out correspondence according to direction with the both direction key.Remaining both direction key is invalid direction.
In the method for implementing embodiment, after creating key, focus is switched to an end that does not have linker atom of the key of establishment.This has made things convenient for creates new chemical bond continuously.As shown in Figure 7, through key up and down alternately, just can create out continuous like this chemical constitution continuously, can also create the more structure of complicacy certainly.
Preferably, confirm that focus is a key, in response to importing to comprise at organic chemistry structural formula inediting key: if confirm that input is first button or key combination, then big type of switch key; If confirm that input is second button or key combination, then the group of switch key; Wherein, big type comprises: retainingf key, two key, three-dimensional key and downward three-dimensional key make progress; Retainingf key comprises following group: singly-bound, triple bond, trans-double bond and quadruple linkage.
Fig. 6 shows the synoptic diagram of chemical bond type map according to the preferred embodiment of the invention.Retainingf key do not have position and form on variation; Two keys are owing to there being locational variation, so separately as one big type.The position such as downward three-dimensional key that makes progress is fixed, but can change on the body, so also be separately one big type.Other key is all divided with this principle.As shown in Figure 5 when focus is chemical bond, directionkeys key up and down is a big class of switching chemical bond, and right and left key is a group of switching chemical bond.
In above-mentioned preferred embodiment, creating and revising the chemical bond type all is that the direction of passage key carries out, and that is to say that same operation has multiple result according to the difference of focus.For example; Focus according to organic structure formula on the current space of a whole page is different; The operation of directionkeys will be different, and when focus was single atom, the operation of direction of passage key was exactly to create new chemical bond; When current focus was single chemical bond, the operation of direction of passage key was exactly a type of changing chemical bond.
Preferably, when big type or the group of switch key, show the effect of switching in advance, when further monitoring, confirm to switch from the 3rd button of keyboard input or key combination.Because some chemical bond is directive, and chemical bond itself does not possess directivity in organic structure, its position is arbitrarily, can remind the user can operating mistake so show in advance.
Fig. 8 shows the schematic representation of apparatus of key that is used for editing the organic chemistry structural formula according to the embodiment of the invention, comprising:
This device has improved the ease for use and the composing efficient of chemical composing.
Preferably, focus module confirms that focus is an atom, and editor module is created the key of linker atom.
Preferably, focus module confirms that focus is a key, and editor module is used for: if confirm that input is first button or key combination, and then big type of switch key; If confirm that input is second button or key combination, then the group of switch key; Wherein, big type comprises: retainingf key, two key, three-dimensional key and downward three-dimensional key make progress; Retainingf key comprises following group: singly-bound, triple bond, trans-double bond and quadruple linkage.
Can find out that from above description the above embodiments of the present invention can strengthen ease for use and the efficient that chemistry is set type, but also have reduced user's learning difficulty.
Obviously; It is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize that they can concentrate on the single calculation element with the general calculation device; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively, they can be realized with the executable program code of calculation element, carried out by calculation element thereby can they be stored in the memory storage; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a method that is used for editing the key of organic chemistry structural formula is characterized in that, comprising:
Monitoring is from the input of keyboard;
Confirm the focus on the organic chemistry structural formula in the chemical composing of interactive mode interface;
According to said focus is atom or key, in response to said input with at said organic chemistry structural formula inediting key.
2. method according to claim 1 is characterized in that, confirms that said focus is an atom, in response to said input to comprise at said organic chemistry structural formula inediting key:
Create the key that connects said atom.
3. method according to claim 2 is characterized in that, if said focus on empty chemical block, then create to connect the key of said atom comprise following one of at least:
If confirm that said input is first button or key combination, it is first direction that said key then is set;
If confirm that said input is second button or key combination, it is second direction that said key then is set;
If confirm that said input is the 3rd button or key combination, it is third direction that said key then is set;
If confirming said input is the 4th button or key combination, said key then be set be the four directions to;
If confirm that said input is the 5th button or key combination, it is the 5th direction that said key then is set;
If confirm that said input is the 6th button or key combination, it is the 6th direction that said key then is set;
If confirm that said input is the 7th button or key combination, it is the 7th direction that said key then is set;
If confirming said input is the 8th button or key combination, said key then be set be the from all directions to.
4. method according to claim 3 is characterized in that,
Said first button or key combination comprise " ↑ " button, and said first direction is a direct north;
Said second button or key combination comprise " ↑ " button+" → " button, the clockwise 45 ° of directions of said second direction;
Said the 3rd button or key combination comprise " → " button, the clockwise 90 ° of directions of said third direction;
Said the 4th button or key combination comprise " → " button+" ↓ " button, and said four directions is to clockwise 135 ° of directions;
Said the 5th button or key combination comprise " ↓ " button, the clockwise 180 ° of directions of said the 5th direction;
Said the 6th button or key combination comprise " ↓ " button+" ← " button, the clockwise 225 ° of directions of said the 6th direction;
Said the 7th button or key combination comprise " ← " button, the clockwise 270 ° of directions of said the 7th direction;
Said the 8th button or key combination comprise " ← " button+" ↑ " button, and said all directions is to clockwise 315 ° of directions.
5. method according to claim 2 is characterized in that, if said atom has a key that is connected, then creates the key that connects said atom and comprises:
Comprise in " ↑ " button, " ↑ " button+" → " button, " → " button, " → " button+" ↓ " button, " ↓ " button, " ↓ " button+" ← " button, " ← " button and " ← " button+" ↑ " button if confirm said input, said key and angle between the said key that is connected then are set are in 120 °, 180 ° and 240 ° and immediate one of the indicated direction of said definite button.
6. method according to claim 2 is characterized in that, if said atom has a plurality of keys that are connected, then creates the key that connects said atom and comprises:
The direction that said key is set is the angle separated time direction of the maximum angle between said a plurality of key that is connected.
7. according to each described method of claim 2-6, it is characterized in that, after creating said key, said focus is switched to an end that does not connect said atom of the key of said establishment.
8. method according to claim 1 is characterized in that, confirms that said focus is a key, in response to said input to comprise at said organic chemistry structural formula inediting key:
If confirm that said input is first button or key combination, then switch big type of said key;
If confirm that said input is second button or key combination, then switch the group of said key;
Wherein, said big type comprise: retainingf key, two key, three-dimensional key and downward three-dimensional key make progress; Said retainingf key comprises following group: singly-bound, triple bond, trans-double bond and quadruple linkage.
9. method according to claim 8 is characterized in that, when switching big type of said key or group, shows the effect of switching in advance, when further monitoring from the 3rd button of keyboard input or key combination, confirms said switching.
10. a device that is used for editing the key of organic chemistry structural formula is characterized in that, comprising:
Monitoring module is used to monitor the input from keyboard;
Focus module is used for confirming the focus on the organic chemistry structural formula at the chemical composing of interactive mode interface;
Editor module, being used for according to said focus is atom or key, in response to said input with at said organic chemistry structural formula inediting key.
11. device according to claim 10 is characterized in that, said focus module confirms that said focus is an atom, and said editor module is created the key that connects said atom.
12. device according to claim 10 is characterized in that, said focus module confirms that said focus is a key, and said editor module is used for:
If confirm that said input is first button or key combination, then switch big type of said key;
If confirm that said input is second button or key combination, then switch the group of said key;
Wherein, said big type comprise: retainingf key, two key, three-dimensional key and downward three-dimensional key make progress; Said retainingf key comprises following group: singly-bound, triple bond, trans-double bond and quadruple linkage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106219673A CN102566875A (en) | 2010-12-24 | 2010-12-24 | Method and device for editing bond in organic chemical structural formula |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106219673A CN102566875A (en) | 2010-12-24 | 2010-12-24 | Method and device for editing bond in organic chemical structural formula |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102566875A true CN102566875A (en) | 2012-07-11 |
Family
ID=46412431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106219673A Pending CN102566875A (en) | 2010-12-24 | 2010-12-24 | Method and device for editing bond in organic chemical structural formula |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102566875A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111630605A (en) * | 2018-01-30 | 2020-09-04 | 珀金埃尔默信息学有限公司 | Context-aware virtual keyboard for chemical structure rendering applications |
CN115796120A (en) * | 2023-02-08 | 2023-03-14 | 药融云数字科技(成都)有限公司 | Chemical structural formula drawing method, keyboard and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1164689A (en) * | 1994-03-14 | 1997-11-12 | 刘向东 | Computer input method for Chinese characters' sound pattern meaning based on word and Chinese-Spanish compatible keyboard |
CN101261540A (en) * | 2007-03-05 | 2008-09-10 | 赵宝璋 | Chinese characters phonetic rapid-inputting method suitable for expert inputer or ordinary person |
-
2010
- 2010-12-24 CN CN2010106219673A patent/CN102566875A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1164689A (en) * | 1994-03-14 | 1997-11-12 | 刘向东 | Computer input method for Chinese characters' sound pattern meaning based on word and Chinese-Spanish compatible keyboard |
CN101261540A (en) * | 2007-03-05 | 2008-09-10 | 赵宝璋 | Chinese characters phonetic rapid-inputting method suitable for expert inputer or ordinary person |
Non-Patent Citations (1)
Title |
---|
蔡文生等: "有机结构的二维图形输入法", 《化学通报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111630605A (en) * | 2018-01-30 | 2020-09-04 | 珀金埃尔默信息学有限公司 | Context-aware virtual keyboard for chemical structure rendering applications |
CN111630605B (en) * | 2018-01-30 | 2024-04-16 | 珀金埃尔默信息学有限公司 | Context-aware virtual keyboard for chemical structure drawing applications |
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 |
---|---|---|
CN103092342B (en) | Processing method and device of mobile terminal | |
CN102729476B (en) | Controlling method for stereo-prototyping mechanism | |
CN103677721B (en) | Terminal demonstration interface is carried out to method and the terminal device of convergent-divergent | |
CN108805885A (en) | Plot dividing method and terminal, flight course planning method and mobile device control method | |
CN102339123A (en) | Method for controlling vibration according to contact area | |
CN109955928A (en) | A kind of biped robot and its equivalent orbit generation method and device | |
CN103309461A (en) | Wireless one-to-many controlling method and device | |
CN102436381A (en) | Method and device for generating interface layout | |
TW200925812A (en) | Method of planning path for curved surface cutting process based on global optimization | |
CN103207691B (en) | A kind of operational order generates method and a kind of electronic equipment | |
CN102566875A (en) | Method and device for editing bond in organic chemical structural formula | |
CN106293127B (en) | For the array input method and system in three-dimensional space | |
CN106354354A (en) | Control method and control device for capacitive touch screen as well as terminal equipment | |
CN102929558B (en) | Single-hand control device and method for touch screen equipment | |
CN106293485B (en) | A kind of terminal control method and device based on touch track | |
CN208506542U (en) | A kind of AGV controller I/O port multiplexing configuration system | |
CN103049208A (en) | Method, device and mobile terminal for customizing rapid touch operation | |
CN104216603B (en) | A kind of display methods and electronic equipment | |
CN101976190A (en) | DirectUI based interface generating system and method | |
CN101221690A (en) | Intelligent remote controller | |
CN108429630A (en) | A kind of simulated panel map generalization method and apparatus of quantum devices | |
CN102566876B (en) | Method and device for switching focus of organic chemical structural formula | |
CN203338275U (en) | Touch screen type pure water equipment | |
CN102778963A (en) | Mouse and mouse-based method for realizing switching of operation modes | |
CN102541423A (en) | Method and device for compiling organic chemical structural formulas |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120711 |