[go: up one dir, main page]

CN113157790B - Nuclear fusion curve editing method, system, terminal and medium - Google Patents

Nuclear fusion curve editing method, system, terminal and medium Download PDF

Info

Publication number
CN113157790B
CN113157790B CN202110423513.3A CN202110423513A CN113157790B CN 113157790 B CN113157790 B CN 113157790B CN 202110423513 A CN202110423513 A CN 202110423513A CN 113157790 B CN113157790 B CN 113157790B
Authority
CN
China
Prior art keywords
curve
editing
information
database
nuclear fusion
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.)
Active
Application number
CN202110423513.3A
Other languages
Chinese (zh)
Other versions
CN113157790A (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.)
Southwestern Institute of Physics
Original Assignee
Southwestern Institute of Physics
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 Southwestern Institute of Physics filed Critical Southwestern Institute of Physics
Priority to CN202110423513.3A priority Critical patent/CN113157790B/en
Publication of CN113157790A publication Critical patent/CN113157790A/en
Application granted granted Critical
Publication of CN113157790B publication Critical patent/CN113157790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/10Nuclear fusion reactors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a nuclear fusion curve editing method, a system, a terminal and a medium, relating to the technical field of nuclear fusion, and the technical scheme is as follows: after matching and analysis, granting access authority to the database for the webpage end; calling a historical sample curve from a database; after comparison and analysis, granting the webpage end with the operation authority for editing the historical sample curve; preferentially granting the webpage end of the front sorting example with editing permission for independent editing; analyzing the historical sample curve to obtain curve basic information and a historical curve data set; fusing the real-time curve data set with the basic information of the updated curve to obtain a real-time sample curve; and storing the real-time sample curve to a database, and releasing the editing authority of the webpage end. According to the invention, after the operation of a plurality of webpage ends in one system is put into the system of the same WEB end, the editing operation is changed into online editing and synchronous storage sharing to all the personnel participating in the experiment in the system, so that the problems caused by asynchronous operation and untimely communication are effectively avoided.

Description

一种核聚变曲线编辑方法、系统、终端及介质A nuclear fusion curve editing method, system, terminal and medium

技术领域technical field

本发明涉及核聚变技术领域,更具体地说,它涉及一种核聚变曲线编辑方法、系统、终端及介质。The invention relates to the technical field of nuclear fusion, and more particularly, to a method, system, terminal and medium for editing a nuclear fusion curve.

背景技术Background technique

核聚变(nuclear fusion),又称核融合、融合反应、聚变反应或热核反应,是一种核反应的形式。原子核中蕴藏巨大的能量,原子核的变化(从一种原子核变化为另外一种原子核)往往伴随着能量的释放,因此核聚变可能成为未来的能量来源。Nuclear fusion, also known as nuclear fusion, fusion reaction, fusion reaction or thermonuclear reaction, is a form of nuclear reaction. There is a huge amount of energy in the nucleus, and the change of the nucleus (from one nucleus to another) is often accompanied by the release of energy, so nuclear fusion may become a future energy source.

核聚变过程受到较多因素影响,所以在进行核聚变试验时需要对很多参数进行编辑以研究影响因素的变化规律。目前,实验研究系统一般配置有至少一个服务器和多个客户端,例如,EPICS(Experimental Physics and Industrial Control System),即“实验物理及工业控制系统”,是上世纪90年代初由美国洛斯阿拉莫斯国家实验室(LANL)和阿贡国家实验室(ANL)等联合开发的大型控制软件系统。为了实现推送技术,所用的技术是Ajax轮询。轮询是在特定的时间间隔(如每1秒),由浏览器对服务器发出HTTP请求,然后由服务器返回最新的数据给客户端的浏览器。The nuclear fusion process is affected by many factors, so many parameters need to be edited to study the changing laws of the influencing factors during the nuclear fusion experiment. At present, experimental research systems are generally configured with at least one server and multiple clients. For example, EPICS (Experimental Physics and Industrial Control System), namely "Experimental Physics and Industrial Control System", was developed by Los Alamo in the United States in the early 1990s. Large-scale control software system jointly developed by Sri Lanka National Laboratory (LANL) and Argonne National Laboratory (ANL). To implement the push technique, the technique used is Ajax polling. Polling is a specific time interval (such as every 1 second), the browser sends an HTTP request to the server, and then the server returns the latest data to the client's browser.

上述信息交互模式带来很明显的缺点,即浏览器需要不断的向服务器发出请求,且HTTP请求可能包含较长的头部,其中真正有效的数据可能只是很小的一部分,显然这样会浪费很多的带宽等资源;此外,对于不同时间段和不同客户端在线编辑数据时,所编辑的数据未及时同步及共享,存在获取信息不对称,信息二次融合更新操作困难,导致实验效率低下的问题。因此,如何研究设计一种核聚变曲线编辑方法、系统、终端及介质是我们目前急需解决的问题。The above information interaction mode brings obvious disadvantages, that is, the browser needs to continuously send requests to the server, and the HTTP request may contain a long header, in which the really valid data may only be a small part, which obviously wastes a lot of money. In addition, when editing data online at different time periods and with different clients, the edited data is not synchronized and shared in time, resulting in asymmetric information acquisition and difficulty in secondary information fusion and update operations, resulting in low experimental efficiency. . Therefore, how to study and design a fusion curve editing method, system, terminal and medium is an urgent problem that we need to solve at present.

发明内容SUMMARY OF THE INVENTION

为解决现有技术中的不足,本发明的目的是提供一种核聚变曲线编辑方法、系统、终端及介质。In order to solve the deficiencies in the prior art, the purpose of the present invention is to provide a nuclear fusion curve editing method, system, terminal and medium.

本发明的上述技术目的是通过以下技术方案得以实现的:The above-mentioned technical purpose of the present invention is achieved through the following technical solutions:

第一方面,提供了一种核聚变曲线编辑方法,包括以下步骤:In a first aspect, a method for editing a nuclear fusion curve is provided, including the following steps:

将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限;After matching and analyzing the user login information entered on the web page with the user information stored in the database, grant the web page access authority to access the database;

根据网页端输入的编辑项目信息从数据库中调取历史样本曲线;The historical sample curve is retrieved from the database according to the edit item information entered on the web page;

根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限;According to the user's login information, the corresponding job attribute information stored in the database is retrieved, and the nuclear fusion operating condition information is obtained in real time, and the editing project information is compared with the job attribute information and nuclear fusion operating condition information, and then granted to the web page to edit the historical sample The operation authority of the curve;

同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限;Synchronously obtain the operation requests for operating the historical sample curve output by all the web pages, sort the operation requests according to the request time node, and give priority to the editing rights of the web pages of the previous examples to edit individually;

网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集;After obtaining the editing authority, the web page parses and processes the historical sample curve, and obtains the basic information of the curve and the historical curve data set;

对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线;After editing and processing the historical curve data set and the basic information of the curve, the real-time curve data set and the basic information of the update curve are obtained respectively, and the real-time sample curve is obtained by fusing the real-time curve data set and the basic information of the update curve;

将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。Store the real-time sample curve in the database as the historical sample curve for the next editing, and release the editing authority on the web page after exiting the editing operation.

进一步的,所述曲线基本信息的获取过程还包括:Further, the acquisition process of the basic curve information also includes:

在网页端依据曲线模板填写信息在线编辑得到,并将在线编辑的曲线基本信息存储至数据库中作为独立的曲线基本信息;It is obtained by online editing according to the information filled in the curve template on the web page, and the basic curve information edited online is stored in the database as an independent basic curve information;

或,直接调取数据库在存储的独立的曲线基本信息。Or, directly retrieve the basic information of the independent curve stored in the database.

进一步的,所述历史样本曲线的调取过程具体为:Further, the retrieval process of the historical sample curve is specifically:

以默认操作模式调取数据库中距离当前时间节点最近一次编辑保存的与编辑项目信息对应的实时样本曲线;In the default operation mode, the real-time sample curve corresponding to the edited project information saved in the latest editing and saving from the current time node in the database is called;

或,根据编辑项目信息中包含的样本曲线炮号直接在数据库中搜索调取。Or, directly search and retrieve in the database according to the sample curve shot number contained in the editing project information.

进一步的,所述网页端与数据库之间通过UAD接口进行数据的存取/读写操作。Further, data access/read and write operations are performed between the webpage and the database through a UAD interface.

进一步的,所述编辑项目信息与工作属性信息的对比分析过程具体为:Further, the comparative analysis process of the editing project information and the job attribute information is specifically:

根据工作属性信息确定可操作范围;Determine the operable scope based on job attribute information;

根据数据库中存储的项目类别信息对编辑项目信息进行属性划分,得到划分属性结果;According to the item category information stored in the database, the editing item information is divided into attributes, and the attribute division result is obtained;

判断划分属性结果是否处于可操作范围内,若是则授予网页端编辑历史样本曲线的属性类操作权限。Determine whether the result of dividing the attribute is within the operable range, and if so, grant the attribute class operation permission to edit the historical sample curve on the web page.

进一步的,所述编辑项目信息与核聚变运行工况信息的对比分析过程具体为:Further, the comparative analysis process of the editing project information and the nuclear fusion operating condition information is specifically as follows:

根据数据库中存储的核聚变运行的装置分类信息确定编辑项目信息的装置类别;Determine the device category for editing project information according to the device classification information of nuclear fusion operation stored in the database;

根据装置类别从核聚变运行工况信息中筛选出对应的运行状态信息;若运行状态信息处于正常运行,则授予网页端编辑历史样本曲线中与装置类别对应编辑项的装置类操作权限。According to the device type, the corresponding operation status information is screened from the nuclear fusion operation condition information; if the operation status information is in normal operation, the device type operation authority of the editing item corresponding to the device type in the editing history sample curve on the web page is granted.

第二方面,提供了一种核聚变曲线编辑系统,包括数据库、后台服务器以及多个网页端;后台服务器配置有访问权限管理模块、操作权限管理模块、编辑权限管理模块;网页端配置有曲线调取模块、数据解析模块、曲线编辑模块、曲线保存模块;In the second aspect, a nuclear fusion curve editing system is provided, including a database, a backend server and multiple web pages; the backend server is configured with an access rights management module, an operation rights management module, and an editing rights management module; the web page is configured with a curve adjustment module Acquisition module, data analysis module, curve editing module, curve saving module;

访问权限管理模块,用于将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限;The access rights management module is used to grant the access rights of the webpage to the database after matching and analyzing the user login information input by the web page with the user information stored in the database;

曲线调取模块,用于根据网页端输入的编辑项目信息从数据库中调取历史样本曲线;The curve retrieval module is used to retrieve the historical sample curve from the database according to the editing project information input on the web page;

操作权限管理模块,用于根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限;The operation authority management module is used to retrieve the corresponding job attribute information stored in the database according to the user's login information and obtain the nuclear fusion operating condition information in real time, and compare and analyze the editing project information with the job attribute information and nuclear fusion operating condition information. Then grant the operation authority to edit the historical sample curve on the web page;

编辑权限管理模块,用于同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限;The editing authority management module is used to synchronously obtain the operation requests for operating the historical sample curve output by all the web pages, sort the operation requests according to the request time node, and preferentially grant the editing rights to the individual web pages of the sorting example;

数据解析模块,用于网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集;The data analysis module is used to analyze and process the historical sample curve after obtaining the editing authority on the web page, and obtain the basic information of the curve and the historical curve data set;

曲线编辑模块,用于对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线;The curve editing module is used to edit the historical curve data set and basic information of the curve to obtain the real-time curve data set and the basic information of the updated curve respectively, and fuse the real-time curve data set and the basic information of the updated curve to obtain the real-time sample curve;

曲线保存模块,用于将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。The curve saving module is used to store the real-time sample curve in the database as the historical sample curve for the next editing, and release the editing authority on the web page after exiting the editing operation.

进一步的,所述网页端与后台服务器之间通过WebSocket协议进行通信。Further, the web terminal and the background server communicate through the WebSocket protocol.

第三方面,提供了一种计算机终端,包含存储器、处理器及存储在存储器并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面中任意一项所述的一种核聚变曲线编辑方法。In a third aspect, a computer terminal is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, when the processor executes the program, any one of the first aspect can be implemented. A nuclear fusion curve editing method described.

第四方面,提供了一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行可实现如第一方面中任意一项所述的一种核聚变曲线编辑方法。In a fourth aspect, there is provided a computer-readable medium on which a computer program is stored, the computer program being executed by a processor to implement the method for editing a nuclear fusion curve according to any one of the first aspects.

与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、本发明将一个系统中多个网页端的操作放到同一WEB端的系统中后,将编辑操作改为在线编辑并同步存储共享给系统中所有参与实验的人员,有效规避了操作不同步、沟通不及时造成的问题;1. In the present invention, after the operations of multiple web pages in one system are placed in the system of the same WEB end, the editing operation is changed to online editing and synchronously stored and shared to all the personnel participating in the experiment in the system, which effectively avoids asynchronous operation and communication. untimely problems;

2、本发明实现了根据炮号引用上一炮的参数,同时一个人可以在一个系统中查看不同子系统的曲线,同一个系统同一时间只能一人编辑,既便于分享数据,也有利于数据安全;2. The present invention realizes that the parameters of the previous shot are quoted according to the shot number, and at the same time, one person can view the curves of different subsystems in one system, and only one person can edit the same system at the same time, which is not only convenient for data sharing, but also beneficial to the data. Safety;

3、本发明中的网页端与后台服务器过WebSocket协议进行通信只需要完成一次握手,两者之间就直接可以创建持久性的连接,并进行双向数据传输,能更好的节省服务器资源和带宽,并且能够更实时地进行通讯。3. In the present invention, the communication between the web terminal and the background server through the WebSocket protocol only needs to complete a handshake, and a persistent connection can be created directly between the two, and two-way data transmission can be performed, which can better save server resources and bandwidth. , and can communicate more in real time.

附图说明Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,并不构成对本发明实施例的限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the embodiments of the present invention, and constitute a part of the present application, and do not constitute limitations to the embodiments of the present invention. In the attached image:

图1是本发明实施例中的工作流程图;Fig. 1 is the working flow chart in the embodiment of the present invention;

图2是本发明实施例中网页端与后台服务器的交互方式示意图。FIG. 2 is a schematic diagram of an interaction mode between a web page and a background server in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明作进一步的详细说明,本发明的示意性实施方式及其说明仅用于解释本发明,并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings. as a limitation of the present invention.

实施例1:一种核聚变曲线编辑方法,如图1所示,包括以下步骤:Embodiment 1: a nuclear fusion curve editing method, as shown in Figure 1, includes the following steps:

S101:将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限;S101: After matching and analyzing the user login information input by the webpage terminal and the user information stored in the database, grant the webpage terminal access authority to access the database;

S102:根据网页端输入的编辑项目信息从数据库中调取历史样本曲线;S102: retrieve historical sample curves from the database according to the editing item information input on the web page;

S103:根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限;S103: Retrieve the corresponding work attribute information stored in the database according to the user login information and obtain the nuclear fusion operating condition information in real time, and then authorize the editing project information to be compared and analyzed with the work attribute information and nuclear fusion operating condition information to be edited on the web page The operation authority of the historical sample curve;

S104:同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限;S104: Synchronously obtain the operation requests for operating the historical sample curve output by all the web pages, sort the operation requests according to the request time node, and preferentially grant the editing authority to the web pages of the previous example to edit individually;

S105:网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集;S105: After obtaining the editing authority, the web page parses and processes the historical sample curve to obtain basic curve information and a historical curve data set;

S106:对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线;S106: After editing and processing the historical curve data set and the basic curve information, obtain the real-time curve data set and the basic information of the updated curve respectively, and fuse the real-time curve data set and the basic information of the updated curve to obtain the real-time sample curve;

S107:将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。S107: Store the real-time sample curve in the database as the next edited historical sample curve, and release the editing authority on the web page after exiting the editing operation.

在本实施例中,数据库采用MDSplus库。需要注意的是,同一网页端可多条曲线同时进行编辑、同时保存;但操作仅限一个人同时进行;有效的解决了同一曲线被多个人编辑后未及时共享,信息不对称的问题。In this embodiment, the database adopts the MDSplus library. It should be noted that multiple curves can be edited and saved at the same time on the same web page; but the operation is limited to one person at the same time; it effectively solves the problem that the same curve is not shared in time after being edited by multiple people, and the information is asymmetric.

在本实施例中,编辑操作包括但不限于增加、删除、修改等操作。此外,曲线的相关参数也可在后台服务器进行增删改,网页端进行每炮参数值的维护。In this embodiment, editing operations include but are not limited to operations such as adding, deleting, and modifying. In addition, the relevant parameters of the curve can also be added, deleted and modified on the background server, and the parameter value of each shot can be maintained on the webpage.

曲线基本信息的获取过程还包括:在网页端依据曲线模板填写信息在线编辑得到,并将在线编辑的曲线基本信息存储至数据库中作为独立的曲线基本信息;或,直接调取数据库在存储的独立的曲线基本信息。The acquisition process of the basic curve information also includes: editing the information online according to the curve template on the web page, and storing the basic curve information edited online in the database as the independent basic curve information; basic information of the curve.

历史样本曲线的调取过程具体为:以默认操作模式调取数据库中距离当前时间节点最近一次编辑保存的与编辑项目信息对应的实时样本曲线;或,根据编辑项目信息中包含的样本曲线炮号直接在数据库中搜索调取。The process of retrieving historical sample curves is as follows: in the default operation mode, retrieving the real-time sample curve corresponding to the editing project information that was edited and saved most recently from the current time node in the database; or, according to the sample curve shot number contained in the editing project information Search and recall directly in the database.

网页端与数据库之间通过UAD接口进行数据的存取/读写操作。Data access/read and write operations are performed between the web page and the database through the UAD interface.

编辑项目信息与工作属性信息的对比分析过程具体为:根据工作属性信息确定可操作范围;根据数据库中存储的项目类别信息对编辑项目信息进行属性划分,得到划分属性结果;判断划分属性结果是否处于可操作范围内,若是则授予网页端编辑历史样本曲线的属性类操作权限。The comparative analysis process of the editing item information and the work attribute information is specifically: determine the operable scope according to the work attribute information; divide the editing item information according to the item category information stored in the database, and obtain the division attribute result; judge whether the division attribute result is in the Within the operable range, if so, grant the attribute class operation permission to edit the historical sample curve on the web page.

编辑项目信息与核聚变运行工况信息的对比分析过程具体为:根据数据库中存储的核聚变运行的装置分类信息确定编辑项目信息的装置类别;根据装置类别从核聚变运行工况信息中筛选出对应的运行状态信息;若运行状态信息处于正常运行,则授予网页端编辑历史样本曲线中与装置类别对应编辑项的装置类操作权限。The comparative analysis process of the editing project information and the nuclear fusion operating condition information is as follows: according to the nuclear fusion operating equipment classification information stored in the database, the device category for editing the project information is determined; Corresponding operation status information; if the operation status information is in normal operation, the device type operation authority of the edit item corresponding to the device type in the editing history sample curve on the web page is granted.

实施例2:一种核聚变曲线编辑系统,包括数据库、后台服务器以及多个网页端;后台服务器配置有访问权限管理模块、操作权限管理模块、编辑权限管理模块;网页端配置有曲线调取模块、数据解析模块、曲线编辑模块、曲线保存模块。访问权限管理模块,用于将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限。曲线调取模块,用于根据网页端输入的编辑项目信息从数据库中调取历史样本曲线。操作权限管理模块,用于根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限。编辑权限管理模块,用于同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限。数据解析模块,用于网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集。曲线编辑模块,用于对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线。曲线保存模块,用于将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。Embodiment 2: A nuclear fusion curve editing system, including a database, a backend server, and multiple web pages; the backend server is configured with an access rights management module, an operation rights management module, and an editing rights management module; the web page is configured with a curve retrieval module , Data analysis module, curve editing module, curve saving module. The access rights management module is used for granting the web page access rights to the database after matching and analyzing the user login information input by the web page with the user information stored in the database. The curve retrieval module is used to retrieve the historical sample curve from the database according to the editing item information input on the web page. The operation authority management module is used to retrieve the corresponding job attribute information stored in the database according to the user's login information and obtain the nuclear fusion operating condition information in real time, and compare and analyze the editing project information with the job attribute information and nuclear fusion operating condition information. Then grant the operation authority to edit the historical sample curve on the web page. The editing authority management module is used to synchronously obtain the operation requests for operating the historical sample curves output by all the web pages, sort the operation requests according to the request time node, and preferentially grant the editing rights to the individual web pages of the sorted examples. The data analysis module is used to analyze and process the historical sample curve after obtaining the editing authority on the web page, and obtain the basic information of the curve and the historical curve data set. The curve editing module is used to edit the historical curve data set and basic information of the curve to obtain the real-time curve data set and the basic information of the updated curve respectively, and fuse the real-time curve data set and the basic information of the updated curve to obtain the real-time sample curve. The curve saving module is used to store the real-time sample curve in the database as the historical sample curve for the next editing, and release the editing authority on the web page after exiting the editing operation.

如图2所示,在本实施例中,网页端与后台服务器之间通过WebSocket协议进行通信。As shown in FIG. 2 , in this embodiment, the web terminal and the background server communicate through the WebSocket protocol.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above specific embodiments further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Within the spirit and principle of the present invention, any modifications, equivalent replacements, improvements, etc. made should be included within the protection scope of the present invention.

Claims (10)

1.一种核聚变曲线编辑方法,其特征是,包括以下步骤:1. a nuclear fusion curve editing method, is characterized in that, comprises the following steps: 将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限;After matching and analyzing the user login information entered on the web page with the user information stored in the database, grant the web page access authority to access the database; 根据网页端输入的编辑项目信息从数据库中调取历史样本曲线;The historical sample curve is retrieved from the database according to the edit item information entered on the web page; 根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限;According to the user's login information, the corresponding job attribute information stored in the database is retrieved, and the nuclear fusion operating condition information is obtained in real time, and the editing project information is compared with the job attribute information and nuclear fusion operating condition information, and then granted to the web page to edit the historical sample The operation authority of the curve; 同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限;Synchronously obtain the operation requests for operating the historical sample curve output by all the web pages, sort the operation requests according to the request time node, and give priority to the editing rights of the web pages of the previous examples to edit individually; 网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集;After obtaining the editing authority, the web page parses and processes the historical sample curve, and obtains the basic information of the curve and the historical curve data set; 对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线;After editing and processing the historical curve data set and the basic information of the curve, the real-time curve data set and the basic information of the update curve are obtained respectively, and the real-time sample curve is obtained by fusing the real-time curve data set and the basic information of the update curve; 将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。Store the real-time sample curve in the database as the historical sample curve for the next editing, and release the editing authority on the web page after exiting the editing operation. 2.根据权利要求1所述的一种核聚变曲线编辑方法,其特征是,所述曲线基本信息的获取过程还包括:2. The method for editing a nuclear fusion curve according to claim 1, wherein the acquisition process of the basic information of the curve further comprises: 在网页端依据曲线模板填写信息在线编辑得到,并将在线编辑的曲线基本信息存储至数据库中作为独立的曲线基本信息;It is obtained by online editing according to the information filled in the curve template on the web page, and the basic curve information edited online is stored in the database as an independent basic curve information; 或,直接调取数据库在存储的独立的曲线基本信息。Or, directly retrieve the basic information of the independent curve stored in the database. 3.根据权利要求1所述的一种核聚变曲线编辑方法,其特征是,所述历史样本曲线的调取过程具体为:3. A kind of nuclear fusion curve editing method according to claim 1, is characterized in that, the retrieval process of described historical sample curve is specifically: 以默认操作模式调取数据库中距离当前时间节点最近一次编辑保存的与编辑项目信息对应的实时样本曲线;In the default operation mode, the real-time sample curve corresponding to the edited project information saved in the latest editing and saving from the current time node in the database is called; 或,根据编辑项目信息中包含的样本曲线炮号直接在数据库中搜索调取。Or, directly search and retrieve in the database according to the sample curve shot number contained in the editing project information. 4.根据权利要求1所述的一种核聚变曲线编辑方法,其特征是,所述网页端与数据库之间通过UAD接口进行数据的存取/读写操作。4 . The method for editing a fusion curve according to claim 1 , wherein the data access/read and write operations are performed between the web terminal and the database through a UAD interface. 5 . 5.根据权利要求1所述的一种核聚变曲线编辑方法,其特征是,所述编辑项目信息与工作属性信息的对比分析过程具体为:5. A kind of nuclear fusion curve editing method according to claim 1, is characterized in that, the comparative analysis process of described editing project information and job attribute information is specifically: 根据工作属性信息确定可操作范围;Determine the operable scope based on job attribute information; 根据数据库中存储的项目类别信息对编辑项目信息进行属性划分,得到划分属性结果;According to the item category information stored in the database, the editing item information is divided into attributes, and the attribute division result is obtained; 判断划分属性结果是否处于可操作范围内,若是则授予网页端编辑历史样本曲线的属性类操作权限。Determine whether the result of dividing the attribute is within the operable range, and if so, grant the attribute class operation permission to edit the historical sample curve on the web page. 6.根据权利要求1所述的一种核聚变曲线编辑方法,其特征是,所述编辑项目信息与核聚变运行工况信息的对比分析过程具体为:6. A kind of nuclear fusion curve editing method according to claim 1, is characterized in that, the comparative analysis process of described editing project information and nuclear fusion operating condition information is specifically: 根据数据库中存储的核聚变运行的装置分类信息确定编辑项目信息的装置类别;Determine the device category for editing project information according to the device classification information of nuclear fusion operation stored in the database; 根据装置类别从核聚变运行工况信息中筛选出对应的运行状态信息;若运行状态信息处于正常运行,则授予网页端编辑历史样本曲线中与装置类别对应编辑项的装置类操作权限。According to the device type, the corresponding operation status information is screened from the nuclear fusion operation condition information; if the operation status information is in normal operation, the device type operation authority of the editing item corresponding to the device type in the editing history sample curve on the web page is granted. 7.一种核聚变曲线编辑系统,其特征是,包括数据库、后台服务器以及多个网页端;后台服务器配置有访问权限管理模块、操作权限管理模块、编辑权限管理模块;网页端配置有曲线调取模块、数据解析模块、曲线编辑模块、曲线保存模块;7. A nuclear fusion curve editing system, characterized in that it includes a database, a background server and multiple web pages; the background server is configured with an access authority management module, an operation authority management module, and an editing authority management module; the web page is configured with a curve adjustment module. Acquisition module, data analysis module, curve editing module, curve saving module; 访问权限管理模块,用于将网页端输入的用户登录信息与数据库中存储的用户信息匹配分析后授予网页端访问数据库的访问权限;The access rights management module is used to grant the access rights of the webpage to the database after matching and analyzing the user login information input by the web page with the user information stored in the database; 曲线调取模块,用于根据网页端输入的编辑项目信息从数据库中调取历史样本曲线;The curve retrieval module is used to retrieve the historical sample curve from the database according to the editing project information input on the web page; 操作权限管理模块,用于根据用户登录信息调取数据库中存储的相应的工作属性信息以及实时获取核聚变运行工况信息,并将编辑项目信息与工作属性信息、核聚变运行工况信息对比分析后授予网页端编辑历史样本曲线的操作权限;The operation authority management module is used to retrieve the corresponding job attribute information stored in the database according to the user's login information and obtain the nuclear fusion operating condition information in real time, and compare and analyze the editing project information with the job attribute information and nuclear fusion operating condition information. Then grant the operation authority to edit the historical sample curve on the web page; 编辑权限管理模块,用于同步获取所有网页端输出的对历史样本曲线进行操作的操作请求,并根据请求时间节点对操作请求进行排序,以及优先授予排序前例的网页端进行单独编辑的编辑权限;The editing authority management module is used to synchronously obtain the operation requests for operating the historical sample curve output by all the web pages, sort the operation requests according to the request time node, and preferentially grant the editing rights to the individual web pages of the sorting example; 数据解析模块,用于网页端获取编辑权限后对历史样本曲线进行解析处理,得到曲线基本信息和历史曲线数据集;The data analysis module is used to analyze and process the historical sample curve after obtaining the editing authority on the web page, and obtain the basic information of the curve and the historical curve data set; 曲线编辑模块,用于对历史曲线数据集、曲线基本信息进行编辑处理后分别得到实时曲线数据集、更新曲线基本信息,并将实时曲线数据集与更新曲线基本信息融合得到实时样本曲线;The curve editing module is used to edit the historical curve data set and basic information of the curve to obtain the real-time curve data set and the basic information of the updated curve respectively, and fuse the real-time curve data set and the basic information of the updated curve to obtain the real-time sample curve; 曲线保存模块,用于将实时样本曲线存储至数据库中作为下一次编辑的历史样本曲线,并在退出编辑操作后解除网页端的编辑权限。The curve saving module is used to store the real-time sample curve in the database as the historical sample curve for the next editing, and release the editing authority on the web page after exiting the editing operation. 8.根据权利要求7所述的一种核聚变曲线编辑系统,其特征是,所述网页端与后台服务器之间通过WebSocket协议进行通信。8 . The nuclear fusion curve editing system according to claim 7 , wherein the web terminal and the background server communicate through a WebSocket protocol. 9 . 9.一种计算机终端,包含存储器、处理器及存储在存储器并可在处理器上运行的计算机程序,其特征是,所述处理器执行所述程序时实现如权利要求1-7中任意一项所述的一种核聚变曲线编辑方法。9. A computer terminal comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements any one of claims 1-7 when the processor executes the program A nuclear fusion curve editing method described in item. 10.一种计算机可读介质,其上存储有计算机程序,其特征是,所述计算机程序被处理器执行可实现如权利要求1-7中任意一项所述的一种核聚变曲线编辑方法。10. A computer-readable medium on which a computer program is stored, wherein the computer program is executed by a processor to implement a nuclear fusion curve editing method according to any one of claims 1-7 .
CN202110423513.3A 2021-04-20 2021-04-20 Nuclear fusion curve editing method, system, terminal and medium Active CN113157790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110423513.3A CN113157790B (en) 2021-04-20 2021-04-20 Nuclear fusion curve editing method, system, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110423513.3A CN113157790B (en) 2021-04-20 2021-04-20 Nuclear fusion curve editing method, system, terminal and medium

Publications (2)

Publication Number Publication Date
CN113157790A CN113157790A (en) 2021-07-23
CN113157790B true CN113157790B (en) 2022-10-11

Family

ID=76869043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110423513.3A Active CN113157790B (en) 2021-04-20 2021-04-20 Nuclear fusion curve editing method, system, terminal and medium

Country Status (1)

Country Link
CN (1) CN113157790B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113901113A (en) * 2021-08-26 2022-01-07 核工业西南物理研究院 A display system and method for tracking PV value changes in nuclear fusion experiments
CN115296858B (en) * 2022-07-12 2023-08-25 南京赛宁信息技术有限公司 Active defense gateway topology editor local storage method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1804255A2 (en) * 2005-12-30 2007-07-04 Global Nuclear Fuel-Americas, LLC Method of determining margins to operating limits for nuclear reactor operation
CN101931645A (en) * 2010-08-03 2010-12-29 天津市欧诺仪器仪表有限公司 Wireless temperature-humidity monitoring system based on Web
CN103941675A (en) * 2014-03-27 2014-07-23 北京卓越经纬测控技术有限公司 Safety monitoring management system based on wireless network
CN107036066A (en) * 2017-03-29 2017-08-11 浙江大学 Biomass boiler remote monitoring system and its method based on wechat and cloud application
CN109245310A (en) * 2018-11-13 2019-01-18 北京工业大学 A kind of electric power monitoring system based on real-time data base
CN109522533A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 Table edit method, apparatus, equipment and medium based on web data
CN110109423A (en) * 2019-03-20 2019-08-09 北京中水科水电科技开发有限公司 A kind of monitoring system of the real time data based on Html5 technology
CN112417821A (en) * 2019-08-05 2021-02-26 珠海金山办公软件有限公司 Method and device for editing management, computer storage medium and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7288921B2 (en) * 2004-06-25 2007-10-30 Emerson Process Management Power & Water Solutions, Inc. Method and apparatus for providing economic analysis of power generation and distribution
US20170316436A1 (en) * 2016-04-29 2017-11-02 International Business Machines Corporation Context-aware curve-fitting for pipeline value prediction

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1804255A2 (en) * 2005-12-30 2007-07-04 Global Nuclear Fuel-Americas, LLC Method of determining margins to operating limits for nuclear reactor operation
CN101931645A (en) * 2010-08-03 2010-12-29 天津市欧诺仪器仪表有限公司 Wireless temperature-humidity monitoring system based on Web
CN103941675A (en) * 2014-03-27 2014-07-23 北京卓越经纬测控技术有限公司 Safety monitoring management system based on wireless network
CN107036066A (en) * 2017-03-29 2017-08-11 浙江大学 Biomass boiler remote monitoring system and its method based on wechat and cloud application
CN109522533A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 Table edit method, apparatus, equipment and medium based on web data
CN109245310A (en) * 2018-11-13 2019-01-18 北京工业大学 A kind of electric power monitoring system based on real-time data base
CN110109423A (en) * 2019-03-20 2019-08-09 北京中水科水电科技开发有限公司 A kind of monitoring system of the real time data based on Html5 technology
CN112417821A (en) * 2019-08-05 2021-02-26 珠海金山办公软件有限公司 Method and device for editing management, computer storage medium and terminal

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
PePPer: Fine-Grained Personal Access Control via Peer Probing;Yael Amsterdamer等;《2019 IEEE 35th International Conference on Data Engineering (ICDE)》;20190606;第2012-2015页 *
变电站自动化综合智能监控系统设计与实现;左国明;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20160315;C042-1040 *
基于集群技术构建聚变研究高性能计算系统;潘卫等;《计算机应用》;20090801;第2132-2135页 *
快堆换料监控系统人机界面和数据库功能的开发;李桔;《中国优秀硕士学位论文全文数据库 信息科技辑》;20060415;I140-143 *
测控系统中实时数据库的研究与应用;张琳琳;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170315;I138-3777 *

Also Published As

Publication number Publication date
CN113157790A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
WO2020233212A1 (en) Log record processing method, server, and storage medium
CN113157790B (en) Nuclear fusion curve editing method, system, terminal and medium
CN107451034A (en) A kind of big data cluster log management apparatus, method and system
CN103559300B (en) The querying method and inquiry unit of data
He et al. Parallel implementation of classification algorithms based on MapReduce
KR20180016391A (en) Data discovery node
CN110109970B (en) Data query processing method and device
CN106202092A (en) Method and system for data processing
CN102164175A (en) Cloud-storage-based electricity utilization information acquisition method and system
Jiang et al. Parallel K-Medoids clustering algorithm based on Hadoop
CN114817178A (en) Industrial Internet data storage method, system, storage medium and electronic device
CN113409016A (en) Information processing method, server and medium applied to big data cloud office
CN103365923A (en) Method and device for assessing partition schemes of database
CN113127462A (en) Integrated big data management platform based on life cycle management
CN112685557B (en) Visual information resource management method and device
WO2025118710A1 (en) Partition recognition method, storage system, electronic device, and storage medium
CN118626496A (en) Data integration method, device, server, medium and program
CN107577802A (en) A kind of data base management method and device
WO2024235152A1 (en) Data processing method, system and apparatus, and device and medium
Reinhard et al. A framework enabling data integration for virtual production
CN104317905A (en) Method and system for caching and processing information monitoring real-time data
CN110909072B (en) Data table establishment method, device and equipment
Hong et al. Big data analysis system based on cloudera distribution hadoop
CN110727674A (en) Performance optimization system and method of power grid GIS cloud platform
Xu Automatic selection and parameter configuration of big data software core components based on retention pattern

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
GR01 Patent grant
GR01 Patent grant