CN102982014A - Method and device used for editing organic chemistry structural formula - Google Patents

Method and device used for editing organic chemistry structural formula Download PDF

Info

Publication number
CN102982014A
CN102982014A CN2011102606972A CN201110260697A CN102982014A CN 102982014 A CN102982014 A CN 102982014A CN 2011102606972 A CN2011102606972 A CN 2011102606972A CN 201110260697 A CN201110260697 A CN 201110260697A CN 102982014 A CN102982014 A CN 102982014A
Authority
CN
China
Prior art keywords
organic chemistry
color dot
selected state
click location
focus
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
CN2011102606972A
Other languages
Chinese (zh)
Other versions
CN102982014B (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.)
BEIJING BEIDA FOUNDER ELECTRONICS Co Ltd
New Founder Holdings Development Co ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201110260697.2A priority Critical patent/CN102982014B/en
Publication of CN102982014A publication Critical patent/CN102982014A/en
Application granted granted Critical
Publication of CN102982014B publication Critical patent/CN102982014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method used for editing organic chemistry structural formulas. The method used for editing the organic chemistry structural formulas includes the steps of monitoring clicks from a mouse, confirming the clicking position is the object less position of an organic chemistry block in a focus state in an interactive chemistry typesetting interface, setting the clicking position in a selected state and displaying a colored point if the organic chemistry block does not have a focus. The invention provides a device used for editing organic chemistry structural formulas. The device used for editing the organic chemistry structural formulas comprises a monitoring module which is used for monitoring clicks from a mouse. A confirming module which is used for confirming the clicking position is the object less position of the organic chemistry block in a focus state in an interactive chemistry typesetting interface. And a colored point module used for setting the clicking position in a selected state and displaying a colored point if the organic chemistry block does not have a focus. Operating efficiency of editing the organic chemistry structural formula is improved by the method and the device used for editing the organic chemistry structural formula.

Description

The method and apparatus that is used for editor's organic chemistry structural formula
Technical field
The present invention relates to digital type-setting domain, in particular to the method and apparatus that is used for editor's organic chemistry structural formula.
Background technology
In the chemical software for composing of interactive mode, the organic chemistry content often exists in the mode of piece at present, the composing that usually realizes the organic chemistry structural formula with mode or the chemical box in the insertion word flow of chemical block.
Selected state to the organic chemistry piece defines, and is used as the criteria for classification of state according to the difference of the content of choosing, and can be defined as: empty bulk state, monatomic (or atomic group) state, single chemical bond state, multiselect state.Fig. 1-Fig. 3 shows the synoptic diagram according to the selected state type of the organic chemistry piece of correlation technique.That choose as shown in Figure 1, is single atomic group CH 3, be monatomic bulk attitude.As shown in Figure 2, what choose is single chemical bond, is single chemical bond state.As shown in Figure 3, what choose is a plurality of chemical bonds, is the multiselect state.
The interactive chemical software for composing of correlation technique all provides corresponding one group of operation and function to above every kind of state in the composing interface, and the operation of various selected states and function are differentiated.Yet the inventor finds that correlation technique provides suitable method of operating not to choosing the type of the empty position (position that does not namely have object) in the organic chemistry piece.
Summary of the invention
The present invention aims to provide a kind of method and apparatus for editor's organic chemistry structural formula, compares hard problem with the operation that solves correlation technique editor organic chemistry structural formula.
In an embodiment of the present invention, provide a kind of method for editor's organic chemistry structural formula, may further comprise the steps: monitoring is from the click of mouse; Determine that click location is the position without object that is in the interactive chemical composing interface in the organic chemistry piece of focus condition; If without focus, then click location is set to selected state in the organic chemistry piece, and be shown as color dot.
In an embodiment of the present invention, provide a kind of device for editor's organic chemistry structural formula, having comprised: monitoring module is used for monitoring from the click of mouse; Determination module be used for to determine that click location is that interactive chemical composing interface is in the position without object in the organic chemistry piece of focus condition; Coloured point module, if be used for the organic chemistry piece without focus, then click location is set to selected state, and has been shown as color dot.
The method and apparatus that is used for editor's organic chemistry structural formula of the above embodiment of the present invention, because for choosing the empty position in the organic chemistry piece that exercisable scheme is provided, compare hard problem so solved the operation of correlation technique editor's organic chemistry structural formula, improved the operating efficiency of editor's organic chemistry structural formula.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1-Fig. 3 shows the synoptic diagram according to the selected state type of the organic chemistry piece of correlation technique;
Fig. 4 shows the process flow diagram according to the method that is used for editor's organic chemistry structural formula of the embodiment of the invention;
Fig. 5 shows the synoptic diagram according to the selected state of the embodiment of the invention;
Fig. 6 shows the according to another embodiment of the present invention synoptic diagram of selected state;
Fig. 7 shows the synoptic diagram that creates plus sige among the embodiment of Fig. 6;
Fig. 8 shows the synoptic diagram that creates the reaction arrow among the embodiment of Fig. 6;
Fig. 9 shows the synoptic diagram that creates atom or atomic tag among the embodiment of Fig. 6;
Figure 10 shows the synoptic diagram that creates a plurality of objects among the embodiment of Fig. 6;
Figure 11 shows the synoptic diagram according to the device that is used for editor's organic chemistry structural formula of the embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 4 shows the process flow diagram according to the method that is used for editor's organic chemistry structural formula of the embodiment of the invention, may further comprise the steps:
Step S10, monitoring is from the click of mouse;
Step S20 determines that click location is the position without object that is in the interactive chemical composing interface in the organic chemistry piece of focus condition;
Step S30, if in the organic chemistry piece without focus, then click location is set to selected state, and has been shown as color dot.
Correlation technique provides suitable method of operating not to choosing the type of the empty position (position that does not namely have object) in the organic chemistry piece.And in the present embodiment, to the position that mouse is clicked judge judge whether vitochemical object (atom, chemical bond etc.), if there is no any object are arranged on the mouse position, the position of then upgrading current click is selected state, thereby various operations can be provided.Present embodiment more is conducive to the fast operating that uses keyboard to set type, because keyboard itself does not possess the ability of intended target point, but keyboard operation can utilize color dot to realize fast station-keeping ability.
Fig. 5 shows the synoptic diagram according to the selected state of the embodiment of the invention, and mouse is clicked white space on the right, and then click location is set to selected state, and is shown as red point.Need to prove that because the cause of publishing, accompanying drawing is shown as black with red point.In an embodiment of the present invention, realize that with red point this has color dot, and this selected state be called red dotted state that this operation can be described as red point operation.This red point operation is applicable to the organic chemistry of piece formula and sets type, and especially suitable form with plug-in unit is integrated in the middle of other softwares for composing.
Red point operation can save the operation tool that needs the location, can adopt the mode of button to produce the content of wanting.So just avoid complicated tool design, shortened the development time, also saved the layout space simultaneously.
Preferably, this method also comprises: if the organic chemistry piece at click location place is not in the focus condition, then ignore this click.If the organic chemistry piece at click location place is not in the focus condition, can think that then the user does not plan this organic chemistry piece is carried out any operation, it may be maloperation that current mouse is clicked, and by ignoring this click, thereby can eliminate user's maloperation.
Preferably, this method also comprises: when having focus in the chemical composing of the interactive mode interface, then to click location cancellation selection mode, and be concealed with color dot; When clicking when the focus disappearance and without new mouse, then click location is set to selected state again, and again shows color dot.It is mutual exclusion that red point operation and the vitochemical space of a whole page are chosen focus, this preferred embodiment is so that only when the organic chemistry piece is without any selected object, red point just can occur, and has so just avoided the conflict with other operation, avoided the ambiguity operation, made operation logic become simpler.Be conducive to suitable user and adapt to rapidly this operation, reduce learning time.
Preferably, this method also comprises: if had color dot in the organic chemistry piece, what then cancellation had existed has color dot and a canceling position selected state that color dot is arranged to having existed.This has realized the uniqueness of red point, and in current organic chemistry piece, can only there be one in red point, prevents that operation from producing ambiguity.
Preferably, this method also comprises: allow the user to create chemical object in the mode of keyboard and/or mouse action in click location, such as setting up atom, chemical bond, label, plus sige, reaction arrow etc.; The chemical object that establishment is set is selected state, and cancellation has color dot, and to click location cancellation selected state.This preferred embodiment makes the discrete structure organic structure possibility that becomes, and has realized the content splicing that piece formula organic chemistry is set type, and can reduce the quantity of the Control Tool by red point operation, reduces development difficulty, has improved piece formula chemistry editor's mutual and ability to express.Improve ease for use and the composing efficient of chemical composing, also improved composing speed and the efficient of organic chemistry structural formula simultaneously.
Fig. 6 shows the according to another embodiment of the present invention synoptic diagram of selected state; Fig. 7 shows the synoptic diagram that creates plus sige among the embodiment of Fig. 6; Fig. 8 shows the synoptic diagram that creates the reaction arrow among the embodiment of Fig. 6; Fig. 9 shows the synoptic diagram that creates atom or atomic tag among the embodiment of Fig. 6; Figure 10 shows the synoptic diagram that creates a plurality of objects among the embodiment of Fig. 6.As shown in the figure, be the red dotted state of the chemical structural formula of Cefixime, can create in the position of red some the object of various needs, for example plus sige, reaction arrow, atom or atomic tag, a plurality of objects etc.
Figure 11 shows the synoptic diagram according to the device that is used for editor's organic chemistry structural formula of the embodiment of the invention, comprising:
Monitoring module 10 is used for monitoring from the click of mouse;
Determination module 20 be used for to determine that click location is that interactive chemical composing interface is in the position without object in the organic chemistry piece of focus condition;
Coloured point module 30, if be used for the organic chemistry piece without focus, then click location is set to selected state, and has been shown as color dot.
Preferably, this device also comprises: ignore module, be not in focus condition if be used for the organic chemistry piece at click location place, then ignore click.
Preferably, this device also comprises: hide module, be used for when interactive chemical composing interface has focus, then to click location cancellation selection mode, and be concealed with color dot; Display module is used for disappearing and during without new mouse click, then click location is set to selected state again, and again shows color dot when focus.
Preferably, this device also comprises: update module, had color dot if be used for the organic chemistry piece, and then cancellation has existed color dot and the canceling position selected state that color dot is arranged to having existed.
Preferably, this device also comprises: creation module is used for allowing the user to create chemical object in the mode of keyboard and/or mouse action in click location; Shift module is selected state for the chemical object that establishment is set, and cancellation has color dot, and to click location cancellation selected state.
As can be seen from the above description, the present invention has realized a kind of new operation of choosing type, this is that it has solved the problem that keyboard can't be located to quick operating a kind of replenish of keyboard, a large amount of again composing of also having avoided that mouse action brings simultaneously and the efficiency that causes.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, 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 the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method that is used for editor's organic chemistry structural formula is characterized in that, may further comprise the steps:
Monitoring is from the click of mouse;
Determine that click location is the position without object that is in the interactive chemical composing interface in the organic chemistry piece of focus condition;
If without focus, then described click location is set to selected state in the described organic chemistry piece, and has been shown as color dot.
2. method according to claim 1 is characterized in that, also comprises:
If the organic chemistry piece at described click location place is not in the focus condition, then ignore described click.
3. method according to claim 1 is characterized in that, also comprises:
When having focus in the chemical composing of the described interactive mode interface, then to described click location cancellation selection mode, and hide described coloured point;
When clicking when described focus disappearance and without new mouse, then described click location is set to selected state again, and again shows the described color dot that has.
4. method according to claim 1 is characterized in that, also comprises:
If had color dot in the described organic chemistry piece, then cancel described existed color dot arranged, and to the described canceling position selected state that color dot is arranged that has existed.
5. according to claim 1 to 4 each described methods, it is characterized in that, also comprise:
Allow the user to create chemical object in the mode of keyboard and/or mouse action in described click location;
The chemical object that described establishment is set is selected state, cancels the described color dot that has, and to described click location cancellation selected state.
6. a device that is used for editor's organic chemistry structural formula is characterized in that, comprising:
Monitoring module is used for monitoring from the click of mouse;
Determination module be used for to determine that click location is that interactive chemical composing interface is in the position without object in the organic chemistry piece of focus condition;
Coloured point module, if be used for described organic chemistry piece without focus, then described click location is set to selected state, and has been shown as color dot.
7. device according to claim 6 is characterized in that, also comprises:
Ignore module, be not in focus condition if be used for the organic chemistry piece at described click location place, then ignore described click.
8. device according to claim 6 is characterized in that, also comprises:
Hide module, be used for when the chemical composing of described interactive mode interface has focus, then to described click location cancellation selection mode, and hide described coloured point;
Display module is used for disappearing and during without new mouse click, then described click location is set to selected state again, and again shows the described color dot that has when described focus.
9. device according to claim 6 is characterized in that, also comprises:
Update module has had color dot if be used for described organic chemistry piece, then cancel described existed color dot arranged, and to the described canceling position selected state that color dot is arranged that has existed.
10. according to claim 6 to 9 each described devices, it is characterized in that, also comprise:
Creation module is used for allowing the user to create chemical object in the mode of keyboard and/or mouse action in described click location;
Shift module is selected state for the chemical object that described establishment is set, and cancels the described color dot that has, and to described click location cancellation selected state.
CN201110260697.2A 2011-09-05 2011-09-05 For editing the method and apparatus of organic chemical structural formula Active CN102982014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110260697.2A CN102982014B (en) 2011-09-05 2011-09-05 For editing the method and apparatus of organic chemical structural formula

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110260697.2A CN102982014B (en) 2011-09-05 2011-09-05 For editing the method and apparatus of organic chemical structural formula

Publications (2)

Publication Number Publication Date
CN102982014A true CN102982014A (en) 2013-03-20
CN102982014B CN102982014B (en) 2016-03-30

Family

ID=47856055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110260697.2A Active CN102982014B (en) 2011-09-05 2011-09-05 For editing the method and apparatus of organic chemical structural formula

Country Status (1)

Country Link
CN (1) CN102982014B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448409A2 (en) * 1990-03-23 1991-09-25 Xerox Corporation Computer-aided chemical illustration system
CN101770451A (en) * 2009-01-21 2010-07-07 施昊 Network editor capable of inputting chemical equation and chemical structural formula and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0448409A2 (en) * 1990-03-23 1991-09-25 Xerox Corporation Computer-aided chemical illustration system
CN101770451A (en) * 2009-01-21 2010-07-07 施昊 Network editor capable of inputting chemical equation and chemical structural formula and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡立江等: "《精通ChemDraw》", 30 April 2002, 清华大学出版社 *

Also Published As

Publication number Publication date
CN102982014B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US20140289641A1 (en) Adaptive User Interface
CN101253478A (en) Type inference and type-directed late binding
Hamon et al. Formal description of multi-touch interactions
CN104685466A (en) Browser-level background page for providing multiple views
US9063742B1 (en) Version histories for multiple portions of program code
CN102054217A (en) Entity morphing in metamodel-based tools
CN102541566A (en) Method for generating interface frameworks of semiconductor software
CN106502709B (en) Applied business reminding method and applied business suggestion device
CN106843887A (en) A kind of implementation method of embedded customized development platform automatic creation system
CN102880382B (en) Interface display system, method and equipment
CN107491311B (en) Method and system for generating page file and computer equipment
CN103218425A (en) Method and device for processing browser extension items
CN102541544A (en) Method, device and system for processing tree control
CN105446788B (en) A kind of information processing method and electronic equipment
CN102982014A (en) Method and device used for editing organic chemistry structural formula
CN101685395A (en) Object property processing method of product data management system
CN103473103A (en) Method and device for arranging icons of mobile terminal
Bartelt et al. Collaborative Creativity: From Hand Drawn Sketches to Formal Domain Specific Models and Back Again.
Martin et al. A reconfigurable architecture for multimodal and collaborative interactions in Virtual Environments
Starr et al. Models to Code
CN104407853A (en) Method for realizing TABLE multi-line simultaneous edition
Khan et al. A heuristic-based approach to refactor crosscutting behaviors in uml state machines
CN106055225A (en) Method, terminal and server for control piece display
Leivant Functions over free algebras definable in the simply typed lambda calculus
CN106022022B (en) A kind of method and terminal of terminal unlocking

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
TR01 Transfer of patent right

Effective date of registration: 20220617

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: Beijing Beida Founder Electronics Co., Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: Beijing Beida Founder Electronics Co., Ltd.

TR01 Transfer of patent right