CN109658992A - A kind of chemical structure method for drafting based on Web - Google Patents

A kind of chemical structure method for drafting based on Web Download PDF

Info

Publication number
CN109658992A
CN109658992A CN201811564979.XA CN201811564979A CN109658992A CN 109658992 A CN109658992 A CN 109658992A CN 201811564979 A CN201811564979 A CN 201811564979A CN 109658992 A CN109658992 A CN 109658992A
Authority
CN
China
Prior art keywords
chemical structure
web
drafting
painting canvas
chemical
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
CN201811564979.XA
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.)
Guangzhou City Love New Pu Pharmaceutical Technology Co Ltd
Original Assignee
Guangzhou City Love New Pu Pharmaceutical Technology 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 Guangzhou City Love New Pu Pharmaceutical Technology Co Ltd filed Critical Guangzhou City Love New Pu Pharmaceutical Technology Co Ltd
Priority to CN201811564979.XA priority Critical patent/CN109658992A/en
Publication of CN109658992A publication Critical patent/CN109658992A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Abstract

The invention discloses a kind of chemical structure method for drafting based on Web, includes the following steps, 1) painting canvas of the building based on web;2) user carries out drafting movement using painting canvas;3) all draftings movement for capturing user, is converted into the image of chemical structure and is rendered on painting canvas;4) the chemical structure image shown on painting canvas is exported.Painting canvas is constructed based on web, can apply to browser, applied widely, easy to use, the 3D chemical structure picture that the corresponding figure for generating chemical structure renders is more specific to the three-dimensional expression of chemical structure, accurate.

Description

A kind of chemical structure method for drafting based on Web
Technical field
The present invention relates to the methods drawn for chemical structure, and in particular to a kind of chemical structure drafting side based on Web Method.
Background technique
Then existing chemical structure drawing program is passed through generally as control by exporting chemical structural formula in painting canvas The database of foundation carries out the comparison screening of chemical structural formula, shows the higher screening structure of similarity, finally output chemistry knot Structure formula, this chemical structure drafting are limited to platform, need to want to use on specific platform.Therefore, it needs a kind of based on Web's Chemical structure method for drafting.
Summary of the invention
The purpose of the present invention is to solve disadvantages existing in the prior art, and propose a kind of chemistry knot based on Web Structure method for drafting.
To achieve the above object, the invention provides the following technical scheme: a kind of chemical structure method for drafting based on Web, Include the following steps,
1) painting canvas based on web is constructed;
2) user carries out drafting movement using painting canvas;
3) all draftings movement for capturing user, is converted into the image of chemical structure and is rendered on painting canvas;
4) the chemical structure image shown on painting canvas is exported.
Preferably, the painting canvas in step 1) is constructed using javascript language.
Preferably, the painting canvas in step 1) includes chemical element module and drafting operation module;The chemical element Module is used to draw the chemical bond between corresponding chemical element and chemical element;The drafting operation module is for when drawing It is newly-built, save, eliminate, previous step and operating in next step.
Preferably, step 3) image uses chemical structure criterion of rationality to the chemical structure of drafting after painting canvas has rendered It is assessed, and shows assessment result.
Preferably, when assessing chemical structure, assessment atom forms the quantity of covalent bond.
Preferably, the chemical structure image export format shown on painting canvas described in step 4) is MDL, MOL or SMILE lattice Formula.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
Painting canvas is constructed based on web, can apply to browser, it is applied widely, it is easy to use, corresponding generation chemical structure The 3D chemical structure picture that figure renders is more specific to the three-dimensional expression of chemical structure, accurate.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with the embodiment of the present invention, it is clear that retouched The embodiment stated is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, originally Field those of ordinary skill every other embodiment obtained without making creative work, belongs to the present invention The range of protection.
A kind of chemical structure method for drafting based on Web, includes the following steps,
1) painting canvas based on web is constructed;
2) user carries out drafting movement using painting canvas;
3) all draftings movement for capturing user, is converted into the image of chemical structure and is rendered on painting canvas;
4) the chemical structure image shown on painting canvas is exported.
Working principle: painting canvas is constructed based on web, chemical structure is drawn on painting canvas, is directly inputted on a web browser, is passed through Drafting movement of the user on painting canvas is captured, the corresponding figure for generating chemical structure renders the 3D chemistry knot convenient for intuitivism apprehension Composition piece, the picture after finally export rendering.
The painting canvas in step 1) is constructed using javascript language.
Javascript language is a kind of scripting language of explanation type, since javascript is in the Shi Buyan of variable declarations Lattice distinguish data type, and design is simple and compact, and javascript language can add different data types in an array, The cross-platform use of energy, it is applied widely, while javascript language uses event driven scripting language as a kind of, is not required to Will by web server can the input of user respond, can be reduced the burden of server, with the matching degree of browser compared with It is high.
The painting canvas in step 1) includes chemical element module and drafting operation module;The chemical element module is used for Draw the chemical bond between corresponding chemical element and chemical element;It is described draw operation module be used for when drawing it is newly-built, It saves, eliminate, previous step and next step operate.
Painting canvas includes the chemically drafting of element, the drafting of chemical bond and corresponding drafting movement.
Step 3) image comments the chemical structure of drafting using chemical structure criterion of rationality after painting canvas has rendered Estimate, and shows assessment result.
It is assessed after having rendered using chemical structure criterion of rationality, whether verifying chemical structure is correct, due to changing The image for learning structure is completed according to the capture of drafting movement, can be acted when assessment and be verified by drafting.Chemistry knot Structure criterion of rationality is the chemistry in the prior art, such as the Molgen graphics software and Assemble graphics software of the prior art Reasonable structure standard.
When assessing chemical structure, assessment atom forms the quantity of covalent bond.
, can whether correct with accurate evaluation chemical structure by the covalent bond quantity in analytical chemistry structure.Such as carbon is former Son should be there are four covalent bond in chemical structure, and double bond is scaled two covalent bonds, when the covalent bond of assessment carbon atom is not When being four, then chemical structure mistake.
The chemical structure image export format shown on painting canvas described in step 4) is MDL, MOL or SMILE format.
MDL, MOL and SMILE can be suitably used for most visualization molecular structure softwares at present, can read and render its description Structure.
Finally, it should be noted that these are only the preferred embodiment of the present invention, it is not intended to restrict the invention, although Present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features, it is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (6)

1. a kind of chemical structure method for drafting based on Web, which is characterized in that include the following steps,
1) painting canvas based on web is constructed;
2) user carries out drafting movement using painting canvas;
3) all draftings movement for capturing user, is converted into the image of chemical structure and is rendered on painting canvas;
4) the chemical structure image shown on painting canvas is exported.
2. the chemical structure method for drafting according to claim 1 based on Web, which is characterized in that described in step 1) Painting canvas is constructed using javascript language.
3. the chemical structure method for drafting according to claim 1 based on Web, which is characterized in that described in step 1) Painting canvas includes chemical element module and drafting operation module;The chemical element module for draw corresponding chemical element and Chemical bond between chemical element;It is described draw operation module be used for when drawing it is newly-built, save, eliminate, previous step and next Step operation.
4. the chemical structure method for drafting according to claim 1 based on Web, which is characterized in that step 3) image is being drawn Cloth assesses the chemical structure of drafting using chemical structure criterion of rationality after having rendered, and shows assessment result.
5. the chemical structure method for drafting according to claim 4 based on Web, which is characterized in that carried out to chemical structure When assessment, assessment atom forms the quantity of covalent bond.
6. the chemical structure method for drafting according to claim 1 based on Web, which is characterized in that drawn described in step 4) The chemical structure image export format shown on cloth is MDL, MOL or SMILE format.
CN201811564979.XA 2018-12-20 2018-12-20 A kind of chemical structure method for drafting based on Web Pending CN109658992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811564979.XA CN109658992A (en) 2018-12-20 2018-12-20 A kind of chemical structure method for drafting based on Web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811564979.XA CN109658992A (en) 2018-12-20 2018-12-20 A kind of chemical structure method for drafting based on Web

Publications (1)

Publication Number Publication Date
CN109658992A true CN109658992A (en) 2019-04-19

Family

ID=66115239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811564979.XA Pending CN109658992A (en) 2018-12-20 2018-12-20 A kind of chemical structure method for drafting based on Web

Country Status (1)

Country Link
CN (1) CN109658992A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111192641A (en) * 2019-12-20 2020-05-22 深圳晶泰科技有限公司 System and method for user interaction in complex web 3D scene
WO2021004020A1 (en) * 2019-12-20 2021-01-14 深圳晶泰科技有限公司 System and method for use in user interaction in complex web3d scene
CN113066538A (en) * 2021-03-19 2021-07-02 福建天晴数码有限公司 Modeling method and system for micro chemical molecular formula and macromolecular protein based on 3D

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090069111A (en) * 2007-12-24 2009-06-29 엔에이치엔(주) Method, system and computer-readable recording medium for performing web search based on image information
CN101770451A (en) * 2009-01-21 2010-07-07 施昊 Network editor capable of inputting chemical equation and chemical structural formula and system
CN103425477A (en) * 2012-05-25 2013-12-04 张健 Method and system for drawing chemical micro molecules on Web based on Java Script
CN104169920A (en) * 2012-02-24 2014-11-26 剑桥软件公司 Systems, methods, and apparatus for drawing chemical structures by using touch and gestures
CN105279253A (en) * 2015-10-13 2016-01-27 上海联彤网络通讯技术有限公司 System and method for increasing canvas rendering speed of webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090069111A (en) * 2007-12-24 2009-06-29 엔에이치엔(주) Method, system and computer-readable recording medium for performing web search based on image information
CN101770451A (en) * 2009-01-21 2010-07-07 施昊 Network editor capable of inputting chemical equation and chemical structural formula and system
CN104169920A (en) * 2012-02-24 2014-11-26 剑桥软件公司 Systems, methods, and apparatus for drawing chemical structures by using touch and gestures
CN103425477A (en) * 2012-05-25 2013-12-04 张健 Method and system for drawing chemical micro molecules on Web based on Java Script
CN105279253A (en) * 2015-10-13 2016-01-27 上海联彤网络通讯技术有限公司 System and method for increasing canvas rendering speed of webpage

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111192641A (en) * 2019-12-20 2020-05-22 深圳晶泰科技有限公司 System and method for user interaction in complex web 3D scene
WO2021004020A1 (en) * 2019-12-20 2021-01-14 深圳晶泰科技有限公司 System and method for use in user interaction in complex web3d scene
US11562549B2 (en) 2019-12-20 2023-01-24 Shenzhen Jingtai Technology Co., Ltd. System and method for user interaction in complex web 3D scenes
CN111192641B (en) * 2019-12-20 2023-06-23 深圳晶泰科技有限公司 System and method for user interaction in complex web 3D scene
CN113066538A (en) * 2021-03-19 2021-07-02 福建天晴数码有限公司 Modeling method and system for micro chemical molecular formula and macromolecular protein based on 3D
CN113066538B (en) * 2021-03-19 2023-11-10 福建天晴数码有限公司 Modeling method and system for microscopic chemical molecular formula and macromolecular protein based on 3D

Similar Documents

Publication Publication Date Title
CN109658992A (en) A kind of chemical structure method for drafting based on Web
CN103377119B (en) A kind of non-standard control automated testing method and device
CN103838437A (en) Touch positioning control method based on projection image
KR20010041944A (en) Object oriented method of structuring a software step program
CN104457566A (en) Spatial positioning method not needing teaching robot system
CN109493400A (en) Handwriting samples generation method, device, computer equipment and storage medium
CN110385719A (en) Robot judges whether to collide the method for virtual wall and chip and intelligent robot
CN104858852B (en) Humanoid robot imitates optimization and the constrained procedure of human upper limb action in real time
CN105607902A (en) Component model based system visualization design and code generation system and method
CN111857470A (en) Unattended control method and device for production equipment and controller
JP2007200082A (en) Method, system and program for evaluating assemblability
CN113312129B (en) Software operation flow automatic robot method, system, device and medium
CN100373386C (en) Real-time drawing and confirming method for workpiece pattern of bender digital control system
CN114029952A (en) Robot operation control method, device and system
CN105653460A (en) Method and system for recording and playback of man-machine interface testing actions of touch screen product
CN114603599A (en) Robot collision detection method and device, computer equipment and storage medium
CN105291656A (en) Curve surveying instrument, drawing method and measuring method
CN103529999B (en) A kind of detection method of touch-screen
CN106041966A (en) Robot teaching action control method and robot teaching action control device
CN206733007U (en) Robot Adaptable System
Syschikov et al. Visual development environment for OpenVX
CN113420753B (en) Method and device for generating target object frame selection area
CN205651842U (en) Curve surveying instrument
CN104469164A (en) Image collecting device, image collecting module and image processing method
WO2023044676A1 (en) Control method for multiple robots working cooperatively, system and robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20190419